Commit Graph

1904 Commits

Author SHA1 Message Date
Martchus dee94844be Fix compilation with Qt < 6.6 2024-02-22 16:57:02 +01:00
Martchus 8372dfbcaa Update translations 2024-02-22 14:31:16 +01:00
Martchus 43caad8676 Ensure Fork Awesome icons are re-rendered on device pixel ratio change 2024-02-22 01:10:04 +01:00
Martchus abf1ad6c5a Support option for metered networks in Plasmoid as well 2024-02-19 18:34:36 +01:00
Martchus 827251004e Configure checkboxes for metered connection also if there's no launcher
Otherwise the checkbox is just visible but doesn't do anything.
2024-02-19 18:33:27 +01:00
Martchus 45c48d989b Improve form layout in connection option page 2024-02-19 18:31:25 +01:00
Martchus 1e56f3dd82 Fix consistency issue with punctuation in German translation 2024-02-18 15:39:09 +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 d2dc15fdde Make it more clear when the options regarding metered connections are not available
Since this feature will likely not be available in mingw-w64-based builds of
the next release (due to missing cppwinrt) it is important to make it clear
when those options don't actually work. With this change the checkboxes are
completely disabled in case the feature is not available (instead of just
providing the information via the tooltip).
2024-02-17 18:07:46 +01:00
Martchus 274a220c2c Log available network information backends in the error case 2024-02-17 02:06:38 +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 f4aa2b22ce Avoid starting Syncthing unintentionally when connection not metered anymore 2024-02-17 00:04:19 +01:00
Martchus 3b8d4f3d89 Fix crash when network information cannot be loaded 2024-02-16 20:03:51 +01:00
Martchus 519fd40f62 Mention names of Qt 6 split packages for openSUSE and Fedora 2024-02-16 19:19:21 +01:00
Martchus 93ecee3e71 Fix version constraint for `qputenv` usage
The QByteArray overload has only been removed since Qt 6.5 and without the removal
a QByteArray is attempted to be instantiated.
2024-02-16 19:18:02 +01:00
Martchus 57d47de74c Avoid considering manually changed devs handling metered network 2024-02-16 17:37:52 +01:00
Martchus 4a61f552a2 Update translations 2024-02-15 22:22:28 +01:00
Martchus 643f0bf5ff Fix initialization of `m_relevantConnection` 2024-02-15 22:22:18 +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 ed1ac2c2ed Fix sizing/wrapping/clipping problem of note in connection settings 2024-02-15 22:01:21 +01:00
Martchus f7a1782ba4 Enable network information support plugins for static builds 2024-02-15 21:52:35 +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 9816b6cf51 Bump minor version 2024-02-15 18:46:13 +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 29fad4918b Fix typos via codespell 2024-02-15 18:45:05 +01:00
Martchus a5a1423ae6 Mention key used for signing binaries in README 2024-02-07 17:48:34 +01:00
Martchus 69cf43c6cb Update release date 2024-02-06 19:02:25 +01:00
Martchus 7ae42378e8 Update libsyncthing v1.27.3 2024-02-06 13:24:15 +01:00
Martchus 5347e7a770 Fix typo in README 2024-02-01 15:59:00 +01:00
Martchus 7090bdcdc9 Update translations 2024-01-30 23:11:15 +01:00
Martchus 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
Martchus 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
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 577b814b71 Use CMAKE_INSTALL_LIBDIR correctly when installing libsyncthinginternal 2024-01-30 00:45:28 +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 4265a94a63 Apply clang-format 2024-01-27 02:56:53 +01:00
Martchus 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
Martchus 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