diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-11-17 14:05:40 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-11-17 14:05:52 +0100 |
commit | c1e580ec06b9065bc63ebf987d5306c03da237e0 (patch) | |
tree | 079f72ccc9d3f54ba14c7bf19e57ec67b813f6c3 /pyload/web | |
parent | Merge pull request #365 from vuolter/m/timestamp (diff) | |
download | pyload-c1e580ec06b9065bc63ebf987d5306c03da237e0.tar.xz |
refactored pluginManager
Diffstat (limited to 'pyload/web')
-rw-r--r-- | pyload/web/app/scripts/utils/apitypes.js | 2 | ||||
-rw-r--r-- | pyload/web/pyload_app.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/utils/apitypes.js b/pyload/web/app/scripts/utils/apitypes.js index 23d87def0..cb094a05b 100644 --- a/pyload/web/app/scripts/utils/apitypes.js +++ b/pyload/web/app/scripts/utils/apitypes.js @@ -4,7 +4,7 @@ define([], function() { 'use strict'; return { DownloadState: {'Failed': 3, 'All': 0, 'Unmanaged': 4, 'Finished': 1, 'Unfinished': 2}, - DownloadStatus: {'Downloading': 10, 'NA': 0, 'Processing': 14, 'Waiting': 9, 'Decrypting': 13, 'Paused': 4, 'Failed': 7, 'Finished': 5, 'Skipped': 6, 'Unknown': 16, 'Aborted': 12, 'Online': 2, 'TempOffline': 11, 'Offline': 1, 'Custom': 15, 'Starting': 8, 'Queued': 3}, + DownloadStatus: {'NotPossible': 13, 'Downloading': 10, 'NA': 0, 'Processing': 15, 'Waiting': 9, 'Decrypting': 14, 'Paused': 4, 'Failed': 7, 'Finished': 5, 'Skipped': 6, 'Unknown': 17, 'Aborted': 12, 'Online': 2, 'TempOffline': 11, 'Offline': 1, 'Custom': 16, 'Starting': 8, 'Queued': 3}, FileStatus: {'Remote': 2, 'Ok': 0, 'Missing': 1}, InputType: {'PluginList': 13, 'Multiple': 11, 'Int': 2, 'NA': 0, 'Time': 7, 'List': 12, 'Bool': 8, 'File': 3, 'Text': 1, 'Table': 14, 'Folder': 4, 'Password': 6, 'Click': 9, 'Select': 10, 'Textbox': 5}, Interaction: {'Captcha': 2, 'All': 0, 'Query': 4, 'Notification': 1}, diff --git a/pyload/web/pyload_app.py b/pyload/web/pyload_app.py index 1c89e2ada..50d9b9731 100644 --- a/pyload/web/pyload_app.py +++ b/pyload/web/pyload_app.py @@ -43,6 +43,7 @@ def serve_icon(path): @route("/download/:fid") @login_required('Download') def download(fid, api): + # TODO: check owner ship path, name = api.getFilePath(fid) return static_file(name, path, download=True) |