2c27cc27d0
Add signals for new devices and directories
2018-05-01 20:43:15 +02:00
473933528b
Remove specific host-name from expected status in syncthingctl tests
2018-05-01 01:35:13 +02:00
134ab0e34a
Improve syncthingctl test
2018-05-01 01:32:27 +02:00
72e1377c43
Add tests for syncthingctl
2018-05-01 01:16:20 +02:00
f6428e4ff7
Print dirs and devs sorted in syncthingctl status
2018-05-01 01:10:00 +02:00
819d37eeee
Test dealing with arbitrary config
2018-04-30 21:30:35 +02:00
082eaa29b6
Allow mocking SyncthingService
2018-04-20 23:00:56 +02:00
b0dc9c861d
Improve SyncthingProcess::splitArguments() parser
2018-04-18 23:46:17 +02:00
2d6ca44aa5
Document issues in LibSyncthing::{stop,restart}Syncthing()
2018-04-18 23:28:45 +02:00
0d635e5ad5
Refactor launcher
...
* Pass program and arguments directly
* Prevent failure on white space in executable path
* Use own parser for arguments
* Make libsyncthing accessible from launcher
2018-04-18 23:27:45 +02:00
a36bc4524b
Fix running and stopping libsyncthing multiple times
2018-04-18 00:40:07 +02:00
6d7c876553
Clean database before restarting in libsyncthing tests
2018-04-18 00:15:31 +02:00
fbbf533a37
Allow passing raw CLI arguments in libsyncthing interface
2018-04-17 23:54:43 +02:00
f7dc8c93bd
Ensure Syncthing doesn't try to upgrade during tests
2018-04-17 23:52:20 +02:00
28eacb61a4
Verify whether Syncthing started via libsyncthing is stopped correctly
...
This is currently not the case so the tests fail now.
Need to investigate how to stop Syncthing correctly.
2018-04-17 23:50:45 +02:00
c7418431f5
Use new libsyncthing interface in launcher
...
Not tested yet
2018-04-15 20:20:30 +02:00
6c1c95c4c5
Improve libsyncthing
...
* Add documentaton
* Add isSyncthingRunning()
2018-04-15 20:19:14 +02:00
aedf7fe1fd
Improve libsyncthing interface
...
* Allow to stop
* Provide callback for logging
* Add basic tests
2018-04-14 23:07:35 +02:00
2b1c993a64
Handle systemd service state change in Plasmoid
...
Previously only the initial service state was considered.
After refactoring the SyncthingService initialization the
state is not known when the Plasmoid is initialized so
this limitation became obvious and had to be fixed.
2018-04-12 23:16:51 +02:00
b7dbd2c72b
Fix build without libsyncthing
2018-04-12 16:14:09 +02:00
0ceb8d5e79
Add high-level abstraction for launching Syncthing
...
Add new SyncthingLauncher class which lauches Syncthing
under the hood via external SyncthingProcess or using
libsyncthing.
Note: Launching via libsyncthing is still experimental.
2018-04-11 23:16:00 +02:00
278ba521d9
Fix warning for SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS
2018-04-11 23:13:02 +02:00
e2d3bdfa0d
Ensure index for libsyncthinginternal.a is created
2018-04-10 23:00:05 +02:00
4e112547e1
Handle cross-compilation when building libsyncthing
2018-04-10 22:55:17 +02:00
d08aa005d7
Fix compilation without systemd support
2018-04-10 21:05:49 +02:00
fbdd1b2355
Include consistently with ./
2018-04-08 21:53:23 +02:00
6ab7662a64
Add experimental 'libsyncthing'
...
* This allows running C++ GUI code (as provided by this
repository) and Syncthing itself in the same process.
* It basically seems to work. I can now run a Syncthing
instance within the interactive C++ shell 'cling' :-)
* Syncthing and its assets are built within the usual
CMake build process but disabled by default because still
experimental. To enable the build, add '-DNO_LIBSYNCTHING=OFF'
to CMake arguments.
* The Syncthing checkout with customized exports lives
in the Git submodule under
'libsyncthing/go/src/github.com/syncthing/syncthing'.
2018-04-08 21:36:08 +02:00
37e24ccfb7
Use QStringLiteral in Application::editConfigViaScript()
2018-04-08 13:03:05 +02:00
68c9f27e2a
Add helper for changing config via JavaScript
2018-04-07 22:57:36 +02:00
5726bab292
Allow specifying script lines via CLI args
2018-04-07 22:28:21 +02:00
ec131f297f
Remove comments in example JavaScript
2018-04-07 22:09:44 +02:00
b61592fbbd
Allow editing Syncthing config via JavaScript
2018-04-07 22:01:54 +02:00
bf4b26c6f8
Perform at least some checks before sending config
2018-04-07 18:30:35 +02:00
b92bf4f27a
Add dry-run for syncthingctl edit
2018-04-07 18:30:14 +02:00
a805de8a21
Fix typo in German translation
2018-04-04 20:22:12 +02:00
c94b34595b
Improve properties of SyncthingConnection
2018-04-04 20:18:42 +02:00
6d155d3d63
Make considering launcher for reconnects configurable
...
Similar to the systemd configuration
2018-04-03 00:11:55 +02:00
0c104f60b8
Wait till all processes finished, ask for killing
...
See https://github.com/Martchus/syncthingtray/issues/15
2018-04-02 23:32:52 +02:00
f9305819a7
Update translations
2018-04-02 21:26:05 +02:00
ce7a4421fa
Consider isActiveFor() for process also when systemd unavailable
2018-04-02 20:52:50 +02:00
146d4870e4
Refactor preventing unwanted error messages
...
* See https://github.com/Martchus/syncthingtray/issues/15
* Not tested yet
2018-04-02 20:35:30 +02:00
b81c316d4a
Improve message formatting in SingleInstance
2018-04-02 20:23:54 +02:00
ad98bfbc22
Improve syncthingctl log
2018-04-02 12:48:27 +02:00
c04fb96634
Update README.md
2018-04-01 23:26:29 +02:00
8532fbcb57
Specify min. Qt 5 version for fileitemaction and plasmomid
2018-04-01 23:02:14 +02:00
c7ea5974e4
Allow editing config via syncthingctl
2018-04-01 23:01:37 +02:00
ac36e6955d
Improve coding style in syncthingctl
2018-04-01 22:34:15 +02:00
754cd0c2e1
Allow printing current config
2018-04-01 20:21:51 +02:00
e9e85e6ba9
Update translations
2018-03-31 22:36:31 +02:00
d2eb4addd9
Distinguish between local an remote sync in settings
2018-03-31 22:31:28 +02:00