pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/matrix-synapse



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat Nov 12 13:24:09 UTC 2022

Modified Files:
        pkgsrc/chat/matrix-synapse: Makefile PLIST cargo-depends.mk distinfo
        pkgsrc/chat/matrix-synapse/patches: patch-synapse_handlers_room.py

Log Message:
chat/matrix-synapse: Update to 1.71.0

Synapse 1.71.0 (2022-11-08)
===========================

Please note that, as announced in the release notes for Synapse
1.69.0, legacy Prometheus metric names are now disabled by default.
They will be removed altogether in Synapse 1.73.0.  If not already
done, server administrators should update their dashboards and
alerting rules to avoid using the deprecated metric names.  See the
[upgrade
notes](https://matrix-org.github.io/synapse/v1.71/upgrade.html#upgrading-to-v1710)
for more details.

**Note:** in line with our [deprecation
  policy](https://matrix-org.github.io/synapse/latest/deprecation_policy.html)
  for platform dependencies, this will be the last release to support
  PostgreSQL 10, which reaches upstream end-of-life on November 10th,
  2022. Future releases of Synapse will require PostgreSQL 11+.

Features
--------

- Support back-channel logouts from OpenID Connect
  providers. ([\#11414](https://github.com/matrix-org/synapse/issues/11414))

- Allow use of Postgres and SQLlite full-text search operators in
  search
  queries. ([\#11635](https://github.com/matrix-org/synapse/issues/11635),
  [\#14310](https://github.com/matrix-org/synapse/issues/14310),
  [\#14311](https://github.com/matrix-org/synapse/issues/14311))

- Implement
  [MSC3664](https://github.com/matrix-org/matrix-doc/pull/3664),
  Pushrules for relations. Contributed by
  Nico. ([\#11804](https://github.com/matrix-org/synapse/issues/11804))

- Improve aesthetics of HTML templates. Note that these changes do not
  retroactively apply to templates which have been
  [customised](https://matrix-org.github.io/synapse/latest/templates.html#templates)
  by server
  admins. ([\#13652](https://github.com/matrix-org/synapse/issues/13652))

- Enable write-ahead logging for SQLite installations. Contributed by
  [@asymmetric](https://github.com/asymmetric). ([\#13897](https://github.com/matrix-org/synapse/issues/13897))

- Show erasure status when [listing
  users](https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#query-user-account)
  in the Admin
  API. ([\#14205](https://github.com/matrix-org/synapse/issues/14205))

- Provide a specific error code when a `/sync` request provides a
  filter which doesn't represent a JSON
  object. ([\#14262](https://github.com/matrix-org/synapse/issues/14262))


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 pkgsrc/chat/matrix-synapse/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/chat/matrix-synapse/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/matrix-synapse/cargo-depends.mk
cvs rdiff -u -r1.48 -r1.49 pkgsrc/chat/matrix-synapse/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/chat/matrix-synapse/patches/patch-synapse_handlers_room.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/matrix-synapse/Makefile
diff -u pkgsrc/chat/matrix-synapse/Makefile:1.67 pkgsrc/chat/matrix-synapse/Makefile:1.68
--- pkgsrc/chat/matrix-synapse/Makefile:1.67    Sat Oct 29 15:36:17 2022
+++ pkgsrc/chat/matrix-synapse/Makefile Sat Nov 12 13:24:09 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.67 2022/10/29 15:36:17 gdt Exp $
+# $NetBSD: Makefile,v 1.68 2022/11/12 13:24:09 gdt Exp $
 
-DISTNAME=      matrix-synapse-1.70.1
+DISTNAME=      matrix-synapse-1.71.0
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=matrix-org/}
 GITHUB_PROJECT=        synapse

Index: pkgsrc/chat/matrix-synapse/PLIST
diff -u pkgsrc/chat/matrix-synapse/PLIST:1.36 pkgsrc/chat/matrix-synapse/PLIST:1.37
--- pkgsrc/chat/matrix-synapse/PLIST:1.36       Sat Oct 29 15:36:17 2022
+++ pkgsrc/chat/matrix-synapse/PLIST    Sat Nov 12 13:24:09 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.36 2022/10/29 15:36:17 gdt Exp $
+@comment $NetBSD: PLIST,v 1.37 2022/11/12 13:24:09 gdt Exp $
 bin/export_signing_key
 bin/generate_config
 bin/generate_log_config
@@ -520,6 +520,7 @@ ${PYSITELIB}/synapse/replication/tcp/str
 ${PYSITELIB}/synapse/replication/tcp/streams/federation.py
 ${PYSITELIB}/synapse/replication/tcp/streams/federation.pyc
 ${PYSITELIB}/synapse/res/providers.json
+${PYSITELIB}/synapse/res/templates/_base.html
 ${PYSITELIB}/synapse/res/templates/account_previously_renewed.html
 ${PYSITELIB}/synapse/res/templates/account_renewed.html
 ${PYSITELIB}/synapse/res/templates/add_threepid.html
@@ -564,6 +565,7 @@ ${PYSITELIB}/synapse/res/templates/sso_l
 ${PYSITELIB}/synapse/res/templates/sso_new_user_consent.html
 ${PYSITELIB}/synapse/res/templates/sso_partial_profile.html
 ${PYSITELIB}/synapse/res/templates/sso_redirect_confirm.html
+${PYSITELIB}/synapse/res/templates/style.css
 ${PYSITELIB}/synapse/res/templates/terms.html
 ${PYSITELIB}/synapse/rest/__init__.py
 ${PYSITELIB}/synapse/rest/__init__.pyc
@@ -737,6 +739,8 @@ ${PYSITELIB}/synapse/rest/synapse/client
 ${PYSITELIB}/synapse/rest/synapse/client/new_user_consent.pyc
 ${PYSITELIB}/synapse/rest/synapse/client/oidc/__init__.py
 ${PYSITELIB}/synapse/rest/synapse/client/oidc/__init__.pyc
+${PYSITELIB}/synapse/rest/synapse/client/oidc/backchannel_logout_resource.py
+${PYSITELIB}/synapse/rest/synapse/client/oidc/backchannel_logout_resource.pyc
 ${PYSITELIB}/synapse/rest/synapse/client/oidc/callback_resource.py
 ${PYSITELIB}/synapse/rest/synapse/client/oidc/callback_resource.pyc
 ${PYSITELIB}/synapse/rest/synapse/client/password_reset.py
@@ -1283,6 +1287,9 @@ ${PYSITELIB}/synapse/storage/schema/main
 ${PYSITELIB}/synapse/storage/schema/main/delta/73/08thread_receipts_non_null.sql.sqlite
 ${PYSITELIB}/synapse/storage/schema/main/delta/73/09partial_joined_via_destination.sql
 ${PYSITELIB}/synapse/storage/schema/main/delta/73/09threads_table.sql
+${PYSITELIB}/synapse/storage/schema/main/delta/73/10_update_sqlite_fts4_tokenizer.py
+${PYSITELIB}/synapse/storage/schema/main/delta/73/10_update_sqlite_fts4_tokenizer.pyc
+${PYSITELIB}/synapse/storage/schema/main/delta/73/10login_tokens.sql
 ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/application_services.sql
 ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/event_edges.sql
 ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/event_signatures.sql

Index: pkgsrc/chat/matrix-synapse/cargo-depends.mk
diff -u pkgsrc/chat/matrix-synapse/cargo-depends.mk:1.3 pkgsrc/chat/matrix-synapse/cargo-depends.mk:1.4
--- pkgsrc/chat/matrix-synapse/cargo-depends.mk:1.3     Sat Oct 29 15:36:17 2022
+++ pkgsrc/chat/matrix-synapse/cargo-depends.mk Sat Nov 12 13:24:09 2022
@@ -1,7 +1,7 @@
-# $NetBSD: cargo-depends.mk,v 1.3 2022/10/29 15:36:17 gdt Exp $
+# $NetBSD: cargo-depends.mk,v 1.4 2022/11/12 13:24:09 gdt Exp $
 
 CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.19
-CARGO_CRATE_DEPENDS+=  anyhow-1.0.65
+CARGO_CRATE_DEPENDS+=  anyhow-1.0.66
 CARGO_CRATE_DEPENDS+=  arc-swap-1.5.1
 CARGO_CRATE_DEPENDS+=  autocfg-1.1.0
 CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
@@ -37,9 +37,9 @@ CARGO_CRATE_DEPENDS+= regex-1.6.0
 CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.27
 CARGO_CRATE_DEPENDS+=  ryu-1.0.11
 CARGO_CRATE_DEPENDS+=  scopeguard-1.1.0
-CARGO_CRATE_DEPENDS+=  serde-1.0.145
-CARGO_CRATE_DEPENDS+=  serde_derive-1.0.145
-CARGO_CRATE_DEPENDS+=  serde_json-1.0.86
+CARGO_CRATE_DEPENDS+=  serde-1.0.147
+CARGO_CRATE_DEPENDS+=  serde_derive-1.0.147
+CARGO_CRATE_DEPENDS+=  serde_json-1.0.87
 CARGO_CRATE_DEPENDS+=  smallvec-1.10.0
 CARGO_CRATE_DEPENDS+=  subtle-2.4.1
 CARGO_CRATE_DEPENDS+=  syn-1.0.102

Index: pkgsrc/chat/matrix-synapse/distinfo
diff -u pkgsrc/chat/matrix-synapse/distinfo:1.48 pkgsrc/chat/matrix-synapse/distinfo:1.49
--- pkgsrc/chat/matrix-synapse/distinfo:1.48    Sat Oct 29 15:36:17 2022
+++ pkgsrc/chat/matrix-synapse/distinfo Sat Nov 12 13:24:09 2022
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.48 2022/10/29 15:36:17 gdt Exp $
+$NetBSD: distinfo,v 1.49 2022/11/12 13:24:09 gdt Exp $
 
 BLAKE2s (aho-corasick-0.7.19.crate) = b13c5789625903a58cfdb854bca6eb074329fde83ffb2581686f105d52d31996
 SHA512 (aho-corasick-0.7.19.crate) = 0d63d29079650bde4e8a9f8529716b9d8c42db076a1d74715116240c2628173f1e86fb29c08a25ad07a0148e48789ab20de0c186a8b3dfb193cbfeb0d76ae78c
 Size (aho-corasick-0.7.19.crate) = 113070 bytes
-BLAKE2s (anyhow-1.0.65.crate) = 9800c69ba5bc16c800af9db6744294b1a3a6c82b37abcc65be081d725ddc8e15
-SHA512 (anyhow-1.0.65.crate) = 86b83c88fbc343f4ff1bfba5bf91f3c5133fbed8276e78f4222b28e38ada79c4245e2780934897525b41cbd4b8a9d0bc9cbd8b6c2dd32544ba124d458f5a490c
-Size (anyhow-1.0.65.crate) = 43585 bytes
+BLAKE2s (anyhow-1.0.66.crate) = 8f80332ec72132612603d853a1e995ad30c019fa19ecee858f6a117bf134a72d
+SHA512 (anyhow-1.0.66.crate) = 7b4078906df2805d491dc2f29c4eec85a9f43078c0dcd9c05261c2706ed655953b693c4f59fda62547681b29cda9ac7a0789f1359bb18110403cfe34e9fb0dc3
+Size (anyhow-1.0.66.crate) = 43770 bytes
 BLAKE2s (arc-swap-1.5.1.crate) = ae85262e8fa11faea978acbbbfd65351c2519cd73be05fbb2bcdf7527927e4fc
 SHA512 (arc-swap-1.5.1.crate) = 8636149e92c068d5ff5352a19c9973e7bf2aba68b9363c783178903a8665f6edabbd30c25ad7992646635efe5830d67c958f8d41b44a4ed1fe5698628b41c074
 Size (arc-swap-1.5.1.crate) = 66157 bytes
@@ -54,9 +54,9 @@ Size (lock_api-0.4.9.crate) = 25685 byte
 BLAKE2s (log-0.4.17.crate) = 6994234f481cfe97b62255329a6c6f4a07dcdb193cc54d2c7ddda0519b41d214
 SHA512 (log-0.4.17.crate) = 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2
 Size (log-0.4.17.crate) = 38028 bytes
-BLAKE2s (matrix-synapse-1.70.1.tar.gz) = 36e654d9e4b7b129243a5ac3c0a2bda574782195933fc54b7a2688e92f7626d3
-SHA512 (matrix-synapse-1.70.1.tar.gz) = 6e0da78d21a1f052ee12eb5e614be4bb25efdcbd27775209b93dc386b0f35f2c7faa6233bfb81901bbe225f802f7ae6572022f467366027a45865ca1a2f88dec
-Size (matrix-synapse-1.70.1.tar.gz) = 8049336 bytes
+BLAKE2s (matrix-synapse-1.71.0.tar.gz) = 7b9ad90fe4912e2e2e06a63b17e0a3173a4ddad430887fa0cac1455d7c86f7d8
+SHA512 (matrix-synapse-1.71.0.tar.gz) = 646b54287dafe9d6ed93505a7f392c8551889c6088a78076d89cf5e197aee1d5dca936d463cef81b0cc20026c88ee5bfe63199c206218a05d98e29c9c157e5be
+Size (matrix-synapse-1.71.0.tar.gz) = 8076599 bytes
 BLAKE2s (memchr-2.5.0.crate) = afa77d7fdf25c72d251cda6b41f3fe065a748b101e3716aa65f0d6144f74da38
 SHA512 (memchr-2.5.0.crate) = 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
 Size (memchr-2.5.0.crate) = 65812 bytes
@@ -114,15 +114,15 @@ Size (ryu-1.0.11.crate) = 47007 bytes
 BLAKE2s (scopeguard-1.1.0.crate) = d3884942354d25131c602303463c5686e520bd94daf216a810679acabf59b82e
 SHA512 (scopeguard-1.1.0.crate) = 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d
 Size (scopeguard-1.1.0.crate) = 11470 bytes
-BLAKE2s (serde-1.0.145.crate) = 73e65486e438f1d88c875001331f81d35a3713aeadee15224db2f09bb33eafdf
-SHA512 (serde-1.0.145.crate) = 8146c39249ad54028717bcfd916fa5abd8b1ddaec54c4d0de485bf10cb6a85676a53068a07b9563e1717fedb4746ef672ae0c285a8998543cf92d7a157f2d442
-Size (serde-1.0.145.crate) = 76568 bytes
-BLAKE2s (serde_derive-1.0.145.crate) = 27531c3c4900176c780e275b4c89436e7d9ed109973341c754d5ca45441e3392
-SHA512 (serde_derive-1.0.145.crate) = 267389f8cd6d3a7b7d4a4d3226346999294e2fbef7446ff1cd1183dfb4fd17409f5891f6c2cae113b79cffdaca07f2037fd2f4108f93723e6baa5153bb9a61c6
-Size (serde_derive-1.0.145.crate) = 54860 bytes
-BLAKE2s (serde_json-1.0.86.crate) = 07c7e19ff3346031de47bdd0780ccb3a3788b74b9f3cbb2b73e05055eeba69c8
-SHA512 (serde_json-1.0.86.crate) = 86922c40ce32f03c5128e899ce161e186dc35decd3e0672ed347a82f59452f2a3ba0284c342548b17e4b8dba7b13a3d98749ae8981c725ee853537f6e6b40092
-Size (serde_json-1.0.86.crate) = 144680 bytes
+BLAKE2s (serde-1.0.147.crate) = 0d1e68a65a87e2f11520ce29b446289c1382d0cdd1138dd4fe77531e22e94f02
+SHA512 (serde-1.0.147.crate) = d993bd86c61bba602faf7286ff21d36c5d8c83176c5bbb203cb284a3f89dbc8a1ca893a09eb2657f9e98ccb5c5287f44aac06d2e60db96e78d99ee40bd1fe1b0
+Size (serde-1.0.147.crate) = 76697 bytes
+BLAKE2s (serde_derive-1.0.147.crate) = 2c0f0f616403d6d716e44b5945edce17d714775c34667f0c11e318a97eaa1fd0
+SHA512 (serde_derive-1.0.147.crate) = 434d65dc0d78c7c1c3f8832221389dc4b0c5d74d605ce1d2d660c2df9a92f5e5d0c6d543763e1462c58d6ea18001c823ca594e3dac92a47d8fe48319a5c52e59
+Size (serde_derive-1.0.147.crate) = 54861 bytes
+BLAKE2s (serde_json-1.0.87.crate) = d65fc8cb44fcc64160de7d5fdba7ce938b5b054d3df50805b7172222d66ed5d4
+SHA512 (serde_json-1.0.87.crate) = 77b90340aaaa0fb477b33e6628ed2ea0fb53cff1e2b5724a3474e24b2bfc9bff077633d9581e41dd96b2a0e167549e992d238bb09c627fb5680996b39583c4cc
+Size (serde_json-1.0.87.crate) = 144383 bytes
 BLAKE2s (smallvec-1.10.0.crate) = 41329e6ed51a5092aa320d548b7b5f9f343f67bd54472d6fbc30a39ad5128860
 SHA512 (smallvec-1.10.0.crate) = a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae
 Size (smallvec-1.10.0.crate) = 31564 bytes
@@ -166,4 +166,4 @@ BLAKE2s (windows_x86_64_msvc-0.36.1.crat
 SHA512 (windows_x86_64_msvc-0.36.1.crate) = 89c22ed51a74f531662d80ae0fa5e0215728db1e6caf3c13eaeba95a93548b43c00b8474f52553ac866ac83c203b6c22dc44fbc870e882a4c9c97ba54b87c631
 Size (windows_x86_64_msvc-0.36.1.crate) = 661999 bytes
 SHA1 (patch-pyproject.toml) = 17b353454d7f414b1734e92151f757ee98c98983
-SHA1 (patch-synapse_handlers_room.py) = 29b55005399605cca8a0c5ff575d83606f253732
+SHA1 (patch-synapse_handlers_room.py) = 1bb7740b5a8385f5d0ca9c1e8c38d41a8e594473

Index: pkgsrc/chat/matrix-synapse/patches/patch-synapse_handlers_room.py
diff -u pkgsrc/chat/matrix-synapse/patches/patch-synapse_handlers_room.py:1.3 pkgsrc/chat/matrix-synapse/patches/patch-synapse_handlers_room.py:1.4
--- pkgsrc/chat/matrix-synapse/patches/patch-synapse_handlers_room.py:1.3       Sat Oct 29 00:56:40 2022
+++ pkgsrc/chat/matrix-synapse/patches/patch-synapse_handlers_room.py   Sat Nov 12 13:24:09 2022
@@ -1,4 +1,4 @@
-$NetBSD: patch-synapse_handlers_room.py,v 1.3 2022/10/29 00:56:40 gdt Exp $
+$NetBSD: patch-synapse_handlers_room.py,v 1.4 2022/11/12 13:24:09 gdt Exp $
 
 This patch allows changing the default power level for the creator of a new
 room. It's useful to set this higher than 100 so that the creator of the room
@@ -6,10 +6,10 @@ can give admin to others while still ret
 someone. In the past, this turned out to be the only thing that could recover a
 room in which a bridge with admin permissions went wild and kicked everybody.
 
---- synapse/handlers/room.py.orig      2022-10-17 10:31:15.000000000 +0000
+--- synapse/handlers/room.py.orig      2022-11-08 10:59:36.000000000 +0000
 +++ synapse/handlers/room.py
-@@ -1170,7 +1170,7 @@ class RoomCreationHandler:
-             await send(power_event, power_context, creator)
+@@ -1151,7 +1151,7 @@ class RoomCreationHandler:
+             events_to_send.append((power_event, power_context))
          else:
              power_level_content: JsonDict = {
 -                "users": {creator_id: 100},



Home | Main Index | Thread Index | Old Index