Commit Graph

5415 Commits

Author SHA1 Message Date
Andrew Resch 76bc45a3bf Add some tests for core 2009-07-05 01:17:38 +00:00
Andrew Resch 2ced8ad189 Change add_torrent_magnets to add_torrent_magnet
Have add_torrent_magnet return a torrent_id on successful add
2009-07-05 00:09:49 +00:00
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
John Garland 191d83c4be Added check to see if blocklist should be downloaded when load on start is enabled.
Updated function names in gtkui.
2009-07-04 17:05:50 +00:00
Andrew Resch 5b4d138baf Fix renaming files with / in them 2009-07-04 16:49:18 +00:00
Andrew Resch 016e99b728 Add a dep to the apt-get list 2009-07-02 18:51:26 +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
John Garland 85c32f0403 Use stored last_update for conditional get. 2009-07-02 15:40:13 +00:00
John Garland 8e69a82881 Begin rewrite of blocklist (core) using twisted. 2009-07-02 15:29:57 +00:00
Damien Churchill d317d5c857 update the sudo apt-get install line 2009-07-02 08:23:24 +00:00
Andrew Resch 0c0cfaf597 Clean-up the tests and add some new ones 2009-07-02 04:16:37 +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
Damien Churchill bbb087c04a suppress only deprecation warnings 2009-07-01 13:56:36 +00:00
Damien Churchill 74627f682a use only "twisted" in the module arg as that suppresses all warnings from twisted 2009-07-01 13:51:56 +00:00
Damien Churchill 958c6334b0 suppress depreciation warnings generated by twisted 2009-07-01 13:49:39 +00:00
Damien Churchill 65697faca5 remove unnecessary import 2009-07-01 13:45:56 +00:00
John Garland d3d991d8aa Added support for sending headers when using download_file.
Allows HTTP conditional GET for servers which support it.
2009-07-01 10:02:45 +00:00
John Garland d592c0370c HTTPDownloader now "raises" a PageRedirect error when it encounters a temporary redirect or permanent move.
This allows the callee to download the file from the new location.
2009-07-01 08:45:09 +00:00
Andrew Resch a66910e50b Move reparent_iter to common
Add support for 'spliting' folders in the add torrent dialog
2009-06-28 00:56:36 +00:00
Andrew Resch 2ccebaca3b Move 'add_peer_dialog' to peers_tab.py where it should belong.. 2009-06-27 22:49:01 +00:00
Andrew Resch 23944abc4c Optimize walk_tree() by only getting the base_path once for all siblings 2009-06-27 22:30:01 +00:00
Andrew Resch 2d379b3c67 Make the cache refresh button actually work 2009-06-27 22:13:50 +00:00
Damien Churchill cdf2f79c66 fix some indentation issues 2009-06-27 11:36:34 +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
Damien Churchill 6fb180ed23 add checkboxes to folders and change all the child checkboxes on a change 2009-06-26 18:43:38 +00:00
Damien Churchill 1edafe2b6c sort out some whitespace 2009-06-26 18:40:48 +00:00
Andrew Resch 790a10e317 Fix #535 fix saving column widths 2009-06-26 05:29:48 +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
John Garland 182845ce3e Fixed #916.
Removed unused code.
2009-06-24 03:22:06 +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
Damien Churchill 33ac5beba5 update the stored option in the onFieldChange event handler 2009-06-23 23:20:11 +00:00
Damien Churchill 2debe69e34 proxy the check event from the child radio boxes to the radiogroup 2009-06-23 23:18:25 +00:00
Damien Churchill c5a21e2be9 add in a radiogroup to facilitate in hiding compact/full allocation as one field and extend Ext.form.RadioGroup so it provides the setValue and getValue methods 2009-06-23 23:10:13 +00:00
Damien Churchill e94129135b add the options form layout to the options tab of the add window 2009-06-23 18:46:25 +00:00
Damien Churchill b75e17069f change the command options help string a little 2009-06-23 18:22:11 +00:00
Damien Churchill b13efa08ff add ssl support to the webui webserver 2009-06-23 18:21:25 +00:00
Andrew Resch 148afede5b Check to see if the files_list for the torrent_id is available when receiving file_renamed or
folder_renamed events
2009-06-23 17:36:01 +00:00
Damien Churchill a29904fefd fix bug in get_hosts if host[x:y] is not a list 2009-06-23 10:02:22 +00:00
Damien Churchill 76d3c2567e fix the files tree for when there is only 1 file in the torrent and also fix the file size in the add torrent window 2009-06-23 09:37:28 +00:00
Damien Churchill 2e0bd1bd3c fix an error in the doc string for add_torrents 2009-06-23 09:36:30 +00:00
Damien Churchill 46163b992f split out getting host status from getting the host list to greatly improve performance of the connection manager 2009-06-22 18:28:51 +00:00
John Garland 4b934a07ba dummy function now accepts arbitrary number of variables.
metafile uses hashlib instead of sha library.
2009-06-22 14:11:02 +00:00