Commit Graph

87 Commits

Author SHA1 Message Date
Martchus 0ef3b80447 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:29:49 +02:00
Martchus 6c12f18eaf Update translations 2021-03-06 16:26:23 +01:00
Martchus f5b6c506c7 Don't allow to rescan paused directories from Dolphin integration 2021-02-12 21:06:23 +01:00
Martchus a9f570fbc9 Fix clazy warning about detatching Qt container within syncthingfileitemaction.cpp 2021-02-12 20:25:57 +01:00
Martchus 975e86c895 Allow backend libraries to be used from other projects
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.

This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.

With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
Martchus 4c4fc676e6 Update translations 2021-01-01 21:22:15 +01:00
Martchus c827907ea6 Update SyncthingDirStatus enum to new states from syncthing/lib/model/folderstate.go 2020-12-31 02:13:32 +01:00
Martchus 7cf98e97a7 Don't use deprecated `QByteArray::append(const QString &s)` 2020-10-07 21:26:09 +02:00
Martchus 5b2147a874 Apply scaling in renderSvgImage() similar to QIcon::pixmap() does 2020-07-12 02:38:57 +02:00
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