Commit Graph

7791 Commits

Author SHA1 Message Date
Calum Lind 3288353be0 [Lint] Cleanup code to pass PyLint Error category
Disabled:

  * no-member:
  * not-callable:
  * no-name-in-module:
2015-10-30 18:39:36 +00:00
Calum Lind 6eb46c935e [Lint] Add PyLint support and cleanup code with basic changes
* Include a pylintrc config file
 * This commit provides a basic error-only pylint config as a starting
   point with a view to adding more checks incrementally to keep the volume
   of changes low and the code able to pass pylint at each stage.
2015-10-30 18:38:56 +00:00
Calum Lind 58388419fb [Core] Fix mistake in clear_forced_error_state 2015-10-30 18:27:38 +00:00
Calum Lind 4ae43c5f2a [#1032] Error out torrent if data is missing on startup 2015-10-30 15:28:20 +00:00
Calum Lind 74f5dc0a76 Add fastresume_rejected_alert 2015-10-30 15:21:07 +00:00
Calum Lind f4dce731e9 [Core] Supress state warnings with fresh config 2015-10-30 14:35:47 +00:00
Calum Lind aedb59f854 [Console] Use utf8_encoded for non-interactive mode 2015-10-29 12:22:03 +00:00
Calum Lind 3a03bb8dd7 [GTKUI] Don't display percentage for Error'd torrents 2015-10-29 11:50:18 +00:00
Calum Lind e232cd812a [WebUI] Fix missing return from pep8 changes 2015-10-22 23:15:30 +01:00
Calum Lind ebc00f3d7c Fix config for isort 4.2 2015-10-21 01:17:08 +01:00
Calum Lind 32bc20d8ce Fix pep8 across codebase
* Further whitespace fixes by autopep8
 * Using pep8 v1.6.2 (not currently used by pyflakes)
 * Update config for pep8 and flake8 in tox.ini
   * A separate pep8 entry for running autopep8. The ignores prevent
     blank lines being added after docstrings.
   * .tox and E133 are ignored in flake8 by default.
2015-10-21 00:06:27 +01:00
Calum Lind 82ac1bdfe0 Use xml.sax instead of cgi for escaping 2015-10-18 18:41:58 +01:00
Calum Lind 56f5ce6ee1 [Tests] Properly test for DeprecationWarning in test_log 2015-10-18 15:36:58 +01:00
Calum Lind 4803600734 Remove translation markup in pluginmanagerbase 2015-10-18 15:36:58 +01:00
Calum Lind 76cc3e79b9 [Tests] Update plugin metadata test 2015-10-18 15:36:58 +01:00
Dmitry V Selitsky 14e775cbcf Fix missing js semi-colons and refactor CSS 2015-10-07 12:50:56 +01:00
Benjamin Dykstra 005db434f8 [#2769] [WebUI] Simplified torrent file upload UX
Previously, the process for uploading a file in the Web-UI required three
steps. Click 'File' to open the 'Add from File' window.  Click 'Browse' to
select the file. Finally, click 'Add' to upload the file. These steps have
been combined into one, making the process much easier. Now, clicking 'File'
opens the file browser directly. After a file is selected, it is uploaded
automatically.
2015-10-07 12:25:04 +01:00
Robert Zwerus d4535c6164 [GTKUI] Store width and height of 'Edit trackers' dialog in config 2015-10-07 12:17:25 +01:00
Calum Lind dd3aeb45ea [Core] Cleanup a few docstrings in TM 2015-10-02 19:30:04 +01:00
Calum Lind e4ec248eb6 [Core] Mapped files fix and torrentid correction 2015-10-02 19:30:04 +01:00
Calum Lind cb8e9d3018 [Core] Move add tracker merge into Torrent method 2015-10-02 19:30:04 +01:00
Calum Lind 50200326a9 [Core] Split-up complex tm.load_state 2015-10-02 19:30:03 +01:00
Calum Lind 40c1597c67 [Core] Split create part of save_state into create_state method 2015-10-02 19:30:03 +01:00
Calum Lind d34705860a [Core] Updates to writing and deleting torrentfile
* Reduces the complexity in tm.remove
2015-10-02 19:30:03 +01:00
Calum Lind fb95d0ef58 [Core] Fix queue_top typo in tm.add 2015-10-01 12:31:46 +01:00
Calum Lind 0838202892 [#2703] [Core] Stop moving files if target files exist 2015-09-29 23:37:14 +01:00
Calum Lind 7f2e06d4e2 Bump minimum version for libtorrent to 1.0.6 2015-09-29 23:30:18 +01:00
Calum Lind 824067e238 [Core] Emit TorrentStateChangedEvent in update_state 2015-09-29 19:39:32 +01:00
Calum Lind 084329f9f1 [#2729] [Blocklist] Fix plugin lockup with empty url 2015-09-28 12:45:39 +01:00
Calum Lind e1548cc974 [#1330] [Core] Fix pausing and resuming session
* The paused state of torrents is now correctly stored on shutdown if the session is paused.
 * Resume session refreshes all the torrents' state. This fixes only torrents that changed state being
   updated so queued torrents would be incorrectly displayed as paused.
2015-09-28 12:39:51 +01:00
Calum Lind 8241b2ba3e [Core] Return all plugin status keys with empty list 2015-09-28 12:20:35 +01:00
Calum Lind e5e4ab4e05 [#2236] [Core] Fix filter keyerror removing plugin 2015-09-26 19:15:02 +01:00
Calum Lind a26101d6b9 [GTKUI] [OSX] Fix empty scrolling status (systray) menu
* Same issue as seen on Windows in #302
2015-09-26 00:03:52 +01:00
Calum Lind 24b8baf8cc [Travis] Disable broken TODO test 2015-09-25 18:17:29 +01:00
Calum Lind 5a6ca707e0 Fix isort and flake8 tests 2015-09-25 18:16:29 +01:00
Calum Lind c9d4cd2e14 [#2435] [GTKUI] Prevent user changing selection when editing tracker 2015-09-25 18:12:11 +01:00
Calum Lind f96f47e463 [#2705] [WebUI] Fix hostlist not being created 2015-09-25 14:02:12 +01:00
Calum Lind 037063f24e [#2765] Add support for TLS SNI in httpdownloader 2015-09-25 14:02:07 +01:00
Calum Lind ca9d0abe4b [GTKUI] Fix connected issue in connection manager
* If host was not an ip address then it would not show as connected
2015-09-25 14:01:46 +01:00
Calum Lind a2a074fb4f osx file in wrong location 2015-09-23 00:32:54 +01:00
Calum Lind 07fa36aa58 [GTKUI] Revert column type to uint64
* Tested fine on linux but on windows generates TypeError as this
   data is long in standalone mode.
2015-09-20 22:53:41 +01:00
Calum Lind 774157f9b6 Fix scalable icon path 2015-09-20 21:36:46 +01:00
Calum Lind 9df3f7b50e [Tests] Fix torrentview test 2015-09-20 19:27:03 +01:00
Calum Lind 2c5025644c Fix data_files in setup.py 2015-09-20 18:39:20 +01:00
Calum Lind 7b7e61485e [#2762] [GTKUI] Use correct column types for data 2015-09-20 15:58:10 +01:00
Calum Lind 0363dddbcc [#2763] [GTKUI] Fix unhandled error with invalid magnet uri 2015-09-20 15:55:36 +01:00
Calum Lind 356f224a25 [#2764] [Scheduler] Fix corrupt plugin prefs page on osx 2015-09-20 15:52:14 +01:00
Calum Lind fbf5d5287f [Packaging] Minor osx updates 2015-09-20 15:50:22 +01:00
bendikro 1557bf8882 [#2754] [GTKUI] Fix Deluge isn't sorting torrents properly 2015-09-18 23:07:15 +01:00
Calum Lind 8485fd591b [#2402] [Notification] Fix popup to show actual count of files finished 2015-09-18 23:00:00 +01:00