diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-25 19:12:39 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-25 19:12:39 +0100 |
commit | b5f66789e70bd105e162470927942c40496cdc92 (patch) | |
tree | 3a762f29008dd7d7c92221eb363f90580f8acb6f /module/remote | |
parent | added view type for input fields (diff) | |
download | pyload-b5f66789e70bd105e162470927942c40496cdc92.tar.xz |
simple rendering for settings page
Diffstat (limited to 'module/remote')
-rw-r--r-- | module/remote/apitypes.py | 6 | ||||
-rw-r--r-- | module/remote/apitypes_debug.py | 3 | ||||
-rw-r--r-- | module/remote/pyload.thrift | 5 |
3 files changed, 5 insertions, 9 deletions
diff --git a/module/remote/apitypes.py b/module/remote/apitypes.py index e81c960c8..41f9be50e 100644 --- a/module/remote/apitypes.py +++ b/module/remote/apitypes.py @@ -389,8 +389,6 @@ class Iface(object): pass def checkURLs(self, urls): pass - def configurePlugin(self, plugin): - pass def createPackage(self, name, folder, root, password, site, comment, paused): pass def deleteCollLink(self, url): @@ -467,6 +465,8 @@ class Iface(object): pass def isInteractionWaiting(self, mode): pass + def loadConfig(self, name): + pass def login(self, username, password): pass def moveFiles(self, fids, pid): @@ -505,8 +505,6 @@ class Iface(object): pass def searchSuggestions(self, pattern): pass - def setConfigHandler(self, plugin, iid, value): - pass def setConfigValue(self, section, option, value): pass def setInteractionResult(self, iid, result): diff --git a/module/remote/apitypes_debug.py b/module/remote/apitypes_debug.py index 7b1b5e7f3..96673cc99 100644 --- a/module/remote/apitypes_debug.py +++ b/module/remote/apitypes_debug.py @@ -60,7 +60,6 @@ methods = { 'checkOnlineStatus': OnlineCheck, 'checkOnlineStatusContainer': OnlineCheck, 'checkURLs': (dict, basestring, list), - 'configurePlugin': ConfigHolder, 'createPackage': int, 'deleteCollLink': None, 'deleteCollPack': None, @@ -99,6 +98,7 @@ methods = { 'getWSAddress': basestring, 'hasAddonHandler': bool, 'isInteractionWaiting': bool, + 'loadConfig': ConfigHolder, 'login': bool, 'moveFiles': bool, 'movePackage': bool, @@ -118,7 +118,6 @@ methods = { 'restartPackage': None, 'saveConfig': None, 'searchSuggestions': (list, basestring), - 'setConfigHandler': None, 'setConfigValue': None, 'setInteractionResult': None, 'setPackageFolder': bool, diff --git a/module/remote/pyload.thrift b/module/remote/pyload.thrift index 2aeb54091..adaede0ff 100644 --- a/module/remote/pyload.thrift +++ b/module/remote/pyload.thrift @@ -244,7 +244,7 @@ struct ConfigItem { } struct ConfigHolder { - 1: string name, + 1: string name, // for plugin this is the PluginName 2: string label, 3: string description, 4: string long_description, @@ -368,12 +368,11 @@ service Pyload { list<ConfigInfo> getPluginConfig(), list<ConfigInfo> getAvailablePlugins(), - ConfigHolder configurePlugin(1: PluginName plugin), + ConfigHolder loadConfig(1: string name), void setConfigValue(1: string section, 2: string option, 3: string value), void saveConfig(1: ConfigHolder config), void deleteConfig(1: PluginName plugin), - void setConfigHandler(1: PluginName plugin, 2: InteractionID iid, 3: JSONString value), /////////////////////// // Download Preparing |