Commit Graph

1470 Commits

Author SHA1 Message Date
Martchus 3bb254bf1f Update release date 2023-01-02 20:07:33 +01:00
Martchus 55514f5f91 Update libsyncthing to v1.23.0 2023-01-02 18:35:06 +01:00
Martchus 5c519fe930 Update translations 2022-12-20 18:30:37 +01:00
Martchus 3132c006c5 Allow configuring thickness of status icons 2022-12-20 18:29:05 +01:00
Martchus 6114949233 Fix resource lock of wizard test
See https://github.com/Martchus/PKGBUILDs/issues/155
2022-12-18 00:23:02 +01:00
Martchus b45a5ec5e2 Fix path handling in Dolphin menu 2022-12-17 20:39:40 +01:00
Martchus 4f29c2daba Add debugging output in wizard test 2022-12-17 20:39:03 +01:00
Martchus 6ff0f80e49
Merge pull request #167 from doronbehar/autostart-path
autostart: Enable setting via cmake Exec= path
2022-12-10 12:24:15 +01:00
Martchus a7689e5b70 Avoid duplicating whole line for AUTOSTART_EXEC_PATH configuration
This should avoid accidentally only changing one of the code paths at some
point.
2022-12-10 12:23:23 +01:00
Martchus be5043bbe7 Improve configuration of AUTOSTART_EXEC_PATH
* Avoid adding compile definition project-wide
* Use `SYNCTHINGWIDGETS_`-prefix for definition as it is done in other
  places as well
* Use `set(… CACHE …)` for this non-boolean cache variable
2022-12-10 12:19:26 +01:00
Martchus 7d8c6e7114 Update translations 2022-12-10 12:07:45 +01:00
Martchus 4fc3777a9e Paint tray menu background as normal widget when shown as normal window 2022-12-10 12:07:06 +01:00
Martchus 24a9e63005 Apply clang-format 2022-12-10 12:06:07 +01:00
Doron Behar f7e36115ab autostart: Enable setting via cmake Exec= path
See https://github.com/NixOS/nixpkgs/issues/199596 .
2022-12-09 09:05:26 +02:00
Martchus 66d485305b Avoid reference to concrete font (Noto Sans) 2022-12-06 21:36:14 +01:00
Martchus cab34eca1e Bump patch version 2022-12-06 21:25:25 +01:00
Martchus 2d6f506963 Update release date 2022-12-06 11:52:21 +01:00
Martchus fd39c0d8a3 Update libsyncthing to v1.22.2 2022-12-06 11:41:27 +01:00
Martchus e3f230546d Adapt hack for context menu positioning issues to work in windowed mode 2022-11-29 23:41:18 +01:00
Martchus 6c89b2dc0a Allow disabling positioning at fallback coordinates
This just turns the "Otherwise assume …" label into a checkbox allowing to
disable the fallback behavior completely.
2022-11-29 23:33:28 +01:00
Martchus 71c56edfd8 Allow showing Syncthing Tray as normal application/window
* Remove experimental pinning feature again and instead allow using a
  normal window
    * Pinning made it inconvenient to close the (frameless) window again
    * Pinning required hiding/showing the window which didn't look very
      nice (and setting flags directly via `QWindow` didn't work as well)
* As normal application/window positioning issues on Wayland are less
  problematic (and those aren't going to be fixed any time soon, if at all)
2022-11-29 23:06:15 +01:00
Martchus 71675c7b18 Make "Select directory …" button a WIP feature as it is broken
* Not sure yet whether it is worthwhile fixing this hack as it might break
  again if Syncthing changes something in the official UI
* See https://github.com/Martchus/syncthingtray/issues/165
2022-11-20 14:49:50 +01:00
Martchus a30f3d4062 Fix typo in German translation 2022-11-14 18:41:31 +01:00
Martchus bd3158b285 Simplify code for showing QR code 2022-11-10 21:56:21 +01:00
Martchus 8fe0c9ab75 Update translations 2022-11-10 21:52:37 +01:00
Martchus 74100611d2 Show own device ID when wizard has been concluded 2022-11-10 21:45:12 +01:00
Martchus 1d94967281 Bump soversion 2022-11-10 21:44:32 +01:00
Martchus 31038135ad Show wizard on the first launch also for the plasmoid 2022-11-10 20:50:31 +01:00
Martchus e5ffffcaec Avoid messing with user config when running wizard test 2022-11-08 20:35:52 +01:00
Martchus 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
Martchus 10ddc79382 Move code for configuring setup detection in wizard tests into separate function 2022-11-05 13:59:59 +01:00
Martchus 256e90a0cb Avoid warning about unqualified std cast 2022-11-04 16:51:01 +01:00
Martchus 693484d3aa Fix missing include for `QRegularExpression` 2022-11-04 12:04:08 +01:00
Martchus 322416734a Document useful environment variables for development 2022-11-03 22:06:09 +01:00
Martchus 521567f235 Log Syncthing's output during the wizard test for better debugging 2022-11-03 21:36:02 +01:00
Martchus 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
Martchus 860cf28e47 Update translations 2022-11-03 00:19:40 +01:00
Martchus 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
Martchus 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
Martchus f121f5f740 Fix layout related warnings and ownership problems in wizard code 2022-11-02 22:51:22 +01:00
Martchus eb81ef5ee6
Merge pull request #160 from davquar/master
Add i3 in "known to work under" section
2022-11-02 22:38:42 +01:00
Martchus 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
Martchus 2544c02b5c Update release date 2022-11-02 10:50:25 +01:00
Martchus 1288a2fc47 Update libsyncthing to 1.22.1 2022-11-02 10:26:49 +01:00
Martchus f6845cd5c0 Use `quickwizard` icon consistently 2022-10-30 21:40:42 +01:00
Martchus 4357c4b5f6 Avoid warning about shadowing 2022-10-30 21:26:12 +01:00
Martchus 777c804fe1 Update translations 2022-10-29 21:40:05 +02:00
Martchus 2b5c8b6059 Use `qEnvironmentVariable` via compat header from qtutilities 2022-10-29 21:39:43 +02:00
Martchus 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