Commit Graph

1740 Commits

Author SHA1 Message Date
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 59ec061580 Remove useless braces 2023-11-10 14:33:17 +01:00
Martchus 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
Martchus 9360bf8bc8 Fix grammar mistakes in German translation after replacing "Verzeichnis" with "Ordner" 2023-11-10 13:17:16 +01:00
Martchus 498abf7dfe Bump patch version 2023-11-10 13:15:37 +01:00
Martchus 9c49c41990 Adapt integration test for auth changes in Syncthing v1.26.0 2023-11-07 12:48:38 +01:00
Martchus 397ab72dee Update release date 2023-11-07 11:59:19 +01:00
Martchus 7c932fdb31 Update translations 2023-11-07 11:58:55 +01:00
Martchus 2985bef56f Update libsyncthing to v1.26.0 2023-11-07 11:49:35 +01:00
Martchus 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
Martchus 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
Martchus 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
Martchus d1a963013a Fix paths in error messages of libsyncthing configuration 2023-11-06 16:00:20 +01:00
Martchus a9eb8e3237 Update translations 2023-11-06 15:16:49 +01:00
Martchus fada3c98dd Allow configuring long-polling timeout 2023-11-06 15:06:40 +01:00
Martchus 2b58266d8b Update translations 2023-11-06 12:47:32 +01:00
Martchus c8b4c1e435 Hide advanced connection config by default
The configuration page is getting too big otherwise.
2023-11-06 12:47:32 +01:00
Martchus 4e61f77932 Fix guiUrl property of SyncthingLauncher 2023-11-01 21:16:04 +01:00
Martchus 9861191ad1 Mention Chocolatey package in README 2023-10-20 17:38:03 +02:00
Martchus 9e909b257c Mention problem with antivirus software in README 2023-10-20 17:38:03 +02:00
Martchus d58b328f40 Revert accidental "Ordner" replacements by 230532d1 2023-10-20 16:15:38 +02:00
Martchus 784630104d Save position and size of window after is has been moved/resized
* Remember new size after user resized the window
* Remember new position after user repositioned window and using explicit
  coordinates has been configured in the appearance settings
2023-10-06 21:03:40 +02:00
Martchus 089100c7ab Bump soversion 2023-10-06 20:58:20 +02:00
Martchus cdfa769c84 Disable resizing/moving for popups under X11 as it is not working
At least it wasn't working with KWin and leading to the popup not closing
correctly anymore.
2023-10-06 17:55:51 +02:00
Martchus a9cc948099 Allow resizing/moving tray widget
This might be useful on Wayland where positioning the popup is otherwise
not possible at all. Combined with a session restoration mechanism this
might actually be a feasible workaround. The user just needed to position
the popup once wherever it is wanted to show up and then the compositor
could remember that position.

Especially the resizing would also be useful on other platforms (and is by
the way also already possible when using the Plasmoid showing it as part of
the system tray Plasmoid).
2023-10-06 17:05:40 +02:00
Martchus 8da0560e89 Bump patch version 2023-10-06 16:56:13 +02:00
Martchus 500c73be66 Update release date 2023-10-03 14:29:31 +02:00
Martchus e0fe3d5eeb Update libsyncthing to v1.25.0 2023-10-03 14:20:11 +02:00
Martchus 8aedecf5f5 Update translations 2023-10-03 14:14:01 +02:00
Martchus aa524aa8b7 Make event handling of `syncthingctl wait-for-idle` more efficient
Don't go though the list of dirs/devs for every dir/dev change event. Just
go though the list once after receiving new events. This makes also the
code a little bit easier to follow.
2023-09-20 18:12:55 +02: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
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
Martchus 78e97e34a2 Adapt CLI tests to c2a0eee029 2023-09-18 22:12:36 +02:00
Martchus 63bd9bb306 Merge remote-tracking branch 'JohnVeness/folder' 2023-09-18 22:07:24 +02:00
Martchus 978636b5aa Fix crash in `syncthingctl cat` after f5795d45c2 2023-09-18 22:05:25 +02:00
John Veness c2a0eee029 Change Directory to Folder in user-facing strings 2023-09-17 19:33:31 +01:00
Martchus 68858fe702 Rename "Own device" in model as well 2023-09-16 23:20:28 +02:00
Martchus bc02a70ae9 Update translations 2023-09-16 23:10:09 +02:00
Martchus abf1dd0748 Rename `SyncthingDeviceModel::IsOwnDevice` in accordance with recent UI changes 2023-09-16 23:09:48 +02:00
Martchus f5795d45c2 Show this/own device always as first device
See https://github.com/Martchus/syncthingtray/issues/203
2023-09-16 23:07:00 +02:00
Martchus 5fa69e4f5a Rename `SyncthingDevStatus::OwnDevice` in accordance with UI change 2023-09-16 22:28:35 +02:00
Martchus d623dfdf5e Replace "own device" with "this device" where it makes sense
* Be consistent with official UI
* See https://github.com/Martchus/syncthingtray/issues/203
2023-09-16 22:19:04 +02:00
Martchus 42f77419fc Bump patch version 2023-09-16 22:14:48 +02:00