Commit Graph

1512 Commits

Author SHA1 Message Date
Martchus 328417d1f3 Fix compilation without systemd support 2022-10-24 15:37:53 +02:00
Martchus 8e484f246e Allow overriding Syncthing config dir via environment variable 2022-10-23 15:05:47 +02:00
Martchus 67c4e806bd Fix detection of disabled Syncthing systemd unit in wizard
`isUnitAvailable()` would return false for disabled units (that could be
enabled) so `canEnableOrStart()` must return true even if only
`isDisabled()` returns true.
2022-10-22 21:31:03 +02:00
Martchus 74580d382b Allow testing systemd integration with a test unit file 2022-10-22 13:01:25 +02:00
Martchus 6594a667af Update translations 2022-10-22 12:40:57 +02:00
Martchus 77cea5aead Tie suppressing notifications to "reconnect integrations" of launcher/service
So suppressing notifications by either the launcher status or service
status can be enabled/disabled together with the re-connect tweaking. This
makes more sense than having it unconditionally enabled and makes the
presence of the feature (and when it is effective) also more visible to
users.
2022-10-22 12:32:24 +02:00
Martchus 525b2c2f94 Improve tracking of whether Syncthing has been stopped manually
* Don't consider the proccess manually stopped by default; otherwise that's
  considered to be the case even though the launcher isn't used at all
* Unset the service being manually stopped only when there's an actual
  state transition to running; otherwise we'd immediately unset the flag
  after manually stopping the service
2022-10-22 12:06:18 +02:00
Martchus ba0f60c6a8 Update translations 2022-10-18 22:31:02 +02:00
Martchus b8cbe47099 Prevent doing setup detection when closing wizard in main config step 2022-10-18 22:25:51 +02:00
Martchus 9fd0dd3201 Don't allow continuing wizard if selected option is hidden
The selected option might be hidden if it was previously selected but then
became inavailable after running the setup detection again.
2022-10-18 22:21:27 +02:00
Martchus 8e652217d8 Ensure wizard's setup detection is really reset
So when going back to the detection state the previously selected config is
not used anymore (even though it isn't selected anymore).
2022-10-18 22:19:57 +02:00
Martchus db60c73d8d Fix missing whitespace 2022-10-18 21:53:15 +02:00
Martchus 056a8049f7 Update info about Plasmoid-sizing for Plasma 5.26 2022-10-17 23:19:28 +02:00
Martchus f0ebd75ce0 Add missing German translations 2022-10-17 23:05:30 +02:00
Martchus f8a1c35735 Fix typo in German translation 2022-10-17 21:40:14 +02:00
Martchus 9c6f8fb07e Update README regarding Plasma-related limitations/workarounds 2022-10-17 21:38:40 +02:00
Martchus 833d2b78e2 Avoid running wizard test in parallel with other tests launching Syncthing 2022-10-16 18:21:47 +02:00
Martchus 11e0b4159e Update translations 2022-10-16 18:10:42 +02:00
Martchus a3e5825217 Improve wizard tests
* Allow setting Syncthing path and port like it is possible with other
  tests
* Test configuring currently running instance
* Avoid race condition; one must subscribe to `settingsChanged` before
  applying changes
2022-10-16 18:10:14 +02:00
Martchus 2dffb7ac97 Do not change launcher settings when currently running instance selected in wizard
The currently running instance might be from the launcher itself as the
wizard might have been started after configuring the launcher manually. So
let's just not mess with the launcher settings at all in this case.
2022-10-16 18:07:11 +02:00
Martchus b6df8be85a Extend wizard tests to actualy apply launcher settings 2022-10-16 16:10:50 +02:00
Martchus 9f92e340b9 Add basic tests for wizard 2022-10-16 15:08:29 +02:00
Martchus 4c20ecb131 Add AppStream file for Dolphin integration 2022-10-13 19:35:30 +02:00
Martchus b0e6c6d574 Add release info in Plasmoid AppStream template 2022-10-13 19:34:49 +02:00
Martchus 39464d0613 Use same indentation in Plasmomid AppStream template as in regular template 2022-10-13 19:34:24 +02:00
Martchus 66b33fd7d2 Add special AppStream template for Plasmoid
It needs to be an add-on extending the Plasma shell. As this is a special
case it makes sense to add a special template overriding the one from
c++utilities.
2022-10-13 00:06:04 +02:00
Martchus f7290b2ac1 Update release date 2022-10-12 23:23:58 +02:00
Martchus fa7b0a5a2f Add release date 2022-10-12 23:18:13 +02:00
Martchus cd53a623f1 Prevent AppStream validation message `asv-content-rating-missing`
See https://github.com/Martchus/syncthingtray/issues/158
2022-10-11 21:01:06 +02:00
Martchus 2f41fc9337 Update translations 2022-10-11 19:33:15 +02:00
Martchus 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
Martchus 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
Martchus d7adcaf950 Improve documentation of Dolphin integration
See https://github.com/Martchus/syncthingtray/issues/159
2022-10-11 18:38:56 +02:00
Martchus 65c12ba4f8 Revert accidental changes to `traywidget.ui` 2022-10-09 12:20:30 +02:00
Martchus 157aec85ea Let appstream screenshot URL point to raw images 2022-10-08 23:53:25 +02:00
Martchus 836f51d6f6 Update translations 2022-10-08 23:43:08 +02:00
Martchus 5fd07ee1c0 Allow opening wizard from Plasmoid 2022-10-08 23:42:29 +02:00
Martchus 63acf60cd8 Fix autostart configuration via wizard 2022-10-08 23:41:58 +02:00
Martchus 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
Martchus a0297f67ba Add setting to keep track whether it is the Plasmoid 2022-10-08 22:20:06 +02:00
Martchus d4720f464f Add appstream metadata body for Plasmoid 2022-10-08 22:11:06 +02:00
Martchus 3d8f66fe8e Update screenshots in appstream file 2022-10-08 22:03:00 +02:00
Martchus 4e19c98471 Add appstream file for Plasmoid 2022-10-08 21:56:46 +02:00
Martchus 127cd71856 Avoid re-positioning when pinning 2022-10-07 23:22:15 +02:00
Martchus ace27f9e9c Fix saving pinned state persistently 2022-10-07 23:15:25 +02:00
Martchus 0086873684 Update translations 2022-10-07 22:59:46 +02:00
Martchus 9220d66add Allow pinning tray menu (still experimental) 2022-10-07 22:59:17 +02:00
Martchus 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
Martchus 598fc0c114 Bump minor version 2022-10-07 00:19:36 +02:00
Martchus 3f5bc4d772 Fix inclusion of Connection::addConfigFromWizard() 2022-10-04 14:15:58 +02:00