Commit Graph

1925 Commits

Author SHA1 Message Date
Martchus 8cc3ea7dd9 Allow modifying build arguments of Go build 2024-05-16 12:17:30 +02:00
Martchus 864690be00 Fix bugtracker URL after changing the app URL
The bugtracker URL can now no longer be automatically deduced from the app
URL.
2024-05-15 18:20:07 +02:00
Martchus 0e86549ef0 Avoid code duplication for fetching items in file model 2024-05-14 21:05:56 +02:00
Martchus 1b5ce7bee5 Add installation/uninstallation section on README
See https://github.com/Martchus/syncthingtray/issues/260
2024-05-12 15:56:54 +02:00
Martchus fea37bbb97 Bump patch version 2024-05-12 15:55:34 +02:00
Martchus 744c78f64f Fix compilation against Qt 5 2024-05-08 12:42:28 +02:00
Martchus 3a5472e6e6 Update release date 2024-05-08 11:26:21 +02:00
Martchus f55d3431ff Update translations
Translations for experimental/WIP features are still unfinished.
2024-05-08 11:24:24 +02:00
Martchus 495efb0365 Update libsyncthing to v1.27.7 2024-05-08 11:07:25 +02:00
Martchus 3f6f3f631e Insert/delete loading items in file model correctly 2024-05-07 19:40:21 +02:00
Martchus 9e4208fc0d Add simple view for showing ignore patterns 2024-05-05 14:47:50 +02:00
Martchus a309926839 Show tooltip for error/loading items in file browser 2024-05-05 13:54:53 +02:00
Martchus fa2a8e27be Add documentation for `SyncthingConnection::readSetIgnores()` 2024-05-05 13:40:39 +02:00
Martchus 5ac40a2924 Fix error message of requests with callback 2024-05-05 13:39:05 +02:00
Martchus c5d3c7745a Add error/loading indications in file browser and simplify path handling 2024-05-05 13:24:37 +02:00
Martchus 506f2a295c Delete QNetworkReply correctly when destroying SyncthingFileModel
When disconnecting the callback we need to destroy the QNetworkReply
manually (as this is no longer done by the usual handler). This will also
close any network connections (if still open).
2024-05-05 12:48:01 +02:00
Martchus 5f995055b0 Improve comments of browse-API-related types 2024-05-05 12:44:14 +02:00
Martchus c65586dab7 Add function to change ignore patterns 2024-05-04 23:12:53 +02:00
Martchus 2ebfdb2cc2 Add function to query ignore patterns 2024-05-04 23:00:13 +02:00
Martchus 83e1dd6d8a Improve file browser 2024-05-04 22:44:00 +02:00
Martchus 93c9ffe5ca Fix comment about usage of qtutilities in syncthingmodels 2024-05-04 22:36:19 +02:00
Martchus 047a4e461e Allow refreshing root in file browser 2024-05-01 15:58:09 +02:00
Martchus 70293ac876 Mention website in README and project meta-data (e.g. about dialog) 2024-05-01 14:17:26 +02:00
Martchus 6b8b782aa0 Extend tests of models 2024-04-27 22:43:44 +02:00
Martchus 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
Martchus eb4c1ac761 Update default CLI parameters of the launcher
* Use command syntax and double-dashes to be in-line with what Syncthing's
  help text suggests
* Drop the `--no-restart` parameter; I probably only added it after
  checking what flags the systemd-unit file specifies. However, the
  systemd-unit file specifies `--no-restart` only because restarts are
  handled by systemd in that case. For the launcher of Syncthing Tray it
  makes probably more sense to keep restarts enabled by default.
2024-04-26 20:38:14 +02:00
Martchus f04d959ef4 Preserve size when selecting a status icon color preset
It is probably not the expected behavior that selecting a preset also
reverts the rendering resolution to the default value.
2024-04-26 20:27:59 +02:00
Martchus 5c1b94e9fc Use thick stroke with for status icon presets without background color
It looks better.
2024-04-26 20:24:35 +02:00
Martchus 1283faff96 Fix compatibility with Qt < 6.7 2024-04-19 12:59:34 +02:00
Martchus 0ee0dbd10a Update translations 2024-04-19 00:07:28 +02:00
Martchus 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
Martchus 353a380464 Bump sover 2024-04-18 22:26:08 +02:00
Martchus e674868d12 Bump patch version 2024-04-18 22:25:57 +02:00
Martchus 131b4d1649 Use explicit c'tor in all Qt Widgets GUI related classes 2024-04-12 02:35:18 +02:00
Martchus 97f6cfcf76 Remove unused include in `helper.h` 2024-04-12 02:29:24 +02:00
Martchus 15b60102a1 Workaround Qt bug in Windows 11 style
Pass a widget when invoking `QStyle::drawControl()`; the Windows 11 style
uses the widget unconditionally.

Considering the documentation explicitly states `The widget argument is
optional` and the default value for the function argument is `nullptr` this
is supposedly a bug in Qt.
2024-04-12 02:29:02 +02:00
Martchus 96f26e8f37 Fix compilation against Qt 5 2024-04-09 12:05:52 +02:00
Martchus 0bb7120c1c Update release date 2024-04-09 11:52:22 +02:00
Martchus 80e5a0f64c Update translations 2024-04-09 11:36:32 +02:00
Martchus bc62d6282c Update libsyncthing to v1.27.6 2024-04-09 11:36:03 +02:00
Martchus 96bf755af2 Apply clang-format 2024-04-09 11:35:45 +02:00
Martchus cc599efbef Fix potential problems with code related to styling the tray menu 2024-04-09 11:35:23 +02:00
Martchus 3fc7fbd542 Improve comment in web page code 2024-04-08 18:10:06 +02:00
Martchus 21144421de Fix showing external links via built-in web view
Pass profile to new web page (that is being created when a `target="blank"`
link is clicked) to avoid running into `Can not adopt content from a
different WebEngineProfile.`.
2024-04-08 18:07:27 +02:00
Martchus 1293a36613 Fix compilation with Qt 5 2024-04-08 14:17:04 +02:00
Martchus 35d03551c4 Update translations 2024-04-06 19:47:16 +02:00
Martchus 982f04bbaa Apply clang-format 2024-04-06 19:39:38 +02:00
Martchus 548251f538 Fix positioning issues with remote file browser 2024-04-06 19:38:54 +02:00
Martchus 38eb689b69 Allow showing remote file browser from Plasmoid 2024-04-06 19:35:12 +02:00
Martchus bc6db82b6b
Merge pull request #245 from dsh2dsh/master
Fix QT6 build with disabled SYSTEMD_SUPPORT (#244)
2024-04-05 23:03:32 +02:00