Commit Graph

1285 Commits

Author SHA1 Message Date
Martchus 983ef9d37c Determine usage of bright custom colors automatically in fileitemaction 2022-07-16 20:30:18 +02:00
Martchus a49da56829 Update translations 2022-07-16 19:37:00 +02:00
Martchus 8bb7b2dee9 Mention that Qt 6.4 will enable dark window borders automatically
See https://codereview.qt-project.org/c/qt/qtbase/+/421901
2022-07-16 19:35:39 +02:00
Martchus 2139b204e3 Determine whether to use bright custom colors automatically 2022-07-16 19:28:31 +02:00
Martchus 97a8dc3f99 Apply clang-format 2022-07-16 12:30:51 +02:00
Martchus eafddee6f3 Bump patch version 2022-07-16 12:30:27 +02:00
Martchus 08a88e60bb Make libsyncthing CLI test independent of running Syncthing instance 2022-07-05 12:26:17 +02:00
Martchus 0b49ae2f87 Update libsyncthing to v1.20.3 2022-07-05 12:25:17 +02:00
Martchus 18d7e51c31 Improve documentation of `MiscTests::testService()` 2022-07-04 22:28:35 +02:00
Martchus 0865d11d42 Update translations 2022-07-04 21:55:28 +02:00
Martchus 81b15b904f Improve systemd integration
* Read properties from unit interface only if it is valid and set a timeout
  to prevent the UI from hanging
* Query the unit file state in case the unit itself cannot be queries so
  the file state of disabled units with no status is shown correctly
* Reload unit status when starting a disabled unit with no status so the
  effect is visible
2022-07-04 21:55:15 +02:00
Martchus e7098002c1 Update translations 2022-07-04 19:59:53 +02:00
Martchus d735455c2a Add button to reload all unit files 2022-07-04 19:55:58 +02:00
Martchus cc31872fc7 Show effect of enabling/disabling systemd unit immediately by reloading manager 2022-07-04 19:32:06 +02:00
Martchus 0b8d52563b Fix use of bitwise `|` with boolean 2022-07-04 18:20:54 +02:00
Martchus bfb7af18fe Avoid conflict between Syncthing's CLI `--help` arg and own `--help` arg 2022-06-26 11:27:46 +02:00
Martchus 6ae9015605 Update translations 2022-06-26 02:25:36 +02:00
Martchus a0923f8c1a Allow running Syncthing's CLI via Syncthing Tray when bundling libsyncthing 2022-06-26 02:25:23 +02:00
Martchus 8ba75f50e2 Document workaround for broken High-DPI scaling of Plasmoid under X11 2022-06-23 21:55:55 +02:00
Martchus b709106d90 Use ConfigValueArgument and auto-syntax 2022-06-17 21:52:59 +02:00
Martchus dea8e5ae68 Fix single instance behavior if multiple users use syncthingtray in parallel
Create a distinct server for each user so they don't interfere with each
other. Otherwise the instance of the second user tries to connect to the
instance started by the first user which fails and therefore breaks the
single instance behavior for the second user.
2022-06-17 21:46:06 +02:00
Martchus 05e98e22dd Prevent spawning a second tray icon when autostart is enabled
Otherwise a second icon is created when starting a second X11 session, see
https://github.com/Martchus/syncthingtray/issues/142.

Not sure whether this is relevant under Windows and Mac so this change is
only covering the *.desktop file.
2022-06-16 17:49:02 +02:00
Martchus 3bcbd2285d Allow avoiding a second tray icon via `--single-instance`
See https://github.com/Martchus/syncthingtray/issues/142
2022-06-16 17:37:49 +02:00
Martchus 7156b68ebb Add note about leftover rpm packages when upgrading 2022-06-16 17:35:12 +02:00
Martchus 12da8cae28 Bump patch version 2022-06-16 17:33:42 +02:00
Martchus a90e79b78f Enable virtual terminal processing or disable ANSI escape codes
See https://github.com/Martchus/syncthingtray/issues/132
2022-06-07 16:52:17 +02:00
Martchus 7ce0508c6b Update libsyncthing to v1.20.2 2022-06-07 13:55:30 +02:00
Martchus 835ba78b85 Make `readMockFile()` static and `MockedReply` final 2022-06-07 10:43:48 +02:00
Martchus 54b9b5e7cd Update translations 2022-06-07 10:42:38 +02:00
Martchus 4b174eae20 Add option to ignore folder "out-of-sync" errors for overall status
* Add option to ignore unread notifications as well to cover all those
  extra cases
