Commit Graph

7590 Commits

Author SHA1 Message Date
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
Calum Lind 21f18a75bb codepaint plugins js files 2014-08-04 23:48:35 +01:00
Calum Lind 3e610ec5ba [#2470] [Console] Fix console parsing args
This negates the need for quoting a single command with an arg e.g.
    deluge-console del --remove_data torrrent_file

Multiple commands separated by semi-colon still require quoting.
2014-08-04 22:27:30 +01:00
Calum Lind e8288eec6a [WebUI] Update from config upon showing plugin page 2014-08-04 22:26:21 +01:00
Calum Lind 936ae3b171 [Blocklist] Flake8 and bump version 2014-08-04 18:44:53 +01:00
Luis Omar Alvarez Mures 834d30f85f [#2478] [Blocklist] Add WebUI plugin page 2014-08-04 18:44:52 +01:00
Chase Sterling 231c17f6a9 Clean up remove dialog handling a bit more 2014-08-03 21:27:46 -04:00
Chase Sterling acf2ad2f0c Fix the remove with data checkbox not working in gtkui 2014-08-03 21:06:12 -04:00
Chase Sterling 59f82f204f Oops, accidentally renamed a variable 2014-07-31 23:20:38 -04:00
Chase Sterling 02cfc40e94 Fix move completed sometimes not moving finished torrents 2014-07-31 23:16:30 -04:00
Chase Sterling b9338a639e Fix issue restoring torrent state 2014-07-31 22:09:23 -04:00
Calum Lind 205444f670 [WebUI] Fix json import 2014-07-22 23:34:19 +01:00
Calum Lind 480347296b Fix a mistake in tm finished alert 2014-07-19 20:08:47 +01:00
Calum Lind 7b53486821 Use stdlib json
Some flake8 changes and DEPENDS tidyup
2014-07-19 11:32:17 +01:00
Calum Lind 49c2be40ab Use flush_disk_cache as a shutdown marker
This is a hacky fix for waiting_on_resume_data not being empty on
shutdown. This issue needs further investigating.
2014-07-18 13:25:50 +01:00
Calum Lind a65603e10c [#1032] Keep track of torrent errors over restarts
* Add error_statusmsg to TorrentState
 * Adds a new set_error_statusmsg() method to force torrent error state.
 * Any torrent in error state will remain in that state on restart with
   additional message in status.
 * Any new libtorrent errors will override manually set ones.
2014-07-18 13:08:47 +01:00
Calum Lind 7393d31208 Refactor TorrentState to build the class attributes 2014-07-18 12:46:56 +01:00
Calum Lind c82164c522 [#2161] Save magnet torrent_info to 'copy of' location
When magnet metadata is received a torrent file will also be written
to 'copy of' location if requested.
Modified the code for saving torrent file to state in Torrent class for
use by TorrentManager.
2014-07-18 00:35:26 +01:00
Calum Lind e30e2ef2c3 Fix mistake in convert_lt_files 2014-07-18 00:03:11 +01:00
Calum Lind 9347a78482 Refactor and tidyup code in torrent.py 2014-07-17 21:55:57 +01:00
Calum Lind 25c7e40574 [#2347] Add orig_files to core 2014-07-17 21:55:51 +01:00
Calum Lind 739d8f329a [#1859] [GTKUI] Improve layout of Remove torrent dialog
* Using Shift+Del will now pre-select removing files.
 * Will now show the name of the individual torrent being removed or the
   total count if multiple torrents selected.
2014-07-17 00:12:23 +01:00
Calum Lind 2449f5b99e Fix strange resume_data bug causing fastresume not save on shutdown 2014-07-17 00:11:15 +01:00
Calum Lind b3e323462c Change logging of 'creating backup' to debug level 2014-07-16 21:25:05 +01:00
Calum Lind bf9bd267fd Fix typo in loading peers_tab state 2014-07-16 18:21:30 +01:00
Calum Lind 8685c7a604 Show actual error in status from storage_moved_failed_alert 2014-07-16 18:07:12 +01:00
Calum Lind 62cca045be [#637] Add a Moving storage state along with progress
Uses attr Torrent.moving_storage for now but can be replaced with
future lt1.0 status field.
Refactored the code to use the common.TORRENT_STATE list.
Added a translating dict to ui.common to aid translation of state text.
2014-07-16 17:43:12 +01:00
Calum Lind bd119bccf4 Fix move storage dialog not closing 2014-07-16 17:43:11 +01:00
Calum Lind 8920db694c Use true division 'from __future__ import division' 2014-07-16 17:43:11 +01:00