Commit Graph

5992 Commits

Author SHA1 Message Date
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
Andrew Resch 1f58910a38 Fix adding torrents with different metadata by storing the bencoded dict too. If we bencode the stored metadata dict, there is a chance the order of the dict will be different and change the info-hash. 2009-11-20 19:13:12 +00:00
Andrew Resch 634ecdeb1d Fix issues adding magnet uris 2009-11-19 04:51:19 +00:00
Andrew Resch aa86aa6fe1 Fix issue where some torrents with special characters could not be added 2009-11-19 02:39:07 +00:00
Andrew Resch 789356d44d Fix exception on startup when the system tray icon is not enabled 2009-11-19 02:29:37 +00:00
Andrew Resch 2b3bd4f1f3 Change the event_list to be a dictionary of known_events and their docstrings 2009-11-16 00:39:15 +00:00
Andrew Resch ad04b2a137 Add way to get a list of DelugeEvent classes 2009-11-14 23:42:04 +00:00
Andrew Resch 1a1ab4e780 Fix endless loop when trying to autoconnect to an offline daemon 2009-11-13 05:26:54 +00:00
Andrew Resch 330b8b3ced Fix autoconnecting to the next host in the list if the selected one isn't available 2009-11-13 05:22:38 +00:00
Andrew Resch bdba9cd00a Fix #1071 issue where Deluge will fail to start if there is a stale ipc lockfile 2009-11-13 01:07:36 +00:00
Andrew Resch f98c3adf2f Comment out a debug log 2009-11-10 18:28:27 +00:00
Andrew Resch ec2c5ab937 Reduce height of Add Torrent Dialog by ~80 pixels 2009-11-10 02:45:36 +00:00
Damien Churchill 8dff2375d0 remove alpha from the title 2009-11-09 23:48:32 +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
Andrew Resch e73052df1c Fix printing info, help, etc.. on the command line 2009-11-08 17:22:57 +00:00
Andrew Resch 9b8282010c Fix disabling/enabling plugins after switching daemons 2009-11-08 04:04:40 +00:00
Andrew Resch dd67a935cb Fix #1067 import os 2009-11-06 19:22:13 +00:00
Andrew Resch 0a84bc73c5 Only try to stop LoopingCalls if they are running 2009-11-05 04:35:17 +00:00
Andrew Resch baa177a1b1 Fix deleting old .fastresume files with fresh configs 2009-11-05 03:44:46 +00:00
Damien Churchill fa5b7e7a66 allow commands that are .pyc files to be used 2009-11-04 23:49:07 +00:00
Damien Churchill 902ef3fa28 run the path from the add command through os.path.expanduser 2009-11-04 23:36:27 +00:00
Damien Churchill 8144d15689 add a basic move storage window that fixes #1057 2009-11-04 20:45:21 +00:00
Damien Churchill dd860e67f7 remove the connected call upon an update to reduce the number of ajax calls 2009-11-04 19:54:59 +00:00
Andrew Resch 19d9c71b13 Allow the 'help' command to be called when not connected to a daemon 2009-11-03 22:08:18 +00:00
Damien Churchill 46906f5447 remove accidentally left in debug line 2009-11-03 14:48:24 +00:00
Damien Churchill 1893b92f37 make the delete key work in the console ui 2009-11-03 12:47:23 +00:00
Andrew Resch fb1d7cfece Fix adding torrents from the Queued Torrents dialog 2009-11-03 03:25:57 +00:00
Andrew Resch 59b93f4d2e Fix showing the 'Other' speed dialogs in Windows 2009-11-03 03:19:30 +00:00
Andrew Resch 6880a142e3 Remove debian/ folder 2009-11-02 17:50:32 +00:00
Damien Churchill 3d76122666 escape the hyphens in the console and web manpages 2009-11-02 17:33:06 +00:00
Damien Churchill 0f81e2816f forward port the setup.py fix to trunk and update the 1.2 branch ChangeLog 2009-11-02 15:35:56 +00:00
Andrew Resch 59c7fcf854 Update translations 2009-11-02 01:35:13 +00:00
Andrew Resch f6a4d19084 Add the clear() back 2009-11-01 17:49:32 +00:00
Andrew Resch ec259d6aea Use batch writing mode in the help command 2009-10-31 22:05:35 +00:00