Commit Graph

180 Commits

Author SHA1 Message Date
Martchus 700b0d24e0 Don't show stats for pause dirs in GUI 2019-02-16 00:55:27 +01:00
Martchus 326f03b604 Apply cmake-format 2019-02-06 17:36:14 +01:00
Martchus 028a456c4e Update translations 2018-12-29 20:40:40 +01:00
Martchus ea2e26aace Don't use newDirs/newDevs for endResetModel()
* These events might not be emitted in all error cases.
  So it would be wrong to rely on that.
* Reduces redundant code.
2018-12-25 02:33:57 +01:00
Martchus ba4012fb36 Update translations 2018-11-13 18:01:11 +01:00
Martchus 1d75ee2656 Improve initialization of roleNames() 2018-11-03 21:47:30 +01:00
Martchus d803f83d0f Update translations 2018-11-03 21:41:44 +01:00
Martchus 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
Martchus 92b7943ac4 Remove SyncthingStatus::BeingDestroyed from SyncthingStatusSelectionModel
since it is a purely internal state
2018-10-12 00:09:52 +02:00
Martchus 533a5d0939 Use override 2018-10-10 21:26:46 +02:00
Martchus 87a10c5b33 Allow hiding Plasma applet in certain states
See https://github.com/Martchus/syncthingtray/issues/23
2018-10-10 17:48:48 +02:00
Martchus de9259e545 Show whether filesystem watcher active 2018-09-15 18:25:02 +02:00
Martchus af120f1ae1 Update translations 2018-08-05 15:21:12 +02:00
Martchus ccbd6f3386 Show more details in device model 2018-08-04 20:34:24 +02:00
Martchus 45ef2518e8 Apply clang-format 2018-08-04 15:47:43 +02:00
Martchus 7598fef709 Update translations 2018-07-22 22:17:48 +02:00
Martchus 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
Martchus d2f8162ba4 Ensure all roles are updated in dir and dev model 2018-07-22 21:08:28 +02:00
Martchus 5932c98b1d Use immediately invoked lambda to implement roleNames()
Because I can
2018-07-22 20:17:45 +02:00
Martchus 0acfdd7002 Use "rescan disabled" instead of "0 s" 2018-07-05 17:40:36 +02:00
Martchus d89debd4b5 Translate type 2018-05-14 16:15:44 +02:00
Martchus b1b9f87320 Update translations 2018-05-12 23:14:04 +02:00
Martchus 2fcc94f567 Handle new folder types
See https://github.com/syncthing/syncthing/pull/4942
2018-05-12 23:08:57 +02:00
Martchus c43412595c Fix name of syncthing-new.svg 2018-05-02 00:01:46 +02:00
Martchus aa9f88df94 Add Syncthing '+' icon 2018-05-01 22:25:05 +02:00
Martchus 71bcdd0c45 Add notification images (DBus-only) 2018-03-18 03:09:07 +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 4a5796f6bb Improve icons 2017-12-30 00:58:04 +01:00
Martchus bd495f5f03 Update translations 2017-11-22 00:31:05 +01:00
Martchus e6b97e1ecc Clean code for dealing with folder (scan) completion 2017-11-22 00:29:50 +01:00
Martchus eb527fd89a Fix downloads model
See https://github.com/Martchus/syncthingtray/issues/8
2017-11-12 18:55:57 +01:00
Martchus 34924e011e dir model: Fix emitting dataChanged() for DirectoryStatus 2017-10-16 19:41:19 +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 789f024677 models: Use namespace std for std::size_t 2017-09-17 21:48:51 +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 030cb35dbd Emit correct roles when colors changed 2017-09-11 23:44:19 +02:00
Martchus 012ca9a0b3 Update translations 2017-09-08 17:01:52 +02:00
Martchus d103ceaae1 Expose path to Qt Quick in SyncthingDownloadModel 2017-09-08 17:01:51 +02:00
Martchus c690af9679 Update translations 2017-09-05 00:29:15 +02:00
Martchus b0c65cb032 Improve downloads model 2017-09-05 00:25:55 +02:00
Martchus 2747ce76ff Allow compiling connector with mocked SyncthingConnection 2017-09-05 00:22:52 +02:00
Martchus b90080ec0c models: Retain default status colors 2017-09-01 17:13:01 +02:00
Martchus ee8657cd1d Fix showing errors 2017-08-31 19:49:23 +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 c8b93fc472 Make models ready for use with Qt Quick
by adding roleNames()
2017-08-30 00:04:35 +02:00
Martchus 9fa45c6dc9 Initialize bright colors correctly 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 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 fc307f0911 Update translations 2017-07-14 20:21:37 +02:00
Martchus c4ccda93c9 Show global directory errors messages
Previously, only error messages for failed
items have been shown.
2017-07-14 20:14:15 +02:00
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus 49ff5a7b65 Move widgets from tray app to separate lib
So settings pages, web view and other widgets
can be used in other components such as the
Dolphin plugin and Plasmoid, too.
2017-04-23 18:31:18 +02:00
Martchus 8818564457 model lib: Require widgets for public interface
Due to SyncthingDownloadModel having QFileIconProvider as
private member
2017-04-23 14:02:15 +02:00
Martchus 0d5f686185 Fix tooltip showing errors 2017-03-22 16:25:28 +01:00
Martchus 02c4c778e5 Update translations 2017-02-23 23:20:45 +01:00
Marius Kittler bdb05ae865 Make dir status accassible via model 2017-02-23 15:57:16 +01:00
Martchus fc13a8f146 Read paused state of directories 2017-02-20 21:00:18 +01:00
Martchus 6ec35fa203 Update translations 2017-02-20 18:42:27 +01:00
Martchus 8c6b0fd3d4 Move icon rendering to model backend 2017-02-20 18:42:27 +01:00
Martchus 02e44e372f Move icons used in models to model library 2017-02-20 18:41:45 +01:00
Martchus f5788b688d Add German translation 2017-01-07 16:30:57 +01:00
Martchus 53e2561373 Don't use red for last updated file unless deleted 2016-12-22 23:44:47 +01:00
Martchus 7093f735ed Update translations 2016-11-26 12:49:48 +01:00
Martchus 1ec1a5ffad Use dark green 2016-11-18 18:05:56 +01:00
Martchus 18a3a3f0ea Declare public dependencies 2016-11-08 20:00:20 +01:00
Martchus b40fc773c2 Move colors to separate header 2016-11-08 19:42:50 +01:00
Martchus b5174735ad Add option for bright custom text colors 2016-11-02 21:05:32 +01:00
Martchus ad5e724f44 Add SyncthingDirStatus::Unshared 2016-11-01 16:59:58 +01:00
Martchus 98dcfdd609 Specify Breeze being used for fallback icons 2016-11-01 14:07:36 +01:00
Martchus 39f6424b3a Update translations 2016-10-07 00:03:56 +02:00
Martchus 73afa5b5fd Add tooltip for errors 2016-10-05 23:17:18 +02:00
Martchus 73bb321123 Add translations for backend libs 2016-10-05 23:01:53 +02:00
Martchus 9b92b72bfd Improve handling folder errors 2016-10-05 22:33:10 +02:00
Martchus dd8e443c15 Move SyncthingDev and SyncthingDir to extra files 2016-10-04 23:55:20 +02:00
Martchus 9fa2a028e8 Show out of sync directory state 2016-10-04 23:42:17 +02:00
Martchus a979b5327c Fix issues in build scripts 2016-10-03 00:41:38 +02:00
Martchus 1f21c2dc52 Add syncthingctl, see README.md 2016-10-02 21:59:28 +02: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