Commit Graph

7581 Commits

Author SHA1 Message Date
Calum Lind 3a53f4002a [Python-Modernize] libmodernize.fixes.fix_print
* Replaces print with print()
2014-09-03 17:22:38 +01:00
Calum Lind 1e6c811768 [Python-Modernize] lib2to3.fixes.fix_except
* Use 'ex' instead of 'e' to conform with pylint
 * Minimal Flake8 on some files
2014-09-03 17:22:38 +01:00
Calum Lind 95f859673e [Python-Modernize] lib2to3.fixes.fix_has_key 2014-09-03 17:22:38 +01:00
Calum Lind 682acc11ec [Tests] Update ubuntu icon 2014-09-03 17:22:21 +01:00
Calum Lind ec8d48f4fd [GTKUI] Tweaking layout of Status and Details Tabs 2014-09-02 12:48:02 +01:00
Calum Lind 4f3fcac2bf [GTKUI] Add padding to count in sidebar 2014-09-01 22:24:19 +01:00
Calum Lind 430f9c01d7 [#2472] [GTKUI] [WebUI] Add anonymous_mode UI prefs 2014-09-01 22:08:48 +01:00
Doadin 184d6be98d [#2472] Add support for anonymous_mode 2014-09-01 21:57:09 +01:00
Alex Knaust 2a50159978 [#2497] [GTKUI] Fix the queue 'Clear' button not properly clearing. 2014-09-01 21:31:17 +01:00
Calum Lind 5a6f202cf1 [GTKUI] Rework the sidebar layout
* Changed variable names to be less confusing.
 * Flake8'd.
 * Move the 'count' to a separate render cell.
 * Reduced size of expander icon to make it less intrusive.
 * Enabled ellipsis on labels so count is still visible.
 * Used pango markup on cell labels and count.
 * No longer set a fixed colour to fix #1193.
2014-09-01 19:25:44 +01:00
Calum Lind e97140cbde [GTKUI] Reduce status tab border to 1px 2014-09-01 19:06:02 +01:00
Calum Lind ecb4f0e9da [#2496] [GTKUI] Fix updating core_config before setting default options
* Remove duplicate entry in init.
 * Call update if empty config and prevent potential loop in update method.
 * Ensure that the queue Add button is sensitive, even when automatically adding.
2014-08-31 14:50:55 +01:00
Calum Lind 57b594041a [#2493] [GTKUI] Fix TypeError if active workspace is None 2014-08-25 16:30:19 +01:00
Calum Lind 2df2f882e0 Use list comprehension in get_file_progress
Should be slightly quicker with large numbers of files.

Also moved socket import to the top as it will always be imported.
2014-08-24 11:01:37 +01:00
Calum Lind 4ad45b2d4a No need to use get_status in Torrent class 2014-08-23 22:22:09 +01:00
Calum Lind a9293285a0 Flake8 rencode
Fixes a function declared twice and a few indentation issues
2014-08-23 22:22:09 +01:00
Calum Lind b4b58380b6 Refactor Torrent _get_pieces_info method
Code is now easier to read and should be a bit faster
2014-08-23 22:22:09 +01:00
Calum Lind 48f79dbfca [GTKUI] Move 'Add Dialog' prefs to Download tab
Also includes more tweaks to layout for consistency and creating space.
2014-08-22 22:02:09 +01:00
Calum Lind 5c82c144cf [GTKUI] Convert the appindicator option into a radio button 2014-08-22 22:01:23 +01:00
Calum Lind 849101950f [GTKUI] Tidyup Preferences Dialog
* Remove unnessary page headers to save space
 * Reordered pages to be lightly grouped
 * Other changes to utilise space better
 * Fixed the plugin info panel collapsing on startup
2014-08-22 17:41:19 +01:00
Calum Lind 210acf68c1 [GTKUI] Change tabs from top to left side 2014-08-22 17:41:13 +01:00
Calum Lind 6bbb9832e9 [GTKUI] Remove icons from Tabs 2014-08-22 17:40:57 +01:00
Calum Lind 1bc92ed3e3 [GTKUI] Move Piece colour chooser below checkbox 2014-08-22 17:40:25 +01:00
Calum Lind 6496383e82 [GTKUI] Reorganise layout of tab items and add Tracker tab
* Changed layout of Status, Details and Options tabs.
 * Moved the Tracker translations to ui.common.
 * Created a new Trackers tab.
 * Added State to progressbar.
 * Translate State in piecesbar.
2014-08-22 14:43:37 +01:00
Calum Lind 14776d86f5 Remove duplicate i2p_proxy entry 2014-08-21 13:41:33 +01:00
Calum Lind 1de0c30bb0 Disable SSL listen port 2014-08-21 13:40:07 +01:00
Calum Lind b296803e01 Use int function to cast proxy type 2014-08-20 16:58:25 +01:00
Calum Lind 68b893fa02 Log errors for invalid interface values 2014-08-20 16:55:07 +01:00
Calum Lind 05792809b5 [GTKUI] Strip whitespace in the interface entry box 2014-08-20 16:34:43 +01:00
Calum Lind 068cce353a Code cleanup for core files 2014-08-20 15:10:59 +01:00
Calum Lind 82f2fc67c2 [Notifications] Small layout fixes for web page and version bump 2014-08-19 16:28:21 +01:00
omaralvarez b77c4682d1 [#1310] [Notifications] Add webui prefs page 2014-08-19 16:12:56 +01:00
omaralvarez 42b3edff64 Fixed bug in Blocklist WebUI pref page 2014-08-19 16:12:55 +01:00
Calum Lind 83c0f8a16e [WebUI] Fix tracker_host mistake 2014-08-19 15:48:25 +01:00
Calum Lind af9fa15636 Replace use of status key 'tracker' with 'tracker_host' in UIs
* Status key tracker can be empty so use tracker_host instead, also tracker_host
   is nicely formatted.
 * Remove unneeded tracker_host string from tracker_status.
2014-08-19 15:39:12 +01:00
Calum Lind 061590665e Remove obsolete set_state method 2014-08-19 15:39:12 +01:00
Calum Lind 49ed3db352 Replace try statement for LT_TORRENT_STATE_MAP lookup 2014-08-19 14:31:00 +01:00
Calum Lind 32330f99fc Flake8 core files 2014-08-19 14:22:19 +01:00
Calum Lind a2c3fb3d5e [WebUI] Flake8 files
* Does not pass cleanly due to camelcase function names and __request__ global.
2014-08-19 13:01:18 +01:00
Calum Lind 069d820d39 [WebUI] Cleanup of css files
* Consistent indent and line endings
 * Remove unused redo icon
 * Minify extensions css
2014-08-19 12:52:03 +01:00
Calum Lind 1700b75cfe Fix firing of Finished event when moving 2014-08-16 22:49:13 +01:00
Calum Lind 64d06f5650 Fix showing wrong state for finished torrent 2014-08-13 22:45:53 +01:00
Calum Lind 97533145a7 Revert "Fix strange resume_data bug causing fastresume not save on shutdown"
This reverts commit 2449f5b99e.
2014-08-13 21:32:46 +01:00
Calum Lind 8c6758720d Replace pause_all with pause_session
* Replace pause_all and resume_all with pause_session and resume_session
 * Pausing all the torrents individually loses the original paused status
   so use the libtorrent session pause instead.
 * Added a SessionPausedEvent to the method.
2014-08-12 18:21:12 +01:00
Calum Lind d0718df82b Refactor torrent.update_state 2014-08-12 00:31:00 +01:00
Eirik Byrkjeflot Anonsen f81cc81e20 Add --sort option to deluge-console's "info" command. 2014-08-10 17:45:14 +01:00
Eirik Byrkjeflot Anonsen 79023eb5c6 Add seeding_time, active_time and tracker_status to deluge-console's "info" command. 2014-08-10 17:37:41 +01:00
Eirik Byrkjeflot Anonsen 35f7526c2a Fix spelling error in deluge-console output. 2014-08-10 17:32:16 +01:00
Calum Lind f8eede78ca [AutoAdd] Add Skip Hash Check option 2014-08-10 14:27:47 +01:00
Calum Lind a38186857d Flake8 Autoadd 2014-08-10 14:27:47 +01:00