Martchus
a16a343639
Update translations
2024-03-09 11:55:48 +01:00
Martchus
9ecb9dc6c3
Improve code for mocked reply
...
* Fix missing include
* Avoid useless cast
* Convert to current coding style
2024-03-01 23:59:28 +01:00
Martchus
f2210a5691
Avoid warnings of network information backend showing in CLI
...
Lazy-initialize the network information backend so warnings it possibly
shows don't disturb the output of the CLI (which does not need the network
information backend anyway).
2024-02-29 13:46:42 +01:00
Martchus
dff6bcab67
Apply change of `global.h` template
2024-02-22 19:43:14 +01:00
Martchus
572e82cec0
Fix resuming devs when network not metered anymore after 57d47de7
2024-02-18 00:53:28 +01:00
Martchus
960f43f82a
Update translations
2024-02-17 18:12:24 +01:00
Martchus
211a7942ef
Apply clang-format
2024-02-17 18:11:58 +01:00
Martchus
00d3a8198a
Fix crash when network information backend is not available
2024-02-17 01:41:23 +01:00
Martchus
0c15936119
Allow logging of some high-level notifications
2024-02-17 00:42:05 +01:00
Martchus
df01c0538f
Fix condition for enabling/disabling notification about remote sync
...
See https://github.com/Martchus/syncthingtray/issues/232
2024-02-17 00:10:30 +01:00
Martchus
57d47de74c
Avoid considering manually changed devs handling metered network
2024-02-16 17:37:52 +01:00
Martchus
af26b47105
Update translations
2024-02-15 22:13:38 +01:00
Martchus
106f1d5f92
Fix clazy warning about mismarked slots
2024-02-15 22:06:00 +01:00
Martchus
219863be3e
Remove obsolete "currently" in remark about `pauseResumeDevice()`
2024-02-15 22:03:46 +01:00
Martchus
30fa37f048
Allow to pause automatically on metered network connections
...
* Allow to pause all devices on metered network connections (devices will
be automatically resumed when network is no longer metered)
* Allow to stop Syncthing when it was started via the built-in launcher
on metered network connections (it will be automatically started again
when the network connection is no longer metered)
* See https://github.com/Martchus/syncthingtray/issues/231
2024-02-15 21:02:18 +01:00
Martchus
699dcbdcac
Revert "Enable timeout for long-polling requests by default"
...
* This reverts commit becf6e873b
.
* This timeout might be problematic after all as it might cause
Syncthing to lose its connection not being able to connect
again on its own (see
https://github.com/Martchus/syncthingtray/issues/217#issuecomment-1859002266 )
2024-02-15 18:45:05 +01:00
Martchus
0f1bcae534
Fix build with c++utilities change to add header for compile definitions
...
* Add include directory for testhelper library manually as using the
imported target was not possibly
* Fix visibility when using libsyncthing in syncthingwidgets
* Update changed global headers along the way
2024-01-30 22:35:47 +01:00
Martchus
b554805487
Update translations
2024-01-28 21:39:28 +01:00
Martchus
bb4f1dea2f
Apply clang-format
2024-01-28 21:39:15 +01:00
Martchus
299142bd1c
Avoid hard-coding exact error message in tests
...
We don't actually care about the exact error message here and if it changes
tests would needlessly fail.
2024-01-28 21:38:40 +01:00
Martchus
76b406f4e1
Adapt tests to recent changes in certificate handling
2024-01-28 21:35:54 +01:00
Martchus
6145268dd3
Adapt tests to recent changes in URL handling
2024-01-28 21:35:25 +01:00
Martchus
736806eba5
Update translations
2024-01-28 20:57:47 +01:00
Martchus
0ba97e2355
Fix encoding of query items
...
Plus signs must be percent encoded as they are otherwise interpreted as
white-spaces, see https://github.com/Martchus/syncthingtray/issues/229 .
2024-01-28 20:57:22 +01:00
Martchus
59df08b25b
Update translations
2024-01-15 21:32:25 +01:00
Martchus
07ff8a5c1b
Avoid TLS errors on Syncthing's automatic certificate renewal
...
* Reload the certificate when running into TLS errors an it looks like the
certificate was renewed
* See https://github.com/Martchus/syncthingtray/issues/226
2024-01-15 21:29:24 +01:00
Martchus
939594aea6
Update translations
2024-01-02 15:22:15 +01:00
Martchus
18d90163ab
Change code for certificate handling to use the current coding style
2023-12-30 20:38:58 +01:00
Martchus
e45db9d668
Fix certificate errors when Schannel TLS backend is used
...
* Unify code paths for compiling expected SSL errors so in any case the
expected errors are including the error types emitted by the Schannel
backend
* See https://github.com/Martchus/syncthingtray/issues/223
2023-12-30 20:38:15 +01:00
Martchus
c1284331be
Handle redirections more nicely
...
* Log redirections in accordance with logging settings
* Load self-signed certificate as needed
2023-12-30 20:11:34 +01:00
Martchus
51e266fbac
Fix compilation with Qt 6.7.0beta1
...
Fix the wrong placement of the `-->`; not sure why this was not detected as
invalid XML before.
2023-12-21 18:24:50 +01:00
Martchus
efa6775369
Update lookup of Syncthing config dir for Unix platforms
...
* Adapt to Syncthing commit b5082f6af8b0a70afd3bc42977dad26920e72b68
* See https://github.com/Martchus/syncthingtray/issues/216
and https://github.com/syncthing/syncthing/issues/9178
2023-12-10 12:39:53 +01:00
Martchus
becf6e873b
Enable timeout for long-polling requests by default
...
This setting does work quite well in my testing so far and it can help with
the issue of the connection becoming stale (see
https://github.com/Martchus/syncthingtray/issues/209 ).
2023-11-25 23:31:42 +01:00
Martchus
9360bf8bc8
Fix grammar mistakes in German translation after replacing "Verzeichnis" with "Ordner"
2023-11-10 13:17:16 +01:00
Martchus
9c49c41990
Adapt integration test for auth changes in Syncthing v1.26.0
2023-11-07 12:48:38 +01:00
Martchus
7c932fdb31
Update translations
2023-11-07 11:58:55 +01:00
Martchus
fada3c98dd
Allow configuring long-polling timeout
2023-11-06 15:06:40 +01:00
Martchus
8aedecf5f5
Update translations
2023-10-03 14:14:01 +02:00
Martchus
aa524aa8b7
Make event handling of `syncthingctl wait-for-idle` more efficient
...
Don't go though the list of dirs/devs for every dir/dev change event. Just
go though the list once after receiving new events. This makes also the
code a little bit easier to follow.
2023-09-20 18:12:55 +02:00
Martchus
230532d15e
Do the directory/folder replacement also in German translation
2023-09-18 22:34:30 +02:00
Martchus
2073692968
Update translations
2023-09-18 22:13:41 +02:00
Martchus
63bd9bb306
Merge remote-tracking branch 'JohnVeness/folder'
2023-09-18 22:07:24 +02:00
Martchus
978636b5aa
Fix crash in `syncthingctl cat` after f5795d45c2
2023-09-18 22:05:25 +02:00
John Veness
c2a0eee029
Change Directory to Folder in user-facing strings
2023-09-17 19:33:31 +01:00
Martchus
bc02a70ae9
Update translations
2023-09-16 23:10:09 +02:00
Martchus
f5795d45c2
Show this/own device always as first device
...
See https://github.com/Martchus/syncthingtray/issues/203
2023-09-16 23:07:00 +02:00
Martchus
5fa69e4f5a
Rename `SyncthingDevStatus::OwnDevice` in accordance with UI change
2023-09-16 22:28:35 +02:00
Martchus
d623dfdf5e
Replace "own device" with "this device" where it makes sense
...
* Be consistent with official UI
* See https://github.com/Martchus/syncthingtray/issues/203
2023-09-16 22:19:04 +02:00
Martchus
081def0a9e
Update translations
2023-09-04 20:35:57 +02:00
Martchus
669923dbb6
Ensure redirects to HTTPS are enabled/allowed regardless of the Qt version
...
Technically, this is not completely true because it is not supported on Qt
versions older than 5.9.
2023-09-04 20:33:32 +02:00