* See https://github.com/Martchus/syncthingtray/issues/141
2022-06-07 10:42:22 +02:00
Martchus 1fad0baa0d Avoid non-POD global static in `widgets/settings/settings.cpp` 2022-06-07 10:10:12 +02:00
Martchus eb94cfb3ed Improve screenshot-related section headings in README
* Don't put customized icons under Plasma section; it is not
  Plasma-specific
* Rename "Under Plasma 5" to "Plasmoid" to be more specific
2022-06-06 18:27:09 +02:00
Martchus 4a63fbdf74 Update Plasmoid screenshot as it has changed a lot 2022-06-06 18:25:26 +02:00
Martchus a299e9246f Add remarks about deprecated events 2022-06-06 11:42:49 +02:00
Martchus 4d47ceae55 Fix wrong comment 2022-06-06 11:36:37 +02:00
Martchus 8052d04252 Avoid using deprecated `folderID` 2022-06-06 11:30:35 +02:00
Martchus 3945ac3471 Update translations 2022-05-30 20:36:03 +02:00
Martchus 8ec133e62d Make the Plasmoid's Fork Awesome icon coloring react to theme changes
* Make the Fork Awesome image provider URL a property and change its value
  if the Plasmoid's theme changes to cause Qt Quick to redraw images
* Turn caching of Image objects off so Qt Quick actually fetches the images
  again from the image provider
* Change the URL only back after returning to the event loop; otherwise Qt
  Quick apparently does not react to the property change
* See https://github.com/Martchus/syncthingtray/issues/126
2022-05-30 20:36:03 +02:00
Martchus d260831b55 Update README; now Linux builds contain built-in Syncthing as well 2022-05-30 20:36:03 +02:00
Martchus c0d48a008c Bump patch version 2022-05-30 20:36:03 +02:00
Martchus 637bb39806 Fix scroll view of Plasmoid 2022-05-23 23:20:51 +02:00
Martchus fb1cef929e Update translations 2022-05-23 23:01:42 +02:00
Martchus 5d10dfc851
Merge pull request #137 from sten0/merge-icons-with-copyright-files
Merge license for The Breeze Icons
2022-05-23 23:00:00 +02:00
Nicholas D Steeves 679ed65580
Add additional header to LICENSE.LESSER LICENSE.MPL-2.0 to…
define which files are exceptions to the Syncthing Tray project
LICENSE, which is currently GPL-2+.
2022-05-23 16:29:29 -04:00
Nicholas D Steeves ce1254a54f
Import LGPL-3+ license for Breeze Icons
git checkout v5.94.0 -- COPYING-ICONS
git mv COPYING-ICONS LICENSE.LESSER

The license is unchanged since 2014, so syncing the new light and dark
variant icons from v5.94.0 (they're actually older than this version)
is not required for license consistency.
2022-05-23 16:19:37 -04:00
Martchus 5c8404645f
Merge pull request #136 from sten0/merge-icons-with-copyright-files
Merge icons with copyright files
2022-05-20 22:43:47 +02:00
Nicholas D Steeves 90fc8bd185
Add copyright attribution to LICENSE.MPL-2.0
Years were established by combining the following:

git log -- assets/logo-256.png
git log -- \
  tray/resources/icons/hicolor/scalable/status/syncthing-default.svg

And upstream Syncthing confirms MPL-2.0 is the correct license for
these files for v1.20.1 here:

  https://github.com/syncthing/syncthing/issues/8347#issuecomment-1127996095
2022-05-18 16:17:31 -04:00
Nicholas D Steeves fd5c59222a
Merge PNG and SVG icon from Syncthing v1.20.1
From https://github.com/syncthing/syncthing.git

git checkout v1.20.1 -- LICENSE assets/logo-256.png \
  assets/logo-only.svg

mv LICENSE LICENSE.MPL-2.0
[resurrect Syncthing Tray LICENSE in magit]

mv assets/logo-256.png \
  tray/resources/icons/hicolor/256x256/apps/syncthingtray.png

cp -a assets/logo-only.svg \
  tray/resources/icons/hicolor/scalable/apps/syncthingtray.svg
[the upstream copy was identical to Syncthing tray's copy]

mv assets/logo-only.svg \
  widgets/resources/icons/hicolor/scalable/app/syncthingtray.svg
2022-05-18 16:10:43 -04:00
Martchus f2e354c9d7 Clarify source of icons in attribution note
See https://github.com/Martchus/syncthingtray/issues/135
2022-05-16 21:26:54 +02:00
Martchus 4eaa1e393f Simplify supported platforms, mention Plasma version requirements 2022-05-16 21:15:12 +02:00