From 5abebf71e91d16947d1ade8d4b97a76fc06e2be3 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 6 Apr 2024 08:44:15 +0100 Subject: gnu: go-github-com-mattn-go-runewidth: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-mattn-go-runewidth): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/check.scm: Add (gnu packages golang-xyz) module. * gnu/packages/disk.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/time.scm: Likewise. * gnu/packages/weather.scm: Likewise. Change-Id: I80f8b4c31c0fd8fee7c190a7740513ee139646d4 --- gnu/packages/messaging.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 03b7368ae0..24a9810c43 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -88,6 +88,7 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) + #:use-module (gnu packages golang-xyz) #:use-module (gnu packages gperf) #:use-module (gnu packages graphviz) #:use-module (gnu packages gstreamer) -- cgit v1.2.3 From 29c9ae91627afcae51d6ae9874061c7155339d32 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 16 Apr 2024 10:29:55 +0200 Subject: gnu: prosody-module: Update to changeset 66e7d46b1d4b. * gnu/packages/messaging.scm (prosody-module): Update to changeset 66e7d46b1d4b. Change-Id: Ia06e1a111e3117e7315b43c2be7ed4776ae26ac4 --- gnu/packages/messaging.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 24a9810c43..05a801b642 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2014, 2017 Julien Lepiller ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015 Andreas Enge -;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2021 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2021, 2024 Ricardo Wurmus ;;; Copyright © 2015, 2018-2021, 2023 Efraim Flashner ;;; Copyright © 2016, 2017 Nikita ;;; Copyright © 2016 Andy Patterson @@ -1581,8 +1581,8 @@ protocols.") (license license:x11))) (define (prosody-module module-name) - (let ((changeset "fba64b043c52") - (revision "2") + (let ((changeset "66e7d46b1d4b") + (revision "3") (package-name (string-append "prosody-" (string-replace-substring @@ -1601,7 +1601,7 @@ protocols.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1nvka8s3zqs97jqsknhp2q956rrdga1qaxa1y3i0h8zx3g9vgdch")))) + "0wyxvbf335jaaz850m2q6jj6ix4hjlhlh28kzk7462qa9fcw5p7s")))) (build-system copy-build-system) (arguments `(#:install-plan '((,(string-append module-name "/") ".")))) -- cgit v1.2.3 From 582bb94637f32a0bfdf025fb1b99055f7b6fffe6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 16 Apr 2024 12:00:35 +0200 Subject: gnu: Add prosody-cloud-notify-encrypted. * gnu/packages/messaging.scm (prosody-cloud-notify-encrypted): New variable. Change-Id: Ibe2c6525865ffce54191d806f0e184c814000993 --- gnu/packages/messaging.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 05a801b642..5292e5f9b0 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1611,6 +1611,14 @@ protocols.") (description #f) (license (package-license prosody))))) +(define-public prosody-cloud-notify-encrypted + (package + (inherit (prosody-module "mod_cloud_notify_encrypted")) + (propagated-inputs (list lua5.2-ossl)) + (synopsis "Custom extension to XEP-0357: Push Notifications") + (description "This module implements support for a Encrypted Push +Notifications, a custom extension to XEP-0357: Push Notifications."))) + (define-public prosody-http-upload (package (inherit (prosody-module "mod_http_upload")) -- cgit v1.2.3 From 46ba40de97914005bfef6b4ce3132ae3f432ffc3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 16 Apr 2024 12:00:43 +0200 Subject: gnu: Add prosody-cloud-notify-filters. * gnu/packages/messaging.scm (prosody-cloud-notify-filters): New variable. Change-Id: I3c0ea90cb44aa9f623573de98f7d79b46c696232 --- gnu/packages/messaging.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 5292e5f9b0..9a69cbede2 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1619,6 +1619,15 @@ protocols.") (description "This module implements support for a Encrypted Push Notifications, a custom extension to XEP-0357: Push Notifications."))) +(define-public prosody-cloud-notify-filters + (package + (inherit (prosody-module "mod_cloud_notify_filters")) + (synopsis "Filters for XEP-0357: Push Notifications") + (description "This module implements support for a group of push +notification extensions by the Tigase team that allow a client to specify +filters to be applied to push notifications. It is a custom extension to +XEP-0357: Push Notifications."))) + (define-public prosody-http-upload (package (inherit (prosody-module "mod_http_upload")) -- cgit v1.2.3 From e9393087fcb2550df9cd670a0288d81feeff8703 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 16 Apr 2024 12:00:48 +0200 Subject: gnu: Add prosody-cloud-notify-priority-tag. * gnu/packages/messaging.scm (prosody-cloud-notify-priority-tag): New variable. Change-Id: I22dc032112bf537058405ef0d8f42f371502a5ea --- gnu/packages/messaging.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 9a69cbede2..9cc03b6d39 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1628,6 +1628,14 @@ notification extensions by the Tigase team that allow a client to specify filters to be applied to push notifications. It is a custom extension to XEP-0357: Push Notifications."))) +(define-public prosody-cloud-notify-priority-tag + (package + (inherit (prosody-module "mod_cloud_notify_priority_tag")) + (synopsis "Tigase priorities for XEP-0357: Push Notifications") + (description "This module implements support for a Tigase XMPP extension, +Priority of notifications. It is a custom extension to XEP-0357: Push +Notifications."))) + (define-public prosody-http-upload (package (inherit (prosody-module "mod_http_upload")) -- cgit v1.2.3 From dbc4587fb137313c6e4da4d4030d1ad4d166045a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 16 Apr 2024 12:00:53 +0200 Subject: gnu: Add prosody-muc-offline-delivery. * gnu/packages/messaging.scm (prosody-muc-offline-delivery): New variable. Change-Id: I145ea713e5b12aef5f700669fe2ffc1e017322d2 --- gnu/packages/messaging.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 9cc03b6d39..beb1cfea96 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1643,6 +1643,15 @@ Notifications."))) (description "This module implements XEP-0363: it allows clients to upload files over HTTP."))) +(define-public prosody-muc-offline-delivery + (package + (inherit (prosody-module "mod_muc_offline_delivery")) + (synopsis "Deliver MUC messages to users who are not in the room") + (description "This module implements support for sending messages in a MUC +to affiliated users who are not in the room. This is a custom extension by +Tigase to allow push notifications from MUCs to users who are not currently +connected."))) + (define-public prosody-smacks (package (inherit (prosody-module "mod_smacks")) -- cgit v1.2.3 From 921b270a444f695259621365ce93910104eb5410 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 16 Apr 2024 18:29:30 +0200 Subject: gnu: Add prosody-cloud-notify. * gnu/packages/messaging.scm (prosody-cloud-notify): New variable. Change-Id: I55edcb3605fae922980163de2d29926798619624 --- gnu/packages/messaging.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/messaging.scm') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index beb1cfea96..20bdb713b5 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1611,6 +1611,31 @@ protocols.") (description #f) (license (package-license prosody))))) +(define-public prosody-cloud-notify + (package + (inherit (prosody-module "mod_cloud_notify")) + (synopsis "XEP-0357: Push Notifications") + (description "This module implements XEP-0357: Push Notifications. + +Some platforms, notably Apple’s iOS and many versions of Android, impose +limits that prevent applications from running or accessing the network in the +background. This makes it difficult or impossible for an XMPP application to +remain reliably connected to a server to receive messages. + +In order for messaging and other apps to receive notifications, the OS vendors +run proprietary servers that their OS maintains a permanent connection to in +the background. Then they provide APIs to application developers that allow +sending notifications to specific devices via those servers. + +When you connect to your server with a client that requires push +notifications, it will use this module to set up a “push registration”. When +you receive a message but your device is not connected to the server, this +module will generate a notification and send it to the push gateway operated +by your application’s developers). Their gateway will then connect to your +device’s OS vendor and ask them to forward the notification to your device. +When your device receives the notification, it will display it or wake up the +app so it can connect to XMPP and receive any pending messages."))) + (define-public prosody-cloud-notify-encrypted (package (inherit (prosody-module "mod_cloud_notify_encrypted")) -- cgit v1.2.3