Commit Graph

135 Commits

Author SHA1 Message Date
cbecf9ccf2 Add an icon for every settings tab 2021-05-07 00:06:25 +02:00
ac033517cc Allow configuring rendering size of status icons
The default of 32 px should be fine in most cases and when the UI is scaled
it is also automatically scaled. However, if one has a tray area or Plasma
panel with extraordinarily big icons like latte-dock it might still be
required to render icons at a higher resolution. This is hard to determine
programmatically so I'm just adding a manual setting.
2021-04-21 18:23:20 +02:00
8b922166dd Bump patch version 2021-04-07 15:11:32 +02:00
f75966aadc Fix warnings 2021-03-20 22:39:40 +01:00
606a9f053d Update libsyncthing to v1.13.1
It seems that the tags v1.13.0 and v1.13.1 are identical, though. Both tags
point to commit f6fac3e949c882771b4b02ce3f586dd09b7555da.
2021-02-03 18:21:33 +01:00
975e86c895 Allow backend libraries to be used from other projects
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.

This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.

With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
2eaddb0464 cli: Print own device always on top to fix test failures
* Otherwise tests fail when the name of the own device preceeds the other
  device names
* See https://github.com/Martchus/PKGBUILDs/issues/102
2021-01-11 18:49:35 +01:00
2417746583 Update RPM download section 2020-12-05 21:08:15 +01:00
9df2a17e5c Port Plasmoid to QCC2/PlasmaComponents3 where possible
The following uses of QCC1/PlasmaComponents2 remain:

```
…/DetailView.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Menu and MenuItem
…/DevicesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents  // for Menu and MenuItem
…/DirectoriesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents  // for Menu and MenuItem
…/DownloadsPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents  // for Menu and MenuItem
…/FullRepresentation.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for vertical TabBar
…/RecentChangesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents  // for Menu and MenuItem
…/TopLevelView.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Highlight and DialogStatus.Closed (used with Menu and MenuItem)
```
2020-11-27 19:09:47 +01:00
49bbebd1ad Allow configuring package suffix for qtutilities individually 2020-10-23 17:03:57 +02:00
ef4749669d Update version 2020-10-13 13:40:57 +02:00
4711d8f91c Set major release to 1
* Syncthing Tray can be considered stable enough
* Syncthing itself also made a 1.… release some time ago
* The backend libraries still do *not* provide a stable API, see section
  "Using backend libraries" in README.md
2020-08-18 01:16:21 +02:00
d27a6c5424 Fix version 2020-07-29 10:37:04 +02:00
e62a69a2a9 Enable High-DPI scaling/pixmaps in plasmoid
* Fix too small icons, see
  https://github.com/Martchus/syncthingtray/issues/71
* Still needs testing on a real 4k screen
* Hopefully this does not distrub the rest of the shell
2020-07-23 18:47:35 +02:00
a9225c5a35 Use addCustomAction() instead of deprecated addCustomButton() 2020-07-09 20:21:54 +02:00
418a5ca9ab Increase version 2020-07-07 17:37:19 +02:00
3a50840a59 Extend documentation about the systemd integration
It is harder than it should be but for now extending the documentation
is all that can be done from the point of this project.
2020-05-24 17:41:53 +02:00
ed4d1fc213 Use idle status icon for button to open Syncthing web UI
That looks more consistent, especially when using a dark color theme
where the default Syncthing icon doesn't fit in very well.
2020-04-12 23:16:26 +02:00
d50cdf3a06 Use consistent icon for rescanning all folders in plasmoid 2020-03-26 22:48:54 +01:00
c152152b67 Improve comments in build scripts 2020-03-05 19:04:55 +01:00
c103174609 Make desktop files for Plasma integration from template
* Avoid redundant meta-data
* Take target suffix into account
2020-02-14 23:14:50 +01:00
153fc24492 Fix color roles of SyncthingRecentChangesModel 2020-02-10 10:47:35 +01:00
2d704cf765 Fix missing export macros 2020-01-10 18:01:37 +01:00
34b9881ffe Use QTWEBENGINEWIDGETS_VERSION to decide on Qt WebEngine features
From https://www.freshports.org/deskutils/syncthingtray (tcberner):
"When WebEngine and Core are out of sync as they tend to be for us,
this leads to compilation errors."
2019-12-12 22:38:47 +01:00
05e49c86ce Improve color picker for icons
* Add note about Drag & Drop
* Allow picking from multiple presets
2019-11-19 19:33:58 +01:00
6497f74046 Use override in test fixtures 2019-10-13 18:28:32 +02:00
1a1b907f15 Save settings immediately to disk when applied
* See https://github.com/Martchus/syncthingtray/issues/59
* QCoreApplication::aboutToQuit() does not work reliably but terminating
  only at the end of the session is a common use-case for the tray
  application. So workaround the problem by saving the settings
  immediately.
