47 Commits

Author SHA1 Message Date
Calum Lind
fcc13f454b Fix torrent file and folder renaming issues
Adds `sanitize_filepath` for use before passing to libtorrent rename_file
2011-07-13 22:44:13 +01:00
Calum Lind
13528fe7f8 Fix httpdownloader Tests 2011-07-07 01:22:51 +01:00
Pedro Algarvio
8b6d6e3836 Fix broken SessionProxy tests. 2011-07-05 09:29:12 +01:00
John Garland
37b9277c0e Update ubuntu tracker icon test 2011-07-05 18:00:06 +10:00
Andrew Resch
5bc63fa910 Change component.deregister to take the object as the parameter, not the name 2011-06-06 14:19:51 -07:00
Pedro Algarvio
df3214168c Cleaner fix for #1874, code clean up and reusability.
Translations are now setup on `deluge.common`. Where they used to be setup, a call to `setup_translations(setup_pygtk=False)` is now made.
Every call to `pkg_resources.resource_filename()` is now made through `deluge.common.resource_filename` to make sure that we're loading data from the right deluge install.
2011-06-04 18:06:45 +01:00
Pedro Algarvio
0ba0e013b5 Force backwards incompatibility.
Force clients prior to 1.4 to fail authentication, this was we might reduce tickets like #1852.
2011-05-15 22:18:38 +01:00
Pedro Algarvio
f26de83509 Don't run into loops when the auth file does not exist and we're trying to create it. 2011-05-01 04:44:42 +01:00
Pedro Algarvio
f41f6ad46a Test fixes and #1814 fix.
All test were adapted, and some more were added to comply with the new multiuser support in deluge.
Regarding #1814, host entries in the Connection Manager UI are now migrated from the old format were automatic localhost logins were possible, which no longer is.
2011-04-27 19:32:13 +01:00
Damien Churchill
98a8be7131 avoid having the tests hang due to a failing to connect client! 2011-04-27 13:38:23 +01:00
Damien Churchill
796109649d fix the client tests albeit in an ultra hacky way 2011-04-21 10:41:00 +01:00
Damien Churchill
d18becc861 fix bug due to vim stripping regex being wrong 2011-04-20 18:37:39 +01:00
Damien Churchill
bcb636dda4 improve the core tests to use a built in webserver 2011-04-20 18:32:55 +01:00
Damien Churchill
f30a2858ce convert the tests to use a local webserver instead of pinging deluge-torrent.org and damoxc.net 2011-03-08 14:43:09 +00:00
John Garland
32b41fabd6 Handle redirection when adding a torrent by url 2011-03-09 00:44:42 +11:00
John Garland
a0f9689664 Handle partial downloads due to incorrect headers (fixes #1517) 2011-03-09 00:40:15 +11:00
Pedro Algarvio
3b00a7de59 Swhiched the old style logging, ie, a single logger for all logging output to several loggers. This brings the ability to tweak the logging levels for each of the loggers, ie, we can have the "deluge" logger be at the ERROR level while having "deluge.core" at the DEBUG level, meaning we will only see log message for all of the deluge loggers above the ERROR level while still having all messages above the DEBUG level for the "deluge.core" logger and it's children. This kind of tweak can be achieved by adding a file named "logging.conf" to deluge's config dir and this is explained on the deluge.log.tweak_logging_levels function.
Passing `-r` to the cli's while also passing `-l` will make the logfile rotate when reaching 5Mb in size. Three backups will be kept at all times.
All deluge's code is now using this new style logging along with the git hosted plugins. For other plugins not hosted by deluge, which still imports `LOG` as the logger, a deprecation warning will be shown explaining the required changes needed to use the new style logging. New plugins created by the `create_plugin` script will use the new logging facilities.
2010-12-06 11:20:22 +00:00
Damien Churchill
4197e129fe change location of httpdownloader as a temporary fix 2010-10-25 00:13:09 +01:00
Damien Churchill
3b6bad2f13 fix up the tracker icon tests 2010-10-22 19:47:38 +01:00
Damien Churchill
6fd4b298f3 fix up the core tests that were erroring 2010-10-22 19:42:07 +01:00
Damien Churchill
2beec764c9 move tests back inside the deluge package, makes it easier to run trial on them 2010-10-22 16:36:52 +01:00
Damien Churchill
cd7b202d9d moves tests out of the deluge package 2009-07-20 09:01:43 +00:00
Andrew Resch
76bc45a3bf Add some tests for core 2009-07-05 01:17:38 +00:00
Andrew Resch
0c0cfaf597 Clean-up the tests and add some new ones 2009-07-02 04:16:37 +00:00
Martijn Voncken
35ebf57060 get_stats+overhead 2008-11-25 19:28:25 +00:00
Martijn Voncken
d4dec67fc4 plugin-javascript 2008-10-28 22:20:38 +00:00
Andrew Resch
edaf3da0fc Add 'get_plugin_info()' to PluginManagerBase -- returns a metadata info
dictionary
2008-10-27 03:31:11 +00:00
Martijn Voncken
56a3a03a59 move tracker icon cache folder 2008-10-24 18:16:12 +00:00
Martijn Voncken
984c4f8203 webui : use TrackerIcons class 2008-10-22 16:08:53 +00:00
Martijn Voncken
7359ddb879 fetch tracker icons in thread 2008-10-21 18:36:53 +00:00
Martijn Voncken
cb8125aa1b gtk tracker icons, some eye-candy 2008-10-20 18:57:38 +00:00
Martijn Voncken
cba021a19e label-plugin:fix unload 2008-10-14 20:04:23 +00:00
Martijn Voncken
7b52f7fa97 rename hide_zero* to show_zero* because double negatives are not intuitive 2008-10-11 08:56:13 +00:00
Martijn Voncken
5ebbff177f filter: hide_zero_hits;hide_cat : core+test 2008-10-11 08:04:02 +00:00
Martijn Voncken
db6764ea9b statusbar api prototype 2008-09-25 20:56:05 +00:00
Martijn Voncken
d6a3c55efa get_stats in core 2008-08-30 22:58:19 +00:00
Martijn Voncken
eee10dab76 get_filter_tree 2008-08-18 18:05:48 +00:00
Martijn Voncken
d3b005f30d registered filters:keyword 2008-08-17 00:12:28 +00:00
Martijn Voncken
b48c487acb move filtering to filtermanager 2008-08-16 23:07:10 +00:00
Martijn Voncken
862cec9e0a use core filtering for torrentview 2008-08-16 21:54:03 +00:00
Martijn Voncken
5c1ec8dbb3 move client tests 2008-08-16 15:35:37 +00:00
Martijn Voncken
a26beda19b reformat test 2008-08-16 15:29:00 +00:00
Martijn Voncken
14db4bc999 change get_torrents_status() api for filtering in core 2008-08-16 14:48:43 +00:00
Martijn Voncken
ad11029780 get_status -> get_dev_torrents_state 2008-08-15 22:00:22 +00:00
Martijn Voncken
080ff5974d basic get_status() 2008-08-15 21:00:28 +00:00
Martijn Voncken
0469d46717 add get_status_keys() 2008-08-15 20:39:32 +00:00
Andrew Resch
4ab3577172 Add a test script for testing the signalreceiver 2008-08-15 18:36:04 +00:00