Commit Graph

1528 Commits

Author SHA1 Message Date
Martchus 5bf8a4e25a Update translations 2023-02-17 19:23:01 +01:00
Martchus 10c656cc5e Show error when settings cannot be restored or saved
* State the error type and location of the relevant file
* Help debugging problems related to settings
2023-02-17 19:20:10 +01:00
Martchus 6546d9bc23 Improve link to dark palette file 2023-02-17 18:55:26 +01:00
Martchus 588024d1c5 Display progress bar again when re-checking setup detection 2023-02-15 19:26:58 +01:00
Martchus cc2b3365fb Track whether setup detection has already been started and avoid running it twice
This makes the code more explicit about avoiding triggering the setup
detection twice. Maybe it fixes
https://github.com/Martchus/syncthingtray/issues/174 but likely it does not
change the behavior (in general).
2023-02-15 19:21:48 +01:00
Martchus 3829b65f85 Update translations 2023-02-11 18:29:25 +01:00
Martchus 3e0fc09869 Allow to keep connection/launcher config as-is in wizard 2023-02-11 18:28:59 +01:00
Martchus feeafb0a87 Fix determining main config according to selection in wizard page 2023-02-11 17:38:57 +01:00
Martchus 243160d43a Don't hide `--show-wizard` argument anymore; it is no longer experimental 2023-02-11 17:37:49 +01:00
Martchus 69cbcd5364 Improve platform notes in README 2023-02-11 15:56:40 +01:00
Martchus 5fa2aafb79 Update translations 2023-02-11 15:56:05 +01:00
Martchus 98852bacc5 Avoid unconditional use of platform-specific header `unistd.h`
* Also avoid use of platform-specific tempdir
* Use functions from the C++ standard library instead
* Improve error handling of related function calls
2023-02-11 15:55:45 +01:00
Martchus cab2ddc974 Avoid hardcoding Plasma version in Plasmoid code 2023-02-07 21:02:57 +01:00
Martchus eef47e7ef1 Allow building KIO/Dolphin against Qt/KF 6
* Avoid using function that is deprecated in Qt 6
* Remove unused include not available in KF6
* Don't hardcode CMake-package-prefix of KF modules
2023-02-07 20:57:21 +01:00
Martchus 60b70a3ce0 Cherry-pick change for being able to build Syncthing itself with Go 1.20 2023-02-07 20:52:41 +01:00
Martchus 9ce76a0f6a Update translations 2023-02-07 18:16:33 +01:00
Martchus 95d2d4ce1a Fix checking config again after going back in wizard 2023-02-07 18:16:13 +01:00
Martchus b01f636a33 Update libsyncthing to v1.23.1 2023-02-07 13:30:40 +01:00
Martchus d7c5a66cc8 Cover `folder/pullerrors` as well in option for deprecated routes 2023-02-03 14:55:48 +01:00
Martchus 734fc170a4 Improve issue templates
* Add template for other issues so it doesn't look like bug reports and
  feature requests are the only options
* Encourage users to read the README before filing issues
* Clarify that issues about specific operating systems and tooling are out
  of scope
