Commit Graph

1512 Commits

Author SHA1 Message Date
Martchus a45bd8e60e Update translations 2022-10-04 10:53:14 +02:00
Martchus 87cb9914a6 Update libsyncthing to 1.22.0 2022-10-04 10:52:28 +02:00
Martchus 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
Martchus 2abb468d93 Fix typo 2022-10-02 20:34:40 +02:00
Martchus 4896261ef9 Allow opening launcher settings from wizard in case of an error to check logs 2022-10-02 20:33:07 +02:00
Martchus 722e9f6e7d Avoid greeting new users with "insufficient configuration" error 2022-10-02 19:45:22 +02:00
Martchus b0d1197cb7 Implement launcher and systemd configuration in wizard 2022-10-02 19:24:26 +02:00
Martchus db69a148a9 Avoid showing default/uninitialized timestamp of libsyncthing version 2022-10-02 19:23:46 +02:00
Martchus 99872b262e Move setting connection config from wizard into its own function 2022-10-02 14:41:28 +02:00
Martchus bd5b93d311 Implement completion of wizard
Applying settings is still only implemented for one of the cases.
2022-10-01 22:25:33 +02:00
Martchus 442aee992a Unify code for showing wizard 2022-10-01 20:25:21 +02:00
Martchus ae10aaf0a2 Add missing include in `syncthingicons.h` 2022-10-01 18:12:25 +02:00
Martchus f290dec65c Develop wizard further 2022-10-01 18:11:48 +02:00
Martchus 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
Martchus 3320f712db Fix condition when making Syncthing URL
TLS is preferred when the address is *not* local.
2022-09-25 22:13:44 +02:00
Martchus a86ac6896f Add link to Gentoo overlay 2022-09-22 19:40:20 +02:00
Martchus 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
Martchus 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
Martchus 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
Martchus 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
Martchus 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
Martchus 5554ba4ffa Set window icon of wizard 2022-09-11 12:58:47 +02:00
Martchus f6db20bed8 Bump patch version 2022-09-11 12:58:25 +02:00
Martchus ab74142dc2 Add missing include for dialog utils 2022-09-06 16:58:25 +02:00
Martchus f7af2d5c7d Fix compilation of new wizard code against Qt 6 2022-09-06 16:24:53 +02:00
Martchus ead679203f Set margin of search button correctly (to not affect focus scope) 2022-09-06 10:54:04 +02:00
Martchus 4e1d4501c0 Update libsyncthing to v1.21.0 2022-09-06 10:46:23 +02:00
Martchus badfd94a38 Fix right margin of Plasmoid's search button 2022-09-05 23:01:04 +02:00
Martchus dd6b79360a Update translations 2022-09-05 22:56:19 +02:00
Martchus 99a7bd1a01 Hide tab texts in Plasmoid by default to avoid problematic overflow behavior 2022-09-05 22:54:28 +02:00
Martchus 1a71d8b534 Update translations 2022-09-05 22:18:56 +02:00
Martchus 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
Martchus 2e961c489d Update translations 2022-09-05 22:02:01 +02:00
Martchus 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
Martchus fd377cc5ac Increase default size to avoid overflow of tab buttons by default 2022-09-05 21:19:22 +02:00
Martchus e1ac6fb29b Update translations 2022-09-03 21:36:57 +02:00
Martchus c0a6482c9d Fix typos in naming of wizard UI widgets 2022-09-03 21:36:57 +02:00
Martchus ff68dff5a0 Add autostart wizard page 2022-09-03 21:36:57 +02:00
Martchus 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
Martchus 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
Martchus ae35d28494 Fix typo in README 2022-08-28 00:18:58 +02:00
Martchus adc65e2d16 Remove badges from README
* The licensing badge does not work anymore and the licensing topic is more
  complicated to fit into a badge anyways
* The release badge does not look good on its own and is redundant with
  GitHub's own UI since they've reworked it
2022-08-28 00:01:40 +02:00
Martchus 826614c336 Mention Debian package in README 2022-08-27 23:48:43 +02:00
Martchus eec8d2c131 Move download info for specific Linux distros above generic GNU/Linux section 2022-08-27 23:48:25 +02:00
Martchus 25b9116250 Show only relevant options in wizard and improve UI for displaying details 2022-08-27 23:35:15 +02:00
Martchus 468293c2b1 Show welcome page always as first page of the wizard
Otherwise the wizard would immediately start when accessed via settings
which is not very nice. Of course the instructions in the welcome page need
to be slightly adjusted.
2022-08-27 19:19:03 +02:00
Martchus a435cab604 Allow starting wizard from settings 2022-08-27 15:06:55 +02:00
Martchus 3bbbab035c Update translations 2022-08-25 22:33:59 +02:00
Martchus d079d526ec Avoid ugly padding next to scroll bar in Plasmoid
It is actually just the normal marging/padding Plasmoids normally have but
with the scroll bar it doesn't look good.

The margins would be automatically collapsed if the scroll view was the
immediate content item. However, that's not the case so we need to set the
according property manually using `Plasma.Representation`.
2022-08-25 22:33:30 +02:00