Commit Graph

663 Commits

Author SHA1 Message Date
Martchus 016e5e29a9 widgets GUI: Don't use frames by default
Looks better with most themes.
2019-03-20 17:36:52 +01:00
Martchus a4c2074012 plasmoid: Fix width of detail items
So the alignment and text eliding actually has effect.
2019-03-19 23:07:32 +01:00
Martchus 6c6830936d plasmoid: Add button for filter 2019-03-19 23:07:22 +01:00
Martchus c523f627da Update screenshot, remove outdated ones 2019-03-09 14:55:29 +01:00
Martchus 4def3eaf46 Add README section "Troubleshooting KDE integration" 2019-02-28 17:09:35 +01:00
Martchus c8f86a3d2e Put plasmoid plugin under plasma/applets 2019-02-27 21:21:07 +01:00
Martchus a6380947ea Fix wrong translation and update translations 2019-02-27 20:45:05 +01:00
Martchus 3e97a65bae Use font awesome icons for global stats in plasmoid 2019-02-27 20:42:41 +01:00
Martchus 2ab88c5766 Add font awesome icons to models
So it looks a bit more like the official UI.
2019-02-27 20:41:50 +01:00
Martchus 107fad90f0 Allow to use SyncthingStatistics in QML 2019-02-27 20:38:37 +01:00
Martchus c7927c3f2e Keep aspect ratio when rendering SVG images
Also, allow to add margin to the pixmap.
2019-02-27 20:38:14 +01:00
Martchus b0c4c122a4 Use good old emblem-important icon
The new version from Breeze doesn't look nice in the way the
plasmoid uses this icon.
2019-02-26 17:43:28 +01:00
Martchus 33e55cc49f Update screenshot of Plasmoid 2019-02-23 13:56:16 +01:00
Martchus a3a09297f7 Render font awesome icons in color from QPalette
Since theres apparently no API in the Qt Svg module to support
this the change introduced here simply replaces in the SVG
document itself.
2019-02-23 13:55:46 +01:00
Martchus 78d4553104 Update translations 2019-02-18 00:41:17 +01:00
Martchus 3bcdf26cca Show global statistics on widgets-based GUI 2019-02-18 00:35:32 +01:00
Martchus 06072df707 Show button for about dialog in plasmoid as well 2019-02-17 23:49:39 +01:00
Martchus 2b3a27d537 Replace "Open web UI" with "Open Syncthing" 2019-02-17 23:49:22 +01:00
Martchus e56c950100 Show overall statistics in plasmoid 2019-02-17 23:46:03 +01:00
Martchus 8690566992 Handle details row count changed in model
Required since the row count is now variable depending on
whether stats are shown or now.
2019-02-16 01:40:06 +01:00
Martchus 4b54fc3a28 Reduce indentation in models 2019-02-16 01:06:08 +01:00
Martchus 700b0d24e0 Don't show stats for pause dirs in GUI 2019-02-16 00:55:27 +01:00
Martchus 646d9363da Don't show stats for pause dirs in CLI 2019-02-16 00:34:18 +01:00
Martchus e475454c2d plasmoid: Fix setting initial size
Some change in Qt or Plasma prevents the old way of setting
it to work (using onVisibleChanged). Using a Loader and
onLoaded seems to work better.
2019-02-12 00:23:51 +01:00
Martchus 326f03b604 Apply cmake-format 2019-02-06 17:36:14 +01:00
Martchus a1a9db30f9 Update translations 2019-02-06 17:35:49 +01:00
Martchus dc5f2d99e2 Fix SyncthingConnection::connectLater() 2019-02-06 17:35:21 +01:00
Martchus 310e4bdc73 Update packaging documentation 2019-02-06 17:34:50 +01:00
Martchus bb513c0a61 Prevent waiting forever also in CLI tests 2019-01-13 23:39:37 +01:00
Martchus 2370fe1ef5 Let CMake generate code for test application 2019-01-13 22:16:23 +01:00
Martchus 99624197cd Improve spelling of "Syncthing-Unit" in German translation 2019-01-13 17:56:33 +01:00
Martchus f74dbe2799 Prevent enless connection attempts in connector test
Those are observable on misc OBS builds. This hopefully prevents
perpetual OBS builds and should also allow to actually investigate
what the problem is.
2019-01-13 17:48:39 +01:00
Martchus 028a456c4e Update translations 2018-12-29 20:40:40 +01:00
Martchus d48c7be6fa Set the parents of the QActions for Dolphin integration correctly
The parent must be the plugin itself. Otherwise the QActions are
not destroyed when the menu vanishes.
2018-12-26 01:18:28 +01:00
Martchus 951235d082 Improve logging in Dolphin integration 2018-12-26 01:16:38 +01:00
Martchus daa2d42ef2 Delete menu later to prevent segfault 2018-12-26 01:15:28 +01:00
Martchus 267cbd7dad Document SyncthingConnection::readDevRejected() 2018-12-26 01:14:19 +01:00
Martchus 1156721822 Ensure not to continue reconnecting while still aborting 2018-12-26 01:14:01 +01:00
Martchus ea2e26aace Don't use newDirs/newDevs for endResetModel()
* These events might not be emitted in all error cases.
  So it would be wrong to rely on that.
* Reduces redundant code.
2018-12-25 02:33:57 +01:00
Martchus 67723bfa27 Set status to disconnected on error due to insufficient config 2018-12-25 02:31:18 +01:00
Martchus c83df582b6 Fix subtile bugs on reconnect
* Ensure previous long polling requests for events are aborted
  before connecting again
* Ensure results from previous requests are always discarded
  after aborting to reconnect
2018-12-25 02:30:13 +01:00
Martchus d3c6eda0a6 Store API key for Dolphin integration persistently
Only storing the key for the last selected config should
be sufficient.
2018-12-24 17:35:54 +01:00
Martchus ad42c24c96 Prevent reading QNetworkReply in error case when not bytes available 2018-12-24 17:35:10 +01:00
Martchus 1d5b90a693 Allow always to change config 2018-12-24 17:19:11 +01:00
Martchus 10747bfdf9 Handle config issues in Dolphin integration
* Check whether URL is present
* Allow user to enter API key manually
2018-12-24 17:17:09 +01:00
Martchus 35903fc996 Simulate flaky syncthing service 2018-12-23 21:28:43 +01:00
Martchus adc0fa724e Ensure TrayIcon is immediately visible 2018-12-23 21:17:51 +01:00
Martchus 5afbd4e664 Fix typo 2018-12-23 21:17:31 +01:00
Martchus 8b6cf6a282 Remove unused function in TrayWidget 2018-12-23 21:17:24 +01:00
Martchus cdd78fb026 Fix typo in code for mocked service configuration 2018-12-23 19:42:17 +01:00