aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-03-15 17:26:13 +0100
committerLibravatar GitHub <noreply@github.com>2023-03-15 17:26:13 +0100
commitf1152d3dbb4c6deefea168d66f15f77b7155a5fe (patch)
tree22c27234b6e3a2dfe47ade037ece47b2533f7039 /scripts
parent6.2.6-nightly.5 [skip ci] (diff)
downloadferdium-app-f1152d3dbb4c6deefea168d66f15f77b7155a5fe.tar.gz
ferdium-app-f1152d3dbb4c6deefea168d66f15f77b7155a5fe.tar.zst
ferdium-app-f1152d3dbb4c6deefea168d66f15f77b7155a5fe.zip
Basic D-Bus API (#866)
* feat: basic D-Bus API Expose muted state and the number of unread message over D-Bus when running on Linux. This is useful for, e.g., displaying notifications on a window manager status bar. Signed-off-by: Kristóf Marussy <kristof@marussy.com> * docs: create docs directory Move the documentation to a separate directory so that new documentation can be added into one place. We keep the following files still in the repository root by convention: * CHANGELOG.md * CODE_OF_CONDUCT.md * CONTRIBUTING.md * LICENSE.md * README.md * SECURITY.md Signed-off-by: Kristóf Marussy <kristof@marussy.com> * docs: D-Bus usage example Signed-off-by: Kristóf Marussy <kristof@marussy.com> * fix: remove unneeded D-Bus signals Only notify clients that the message counts or the mute status has changed if there actually was a change. Signed-off-by: Kristóf Marussy <kristof@marussy.com> * docs: rewrite sample bar client * docs: better unread --services help * docs: update dbus docs * docs: use ferdium-dbus in dbus bar example * docs: make command argument required in bar example --------- Signed-off-by: Kristóf Marussy <kristof@marussy.com> Co-authored-by: Victor Bonnelle <victor.bonnelle@protonmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/migration/migrate-unix.sh2
-rw-r--r--scripts/migration/migrate-windows.ps12
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/migration/migrate-unix.sh b/scripts/migration/migrate-unix.sh
index 37f24a533..c51227f33 100755
--- a/scripts/migration/migrate-unix.sh
+++ b/scripts/migration/migrate-unix.sh
@@ -65,6 +65,6 @@ else
65 echo "WARNING: Your data was partially migrated!" 65 echo "WARNING: Your data was partially migrated!"
66 echo "It was detected that your account is using Ferdi servers to sync your data." 66 echo "It was detected that your account is using Ferdi servers to sync your data."
67 echo "Please, check this guide on how to export and import your data manually:" 67 echo "Please, check this guide on how to export and import your data manually:"
68 echo "https://github.com/ferdium/ferdi/blob/main/MIGRATION.md" 68 echo "https://github.com/ferdium/ferdi/blob/main/docs/MIGRATION.md"
69 echo "********************************************" 69 echo "********************************************"
70fi 70fi
diff --git a/scripts/migration/migrate-windows.ps1 b/scripts/migration/migrate-windows.ps1
index a7e67b94a..0a793077c 100644
--- a/scripts/migration/migrate-windows.ps1
+++ b/scripts/migration/migrate-windows.ps1
@@ -39,7 +39,7 @@ if (-not (Test-Path -Path $FERDIUM_PATH/server.sqlite)) {
39 Write-Host "" 39 Write-Host ""
40 Write-Host "It was detected that your account is using Ferdi servers to sync your data." 40 Write-Host "It was detected that your account is using Ferdi servers to sync your data."
41 Write-Host "Please, check this guide on how to export and import your data manually:" 41 Write-Host "Please, check this guide on how to export and import your data manually:"
42 Write-Host "https://github.com/ferdium/ferdi/blob/main/MIGRATION.md" 42 Write-Host "https://github.com/ferdium/ferdi/blob/main/docs/MIGRATION.md"
43 Write-Host "" 43 Write-Host ""
44 Write-Host "********************************************" 44 Write-Host "********************************************"
45 45