Commit Graph

1666 Commits

Author SHA1 Message Date
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
Martchus 10aafceb68 Update translations 2023-06-30 12:47:30 +02:00
Martchus 4b5bd05221 Remove TODO for unification with `InternalError::isRelevant()`
The code is not similar enough to unify it.
2023-06-30 12:46:01 +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 91ce946acb Bump soversion 2023-06-30 12:39:25 +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 b8b7986086 Fix build error with Qt < 5.14 2023-06-20 11:09:46 +02:00
Martchus 8b8854d243 Avoid warning about sign conversion
This is actually about the conversion of the `-1` literal in case the
process ID is already `qint64` (e.g. on Windows).
2023-06-10 18:19:28 +02:00
Martchus 6f8931a8ad Improve build section regarding symlinking 2023-06-09 18:13:23 +02:00
Martchus 091ec35580 Stop built-in Syncthing instance synchronously
So `Launcher::terminate()` exits when really everything has terminated and
not just sub processes. It may nevertheless be worthwhile to implement a
timeout.

This may help with
https://github.com/Martchus/syncthingtray/issues/180#issuecomment-1582465960.
2023-06-09 13:13:55 +02:00
Martchus 72f54316a7 Bump patch version 2023-06-09 13:05:31 +02:00
Martchus 2b6b3c9acd Update release date 2023-06-08 15:34:29 +02:00
Martchus 240155b534 Apply clang-format 2023-06-08 15:34:06 +02:00
Martchus 33f457ef7f Update translations 2023-06-08 14:04:40 +02:00
Martchus 6a16333dfd Update statistics icons dynamically when color palette changes 2023-06-08 14:04:16 +02:00
Martchus bca1e1bda5 Avoid warning about unreferenced variable 2023-06-08 12:33:11 +02:00
Martchus dd936b4a81 Workaround lupdate not understanding "enum class" in some cases
Apparently this is still problematic leading to errors like
`Qualifying with unknown namespace/class`. It seems that moving the enum to
a different header file works. The trick to use a macro to define
`enum class` ceased to work on the other hand.

Specifying a function with the namespace like
`void QtGui::FinalWizardPage::showResults()` leads to the same problem and
also needs to be avoided.
2023-06-07 23:14:48 +02:00
Martchus 925ce383f0 Fix condition and code in `supposedAutostartPath()`
The `1 || ` was just a debugging leftover.
2023-06-07 22:08:53 +02:00
Martchus 0a66248ab3 Bump patch version 2023-06-07 21:43:38 +02:00
Martchus e84b0ec0b0 Update release date 2023-06-06 11:09:22 +02:00
Martchus 49c9338eeb Update translations 2023-06-06 10:53:09 +02:00
Martchus f9d5e08a0d Update libsyncthing to v1.23.5 2023-06-06 10:52:43 +02:00
Martchus 90a790d584 Improve CLI for running Syncthing itself
* Fix abbreviation
* Streamline with Syncthing itself so no arguments mean `serve` (and not
  `--help`)
2023-05-29 18:12:07 +02:00
Martchus b9853043fb Improve libsyncthing
* Do *not* build Syncthing in addition as standalone executalbe
* Explose instead all of Syncthing's commands via the library
  interface
* Make all of Syncthing's commands (including `serve`) accessible
  via Syncthing Tray's executable
* Remove copied code for directory creation and instead use
  upstream's code directly
2023-05-29 17:30:33 +02:00
Martchus 7358c25d28 Improve README 2023-05-23 19:55:30 +02:00
Martchus 9733be4d16 Don't hardcode Plasma version for fileitemaction install directory 2023-05-21 20:56:40 +02:00
Martchus 41b26d7f71 Avoid another warning about shadowing 2023-05-21 19:08:46 +02:00