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
Calum Lind
66ae8bdd5c
[ #1294 ] [GTKUI] [WebUI] Add Skip File Hash Check
...
* Altered the core code so that seed_mode is now a torrent option.
* Made some minor improvments to the Add Dialog
2014-08-10 14:27:47 +01:00
Calum Lind
d108091511
[GTKUI] Remove dialog focus should be on Cancel button
2014-08-10 12:08:47 +01:00
Calum Lind
29a05978ec
Flake8 addtorrentdialog
2014-08-09 23:40:59 +01:00
Calum Lind
7e4d50b406
Fix for Indicator icon label issue
2014-08-09 22:16:36 +01:00
Calum Lind
90419a4f2d
[ #2450 ] [WebUI] Fix empty Peers tab
...
Also fix missing flags and tracker icons.
2014-08-09 21:54:47 +01:00
Calum Lind
8cc96d9b89
[GTKUI] Cleanup Standalone/Thin client dialogs
2014-08-09 21:54:47 +01:00
Calum Lind
dc7a4df39a
More changes for consistent naming of download location
2014-08-09 15:04:14 +01:00
Calum Lind
a1bc11ec09
Consistent naming of torrent download location to Download Folder
...
* Replaced the deprecated use of torrent status save_path with download_location.
* UIs now use 'Download Folder', replaces 'Save Path', 'Download Path', '... Storage', etc.
2014-08-09 00:39:29 +01:00
Calum Lind
711962da84
Flake8 files_tab
2014-08-09 00:39:29 +01:00
Calum Lind
c5f7eeaacb
[ #2098 ] Add function to highlight the torrent folder/file
...
* Will show/highlight a file path in system file manager. *nix uses dbus with an xdg_open fallback.
* [GTKUI] Open Folder still opens the download location but now shows the torrent data file/folder
* [GTKUI] Files_tab now has a second menu item 'Show' to show a file's location
* The open_file and show_file functions now use timestamps on *nix so that windows open in front, this fixes recent desktop changes that prevent windows randomly stealing focus.
* Removed utf8 decode for Windows. All paths should be unicode
string, any resulting errors should be traced to source and corrected.
2014-08-09 00:39:28 +01:00
Calum Lind
670cd21685
[GTKUI] Suppress unimportant gnome warnings
2014-08-09 00:15:47 +01:00
Calum Lind
9ba07d3883
[GTKUI] Fix showing the open_folder menuitem
...
The menuitems would disappear and not reappear if switching between localhost
and remote daemons.
2014-08-09 00:07:08 +01:00
Calum Lind
713e264061
Fix for moving progress with no data downloaded
2014-08-08 19:26:37 +01:00