* The plasmoid already does this anyways.
2019-10-06 17:58:08 +02:00
3b607f467a Update libsyncthing to Syncthing v1.2.2 2019-09-08 18:08:13 +02:00
7b668ca02c Update version to 0.10.0 2019-08-05 18:45:53 +02:00
d88df866d2 Adapt to c++utilities v5 2019-05-04 21:05:21 +02:00
1e9718ff7a Update version to 0.9.1 2019-04-05 20:06:32 +02:00
e56c950100 Show overall statistics in plasmoid 2019-02-17 23:46:03 +01:00
2370fe1ef5 Let CMake generate code for test application 2019-01-13 22:16:23 +01:00
d763a755ac Fix typo in 'Connected to ...' 2018-11-13 18:00:30 +01:00
521bc3f478 Update version to 0.8.3 2018-10-24 21:34:33 +02:00
f4622379ae Prevent local sync complete notification during scan 2018-05-23 23:18:39 +02:00
2fcc94f567 Handle new folder types
See https://github.com/syncthing/syncthing/pull/4942
2018-05-12 23:08:57 +02:00
4c9aac59ca Update version to 0.8.0 2018-05-08 18:57:14 +02:00
6ab7662a64 Add experimental 'libsyncthing'
* This allows running C++ GUI code (as provided by this
  repository) and Syncthing itself in the same process.
* It basically seems to work. I can now run a Syncthing
  instance within the interactive C++ shell 'cling' :-)
* Syncthing and its assets are built within the usual
  CMake build process but disabled by default because still
  experimental. To enable the build, add '-DNO_LIBSYNCTHING=OFF'
  to CMake arguments.
* The Syncthing checkout with customized exports lives
  in the Git submodule under
  'libsyncthing/go/src/github.com/syncthing/syncthing'.
2018-04-08 21:36:08 +02:00
11bf8812e0 Use only one main category in desktop file 2018-02-10 23:18:30 +01:00
447928a018 Request device/directory completion 2018-01-24 21:46:18 +01:00
4f58e054d5 Improve test mode (mocked SyncthingConnection)
* Add further events allowing to reproduce download
  model issues visible in Plasmoid
* Use TestApplication to find testfiles
2017-11-12 17:03:30 +01:00
43b2f9ff22 Allow to disable formatting 2017-10-17 19:47:12 +02:00
d54ba51a7b Set minor version to 7 2017-10-07 22:08:11 +02:00
c3f7cfa88e Enable Plasmoid by default (with exceptions, like for kio) 2017-10-05 00:31:30 +02:00
49862f2701 Make GUI everywhere mandatory 2017-09-09 21:30:18 +02:00
f9b6441a8e Add Plasmoid (still experimental and incomplete) 2017-08-30 00:04:35 +02:00
f38619c35c Disable KIO under Android, Windows, MacOS by default 2017-07-20 00:02:05 +02:00
aca7f61c84 Prevent trying to rescan paused dirs
* Exclude paused dirs when rescanning all dirs to
  prevent errors