2023-02-03 14:28:28 +01:00
Martchus 6e51839fba Update translations 2023-02-03 12:44:45 +01:00
Martchus 8d7cfbe0ad Add functions to request overriding/reverting folders 2023-02-03 12:40:12 +01:00
Martchus 46c2333230 Add option to use new config route instead of deprecated one
For the sake of compatibility with older Syncthing versions, this option is
not enabled by default.
2023-02-03 12:21:18 +01:00
Martchus c7f6da6a17 Update translations 2023-01-30 16:29:29 +01:00
Martchus 103b34c64a Apply clang-format 2023-01-30 16:29:07 +01:00
Martchus 704f98e2b1 Fix race condition in wizard tests
The first test really needs to wait until Syncthing is listening. It is not
strictly required for testing the wizard's behavior. However, the next test
for connecting to a running Syncthing instance relies on Syncthing being
ready and listening.
2023-01-30 16:28:53 +01:00
Martchus 000b453790 Add further checks to wizard tests to also check options are hidden correctly 2023-01-30 15:19:44 +01:00
Martchus e67f40ca18 Enable verbose logging for tests and dump Syncthing config at the end
This is not very verbose but hopefully it'll help debugging test failures
more easily.
2023-01-30 15:19:08 +01:00
Martchus edceb2fddb Avoid repetition of if-condition when aborting requests 2023-01-30 15:13:00 +01:00
Martchus 2113dee0b9 Add note about Windows SmartScreen 2023-01-30 10:30:27 +01:00
Martchus c4eee6bc27 Adapt syncthingctl tests to latest changes 2023-01-28 20:40:00 +01:00
Martchus 4d96f791b6 Apply clang-format 2023-01-28 20:19:43 +01:00
Martchus f444574cb8 Require at least Boost 1.75
Apparently 1.66 is broken as it does not invoke the `on_exit` handler when
the process finishes. When switching from 1.66 to 1.75 on Leap 15.4 the
problem is not reproducible. Maybe this was already fixed in an earlier
version than 1.75 but 1.75 was the next version available on Leap 15.4 to
test with.
2023-01-28 20:19:28 +01:00
Martchus 802937264b Simplify code by removing dialog parent 2023-01-28 18:35:50 +01:00
Martchus a40ccb0265 Fix broken download icon
* Use version for light theme as fallback
* Add to list of required icons used for bundling icon themes
2023-01-28 17:40:46 +01:00
Martchus 818b40801a Allow referencing directories by their labels in syncthingctl 2023-01-28 17:17:34 +01:00
Martchus f865d1ffbc Use folder label as "caption" in syncthingctl instead of ID
This makes it easier to identify folders when one is not using
human-readable folder IDs and is more consistent with other UIs.
2023-01-28 17:05:49 +01:00
Martchus 0fbc4c7297 Update translations 2023-01-28 16:47:16 +01:00
Martchus 9a9ffac1ae Add further explanations in the connection configuration form
* Show required URL format as placeholder text with an example
* Add explanation where to find API key as placeholder text
* Add explanation to authentication checkbox
* Move API key above authentication as it is more important
* See https://github.com/Martchus/syncthingtray/issues/172
2023-01-28 16:46:50 +01:00
Martchus 1d333b1e19 Remove `--no-console` from default arguments
The launcher hides the process in a way that hides the console
anyways making the use of this option useless. So it is better
to remove it to avoid any negative side-effects it may have (see
https://github.com/syncthing/syncthing/issues/8248#issuecomment-1404102589).
2023-01-25 20:55:57 +01:00
Martchus 963ee46341 Update copyright notice 2023-01-17 18:32:29 +01:00
Martchus 4d56e1775e Remove test check for timeout again; we might run into it without systemd 2023-01-12 23:45:55 +01:00
Martchus 2c892d583f Fix possibly broken event handling in `SyncthingProcess`
The lock must not only be tried to be acquired. Otherwise we'd might skip
e.g. the exit handler when one of the other handlers still owns the lock.
2023-01-12 22:57:11 +01:00
Martchus bae5779cb3 Fix typo in doc string 2023-01-12 22:53:36 +01:00
Martchus a541b9ba35 Fix crash in launcher when executable is empty or not found 2023-01-12 22:53:18 +01:00
Martchus 517cf813af Remove obsolete reference to "Inotify" in extra launcher
The extra launcher was initially made for launching the "Inotify" tool but
that's now obsolete so there shouldn't be any references to it anymore.
2023-01-12 22:41:15 +01:00
Martchus 268164748f Improve error message when the executable path in the launcher is empty
* Show error "executable path is empty" instead of "Unknown error"
2023-01-12 22:39:47 +01:00
Martchus f04c482538 Allow overriding timeout of wizard's setup detection and log during test 2023-01-11 19:43:46 +01:00
Martchus c81bb178a7 Check whether setup detection has not timed out in wizard tests 2023-01-11 19:21:58 +01:00
Martchus 9fe89aa82f Disconnect lambda in wizard test 2023-01-11 19:18:37 +01:00