forked from th0ma7/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transmission: add DSM7 support (SynoCommunity#4719)
* Framework: Acquire Shared folder resource/permissions set using SERVICE_WIZARD_SHARE only disadvantage is that this does not support sub-folders currently * Transmission: Remove busybox from deps (SynoCommunity#4373) * transmission: Let the package manage the "watch" and "incomplete" folders for DSM7 * framework: add DSM Version specific Wizards * transmission: Let the package manage the "watch" and "incomplete" folders * Migrate "watch" and "incomplete" files on upgrade * Update python path Co-authored-by: pkleinejaeger <[email protected]>
- Loading branch information
1 parent
046c8f8
commit 686a0e3
Showing
12 changed files
with
374 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
[ | ||
{ | ||
"step_title": "Basic configuration", | ||
"items": [ | ||
{ | ||
"type": "combobox", | ||
"desc": "Please select a volume to use for the download folder", | ||
"subitems": [ | ||
{ | ||
"key": "wizard_volume", | ||
"desc": "volume name", | ||
"displayField": "display_name", | ||
"valueField": "volume_path", | ||
"editable": false, | ||
"mode": "remote", | ||
"api_store": { | ||
"api": "SYNO.Core.Storage.Volume", | ||
"method": "list", | ||
"version": 1, | ||
"baseParams": { | ||
"limit": -1, | ||
"offset": 0, | ||
"location": "internal" | ||
}, | ||
"root": "volumes", | ||
"idProperty": "volume_path", | ||
"fields": [ | ||
"display_name", | ||
"volume_path" | ||
] | ||
}, | ||
"validator": { | ||
"fn": "{console.log(arguments);return true;}" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "textfield", | ||
"desc": "Download shared folder (using the volume chosen above)", | ||
"subitems": [ | ||
{ | ||
"key": "wizard_download_dir", | ||
"desc": "Download shared folder", | ||
"defaultValue": "downloads", | ||
"validator": { | ||
"allowBlank": false, | ||
"regex": { | ||
"expr": "/^[\\w _-]+$/", | ||
"errorText": "Subdirectories are not supported." | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"step_title": "Basic configuration", | ||
"items": [ | ||
{ | ||
"type": "textfield", | ||
"desc": "Web interface username. Defaults to admin", | ||
"subitems": [ | ||
{ | ||
"key": "wizard_username", | ||
"desc": "Username" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "password", | ||
"desc": "Web interface password. Defaults to admin", | ||
"subitems": [ | ||
{ | ||
"key": "wizard_password", | ||
"desc": "Password" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"step_title": "DSM Permissions", | ||
"items": [ | ||
{ | ||
"desc": "Please read <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> for details." | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.