Commit Graph

7680 Commits

Author SHA1 Message Date
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
Calum Lind 2c66f21cc1 [#2461] [GTKUI] Fix createtorrentdialog cell_data_size error 2014-07-02 18:20:44 +01:00
bendikro dfed6af0c0 Fixes to resume data saving routines.
* Avoid saving resume data unecessarily by checking the queue of calls
* Removed unecessary LoopingCall for resume data
2014-03-10 14:03:06 +00:00
Calum Lind dbf4f67c55 Update gitattributes file 2014-03-10 13:57:24 +00:00
Calum Lind 66b54d6a27 [WebUI] Flake8 web.py 2014-03-06 19:50:40 +00:00
bendikro 30705d6fc9 [WebUI] Changed --profile to use cProfile 2014-03-06 19:46:27 +00:00
bendikro 6c74e2d19c [Tests] Fixed tests so that if the tcp port is used, other ports will be tested 2014-03-06 19:08:35 +00:00
bendikro 973e2d2ef8 [GTKUI] Fix call on sessionproxy.get_torrent_status with bad argument 2014-03-06 19:03:12 +00:00
Calum Lind 067ca38321 Update MANIFEST for webui file movement 2014-03-03 19:06:16 +00:00
Calum Lind bc7380c5d7 Add flush_disk_cache parameter to save_resume_data
Using this flag avoids potential issue with file timestamps and
is only needed when stopping the session.
2014-02-25 19:00:50 +00:00
Calum Lind f2535e196d Let save_resume_data build torrent list on stopping session
By having the func build the list we can skip torrents that we already have
resume data for (need_save_resume_data is False).
2014-02-25 18:57:59 +00:00
Calum Lind ea7ef950a3 [GTKUI] Add new OtherDialog to dialogs
This adds a new OtherDialog to dialogs so that will use Deferred to prevent
the dialog loop locking up the mainwindow.
Remove old `Other` dialog from common and cleanup up the file.
Fixes #2401, context menus for torrents not showing current value.
Fixes #2400, add a stop_at_ratio context menu.
Change the protocol rate to display as int.
2014-02-23 18:36:23 +00:00
Chase Sterling 813261df07 Update internal listview state when saving to disk
Fixes remembering sort column
2014-02-22 14:54:37 -05:00
Calum Lind 56d216adf7 [WebUI] Fix typo in statustab 2014-02-22 18:09:26 +00:00
Calum Lind 60e60427fc Fix for github code language detection
Moves the extjs framework into subdir that will be ignored by
github's Linguist library so that Deluge is detected correctly
as Python.
2014-02-21 22:39:25 +00:00
Friedrich Gonzalez 49d4bb4969 [#1908] [WebUI] Add bind interface option for server 2014-02-21 18:09:56 +00:00
Calum Lind 9eb6b7c52a [WebUI] Fix custom VType 2014-02-21 18:08:06 +00:00
Calum Lind 3d4acf7d37 Update docstrings in torrent.py 2014-02-21 10:35:31 +00:00
Calum Lind 5e2f6b0f40 Update comment and flake8 listview.py 2014-02-20 19:16:53 +00:00
Calum Lind 881da401e1 [GTKUI] Fix column added after restore order func 2014-02-20 19:16:12 +00:00
Calum Lind 9290cc1f7a Fix building the code documentation with sphinx
Updated Sphinx conf and tested with Sphinx 1.2.1
Moved webui gen_gettext script
Fixed docstring warning in code
Renamed console update-tracker to update_tracker
2014-02-20 17:38:51 +00:00
Chase Sterling c64da3ceb4 Fix missing import, pep8 2014-02-19 23:46:53 -05:00
Calum Lind fff75b51ce [#2373] [OSX] Fix laucher scripts for single leading slash path
On Mavericks the application path passed to scripts only has single leading slash
compared to previous double slash.
Renamed and changed shebang to bash to prevent any issues.
Updated README to rst format for display in trac wiki.
2014-02-19 19:03:53 +00:00
Calum Lind eb804c2a4a Remove debug log line from prev commit 2014-02-19 10:20:22 +00:00
Calum Lind cb87509e4f [#2082] [WebUI] [Console] Validate interface entry for IP address 2014-02-18 21:07:07 +00:00
Calum Lind 8d74c3f22a [WebUI] Fix errors from rearranging code in 2294670 2014-02-18 20:46:53 +00:00
Calum Lind 22946700dd [#2310] [WebUI] Fix unicode password support
hashlib requires UTF-8 encoded string
Passes flake8 but with warning for global __request__
2014-02-18 00:27:39 +00:00
Calum Lind 32d5a0bab2 [2374][WebUI] Fix right-click selection issue 2014-02-17 22:59:10 +00:00
Calum Lind f415fa1a7e [WebUI] Add moved gettext file 2014-02-17 22:03:44 +00:00
Calum Lind 66e01991d6 [GTKUI] Rearrange the Status and Details tabs 2014-02-17 22:02:55 +00:00
Calum Lind 09b5d2252c remove unneeded gettext line from setup 2014-02-17 16:56:30 +00:00
Calum Lind 4a917c95ab [WebUI] Move gettext.js into js dir 2014-02-17 16:52:43 +00:00