Commit Graph

1382 Commits

Author SHA1 Message Date
a79a594238 Show Syncthing version in Dolphin integration
So even if there are no actions there's at least some bit of information
showing to verify the integration could connect to Syncthing.
2022-10-11 18:55:50 +02:00
af1529c396 Show note in Dolphin integration when current directory is not shared
* Otherwise it can be confusing if no actions are present
* See https://github.com/Martchus/syncthingtray/issues/159
2022-10-11 18:46:13 +02:00
d7adcaf950 Improve documentation of Dolphin integration
See https://github.com/Martchus/syncthingtray/issues/159
2022-10-11 18:38:56 +02:00
65c12ba4f8 Revert accidental changes to traywidget.ui 2022-10-09 12:20:30 +02:00
157aec85ea Let appstream screenshot URL point to raw images 2022-10-08 23:53:25 +02:00
836f51d6f6 Update translations 2022-10-08 23:43:08 +02:00
5fd07ee1c0 Allow opening wizard from Plasmoid 2022-10-08 23:42:29 +02:00
63acf60cd8 Fix autostart configuration via wizard 2022-10-08 23:41:58 +02:00
ec85052c20 Allow enabling devel modes via env variables
Using CLI args is not possible for plugins (such as the Plasmoid).
2022-10-08 22:44:00 +02:00
a0297f67ba Add setting to keep track whether it is the Plasmoid 2022-10-08 22:20:06 +02:00
d4720f464f Add appstream metadata body for Plasmoid 2022-10-08 22:11:06 +02:00
3d8f66fe8e Update screenshots in appstream file 2022-10-08 22:03:00 +02:00
4e19c98471 Add appstream file for Plasmoid 2022-10-08 21:56:46 +02:00
127cd71856 Avoid re-positioning when pinning 2022-10-07 23:22:15 +02:00
ace27f9e9c Fix saving pinned state persistently 2022-10-07 23:15:25 +02:00
0086873684 Update translations 2022-10-07 22:59:46 +02:00
9220d66add Allow pinning tray menu (still experimental) 2022-10-07 22:59:17 +02:00
d82bc710fd Allow using system icons instead of ForkAwesome icons
* Allow using icons from freedesktop.org icon theme for most ForkAwesome
  icons if available
* Let's not use it for the nested list of details in the models for now
* See https://github.com/Martchus/syncthingtray/issues/121
2022-10-07 00:20:50 +02:00
598fc0c114 Bump minor version 2022-10-07 00:19:36 +02:00
3f5bc4d772 Fix inclusion of Connection::addConfigFromWizard() 2022-10-04 14:15:58 +02:00
a45bd8e60e Update translations 2022-10-04 10:53:14 +02:00
87cb9914a6 Update libsyncthing to 1.22.0 2022-10-04 10:52:28 +02:00
89290b99d4 Use quickwizard icon as it looks more apprpriate in higher sizes
That's at least the case for the Breeze icon theme.
2022-10-02 22:40:48 +02:00
2abb468d93 Fix typo 2022-10-02 20:34:40 +02:00
4896261ef9 Allow opening launcher settings from wizard in case of an error to check logs 2022-10-02 20:33:07 +02:00
722e9f6e7d Avoid greeting new users with "insufficient configuration" error 2022-10-02 19:45:22 +02:00
b0d1197cb7 Implement launcher and systemd configuration in wizard 2022-10-02 19:24:26 +02:00
db69a148a9 Avoid showing default/uninitialized timestamp of libsyncthing version 2022-10-02 19:23:46 +02:00
99872b262e Move setting connection config from wizard into its own function 2022-10-02 14:41:28 +02:00
bd5b93d311 Implement completion of wizard
Applying settings is still only implemented for one of the cases.
2022-10-01 22:25:33 +02:00
442aee992a Unify code for showing wizard 2022-10-01 20:25:21 +02:00
ae10aaf0a2 Add missing include in syncthingicons.h 2022-10-01 18:12:25 +02:00
f290dec65c Develop wizard further 2022-10-01 18:11:48 +02:00
4f58b2cb7e Fix determining whether GUI address is local
The port must be stripped from the address before passing it to
`isLocal()` which only expects a hostname.
2022-09-25 22:40:37 +02:00
3320f712db Fix condition when making Syncthing URL
TLS is preferred when the address is *not* local.
2022-09-25 22:13:44 +02:00
a86ac6896f Add link to Gentoo overlay 2022-09-22 19:40:20 +02:00
24e1556f64 Update minimum required Qt version
Builds with Qt 5.6 are no longer conducted so only the latest
Qt 5 or 6 version is tested anymore.
2022-09-20 20:58:01 +02:00
6e6fbf757b Fix buffering further output in SyncthingProcess without event loop
When the calling code does not return to the event loop (like the CLI test)
we need to run the event loop internally to make sure `bufferOutput()` is
called as of ecd730fd49.
2022-09-18 19:59:46 +02:00
9865b2286f Develop wizard further
* Add page to apply settings
* Add page to show final result
* Fix updating systemd checkbox (`isVisible()` did not work because when
  the function is running the whole page is not visible)
* Enable systemd integration by default if either the user service or the
  system service are running
* Fix typo
2022-09-17 23:10:58 +02:00
ecd730fd49 Avoid crash when invoking short-lived process via SyncthingProcess
At least when using Qt 6 I could reproduce crashes very often when invoking
`syncthing -version` as part of the wizard's setup detection (inside
a `QIODevice::readAll()` call).

I suppose the problem is that the callback `bufferOutput()` is already
invoked  on another thread and emitting the next `readyRead()` signal while
Qt is still handling the previous `readData()` call. Continuing reading
from the pipe only after `readData()` returns should fix it. At least it
does not crash anymore with that change in the wizard's setup detection.
2022-09-17 22:52:26 +02:00
15934b6e87 Decouple ABI version from API version
Set the ABI version (used in so/DLL name) to 2 and increment it on an ABI
break (but only once within one release cycle). This way we don't need to
increment it on every patch release but also don't need to make a new major
release on every ABI break.

Keep the API version as is (using the semantic versioning format).
2022-09-11 13:16:34 +02:00
5554ba4ffa Set window icon of wizard 2022-09-11 12:58:47 +02:00
f6db20bed8 Bump patch version 2022-09-11 12:58:25 +02:00
ab74142dc2 Add missing include for dialog utils 2022-09-06 16:58:25 +02:00
f7af2d5c7d Fix compilation of new wizard code against Qt 6 2022-09-06 16:24:53 +02:00
ead679203f Set margin of search button correctly (to not affect focus scope) 2022-09-06 10:54:04 +02:00
4e1d4501c0 Update libsyncthing to v1.21.0 2022-09-06 10:46:23 +02:00
badfd94a38 Fix right margin of Plasmoid's search button 2022-09-05 23:01:04 +02:00
dd6b79360a Update translations 2022-09-05 22:56:19 +02:00
99a7bd1a01 Hide tab texts in Plasmoid by default to avoid problematic overflow behavior 2022-09-05 22:54:28 +02:00