Commit Graph

34 Commits

Author SHA1 Message Date
64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
107fad90f0 Allow to use SyncthingStatistics in QML 2019-02-27 20:38:37 +01:00
4a42a3f0c0 Fix and refactor directory error handling
* Rely not only on the FolderErrors event
* Request pull errors when opening the dialog
* Use "pullErrors" from FolderSummary
* Move code for directory error dialog into
  its own class

This should fix that sometimes obsolete errors
were still displayed or actually present errors
missing.
2018-11-03 21:30:17 +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
ece582db04 Fix visibility of "Show errors" button in plasmoid 2018-10-24 21:35:08 +02:00
73c44591d5 Consume disk events in SyncthingConnection
First step to:
* Show history of most recent file changes
* Notify about file changes
  (see https://github.com/Martchus/syncthingtray/issues/7)
2018-08-04 22:06:31 +02:00
3549a4cdef Compute overall statistics 2018-07-30 23:00:22 +02:00
77e75f543c Add some more directory properties 2018-07-22 22:09:18 +02:00
ad3c8b5240 Don't meld 'unshared' into the status
Just deal with it like with the paused flag. This will
hopefully solve the issue that dirs are wrongly shown as
unshared till the next status update.
2018-07-22 22:09:18 +02:00
2fcc94f567 Handle new folder types
See https://github.com/syncthing/syncthing/pull/4942
2018-05-12 23:08:57 +02:00
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
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
b9c87a9bba Show remote progress in cli 2018-01-25 00:03:31 +01:00
447928a018 Request device/directory completion 2018-01-24 21:46:18 +01:00
e6b97e1ecc Clean code for dealing with folder (scan) completion 2017-11-22 00:29:50 +01:00
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
85ac283455 Consider event time when reading FolderSummary 2017-08-23 23:57:47 +02:00
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
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
b2780568b4 Allow deletion of non-empty dirs
It is a common error that dirs can not be removed
because they still contain ignored items. Usually
I want to get rid of them nevertheless. This change
allows to remove all non-empty Syncthing can not
remove via the tray.
2017-08-01 00:28:51 +02:00
c4ccda93c9 Show global directory errors messages
Previously, only error messages for failed
items have been shown.
2017-07-14 20:14:15 +02:00
5d05e9a5df Fix compatibility with Qt < 5.8 2017-06-09 12:16:25 +02:00
b2af9fc12d Export meta data for Data namespace 2017-05-11 00:02:20 +02:00
732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
16d62bb0c6 Provide default c'tor for registered meta-types 2017-04-23 14:15:03 +02:00
01610f5027 Register some enums/structs as Qt meta-type
Reuired when creating a Plasmoid because these
types might be accessed from QML then
2017-04-23 14:02:15 +02:00
1168e31f55 cli: Add shortcut for current working directory
syncthingctl pwd status/rescan/resume/pause
2017-03-29 23:17:53 +02:00
fc13a8f146 Read paused state of directories 2017-02-20 21:00:18 +01:00
eab769b654 Move status strings to connector backend 2017-02-20 18:42:27 +01:00
992617ccc3 Show relevant dirs when sync complete 2016-11-08 19:44:45 +01:00
9e8a92c0ff Process 'ConfigSaved' events 2016-11-01 17:06:31 +01:00
ad5e724f44 Add SyncthingDirStatus::Unshared 2016-11-01 16:59:58 +01:00
9b92b72bfd Improve handling folder errors 2016-10-05 22:33:10 +02:00
dd8e443c15 Move SyncthingDev and SyncthingDir to extra files 2016-10-04 23:55:20 +02:00