b02a3a0c9b
Improve tab bar of Plasmoid (use footer and improve sizing of elements)
2021-12-01 18:53:23 +01:00
cb1071b3ad
Improve Plasmoid to make it look more like official Plasmoids
...
* Use header (with integrated buttons when shown as part of the system tray
Plasmoid)
* Use less space so it fits into the system tray plasmoid (at least on a
full HD screen with 96 dpi)
* Show action for internal errors only if there are internal errors (like
in the Qt Widgets based GUI)
* Port away from deprecated tab bar (which is not used in official
Plasmoids anymore as well)
* Simplify code for ensuring the minimum size as configured (still does
not work within the system tray Plasmoid)
2021-11-30 19:43:26 +01:00
Apparatus_Zero
463f1a0ac6
Add some shields and fix minor typo in README
2021-11-18 13:22:48 +01:00
811c07da6a
Fix displaying issues of plasmoid
...
* Set a certain size for the icons to avoid them from being too big or too
small
* Fix search button
2021-11-13 22:51:04 +01:00
3d2930cb1d
Use file-text
icon for log as it looks more in-line with the other icons
2021-11-13 22:49:45 +01:00
e81166cd79
Fix several warnings when building against Qt 6
2021-11-04 00:16:27 +01:00
5b9b69625b
Remove surplus brace in about dialog
2021-11-04 00:04:41 +01:00
a5f062032a
Update translations
2021-11-02 18:01:38 +01:00
c1f3e57a9c
Use ForkAwesome icons in consistency with Syncthing's official GUI
...
* Use single cog for settings (instead of cogs)
* Use "refresh" for re-scanning all dirs (instead of search)
2021-11-02 18:01:00 +01:00
ba418d9bfb
Update libsyncthing to v1.18.4
2021-11-02 17:52:20 +01:00
be92d5366c
Show name instead of ID in recent changes
...
See https://github.com/Martchus/syncthingtray/issues/115
2021-10-19 23:35:28 +02:00
5ef0523458
Remove icons which are no longer needed
2021-10-16 21:28:59 +02:00
19bede39a2
Simplify coloring of common ForkAwesome icons
...
The normal QPalette can be used to determine the icon color so it is
unnecessary to use the flag for custom bright colors here (which is only
intended for colors which are not on the standard QPalette).
2021-10-16 21:20:12 +02:00
de3205df00
Use ForkAwesome icons also in RecentChangesPage of Plasmoid
2021-10-15 23:16:58 +02:00
4dc9f08639
Update translations
2021-10-15 22:21:40 +02:00
9e3cd95b13
Apply clang-format
2021-10-15 22:18:54 +02:00
0651323da4
Use ForkAwesome consistently in Plasmoid as well
2021-10-15 22:18:30 +02:00
7b6121cb05
Use ForkAwesome icons more consistently in tray widget
...
Mixing ForkAwesome icons too much with the regular icon theme doesn't look
good (depending on the theme) so let's prefer ForkAwesome icons within the
tray widget which already uses ForkAwesome in some places like certain
buttons and models. This makes it also look more in-line with Syncthing's
web UI. For context menus and dialogs let's prefer system icons because
there are hardly any ForkAwesome icons used/required so far and it is maybe
nicer to be in-line with the system here.
2021-10-15 00:23:22 +02:00
d3c878359a
Fix typo in libsyncthing tests
2021-10-13 00:14:49 +02:00
3b50d78f1e
Use resource lock to avoid concurrent execution of tests requiring Syncthing test instance
...
This is likely the cleaner approach compared to just enforcing a serial run
for the CLI test.
2021-10-13 00:14:35 +02:00
1f74a82ecb
Adapt test for loading self-signed certificate
2021-10-12 23:55:17 +02:00
6c23bb6e82
Avoid running CLI and connector tests in parallel
...
* Fix the test execution when parallel ctest jobs are configured
via e.g. `CTEST_PARALLEL_LEVEL`
* See https://github.com/Martchus/syncthingtray/issues/116
2021-10-12 23:40:35 +02:00
09d5c5589e
Add missing verb in plasmoid/testing.md
2021-10-10 23:22:34 +02:00
3bf50fb414
Use Syncthing icon from ForkAwesome for buttons/menus
...
This should look more consistent than abusing the state-specific "idling"
icon.
2021-10-10 20:44:22 +02:00
77f0a8d5ae
Update translations
2021-10-09 01:15:49 +02:00
0b801bc505
Make internal errors also accessible when starting with --windowed
...
* Show the button for the internal errors dialog in the tray widget like it
is done when the `UNIFY_TRAY_MENUS` config is activated
2021-10-09 01:14:54 +02:00
c63719e2d1
Check whether loaded certificate is not null
2021-10-09 01:14:54 +02:00
3c6716ebb9
Expect more TLS error types to support Schannel backend
...
Apparently the Schannel backend also produces
`QSslError::CertificateUntrusted` errors. Also adding
`QSslError::CertificateRejected` to be sure.
2021-10-09 01:14:54 +02:00
ab605049aa
Improve TLS error messages
...
* Add fallback to .toPem() when .toText() is not implemented by the TLS
plugin
* Add error number (Qt's enum value)
* Remove leftover cerr logging
2021-10-09 01:14:54 +02:00
feb7fb04db
Apply clang-format in fileitemactionplugin/CMakeLists.txt
2021-10-08 22:54:30 +02:00
c3182ff256
Apply cmake-format
2021-10-07 18:28:13 +02:00
b49d51cc44
Bump patch version
2021-10-07 18:22:41 +02:00
8b273b6945
Improve messages for TLS errors
...
Before one only gets the generic error "TLS handshake failed". Now one gets
more details error messages plus the problematic certificate. This should
be helpful for debugging.
2021-10-07 18:22:41 +02:00
af24ead784
Use ISO format for timestamps and put it in square brackets when displaying errors
2021-10-07 18:22:41 +02:00
8f59dc12d3
Merge pull request #114 from coxde/zh_CN
...
Add zh_CN translation
2021-10-06 20:19:15 +02:00
Julianne420
ddefa35daa
Add zh_CN translation
2021-10-07 01:20:24 +08:00
cf99b656f0
Link against the qtforkawesomeiconengine plugin when it is a static library
...
This should fix the AppImage build where my own libraries (including
plugins) are built as static libraries but static linkage is not generally
enabled.
2021-10-06 17:19:15 +02:00
4801afebf5
Fix references to README section "Known bugs and workarounds"
2021-10-06 17:07:27 +02:00
cd636c9da8
Add notes about Windows' per-monitor DPI awareness (V2)
2021-10-05 18:16:10 +02:00
feb8034b74
Remove section about planned features from README
...
There's no fix plan for implementing any of these features which should be
better tracked as issues anyways.
2021-10-05 18:15:26 +02:00
e3a69a514c
Fix typo in README
2021-10-05 18:14:16 +02:00
e03d276c93
Add notes about compatibility of Windows builds
2021-10-05 18:14:04 +02:00
fe4e9899d7
Update libsyncthing to v1.18.3
2021-10-05 18:13:05 +02:00
8348648c56
Make c'tor of InternalError
inline again to workaround linker errors
...
Otherwise the shared build with targeting x86_64-w64-mingw32 fails with:
```
FAILED: widgets/syncthingwidgets-qt6.dll widgets/libsyncthingwidgets-qt6.dll.a
: && /usr/lib/ccache/bin/x86_64-w64-mingw32-g++ -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fcf-protection -O3 -DNDEBUG -Wl,-O1,--sort-common,--as-needed -fstack-protector -shared -o widgets/syncthingwidgets-qt6.dll -Wl,--out-implib,widgets/libsyncthingwidgets-qt6.dll.a -Wl,--major-image-version,1,--minor-image-version,1 widgets/CMakeFiles/syncthingwidgets-qt6.dir/syncthingwidgets-qt6_autogen/mocs_compilation.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/settings/settings.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/settings/settingsdialog.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/webview/webpage.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/webview/webviewdialog.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/webview/webviewinterceptor.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/textviewdialog.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/internalerrorsdialog.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/direrrorsdialog.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/statusinfo.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/dbusstatusnotifier.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/internalerror.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/otherdialogs.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/syncthinglauncher.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/syncthingkiller.cpp.obj widgets/CMakeFiles/syncthingwidgets-qt6.dir/resources/windows-Release.rc.res widgets/CMakeFiles/syncthingwidgets-qt6.dir/syncthingwidgets-qt6_autogen/3YJK5W5UP7/qrc_syncthingwidgetsicons.cpp.obj -L/build/mingw-w64-syncthingtray-qt6/src/syncthingtray/build-x86_64-w64-mingw32-shared/connector -L/build/mingw-w64-syncthingtray-qt6/src/syncthingtray/build-x86_64-w64-mingw32-shared/model -L/build/mingw-w64-syncthingtray-qt6/src/lib model/libsyncthingmodel-qt6.dll.a /usr/x86_64-w64-mingw32/lib/libqtutilities-qt6.dll.a libsyncthing/libsyncthing-qt6.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Network.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Concurrent.dll.a connector/libsyncthingconnector-qt6.dll.a /usr/x86_64-w64-mingw32/lib/libc++utilities.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Network.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Core.dll.a /usr/x86_64-w64-mingw32/lib/libqtforkawesome-qt6.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Widgets.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Gui.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Core.dll.a /usr/x86_64-w64-mingw32/lib/libc++utilities.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Widgets.dll.a /usr/x86_64-w64-mingw32/lib/libQt6Gui.dll.a -ld3d11 -ldxgi -ldxguid -lws2_32 /usr/x86_64-w64-mingw32/lib/libQt6Core.dll.a -lmpr -luserenv -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && :
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/internalerror.cpp.obj:internalerror.cpp:(.text+0x1a0): multiple definition of `QtGui::InternalError::InternalError(QString const&, QUrl const&, QByteArray const&)'; widgets/CMakeFiles/syncthingwidgets-qt6.dir/syncthingwidgets-qt6_autogen/mocs_compilation.cpp.obj:mocs_compilation.cpp:(.text$_ZN5QtGui13InternalErrorC2ERK7QStringRK4QUrlRK10QByteArray[_ZN5QtGui13InternalErrorC2ERK7QStringRK4QUrlRK10QByteArray]+0x0): first defined here
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: widgets/CMakeFiles/syncthingwidgets-qt6.dir/misc/internalerror.cpp.obj:internalerror.cpp:(.text+0x1a0): multiple definition of `QtGui::InternalError::InternalError(QString const&, QUrl const&, QByteArray const&)'; widgets/CMakeFiles/syncthingwidgets-qt6.dir/syncthingwidgets-qt6_autogen/mocs_compilation.cpp.obj:mocs_compilation.cpp:(.text$_ZN5QtGui13InternalErrorC1ERK7QStringRK4QUrlRK10QByteArray[_ZN5QtGui13InternalErrorC1ERK7QStringRK4QUrlRK10QByteArray]+0x0): first defined here
```
I can currently not make sense of this build error. It does not happen
when targeting Linux or i686.
2021-10-05 00:13:34 +02:00
4301910f1d
Avoid QMessageBox::warning()
overload deprecated by Qt 6.2.0
2021-10-04 19:31:50 +02:00
567e176d48
Link libsyncthing to pthread library via -pthread
...
That's preferred over just specifying the library path because it invokes
additional behavior like adding `-D_REENTRANT` which might be required.
2021-10-04 19:21:18 +02:00
55e59d20c0
Make c'tor of InternalError explicit
2021-10-04 19:17:33 +02:00
5e50d25c32
Improve build instructions
...
* Remove `-DBUNDLED_QT_FORK_AWESOME_PATH=…` which is now covered by the
subdirs project
* Add link to "Providing the font file" section
2021-10-03 23:17:31 +02:00
52217814f1
Apply cmake-format
2021-10-03 23:07:12 +02:00
8261a161ab
Set default re-connect interval back to 30 seconds
...
See https://github.com/Martchus/syncthingtray/issues/16#issuecomment-932986686
2021-10-03 23:05:49 +02:00