Commit Graph

1420 Commits

Author SHA1 Message Date
4e19c98471 Add appstream file for Plasmoid 2022-10-08 21:56:46 +02:00
127cd71856 Avoid re-positioning when pinning 2022-10-07 23:22:15 +02:00
ace27f9e9c Fix saving pinned state persistently 2022-10-07 23:15:25 +02:00
0086873684 Update translations 2022-10-07 22:59:46 +02:00
9220d66add Allow pinning tray menu (still experimental) 2022-10-07 22:59:17 +02:00
d82bc710fd Allow using system icons instead of ForkAwesome icons
* Allow using icons from freedesktop.org icon theme for most ForkAwesome
  icons if available
* Let's not use it for the nested list of details in the models for now
* See https://github.com/Martchus/syncthingtray/issues/121
2022-10-07 00:20:50 +02:00
598fc0c114 Bump minor version 2022-10-07 00:19:36 +02:00
3f5bc4d772 Fix inclusion of Connection::addConfigFromWizard() 2022-10-04 14:15:58 +02:00
a45bd8e60e Update translations 2022-10-04 10:53:14 +02:00
87cb9914a6 Update libsyncthing to 1.22.0 2022-10-04 10:52:28 +02:00
89290b99d4 Use quickwizard icon as it looks more apprpriate in higher sizes
That's at least the case for the Breeze icon theme.
2022-10-02 22:40:48 +02:00
2abb468d93 Fix typo 2022-10-02 20:34:40 +02:00
4896261ef9 Allow opening launcher settings from wizard in case of an error to check logs 2022-10-02 20:33:07 +02:00
722e9f6e7d Avoid greeting new users with "insufficient configuration" error 2022-10-02 19:45:22 +02:00
b0d1197cb7 Implement launcher and systemd configuration in wizard 2022-10-02 19:24:26 +02:00
db69a148a9 Avoid showing default/uninitialized timestamp of libsyncthing version 2022-10-02 19:23:46 +02:00
99872b262e Move setting connection config from wizard into its own function 2022-10-02 14:41:28 +02:00
bd5b93d311 Implement completion of wizard
Applying settings is still only implemented for one of the cases.
2022-10-01 22:25:33 +02:00
442aee992a Unify code for showing wizard 2022-10-01 20:25:21 +02:00
ae10aaf0a2 Add missing include in syncthingicons.h 2022-10-01 18:12:25 +02:00
f290dec65c Develop wizard further 2022-10-01 18:11:48 +02:00
4f58b2cb7e Fix determining whether GUI address is local
The port must be stripped from the address before passing it to
`isLocal()` which only expects a hostname.
2022-09-25 22:40:37 +02:00
3320f712db Fix condition when making Syncthing URL
TLS is preferred when the address is *not* local.
2022-09-25 22:13:44 +02:00
a86ac6896f Add link to Gentoo overlay 2022-09-22 19:40:20 +02:00
24e1556f64 Update minimum required Qt version
Builds with Qt 5.6 are no longer conducted so only the latest
Qt 5 or 6 version is tested anymore.
2022-09-20 20:58:01 +02:00
6e6fbf757b Fix buffering further output in SyncthingProcess without event loop
When the calling code does not return to the event loop (like the CLI test)
we need to run the event loop internally to make sure `bufferOutput()` is
called as of ecd730fd49.
2022-09-18 19:59:46 +02:00
9865b2286f Develop wizard further
* Add page to apply settings
* Add page to show final result
* Fix updating systemd checkbox (`isVisible()` did not work because when
  the function is running the whole page is not visible)
* Enable systemd integration by default if either the user service or the
  system service are running
* Fix typo
2022-09-17 23:10:58 +02:00
ecd730fd49 Avoid crash when invoking short-lived process via SyncthingProcess
At least when using Qt 6 I could reproduce crashes very often when invoking
`syncthing -version` as part of the wizard's setup detection (inside
a `QIODevice::readAll()` call).

