593 Commits

Author SHA1 Message Date
Andrew Resch
054ab20402 Use deluge.configmanager.get_config_dir() to find the state folder location since the 'state_location' key in the config may be wrong if the config folder has changed 2009-07-04 23:59:38 +00:00
Andrew Resch
8c23baa4e2 Modify add_torrent_url to return a deferred that returns the torrent_id as a result if successful 2009-07-04 23:06:14 +00:00
Andrew Resch
7815f22a73 Stop some LoopingCalls when stopping components 2009-07-04 22:53:10 +00:00
Andrew Resch
061cd96096 Have add_torrent_file return a torrent_id on successful add 2009-07-04 22:52:41 +00:00
Andrew Resch
34def2524f Fix typo 2009-07-02 18:13:37 +00:00
Andrew Resch
a8b83281ab If a exported method returns a deferred, the rpcserver will now wait for it to fire before sending either the RPC_RESPONSE or RPC_ERROR message back to the client 2009-07-02 18:10:13 +00:00
Andrew Resch
883e61909f Fix deregister_handler 2009-07-02 04:10:20 +00:00
Andrew Resch
b9a2bf786c Write out the new auth file right away and do not re-read the file if doing so 2009-07-02 03:48:03 +00:00
Andrew Resch
3194f0f994 Add ability to rename files prior to adding them in the gtkui 2009-06-27 02:24:21 +00:00
Andrew Resch
0a9a6b4816 Add ability to rename files prior to adding with the option "mapped_files" which is a dictionary of {index: filename, ...} 2009-06-26 23:31:47 +00:00
Andrew Resch
abf6de8462 Add a Cache preferences page to adjust cache settings and examine cache status 2009-06-25 23:58:54 +00:00
John Garland
88e494c197 Fixed stats url encoding. 2009-06-24 05:41:30 +00:00
Andrew Resch
a7c2e596d9 Use a more efficient sort to put the torrent state list in queue order 2009-06-24 02:54:39 +00:00
John Garland
139519d7d1 Fix error when sending stats (quote_plus expects string not list). 2009-06-24 02:35:24 +00:00
Andrew Resch
853138e4ee If a 'localclient' entry is not in the auth file, then have the daemon add one. 2009-06-10 18:11:14 +00:00
Andrew Resch
267c7408d7 Get the blocklist plugin kind of working.. Still needs some lovin'. 2009-06-10 03:42:33 +00:00
Andrew Resch
581dcb8202 Force str when calling session.load_country_db() 2009-06-10 03:08:41 +00:00
Andrew Resch
b430899862 Only move a torrent due to 'move on complete' when some data has been downloaded 2009-06-09 00:35:43 +00:00
Andrew Resch
ff25a7e969 Torrent creation fixes in regards to web seeds
Fix adding torrent to session after creation by setting the proper download location
2009-06-08 21:57:02 +00:00
Andrew Resch
86fca4b43b Remove GeoIP.dat from tree
Add configuration option to set the GeoIP db location, default is /usr/share/GeoIP/GeoIP.dat
2009-06-04 17:25:06 +00:00
Andrew Resch
a24c07a9bd Fix some issues with creating torrent files, was putting the announce list in the wrong key
Add support for using a system installed GeoIP db file.  It will look for /usr/share/GeoIP/GeoIP.dat first and try to load that
2009-06-04 16:57:53 +00:00
Andrew Resch
b28f75d92d Add support for lt 0.15 2009-06-04 02:26:56 +00:00
Andrew Resch
019c78db47 Add some command line options to the daemon to set the listen
interfaces, -i and -u
2009-05-30 00:22:14 +00:00
Andrew Resch
ea829d0826 Show libtorrent performance warnings in the debug log 2009-05-28 23:55:34 +00:00
Andrew Resch
d1c47982a8 Optimize get_tracker_host by storing the tracker_host value 2009-05-28 19:16:58 +00:00
Andrew Resch
fa728510dd This should have been in the last commit.. 2009-05-28 19:16:28 +00:00
Andrew Resch
4dc2f7d9d0 Fix up docstrings in AlertManager and do some minor optimizations 2009-05-28 19:15:32 +00:00
Andrew Resch
b5e0222689 Make the global move torrent on completed option a template for newly added torrents to allow
turning off the movement - patch from Plisk
2009-05-27 02:59:44 +00:00
Andrew Resch
b883ffc474 Fix exception when trackers are disabled from the sidebar 2009-05-25 22:55:42 +00:00
Andrew Resch
b4a329474a Fix #943 exception when options is None 2009-05-20 21:39:02 +00:00
Andrew Resch
1d006e1368 Handle shutdown() better 2009-05-20 20:11:57 +00:00
Andrew Resch
0a33931c6b Detect when a daemon is already running in the same config folder.
When the gtkui is run in classic mode with an already running daemon 
process, prompt the user to turn off classic mode or exit.
2009-05-20 01:07:58 +00:00
Andrew Resch
d67477f6e2 Add OpenSSL exception to all GPL headers 2009-05-18 21:51:49 +00:00
Andrew Resch
8da20c042f Fix some config file locations when using a non-default config directory 2009-05-15 18:09:59 +00:00
Andrew Resch
be5e12e1e4 Have authmanager return ints instead of strings for the auth level 2009-05-15 17:48:03 +00:00
Andrew Resch
128b40641f Apply #932 minor ti_name optimization 2009-05-10 19:28:23 +00:00
Andrew Resch
96c399f7f5 Optimize ti_name a touch 2009-05-09 03:42:39 +00:00
Andrew Resch
5b3528c9d1 Torrent name is now changed when the root folder or file is renamed 2009-05-09 03:05:43 +00:00
Andrew Resch
876a01ff84 Fix some debug output when not using utf8 2009-05-09 03:02:11 +00:00
Andrew Resch
5b87af0e46 Fix per-torrent move on completed stuff - patch from Plisk 2009-05-02 02:07:11 +00:00
Andrew Resch
9ed37e070c Return if bad torrent_info 2009-04-27 22:14:49 +00:00
Andrew Resch
2ac545dec6 Clean-up signal handling since twisted.reactor handles it now 2009-04-27 18:50:41 +00:00
Andrew Resch
b852051bb7 Add 'is_finished' torrent status key 2009-04-25 07:29:08 +00:00
Andrew Resch
45a6ea5a19 Fix deprecation warning 2009-04-23 20:30:09 +00:00
Damien Churchill
fb85e76a1f fix missing torrent_id in on_alert_state_changed 2009-04-21 18:32:34 +00:00
Andrew Resch
b3ee54fcdc Clean-up some of the code in the torrentmanager alert handlers to
prevent uncaught exceptions during shutdown
2009-04-20 02:28:06 +00:00
Andrew Resch
22c9fffad8 Fix issue where cannot resume torrent after doing a 'Pause All' 2009-04-20 00:02:36 +00:00
Andrew Resch
e0f8369e91 Only emit a TorrentStateChangedEvent when the state has actually changed 2009-04-19 19:51:11 +00:00
Andrew Resch
6c9dd4d5c9 Show a Paused state when a Checking torrent is paused 2009-04-19 19:50:39 +00:00
Andrew Resch
00d078a5ea Fix some uncaught exceptions if the session is not authorized 2009-04-18 18:19:47 +00:00