Commit Graph

128 Commits

Author SHA1 Message Date
Martchus 35d03551c4 Update translations 2024-04-06 19:47:16 +02:00
Martchus 93b5d66875 Allow browsing remote/global files 2024-04-05 01:30:00 +02:00
Martchus dff6bcab67 Apply change of `global.h` template 2024-02-22 19:43:14 +01:00
Martchus 29fad4918b Fix typos via codespell 2024-02-15 18:45:05 +01:00
Martchus 0f1bcae534 Fix build with c++utilities change to add header for compile definitions
* Add include directory for testhelper library manually as using the
  imported target was not possibly
* Fix visibility when using libsyncthing in syncthingwidgets
* Update changed global headers along the way
2024-01-30 22:35:47 +01:00
Martchus a125ac46e4 Update translations 2023-12-05 11:48:27 +01:00
Martchus d1a1c80ed5 Fix install path of KIO plugin 2023-11-22 00:39:46 +01:00
Martchus fe20167e5b Avoid duplicated CMake code to determine KF version for KIO plugin 2023-11-21 22:19:24 +01:00
Martchus a92067fc7b Update documentation for testing KIO plugin for KF6 2023-11-20 23:37:05 +01:00
Martchus 0fb7929b0f Port meta-data handling of KIO plugin to KF6 2023-11-20 23:26:38 +01:00
Martchus 71c1d794ab Fix AppStream validation tests 2023-11-14 02:15:28 +01:00
Martchus 9360bf8bc8 Fix grammar mistakes in German translation after replacing "Verzeichnis" with "Ordner" 2023-11-10 13:17:16 +01:00
Martchus 8aedecf5f5 Update translations 2023-10-03 14:14:01 +02:00
Martchus 230532d15e Do the directory/folder replacement also in German translation 2023-09-18 22:34:30 +02:00
Martchus 2073692968 Update translations 2023-09-18 22:13:41 +02:00
Martchus b0448756ed Apply clang-format 2023-09-18 22:12:59 +02:00
John Veness c2a0eee029 Change Directory to Folder in user-facing strings 2023-09-17 19:33:31 +01:00
Martchus 912dca1564 Port Plasmoid to Plasma 6
* Split QML part into distinct versions for Plasma 5 and 6 as there are too
  many differences and `#ifdef` is not possible
* Change API usage according to
  https://develop.kde.org/docs/plasma/widget/porting_kf6
* Port "contextualActions" to API documented on
  https://invent.kde.org/frameworks/plasma-framework/-/blob/master/src/plasma/applet.h
* Document testing
* Add FIXMEs/notes for remaining problems; there are likely many more,
  though
2023-07-13 01:01:02 +02:00
Martchus 9733be4d16 Don't hardcode Plasma version for fileitemaction install directory 2023-05-21 20:56:40 +02:00
Martchus 081ce235bf Improve coding style in SyncthingFileItemAction 2023-04-19 22:48:56 +02:00
Martchus 5fa2aafb79 Update translations 2023-02-11 15:56:05 +01:00
Martchus eef47e7ef1 Allow building KIO/Dolphin against Qt/KF 6
* Avoid using function that is deprecated in Qt 6
* Remove unused include not available in KF6
* Don't hardcode CMake-package-prefix of KF modules
2023-02-07 20:57:21 +01:00
Martchus 5c519fe930 Update translations 2022-12-20 18:30:37 +01:00
Martchus b45a5ec5e2 Fix path handling in Dolphin menu 2022-12-17 20:39:40 +01:00
Martchus 8fe0c9ab75 Update translations 2022-11-10 21:52:37 +01:00
Martchus 693484d3aa Fix missing include for `QRegularExpression` 2022-11-04 12:04:08 +01:00
Martchus 4c20ecb131 Add AppStream file for Dolphin integration 2022-10-13 19:35:30 +02:00
Martchus 2f41fc9337 Update translations 2022-10-11 19:33:15 +02:00
Martchus a79a594238 Show Syncthing version in Dolphin integration
So even if there are no actions there's at least some bit of information
showing to verify the integration could connect to Syncthing.
2022-10-11 18:55:50 +02:00
Martchus af1529c396 Show note in Dolphin integration when current directory is not shared
* Otherwise it can be confusing if no actions are present
* See https://github.com/Martchus/syncthingtray/issues/159
2022-10-11 18:46:13 +02:00
Martchus 3bbbab035c Update translations 2022-08-25 22:33:59 +02:00
Martchus 01f722c690 Unify code for about dialog image and attribution
It is the same for all components so define it at one place.
2022-08-25 20:35:02 +02:00
Martchus 983ef9d37c Determine usage of bright custom colors automatically in fileitemaction 2022-07-16 20:30:18 +02:00
Martchus a5f062032a Update translations 2021-11-02 18:01:38 +01:00
Martchus 19bede39a2 Simplify coloring of common ForkAwesome icons
The normal QPalette can be used to determine the icon color so it is
unnecessary to use the flag for custom bright colors here (which is only
intended for colors which are not on the standard QPalette).
2021-10-16 21:20:12 +02:00
Martchus 3bf50fb414 Use Syncthing icon from ForkAwesome for buttons/menus
This should look more consistent than abusing the state-specific "idling"
icon.
2021-10-10 20:44:22 +02:00
Martchus feb7fb04db Apply clang-format in `fileitemactionplugin/CMakeLists.txt` 2021-10-08 22:54:30 +02:00
Julianne420 ddefa35daa Add zh_CN translation 2021-10-07 01:20:24 +08:00
Hannah Rittich 2968898195 Allow finding of packages in namespaces 2021-10-03 02:07:18 +02:00
Martchus 43fcb9f71b Migrate to ForkAwesome
* FontAwesome uses a propritary build system so let's move to its fork
  ForkAwesome similar to Syncthing
    * See https://github.com/syncthing/syncthing/pull/5237
* Bundle the font file instead of having the SVGs directly within
  Syncthing Tray's own repository
2021-09-11 02:20:38 +02:00
yejingchen 8e1385bd2e
Fix cmakelists to find correct qtutilities name
Hit this when building syncthingtray-qt6 1.1.9 from AUR. Cmake chose to find qtutilities instead of qtutilities-qt6 and failed to build.
2021-08-06 10:44:00 +08:00
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