Accepting request 906701 from home:darix:apps

- oidc can be enabled on TW as the Authlib package is in the distro 

- drop all conditionals that were enabled anyway
- rename remaining conditionals to have a synapse_ prefix

- Update to 1.38.0

OBS-URL: https://build.opensuse.org/request/show/906701
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=186
This commit is contained in:
Marcus Rückert 2021-07-19 17:54:11 +00:00 committed by Git OBS Bridge
parent f879397f10
commit 547a2238fb
7 changed files with 113 additions and 42 deletions

View File

@ -4,11 +4,11 @@
<param name="versionformat">@PARENT_TAG@</param>
<param name="url">https://github.com/matrix-org/synapse.git</param>
<param name="scm">git</param>
<param name="revision">v1.37.1</param>
<param name="revision">v1.38.0</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<!--
<param name="revision">v1.38.0rc1</param>
<param name="revision">v1.39.0rc1</param>
<param name="versionrewrite-pattern">v([\.\d]+)(rc.*)</param>
<param name="versionrewrite-replacement">\1~\2</param>
-->

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93a5fd63a080482cf1492a9386994ee688503fd075646b17b4dc4ffd858beaa0
size 30480397

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de60b88364555b45d0e91391f8ff875960ed757420143635ae4eedf26c66ac67
size 30576653

View File

@ -27,7 +27,7 @@
%define pkgname matrix-synapse
Name: %{pkgname}-test
Version: 1.37.1
Version: 1.38.0
Release: 0
Summary: Test package for %{pkgname}
License: Apache-2.0

View File

