forked from SynoCommunity/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.
- Loading branch information
Showing
2 changed files
with
4 additions
and
106 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,6 @@ | ||
[{ | ||
"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." | ||
}, | ||
{ | ||
"desc": "<strong style='color:red'>NOTE:</strong> The package upgrade will try to update permissions on your folders. If you get permission errors within Transmission, manually set Read/Write permissions on the reported folders using File Station. If you are upgrading to DSM7 and you set a watched or incomplete folder please ensure to update the permission for those folders manually." | ||
}, | ||
{ | ||
"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": "DSM Permissions", | ||
"items": [{ | ||
"desc": "Please read <a target=\"_blank\" href=\"https://github.com/SynoCommunity/spksrc/wiki/Permission-Management\">Permission Management</a> for details." | ||
}] | ||
}] |