Commit Graph

1986 Commits

Author SHA1 Message Date
Martchus e67143eb96 Avoid deprecation warning with Qt 6.8 2024-06-15 00:13:39 +02:00
Martchus 669d83f595 Adapt file model tests to recent changes 2024-06-14 23:58:23 +02:00
Martchus d6885624c0 Show where file is present in file browser 2024-06-14 23:46:53 +02:00
Martchus a7b2f0eaa6 Improve behavior of ignore pattern managment via file browser 2024-06-14 22:36:55 +02:00
Martchus 0729e180cb Improve dialog for confirming ignore pattern changes from file browser
* Show diff in proper text view with basic syntax highlighting
* Allow manual edits before applying changes
2024-06-14 21:23:35 +02:00
Martchus 8a51248791 Allow compilation of tray application and backend libs for web assembly
Make use of all Qt features conditional that are not supported on the
web assembly platform (mainly TLS support and QProcess).

Note that HTTPs is supposed to work nevertheless as long as the certificate
matches (with the usual corss-site scripting limitations).
2024-06-10 22:42:54 +02:00
Martchus 6646ce9a7b Split tests for ignore pattern matching and move them to separate file 2024-06-10 20:41:39 +02:00
Martchus 8a4f7f5b27 Support "/" path separators in ignore patterns under Windows as well
It is actually possible to use normal "/" under Winodows as well in ignore
patterns so it makes sense if the matching supports both, "/" and "\".
2024-06-09 13:48:23 +02:00
Martchus 468b7f8b6b Make the `TextViewDialog` an actual `QDialog` 2024-06-08 21:38:00 +02:00
Martchus 11da31b21f Ensure bundled OpenSSL libraries have the name expected by the Qt framework 2024-06-08 21:19:59 +02:00
Martchus 91dd27e4ad Log whether TLS support is available under Android 2024-06-08 21:05:32 +02:00
Martchus 5221549f43 Allow creating an APK for Android 2024-06-08 20:59:56 +02:00
Martchus f1762a4620 Allow enabling insecure TLS connections for testing 2024-06-08 20:57:17 +02:00
Martchus ef111fb0aa Improve dialog for editing ignore patterns 2024-06-07 00:45:26 +02:00
Martchus 1794bc5c81 Apply clang-format 2024-06-06 23:57:51 +02:00
Martchus 13324a154d Fix message box buttons when showing notification from file model 2024-06-06 23:57:27 +02:00
Martchus 30bcb8f8af Mention website in the download section 2024-06-06 23:09:30 +02:00
Martchus d53788c2f5 Bump patch version 2024-06-06 22:54:33 +02:00
Martchus 7b2f0bac46 Update release date 2024-06-04 19:02:56 +02:00
Martchus 619be78c54 Update libsyncthing to v1.27.8 2024-06-04 18:58:22 +02:00
Martchus f585647f8b Fix compilation against Qt 5 2024-06-03 11:56:41 +02:00
Martchus effb1de0f1 Add actions to specifically ignore/include items selected in file browser 2024-06-02 15:33:44 +02:00
Martchus 5769962965 Fix restoring web view geometry
The geometry must not be saved in the destructor because at this point it
seems already invalidated leading to the next web view window being
restored to a very small size. It works when saving the geometry in the
close event instead.
2024-06-02 14:05:26 +02:00
Martchus 3e259bd6cf Allow expanding paths in libsyncthing directory paths
Implements https://github.com/Martchus/syncthingtray/issues/243
2024-06-02 13:28:36 +02:00
Martchus 5a123d9b64 Add tests for diffing and compuation of new ignore patterns in file model 2024-06-01 23:17:08 +02:00
Martchus df6261a9f3 Avoid warnings about getters possibly mismarked as slots 2024-06-01 22:06:27 +02:00
Martchus 23b3eca012 Prevent warning about shadowed variable 2024-06-01 22:00:42 +02:00
Martchus a48888a062 Extend unit tests of `SyncthingFileModel` 2024-05-31 22:37:16 +02:00
Martchus 7114adb696 Allow modifying ignore patterns 2024-05-31 17:05:00 +02:00
Martchus 062e1107f3 Update translations 2024-05-31 16:13:29 +02:00
Martchus efa406f717 Apply clang-format 2024-05-31 16:13:29 +02:00
Martchus 2ed7f122fe Add basic action to allow removing related ignore patterns
This is probably not a very useful action but a first step to manipulate
ignore patterns based on a selection in the file browser. It has not been
tested very well but the whole feature is behind a feature flag so that is
ok for now.
2024-05-31 16:13:05 +02:00
Martchus c96ed47e33 Update server domain 2024-05-31 16:13:05 +02:00
Martchus f8d1b25759
Merge pull request #265 from rasa/rasa-typo2
docs: Fix typo in README re scoop install
2024-05-26 20:04:41 +02:00
Ross Smith II 20e555054b
docs: Fix typo in README re scoop install 2024-05-26 09:36:33 -07:00
Martchus c244bfa029
Merge pull request #264 from rasa/master
docs: Linkify README, add Windows CLI install commands
2024-05-26 16:47:31 +02:00
Ross Smith II 5d11bc3f94
Add missing linkify to README.md 2024-05-26 07:16:23 -07:00
Ross Smith II f78568e89c
Update README.md
Co-authored-by: Martchus <martchus@gmx.net>
2024-05-26 07:05:10 -07:00
Ross Smith II a700bef436
Update README.md
Co-authored-by: Martchus <martchus@gmx.net>
2024-05-26 07:04:01 -07:00
Ross Smith II 2dc2a4d9bb
docs: Linkify README, add Windows CLI install commands 2024-05-25 22:07:04 -07:00
Martchus 78575c088c Fix very bad contrast of status text on selected view items with Windows styles 2024-05-26 00:55:11 +02:00
Martchus 29251fe422 Avoid ugly vertical lines in dir/dev view with Windows 11 style
This change techically affects all styles but it seems only the Windows 11
style draws these lines so noisily anyway.
2024-05-25 23:56:48 +02:00
Martchus e9022316f4 Allow selecting single items in file model 2024-05-25 20:05:17 +02:00
Martchus 919c81ea94 Actually deselect all items when discarding selection in file model 2024-05-25 19:42:05 +02:00
Martchus 8cb24216a3 Fix updating partially-checked state after refreshing in file model 2024-05-25 19:35:18 +02:00
Martchus 6c388abac1 Avoid hardcoding the path separator in `SyncthingFileModel` 2024-05-25 19:21:45 +02:00
Martchus 22cc048e33 Fix various details about `SyncthingIgnorePattern`
* Fix handling of patterns ending with `*` or `**`
* Fix parsing comments
* Add further test cases
* Improve documentation
* Fix compilation against Qt 5
* Support different path separators
2024-05-25 19:11:36 +02:00
Martchus ae865087f7 Initialize SyncthingFileModel correctly 2024-05-25 04:56:28 +02:00
Martchus 3ffe62b289 Show relevant ignore pattern for items in file browser 2024-05-25 04:47:53 +02:00
Martchus fc47cea9e5 Avoid building systemd integration by default when compiling for Android
The Qt D-Bus module is not available on Android builds so this would lead
to an configuration error.
2024-05-23 00:53:18 +02:00