Commit Graph

44 Commits

Author SHA1 Message Date
Martchus 93b5d66875 Allow browsing remote/global files 2024-04-05 01:30:00 +02:00
Martchus 0fb7929b0f Port meta-data handling of KIO plugin to KF6 2023-11-20 23:26:38 +01:00
Martchus b0448756ed Apply clang-format 2023-09-18 22:12:59 +02:00
John Veness c2a0eee029 Change Directory to Folder in user-facing strings 2023-09-17 19:33:31 +01:00
Martchus 081ce235bf Improve coding style in SyncthingFileItemAction 2023-04-19 22:48:56 +02:00
Martchus eef47e7ef1 Allow building KIO/Dolphin against Qt/KF 6
* Avoid using function that is deprecated in Qt 6
* Remove unused include not available in KF6
* Don't hardcode CMake-package-prefix of KF modules
2023-02-07 20:57:21 +01:00
Martchus b45a5ec5e2 Fix path handling in Dolphin menu 2022-12-17 20:39:40 +01:00
Martchus 693484d3aa Fix missing include for `QRegularExpression` 2022-11-04 12:04:08 +01:00
Martchus a79a594238 Show Syncthing version in Dolphin integration
So even if there are no actions there's at least some bit of information
showing to verify the integration could connect to Syncthing.
2022-10-11 18:55:50 +02:00
Martchus af1529c396 Show note in Dolphin integration when current directory is not shared
* Otherwise it can be confusing if no actions are present
* See https://github.com/Martchus/syncthingtray/issues/159
2022-10-11 18:46:13 +02:00
Martchus 983ef9d37c Determine usage of bright custom colors automatically in fileitemaction 2022-07-16 20:30:18 +02:00
Martchus 0ef3b80447 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:29:49 +02:00
Martchus f5b6c506c7 Don't allow to rescan paused directories from Dolphin integration 2021-02-12 21:06:23 +01:00
Martchus a9f570fbc9 Fix clazy warning about detatching Qt container within syncthingfileitemaction.cpp 2021-02-12 20:25:57 +01:00
Martchus 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
Martchus cd805e83ba Allow using bright custom color in Dolphin menu
to make it look better when using a dark theme
2020-02-18 20:47:55 +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 1d5b90a693 Allow always to change config 2018-12-24 17:19:11 +01:00
Martchus 52f6e51e1a Fix wrong "Rescan ..." in file item action 2018-12-22 16:27:08 +01:00
Martchus 388b3ef6b1 Quote dir name in Dolphin menu 2018-11-30 17:46:48 +01:00
Martchus f901386478 Split fileitemactionplugin code into multiple files 2018-11-28 21:23:09 +01:00
Martchus 882a2a5d35 Make Dolphin integration configurable
* Allow to select Syncthing config file manually
* Show error if config file can not be located
2018-11-28 21:22:57 +01:00
Martchus 4a42a3f0c0 Fix and refactor directory error handling
* Rely not only on the FolderErrors event
* Request pull errors when opening the dialog
* Use "pullErrors" from FolderSummary
* Move code for directory error dialog into
  its own class

This should fix that sometimes obsolete errors
were still displayed or actually present errors
missing.
2018-11-03 21:30:17 +01:00
Martchus 6bd2323a16 Log status in SyncthingFileItemAction only if KIO_SYNCTHING_LOG_STATUS set 2018-10-20 23:55:05 +02:00
Martchus 9d7c3876f6 Avoid unnecessary nesting in SyncthingFileItemAction 2018-10-20 23:52:34 +02:00
Martchus ad3c8b5240 Don't meld 'unshared' into the status
Just deal with it like with the paused flag. This will
hopefully solve the issue that dirs are wrongly shown as
unshared till the next status update.
2018-07-22 22:09:18 +02:00
Martchus a531fc7ad4 Show dependency versions in about dialog of Dolphin menu 2018-05-08 19:19:27 +02:00
Martchus 79fe97d952 Refactor notifications
* Use SyncthingNotifier class
* Show 'Sync complete' on FolderCompletion event
* Add extra structure for stats
2018-01-27 23:27:50 +01:00
Martchus 14f42fbc51 Fix setting window attribute of about dialog 2017-09-08 17:01:51 +02:00
Martchus 80c2a4212e Show global/local dir status in Dolphin action 2017-08-30 00:36:49 +02:00
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus c11d527a54 Disable hover effect on "display-only" actions in KIO plugin 2017-04-08 14:27:15 +02:00
Martchus 1168e31f55 cli: Add shortcut for current working directory
syncthingctl pwd status/rescan/resume/pause
2017-03-29 23:17:53 +02:00
Martchus 16cd445108 Show error message in KIO plugin 2017-03-29 22:17:11 +02:00
Martchus 39f8bc36cf Improve KIO plugin code 2017-03-17 00:36:12 +01:00
Martchus fd2429b477 Handle status updates in KIO plugin 2017-03-13 00:40:48 +01:00
Martchus 2635cde225 Handle case when not connected in KIO plugin 2017-03-11 19:57:49 +01:00
Martchus a0031d3806 Update README.md 2017-02-26 19:15:21 +01:00
Martchus 5f2bb86c2f Add translations for KIO plugin 2017-02-26 18:59:37 +01:00
Martchus ee9fa0998e Fix use of wrong var in KIO plugin 2017-02-25 18:46:29 +01:00
Martchus aca4f47829 Add pause/resume to KIO plugin 2017-02-25 18:28:20 +01:00
Marius Kittler 1f6555a718 Don't require Qt 5.8.0 2017-02-23 15:57:16 +01:00
Martchus fc13a8f146 Read paused state of directories 2017-02-20 21:00:18 +01:00
Martchus 57f7d140e0 Provide basic Dolphin integration 2017-02-20 18:44:56 +01:00