Commit Graph

6970 Commits

Author SHA1 Message Date
bendikro 5394ac5604 [#2875][Web] Fix: WebUI Json dumps Error
* A torrent file contains an uncommon field 'filehash' which must be hex encoded
   to allow dumping the torrent info to json. Otherwise it will fail with:
   UnicodeDecodeError: 'utf8' codec can't decode byte 0xe5 in position 0: invalid continuation byte
2016-10-19 11:58:03 +01:00
Calum Lind f739269dfd [GTKUI] Autofill infohash entry from clipboard 2016-10-18 19:20:47 +01:00
Calum Lind f57ee74ee2 [#2901] [GTKUI] Strip whitespace from infohash entry before checks
* Copy-pasting from web page can include extra space at end of string.
 * Also make minor change to populate the magnet name with infohash
   for nicer UI display.
2016-10-18 19:14:51 +01:00
Calum Lind 798f5e2deb [#2889] Fix for UnboundLocalError in exception handler 2016-10-17 12:49:22 +01:00
Calum Lind a7fe4d4510 [#2889] Fixes for 'Too many files open' error
* Ensure all file descriptors are closed. Using the with statement ensures
   closure and adding 'from __future__ ...' for Python 2.5 compatibility.
 * The main problem was with thousands of unclosed file desciptors from
   tracker_icons mkstemp.
 * Use a prefix 'deluge_ticon.' to identify created tracker_icon tmp files.
2016-10-17 12:46:28 +01:00
Calum Lind 6c73105a73 [#2882] [Core] Nicer log message about missing GeoIP support in lt 1.1.1 2016-09-28 10:36:06 +01:00
Calum Lind e66be42c81 [#2768] [GTKUI] [OSX] Fix invalid file error at startup
When installed to the system, not using .app, error is raised on startup
as nsapp_open_file is ignoring Deluge-bin but not deluge or deluge-gtk for
potential 'filename' when connecting NSApplicationOpenFile.
2016-07-20 20:31:40 +01:00
Calum Lind 2263463114 Bump version to 1.3.13 and update dates 2016-07-20 15:23:28 +01:00
Calum Lind 454c7be364 Revert "[#2852] Set maximum supported libtorrent version to 1.0.x"
This reverts commit 852b51f224.

Changes applied for libtorrent 1.1.1 release should bring back
backward compatibility for Deluge 1.3.
2016-07-19 20:06:27 +01:00
Calum Lind 85fdacc0e7 [Changelog] Update with recent changes 2016-07-19 17:38:15 +01:00
Calum Lind 869dbab459 [WebUI] Compress javascript files 2016-07-19 17:37:43 +01:00
Calum Lind 852b51f224 [#2852] Set maximum supported libtorrent version to 1.0.x 2016-07-19 15:20:38 +01:00
Calum Lind 492ad07965 [#2293] [WebUI] Fix plugins not loading when using WebUI plugin
- Any plugins that were started before the WebUI plugin would not be loaded
   upon starting the web server and would be not show up. The fix is to use
   web.pluginmanager.start to get all enabled plugins from core.
 - Update log message output for enable/disable in pluginmanager.
 - Deregister plugin events on json_api disable.
2016-07-19 15:04:50 +01:00
Calum Lind 904a51835b [#2857] [Notification] Fix issues with SMTP port input 2016-07-19 12:56:33 +01:00
Calum Lind d38b8fc45c [#2855] [WebUI] Unable to add UDP trackers 2016-07-19 11:50:26 +01:00
Calum Lind 5f92810f76 [#2784] [Execute] Escape ampersand in args for Windows
Due to the nature of passing a command and args to cmd.exe and then
to a batch file in Windows any ampersands in execute args need to be
double-escaped so prefixing with tripe-caret (^^^&) is the fix for this.
2016-06-29 23:25:30 +01:00
Calum Lind 34e12fcb38 [Translations] Update po's, pot and gettext.js 2016-06-19 12:30:30 +01:00
Calum Lind f769afd3ac [WebUI] Compress javascript 2016-06-19 12:30:29 +01:00
Calum Lind e1d78c3de6 [Changelog] Add recent changes 2016-06-19 12:30:05 +01:00
Calum Lind 15a4023208 [#2077] [Extractor] Ignore the remaining rar part files
* Bump version to 0.6
2016-06-10 16:14:52 +01:00
Calum Lind cbb7415a18 [#2785] [Extractor] Fix successful claimed extract leaving empty folder
* The main fix here is adding os.environ to the command call otherwise in some configurations
   the extraction would fail. Was unable to reproduce locally but users confirm this fix works.
 * Refactored the code to properly report errors if the extract command fails and the
   actual command output.
 * Bump version to 0.5.
2016-06-10 16:00:23 +01:00
Calum Lind 1a11e085b2 [#2828] [Packaging] Fix ImportError with setuptools version > 18.8 2016-05-19 17:23:07 +01:00
TannerMoore fcb65940d9 [AutoAdd] Fix watch dir not accepting uppercase file extension
- Auto-add feature will now accept torrents when the .torrent extension
   has capital letters in it
2016-05-12 19:19:39 +01:00
Calum Lind aa10e084a4 [Scheduler] Bump to version 0.3 2016-05-12 11:41:00 +01:00
Calum Lind b2be4aba53 [#2796] [Console] Add time_added to info sort keys 2016-05-10 14:17:37 +01:00
Calum Lind a1e66a4dc1 [#2815] [Console] Fix 'add' cmd path inconsistency on windows
- When adding a torrent with a download location from command prompt
on Windows the slashes were not being normalised resulting in path errors.
2016-05-10 13:00:02 +01:00
Calum Lind 6240243251 [#2795] [GTKUI] Reduce height of Add Torrent Dialog
- Reduced height from 575px to 480px
 - Low resolution screen users (600px high) will be unable to click
the add button with a dialog height of >550px. Keeping the height
to less than 500px leaves more room for large size themes.
2016-05-10 12:45:25 +01:00
Calum Lind ad58fca1f9 [#2790] Ensure base32 magnet hash is uppercase 2016-05-09 23:24:59 +01:00
Calum Lind f221ae53eb [#2832] [UI] Skip blank lines in auth file 2016-05-09 16:40:02 +01:00
Calum Lind 5590c31ace [Daemon] Fix unable to use uppercase log level 2016-04-27 08:20:58 +01:00
bendikro 4e5754b285 [Core] Fix UnboundLocalError in torrentmanager 2016-04-07 11:00:16 +01:00
Andrew Resch 90a22af5e5 Add command-line option for the daemon to restrict some config keys to being read-only.
This only affects the core.set_config() RPC method which will drop items if the key
is listed as read-only.
2016-02-02 19:02:28 -08:00
Calum Lind 77f8449c0c [#2767] [Packaging] Don't include .py files in OSX App 2015-12-11 18:50:49 +00:00
bendikro be7ad16a3f [#2783] [GTKUI] Case insensitive sort for name column 2015-12-11 18:02:10 +00:00
Calum Lind e28954f63e Update Changelog 2015-12-11 14:27:11 +00:00
Calum Lind 52e60ac5b0 [#2782] [WebUI] Fix HTTPS negotiating incorrect cipher 2015-12-11 11:53:52 +00:00
Calum Lind 6ffe5cd2a4 [Core] Improve logging in update_state 2015-12-11 11:52:59 +00:00
Calum Lind 9038357d78 [OSX] Fix starting deluged from connection manager 2015-12-10 21:31:37 +00:00
Calum Lind d56f6cb4f1 [Core] Increase RSA key size 2015-12-10 09:47:41 +00:00
Calum Lind 5d301a4b33 [Core] Fix move_storage exception handling 2015-12-09 19:02:18 +00:00
Calum Lind e65a7ff2ea [GTKUI] Only save_state when mainwindow is visible
* A similar fix (550ddc01) was applied to develop so backporting to guard
   against similar problems with columns not saving properly.
2015-11-30 23:41:51 +00:00
Calum Lind 1bdc99ded7 [GTKUI] Fix installing plugin from non-ascii path 2015-11-27 13:41:06 +00:00
Calum Lind dd34492e16 [Core] Update tracker_host when setting new tracker status
* Fixes the tracker_host not updating when a tracker announce
   is received from a different tracker and sets the tracker status.
2015-11-27 12:03:55 +00:00
Calum Lind 9f3b2f3167 [#2093] Backport win32_unicode_argv from develop
* Also includes fix for drag'n'drop non-ascii filepaths by decoding after urlparse.
2015-11-26 13:46:04 +00:00
Calum Lind 0260e34189 [#2485] [WebUI] Fix unconnected Options in context menu 2015-11-23 23:20:45 +00:00
Calum Lind 5464cf674a [#2777] Update MSVC SP1 check to latest release CLID 2015-11-15 18:43:04 +00:00
Calum Lind a58ce30e7b [#2738] [Core] Fix illegal argument with torrent_handle.set_max_connections 2015-11-15 14:17:00 +00:00
Calum Lind 83cecc0c09 [Core] Put back translation markup for tracker error 2015-11-05 22:59:17 +00:00
Calum Lind 00757af149 [Core] Empty error message fix with certain trackers
By design alert.msg will be empty if the error code is '-1' so use
a.e.message() to get the message as fallback. It was not used at
replacement because when error code is not '-1' then a.e.message()
will also include the error code, which we do not want.
2015-11-05 22:23:35 +00:00
Calum Lind 639eefcf1d [Core] Supress warnings with fresh config
* Test TMState has torrents before attempting old state update.
 * Only warn about missing fastresume if torrents in session.
2015-10-28 15:35:36 +00:00