9817be858d
Update stateChanged in readDirSummary()
2018-11-02 22:10:18 +01:00
038cb130b7
Don't emit notifications for folder errors
2018-11-02 21:49:24 +01:00
25ae9266a8
Discard obsolete folder errors
...
* Discard folder errors older than the last "sync" state
* Unfortunately we don't know the the time of the last
sync from the beginning. To prevent showing obsolete
errors in this state, discard all errors if the status
changes to something other than "out-of-syn".
2018-11-02 21:47:27 +01:00
dd5cf12b1c
Improve inserting address from config file
...
* Assume local connection if address is eg. 0.0.0.0
* Use isLocal() from utils which considers the hostname
and interfaces as well
2018-11-02 20:57:25 +01:00
ec02a9e483
Show "Select directory ..." button in web view
2018-10-28 17:32:31 +01:00
e59a80c0f6
Fix showing native dir selection from web view
2018-10-28 17:04:10 +01:00
cdff9fd974
Allow forwarding JS console of web view to stderr
2018-10-28 17:03:23 +01:00
e43a6c1c98
Adapt Qt WebKit specific code to latest adjustments
2018-10-28 16:29:11 +01:00
2ee1bc0c63
Discard previous item errors also on connect()
...
Because errors might be gone now and should be repopulated
if not.
2018-10-28 16:03:18 +01:00
25ace0eb17
Fix condition to set status to disconnected
2018-10-28 15:39:15 +01:00
32b2907e67
Split syncthingconnection.cpp
...
* Move methods for specific requests to its own file
2018-10-28 15:37:25 +01:00
2862b6fd87
Re-enable all connection tests
2018-10-28 14:38:34 +01:00
900377b036
Stop web view immediately if in background and user disables this
2018-10-28 14:27:25 +01:00
047050ac8f
Re-enable all CLI tests
...
the issue should be fixed now
2018-10-26 14:08:47 +02:00
4c4a1ebd47
Don't unset m_has... on disconnect
2018-10-25 18:25:59 +02:00
bb6825aa4c
Use timeout of 0 on first event call
2018-10-25 18:24:31 +02:00
049234286c
Improve startup of CLI tests
2018-10-25 18:23:37 +02:00
b9a65ef113
Remove redundant poll interval defaults
2018-10-25 18:23:37 +02:00
fbad874471
Revert "cli: Ignore that version might be missing"
...
This reverts commit 7ba6afba74
.
2018-10-25 01:00:01 +02:00
a024e36ffd
Rework reply/connection handling in SyncthingConnection
...
* Improve consistency
* Ensure all relevant requests are have finished before
setting status to connected
2018-10-25 00:59:13 +02:00
ece582db04
Fix visibility of "Show errors" button in plasmoid
2018-10-24 21:35:08 +02:00
521bc3f478
Update version to 0.8.3
2018-10-24 21:34:33 +02:00
f380732068
Don't use std::function for handlers in testcode
...
Just use the lambdas directly and make if(handler) check
only if possible.
2018-10-21 21:07:43 +02:00
76f214adf1
Ignore test for config too
...
This test randomly fails as well
2018-10-21 00:11:30 +02:00
7ba6afba74
cli: Ignore that version might be missing
2018-10-21 00:05:01 +02:00
6bd2323a16
Log status in SyncthingFileItemAction only if KIO_SYNCTHING_LOG_STATUS set
2018-10-20 23:55:05 +02:00
9d7c3876f6
Avoid unnecessary nesting in SyncthingFileItemAction
2018-10-20 23:52:34 +02:00
703225b410
Fix/improve CLI tests
...
* Adapt to interleaved output previously enabled in SyncthingTestInstance
* Make it work when verbose output for debugging is enabled
* Show which status line didn't match in case of an failure
* Disable flaky rescan tests in release mode
2018-10-20 23:48:24 +02:00
1c6bd37b9d
cli: Take --no-color into account when displaying status
2018-10-20 23:42:18 +02:00
a2dd7a7e7e
Use timeout factor also when waiting for GUI startup
2018-10-20 22:26:53 +02:00
0e836e939b
Add Openbox/lxqt/LXDE to tested environments
2018-10-20 22:12:54 +02:00
97dab2a959
Disable flaky tests for release
2018-10-20 22:12:26 +02:00
2e67e6b2de
Use signals for logAvailable() and qrCodeAvailable()
2018-10-20 22:08:25 +02:00
c7bccf023a
Fix tests, make them more stable and verbose
...
Tests still sometimes fail when
* requesting QR code
* requesting rescan
2018-10-18 23:37:29 +02:00
8a77cdf516
Pass callbacks for requestLog() and requestQrCode() by ref
2018-10-18 23:34:59 +02:00
407514289a
Fix typo infos -> info
2018-10-18 23:34:02 +02:00
545465b52a
testutils: Check first for failure
2018-10-18 23:25:24 +02:00
8dde95fc82
Don't override defines when configuring optional behavior
2018-10-18 23:23:47 +02:00
6b35829ad6
Update README.md
2018-10-15 17:46:38 +02:00
d138c6d9d1
Change address of dev in testconfig to something not reachable
...
in my local network - otherwise Syncthing panics for whatever
reason :-/
2018-10-14 23:31:19 +02:00
dfff485fc4
Update testconfig to version 28
...
Not sure whether it actually works. Right now Syncthing crashes
under Arch Linux for me using the previous config and the updated
version.
2018-10-14 22:50:54 +02:00
c249414411
Improve SyncthingTestInstance
...
* Show Syncthing's output interleaved with the test output
by default
* Show Syncthing start parameter
2018-10-14 22:48:52 +02:00
e410991012
Allow logging all API calls
2018-10-14 22:48:52 +02:00
0ee25c1ae2
Fix warnings about QJsonValue ref
2018-10-12 00:21:05 +02:00
00e0b58c86
Allow logging POSTs
2018-10-12 00:20:15 +02:00
92b7943ac4
Remove SyncthingStatus::BeingDestroyed from SyncthingStatusSelectionModel
...
since it is a purely internal state
2018-10-12 00:09:52 +02:00
db6c8af414
Debug Syncthing crashes during testruns
2018-10-12 00:09:02 +02:00
98a6b77013
Use right status in SyncthingApplet::handleConnectionStatusChanged()
2018-10-10 23:37:24 +02:00
c031440c05
Use isLocal() in SyncthingConfig::syncthingUrl()
2018-10-10 22:47:03 +02:00
99cb584249
Use non-standard port for tests
2018-10-10 22:45:49 +02:00