Calum Lind
abf90f1dd6
[ #2784 ] [Execute] Escape ampersand in args for Windows
...
Due to the nature of passing a command and args to cmd.exe and then
to a batch file in Windows any ampersands in execute args need to be
double-escaped so prefixing with tripe-caret (^^^&) is the fix for this.
2016-06-29 23:24:23 +01:00
Calum Lind
53215d87ee
[ #2077 ] [Extractor] Ignore the remaining rar part files
...
* Bump version to 0.6
2016-06-10 15:33:04 +01:00
Calum Lind
2d5dce4954
[ #2785 ] [Extractor] Fix successful claimed extract leaving empty folder
...
* The main fix here is adding os.environ to the command call otherwise in some configurations
the extraction would fail. Was unable to reproduce locally but users confirm this fix works.
* Refactored the code to properly report errors if the extract command fails along with actual
command output.
* Bump version to 0.5.
2016-06-10 15:30:52 +01:00
Calum Lind
7e229ceb2f
[Tests] Combine echo lines into python cmd for tox docs
2016-05-25 11:06:48 +01:00
bendikro
2a8388d262
[UI] Fix translation setup in console
...
Console was incorrectly setting up pygtk translation
2016-05-24 23:59:22 +01:00
bendikro
4751b33d0c
[Console] Fix to console argument parsing
...
When starting console with './deluge-console', providing
loggin level '-L info' would fail to parse as it identified
'info' as a subcommand.
2016-05-24 23:59:22 +01:00
Calum Lind
98eb810f89
[Docs] Minor tidyup of docstrings
2016-05-24 23:53:37 +01:00
bendikro
7c07001bdc
[Docs] Make tox -e docs fail on sphinx warnings
...
* Also cleanup isort command
2016-05-24 23:53:37 +01:00
bendikro
a81f17a802
[Tests] Improve test docs
2016-05-24 23:53:14 +01:00
bendikro
dbadb9b0a6
[Core] Fix core.remove_torrents return value on error
2016-05-24 23:52:24 +01:00
bendikro
c204b63653
[Docs] Make tox -e docs fail on sphinx warnings
...
* Also cleanup isort command
2016-05-24 21:10:53 +02:00
bendikro
48240db813
[Docs] Fix docs in maketorrent.py
2016-05-24 21:10:53 +02:00
bendikro
94a9f17838
[Tests] Improve test docs
2016-05-24 21:10:53 +02:00
bendikro
5ca7bb365e
[Tests] Use tests/common.todo_test to mark tests for TODO
2016-05-24 21:10:52 +02:00
bendikro
260268f62b
[Tests] Inherit from BaseTestCase in testcases
...
* Testcases in test_torrent.py and test_torrentmanager.py creates
components and should therefore inherit from BaseTestCase.
* Cleanup in test_json_api.py
2016-05-24 21:10:52 +02:00
bendikro
a8dac9bd3a
[Base] [Tests] Add more component tests
2016-05-24 21:10:52 +02:00
bendikro
d1acd964a5
[Base] Fix Component docs
2016-05-24 21:10:52 +02:00
bendikro
5e493f2d3f
[UI] Use a shared DEFAULT_HOSTS dict in ui/common
...
Instead of defining a DEFAULT_HOSTS dict for each UI
use a shared dict.
2016-05-24 21:10:52 +02:00
bendikro
d65ebb80c6
[UI] Reduce ui.client log verbosity
2016-05-24 21:10:52 +02:00
bendikro
b9f3f549a1
[UI] Add __contains__ to deluge/ui/coreconfig.py
2016-05-24 21:10:52 +02:00
bendikro
67cefb1211
[Core] Add finished_time to torrent status
2016-05-24 21:10:52 +02:00
bendikro
14b576e411
[Core] Fix core.remove_torrents return value on error
2016-05-24 21:10:52 +02:00
Calum Lind
43edea01b7
[Console] Queue prefs updated
2016-05-23 15:31:23 +01:00
Calum Lind
262c8d71d5
[WebUI] Queue prefs updated
2016-05-23 15:19:58 +01:00
Calum Lind
80ee713893
[ #2520 ] [GTKUI] Queue preferences page reworked
2016-05-23 15:19:20 +01:00
Calum Lind
3837a2c5d6
[WebUI] Constrain dialogs to browser window
2016-05-23 15:18:34 +01:00
Calum Lind
dc56e4557b
[WebUI] Create more space by removing headers from Prefs dialogs
2016-05-23 15:05:51 +01:00
Calum Lind
717ceee0ea
[Tests] Update comments in tox.ini
2016-05-22 12:43:07 +01:00
bendikro
5713ff09f4
[Docs] Autogenerate module docs with apidoc
...
* Add sphinx-apidoc to setup.py build_docs
2016-05-22 12:11:41 +01:00
bendikro
b6b1d40516
[Tox] [Travis] Fixes to test config
2016-05-22 12:11:41 +01:00
bendikro
152eaa10dd
[Console] Fix bug when parsing UI commands
...
Command line arguments like "-L info" were incorrectly
identified as console subcommands which caused parsing
to fail.
2016-05-22 02:57:40 +02:00
bendikro
d689ad72e8
[UI] [ #1973 ] Improve passing extra args to UIs
...
Current solution for passing arguments to UI when invoking deluge
entry script is to select an UI with the --ui option and supply quoted
arguments with the --args option.
This patch cleans this up by removing both options and change to using
subparsers for valid UIs. All command line options are now parsed
directly by the child UI which is chosen by a positional argument,
i.e. the UI name.
The help text now also shows the current default UI.
2016-05-21 15:05:01 +01:00
bendikro
d6fec88932
[UI] Move Gtk console entry point class to __init__
...
To avoid unnecessarily importing modules from gtkui.py, move Gtk
console entry point class to __init__.py. This reduces load time
when showing help (deluge -h) with many hundred miliseconds
Also cleanup unnecessary WebUI code.
2016-05-21 15:04:59 +01:00
bendikro
fd9e68e7e7
[Tests] Place logfiles from py.test run in _pytest_temp
2016-05-19 22:20:28 +01:00
Calum Lind
6971e08b0d
[ #2828 ] [Packaging] Fix ImportError with setuptools version > 18.8
2016-05-19 17:21:19 +01:00
Calum Lind
cea50f319d
[WebUI] Print error if minify script encounters error with closure
2016-05-19 15:47:15 +01:00
bendikro
6ce9f77e17
[WebUI] Handle missing script files and fallback to available files
...
* To help user's encountering a blank web page, log warnings if script
files for a selected mode are missing and attempt to fallback to a working mode.
* There is no logging for dev version detection to prevent spamming output.
* Add slimit dependency to tox
2016-05-19 15:24:37 +01:00
Calum Lind
0f43b564c9
[WebUI] Add WebUI build class to setup.py for minifing javascript
2016-05-19 15:22:45 +01:00
Calum Lind
6bf906a849
[Lint] Use a shorter line length for isort
2016-05-18 10:55:01 +01:00
Calum Lind
983ee7b973
[Tests] Raise minimum isort version to 4.2.5
...
The use of 'isort:imports-firstparty' in gtkui.py requires version >=4.2.5
2016-05-18 10:03:06 +01:00
Calum Lind
bd7d10b81e
[Lint] [WebUI] Fix issues raised by closure
2016-05-18 09:53:09 +01:00
Calum Lind
876e70d85f
[WebUI] Remove margins from main window elements
2016-05-16 13:44:00 +01:00
Calum Lind
590f077963
[WebUI] Tidyup Add dialog margins
2016-05-16 13:27:00 +01:00
Calum Lind
2aa1ab2f2b
[WebUI] Revert broken refactor of theme css
...
By combining the background-* css styles into background it overrides background
settings in ext-all-notheme.css resulting in incorrect placement of grid header gif.
2016-05-16 12:37:08 +01:00
Calum Lind
2e08599f82
[WebUI] Disable disabling WebUi plugin in WebUI
2016-05-16 12:37:08 +01:00
Calum Lind
b450739333
[WebUI] Remove border in Prefs for cleaner look
2016-05-16 12:37:08 +01:00
Calum Lind
e330ff0299
[WebUI] Tidyup prefs plugins details
2016-05-16 12:37:08 +01:00
Calum Lind
6c233da2ff
[WebUI] Case-insensitive sort for plugins list
2016-05-16 12:37:08 +01:00
Calum Lind
fa309d0d18
[WebUI] Refactor json_api._get_host
2016-05-16 12:37:07 +01:00
Calum Lind
9f187ed027
[WebUI] Add missing deregister event handlers
2016-05-15 21:30:25 +01:00