I suppose the problem is that the callback `bufferOutput()` is already
invoked  on another thread and emitting the next `readyRead()` signal while
Qt is still handling the previous `readData()` call. Continuing reading
from the pipe only after `readData()` returns should fix it. At least it
does not crash anymore with that change in the wizard's setup detection.
2022-09-17 22:52:26 +02:00
15934b6e87 Decouple ABI version from API version
Set the ABI version (used in so/DLL name) to 2 and increment it on an ABI
break (but only once within one release cycle). This way we don't need to
increment it on every patch release but also don't need to make a new major
release on every ABI break.

Keep the API version as is (using the semantic versioning format).
2022-09-11 13:16:34 +02:00
5554ba4ffa Set window icon of wizard 2022-09-11 12:58:47 +02:00
f6db20bed8 Bump patch version 2022-09-11 12:58:25 +02:00
ab74142dc2 Add missing include for dialog utils 2022-09-06 16:58:25 +02:00
f7af2d5c7d Fix compilation of new wizard code against Qt 6 2022-09-06 16:24:53 +02:00
ead679203f Set margin of search button correctly (to not affect focus scope) 2022-09-06 10:54:04 +02:00
4e1d4501c0 Update libsyncthing to v1.21.0 2022-09-06 10:46:23 +02:00
badfd94a38 Fix right margin of Plasmoid's search button 2022-09-05 23:01:04 +02:00
dd6b79360a Update translations 2022-09-05 22:56:19 +02:00
99a7bd1a01 Hide tab texts in Plasmoid by default to avoid problematic overflow behavior 2022-09-05 22:54:28 +02:00
1a71d8b534 Update translations 2022-09-05 22:18:56 +02:00
8ea158aa23 Fix auto-detection of dark color theme in Plasmoid
* Remove `0 &&` in condition for making `QPalette` from Plasma theme
* Set `WindowText`/`Window` of `QPalette` in legacy case so
  `isPaletteDark()` works
* Set the icon manager's palette from the beginning (and not only if the
  Plasma theme changes)
2022-09-05 22:18:41 +02:00
2e961c489d Update translations 2022-09-05 22:02:01 +02:00
66948336d5 Allow to disable tab texts (to shown only icons anymore)
When configuring a smaller size for the Qt Widgets based UI it might be
preferred to show only the icons instead of having the tab buttons
overflow.
2022-09-05 21:56:22 +02:00
fd377cc5ac Increase default size to avoid overflow of tab buttons by default 2022-09-05 21:19:22 +02:00
e1ac6fb29b Update translations 2022-09-03 21:36:57 +02:00
c0a6482c9d Fix typos in naming of wizard UI widgets 2022-09-03 21:36:57 +02:00
ff68dff5a0 Add autostart wizard page 2022-09-03 21:36:57 +02:00
b6f5d33647
Merge pull request #153 from sten0/add-debian-and-derivs-install-instructions
Make Debian (and derivatives) section more accurate
2022-09-02 23:35:59 +02:00
Nicholas D Steeves
300beb0a15
Make Debian (and derivatives) section more accurate
* Include the conventional copy & paste installation instructions that
most Ubuntu (and derivatives) users expect.

* Request that users test their operating system's app store, because
a potential Appstream bug would be highly visible and would negatively
affect initial user impressions.  Such a hypothetical bug should
ideally be found and fixed before Ubuntu 22.10's freeze, and certainly
before Debian 12's.

* Mention the backports repository, because otherwise users will
manually install packages for sid/unstable/testing/bookworm/12 onto
stable/bullseye/11.  These packages will be nonfunctional, will
malfunction, or will break the other package's dependencies.

* Remove link to Developer Information Tracker, because it may also
mislead users into creating FrankenDebian, and because it is not
supposed to be a user-facing page.
2022-09-02 16:29:09 -04:00
36e9e98424 plasmoid: Assign margins in consistency with official Plasmoids
For instance, the NetworkManager Plasmoid uses these margins for its
ListView. It looks probably better than without margins (after removing
paddings with scroll page).
2022-09-01 22:32:17 +02:00
ae35d28494 Fix typo in README 2022-08-28 00:18:58 +02:00