Commit Graph

143 Commits

Author SHA1 Message Date
Martchus 914aac6e39 Make bash completion faster by requesting only config 2018-02-19 03:22:47 +01:00
Martchus 6be44cc93f Allow restart via plasmoid 2018-02-19 01:38:41 +01:00
Martchus e6ac3d8599 Update status when config updated 2018-02-18 18:13:06 +01:00
Martchus d20a4aea19 Avoid nesting in SyncthingConnection::continueConnecting() 2018-02-18 18:12:22 +01:00
Martchus c4d63e0e7c Ignore old FolderCompletion events 2018-01-28 18:07:39 +01:00
Martchus 38ac3504b2 Update German translation 2018-01-27 23:38:26 +01: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 447928a018 Request device/directory completion 2018-01-24 21:46:18 +01:00
Martchus 53dafd1627 Complete German translation 2017-12-30 01:04:02 +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 841b250680 Add SyncthingNotifier class
First step of refactoring compution of high-level
notifications to prevent code duplication for compution
of "disconnected" and "sync complete" events.
2017-12-30 00:28:03 +01:00
Martchus e6b97e1ecc Clean code for dealing with folder (scan) completion 2017-11-22 00:29:50 +01:00
Martchus 4f58e054d5 Improve test mode (mocked SyncthingConnection)
* Add further events allowing to reproduce download
  model issues visible in Plasmoid
* Use TestApplication to find testfiles
2017-11-12 17:03:30 +01:00
Martchus bc239b9292 Update translations 2017-11-01 18:30:32 +01:00
Martchus 40465a8abb connector: Add method to find dir by path 2017-10-16 19:41:56 +02:00
Martchus 5e3b195b44 Update translations 2017-10-05 00:34:00 +02:00
Martchus ea96c64563 Update number of connected devices correctly
Computing the number of connected devices on overall
connection status changed event is not sufficient.
2017-10-05 00:08:46 +02:00
Martchus b692c29e50 Fix possible segfaults in set...Paused() functions
Check whether iterator is valid befor dereferencing
2017-10-01 21:19:41 +02:00
Martchus 044f20343c cli: Use error phrases from c++utilities 2017-09-26 15:43:34 +02:00
Martchus 2ee7b9af64 plasmoid: Improve settings
* Configure appearance options via Plasmoid specific
  settings
* Allow to configure the size
* Remember last connection config
2017-09-18 20:29:36 +02: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 eb70f5a3f4 Fix warnings about unused variables 2017-09-17 20:32:29 +02:00
Martchus 8d35251234 Update translations 2017-09-09 21:40:19 +02:00
Martchus 144feb426c Prevent rescanning all dirs if no dir ID specified 2017-09-09 21:31:05 +02:00
Martchus 012ca9a0b3 Update translations 2017-09-08 17:01:52 +02:00
Martchus 582c800b7c Add directory errors to mock config 2017-09-08 17:01:51 +02:00
Martchus 1e0f746770 systemd integration: Make all relevant properties notifyable 2017-09-08 17:01:51 +02:00
Martchus 9a9ee2c10e Don't export Syncthing{Dir,Dev}Status to QML
Qt doesn't handle enum class correctly so those enums
would conflict with SyncthingStatus
2017-09-08 17:01:51 +02:00
Martchus 6585117186 Add SyncthingConnection::isLocal() 2017-09-08 17:01:51 +02:00
Martchus 408f77f844 Allow moving connection configurations up and down 2017-09-07 16:42:24 +02:00
Martchus fe0688cb27 Only add helpers for mocked SyncthingConnection if required 2017-09-05 00:35:54 +02:00
Martchus c690af9679 Update translations 2017-09-05 00:29:15 +02:00
Martchus 62b94b8460 Show offset of JSON parsing error 2017-09-05 00:23:17 +02:00
Martchus 2747ce76ff Allow compiling connector with mocked SyncthingConnection 2017-09-05 00:22:52 +02:00
Martchus 80c2a4212e Show global/local dir status in Dolphin action 2017-08-30 00:36:49 +02:00
Martchus 8dce7de433 Update translations 2017-08-30 00:14:59 +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 6b01e42fe4 Fix parsing time from folder summary 2017-08-30 00:01:34 +02:00
Martchus 6c6d7f00d5 Emit status update on each dir status change 2017-08-24 01:52:07 +02:00
Martchus af8327ece0 Show global and local dir status 2017-08-24 01:52:07 +02:00
Martchus 85ac283455 Consider event time when reading FolderSummary 2017-08-23 23:57:47 +02:00
Martchus 4136e23148 Get current dir status when connecting 2017-08-23 23:56:31 +02:00
Martchus ab2efb7012 Distinguish between requestDirStatistics and requestDirStatus 2017-08-23 23:55:19 +02:00
Martchus 91f7dc38d3 Fix HTTP method for "db/status" 2017-08-23 23:54: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 be6d0cbf5d Don't show own dev in shared devs of dir 2017-08-22 20:44:49 +02:00
Martchus 9b45c49b97 Show names for the devs a dir is shared with
(previously only the IDs were shown)
2017-08-22 19:45:07 +02:00
Martchus 3ff4f69180 Remove leftover from testing 2017-08-21 21:46:50 +02:00
Martchus ed1b13d43e Fix rescanning part of connection tests 2017-08-21 01:01:20 +02:00