From ddf617ff93cb3faec4171bcc4ed8228897dfec64 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 17 Jun 2022 06:17:19 +0000 Subject: [PATCH 1/4] Upgrade to v0.5.0 --- conf/amd64.src | 4 ++-- conf/arm64.src | 4 ++-- conf/armhf.src | 4 ++-- manifest.json | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/conf/amd64.src b/conf/amd64.src index d3e7568..a94c1c0 100644 --- a/conf/amd64.src +++ b/conf/amd64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/mautrix/whatsapp/releases/download/v0.4.0/mautrix-whatsapp-amd64 -SOURCE_SUM=b0c06680c990ad72d535a058225aab06c45f90ccec316f71bedeeea066b2106f +SOURCE_URL=https://github.com/mautrix/whatsapp/releases/download/v0.5.0/mautrix-whatsapp-amd64 +SOURCE_SUM=fae05ccc2c4ecf0d2d429ad701c3223483e1f644c0dd3d3b016c0eb81bc95b1b SOURCE_SUM_PRG=sha256sum SOURCE_IN_SUBDIR=false SOURCE_FILENAME=mautrix-whatsapp diff --git a/conf/arm64.src b/conf/arm64.src index 6a60dcb..f0cfde6 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/mautrix/whatsapp/releases/download/v0.4.0/mautrix-whatsapp-arm64 -SOURCE_SUM=599d95dc6149cf7498e394ef9b9729d1982e6e88f08d753479f906ac8256759e +SOURCE_URL=https://github.com/mautrix/whatsapp/releases/download/v0.5.0/mautrix-whatsapp-arm64 +SOURCE_SUM=8c9f7ebe11e5e3c4d27b0b1a48dabdada4a11405cd10192c662360a64522cc2d SOURCE_SUM_PRG=sha256sum SOURCE_IN_SUBDIR=false SOURCE_FILENAME=mautrix-whatsapp diff --git a/conf/armhf.src b/conf/armhf.src index 2eaa403..ede999d 100644 --- a/conf/armhf.src +++ b/conf/armhf.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/mautrix/whatsapp/releases/download/v0.4.0/mautrix-whatsapp-arm -SOURCE_SUM=65f8bd40bda7e56135b0781754caea6af79584f1cd68b6d9386c9a2a33e13063 +SOURCE_URL=https://github.com/mautrix/whatsapp/releases/download/v0.5.0/mautrix-whatsapp-arm +SOURCE_SUM=2812c2e69df23f5a716e23c2fc6152d505e6c9d8e414690cc79d3a11d2fd630c SOURCE_SUM_PRG=sha256sum SOURCE_IN_SUBDIR=false SOURCE_FILENAME=mautrix-whatsapp diff --git a/manifest.json b/manifest.json index e3c9f27..fb58d52 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Matrix / Synapse puppeting bridge for WhatsApp", "fr": "Passerelle Matrix / Synapse pour WhatsApp" }, - "version": "0.4.0~ynh1", + "version": "0.5.0~ynh1", "url": "https://github.com/mautrix/whatsapp", "upstream": { "license": "AGPL-3.0-or-later", @@ -15,8 +15,8 @@ }, "license": "AGPL-3.0-or-later", "maintainer": { - "name": "thardev", - "email": "", + "name": "Gredin67", + "email": "mautrix_whatsapp_ynh@sans-nuage.fr", "url": "https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh" }, "requirements": { From c5a34a43ec1bf55baa8b8db4c9a31f8ca2ff0e7e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 17 Jun 2022 06:17:22 +0000 Subject: [PATCH 2/4] 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 58069ef..9af8856 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) ** Attention: always backup and restore the Yunohost matrix_synapse et mautrix_whatsapp apps together!** -**Shipped version:** 0.4.0~ynh1 +**Shipped version:** 0.5.0~ynh1 ## Disclaimers / important information ### List of known public services diff --git a/README_fr.md b/README_fr.md index 4d8a265..62237b7 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,7 +24,7 @@ C'est pourquoi [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_y ** Attention : sauvegardez et restaurez toujours les deux applications Yunohost matrix_synapse et mautrix_whatsapp en même temps!** -**Version incluse :** 0.4.0~ynh1 +**Version incluse :** 0.5.0~ynh1 ## Avertissements / informations importantes ### Liste de passerelles publiques From 2836defb8d13c20d5243d36570f9c53901918747 Mon Sep 17 00:00:00 2001 From: Dante Date: Fri, 17 Jun 2022 09:39:36 +0100 Subject: [PATCH 3/4] Add config changes from v0.5.0 --- conf/config.yaml | 44 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/conf/config.yaml b/conf/config.yaml index bc1d0b2..f12c0c0 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -1,4 +1,4 @@ -# From v0.2.1 https://github.com/mautrix/whatsapp/blob/master/example-config.yaml +# From v0.5.0 https://github.com/mautrix/whatsapp/blob/master/example-config.yaml # Homeserver details. homeserver: # The address that this appservice can use to connect to the homeserver. @@ -49,14 +49,6 @@ appservice: max_conn_idle_time: null max_conn_lifetime: null - # Settings for provisioning API - provisioning: - # Prefix for the provisioning API paths. - prefix: /_matrix/provision - # Shared secret for authentication. If set to "generate", a random secret will be generated, - # or if set to "disable", the provisioning API will be disabled. - shared_secret: generate - # The unique ID of this appservice. #id: whatsapp id: __BOTNAME__ @@ -111,8 +103,15 @@ bridge: # {{.FullName}} - full name from contact list # {{.FirstName}} - first name from contact list displayname_template: "{{if .PushName}}{{.PushName}}{{else if .BusinessName}}{{.BusinessName}}{{else}}{{.JID}}{{end}} (WA)" + # Should the bridge create a space for each logged-in user and add bridged rooms to it? + # Users who logged in before turning this on should run `!wa sync space` to create and fill the space for the first time. + personal_filtering_spaces: false # Should the bridge send a read receipt from the bridge bot when a message has been sent to WhatsApp? delivery_receipts: false + # Whether the bridge should send the message status as a custom com.beeper.message_send_status event. + message_status_events: false + # Whether the bridge should send error notices via m.notice events when a message fails to bridge. + message_error_notices: true # Should incoming calls send a message to the Matrix room? call_start_notices: true # Should another user's cryptographic identity changing send a message to Matrix? @@ -206,6 +205,11 @@ bridge: # Note that updating the m.direct event is not atomic (except with mautrix-asmux) # and is therefore prone to race conditions. sync_direct_chat_list: false + # Should the bridge use MSC2867 to bridge manual "mark as unread"s from + # WhatsApp and set the unread status on initial backfill? + # This will only work on clients that support the m.marked_unread or + # com.famedly.marked_unread room account data. + sync_manual_marked_unread: true # When double puppeting is enabled, users can use `!wa toggle` to change whether # presence and read receipts are bridged. These settings set the default values. # Existing users won't be affected when these are changed. @@ -253,6 +257,9 @@ bridge: # Should WhatsApp status messages be bridged into a Matrix room? # Disabling this won't affect already created status broadcast rooms. enable_status_broadcast: true + # Should sending WhatsApp status messages be allowed? + # This can cause issues if the user has lots of contacts, so it's disabled by default. + disable_status_broadcast_send: true # Should the status broadcast room be muted and moved into low priority by default? # This is only applied when creating the room, the user can unmute it later. mute_status_broadcast: true @@ -267,6 +274,17 @@ bridge: # Whether or not created rooms should have federation enabled. # If false, created portal rooms will never be federated. federate_rooms: true + # Whether to enable disappearing messages in groups. If enabled, then the expiration time of + # the messages will be determined by the first user to read the message, rather than individually. + # If the bridge only has a single user, this can be turned on safely. + disappearing_messages_in_groups: false + # Should the bridge never send alerts to the bridge management room? + # These are mostly things like the user being logged out. + disable_bridge_alerts: false + # Should the bridge detect URLs in outgoing messages, ask the homeserver to generate a preview, + # and send it to WhatsApp? URL previews can always be sent using the `com.beeper.linkpreviews` + # key in the event content even if this is disabled. + url_previews: false # The prefix for commands. Only required in non-management rooms. command_prefix: "!wa" @@ -306,6 +324,14 @@ bridge: # Verification by the bridge is not yet implemented. require_verification: true + # Settings for provisioning API + provisioning: + # Prefix for the provisioning API paths. + prefix: /_matrix/provision + # Shared secret for authentication. If set to "generate", a random secret will be generated, + # or if set to "disable", the provisioning API will be disabled. + shared_secret: generate + # Permissions for using the bridge. # Permitted values: # relay - Talk through the relaybot (if enabled), no access otherwise From 83152e09d72cab54b3791c1297838c3155cb2b9e Mon Sep 17 00:00:00 2001 From: Dante Date: Fri, 17 Jun 2022 09:43:30 +0100 Subject: [PATCH 4/4] Change maintainer --- manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index fb58d52..63b993e 100644 --- a/manifest.json +++ b/manifest.json @@ -15,8 +15,8 @@ }, "license": "AGPL-3.0-or-later", "maintainer": { - "name": "Gredin67", - "email": "mautrix_whatsapp_ynh@sans-nuage.fr", + "name": "thardev", + "email": "", "url": "https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh" }, "requirements": {