Commit graph

6450 commits

Author SHA1 Message Date
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
Andrew Resch
b849a4b451 Fix #1009 enabling a plugin twice in the gtkui
Prevent plugins from being enabled more than once in pluginmanagerbase
2009-09-05 19:32:01 +00:00
Fredrik Eriksson
d1c6e551a9 another patch from David Mohr adding basic cookies support in core 2009-09-04 16:30:56 +00:00
Fredrik Eriksson
82682dbb2d applying patch from David Mohr replacing the Timer object with LoopingCall 2009-09-04 15:58:41 +00:00
Andrew Resch
4e3f4128fa Apply patch from David Mohr to make core.py more 1.2 compatible 2009-09-02 22:36:34 +00:00
Damien Churchill
a6ab62f7ce re-set the _session_id cookie updating the expires time 2009-09-01 22:39:34 +00:00
Andrew Resch
5d85af9adf Add SSL exception to license in the about dialog 2009-08-31 22:16:39 +00:00
Fredrik Eriksson
9712d1c16f Updated the feeder __init__.py for 1.2 2009-08-31 19:07:11 +00:00
Fredrik Eriksson
753e17d612 importing the feeder-plugin for porting to 1.2 2009-08-31 18:55:51 +00:00
Damien Churchill
7a09ef5356 add the beginnings of the plugins preferences page 2009-08-27 19:13:45 +00:00
Andrew Resch
f10bf6961b Add PluginEnabledEvent
Add PluginDisabledEvent
Add event handlers to enable/disable plugins on events
2009-08-26 16:59:29 +00:00
Damien Churchill
6ca835314e add a method for grabbing plugin info 2009-08-26 08:53:58 +00:00
Damien Churchill
32ed499b2a connect up the key-press-event and have the context menus pop up when the menu key is pressed 2009-08-24 22:13:54 +00:00
Damien Churchill
bcbe3108c9 ensure the port is a Number 2009-08-24 20:08:03 +00:00
Andrew Resch
00882ac867 Hide the 'Open File' menu option when connected to a remote daemon 2009-08-23 20:46:31 +00:00
Damien Churchill
df72c38f22 ensure that the value is a number 2009-08-21 01:06:22 +00:00
Damien Churchill
24db5bd72a make sure the value is a float 2009-08-21 00:57:08 +00:00
Damien Churchill
a75405feb0 working version of the proxy preferences page with field hiding, config saving, the whole shebang 2009-08-21 00:50:56 +00:00
Damien Churchill
aa97b5a273 allow the preferences config panel to overflow and tweak the pages so only the ones required to overflow do so 2009-08-20 23:50:59 +00:00
Andrew Resch
80634db44c Fix num_pieces calculation 2009-08-20 22:27:40 +00:00
Damien Churchill
1b3448ad91 add spinner strategies to all the spinners on the bandwidth page 2009-08-20 01:23:04 +00:00
Damien Churchill
f127d1c451 decrease the margin-top on the server fieldset 2009-08-20 01:19:18 +00:00
Damien Churchill
e2fb2ddd03 tweak the layout slightly 2009-08-20 01:12:43 +00:00
Damien Churchill
e05e0b4e35 add support for binding an option to multiple fields 2009-08-20 01:08:09 +00:00
Damien Churchill
9962206907 include yet more preferences (ssl, port, certificate locations) 2009-08-20 00:55:58 +00:00
Damien Churchill
937f8715a4 only output config keys that the ui needs in /config.js 2009-08-20 00:54:57 +00:00
Damien Churchill
54083e0a7e remove some unused configuration values 2009-08-20 00:47:27 +00:00
Damien Churchill
88471024d9 have the option manager return the field from a bind 2009-08-20 00:47:02 +00:00
Damien Churchill
e676bcf576 add the session timeout to one of the options on the interface preferences 2009-08-20 00:32:32 +00:00
Damien Churchill
1a635e8860 only return deferreds for those methods that require it 2009-08-20 00:31:31 +00:00