Commit Graph

1742 Commits

Author SHA1 Message Date
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
Martchus 4c2e294f8c Update release date 2023-09-05 10:43:03 +02:00
Martchus e9bb64f893 Update libsyncthing to v1.24.0 2023-09-05 10:33:07 +02:00
Martchus 081def0a9e Update translations 2023-09-04 20:35:57 +02:00
Martchus c811b06d6b Configure HTTPS certificate via wizard 2023-09-04 20:34:38 +02:00
Martchus 669923dbb6 Ensure redirects to HTTPS are enabled/allowed regardless of the Qt version
Technically, this is not completely true because it is not supported on Qt
versions older than 5.9.
2023-09-04 20:33:32 +02:00
Martchus b7d19ea904 Avoid duplicated code in functions for locating config files 2023-09-04 20:23:32 +02:00
Martchus bd924330ad Remove identical branches
GCC warns about this so let's just remove this leftover.
2023-09-04 20:20:51 +02:00
Martchus c3233a8954 Update translations 2023-09-01 23:36:04 +02:00
Martchus 25c8d3f69a Use consistent/new coding style in `readDirEvent` as well 2023-09-01 23:34:26 +02:00
Martchus 92b305aa89 Store the disconnect reason in the device info 2023-09-01 23:33:50 +02:00
Martchus 3696869a99 Remove useless and possibly problematic code when handling device events 2023-09-01 23:25:06 +02:00
Martchus ae319f604b Fix reading device events
* Fix logic error that prevented the `devStatusChanged()` event
  from being emitted when a device has connected
* Fix reading device ID from event data
2023-09-01 23:21:01 +02:00
Martchus 2fab93a00a Fix compiling tests against Qt 5 2023-09-01 21:51:58 +02:00
Martchus c168231172 Allow building libsyncthing with Go 1.21 by cherry-picking cbf0e31f69bf44bb 2023-09-01 16:51:00 +02:00
Martchus 7cc541d542 Set build timestamp when building libsyncthing to avoid default `1970-01-…` 2023-09-01 16:51:00 +02:00
Martchus 89caa76102 Add option for CLI's `wait-for-idle` to require devs to be connected
See https://github.com/Martchus/syncthingtray/issues/199
2023-08-27 00:09:48 +02:00
Martchus 021cbf2ae5 Mention GNOME under "Supported platforms"
According to https://github.com/NixOS/nixpkgs/issues/199596#issuecomment-1689874588
one can use Syncthing Tray under GNOME with a shell extension.
2023-08-24 20:49:05 +02:00
Martchus 7c83b9cc03 Ignore workingdir for tests being present in checkout 2023-08-19 19:19:16 +02:00
Martchus 968fcb988c Fix finding Syncthing dir by path on Windows
The path needs to be normalized so inconsistent uses of `/` and `\` are not
a problem.
2023-08-19 19:16:16 +02:00
Martchus 652497d06e Allow running CLI tests under Windows 2023-08-19 19:15:09 +02:00
Martchus fd49ef27be Bump patch version 2023-08-19 18:36:25 +02:00
Martchus 27b4ec1189 Update release date 2023-08-09 12:13:23 +02:00
Martchus 5374b8ee52 Update libsyncthing to v1.23.7 2023-08-09 11:46:54 +02:00
Martchus 66a8dda244 Improve test setup
* Improve code for reading environment variables
* Make tests work when the temp directory is not `/tmp` because e.g. `TEMP`
  has been set or tests are executed under Windows
2023-08-02 17:36:26 +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 00f444484c Update translations 2023-07-14 02:14:32 +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 7e651be694 Fix compilation against Qt < 5.15 for Leap 15.3 builds 2023-07-11 11:55:39 +02:00
Martchus 263a6e4214 Bump patch version 2023-07-11 11:53:04 +02:00
Martchus a8ba961bdc Improve issue templates
* Add note about Antivirus software
* Instruct to delete notices before filing an issue
2023-07-06 11:06:57 +02:00
Martchus 218037a951 Fix compilation without systemd support 2023-07-04 20:01:12 +02:00
Martchus f7b38162dd Update release date 2023-07-04 19:39:29 +02:00
Martchus 8f481b0168 Update translations 2023-07-04 19:38:52 +02:00
Martchus 69568ea6dd Set default transfer timeout to infinity
Apparently the default before introducing the request timeout was not 30000
(which is the value of QNetworkRequest::TransferTimeoutConstant). There was
actually no timeout. So let's restore this behavior for now as the main
intention was to make the timeout configurable but not change any defaults.
2023-07-04 19:33:30 +02:00
Martchus faeefba03f Do not apply transfer timeout to long-polling requests
This leads to "disconnects" from Syncthing otherwise.
2023-07-04 19:26:48 +02:00
Martchus 46d84a0f64 Allow configuring transfer timeout for requests in UI 2023-07-04 19:18:18 +02:00
Martchus 0f5da7fa50 Avoid that shell completion of syncthingctl blocks shell for too long 2023-07-04 19:07:03 +02:00
Martchus 7d6c7de834 Allow setting request timeout in syncthingctl 2023-07-04 19:04:20 +02:00
Martchus 690804be5c Add the request timeout to SyncthingConnectionSettings 2023-07-04 19:01:08 +02:00
Martchus d766bfeb66 Return early when config for shell completion cannot be loaded 2023-07-04 18:49:03 +02:00
Martchus 5a2334cda4 Mark internal function of `cli/application.cpp` static 2023-07-04 18:47:06 +02:00
Martchus ac07982596 Allow setting transfer timeout for network requests of SyncthingConnection 2023-07-04 18:39:14 +02:00
Martchus 7c3204526e Update libsyncthing to v1.23.6 2023-07-04 10:45:38 +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