Commit Graph

440 Commits

Author SHA1 Message Date
Martchus 14f42fbc51 Fix setting window attribute of about dialog 2017-09-08 17:01:51 +02:00
Martchus 582c800b7c Add directory errors to mock config 2017-09-08 17:01:51 +02:00
Martchus 1e0f746770 systemd integration: Make all relevant properties notifyable 2017-09-08 17:01:51 +02:00
Martchus 9a9ee2c10e Don't export Syncthing{Dir,Dev}Status to QML
Qt doesn't handle enum class correctly so those enums
would conflict with SyncthingStatus
2017-09-08 17:01:51 +02:00
Martchus 6585117186 Add SyncthingConnection::isLocal() 2017-09-08 17:01:51 +02:00
Martchus 7a1dda6235 plasmoid: Show downloads 2017-09-08 17:01:51 +02:00
Martchus d103ceaae1 Expose path to Qt Quick in SyncthingDownloadModel 2017-09-08 17:01:51 +02:00
Martchus 408f77f844 Allow moving connection configurations up and down 2017-09-07 16:42:24 +02:00
Martchus fe0688cb27 Only add helpers for mocked SyncthingConnection if required 2017-09-05 00:35:54 +02:00
Martchus c690af9679 Update translations 2017-09-05 00:29:15 +02:00
Martchus b0c65cb032 Improve downloads model 2017-09-05 00:25:55 +02:00
Martchus 6ca76e59d8 Use QDialog for showing own device ID 2017-09-05 00:25:14 +02:00
Martchus f4df2bbf21 Allow opening internal error log via context menu 2017-09-05 00:24:52 +02:00
Martchus 62b94b8460 Show offset of JSON parsing error 2017-09-05 00:23:17 +02:00
Martchus 2747ce76ff Allow compiling connector with mocked SyncthingConnection 2017-09-05 00:22:52 +02:00
Martchus b90080ec0c models: Retain default status colors 2017-09-01 17:13:01 +02:00
Martchus b5727304b3 Update translations 2017-08-31 19:49:39 +02:00
Martchus ee8657cd1d Fix showing errors 2017-08-31 19:49:23 +02:00
Martchus 8202959cc8 Fix including otherdialogs.h
Otherwise functions of that unit are not exported
2017-08-31 02:19:30 +02:00
Martchus 85b524918b Fix compilation without systemd support 2017-08-31 02:18:20 +02:00
Martchus 735f17d2b9 plasmoid: Add screenshot 2017-08-30 22:41:10 +02:00
Martchus 9d86e1900d plasmoid: Fix about dialog 2017-08-30 22:41:02 +02:00
Martchus afb7be7ccb plasmoid: Fix ID 2017-08-30 22:40:51 +02:00
Martchus 80c2a4212e Show global/local dir status in Dolphin action 2017-08-30 00:36:49 +02:00
Martchus 8dce7de433 Update translations 2017-08-30 00:14:59 +02:00
Martchus f9b6441a8e Add Plasmoid (still experimental and incomplete) 2017-08-30 00:04:35 +02:00
Martchus c8b93fc472 Make models ready for use with Qt Quick
by adding roleNames()
2017-08-30 00:04:35 +02:00
Martchus 856a899c4b Move showOwnDeviceId() to widgets
So Plasmoid can use it as well
2017-08-30 00:01:34 +02:00
Martchus e797d8e76c Move showLog() entirely to TextViewDialog
So Plasmoid can use it as well
2017-08-30 00:01:34 +02:00
Martchus 9fa45c6dc9 Initialize bright colors correctly 2017-08-30 00:01:34 +02:00
Martchus 2c1768c219 Move helper for setting traffic labels to connector
* Reduce code duplication for in and out
* Allow using the helper from Plasmoid
2017-08-30 00:01:34 +02:00
Martchus 6b01e42fe4 Fix parsing time from folder summary 2017-08-30 00:01:34 +02:00
Martchus 6c6d7f00d5 Emit status update on each dir status change 2017-08-24 01:52:07 +02:00
Martchus af8327ece0 Show global and local dir status 2017-08-24 01:52:07 +02:00
Martchus 85ac283455 Consider event time when reading FolderSummary 2017-08-23 23:57:47 +02:00
Martchus 4136e23148 Get current dir status when connecting 2017-08-23 23:56:31 +02:00
Martchus ab2efb7012 Distinguish between requestDirStatistics and requestDirStatus 2017-08-23 23:55:19 +02:00
Martchus 91f7dc38d3 Fix HTTP method for "db/status" 2017-08-23 23:54:07 +02:00
Martchus ca256b62e8 Refactor SyncthingConnection
* Reduce if-cascades
* Add extra method for handling fatal errors
* Read directory summary in extra method
* Allow requesting summary for directory explicitely
2017-08-23 00:22:02 +02:00
Martchus be6d0cbf5d Don't show own dev in shared devs of dir 2017-08-22 20:44:49 +02:00
Martchus 9b45c49b97 Show names for the devs a dir is shared with
(previously only the IDs were shown)
2017-08-22 19:45:07 +02:00
Martchus 3ff4f69180 Remove leftover from testing 2017-08-21 21:46:50 +02:00
Martchus ed1b13d43e Fix rescanning part of connection tests 2017-08-21 01:01:20 +02:00
Martchus cc6fec91c1 Dump config during connection tests only when enabled
by setting environment variable SYNCTHING_TEST_DUMP_CONFIG_UPDATES
2017-08-21 01:00:41 +02:00
Martchus 89abe204c1 Log internal errors to console 2017-08-20 01:57:56 +02:00
Martchus a0d6c6b53d Update translations 2017-08-20 01:26:19 +02:00
Martchus 96d9d6a8dd Fix reconnect notification label 2017-08-20 01:21:03 +02:00
Martchus e52a2a6ef6 Improve error handling
Allow viewing request URL and response of internal
errors.
2017-08-20 01:20:47 +02:00
Martchus c8b68bc7c7 Fix compilation after latest changes when systemd disabled 2017-08-11 21:13:47 +02:00
Martchus 7b19be01f2 tray: Allow specifying name of initial connection via CLI
This includes refactoring TrayWidget::applySettings() which
is now a member function and only affects the current instance.

This prevents applying settings on every instance every time
a new tray widget is created.

To apply settings for all tray widgets, the static function
TrayWidget::applySettingsOnAllInstances() is used instead.
2017-08-09 01:11:47 +02:00