From 4897443d2439f58889e8d558d4ac1944d70f2655 Mon Sep 17 00:00:00 2001 From: Christoph Settgast Date: Sun, 4 Sep 2022 22:49:15 +0200 Subject: [PATCH 01/12] Fix starting of coturn-synapse coturn won't start with setuid filter, see #327 Fix tested there, merge into package. Closes: #327 --- conf/coturn-synapse.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/coturn-synapse.service b/conf/coturn-synapse.service index ebbf25c..724ef01 100644 --- a/conf/coturn-synapse.service +++ b/conf/coturn-synapse.service @@ -38,7 +38,7 @@ ProtectControlGroups=yes ProtectKernelModules=yes ProtectKernelTunables=yes LockPersonality=yes -SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap +SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @swap # Denying access to capabilities that should not be relevant for webapps # Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html From cd88d25b4cc74c8fa842a7c2bdf82da11c0a8d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 1 Sep 2022 03:13:06 +0200 Subject: [PATCH 02/12] Upgrade synapse to 1.66.0 --- README.md | 4 ++-- conf/armv7_bullseye.src | 4 ++-- conf/armv7_buster.src | 4 ++-- manifest.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e22f52f..8c96d07 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # Synapse for YunoHost -[![Integration level](https://dash.yunohost.org/integration/synapse.svg)](https://dash.yunohost.org/appci/app/synapse) ![Working status](https://ci-apps.yunohost.org/ci/badges/synapse.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/synapse.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/synapse.svg)](https://dash.yunohost.org/appci/app/synapse) ![Working status](https://ci-apps.yunohost.org/ci/badges/synapse.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/synapse.maintain.svg) [![Install Synapse with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=synapse) *[Lire ce readme en français.](./README_fr.md)* @@ -20,7 +20,7 @@ Instant messaging server matrix network. Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) -**Shipped version:** 1.65.0~ynh1 +**Shipped version:** 1.66.0~ynh1 ## Disclaimers / important information diff --git a/conf/armv7_bullseye.src b/conf/armv7_bullseye.src index 96b8cc9..a601f85 100644 --- a/conf/armv7_bullseye.src +++ b/conf/armv7_bullseye.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.65.0/matrix-synapse_1.65.0-bullseye-bin1_armv7l.tar.gz -SOURCE_SUM=b0af6c40001712618ee7e270c6386bdb0f9f159af936ad7e9d2e9f57e5016fca +SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.66.0/matrix-synapse_1.66.0-bullseye-bin1_armv7l.tar.gz +SOURCE_SUM=33fbcf5fa42579ba2a1ecb93534f9710a92de85396d66b422966d9976da08970 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/conf/armv7_buster.src b/conf/armv7_buster.src index 4b6fb17..7ba2ab4 100644 --- a/conf/armv7_buster.src +++ b/conf/armv7_buster.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.65.0/matrix-synapse_1.65.0-buster-bin1_armv7l.tar.gz -SOURCE_SUM=52f80e375c21d9e65e1eb48719140daef80cf4d12e0a80ab35d2ff021bce9e3d +SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.66.0/matrix-synapse_1.66.0-buster-bin1_armv7l.tar.gz +SOURCE_SUM=0a3c93d9120bab771311ab641be34033d2d2e33eac9dbc699ca6a2e705ec2631 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/manifest.json b/manifest.json index 0e80056..5c28db5 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Instant messaging server which uses Matrix", "fr": "Un serveur de messagerie instantané basé sur Matrix" }, - "version": "1.65.0~ynh1", + "version": "1.66.0~ynh1", "url": "http://matrix.org", "license": "Apache-2.0", "maintainer": { From 1d0aef52527ac68c0e4b11f03a6c4b06d1315267 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 12 Sep 2022 18:52:52 +0000 Subject: [PATCH 03/12] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8c96d07..2645a94 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # Synapse for YunoHost -[![Integration level](https://dash.yunohost.org/integration/synapse.svg)](https://dash.yunohost.org/appci/app/synapse) ![Working status](https://ci-apps.yunohost.org/ci/badges/synapse.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/synapse.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/synapse.svg)](https://dash.yunohost.org/appci/app/synapse) ![Working status](https://ci-apps.yunohost.org/ci/badges/synapse.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/synapse.maintain.svg) [![Install Synapse with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=synapse) *[Lire ce readme en français.](./README_fr.md)* diff --git a/README_fr.md b/README_fr.md index 55562b4..07684c8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ Instant messaging server matrix network. Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) -**Version incluse :** 1.65.0~ynh1 +**Version incluse :** 1.66.0~ynh1 ## Avertissements / informations importantes From 4c8f86064411a89f533d407dd5d1c29c8bbd82dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 14 Sep 2022 05:01:29 +0200 Subject: [PATCH 04/12] Upgrade synapse to 1.67.0 --- README.md | 2 +- conf/armv7_bullseye.src | 4 ++-- conf/armv7_buster.src | 4 ++-- manifest.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2645a94..d914a42 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Instant messaging server matrix network. Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) -**Shipped version:** 1.66.0~ynh1 +**Shipped version:** 1.67.0~ynh1 ## Disclaimers / important information diff --git a/conf/armv7_bullseye.src b/conf/armv7_bullseye.src index a601f85..059ea86 100644 --- a/conf/armv7_bullseye.src +++ b/conf/armv7_bullseye.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.66.0/matrix-synapse_1.66.0-bullseye-bin1_armv7l.tar.gz -SOURCE_SUM=33fbcf5fa42579ba2a1ecb93534f9710a92de85396d66b422966d9976da08970 +SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.67.0/matrix-synapse_1.67.0-bullseye-bin1_armv7l.tar.gz +SOURCE_SUM=3b156833ac280aac5b958257deef0b537ebe52d2b0530aa4934bd06af9f5b7e0 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/conf/armv7_buster.src b/conf/armv7_buster.src index 7ba2ab4..c344db2 100644 --- a/conf/armv7_buster.src +++ b/conf/armv7_buster.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.66.0/matrix-synapse_1.66.0-buster-bin1_armv7l.tar.gz -SOURCE_SUM=0a3c93d9120bab771311ab641be34033d2d2e33eac9dbc699ca6a2e705ec2631 +SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.67.0/matrix-synapse_1.67.0-buster-bin1_armv7l.tar.gz +SOURCE_SUM=bcc0d6eedd3688f0f92aff5acbac9adfba588fd2352ba03fc7b02fdf5ea579c5 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/manifest.json b/manifest.json index 5c28db5..aade73b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Instant messaging server which uses Matrix", "fr": "Un serveur de messagerie instantané basé sur Matrix" }, - "version": "1.66.0~ynh1", + "version": "1.67.0~ynh1", "url": "http://matrix.org", "license": "Apache-2.0", "maintainer": { From b75e03bf872b5f751b73d3f17a4da9725c5b74f3 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 15 Sep 2022 05:21:04 +0000 Subject: [PATCH 05/12] Auto-update README --- README_fr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_fr.md b/README_fr.md index 07684c8..a121658 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ Instant messaging server matrix network. Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) -**Version incluse :** 1.66.0~ynh1 +**Version incluse :** 1.67.0~ynh1 ## Avertissements / informations importantes From acb612550939813af6a17960ad71b6df7bbe6222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 15 Sep 2022 13:55:46 +0200 Subject: [PATCH 06/12] Fix install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 29311e2..8c62ee9 100644 --- a/scripts/install +++ b/scripts/install @@ -53,7 +53,7 @@ data_path="/home/yunohost.app/matrix-$app" main_domain=$(yunohost domain list --output-as json | jq -r .main) if [[ "$server_name" == "$default_domain_value" ]]; then - server_name=$domain + server_name=$domain fi #================================================= @@ -205,7 +205,7 @@ source $final_path/bin/activate set -u; # Generate config -python -m synapse.app.homeserver --keys-directory /etc/matrix-$app/ --generate-config --generate-keys --server-name $server_name --report-stats=no -c homeserver.yml +python -m synapse.app.homeserver --keys-directory /etc/matrix-$app/ --generate-config --server-name $server_name --report-stats=no -c homeserver.yml # This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does set +u; @@ -341,7 +341,7 @@ if yunohost --output-as plain domain list | grep -q "^$server_name$"; then --label="Server info for clients. (well-known)" --show_tile=false --allowed=visitors \ --auth_header=false --protected=true fi - + #================================================= # UPDATE HOOKS #================================================= From 68c1b62eb8d8db92bbdea3f881d378f614387fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 16 Sep 2022 06:35:52 +0200 Subject: [PATCH 07/12] Fix turnserver config for bullseye --- conf/coturn-synapse.service | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/conf/coturn-synapse.service b/conf/coturn-synapse.service index 724ef01..c4a13d3 100644 --- a/conf/coturn-synapse.service +++ b/conf/coturn-synapse.service @@ -6,13 +6,9 @@ After=syslog.target network.target [Service] User=turnserver Group=turnserver -Type=forking +Type=simple EnvironmentFile=/etc/default/coturn-__APP__ -PIDFile=/run/coturn-__APP__/turnserver.pid -RuntimeDirectory=coturn-__APP__ -RuntimeDirectoryMode=0755 -ExecStart=/usr/bin/turnserver -o -c /etc/matrix-__APP__/coturn.conf $EXTRA_OPTIONS -ExecStopPost=/bin/rm -f /run/coturn-__APP__/turnserver.pid +ExecStart=/usr/bin/turnserver -c /etc/matrix-__APP__/coturn.conf $EXTRA_OPTIONS --pidfile= Restart=on-abort LimitCORE=infinity @@ -50,7 +46,7 @@ CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW -CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG +CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG [Install] WantedBy=multi-user.target From a893b74a4182bba57034ec097c0f949a8851ad14 Mon Sep 17 00:00:00 2001 From: Callum Macdonald Date: Wed, 5 Jan 2022 11:25:48 +0100 Subject: [PATCH 08/12] Switch to matrix.to link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d914a42..2b0e3c6 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Instant messaging server matrix network. -Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) +Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:libera.chat](https://matrix.to/#/#yunohost:libera.chat) **Shipped version:** 1.67.0~ynh1 From e13df11f876a1ac4c4685a5607db87a74c376d76 Mon Sep 17 00:00:00 2001 From: Callum Macdonald Date: Wed, 5 Jan 2022 11:59:20 +0100 Subject: [PATCH 09/12] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b0e3c6..f1c9f6e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Instant messaging server matrix network. -Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:libera.chat](https://matrix.to/#/#yunohost:libera.chat) +YunoHost chatroom with Matrix : [https://matrix.to/#/#yunohost:libera.chat](https://matrix.to/#/#yunohost:libera.chat) **Shipped version:** 1.67.0~ynh1 From 9bdc10075e0c811c1d881128e60da6ab6b5b8b46 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 16 Sep 2022 23:33:39 +0200 Subject: [PATCH 10/12] Back to :matrix.org chatroom --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1c9f6e..f14f751 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Instant messaging server matrix network. -YunoHost chatroom with Matrix : [https://matrix.to/#/#yunohost:libera.chat](https://matrix.to/#/#yunohost:libera.chat) +YunoHost chatroom with Matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org) **Shipped version:** 1.67.0~ynh1 From 98425d24d7e12173637d20fb9aa7defc10d04183 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 16 Sep 2022 23:36:33 +0200 Subject: [PATCH 11/12] =?UTF-8?q?Back=20to=20:matrix.org=20chatroom=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/DESCRIPTION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 1ae7dbb..bbe3d66 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1,3 +1,3 @@ Instant messaging server matrix network. -Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) +Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org) From 724fff3f5e8e80122177334400c21ef816a2b4b1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 16 Sep 2022 21:40:00 +0000 Subject: [PATCH 12/12] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f14f751..3be92bb 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Instant messaging server matrix network. -YunoHost chatroom with Matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org) +Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org) **Shipped version:** 1.67.0~ynh1 diff --git a/README_fr.md b/README_fr.md index a121658..7742b04 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Instant messaging server matrix network. -Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) +Yunohost chatroom with matrix : [https://matrix.to/#/#yunohost:matrix.org](https://matrix.to/#/#yunohost:matrix.org) **Version incluse :** 1.67.0~ynh1