Commit Graph

25 Commits

Author SHA1 Message Date
Martchus f75966aadc Fix warnings 2021-03-20 22:39:40 +01:00
Martchus 133dbacb5d Use consistent order for visibility attribute 2020-01-29 18:51:10 +01:00
Martchus 64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
Martchus d88df866d2 Adapt to c++utilities v5 2019-05-04 21:05:21 +02:00
Martchus 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
Martchus c031440c05 Use isLocal() in SyncthingConfig::syncthingUrl() 2018-10-10 22:47:03 +02:00
Martchus de9259e545 Show whether filesystem watcher active 2018-09-15 18:25:02 +02:00
Martchus 0acfdd7002 Use "rescan disabled" instead of "0 s" 2018-07-05 17:40:36 +02:00
Martchus 7166f6532a Display overall status info in CLI 2018-07-05 17:39:35 +02:00
Martchus cfa27390f6 Apply clang-format 2018-05-08 00:38:49 +02:00
Martchus ab57b34b69 Fix usage of enable_if with GCC 8
Seems like the trick with the three dots isn't working
with GCC 8 anymore. So let's make it a default template
parameter then.

Not sure whether GCC 8 is here correct and whether this
workaround causes further trouble.
2018-05-07 23:28:11 +02:00
Martchus 6828e96b53 Improve sync complete notifications
* Also consider remote updates
* Still massive notifications when uploading
  about local folder completed
2018-03-29 00:38:21 +02:00
Martchus 79fe97d952 Refactor notifications
* Use SyncthingNotifier class
* Show 'Sync complete' on FolderCompletion event
* Add extra structure for stats
2018-01-27 23:27:50 +01:00
Martchus b9c87a9bba Show remote progress in cli 2018-01-25 00:03:31 +01:00
Martchus 404f517b4c Refactor composing "sync complete string"
to prevent code duplication between regular tray
icon and plasmoid.
2017-12-30 00:57:35 +01:00
Martchus 69ffaeb1f3 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:48:15 +02:00
Martchus 80c2a4212e Show global/local dir status in Dolphin action 2017-08-30 00:36:49 +02:00
Martchus 2c1768c219 Move helper for setting traffic labels to connector
* Reduce code duplication for in and out
* Allow using the helper from Plasmoid
2017-08-30 00:01:34 +02:00
Martchus af8327ece0 Show global and local dir status 2017-08-24 01:52:07 +02:00
Martchus ca256b62e8 Refactor SyncthingConnection
* Reduce if-cascades
* Add extra method for handling fatal errors
* Read directory summary in extra method
* Allow requesting summary for directory explicitely
2017-08-23 00:22:02 +02:00
Martchus 04c9caf7d4 connector: Update raw config after pausing/resuming
It seems like (cached) raw config is not automatically updated
via newConfig() after pausing/resuming a dir/dev. So this is
now done manually.

Additionally, pausing/resuming devs is now also implemented by
posting new config.
2017-07-02 21:47:23 +02:00
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus 16c88daf28 Allow pausing/resuming dirs in backend 2017-02-23 15:57:11 +01:00
Martchus 78450a2b7e Allow controlling Syncthing systemd service 2016-12-26 19:05:47 +01:00
Martchus 6470038fc7 Refactor to allow sharing backend with other apps
Intended for creating command line tool and plasmoid
2016-09-30 23:58:45 +02:00