@ -1,3 +1,87 @@
-------------------------------------------------------------------
Fri Jul 16 15:32:21 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- oidc can be enabled on TW as the Authlib package is in the distro
-------------------------------------------------------------------
Fri Jul 16 14:48:15 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- drop all conditionals that were enabled anyway
- rename remaining conditionals to have a synapse_ prefix
-------------------------------------------------------------------
Wed Jul 14 15:03:02 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- Update to 1.38.0
This release includes a database schema update which could result
in elevated disk usage. See the upgrade notes for more
information.
- Features
- Implement refresh tokens as specified by MSC2918. (#9450)
- Add support for evicting cache entries based on last access
time. (#10205)
- Omit empty fields from the /sync response. Contributed by
@deepbluev7. (#10214)
- Improve validation on federation send_{join,leave,knock}
endpoints. (#10225, #10243)
- Add SSO external_ids to the Query User Account admin API.
(#10261)
- Mark events received over federation which fail a spam check
as "soft-failed". (#10263)
- Add metrics for new inbound federation staging area. (#10284)
- Add script to print information about recently registered
users. (#10290)
- Bugfixes
- Fix bug where inbound federation in a room could be delayed
due to not correctly dropping a lock. Introduced in v1.37.1.
(#10336)
- Fix a long-standing bug which meant that invite rejections
and knocks were not sent out over federation in a timely
manner. (#10223)
- Fix a bug introduced in v1.26.0 where only users who have set
profile information could be deactivated with erasure
enabled. (#10252)
- Fix a long-standing bug where Synapse would return errors
after 231 events were handled by the server. (#10264, #10267,
#10282, #10286, #10291, #10314, #10326)
- Fix the prometheus synapse_federation_server_pdu_process_time
metric. Broke in v1.37.1. (#10279)
- Ensure that inbound events from federation that were being
processed when Synapse was restarted get promptly processed
on start up. (#10303)
- Improved Documentation
- Update links to documentation in the sample config.
Contributed by @dklimpel. (#10287)
- Fix broken links in INSTALL.md. Contributed by @dklimpel.
(#10331)
- Move the upgrade notes to docs/upgrade.md and convert them to
markdown. (#10166)
- Choose Welcome & Overview as the default page for synapse
documentation website. (#10242)
- Adjust the URL in the README.rst file to point to
irc.libera.chat. (#10258)
- Fix homeserver config option name in presence router
documentation. (#10288)
- Fix link pointing at the wrong section in the modules
documentation page. (#10302)
- Internal Changes
- Drop Origin and Accept from the value of the
Access-Control-Allow-Headers response header. (#10114)
- Add type hints to the federation servlets. (#10213)
- Improve the reliability of auto-joining remote rooms.
(#10237)
- Update the release script to use the semver terminology and
determine the release branch based on the next version.
(#10239)
- Fix type hints for computing auth events. (#10253)
- Improve the performance of the spaces summary endpoint by
only recursing into spaces (and not rooms in general).
(#10256)
- Move event authentication methods from Auth to
EventAuthHandler. (#10268)
- Re-enable a SyTest after it has been fixed. (#10292)
-------------------------------------------------------------------
Wed Jun 30 14:03:06 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,5 +1,5 @@
name: matrix-synapse
version: 1.37.1
mtime: 1625060826
commit: c45246153f65bf7e028d876727117b1ddf178979
version: 1.38.0
mtime: 1626179146
commit: 519ec8271ff6a1d59043ac318c34dca898e079dc

View File

@ -17,20 +17,17 @@
# These come from matrix-synapse's CONDITIONAL_REQUIREMENTS.
%bcond_without email_notifs
%bcond_without postgres
%bcond_with oidc
%bcond_without saml
%bcond_without url_preview
%bcond_without jwt
%bcond_without cache_memory
%bcond_with redis
# missing deps
%bcond_with opentracing
%if 0%{?suse_version} >= 1550
%bcond_without synapse_oidc
%else
%bcond_with synapse_oidc
%endif
%bcond_with synapse_redis
%bcond_with synapse_opentracing
%bcond_with synapse_sentry
# matrix-synapse-ldap isn't packaged on openSUSE.
%bcond_with ldap
# sentry-sdk isn't packaged on openSUSE.
%bcond_with sentry
%bcond_with synapse_ldap
## Package updates
#
@ -50,7 +47,7 @@
%define pkgname matrix-synapse
%define eggname matrix_synapse
Name: %{pkgname}
Version: 1.37.1
Version: 1.38.0
Release: 0
Summary: Matrix protocol reference homeserver
License: Apache-2.0
@ -144,50 +141,40 @@ BuildRequires: %{use_python}-unpaddedbase64 >= 1.1.0
%requires_eq %{use_python}-unpaddedbase64
# Specify all CONDITIONAL_REQUIREMENTS (we Require them to avoid no-recommends
# breaking very commonly-used bits of matrix-synapse such as postgresql).
%if %{with ldap}
%if %{with synapse_ldap}
BuildRequires: %{use_python}-matrix-synapse-ldap3 >= 0.1
%requires_eq %{use_python}-matrix-synapse-ldap3
%endif
%if %{with postgres}
BuildRequires: %{use_python}-psycopg2 >= 2.8
%requires_eq %{use_python}-psycopg2
%endif
%if %{with saml}
BuildRequires: %{use_python}-pysaml2 >= 4.5.0
%requires_eq %{use_python}-pysaml2
%if %{with synapse_oidc}
BuildRequires: %{use_python}-Authlib >= 0.15.1
%requires_eq %{use_python}-Authlib
%endif
%if %{with oidc}
BuildRequires: %{use_python}-authlib >= 0.15.1
%requires_eq %{use_python}-authlib
%endif
%if %{with url_preview}
BuildRequires: %{use_python}-lxml >= 3.5.0
%requires_eq %{use_python}-lxml
%endif
%if %{with sentry}
%if %{with synapse_sentry}
BuildRequires: %{use_python}-sentry-sdk >= 0.7.2
%requires_eq %{use_python}-sentry-sdk
%endif
%if %{with jwt}
BuildRequires: %{use_python}-PyJWT >= 1.6.4
%requires_eq %{use_python}-PyJWT
%endif
%if %{with opentracing}
%if %{with synapse_opentracing}
BuildRequires: %{use_python}-jaeger-client >= 4.0.0
%requires_eq %{use_python}-jaeger-client
BuildRequires: %{use_python}-opentracing >= 2.2.0
%requires_eq %{use_python}-opentracing
%endif
%if %{with redis}
BuildRequires: %{use_python}-txredisapi >= 1.4.7
%requires_eq %{use_python}-txredisapi
%if %{with synapse_redis}
BuildRequires: %{use_python}-hiredis
%requires_eq %{use_python}-hiredis
BuildRequires: %{use_python}-txredisapi >= 1.4.7
Requires: %{use_python}-hiredis
Requires: %{use_python}-txredisapi
%endif
%if %{with cache_memory}
BuildRequires: %{use_python}-Pympler
%requires_eq %{use_python}-Pympler
%endif
BuildArch: noarch
# We only provide/obsolete python2 to ensure that users upgrade.
Obsoletes: python2-matrix-synapse < %{version}-%{release}