* Disable rescanning particular dir via gui if paused
2017-07-16 21:08:38 +02:00
9fb1e918de Bump version to 0.6.2 2017-07-14 17:54:24 +02:00
f95ad68a3a Link testhelper against connector, remove global includes 2017-07-11 22:53:45 +02:00
5d05e9a5df Fix compatibility with Qt < 5.8 2017-06-09 12:16:25 +02:00
49ff5a7b65 Move widgets from tray app to separate lib
So settings pages, web view and other widgets
can be used in other components such as the
Dolphin plugin and Plasmoid, too.
2017-04-23 18:31:18 +02:00
40b8713ba6 Move test helper to separate library
Allows to share common test helper code
between tests for different components
2017-04-01 16:56:36 +02:00
4d7c6b5a61 Enable testing at root level so all tests are executed 2017-03-29 22:17:11 +02:00
f5ee751374 cli: Allow rescanning sub dir/file 2017-03-22 21:22:30 +01:00
0868f2cf6a Extend tests of connector library 2017-03-09 23:10:03 +01:00
803c3c200b Update version 2017-02-25 16:59:37 +01:00
57f7d140e0 Provide basic Dolphin integration 2017-02-20 18:44:56 +01:00
924241f65c Use ENABLE_QT_RESOURCES_OF_STATIC_DEPENDENCIES 2017-02-11 02:42:10 +01:00
7ec7528173 Fix QString conversion from CLI args 2017-02-01 17:12:56 +01:00
71864376a9 Also consider sleep/standby as tolerable interruption
* Only supported when Logind is used
* Extension of b2325bf
* So notifications caused by Syncthing inavailability
  short after start or resume from standby can now be
  suppressed - at least when using Systemd/Logind
2017-01-15 17:32:20 +01:00
6d6ab5aba6 Update version to 0.3.0 as new features have been added 2017-01-01 19:41:51 +01:00
3f95d72b79 Prevent disconnected notification on startup
Happened when Syncthing notifications were
available before the connection was established
2016-12-18 16:47:01 +01:00
203370f933 Allow notifications via D-Bus 2016-12-12 23:45:40 +01:00
d3bde05ccd Update icon when new notifications shown 2016-12-03 01:00:04 +01:00
b40fc773c2 Move colors to separate header 2016-11-08 19:42:50 +01:00
be2332dd0e Improve categories of *.desktop file 2016-11-08 19:32:32 +01:00
3841e891d5 Enable exact shared object version for backend libs 2016-10-22 21:01:32 +02:00
6c308f703b Use default tab shape 2016-10-11 20:12:59 +02:00
1f21c2dc52 Add syncthingctl, see README.md 2016-10-02 21:59:28 +02:00
6470038fc7 Refactor to allow sharing backend with other apps
Intended for creating command line tool and plasmoid
2016-09-30 23:58:45 +02:00
3335350a81 Refactor to be able to build data classes as extra lib 2016-09-29 21:19:54 +02:00
d863858bff Improve doc 2016-09-27 22:01:54 +02:00
e50c006dd7 Make the tray a single instance application 2016-09-24 16:38:05 +02:00
23a4833b6e Show ongoing downloads 2016-09-21 21:09:12 +02:00
7e2f3cc86e Improve Syncthing notification/error handling 2016-09-08 23:35:15 +02:00
688bf43216 Fix Windows icon 2016-09-06 22:54:59 +02:00
1b51a582cb Implement multiple connection configs 2016-09-04 01:27:07 +02:00
cb251fd123 Implement autostart and launcher 2016-09-03 19:39:43 +02:00
2360b2a482 Improve various details 2016-09-01 19:37:04 +02:00
4737268e20 Refesh traffic, general refactoring 2016-09-01 19:36:42 +02:00
b3760eb494 Add fallback icons, show traffic 2016-09-01 19:36:42 +02:00
2630e51887 Implement further features 2016-08-26 16:43:53 +02:00
b7609d7d3e Initial import 2016-08-25 00:57:33 +02:00