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
Calum Lind
d51ad7718c
Update TorrentManager docstrings and remove old load_torrent method
...
Passes flake8 and mostly passes pylint
2014-07-15 15:26:35 +01:00
Calum Lind
e66c854be5
[ #2238 ] [Scheduler] Fix undefined this.scheduleCells
2014-07-13 23:07:29 +01:00
Calum Lind
cd8bef964a
[Extractor] Tidy plugin code and add webui page
2014-07-13 14:12:31 +01:00
Calum Lind
4d5e01abef
[ #1290 ] [Execute] Add TorrentRemoved event
2014-07-13 14:12:31 +01:00
Calum Lind
7b44980912
[ #1126 ] [ #2322 ] Emit FinishedEvent after moving storage complete
...
Also changed the Execute and Extractor plugins to process the updated
FinishedEvent functionality.
2014-07-13 14:11:47 +01:00
Calum Lind
7c22135bb4
[Execute] Tabs to spaces
2014-07-12 21:38:28 +01:00
Calum Lind
21691c5cc1
[Extractor] Replace module which with twisted.python.procutils.which
2014-07-11 18:59:52 +01:00
Calum Lind
533bdd398a
[WebUI] Fix missing ext-extension files in build
2014-07-10 15:29:34 +01:00
Calum Lind
98b54e6682
Rewrite the webui minify js script in python
...
Also replaced minifier 'yui-compressor' with pure-python 'slimit'.
2014-07-10 15:05:52 +01:00
Calum Lind
5eba762a20
[GTKUI] Fix text typo and mark for translation
2014-07-09 19:39:29 +01:00
Calum Lind
27682cb666
[ #2464 ] [GTKUI] Fix unable add trackers in createtorrentdialog
2014-07-09 18:52:40 +01:00
Calum Lind
67873f39dc
[ #2418 ] Fix WebUI error when adding non-ascii torrent
...
json.dumps attempts to decode (utf8) the 'path' entry which had a
alternative encoding. The solution is to ensure the 'path' entry is
utf8 encoded and remove the unneeded 'path.utf-8' entry.
As self.__m_metadata["info"]["files"] is updated the later code
checking and decoding the 'path' entry can be removed.
2014-07-08 15:32:03 +01:00
Calum Lind
7aa52e5f1b
Prevent private flagged torrents auto-merging trackers
...
When adding a torrent already in session any new trackers are merged
to the exiting torrent but this is an unwanted feature for private
flagged torrents.
2014-07-07 23:33:45 +01:00
Calum Lind
c31c1b00b1
[ #2315 ] [GTKUI] Potential fix for lost window on Win32
2014-07-07 23:33:36 +01:00
Calum Lind
52db7df6d8
[GTKUI] Typo causing password dialog to show
2014-07-07 19:59:59 +01:00
Calum Lind
c05fa40756
[GTKUI] Flake8 mainwindow
2014-07-07 19:07:35 +01:00
Calum Lind
5fdaf73fdf
[GTKUI] Fix quitting bypassing password lock
2014-07-07 18:56:47 +01:00
Calum Lind
30e5fc83b2
[ #2369 ] [GTKUI] Fix bypassing tray password dialog
...
Created a generic password dialog and moved the unlock code out of
systemtray so any call to window.present will now show the dialog.
Also fixed the appindicator not showing the correct visible status
2014-07-07 18:49:32 +01:00
Calum Lind
4afd1fa91d
Remove old sha module import code
2014-07-05 19:43:07 +01:00
Calum Lind
c5722011e8
Pylint alertmanager
2014-07-05 16:50:14 +01:00
Calum Lind
02592e1b5e
Set alert_queue_size in AlertManager and add logging
2014-07-05 16:50:14 +01:00
Calum Lind
ccec01b729
Minor tidyup of core code
2014-07-05 16:06:59 +01:00
Calum Lind
6c295cd314
[ #2466 ] [AutoAdd] Fix Copy Torrent File
2014-07-04 21:55:44 +01:00
Calum Lind
a9274d4b52
Remove old unneeded send_redundant_have session setting
2014-07-04 21:28:03 +01:00
Calum Lind
0a7e02bf34
[GTKUI] Hide the associate magnet button on OSX
2014-07-04 20:49:16 +01:00
Calum Lind
19bc0fb468
[ #1490 ] Increase the Alertmanager interval to 0.3s
...
The original 0.05 interval is causing excessive idle cpu usage
2014-07-04 19:15:00 +01:00
Calum Lind
d8a00cf517
[Tests] Update ubuntu favicon
2014-07-02 19:42:57 +01:00
Calum Lind
48fb321699
[ #2463 ] [AutoAdd] Fix not loading torrents
...
The owner attribute for tm.add() method was moved to options dict
2014-07-02 19:32:38 +01:00
Calum Lind
f1a9e2ae32
[ #2462 ] [GTKUI] Fix clicking Edit Trackers button in Options tab
2014-07-02 18:29:51 +01:00