Commit Graph

318 Commits

Author SHA1 Message Date
Martchus a33271c293 Update translations 2024-06-17 23:05:20 +02:00
Martchus 250f4bf97d Add option to configure presets with transparent background depending on palette
Implements https://github.com/Martchus/syncthingtray/issues/270
2024-06-17 22:37:34 +02:00
Martchus ef111fb0aa Improve dialog for editing ignore patterns 2024-06-07 00:45:26 +02:00
Martchus 062e1107f3 Update translations 2024-05-31 16:13:29 +02:00
Martchus f55d3431ff Update translations
Translations for experimental/WIP features are still unfinished.
2024-05-08 11:24:24 +02:00
Martchus 9e4208fc0d Add simple view for showing ignore patterns 2024-05-05 14:47:50 +02:00
Martchus 80e5a0f64c Update translations 2024-04-09 11:36:32 +02:00
Martchus 38eb689b69 Allow showing remote file browser from Plasmoid 2024-04-06 19:35:12 +02:00
Denis Shaposhnikov f596312047
Fix QT6 build with disabled SYSTEMD_SUPPORT (#244)
See https://github.com/Martchus/syncthingtray/issues/244
2024-04-05 22:31:46 +02:00
Martchus dff6bcab67 Apply change of `global.h` template 2024-02-22 19:43:14 +01:00
Martchus 8372dfbcaa Update translations 2024-02-22 14:31:16 +01:00
Martchus abf1ad6c5a Support option for metered networks in Plasmoid as well 2024-02-19 18:34:36 +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 59df08b25b Update translations 2024-01-15 21:32:25 +01:00
Martchus 01fe57492c Add and update tab-stops explicitly where default order is wrong 2024-01-07 22:30:48 +01:00
Martchus a125ac46e4 Update translations 2023-12-05 11:48:27 +01:00
Martchus dbd1e723d4 Fix building Plasmoid after Plasma 6 beta release 2023-11-30 20:10:45 +01:00
Martchus eaf8d6d164 Mention PLASMA_ENABLE_QML_DEBUG in the Plasmoid testing docs
This variable might be useful and now seems to be supported by
`plasmawindowed`, see
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3237.
2023-11-26 17:06:06 +01:00
Martchus 29043b2904 Set X-Plasma-API-Minimum-Version for Plasma 6 version of Plasmoid
This seems to be required as of
https://invent.kde.org/plasma/libplasma/-/merge_requests/977
and other Plasmoids set it to 6.0 as well, e.g.
https://invent.kde.org/plasma/plasma-nm/-/blob/master/applet/metadata.json.
2023-11-26 16:57:52 +01:00
Martchus e80200f7df Fix weird highlighting behavior of list items in Plasma 6 version of Plasmoid
* Simplify `TopLevelItem` to what is actually needed to make it easier to
  understand
* Use `onEntered` instead of `onContainsMouseChanged` which apparently
  works better (with `onContainsMouseChanged` the selection/highlighting
  did not always work reliably)
2023-11-21 23:31:03 +01:00
Martchus b78c774898 Improve Plasma 6 version of Plasmoid 2023-11-20 20:30:29 +01:00
Martchus 71c1d794ab Fix AppStream validation tests 2023-11-14 02:15:28 +01:00
Martchus 08b2c872d6 Improve Plasmoid testing script and documentation 2023-11-14 01:52:12 +01:00
Martchus 237b4d0e50 Port Plasma 6 version of Plasmoid to changes in alpha release of Plasma 2023-11-14 01:50:24 +01:00
Martchus e5a55b1809 Avoid warnings about possibly mislabled slots 2023-11-14 00:06:34 +01:00
Martchus 2c35fa8290 Adapt setup of QT_PLUGIN_PATH in Plasmoid test script to Plasma 6 2023-11-13 23:57:16 +01:00
Martchus 85c180d625 Fix checks for Plasma 6
The alpha defines the macros

```
#define PLASMA_VERSION_MAJOR 5
#define PLASMA_VERSION_MINOR 27
#define PLASMA_VERSION_PATCH 80
```

so the current version checks (which were created based on the macros from
a development build) are not working. I have no clue how these numbers are
crafted so it is supposedly the easiest to just check for Qt 6 as Qt itself
uses a sane versioning system.
2023-11-13 23:32:44 +01:00
Martchus 0215f227c3 Fix configuring against Plasma 6
As of version 6 Plasma does not seem to pull-in its own dependencies
automatically. This might be a bug. For now, let's just workaround it by
pulling-in the dependencies manually.

This fixes the error `The link interface of target "KF6::Plasma" contains:
KF6::ConfigCore but the target was not found.`.
2023-11-13 23:29:38 +01:00
Martchus 230532d15e Do the directory/folder replacement also in German translation 2023-09-18 22:34:30 +02:00
Martchus 0f2409b145 Rename placeholder text in Plasmoid as well to use folders instead of dirs 2023-09-18 22:18:02 +02:00
John Veness c2a0eee029 Change Directory to Folder in user-facing strings 2023-09-17 19:33:31 +01:00
Martchus abf1dd0748 Rename `SyncthingDeviceModel::IsOwnDevice` in accordance with recent UI changes 2023-09-16 23:09:48 +02:00
Martchus 081def0a9e Update translations 2023-09-04 20:35:57 +02:00
Martchus e4bbe852bd Avoid CMake deprecation warning by bumping version 2023-07-23 21:05:22 +02:00
Martchus 4a109eefb8 Add Plasmoid files not used in current build to excluded files
So these files are still considered for tidying and translations
2023-07-14 02:42:04 +02:00
Martchus e29ed19de4 Improve comments in Plasmoid build script 2023-07-14 02:13:27 +02:00
Martchus c3ea747d46 Fix installation of Plasmoid package 2023-07-13 01:49:11 +02: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 5b5b2811da Update translations 2023-07-03 00:56:45 +02:00
Martchus 4effd6045b Dynamically retranslate some aspects of the UI
There are still many places missing but this is a first step.
2023-07-03 00:56:19 +02:00
Martchus 10aafceb68 Update translations 2023-06-30 12:47:30 +02:00
Martchus 13730ab933 Ignore "Forbidden" errors shortly after Syncthing start
Not sure why I'm getting

```
Fehler beim Abfragen der Syncthing-Konfiguration: Error transferring http://127.0.0.1:8384/rest/system/config - server replied: Forbidden
URL der Anfrage: http://127.0.0.1:8384/rest/system/config
```

one one of my setups but this kind of error can likely be ignored shortly
after the start similar to other types of errors.
2023-06-30 12:43:06 +02:00
Martchus c6b03ae0aa Show "Connecting …" status via "Connect/Resume/Pause" button
This makes it more obvious that Syncthing Tray is currently connecting to
Syncthing (instead of just hiding the button completely).
2023-06-20 23:21:21 +02:00
Martchus e9135d735a Update translations 2023-04-29 21:08:29 +02:00
Martchus 0c733837ce Fix showing directory errors in plasmoid 2023-04-26 20:30:23 +02:00
Martchus 58b8a4e540 Allow showing Syncthing UI in Chromium-based browser in "app mode"
See https://github.com/Martchus/syncthingtray/issues/178
2023-03-27 20:28:52 +02:00
Martchus 5a45a46450 Make `addPlasmoidSpecificNote()` static 2023-03-26 21:08:42 +02:00
Martchus b5d81eefc6 Avoid remaining symlinks for testfiles 2023-02-27 22:14:35 +01:00
Martchus 5bf8a4e25a Update translations 2023-02-17 19:23:01 +01:00