Commit Graph

1126 Commits

Author SHA1 Message Date
Martchus e73350c982 Mention "High contrast" option in dark mode workaround 2021-09-17 22:39:13 +02:00
Martchus 44d69cd3bf Remove the dark stylesheet as it is not working well and a different palette is enough 2021-09-17 22:23:29 +02:00
Martchus dde61bb783 Document workaround for missing support for Windows 10 dark mode 2021-09-17 22:22:32 +02:00
Martchus 920bf11269 Move platform-specific workarounds to "Known bugs" 2021-09-17 22:21:14 +02:00
Martchus a581180924 Add reference to QTBUG-72028 2021-09-17 00:21:33 +02:00
Martchus da470c4ddc Ignore Plasma deprecation warnings to still be able to treat warnings as errors
Not sure how to fix the errors because Plasma's own applets haven't been
ported yet.
2021-09-16 22:58:52 +02:00
Martchus b7a8a73f2a Import static icon engine plugin 2021-09-16 21:33:46 +02:00
Martchus a8c22e4168 Remove no longer used "view-barcode" icon 2021-09-15 20:38:21 +02:00
Martchus f384d2a496 Use "qrcode" icon from ForkAwesome
It fits better than "view-barcode" from the icon theme. This also tests
using ForkAwesome icons via the custom icon engine. Unfortunately this
does not seem to work within the Plasmoid so far.
2021-09-15 20:37:21 +02:00
Martchus 1d239cca51 Avoid multiple definitions error when building models as static lib itself 2021-09-11 21:37:43 +02:00
Martchus 04a57c7e9f Fix ForkAwesome icons in plasmoid 2021-09-11 20:39:37 +02:00
Martchus 68bc50d46c Ensure resource for font file of static qtfontawesome is not dropped 2021-09-11 20:02:05 +02:00
Martchus f5c6444b4c Improve code for bundling qtforkawesome 2021-09-11 19:18:34 +02:00
Martchus 66448a0774 Adapt to changes in qtforkawesome 2021-09-11 16:45:09 +02:00
Martchus 43fcb9f71b Migrate to ForkAwesome
* FontAwesome uses a propritary build system so let's move to its fork
  ForkAwesome similar to Syncthing
    * See https://github.com/syncthing/syncthing/pull/5237
* Bundle the font file instead of having the SVGs directly within
  Syncthing Tray's own repository
2021-09-11 02:20:38 +02:00
Martchus ac6ee45017 Update libsyncthing to v1.18.2 2021-09-07 14:46:16 +02:00
Martchus 8d6a9a042e Adapt config parser tests to changed GUI address 2021-08-25 21:48:33 +02:00
Martchus b828d7c274 Fix launching Syncthing with program/args containing non-ASCII characters
* Pass program/args for Syncthing launcher using UTF-16 under Windows
* See https://github.com/Martchus/syncthingtray/issues/107
2021-08-25 00:15:00 +02:00
Martchus 6aac7b0eae Suppress console Window under Windows
See https://github.com/Martchus/syncthingtray/issues/108
2021-08-24 23:50:28 +02:00
Martchus 7cf56732bd Remove `-no-console` from default args on non-Windows platforms
* According to https://docs.syncthing.net/users/syncthing.html this flag is
  Windows-only.
