Calum Lind
71183f6c19
Add windows support to is_ip
2012-12-01 02:22:49 +00:00
Calum Lind
6fe350fa52
Fix #2110 : Accept magnet uris with xt param anywhere within them
2012-11-27 23:18:12 +00:00
Calum Lind
b8deea5c76
Fix #2208 : Win32 Open Folder not working with non-ascii paths
2012-11-26 13:42:32 +00:00
Calum Lind
9360378ae9
Fix common.open_file for osx
2012-09-29 17:12:48 +01:00
Calum Lind
828b3204b8
Fix #2071 : KeyError in gtkui when file priority set to value '3'
...
Bug results from setting file priority value in core which does not
exist in the FILE_PRIORITY dict used by UIs.
2012-04-18 12:58:09 +01:00
Calum Lind
be49fd6a40
Fix #2010 : Move speed text in titlebar to the beginning
2012-01-09 23:20:48 +00:00
Calum Lind
07d4aff13b
Change Windows default download path from '~' to '~\Downloads'
2011-11-29 19:08:41 +00:00
phil
a932767545
Fix #1921 : GTKUI reports free disk space incorrectly
2011-11-29 18:59:13 +00:00
Calum Lind
b301051cdd
Fix #1637 : UnicodeDecodeError from 'deluge-console --help' with other languages
2011-07-10 16:45:02 +01:00
Pedro Algarvio
acb747bfd5
Log from where translations are being loaded.
2011-07-10 00:43:56 +01:00
Calum Lind
ca86aa5714
Fixes keyerror with existing file priorities set to High
2011-07-08 23:34:02 +01:00
Calum Lind
f75ec9d484
Fix translation of KiB/s
2011-07-04 21:39:08 +01:00
Andrew Resch
71f9ef6499
Adjust file priorities to make Highest actually the highest allowed by libtorrent and High has been changed to what Highest was
2011-06-21 10:50:57 -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
9e9261e6f8
Fix #1874 .
...
While developing, if there's a second deluge package, installed globally and another in develop mode somewhere else, while pkg_resources.require("Deluge") returns the proper deluge instance, pkg_resources.resource_filename does not, it returns the first found on the python path, which is not good enough. Work around this issue.
2011-06-04 15:56:14 +01:00
Justin Noah
937b53b355
pixmaps and icons moved to ui/data, all necessary references changed.
2011-05-30 17:57:39 +01:00
Calum Lind
3a7c182f83
Add XDG_DOWNLOAD_DIR for default download folder #1788
2011-05-28 00:01:58 +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
9fa8748432
Fix some clean config dir issues.
...
Moved some auth stuff to `deluge.common` because they're also used on the GTK UI.
Now, if a user starts deluge in classic mode and tries to change it to client/daemon mode, he see's a dialog stating that the current session will be stopped. If he answers no, nothing is done, the classic mode pref is set back as it was. If he answers yes, all components are stopped and client is disconnected. At this stage the user can open the connection manager to start the daemon and connect.
If the user starts in client/daemon mode and switches to classic mode he see's a dialog stating that deluge must be restarted.
The GTK UI connection manager now loads it's default config with the localclient username and password. If not present in the auth file, the auth file will be recreated.
2011-04-27 22:06:13 +01:00
Andrew Resch
9ac0d62149
Remove some imports that are no longer neccessary
2011-02-23 11:21:47 -08:00
Calum Lind
417a9f6e63
Fix #1373 , #1386 - Creating and moving non-ascii folder names in MS Windows
2011-02-05 01:12:43 +00: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
Andrew Resch
45940b9064
Fix #1373 use of cyrllic paths
2010-10-16 12:56:00 -07:00
John Garland
ff7ff8eac7
Move decode_string/utf8_encoded to common
2010-10-03 18:12:42 +11:00
Chase Sterling
915db80a55
Fix VersionSplit behavior when comparing to a dev version.
2010-09-11 16:27:29 -04:00
Chase Sterling
15ce2b71f9
Moved xdg import so it is not called on Windows, where it is unused. fixes #1343
2010-08-22 15:39:12 -04:00
John Garland
6ded75caef
Remove no longer needed fetch_url
2010-05-04 04:37:41 +10:00
Damien Churchill
412b96ba55
xml escape notifications sent via libnotify ( Closes : #1185 )
2010-04-27 10:31:53 +01:00
Andrew Resch
9a632fc3d3
1234: Add time to the torrents added date - patch from tobbez
2010-04-18 14:52:18 -07:00
John Garland
80e480854e
Fix fsize by initialising gettext
2010-04-16 00:08:56 +10:00
Andrew Resch
addda6cfcc
Fix #640 make file size suffixes translatable
2010-04-08 17:43:57 -07:00
Damien Churchill
dd8400558c
use a platform agnostic way of combining paths in the FileTree
2010-03-28 12:16:35 +01:00
Andrew Resch
9d13b17a3c
Fix VersionSplit comparison to do a proper compare and not simply
...
against the version strings
2010-03-21 15:57:53 -07:00
John Garland
50ae65b58a
Use faster (non-regex) version of is_url.
2010-02-25 02:01:08 +11:00
Damien Churchill
f562e8aff3
remove log messages as they don't work
2009-08-12 08:20:19 +00:00
Damien Churchill
8ef55c380e
add a log message stating which json encoder is being using
2009-08-12 07:24:10 +00:00
Damien Churchill
33d889aaf8
add dump and load methods to the json module if it isn't simplejson
2009-08-10 09:46:57 +00:00
Andrew Resch
d685b2ddd6
Move the VersionSplit class to deluge.common
2009-07-30 21:14:50 +00:00
Andrew Resch
25f96f57bb
Remove some unnecessary code
...
Clean up docstrings
2009-07-25 00:39:25 +00:00
Andrew Resch
b28f75d92d
Add support for lt 0.15
2009-06-04 02:26:56 +00:00
Andrew Resch
d67477f6e2
Add OpenSSL exception to all GPL headers
2009-05-18 21:51:49 +00:00
Andrew Resch
2d2f8f7700
Remove some useless code
2009-05-10 19:11:06 +00:00
Andrew Resch
f12f02fff8
Fix #921 detect if user has json-py installed and add dumps and loads attributes to it
2009-05-09 03:18:54 +00:00
Damien Churchill
111b64d38b
fix checking the free diskspace on windows 7
2009-04-20 21:05:05 +00:00
Andrew Resch
d542666f20
Fix some deprecation warnings and imports
2009-02-20 14:32:28 +00:00
Damien Churchill
70a810b531
do safe simplejson import in common and use this imported copy in the 2
...
other places where its used.
2009-02-19 09:39:18 +00:00
Andrew Resch
2acd470626
Fix opening links from Help menu and others
2009-01-16 02:45:36 +00:00
Andrew Resch
7ac25da4bd
Fix new version check
2008-12-26 08:04:31 +00:00
Marcos Pinto
56fb8f6225
not all use DD/MM/YY, so use locale's date format
2008-12-09 02:34:08 +00:00
Andrew Resch
d7a76b3b5a
Fix #619 return "" instead of "Infinity" if seconds == 0 in ftime
2008-11-29 21:35:44 +00:00