Commit Graph

128 Commits

Author SHA1 Message Date
Martchus 5a93e5e8dd Update translations 2020-02-18 20:50:53 +01:00
Martchus cd805e83ba Allow using bright custom color in Dolphin menu
to make it look better when using a dark theme
2020-02-18 20:47:55 +01:00
Martchus c103174609 Make desktop files for Plasma integration from template
* Avoid redundant meta-data
* Take target suffix into account
2020-02-14 23:14:50 +01:00
Martchus 4b5a8efa3e Apply cmake-format v0.6.0 2019-11-30 18:24:19 +01:00
Martchus 38987707bd Update translations 2019-10-09 23:23:02 +02:00
Martchus 31e7e4e79e Support "Waiting to scan"
This state has been introduced
with https://github.com/syncthing/syncthing/pull/4888
2019-09-27 16:41:24 +02:00
Martchus 6243a4c2fd Prepare for "Prepare to Sync"
See https://github.com/syncthing/syncthing/pull/6028
2019-09-27 16:32:54 +02:00
Martchus fa328f440e Use Font Awesome also in Dolphin plugin 2019-09-15 01:06:17 +02:00
Martchus cf5faeca51 Apply cmake-format 2019-09-08 18:12:05 +02:00
p-bo 5bd2056190
Added Czech localization 2019-08-20 22:16:06 +02:00
p-bo 7127322aff
Added Czech localization
Create syncthingfileitemaction_cs_CZ.txt
2019-08-20 21:25:54 +02:00
Martchus 353f1e2463 Allow to distinguish icon colors within UI and system tray
This is useful because sometimes the background color of the system
tray is dark but the overall system UI still uses a light theme.

