Commit Graph

8102 Commits

Author SHA1 Message Date
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
Calum Lind 65e1f16163 [WebUI] Remove compressed web js files from repo 2014-02-17 16:52:16 +00:00
Calum Lind 226d2bb964 [GTKUI] Remove leftover old code 2014-02-17 14:28:55 +00:00
Calum Lind aa5e5178d3 [WebUI][Console] Add missing columns and statuses
Rename 'Seeders' to 'Seeds'
Hide seconds from fdate unless wanted
'Last Seen Complete' renamed to 'Complete Seen'
Added columns and status for Completed date
Rename 'Seeders/Peers' to 'Seeds:Peers'
For translation added colon to WebUI status strings to match GTK
2014-02-17 14:12:32 +00:00
Calum Lind 43f12ffdd4 [Console] Reorder prefs tabs to match gtk 2014-02-17 12:53:49 +00:00
Calum Lind 14a55133af [#2219] Update the UIs for single Proxy and I2P Proxy 2014-02-17 01:38:02 +00:00
Calum Lind fa0911dbdf Convert proxy config from multi to single setting 2014-02-16 18:39:01 +00:00
Calum Lind a5fa5d0451 [#2219] Add i2p proxy setting to core 2014-02-16 18:34:38 +00:00
Calum Lind 59a29d5288 Add sequential download option to webui 2014-02-16 06:12:37 +00:00
Calum Lind 67e9787ba1 [#1923] Add pre-allocation and remove compact allocation
Compact allocation is deprecated and a new pre-allocation is available.

Any torrents already using compact will continue to do so but any newly
added only can use sparse (default) or allocate options.

The UIs have been updated to only display a checkbox in preferences for
the user to enable 'Pre-allocate disk space'.
2014-02-16 06:12:37 +00:00
Calum Lind 4486592f04 Fix comment quotes changed by previous commit 2014-02-16 00:45:39 +00:00
Calum Lind 2ae9a4bdbb Very large refactor and cleanup of torrent.py
Use new docstring format and added to all funcs
Pylint and flake8 fixes; only a few warnings remain for pylint
2014-02-15 23:04:58 +00:00
Calum Lind 7dceb629ca Add name to torrent options 2014-02-15 09:27:46 +00:00
Calum Lind 0aed074796 Move owner to torrent options 2014-02-15 09:26:08 +00:00
Calum Lind a9ed6fe46a refactor torrent.set_options 2014-02-15 09:26:08 +00:00
Calum Lind 1d68579b57 Mark set_torrent_* methods deprecated 2014-02-15 09:23:18 +00:00
Calum Lind f66274fd9d Remove unneeded old 'public' option code 2014-02-12 11:09:39 +00:00
Calum Lind 0a001f98e3 Add torrent bandwidth priority to core 2014-02-11 19:57:07 +00:00
Calum Lind 0531276b9b [#2417] Add time_since_download and time_since_upload to torrent status 2014-02-11 16:52:14 +00:00
Calum Lind 2be5474f3a [#2082] Validate ip address for listen_interface entry
This ensures that only ip addresses are accepted for
listen_interface as libtorrent cannot accept interface
names (eth0) and will cause unexpected results for user.
2014-02-11 16:37:41 +00:00
Calum Lind bddfb2a5c6 Change get_default_download_dir to use expanduser as fallback 2014-02-09 19:27:39 +00:00
Calum Lind dc0000059b GTKUI: Ensure None value from problem config is empty string for set_text 2014-02-09 19:20:06 +00:00
Calum Lind 72753a9ccb Fix common.free_space to handle path is None 2014-02-09 19:16:34 +00:00
Calum Lind b193d87499 Include small upstream bencode fix and flake8 file 2014-02-03 13:37:22 +00:00
Calum Lind d9ce4ff634 add comment to tracker_error_alert handler 2014-01-30 13:19:21 +00:00
bendikro 01ee181607 Fixed glade missing signal warning in path_combo_chooser 2014-01-30 12:01:00 +00:00
Calum Lind 2c4af8f136 Fix empty message for certain tracker status errors
By design alert.msg will be empty if the error code is '-1' so use
a.e.message() to get the message as fallback. It was not used at
replacement because when error code is not '-1' then a.e.message()
will also include the error code, which we do not want.
2014-01-30 11:58:04 +00:00
bendikro ff8b5aca75 Fix crash if translations are missing 2014-01-27 14:44:29 +01:00
Calum Lind 188315735b Fix #2409 : Console Non-interactive curses ImportError 2014-01-27 13:05:09 +00:00