bendikro
bcc1db12e5
[Tests] Improved common.start_core
...
* Replace Popen with reactor.spawnProcess and read process
output with twisted.internet.protocol.ProcessProtocol
* Implement support for running custom script code
* Now logs to stdout instead of stderr when not logging to file
2016-04-10 00:10:48 +02:00
bendikro
533951afea
[ #2724 ] [Web] Forward exceptions in JSON-RPC back to caller
...
Exceptions raised by calls performed by a JSON request would
not always be handled properly resulting in no reply to be sent
leading to browser timeouts.
Fix this by including the raised error in the JSON data of a
regular (successful) HTTP response.
2016-04-09 22:19:48 +02:00
bendikro
93023c5bfc
[Core] Fix bug and add error testing to AuthManager
2016-04-09 22:19:48 +02:00
bendikro
9319e07db5
[Webui] Show user in connection manager
2016-04-09 22:19:48 +02:00
bendikro
9b18fb2b71
[Tests] Fix failing SessionProxy tests
...
For some reason, the time.sleep calls in the tests in
test_sessionproxy did not sleep for the expected amount
of time causing the results to differ from the expected.
Fixed by replacing time.time function with twisted's
task.clock.seconds and advancing the clock manually.
Also minor changes to test_client.py
2016-04-09 22:19:44 +02:00
bendikro
cae8a18437
[Tests] Fixes to improve terminal output from unit tests
...
Add __str__ to WrappedException so that the stacktrace is printed when a
unit test raises a WrappedException.
Change the log output from error to warning in DelugeRPCProtocol.dispatch
when sending back a raised exception on an RPC request.
2016-04-08 16:35:09 +02:00
bendikro
374989a2ad
[Tests] Catch and print errors in setup/teardown
2016-04-08 16:35:09 +02:00
bendikro
fc6672adda
Fix #2789 : Test for google tracker icon redirect is failing
2016-04-07 22:11:25 +01:00
Calum Lind
0b17b52c9a
[Tests] Consistent tox config layout
2016-04-07 19:11:32 +01:00
bendikro
9d13234e23
[Tests] Fix for flake8 in tox
...
Force install flake8 in tox to avoid the system flake8 being used if
available.
Remove unneeded whitelist entries
2016-04-07 18:44:20 +01:00
Calum Lind
815f67467a
[Tests] Update ubuntu icon, skip google & openbt icon tests
2016-04-07 09:52:33 +01:00
bendikro
bebc414136
[Core] Ensure magnet name passed to lt in string
2016-04-04 02:02:28 +02:00
Andrew Resch
d91e5d894f
Add command-line option for the daemon to restrict some config keys to being read-only.
...
This only affects the core.set_config() RPC method which will drop items if the key
is listed as read-only.
2016-02-02 19:25:46 -08:00
bendikro
d13fca251e
[Core] Defer save state function to separate thread
...
With large amounts of torrents, saving the state file becomes
a performance bottleneck, mainly due to the required processing
in pickle.dump. When run in the main thread, the server will
hang and be unresponsive for a significant time.
Solve this issue by running the save state job in a separate thread.
2015-12-14 21:35:55 +00:00
Calum Lind
e632ca4418
[WebUI] Use the short-form copyright text
2015-12-14 13:39:41 +00:00
bendikro
a987c3ed39
[Core] Raise AttributeError on RPC call to invalid function
...
Also catch and log errors in rcpserver.sendData
2015-12-14 12:08:18 +00:00
Calum Lind
382a99ad61
[GTKUI] Cleanup code duplication in Tabs
2015-12-12 22:10:53 +00:00
Calum Lind
50bde1a607
[Core] Cleanup duplicate version callback code
2015-12-12 21:46:28 +00:00
Calum Lind
080d137af8
[Tests] Move test_torrent_error code into test_torrent
2015-12-12 14:29:07 +00:00
bendikro
02f6bfd578
[ #1260 ] Handle redirection better with httpdownloader
2015-12-11 22:48:36 +00:00
Calum Lind
77aa540dc3
fix isort
2015-12-11 22:34:19 +00:00
Calum Lind
1793e36127
[Core] Fix use of parent class parameter
2015-12-11 22:30:10 +00:00
Calum Lind
979ad972fe
[ #2767 ] [Packaging] Don't include .py files in OSX App
2015-12-11 18:51:08 +00:00
bendikro
ee7e632b94
[ #2783 ] [GTKUI] Case insensitive sort for name column
2015-12-11 18:01:54 +00:00
Calum Lind
075542e4a5
[OSX] Fix starting deluged from connection manager
2015-12-11 12:11:38 +00:00
Calum Lind
c1902e4396
[ #2782 ] [WebUI] Fix HTTPS negotiating incorrect cipher
2015-12-11 11:44:37 +00:00
Calum Lind
aaac697a98
[WebUI] Remove old code
2015-12-11 11:39:16 +00:00
bendikro
ac9e11d732
[Core] Ensure valid torrent state value after init
2015-12-09 22:24:23 +00:00
Calum Lind
f36ecc470b
[Core] Fix move_storage exception handling
2015-12-09 19:00:06 +00:00
Calum Lind
bd14657055
[GTKUI] Revert remove_column change from 550ddc010
2015-12-06 16:53:19 +00:00
bendikro
6892a00b86
[GTKUI] Implement show ownership option in GTKUI
2015-12-04 19:05:59 +00:00
bendikro
620a4eb409
[Base] Catch and log exceptions raised in component.update
2015-12-04 19:05:59 +00:00
bendikro
ad7a1ec89f
[Core] Add ClientDisconnectedEvent
2015-12-04 19:05:59 +00:00
bendikro
ca1eaa5e15
[Core] Add TorrentTrackerStatusEvent
2015-12-04 19:05:14 +00:00
Anton Oussik
431357f623
[Core] [WebUI] Increase RSA key size and improve hashing
...
* Replace weak hashing functions, key sizes, and random number
generation techniques with less weak versions to prevent
crashes when running with the fips module loaded.
2015-12-04 19:04:13 +00:00
Calum Lind
7eb037b3f4
[GTKUI] Fix import mistake
2015-12-04 17:12:28 +00:00
Calum Lind
c619f05f94
[Label] Fix gtk warnings when removing menu
2015-11-30 23:01:19 +00:00
Calum Lind
550ddc0109
[GTKUI] Fix treeview columns not saving
2015-11-30 22:49:42 +00:00
Calum Lind
eaae568c7c
[Core] Update tracker_host when setting new tracker status
2015-11-27 13:54:07 +00:00
Calum Lind
d932c3ab99
[GTKUI] Fix installing plugin from non-ascii path
2015-11-27 13:41:44 +00:00
Calum Lind
803a33efde
[GTKUI] Ensure drag-n-drop urlparsed path is unicode
2015-11-26 15:07:16 +00:00
Calum Lind
227863faf7
[ #2777 ] Update MSVC SP1 check to latest release CLID
2015-11-23 23:30:50 +00:00
Calum Lind
0e1582702a
[ #2485 ] [WebUI] Fix unconnected Options in context menu
2015-11-23 23:19:21 +00:00
Calum Lind
42b9f22a81
[GTKUI] Fix for flake8
2015-11-22 14:03:14 +00:00
bendikro
7e971550de
Set tox version==2.1.1 due to bug in latest tox
2015-11-22 13:58:37 +00:00
Calum Lind
6cf0ef080b
[GTKUI] Fix broken sequential_download in options tab
2015-11-22 13:54:47 +00:00
Calum Lind
c796acf791
[Core] Remove int casting as args should be int
2015-11-15 14:14:12 +00:00
Calum Lind
27bf05f2fe
[ #2738 ] [Core] Fix illegal argument with torrent_handle.set_max_connections
2015-11-15 14:00:52 +00:00
Calum Lind
c62c604418
[GTKUI] Fix unselect error with treeview selection returning None
...
In standalone mode treeview.get_selection returns None resulting
in an AttributeError for call to unselect_all.
2015-11-15 13:22:06 +00:00
Calum Lind
fc9bc2976f
[GTKUI] Fix open dialogs preventing gtk app closing
2015-11-15 12:47:07 +00:00