Commit Graph

1770 Commits

Author SHA1 Message Date
9665a18b4f Update release date 2023-12-10 12:19:05 +01:00
34fe529859 Bump patch version 2023-12-10 12:18:32 +01:00
c3a426a264 Fix compatibility with Qt 5 in web view code 2023-12-05 12:34:22 +01:00
d327daa9d4 Update release date 2023-12-05 11:48:52 +01:00
a125ac46e4 Update translations 2023-12-05 11:48:27 +01:00
53bc7de0c7 Update libsyncthing to v1.27.0 2023-12-05 11:21:56 +01:00
134aa448f7 Always customize scrollbars in built-in web view
* Use colors from palette; with this the custom scrollbars should always
  be a plus (and not only when the Breeze style is used)
* React to palette changes at runtime
2023-12-03 21:15:29 +01:00
01dceb588a Allow configuring web view console logging via environment variable 2023-12-03 21:02:34 +01:00
2ceb9a31b0 Fix clazy warning about usage of arg() 2023-12-03 18:56:43 +01:00
6d81d33174 Style scroll bars of built-in web view according to Breeze style if used
* The code is disabled under many platforms where the Breeze style is
  unlikely to be used anyways.
* The code is disabled if Qt is older than 6.1 because only then the name
  of the current style can be determined.
2023-12-02 19:19:18 +01:00
a6f0c2f5e1 Improve logging JavaScript messages of built-in web view
* Don't show configuration warning when enabled
* Log messages of all levels and log level when using Qt WebEngine
2023-12-02 19:07:00 +01:00
dbd1e723d4 Fix building Plasmoid after Plasma 6 beta release 2023-11-30 20:10:45 +01:00
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
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
becf6e873b Enable timeout for long-polling requests by default
This setting does work quite well in my testing so far and it can help with
the issue of the connection becoming stale (see
https://github.com/Martchus/syncthingtray/issues/209).
2023-11-25 23:31:42 +01:00
d1a1c80ed5 Fix install path of KIO plugin 2023-11-22 00:39:46 +01:00
57354eca0d Bump patch version 2023-11-22 00:39:24 +01:00
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
fe20167e5b Avoid duplicated CMake code to determine KF version for KIO plugin 2023-11-21 22:19:24 +01:00
e0bdc7e33c Update section about High-DPI scaling on Plasmoid 2023-11-21 22:02:24 +01:00
4370c842da Update release date 2023-11-21 21:51:22 +01:00
16ebd3beba Consider KDE integrations working under KDE 6
Of course there might still be breaking changes until the final release but
so far it looks good enough.
2023-11-20 23:49:47 +01:00
a92067fc7b Update documentation for testing KIO plugin for KF6 2023-11-20 23:37:05 +01:00
0fb7929b0f Port meta-data handling of KIO plugin to KF6 2023-11-20 23:26:38 +01:00
b78c774898 Improve Plasma 6 version of Plasmoid 2023-11-20 20:30:29 +01:00
c721e0a5cf State minimum required Windows 10 version 2023-11-18 21:42:50 +01:00
243c0446bd Update outdated README section about DPI awareness under Windows 2023-11-18 21:25:30 +01:00
6962037584 Add remark about Plasma 6
Porting to Plasma 6 seems more difficult than anticipated so let's be clear
that only Plasma 5 is supported. Reference the porting guide for future
reference; maybe it makes sense to look into this again in the future.
2023-11-17 01:35:02 +01:00
e697c4e2a7 Update libsyncthing to v1.26.1 2023-11-15 14:21:22 +01:00
71c1d794ab Fix AppStream validation tests 2023-11-14 02:15:28 +01:00
08b2c872d6 Improve Plasmoid testing script and documentation 2023-11-14 01:52:12 +01:00
237b4d0e50 Port Plasma 6 version of Plasmoid to changes in alpha release of Plasma 2023-11-14 01:50:24 +01:00
e5a55b1809 Avoid warnings about possibly mislabled slots 2023-11-14 00:06:34 +01:00
2c35fa8290 Adapt setup of QT_PLUGIN_PATH in Plasmoid test script to Plasma 6 2023-11-13 23:57:16 +01:00
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
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
59ec061580 Remove useless braces 2023-11-10 14:33:17 +01:00
04a8905a83 Allow opening Syncthing directly when clicking on tray icon
This might be useful if minimalism is desired or to avoid positioning
issues on Wayland.
2023-11-10 14:33:03 +01:00
9360bf8bc8 Fix grammar mistakes in German translation after replacing "Verzeichnis" with "Ordner" 2023-11-10 13:17:16 +01:00
498abf7dfe Bump patch version 2023-11-10 13:15:37 +01:00
9c49c41990 Adapt integration test for auth changes in Syncthing v1.26.0 2023-11-07 12:48:38 +01:00
397ab72dee Update release date 2023-11-07 11:59:19 +01:00
7c932fdb31 Update translations 2023-11-07 11:58:55 +01:00
2985bef56f Update libsyncthing to v1.26.0 2023-11-07 11:49:35 +01:00
9adcacd70d Update link for GTK-centered desktops
Just link to the Arch Wiki instead which gives many more options than
just the now outdated adwaita-qt.
2023-11-06 16:17:55 +01:00
dadf96c4d6 Mention that a restart of Plasma might be required
This doesn't seem to be obvious (see e.g.
https://github.com/Martchus/syncthingtray/issues/205) so let's state it
explicitly.
2023-11-06 16:11:12 +01:00
b4879bb23e Hide/show advanced configuration properly using setRowVisible()
This makes the code simpler and avoids inconsistent spacing. Unfortunately
this function has only been introduced in Qt 6.4 so the old code has to
stay for older Qt versions.
2023-11-06 16:02:12 +01:00
d1a963013a Fix paths in error messages of libsyncthing configuration 2023-11-06 16:00:20 +01:00
a9eb8e3237 Update translations 2023-11-06 15:16:49 +01:00
fada3c98dd Allow configuring long-polling timeout 2023-11-06 15:06:40 +01:00