Commit Graph

1830 Commits

Author SHA1 Message Date
219863be3e Remove obsolete "currently" in remark about pauseResumeDevice() 2024-02-15 22:03:46 +01:00
ed1ac2c2ed Fix sizing/wrapping/clipping problem of note in connection settings 2024-02-15 22:01:21 +01:00
f7a1782ba4 Enable network information support plugins for static builds 2024-02-15 21:52:35 +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
9816b6cf51 Bump minor version 2024-02-15 18:46:13 +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
29fad4918b Fix typos via codespell 2024-02-15 18:45:05 +01:00
a5a1423ae6 Mention key used for signing binaries in README 2024-02-07 17:48:34 +01:00
69cf43c6cb Update release date 2024-02-06 19:02:25 +01:00
7ae42378e8 Update libsyncthing v1.27.3 2024-02-06 13:24:15 +01:00
5347e7a770 Fix typo in README 2024-02-01 15:59:00 +01:00
7090bdcdc9 Update translations 2024-01-30 23:11:15 +01:00
da3ad3347d Fix remaining problems preventing unity builds to work
* Avoid multiple definitions of `centerObj()`; this was very bad anyway
* Include `c++utilities/tests/testutils.h` upfront so the formatting
  operators are included before CppUnit
2024-01-30 23:11:00 +01:00
57e3ad67ea Avoid inconsistent use of config defs in syncthingwidgets for unity builds
Otherwise unity builds fail due to macro redefinitions. It doesn't really
matter what name is used in the web view files anyway (as it just changes
some environment variables used for debugging).
2024-01-30 22:56:19 +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
577b814b71 Use CMAKE_INSTALL_LIBDIR correctly when installing libsyncthinginternal 2024-01-30 00:45:28 +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
4265a94a63 Apply clang-format 2024-01-27 02:56:53 +01:00
afe9cb2135 Add actions/shortcuts to desktop file
* Remove the old approach to specify actions as it is lacking the `Actions`
  key and doesn't allow customizing the executable name
* Add actions for most important use cases
2024-01-27 02:56:33 +01:00
5667aad412 Support Syncthing's shell completion
Syncthing added shell completion in v1.27.3-rc.1 (commit
78db3af8c5e8bd08a9773b0c4da233a52ed4cfe6). This change integrates
that shell completion with Syncthing Tray's long existing completion (which
only supports Bash so far).
2024-01-26 01:48:47 +01:00
4db88620f6 Apply cmake-format 2024-01-23 12:22:16 +01:00
28d323db14 Update libsyncthing to v1.27.3-rc2
Rebase against changes for shell completion; invoking Syncthing's shell
completion hasn't been implemented, though
2024-01-23 12:21:45 +01:00
2a4d0debcb Update copyright date 2024-01-23 00:27:06 +01:00
13ddb6dba5 Apply clang-format 2024-01-15 21:32:38 +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
a6e7a0002c Bump sover 2024-01-15 21:29:24 +01:00
1f2a1ddb2e Update README for Windows 11 style that comes with Qt 6.7 2024-01-07 23:04:48 +01:00
25971b6fd5 Update resource paths in UI file after folder structure has changed 2024-01-07 22:35:01 +01:00
01fe57492c Add and update tab-stops explicitly where default order is wrong 2024-01-07 22:30:48 +01:00
400dd31b2d Bump patch version 2024-01-07 21:48:35 +01:00
de84e7baec Update release date 2024-01-02 15:28:46 +01:00
939594aea6 Update translations 2024-01-02 15:22:15 +01:00
e738555224 Update libsyncthing to v1.27.2 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
ddd4f6b411 Fix compilation of libsyncthing interface tests on Windows 2023-12-30 19:24:28 +01:00
8aefad41ab Allow compiling the Syncthing library interface with MSVC
I haven't tested linking and execution yet; it would probably require to
use e.g. `mingw-w64-ucrt-x86_64-go` from MSYS2 (instead of
`mingw-w64-x86_64-go` where the stdlib clashes).
2023-12-30 19:23:56 +01:00
bf884ba4cb Make commands for compiling Syncthing itself more portable
* Use CMake's command mode to set environment variables
* Only make use of `CMAKE_RANLIB` if set
* Avoid using the compiler/tools/flags from CMake via cgo when building
  with MSVC as this doesn't work; this is problematic because stdlibs will
  not necassarily match but this way we can at least compile the static
  library
2023-12-30 19:19:53 +01:00
c36b3223f1 Fix displaying issues with Windows 11 style
* Set content margins to take shadow effects into account
* Fix behavior when showing the QMenu not as `Qt::Popup`
    * Prevent polishing as it would wrongly override our window flags
    * Use the background color from the application's palette as the
      background color from the QMenu itself is changed by the Windows 11
      style
2023-12-25 00:48:29 +01:00
97b4ccfd4d Document the command-line interface 2023-12-24 17:15:39 +01:00
26f468471a Revert "Use QWizard::AeroStyle also with Qt 6.7's windows11 style"
This reverts commit 8cac56c246 and extends
the related comment as the new Windows 11 style actually supports custom
palettes and then wizard's aero style breaks in the same way as with
Fusion.
2023-12-23 23:51:44 +01:00
549be45b55 Mock setting the autostart path in the wizard test
This test would keep the autostart disabled but override an existing
autostart entry (see https://github.com/Martchus/syncthingtray/issues/221).
With this change it will no longer override an existing entry. Reading and
writing the autostart entry is now mocked and properly checked.
2023-12-22 17:33:21 +01:00