268 Commits

Author SHA1 Message Date
Damien Churchill
1da79ceb75 change the way that the minimum LT version is specified 2010-02-22 11:56:05 +00:00
Andrew Resch
3791fe2d2f Fix typo 2010-02-20 09:36:54 -08:00
andrew
95b26efbb4 Make Deluge dependent on libtorrent 0.14.9 or greater. This is due to an over-downloading bug in
libtorrent.
2010-02-20 08:56:20 -08:00
Damien Churchill
fcbaa1f4f2 fix the upload_plugin method as it wasn't upgraded to deluge-rpc spec 2009-12-10 15:31:27 +00:00
John Garland
a4d1fbd0bd Fix unbound local error when adding a torrent fails. 2009-09-26 16:25:16 +00:00
Andrew Resch
0be6d83d92 Remove 'state_location' and 'config_location' preferences and all references from the code. We should use configmanager.get_config_dir() instead. 2009-09-25 00:57:22 +00:00
Andrew Resch
3f8441af6a Update the about dialog and have it show the core version and libtorrent version 2009-09-19 00:18:14 +00:00
Andrew Resch
c35535edc3 Print libtorrent version in the log 2009-08-12 07:22:13 +00:00
Andrew Resch
c383345cd9 Use the proper download_location when adding a newly created torrent to the session 2009-07-30 22:04:23 +00:00
Andrew Resch
525ffee93e Fix up some docstrings 2009-07-30 21:41:51 +00:00
Andrew Resch
d685b2ddd6 Move the VersionSplit class to deluge.common 2009-07-30 21:14:50 +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
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
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
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
85c49595ee update the doc string for add_torrent_url 2009-07-22 20:56:08 +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
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
John Garland
e9f62ea08c Fix typos in blocklist core.
Remove reset_ip_filter and block_ip_range from deluge core.
2009-07-05 16:27:22 +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
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
061cd96096 Have add_torrent_file return a torrent_id on successful add 2009-07-04 22:52:41 +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
Andrew Resch
267c7408d7 Get the blocklist plugin kind of working.. Still needs some lovin'. 2009-06-10 03:42:33 +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
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
fa728510dd This should have been in the last commit.. 2009-05-28 19:16:28 +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
5b87af0e46 Fix per-torrent move on completed stuff - patch from Plisk 2009-05-02 02:07:11 +00:00
Andrew Resch
22c9fffad8 Fix issue where cannot resume torrent after doing a 'Pause All' 2009-04-20 00:02:36 +00:00
Damien Churchill
ca316750e8 tidy up imports 2009-04-04 11:31:07 +00:00
Damien Churchill
5512606f8a remove the now redundant calls 2009-03-17 09:16:35 +00:00
Andrew Resch
930c479718 Remove the plugin hooks from the Core.. These are replaced by Events 2009-03-15 20:29:51 +00:00
Andrew Resch
f61e86d7b3 Add EventManager to the Core 2009-02-26 03:10:11 +00:00
Andrew Resch
9ed0a80679 Catch exceptions while loading the geoip db 2009-02-23 10:22:55 +00:00
Andrew Resch
1d61bb3e94 Revert last change. Hiding the exception isn't a good idea and the error shouldn't be OS-specific. 2009-02-11 00:40:22 +00:00
Marcos Pinto
ee05e18a9a show easy to understand error message on twisted importerror for the not so bright #796 2009-02-11 00:26:25 +00:00
Andrew Resch
e861e660a5 Fix queue order changing 2009-02-04 14:55:51 +00:00
Andrew Resch
5ad7c60b65 Remove signalmanager 2009-02-04 06:27:40 +00:00
Andrew Resch
a24738a9ff Implement Events (formerly Signals) which are emitted from the daemon to interested clients. 2009-02-03 04:13:41 +00:00
Andrew Resch
d6fd69eba8 Fix adding torrents 2009-01-29 01:42:48 +00:00