Commit Graph

2480 Commits

Author SHA1 Message Date
Damien Churchill ed4a741e4d make the config constructor parameter optional 2009-07-28 16:53:40 +00:00
Damien Churchill 9e10012004 make the deprecation warning on get_stats say that its coming from get_stats 2009-07-28 07:39:30 +00:00
Andrew Resch ba6f30dad1 Add a deluge._libtorrent module to handle importing libtorrent
Use the new module
2009-07-26 03:26:18 +00:00
John Garland ac36c6b3ee Blocklist now uses get_ip_filter.
Added docstrings.
2009-07-25 03:57:45 +00:00
John Garland ac28a01e0b download_file now returns the filename of the downloaded file
when the deferred is successfully fired.
Updated the docstrings in HTTPDownloader.
2009-07-25 03:56:33 +00:00
John Garland a8c79d1954 Use the deferred returned by getPage in test_listen_port. 2009-07-25 00:54:56 +00:00
Andrew Resch 22a982430c Remove _update method 2009-07-25 00:41:20 +00:00
Andrew Resch 25f96f57bb Remove some unnecessary code
Clean up docstrings
2009-07-25 00:39:25 +00:00
Andrew Resch e24ba6a025 Change core.test_listen_port to use twisted instead of urllib
Add test for test_listen_port
Remove some unncessary code
2009-07-25 00:30:45 +00:00
Andrew Resch 321e042a06 Move the InvalidTorrentError check to torrentmanager.remove 2009-07-24 23:40:03 +00:00
Andrew Resch 5977647528 Add get_free_space() to core 2009-07-24 23:36:43 +00:00
John Garland f6d3c108f7 Add InvalidTorrentError. 2009-07-24 10:32:14 +00:00
Damien Churchill 034606b203 fix the remove torrent dialog 2009-07-23 22:30:08 +00:00
Andrew Resch 037871e1b3 Fix up some docstrings
Add some deprecation warnings
Add more tests for core
2009-07-23 21:19:01 +00:00
Andrew Resch fbaa8db003 Update some docstrings 2009-07-23 04:23:41 +00:00
Andrew Resch 1b7be24bdf Change core.remove_torrent to only accept one torrent_id, not a list
Added test for core.remove_torrent
2009-07-23 04:14:08 +00:00
Damien Churchill 0ca5a10d5e Couple more tweaks to the docstrings 2009-07-23 00:46:23 +00:00
Damien Churchill 0fa403929a update the docs for the ui common module 2009-07-23 00:42:38 +00:00
Damien Churchill 5f89f5239e add autodoc for ui.common
fix some docstrings in the json_api module
2009-07-23 00:24:07 +00:00
Damien Churchill 5ca119827b update documentation about the webui 2009-07-22 23:53:30 +00:00
Damien Churchill 85c49595ee update the doc string for add_torrent_url 2009-07-22 20:56:08 +00:00
Damien Churchill e5021cdbc8 remove the docs/build folder
revert the removal of the __rpcapi file for auto-generating the rpc api docs
2009-07-22 20:50:06 +00:00
Damien Churchill f1c192b996 just autodoc the Core and Daemon classes rather than use the RpcApi class 2009-07-22 20:23:16 +00:00
Damien Churchill 063c8b3980 add the deluge remove js script to the debug list
add a css class for the windows icon
2009-07-22 20:11:18 +00:00
Damien Churchill fafe2d3bea add a new window for removing torrents that allows the torrent data to be also removed 2009-07-22 18:57:24 +00:00
John Garland c9228c99a7 Updated docstring in add_torrent_url.
Wrote test for add_torrent_url which tests sending headers.
2009-07-21 02:45:16 +00:00
Damien Churchill 698d37f535 setup automatically generating the core's rpc api 2009-07-20 10:51:33 +00:00
Damien Churchill 891bc9df89 use configmanagers get_config_dir rather than get_default_config_dir 2009-07-20 10:08:29 +00:00
Damien Churchill 6bb4d857c2 add some logging showing pkey/cert locations when starting the webserver 2009-07-20 09:57:17 +00:00
John Garland 2591845512 Fix error when trying to install. 2009-07-20 09:41:44 +00:00
Damien Churchill c62258fa48 move docs out of the deluge package 2009-07-20 09:02:09 +00:00
Damien Churchill cd7b202d9d moves tests out of the deluge package 2009-07-20 09:01:43 +00:00
John Garland dcccc3f4de add_torrent_url now uses httpdownloader's download_file.
This also allows it to send request headers.
As a result it can download torrents from sites that require cookies.
2009-07-20 08:47:32 +00:00
Damien Churchill 3a94a33b56 just return the deferred created by httpdownloader 2009-07-20 08:39:46 +00:00
Damien Churchill a2893cc1b7 change download_torrent_from_url to use the httpdownloader module 2009-07-20 08:20:17 +00:00
John Garland e1ee5c3436 Blocklist reader's read() now calls callback with two arguments: start and end.
This will allow us to better detect when a blocklist reader fails to parse an entry.
Renamed is_valid to is_ignored to make the purpose of the function less ambigious.
2009-07-20 04:49:55 +00:00
Damien Churchill 8fbe456410 change BLANK_IMAGE_URL to /images/s.gif rather than http://extjs.com/s.gif
begin converting D.P.D to a class
2009-07-16 13:25:00 +00:00
Damien Churchill 45eb817301 make the locations of the pkey/cert configurable 2009-07-16 09:24:55 +00:00
Damien Churchill aa05a27d28 use the same ssl key and certificate as the daemon (will add the option to specify a different one later) 2009-07-16 08:58:05 +00:00
Damien Churchill 0490df5a42 clear the options panel when the add window is closed 2009-07-15 18:56:41 +00:00
Damien Churchill 2450599789 trim the trim variable so there is no decimal point 2009-07-15 18:54:58 +00:00
Damien Churchill 929a501453 remove the borders on the GridPanels 2009-07-15 16:43:42 +00:00
John Garland ba91b6e587 Updated imports.
Added decompresser and reader dicts.
Make import_list actually import list into libtorrent session.
Begin auto-detection of blocklists.
2009-07-15 14:00:57 +00:00
John Garland e9d7b71fe8 Changed decompressers names.
No longer use new module, decompressers will decorate an un-instantiated class.
2009-07-14 04:59:35 +00:00
Andrew Resch c9a622b846 Prevent exception when clicking 'Rescan Plugins' button when not connected to a daemon 2009-07-13 21:55:34 +00:00
Andrew Resch f42e8c4316 Show an Error dialog if starting the core in classic mode is unsuccessful 2009-07-13 21:44:21 +00:00
Andrew Resch d0fb657ada Fix exception when quitting in classic mode 2009-07-13 20:23:17 +00:00
Andrew Resch fbba1795ad Make the test port button insensitive when not connected to a daemon 2009-07-13 19:45:30 +00:00
Andrew Resch 0f453eb8f1 Fix some deprecation warnings regarding spinbuttons page adjustment size 2009-07-13 18:27:08 +00:00
Andrew Resch bdcc0047a8 Fix opening the preferences window when not connected to a daemon 2009-07-13 18:26:40 +00:00