5f995055b0
Improve comments of browse-API-related types
2024-05-05 12:44:14 +02:00
c65586dab7
Add function to change ignore patterns
2024-05-04 23:12:53 +02:00
2ebfdb2cc2
Add function to query ignore patterns
2024-05-04 23:00:13 +02:00
83e1dd6d8a
Improve file browser
2024-05-04 22:44:00 +02:00
047a4e461e
Allow refreshing root in file browser
2024-05-01 15:58:09 +02:00
ecece11df3
Introduce basic test setup for models
...
This test setup utilizes the "mocked" configuration so far only used for
manual testing. This allows adding unit tests for models without having to
run Syncthing itself. The test is pretty basic itself at this point.
2024-04-26 23:04:47 +02:00
d99fadd1f1
Allow stopping the systemd service automatically on metered connections
...
This is the same as the feature already present in the launcher and
connection settings. Not sure how much sense it makes for systemd services
as they run rather independently from the UI but maybe it is useful.
2024-04-19 00:04:48 +02:00
80e5a0f64c
Update translations
2024-04-09 11:36:32 +02:00
96bf755af2
Apply clang-format
2024-04-09 11:35:45 +02:00
1293a36613
Fix compilation with Qt 5
2024-04-08 14:17:04 +02:00
35d03551c4
Update translations
2024-04-06 19:47:16 +02:00
fe3d7891e9
Avoid unconditional use of std::errc::stream_timeout
...
It looks like `libstdc++` and `libc++` only define this `enum class` member
when the `ETIME` macro is defined. To prevent build errors when this macro
is not defined it makes sense to check for this error only conditionally.
2024-04-05 18:04:52 +02:00
93b5d66875
Allow browsing remote/global files
2024-04-05 01:30:00 +02:00
a16a343639
Update translations
2024-03-09 11:55:48 +01:00
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
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
dff6bcab67
Apply change of global.h
template
2024-02-22 19:43:14 +01:00
572e82cec0
Fix resuming devs when network not metered anymore after 57d47de7
2024-02-18 00:53:28 +01:00
960f43f82a
Update translations
2024-02-17 18:12:24 +01:00
211a7942ef
Apply clang-format
2024-02-17 18:11:58 +01:00
00d3a8198a
Fix crash when network information backend is not available
2024-02-17 01:41:23 +01:00
0c15936119
Allow logging of some high-level notifications
2024-02-17 00:42:05 +01:00
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
57d47de74c
Avoid considering manually changed devs handling metered network
2024-02-16 17:37:52 +01:00
af26b47105
Update translations
2024-02-15 22:13:38 +01:00
106f1d5f92
Fix clazy warning about mismarked slots
2024-02-15 22:06:00 +01:00
219863be3e
Remove obsolete "currently" in remark about pauseResumeDevice()
2024-02-15 22:03:46 +01:00
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
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
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
b554805487
Update translations
2024-01-28 21:39:28 +01:00
bb4f1dea2f
Apply clang-format
2024-01-28 21:39:15 +01:00
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
76b406f4e1
Adapt tests to recent changes in certificate handling
2024-01-28 21:35:54 +01:00
6145268dd3
Adapt tests to recent changes in URL handling
2024-01-28 21:35:25 +01:00
736806eba5
Update translations
2024-01-28 20:57:47 +01:00
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
59df08b25b
Update translations
2024-01-15 21:32:25 +01:00
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
939594aea6
Update translations
2024-01-02 15:22:15 +01:00
18d90163ab
Change code for certificate handling to use the current coding style
2023-12-30 20:38:58 +01:00
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
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
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
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
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
9360bf8bc8
Fix grammar mistakes in German translation after replacing "Verzeichnis" with "Ordner"
2023-11-10 13:17:16 +01:00
9c49c41990
Adapt integration test for auth changes in Syncthing v1.26.0
2023-11-07 12:48:38 +01:00
7c932fdb31
Update translations
2023-11-07 11:58:55 +01:00
fada3c98dd
Allow configuring long-polling timeout
2023-11-06 15:06:40 +01:00