Commit Graph

380 Commits

Author SHA1 Message Date
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 712708822a Fix typo in German translation 2017-12-01 19:26:02 +01:00
Martchus af973f10b2 cli: Disable file completion for API-key and URL 2017-11-22 18:27:40 +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 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 c9a9291697 Prevent segfault when attempting to view source 2017-11-01 18:25:30 +01:00
Martchus 3a81ae4f61 Show native directory selection dlg in web UI 2017-11-01 18:04:54 +01:00
Martchus bf2c446d20 Prevent errors when removing multiple nested dirs 2017-10-21 14:11:01 +02:00
Martchus 43b2f9ff22 Allow to disable formatting 2017-10-17 19:47:12 +02:00
Martchus 2625f7b08b cli: Allow specifying directory (items) by path
However, relative paths can only be matched to Syncthing dirs
for the local instance.
2017-10-16 19:43:38 +02:00
Martchus 40465a8abb connector: Add method to find dir by path 2017-10-16 19:41:56 +02:00
Martchus 34924e011e dir model: Fix emitting dataChanged() for DirectoryStatus 2017-10-16 19:41:19 +02:00
Martchus ad9eddc776 plasmoid: Update status correctly after showing notifications 2017-10-16 19:40:44 +02:00
Martchus 9ec834917f Fix condition to allow removing last connection config 2017-10-08 16:34:02 +02:00
Martchus 13b5dbea18 Prevent including HelperMacros.h when using testhelper for CLI 2017-10-07 22:44:58 +02:00
Martchus 9782795551 Add missing icons 2017-10-07 22:24:19 +02:00
Martchus d54ba51a7b Set minor version to 7 2017-10-07 22:08:11 +02:00
Martchus d524ada4f1 Update documentation about adding translations 2017-10-06 17:12:55 +02:00
Martchus e3c6a5476a Add note about using backend libraries 2017-10-06 17:09:29 +02:00
Martchus 5e3b195b44 Update translations 2017-10-05 00:34:00 +02:00
Martchus a42597b987 Update build instructions 2017-10-05 00:31:51 +02:00
Martchus c3f7cfa88e Enable Plasmoid by default (with exceptions, like for kio) 2017-10-05 00:31:30 +02:00
Martchus 4d242f56c6 plasmoid: Improve displaying detail items 2017-10-05 00:10:18 +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 265e41004f plasmoid: Improve shortcut handling 2017-10-04 00:31:51 +02:00
Martchus c6d21ea3a1 plasmoid: Show start/stop button when systemd available 2017-10-03 23:31:22 +02:00
Martchus feed447cca Update README.md 2017-10-03 17:03:03 +02:00
Martchus eb298d4e4f plasmoid: Improve note about instance specific settings 2017-10-03 16:58:50 +02:00
Martchus 1de35382b7 plasmoid: Open containing directory of downloading items 2017-10-03 16:58:16 +02:00
Martchus 57bc7011c3 Update README.md 2017-10-03 16:57:25 +02:00
Martchus 616bcdc497 plasmoid: Allow showing new notifications via button 2017-10-01 21:42:26 +02:00
Martchus eb3b74eec1 plasmoid: Attempt to ensure details view uses full width 2017-10-01 21:22:44 +02:00
Martchus ee812781bb plasmoid: Fix referencing openButton of DownloadsPage 2017-10-01 21:21:10 +02:00
Martchus 544f00d52e Fix warning about reassigning layout 2017-10-01 21:20:25 +02:00
Martchus 502f37dbf5 Fix warning about url decoding 2017-10-01 21:20:05 +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 177832f40b Update translations 2017-10-01 17:56:26 +02:00
Martchus 42369824f5 plasmoid: Add filter for directory list
Filtering is enabled just by starting to type
2017-10-01 17:54:11 +02:00
Martchus 20eae7fb2c plasmoid: Add context menu to copy value 2017-10-01 17:51:53 +02:00
Martchus 312ebd26d2 cli: Support timeout and min. idle time in wait-for-idle
So wait-for-idle is useful even when the status returned
by Syncthing is flaky.
2017-09-30 19:00:36 +02:00
Martchus a302bf8abf testhelper: Fix documentation 2017-09-30 18:51:50 +02:00
Martchus 3e9e933411 cli: Show directory and device names in shell completion 2017-09-30 18:51:29 +02:00
Martchus 30347f1845 Make testhelper usable for the CLI
TODO: Generalize wait... methods and move them to
qtutilities.
2017-09-30 18:46:27 +02:00
Martchus ce8c005478 Use at least operator<<(ostream,const Failure&)
if custom error handling is still required.
2017-09-29 17:19:35 +02:00
Martchus 06f5364335 Use ArgumentParser::parseArgsOrExit() 2017-09-29 17:18:21 +02:00
Martchus 60a322cb4e Get rid of no longer necessary hasBeenShown() checks 2017-09-27 00:21:53 +02:00