bd3158b285
Simplify code for showing QR code
2022-11-10 21:56:21 +01:00
8fe0c9ab75
Update translations
2022-11-10 21:52:37 +01:00
74100611d2
Show own device ID when wizard has been concluded
2022-11-10 21:45:12 +01:00
1d94967281
Bump soversion
2022-11-10 21:44:32 +01:00
31038135ad
Show wizard on the first launch also for the plasmoid
2022-11-10 20:50:31 +01:00
e5ffffcaec
Avoid messing with user config when running wizard test
2022-11-08 20:35:52 +01:00
8f4961d1b9
Set Syncthing's home dir via CLI arg in wizard tests instead of relying on env variable
2022-11-05 14:08:06 +01:00
10ddc79382
Move code for configuring setup detection in wizard tests into separate function
2022-11-05 13:59:59 +01:00
256e90a0cb
Avoid warning about unqualified std cast
2022-11-04 16:51:01 +01:00
693484d3aa
Fix missing include for QRegularExpression
2022-11-04 12:04:08 +01:00
322416734a
Document useful environment variables for development
2022-11-03 22:06:09 +01:00
521567f235
Log Syncthing's output during the wizard test for better debugging
2022-11-03 21:36:02 +01:00
0ab21657c4
Mock locating config file for wizard tests to be independent of Qt's behavior
...
Maybe overriding `HOME` is not sufficient for faking a different home dir
to be picked up by `QStandardPaths`. So this change makes
`LIB_SYNCTHING_CONNECTOR_SYNCTHING_CONFIG_DIR` a hard override and uses it
in tests to fake a different path independently from the behavior of
`QStandardPaths`.
2022-11-03 21:35:03 +01:00
860cf28e47
Update translations
2022-11-03 00:19:40 +01:00
0ca1fd1638
Don't make altering config dependend on present port
...
To workaround the same problem mentioned in the previous commit.
2022-11-03 00:19:18 +01:00
ad81c29a1d
Remove check for Syncthing's port as it doesn't work when 8384 is already used
2022-11-02 23:55:45 +01:00
f121f5f740
Fix layout related warnings and ownership problems in wizard code
2022-11-02 22:51:22 +01:00
eb81ef5ee6
Merge pull request #160 from davquar/master
...
Add i3 in "known to work under" section
2022-11-02 22:38:42 +01:00
040d3e7295
Bump patch version
2022-11-02 22:37:45 +01:00
Davide Quaranta
a9373000f4
Add i3 in "known to work under" section
2022-11-02 19:35:50 +01:00
2544c02b5c
Update release date
2022-11-02 10:50:25 +01:00
1288a2fc47
Update libsyncthing to 1.22.1
2022-11-02 10:26:49 +01:00
f6845cd5c0
Use quickwizard
icon consistently
2022-10-30 21:40:42 +01:00
4357c4b5f6
Avoid warning about shadowing
2022-10-30 21:26:12 +01:00
777c804fe1
Update translations
2022-10-29 21:40:05 +02:00
2b5c8b6059
Use qEnvironmentVariable
via compat header from qtutilities
2022-10-29 21:39:43 +02:00
037c5a309b
Fail tests early when Syncthing exists unexpectedly or cannot be started at all
...
Before tests ran until a timeout was reached and failed not with a clear
error message stating the root cause. This is now the case and can be
tested by setting `SYNCTHING_PATH` to e.g. false/true or a non-existing
binary.
This may help with the test issue mentioned in
https://github.com/Martchus/syncthingtray/issues/144 although I could
never reproduce the concrete error message myself.
2022-10-29 21:22:21 +02:00
99f8442567
Do not pretend SyncthingTestInstance
inherits from QObject
2022-10-29 21:05:13 +02:00
48d78c1758
Pass context when connecting signals for tests
2022-10-29 20:32:54 +02:00
07dc4cac60
Avoid triggering the setup detection of wizard automatically when going back
...
Otherwise it is not really possible to go back to the start page. Besides,
triggering the setup detection again explicitly might make it more obvious
what's going on.
2022-10-28 15:00:11 +02:00
84acab68aa
Determine whether autostart is enabled in wizard's setup detection once
...
Instead of checking whether autostart is enabled each and every time it is
used. Also show it in details from setup detection.
2022-10-28 14:10:19 +02:00
9c3f6da89f
Set autostart checkbox state of wizard to current autostart state
2022-10-28 13:55:10 +02:00
bb59f6a230
Streamline coding style in autostart-related code
2022-10-28 13:54:16 +02:00
992e754dd7
Enable wizard without WIP flag
...
The wizard likely still needs improvement but it is time to get more
feedback.
2022-10-27 19:23:56 +02:00
1b1b9129be
Avoid icon being rendered to big in wizard under Windows
...
Apparently Qt isn't handling the icon size very well (icon ends up clipped)
on its own so let's just use a pixmap icon of fixed size.
2022-10-27 19:19:13 +02:00
328417d1f3
Fix compilation without systemd support
2022-10-24 15:37:53 +02:00
8e484f246e
Allow overriding Syncthing config dir via environment variable
2022-10-23 15:05:47 +02:00
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
74580d382b
Allow testing systemd integration with a test unit file
2022-10-22 13:01:25 +02:00
6594a667af
Update translations
2022-10-22 12:40:57 +02:00
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
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
ba0f60c6a8
Update translations
2022-10-18 22:31:02 +02:00
b8cbe47099
Prevent doing setup detection when closing wizard in main config step
2022-10-18 22:25:51 +02:00
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
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
db60c73d8d
Fix missing whitespace
2022-10-18 21:53:15 +02:00
056a8049f7
Update info about Plasmoid-sizing for Plasma 5.26
2022-10-17 23:19:28 +02:00
f0ebd75ce0
Add missing German translations
2022-10-17 23:05:30 +02:00
f8a1c35735
Fix typo in German translation
2022-10-17 21:40:14 +02:00