Commit Graph

1997 Commits

Author SHA1 Message Date
5b5aeaa9ab Show current re-connect interval in connection settings 2024-06-20 23:08:41 +02:00
7a47bc3e4f Fix build error under Fedora 38 with 6.4.3
This will hopefully fix:

```
[   56s] /home/abuild/rpmbuild/BUILD/syncthingtray-1718839812.fa5a7b5/redhat-linux-build/syncthingmodel/syncthingmodel-qt6_autogen/EWIEGA46WW/moc_syncthingfilemodel.cpp:177:5:   required from here
[   56s] /usr/include/qt6/QtCore/qmetatype.h:842:23: error: invalid application of 'sizeof' to incomplete type 'QAction'
[   56s]   842 |         static_assert(sizeof(T), "Type argument of Q_PROPERTY or Q_DECLARE_METATYPE(T*) must be fully defined");
```
2024-06-20 14:30:02 +02:00
fa5a7b5c64 Allow restarting Syncthing when the built-in Syncthing library is used 2024-06-20 01:30:12 +02:00
8f78d14215 Fix re-connect when process status is considered and Syncthing restarted
When Syncthing restarts itself, its main process is not terminating (as its
main process is just a monitoring process). The "Consider process status …"
feature was relying on the process being stopped and started again as
trigger for trying to re-connect, though. To make it also work when
Syncthing restarts itself, this change checks the log for an exiting
message of the monitoring process and considers the process running again
when the GUI address is logged again.

This fixes https://github.com/Martchus/syncthingtray/issues/236.

Notifications are not (yet) suppressed. (Not sure how easy it is and how
much sense it makes.)
2024-06-20 01:22:45 +02:00
ce92ccf677 Avoid warning about missing emit when emitting aboutToClose() 2024-06-20 01:10:34 +02:00
dcba030e5d Consider stroke width and render size when using palette-based icon 2024-06-19 21:23:17 +02:00
f4641f23b5 Fix setting palette of icon manager 2024-06-18 19:30:11 +02:00
dbb9cc40e9 Update translations 2024-06-18 19:19:59 +02:00
30b1edbfb1 Use actual foreground color in theme-aware preset 2024-06-18 19:19:43 +02:00
a33271c293 Update translations 2024-06-17 23:05:20 +02:00
250f4bf97d Add option to configure presets with transparent background depending on palette
Implements https://github.com/Martchus/syncthingtray/issues/270
2024-06-17 22:37:34 +02:00
e67143eb96 Avoid deprecation warning with Qt 6.8 2024-06-15 00:13:39 +02:00
669d83f595 Adapt file model tests to recent changes 2024-06-14 23:58:23 +02:00
d6885624c0 Show where file is present in file browser 2024-06-14 23:46:53 +02:00
a7b2f0eaa6 Improve behavior of ignore pattern managment via file browser 2024-06-14 22:36:55 +02:00
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
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
6646ce9a7b Split tests for ignore pattern matching and move them to separate file 2024-06-10 20:41:39 +02:00
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
468b7f8b6b Make the TextViewDialog an actual QDialog 2024-06-08 21:38:00 +02:00
11da31b21f Ensure bundled OpenSSL libraries have the name expected by the Qt framework 2024-06-08 21:19:59 +02:00
91dd27e4ad Log whether TLS support is available under Android 2024-06-08 21:05:32 +02:00
5221549f43 Allow creating an APK for Android 2024-06-08 20:59:56 +02:00
f1762a4620 Allow enabling insecure TLS connections for testing 2024-06-08 20:57:17 +02:00
ef111fb0aa Improve dialog for editing ignore patterns 2024-06-07 00:45:26 +02:00
1794bc5c81 Apply clang-format 2024-06-06 23:57:51 +02:00
13324a154d Fix message box buttons when showing notification from file model 2024-06-06 23:57:27 +02:00
30bcb8f8af Mention website in the download section 2024-06-06 23:09:30 +02:00
d53788c2f5 Bump patch version 2024-06-06 22:54:33 +02:00
7b2f0bac46 Update release date 2024-06-04 19:02:56 +02:00
619be78c54 Update libsyncthing to v1.27.8 2024-06-04 18:58:22 +02:00
f585647f8b Fix compilation against Qt 5 2024-06-03 11:56:41 +02:00
effb1de0f1 Add actions to specifically ignore/include items selected in file browser 2024-06-02 15:33:44 +02:00
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
3e259bd6cf Allow expanding paths in libsyncthing directory paths
Implements https://github.com/Martchus/syncthingtray/issues/243
2024-06-02 13:28:36 +02:00
5a123d9b64 Add tests for diffing and compuation of new ignore patterns in file model 2024-06-01 23:17:08 +02:00
df6261a9f3 Avoid warnings about getters possibly mismarked as slots 2024-06-01 22:06:27 +02:00
23b3eca012 Prevent warning about shadowed variable 2024-06-01 22:00:42 +02:00
a48888a062 Extend unit tests of SyncthingFileModel 2024-05-31 22:37:16 +02:00
7114adb696 Allow modifying ignore patterns 2024-05-31 17:05:00 +02:00
062e1107f3 Update translations 2024-05-31 16:13:29 +02:00
efa406f717 Apply clang-format 2024-05-31 16:13:29 +02:00
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
c96ed47e33 Update server domain 2024-05-31 16:13:05 +02:00
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
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