* See https://github.com/Martchus/syncthingtray/issues/106
2021-08-20 14:16:48 +02:00
Martchus 7e7eab9eb8 Hardcode `127.0.0.1` in test setup instead of relying on DNS resolution of `localhost`
This should not be necessary but apparently helps with test failures
reported in https://github.com/Martchus/syncthingtray/issues/105.
2021-08-09 13:05:12 +02:00
Martchus 09e8955c06 Remove `const_cast` workaround for dealing with certificate errors 2021-08-07 19:42:15 +02:00
Martchus 078145f354 Require qtutilities 6.5.0 for change to `webviewincludes.h` 2021-08-07 18:43:32 +02:00
Martchus d21c7cdf2a Port Qt WebEngine related features to Qt 6.2.0 (beta2) 2021-08-07 18:05:30 +02:00
Martchus f2db5e737c Fix typo in logging of tests 2021-08-07 16:03:57 +02:00
Martchus 2152ae8a30
Merge pull request #104 from yejingchen/patch-1
Fix cmakelists to find correct qtutilities name
2021-08-06 11:46:20 +02:00
yejingchen 8e1385bd2e
Fix cmakelists to find correct qtutilities name
Hit this when building syncthingtray-qt6 1.1.9 from AUR. Cmake chose to find qtutilities instead of qtutilities-qt6 and failed to build.
2021-08-06 10:44:00 +08:00
Martchus a1d78a2f30 Update translations 2021-08-03 14:09:02 +02:00
Martchus a1fddfcb07 Apply clang-format/cmake-format 2021-08-03 14:06:17 +02:00
Martchus f55814d6e5 Update libsyncthing to v1.18.1 2021-08-03 14:02:18 +02:00
Martchus fb09378935 Ensure files for mocked configuration are found when testing plasmoid 2021-08-02 23:38:58 +02:00
Martchus 95800eb1ca Fix setting folder icon in plasmoid's downloads page 2021-08-02 23:38:18 +02:00
Martchus 39497227fa Fix section headings of contributing and nested sections 2021-08-02 19:58:30 +02:00
Martchus d12061184b Improve wording in build instructions 2021-08-02 19:52:21 +02:00
Martchus 61c79352a4 Remove obsolete note about Qt WebEngine 2021-08-02 19:49:35 +02:00
Martchus dfbf6e7ce9 Improve build instructions to deal with symlinks under Windows 2021-07-25 17:25:30 +02:00
Martchus aabd4215ad
Merge pull request #101 from swills/non-systemd-build-fix
Fix build with systemd disabled
2021-07-15 17:06:02 +02:00
Steve Wills 0976b9d6b7 Fix build with systemd disabled 2021-07-15 10:01:38 -04:00
Martchus 4c6315b450 Terminate Syncthing gracefully via REST-API on non-UNIX platforms (2)
A follow up to 0faacaa7c8 to cover the stop button within the launcher
and terminating Syncthing on shutdown/exit. To find the relevant connection
the connection settings are searched for a local URL where the port matches
the port from the Syncthing process log.
2021-07-15 02:38:26 +02:00
Martchus 69f466be66 Fix crash when systemd unit status changes when settings page has already been destroyed 2021-07-15 02:21:18 +02:00
Martchus e9a278a248 Update libsyncthing to v1.18.0 2021-07-06 15:32:18 +02:00
Martchus 44c372c78e Update translations 2021-07-03 19:34:08 +02:00
Martchus 0ef3b80447 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:29:49 +02:00
Martchus 9f7a19eabc Update translations 2021-07-03 18:50:59 +02:00
Martchus 9fc96a847a Add button to show Syncthing releases/downloads in launcher 2021-07-03 18:44:37 +02:00
Martchus 1ccac1e145 plasmoid: Use `data-error` icon instead of the old `emblem-important`
Loading the icon for the button from resources ceased to work (maybe when
switching to `PlasmaComponents3.ToolButton`). This change works around the
problem and the old icon no longer needs to be bundled.
2021-07-01 18:26:09 +02:00
Martchus 5463b15a29 State dependency to `Boost.Asio` explicitely 2021-07-01 17:45:29 +02:00
Martchus 1acfb8c896 Consider directories still out-of-sync if there are pull errors
Syncthing can report an "idle" status despite pull errors. This still means
the directory is out-of-sync. With this change the out-of-sync status is
only cleared when reading a "FolderSummary" event without pull errors (or
temporarily if the directory is e.g. scanning).
2021-07-01 17:40:23 +02:00
Martchus fdc73bed60 Query only one event at the beginning (to find the ID of the latest event)
Syncthing's official web UI also does the first query for events like this.
This should make loading times a bit faster and removes the possibility of
picking-up obsolete events (which was always problematic).
2021-07-01 17:37:47 +02:00
Martchus 6cfa8a96b6 Do not buffer further output when `readData()` is called on empty buffer
See comment; otherwise calls to `readAll()` with no `bytesAvailable()`
like done in the `syncthingctl` tests fail sporadically as async read
operations are started concurrently.
2021-07-01 17:32:49 +02:00