Commit Graph

137 Commits

Author SHA256 Message Date
2012c8a13a Accepting request 796598 from home:darix:apps
- Update to 1.12.4
  - Features:
    - Always send users their own device updates. (#7160)
    - Add support for handling GET requests for account_data on a
      worker. (#7311)
  - Bugfixes:
    - Fix a bug that prevented cross-signing with users on
      worker-mode synapses. (#7255)
    - Do not treat display names as globs in push rules. (#7271)
    - Fix a bug with cross-signing devices belonging to remote
      users who did not share a room with any user on the local
      homeserver. (#7289)

OBS-URL: https://build.opensuse.org/request/show/796598
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=123
2020-04-23 17:09:33 +00:00
32d877450a Accepting request 791955 from home:darix:apps
- Update to 1.12.3
  - Remove the pin to Pillow 7.0 which was introduced in Synapse
    1.12.2, and correctly fix the issue with building the Debian
    packages. (#7212)

- Update to 1.12.2
  - This release fixes an issue with building the debian packages.

OBS-URL: https://build.opensuse.org/request/show/791955
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=122
2020-04-07 10:43:35 +00:00
c61ca25981 Accepting request 790969 from home:darix:apps
- Update to 1.12.1

OBS-URL: https://build.opensuse.org/request/show/790969
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=121
2020-04-02 16:41:09 +00:00
0fa46ec216 Accepting request 781565 from home:darix:apps
- Update to 1.11.1 
  This release includes a security fix impacting installations
  using Single Sign-On (i.e. SAML2 or CAS) for authentication.
  Administrators of such installations are encouraged to upgrade as
  soon as possible.
  - Bugfixes
    - Add a confirmation step to the SSO login flow before
      redirecting users to the redirect URL.
      ([b2bd54a2](b2bd54a2e3),
      [65c73cdf](65c73cdfec),
      [a0178df1](a0178df104))
    - Fixed set a user as an admin with the admin API `PUT
      /_synapse/admin/v2/users/<user_id>`. Contributed by
      @dklimpel.
      ([\#6910](https://github.com/matrix-org/synapse/issues/6910))
    - Fix bug introduced in Synapse 1.11.0 which sometimes caused
      errors when joining rooms over federation, with `'coroutine'
      object has no attribute 'event_id'`.
      ([\#6996](https://github.com/matrix-org/synapse/issues/6996))

- track series file to make updating patches easier

OBS-URL: https://build.opensuse.org/request/show/781565
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=119
2020-03-04 14:48:28 +00:00
Aleksa Sarai
0bbdbfc968 Accepting request 777958 from home:cyphar:matrix
- Update to 1.11.0.

  * Limit the number of events that can be requested by the backfill federation
    API to 100.
  * Reject device display names over 100 characters in length to prevent abuse.
  * Implement new aliases endpoint as per MSC2432.
  * Stop sending m.room.alias events wheng adding / removing aliases. Check
    alt_aliases in the latest m.room.canonical_alias event when deleting an
    alias.
  * Change the default power levels of invites, tombstones and server ACLs for
    new rooms.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/777958
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=117
2020-02-21 13:07:51 +00:00
Aleksa Sarai
8f667b5029 Accepting request 773822 from home:darix:apps
- bump requires on python3-signedjson to follow code change

OBS-URL: https://build.opensuse.org/request/show/773822
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=115
2020-02-12 16:22:41 +00:00
Aleksa Sarai
f7aa4a8127 Accepting request 773720 from home:cyphar:matrix
- Update to 1.10.0.

  WARNING to client developers: As of this release Synapse validates
  client_secret parameters in the Client-Server API as per the spec. See #6766
  for details.

  + Add experimental support for updated authorization rules for aliases
    events, from MSC2260.
  + Variety of E2EE improvements, most notably:
    * Fix bug where querying a remote user's device keys that weren't cached
      resulted in only returning a single device.
    * Fix bug where Synapse didn't invalidate cache of remote users' devices
      when Synapse left a room.
    * Detect unknown remote devices and mark cache as stale.
    * Attempt to resync remote users' devices when detected as stale.
    * When a client asks for a remote user's device keys check if the local
      cache for that user has been marked as potentially stale.
    * Detect unexpected sender keys on remote encrypted events and resync
      device lists.
    * Fix an issue with cross-signing where device signatures were not sent to
      remote servers.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/773720
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=114
2020-02-12 15:15:02 +00:00
Oliver Kurz
2aa555d25e Disable tests which can not work after https://build.opensuse.org/request/show/768057
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=112
2020-02-06 16:49:25 +00:00
Oliver Kurz
402688c118 Accepting request 768057 from home:darix:apps
- update to 1.9.1
  Fix bug where setting mau_limit_reserved_threepids config would
  cause Synapse to refuse to start. (#6793)

- package cleanup
  - make sure we have all libraries to actually install the package:
    - buildrequires all runtime requirements
    - (build)require python3-typing_extensions
  - having it use the python package name is not really useful here.
  - refreshed and renamed better-paths.patch to
    matrix-synapse-1.4.1-paths.patch
  - also fix existing synapse user
    - group to synapse instead of nogroup
    - home directory to /var/lib/matrix-synapse
    - shell to /bin/false (which actually exists)
  - improvements to the logging configuration:
    - install copy of the current /etc/matrix-synapse/log.yaml as
      /etc/matrix-synapse/log.systemd.yaml
    - install /etc/matrix-synapse/log.file.yaml which logs to
      /var/log/matrix-synapse/homeserver.log
    - add the log directory /var/log/matrix-synapse/
  - added README.SUSE
  - better way to bootstrap a new config:
    1. ExecStartPre would have never worked anyway
    2. added %{_sbindir}/matrix-synapse-generate-config
    Usage:
    %{_sbindir}/matrix-synapse-generate-config servername
  - fix group and shell for the synapse user
  - added better-paths.patch
    - put the pid file into /run/matrix-synapse/
    - use a default logging config in /etc/matrix-synapse/log.yaml
      to have systemd logging by default
  - use full path in the service file
  - actually use source 50 instead of the service file in the tarball
  - make permissions tighter on the config files as it contains
    passwords and other secrets:
    root:synapse u=rwX,g=rX,o=

OBS-URL: https://build.opensuse.org/request/show/768057
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 10:56:06 +00:00
Aleksa Sarai
bb27e1750d Accepting request 766606 from home:cyphar:matrix
- Update to 1.9.0.

  WARNING: As of this release, Synapse no longer supports versions of SQLite
  before 3.11, and will refuse to start when configured to use an older
  version. Administrators are recommended to migrate their database to Postgres
  (see instructions here).

  WARNING: If your Synapse deployment uses workers, note that the reverse-proxy
  configurations for the synapse.app.media_repository,
  synapse.app.federation_reader and synapse.app.event_creator workers have
  changed, with the addition of a few paths (see the updated configurations
  here). Existing configurations will continue to work.

  + Allow admin to create or modify a user.
  + Add new quarantine media admin APIs to quarantine by media ID or by user
    who uploaded the media.
  + Add a new admin API to list and filter rooms on the server.
  + Add org.matrix.e2e_cross_signing to unstable_features in /versions.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/766606
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=109
2020-01-23 15:57:20 +00:00
Aleksa Sarai
2ca250c25d Accepting request 762836 from home:cyphar:matrix
- Update to 1.8.0.

  WARNING: As of this release Synapse will refuse to start if the log_file
  config option is specified. Support for the option was removed in v1.3.0.

  * Add v2 APIs for the send_join and send_leave federation endpoints (as
    described in MSC1802).
  * Add a develop script to generate full SQL schemas.
  * Add custom SAML username mapping functinality through an external provider
    plugin.
  * Automatically delete empty groups/communities.
  * Add option limit_profile_requests_to_users_who_share_rooms to prevent
    requirement of a local user sharing a room with another user to query their
    profile information.
  * Add an export_signing_key script to extract the public part of signing keys
    when rotating them.
  * Add experimental config option to specify multiple databases.
  * Raise an error if someone tries to use the log_file config option.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/762836
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=107
2020-01-10 20:56:44 +00:00
Aleksa Sarai
29e9b19a10 Accepting request 760199 from home:cyphar:matrix
- Update to 1.7.3.

  * Fix exceptions caused by state resolution choking on malformed events.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/760199
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=105
2020-01-01 04:09:47 +00:00
Aleksa Sarai
15a7b0e2d6 Accepting request 758662 from home:cyphar:matrix
- Use packaged service file not the one in the repo (the one in the repo is
  completely broken for openSUSE).

OBS-URL: https://build.opensuse.org/request/show/758662
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=103
2019-12-21 01:07:17 +00:00
Aleksa Sarai
e008c5d4f5 Accepting request 758614 from home:cyphar:matrix
- Update to 1.7.2.

  * Fix a regression introduced in Synapse 1.7.1 which caused errors when
    attempting to backfill rooms over federation.
  * Fix a bug introduced in Synapse 1.7.0 which caused an error on startup when
    upgrading from versions before 1.3.0.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/758614
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=102
2019-12-20 22:54:38 +00:00
Aleksa Sarai
a422f35a9c Accepting request 757737 from home:cyphar:matrix
Fix changelog.

OBS-URL: https://build.opensuse.org/request/show/757737
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=100
2019-12-18 12:20:18 +00:00
Aleksa Sarai
a5a5e5b5e6 Accepting request 757734 from home:cyphar:matrix
- Update to 1.7.1.

  This update fixes several majar security issues. Users are very strongly
  recommended to update as soon as possible.

  * Fix a bug which could cause room events to be incorrectly authorized using
    events from a different room.
  * Fix a bug causing responses to the /context client endpoint to not use the
    pruned version of the event.
  * Fix a cause of state resets in room versions 2 onwards.
  * Fix a bug which could cause the federation server to incorrectly return
    errors when handling certain obscure event graphs.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/757734
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=99
2019-12-18 12:16:20 +00:00
Oliver Kurz
a36600555c Accepting request 756814 from home:cyphar:matrix
- Update to 1.7.0.

  * Implement per-room message retention policies.
  * Add etag and count fields to key backup endpoints to help clients guess if
    there are new keys.
  * Configure privacy-preserving settings by default for the room directory.
  * Add ephemeral messages support by partially implementing MSC2228.
  * Add support for MSC 2367, which allows specifying a reason on all
    membership events.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/756814
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=97
2019-12-15 12:34:18 +00:00
Aleksa Sarai
628996ed5b Accepting request 751684 from home:cyphar:matrix
- Drop matrix-synapse-ldap from enabled conditional requirements, because the
  package is not longer available in openSUSE repos. If someone really wants
  the feature they can help re-package it.

OBS-URL: https://build.opensuse.org/request/show/751684
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=95
2019-11-28 18:25:53 +00:00
Aleksa Sarai
ff36a55492 Accepting request 751595 from home:cyphar:matrix
- Update to 1.6.1.

  * Clean up local threepids from user on account deactivation.
  * Fix startup error when http proxy is defined.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/751595
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=94
2019-11-28 12:20:05 +00:00
Aleksa Sarai
a546143a76 Accepting request 751528 from home:cyphar:matrix
- Update to 1.6.0.

  + Add federation support for cross-signing.
  + Increase default room version from 4 to 5, thereby enforcing server key validity period checks.
  + Add support for outbound http proxying via http_proxy/HTTPS_PROXY env vars.
  + Implement label-based filtering on /sync and /messages (MSC2326).

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/751528
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=93
2019-11-28 09:02:03 +00:00
Aleksa Sarai
141ff9ccdc Accepting request 749295 from home:cyphar:matrix
- Update to 1.5.1.

  * Limit the length of data returned by url previews, to prevent DoS attacks.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/749295
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=91
2019-11-18 11:29:29 +00:00
Aleksa Sarai
f02fe39d76 Accepting request 743952 from home:cyphar:matrix
- Update to 1.5.0.

  + Improve quality of thumbnails for 1-bit/8-bit color palette images.
  + Add ability to upload cross-signing signatures.
  + Allow uploading of cross-signing keys.
  + CAS login now provides a default display name for users if a
    displayname_attribute is set in the configuration file.
  + Reject all pending invites for a user during deactivation.
  + Add config option to suppress client side resource limit alerting.

  * Improve signature checking on some federation APIs.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/743952
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=89
2019-10-30 06:57:00 +00:00
Aleksa Sarai
c488294ef8 Accepting request 741083 from home:cyphar:matrix
- Update to 1.4.1.

  * Fix bug where redacted events were sometimes incorrectly censored in the
    database, breaking APIs that attempted to fetch such events.

  The full changelog is included in
  /usr/share/doc/packages/matrix-synapse/CHANGES.md.

OBS-URL: https://build.opensuse.org/request/show/741083
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=87
2019-10-18 17:07:25 +00:00
Aleksa Sarai
d33d6bec79 Accepting request 734932 from home:cyphar:matrix
Include boo#1153017.

OBS-URL: https://build.opensuse.org/request/show/734932
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=84
2019-10-04 08:18:45 +00:00
Dominique Leuenberger
9248430848 Accepting request 734848 from network:messaging:matrix
Resubmission of matrix-synapse -- the build failure has been fixed (txacme is
an optional dependency, only used when synapse is set up to manage its own ACME
certificates -- which is a very common setup, but it's better to have a
mostly-working synapse than nothing at all) and the package has been update to
1.4.0.

OBS-URL: https://build.opensuse.org/request/show/734848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/matrix-synapse?expand=0&rev=1
2019-10-04 09:22:11 +00:00
Aleksa Sarai
8bd8f596f5 osc copypac from project:home:cyphar:matrix package:matrix-synapse revision:2
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=83
2019-10-03 22:23:50 +00:00
Oliver Kurz
49bcd2c968 Rely on 'nogroup' provided by Provides
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=11
2017-09-23 08:54:13 +00:00
Oliver Kurz
a53d6c2806 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=10 2017-07-10 11:05:51 +00:00
Oliver Kurz
2d837e4bfe Accepting request 508022 from home:jengelh:branches:network:messaging:matrix
- Do not suppress errors from useradd procedure.
- Trim description to the essence of the package. It is not
  supposed to be a manual or architectural document.
- Remove redundant %clean section. Replace %__-type macro
  indirections.

OBS-URL: https://build.opensuse.org/request/show/508022
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=9
2017-07-04 10:19:47 +00:00
Oliver Kurz
1a932d9c32 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=8 2017-07-04 04:48:32 +00:00
Oliver Kurz
7b6f4bda6c OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=7 2017-07-03 20:57:44 +00:00
Oliver Kurz
c472423472 Provide the package without python prefix itself for py2 as default
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=6
2017-07-01 19:22:58 +00:00
Oliver Kurz
d66fe0311f Remove 'have_python3' with no effect
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=5
2017-06-29 20:55:23 +00:00
Oliver Kurz
044df37092 Prevent conflicts between python2/3 version of packages
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=4
2017-06-29 20:53:04 +00:00
Oliver Kurz
44fcf5fbb7 Use more specific fdupes on sitelib, see sr#504781
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=3
2017-06-29 19:39:37 +00:00
Oliver Kurz
02d08cdd2c Fix source reference
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=2
2017-06-19 10:13:51 +00:00
Oliver Kurz
7e831cc72c osc copypac from project:home:okurz:matrix-synapse package:matrix-synapse revision:14
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=1
2017-06-18 18:49:01 +00:00