For the Plasmoid this should never be the case, though. Hence the
extra settings are not available there.
2019-07-31 20:16:43 +02:00
Martchus 6ac633366e Don't use functions obsoleted in Qt 5.13.0 2019-06-25 14:37:14 +02:00
Martchus 56e1e98493 Apply cmake-format 2019-06-16 16:58:52 +02:00
Martchus 65eb59fe26 Add missing German translations 2019-06-16 16:58:37 +02:00
Martchus dc7d9b815f Adapt to changes in c++utilities 2019-06-14 19:15:26 +02:00
Martchus 64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
Martchus 0e7cc8ba9b Apply changed status colors without restart 2019-05-19 23:11:50 +02:00
Martchus 72b72b26ae Don't abuse scanning icon to get default logo 2019-05-19 18:04:28 +02:00
Martchus 8dacbaa8d7 Adapt to new c++utilities API 2019-05-05 18:42:19 +02:00
Martchus 0049d96bca Adapt to c++utilities API changes 2019-05-04 22:18:31 +02:00
Martchus a30853cfeb Apply cmake-format and clang-format 2019-05-04 22:10:37 +02:00
Martchus d88df866d2 Adapt to c++utilities v5 2019-05-04 21:05:21 +02: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 d48c7be6fa Set the parents of the QActions for Dolphin integration correctly
The parent must be the plugin itself. Otherwise the QActions are
not destroyed when the menu vanishes.
2018-12-26 01:18:28 +01:00
Martchus 951235d082 Improve logging in Dolphin integration 2018-12-26 01:16:38 +01:00
Martchus daa2d42ef2 Delete menu later to prevent segfault 2018-12-26 01:15:28 +01:00
Martchus d3c6eda0a6 Store API key for Dolphin integration persistently
Only storing the key for the last selected config should
be sufficient.
2018-12-24 17:35:54 +01:00
Martchus 1d5b90a693 Allow always to change config 2018-12-24 17:19:11 +01:00
Martchus 10747bfdf9 Handle config issues in Dolphin integration
* Check whether URL is present
* Allow user to enter API key manually
2018-12-24 17:17:09 +01:00
Martchus db35ce14be Update translations 2018-12-22 17:11:38 +01:00
Martchus 52f6e51e1a Fix wrong "Rescan ..." in file item action 2018-12-22 16:27:08 +01:00
Martchus b599da308e Update translations for Dolphin menu 2018-11-30 17:51:15 +01:00
Martchus a21d273ae1 Prevent all '&' in Dolphin menu 2018-11-30 17:47:12 +01:00
Martchus 388b3ef6b1 Quote dir name in Dolphin menu 2018-11-30 17:46:48 +01:00
Martchus 85b569a3c9 Add a description for each fileitemactionplugin class 2018-11-28 21:23:09 +01:00
Martchus f901386478 Split fileitemactionplugin code into multiple files 2018-11-28 21:23:09 +01:00
Martchus 882a2a5d35 Make Dolphin integration configurable
* Allow to select Syncthing config file manually
* Show error if config file can not be located
2018-11-28 21:22:57 +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 6bd2323a16 Log status in SyncthingFileItemAction only if KIO_SYNCTHING_LOG_STATUS set 2018-10-20 23:55:05 +02:00
Martchus 9d7c3876f6 Avoid unnecessary nesting in SyncthingFileItemAction 2018-10-20 23:52:34 +02:00
Martchus 533a5d0939 Use override 2018-10-10 21:26:46 +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 b9b557462b Update translations 2018-05-08 19:20:17 +02:00
Martchus 9ce8c593a2 Require qtutilities 5.10.0 for AboutDialog overload 2018-05-08 19:20:05 +02:00
Martchus a531fc7ad4 Show dependency versions in about dialog of Dolphin menu 2018-05-08 19:19:27 +02:00
Martchus 8532fbcb57 Specify min. Qt 5 version for fileitemaction and plasmomid 2018-04-01 23:02:14 +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 8d35251234 Update translations 2017-09-09 21:40:19 +02:00
Martchus 14f42fbc51 Fix setting window attribute of about dialog 2017-09-08 17:01:51 +02:00
Martchus c690af9679 Update translations 2017-09-05 00:29:15 +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 eafc65ec2b Remove obsolete translations 2017-08-01 10:45:50 +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 4fa0ff30db Fix typo 2017-04-19 22:09:50 +02:00
Martchus c11d527a54 Disable hover effect on "display-only" actions in KIO plugin 2017-04-08 14:27:15 +02:00
Martchus 77daa58f4e Document debugging Dolphin/KIO plugin 2017-04-08 14:25:35 +02:00
Martchus 1168e31f55 cli: Add shortcut for current working directory
syncthingctl pwd status/rescan/resume/pause
2017-03-29 23:17:53 +02:00
Martchus 16cd445108 Show error message in KIO plugin 2017-03-29 22:17:11 +02:00
Martchus 58a0282032 Update translations 2017-03-17 00:39:01 +01:00
Martchus 39f8bc36cf Improve KIO plugin code 2017-03-17 00:36:12 +01:00
Martchus fd2429b477 Handle status updates in KIO plugin 2017-03-13 00:40:48 +01:00
Martchus 2635cde225 Handle case when not connected in KIO plugin 2017-03-11 19:57:49 +01:00
Martchus a0031d3806 Update README.md 2017-02-26 19:15:21 +01:00
Martchus 5f2bb86c2f Add translations for KIO plugin 2017-02-26 18:59:37 +01:00
Martchus 66bfab7397 Remove out-commented code 2017-02-25 19:04:37 +01:00
Martchus a388d4fc37 Install desktop file for KIO plugin 2017-02-25 18:55:42 +01:00
Martchus ee9fa0998e Fix use of wrong var in KIO plugin 2017-02-25 18:46:29 +01:00
Martchus 24b8225c9e Document KIO plugin 2017-02-25 18:28:35 +01:00
Martchus aca4f47829 Add pause/resume to KIO plugin 2017-02-25 18:28:20 +01:00
Marius Kittler 1f6555a718 Don't require Qt 5.8.0 2017-02-23 15:57:16 +01:00
Martchus fc13a8f146 Read paused state of directories 2017-02-20 21:00:18 +01:00
Martchus 57f7d140e0 Provide basic Dolphin integration 2017-02-20 18:44:56 +01:00