Commit Graph

5429 Commits

Author SHA1 Message Date
Andrew Resch 9c40b777f3 Make a copy of the args and kwargs when making a daemon call in classic mode.. This makes it's
behaviour to the same as when making a RPC
2009-09-19 05:16:33 +00:00
Andrew Resch 3f8441af6a Update the about dialog and have it show the core version and libtorrent version 2009-09-19 00:18:14 +00:00
Damien Churchill 3901f3e6b2 update the create_plugin script allowing for the new webui plugin stuff 2009-09-17 07:36:13 +00:00
Damien Churchill 5645d6644d update the example plugin with the new webui plugin stuff 2009-09-17 07:27:33 +00:00
Damien Churchill 2f49c5cfa7 rewrite the plugins page using the new get_plugins method in the web json api
update the grid when a Plugin{Dis|En}abledEvent occurs
2009-09-16 09:53:49 +00:00
Damien Churchill 037fbcaaa7 store remote events and register them when the events are started 2009-09-16 09:39:30 +00:00
Damien Churchill f831cdce9a add a method that returns both the available and enabled plugins to reduce the number of AJAX calls required 2009-09-16 09:38:46 +00:00
Damien Churchill 443b4854b4 remove the test children accidentally left in 2009-09-16 09:38:17 +00:00
Damien Churchill 13109f8a1f just a couple of small tweaks 2009-09-16 09:03:30 +00:00
Damien Churchill e4fb98bd02 add a working javascript loader
implement the core code for disabling/enabling plugins on the fly
2009-09-16 09:02:26 +00:00
Damien Churchill b2390b8ff4 have the plugin manager remove the scripts and directories from the server when a plugin is disabled 2009-09-16 08:42:39 +00:00
Damien Churchill 92ecb3fe87 don't enable plugins until connected to a daemonm 2009-09-16 08:32:33 +00:00
Damien Churchill 63aa818c47 remove the seeds status key from the Peers key list 2009-09-15 11:51:03 +00:00
Damien Churchill dcfa83bf09 remove the js loader, doesn't work correctly 2009-09-15 07:29:08 +00:00
Damien Churchill cd0f4f69fb have the help button open the user guide on the wiki 2009-09-15 07:28:09 +00:00
Damien Churchill dd519f936c tie up the find more button so it opens the plugins page on the wiki 2009-09-14 21:28:02 +00:00
Damien Churchill 45840727e9 add a js loader class, taken from http://www.extjs.com/forum/showthread.php?p=272104 2009-09-14 16:32:23 +00:00
Damien Churchill 137be4c8f1 add a method to gather the plugins resources for when they need to be loaded after the ui 2009-09-14 16:31:59 +00:00
Damien Churchill 6fc1e23fce indicate whether the UI is in debug mode via an additional script tag in the index page 2009-09-14 16:24:47 +00:00
Damien Churchill 3c02a499a5 stop a session from subscribing to the same event more than once server side 2009-09-14 16:04:52 +00:00
Damien Churchill fc1b1a6aa8 improve the plugin manager so that it handles the adding and removing of scripts 2009-09-14 15:56:09 +00:00
Damien Churchill b164fef0c5 extend the Deluge.Events class to include support for subscribing to the remote events 2009-09-14 15:55:36 +00:00
Damien Churchill daab4aade6 fix a KeyError in the JSON component
implement the EventQueue for the server side handling of events
2009-09-14 15:41:12 +00:00
Damien Churchill aa4202b9ed add enable/disable methods to the JSON component
remove the empty enable/disable plugin methods from the web api
2009-09-14 10:36:40 +00:00
Damien Churchill da5697490d change the scheduler plugin to use the new plugin architecture 2009-09-14 10:26:59 +00:00
Damien Churchill 63b02f28d1 change WebPluginBase so it has empty enable/disable methods (web plugins don't need to enable/disable themselves, it's optional) 2009-09-14 10:26:29 +00:00
Damien Churchill e7095195f7 fix enabling plugins when the UI is created
change Deluge.Plugin so it implements the enable/disable methods that merely fire events that the plugins can use
2009-09-14 10:19:15 +00:00
Damien Churchill 4df98df1f2 change Deluge.Plugins to an object rather than array 2009-09-14 10:07:56 +00:00
Damien Churchill 3d33696c94 add copyright headers to all the preference pages 2009-09-14 10:05:53 +00:00
Damien Churchill fef34b3f6f fix the plugin base class scope in the constructor
enable plugins when the UI is initialised
add an array for plugins to put in
2009-09-14 10:02:35 +00:00
Damien Churchill 7d495e2a16 add a javascript base class for plugins 2009-09-14 09:44:35 +00:00
Damien Churchill 77253f835c return a 404 if no resource is found, also enable the JSON component when the server starts 2009-09-14 09:25:27 +00:00
Damien Churchill 3367d0af48 improve the LookupResource class so plugin resources can be put in a sub directory 2009-09-14 09:23:46 +00:00
Damien Churchill 5e829ca160 tidy up the config dictionary and add default_daemon option 2009-09-14 08:18:29 +00:00
Andrew Resch 0bc97733bf Do not fail to start if deluged.pid contains no data 2009-09-13 17:17:37 +00:00
John Garland 7343c5bb39 Fix typo and logic error. 2009-09-13 15:33:45 +00:00
John Garland 2b46224ef1 Readers raise ReaderParseError when parsing b0rks.
on_import_failure, now handles parse errors.
2009-09-13 14:45:23 +00:00
John Garland 0952f84d6c Detect now handles creating a reader.
Finished writing detect_format and hence auto_detect (could it really be?)
is_valid() doesn't need to take in a filename (already has it).
2009-09-13 13:51:00 +00:00
John Garland d6597bdc22 Added is_valid method to readers.
detect_format now takes in optional compression type.
2009-09-12 14:25:38 +00:00
Damien Churchill 5573d7ef7d fix indentation 2009-09-10 14:26:14 +00:00
Damien Churchill 1ebb490e4e fix an AlreadyCalledError when getting a hosts status 2009-09-10 14:19:05 +00:00
Andrew Resch a78ab9529f Fix up the Execute plugin's gtk code 2009-09-09 20:47:12 +00:00
Andrew Resch 3d4e05b5e0 Run the plugin's show_prefs callbacks before the preferences dialog's show() 2009-09-09 20:04:04 +00:00
Andrew Resch 9c641bb6d0 Fix more indentations 2009-09-09 17:08:00 +00:00
Andrew Resch 9c6ff72a83 Fix indentation 2009-09-09 17:05:13 +00:00
Damien Churchill c0276a541c improve the WebPluginBase class, registering it with the json rpc-api and adding space for scripts/stylesheets 2009-09-09 16:51:44 +00:00
Damien Churchill c333ad4f6a remove obselete plugin base file 2009-09-09 16:39:35 +00:00
Andrew Resch 0ddb1526a1 Add 'plain' as a possible ico type 2009-09-09 05:12:41 +00:00
Damien Churchill aca9e853d7 change UTC to GMT and add a method for generating the expires int and string 2009-09-08 09:55:19 +00:00
Andrew Resch 2caee15f7f Pretty up the Proxy preference page by dynamically showing/hiding fields as needed 2009-09-07 20:47:51 +00:00