275 Commits

Author SHA1 Message Date
John Garland
f03d1818fa Upgrade older confs instead of just dying.
Fix major logic error when checking if an update is needed.
2009-12-16 13:46:39 +00:00
John Garland
13b2e7da26 Fix import on startup which got broken in previous commit. 2009-12-16 12:46:57 +00:00
John Garland
377f8cf886 Fix blocklist not working for all locales (#1059). 2009-12-16 11:55:34 +00:00
Andrew Resch
53b9cdebcd Fix #1099 use triple quotes on docstrings 2009-12-15 06:36:02 +00:00
Damien Churchill
d119fa3629 fix a bug in the execute plugin when move_completed is used the incorrect path was passed in 2009-12-08 11:24:56 +00:00
Andrew Resch
f9c61bbc11 Fix #1085 only use ints for specific options to prevent unhandled exception 2009-11-29 21:32:56 +00:00
Pedro Algarvio
1cb42252b8 Don't throw errors when de-registering notifications.
If sound notifications is not possible or disabled, also disable the sound customization notebook page.
2009-11-22 08:14:09 +00:00
Pedro Algarvio
7812f7b4e4 Update the Notifications and FreeSpace plugins descriptions.
On the Notifications plugin, moved the Core and GtkUi notification implementations to `core.py` and `gtkui.py` respectively.
2009-11-22 06:56:50 +00:00
Pedro Algarvio
127b577440 If plugin is installed on an older client, known_events might not exist yet. 2009-11-22 06:13:11 +00:00
Pedro Algarvio
a5e8a9dc69 Only import gtk inside the GtkUi notifications implementation. Like this one won't need have gtk installed if only the daemon is running. 2009-11-22 05:58:32 +00:00
Pedro Algarvio
9bfa5f10b6 Since the WebUI does not yet do anything, remove it's entry point from the notifications plugin.
Cleanup debugging output.
2009-11-22 03:55:36 +00:00
Pedro Algarvio
67c0f8609b Merge Heads. 2009-11-22 03:08:28 +00:00
Pedro Algarvio
7061e09a8e Remove unused module. 2009-11-22 02:35:55 +00:00
Pedro Algarvio
e327d87ebc Moved all notifications into their own classes from which the Core, GtkUi, and possibly latter, Web, plugins inherit from.
The plugins now just handle configuration stuff.
2009-11-22 02:35:47 +00:00
Pedro Algarvio
c4f0920c18 Notifications are now working for the built-in TorrentFinishedEvent and the custom one for email, popup, blink and sound notifications. Sounds can even be tweaked for each of the events types.
Needs some code cleanup.
2009-11-22 02:35:37 +00:00
Pedro Algarvio
adb22bdfa5 Add the test module so that it can be version tracked. 2009-11-22 02:35:28 +00:00
Pedro Algarvio
01a43544d5 Remove un-used module. 2009-11-22 02:35:19 +00:00
Pedro Algarvio
8420d6105b Custom notifications now working for emails, popups, blinks and sound.
Blinks might need some changes because, there's no need to formar or gather extra info, so, it might not be needed to allow plugin developers to register custom handlers for it.
2009-11-22 02:35:12 +00:00
Pedro Algarvio
1b7a50f88b Checkpoint:
* Custom notification providers working for email.
  * Configuration through the GtkUI working.
2009-11-22 02:35:02 +00:00
Pedro Algarvio
8a6ec7232d Merge SVN and HG heads. 2009-11-22 02:34:51 +00:00
Pedro Algarvio
535940e2e6 Notifications(email, blink, popup, sound) are working both for classic mode and daemon mode.
Still need some further tests for using `component.get('Notifications').notify*()`.
2009-11-22 02:34:35 +00:00
Pedro Algarvio
0723a77214 First notifications plugin commit.
Working when not in classic mode. In classic mode, needs some more coding.
2009-11-22 02:34:23 +00:00
John Garland
4e2c0a70c4 Allow for colons in PeerGuardian/SafePeer lists' descriptions.
Check that the start & end range resembles an ip when checking a list's validity.
2009-11-09 08:54:13 +00:00
John Garland
41353c9ae4 Force blocklist to re-detect the format when a download is forced.
Move remove_zeros to common.py and simplify / speed up.
Change debug logging lines to be more uniform.
2009-11-09 01:52:58 +00:00
John Garland
29d01993c9 Fix typo, update plugin info. 2009-10-25 13:42:11 +00:00
Andrew Resch
9c491c13cc Add option to create torrent name sub-folders in extract folder
Fix issue where the plugin would not stop extracting files after being disabled
2009-10-19 02:10:43 +00:00
Andrew Resch
ce0968e6dc Update gettextize.sh script to use proper encoding
Regenerate deluge.pot
2009-10-05 00:00:37 +00:00
Andrew Resch
34b25d77f1 Fix blocklist plugin 2009-10-04 22:47:27 +00:00
Andrew Resch
b680ff48e5 Use new method to add plugin tab
Stop graph tearing
Patches from Ian Martin
2009-10-04 19:25:10 +00:00
Andrew Resch
5c481c3b13 A few fixes for the blocklist plugin 2009-10-04 19:09:06 +00:00
Damien Churchill
5be72551f0 add copyright header 2009-10-01 10:46:35 +00:00
Damien Churchill
e1f68fb8fa fix the package name in common
change the script name in webui
add copyright headers to the js file and change indentation
2009-10-01 10:45:59 +00:00
Damien Churchill
365d21ed04 rename deluge-execute.js to execute.js 2009-10-01 10:43:03 +00:00
Damien Churchill
c17eb14dd2 remove the paranthesis from the export deco since they aren't needed anymore 2009-10-01 10:36:10 +00:00
Damien Churchill
95af21eca9 fix up the webui side of the plugin, even if it is skeletal 2009-10-01 10:35:46 +00:00
Damien Churchill
8fd03cb9ac remove the template folder, since the webui no longer uses templates 2009-10-01 10:33:50 +00:00
Damien Churchill
9d6aeaecdb add the common module that now exists in most plugins 2009-10-01 10:33:02 +00:00
Damien Churchill
02e7a7d361 fix web plugin entry point 2009-10-01 10:32:20 +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
13109f8a1f just a couple of small tweaks 2009-09-16 09:03:30 +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
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
Andrew Resch
a78ab9529f Fix up the Execute plugin's gtk code 2009-09-09 20:47:12 +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