Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Document encryption_enabled_by_default_for_room_type under the right name ↵ | Matthew Hodgson | 2022-10-19 | 1 | -1/+1 |
| | | | | | | | | | (#14110) * document encryption_enabled_by_default_for_room_type under the right name * add changelog * Update changelog.d/14110.doc | ||||
* | Fix dead link to admin registration API (#14189) | David Robertson | 2022-10-17 | 1 | -1/+1 |
| | | | | | * Fix dead link to admin registration API * Changelog | ||||
* | Stabilize the threads API. (#14175) | Patrick Cloke | 2022-10-14 | 1 | -0/+1 |
| | | | | | | | Stabilize the threads API (MSC3856) by supporting (only) the v1 path for the endpoint. This also marks the API as safe for workers since it is a read-only API. | ||||
* | Mark /relations endpoint as usable on workers. (#14028) | Patrick Cloke | 2022-10-12 | 1 | -0/+1 |
| | | | Co-authored-by: Eric Eastwood <erice@element.io> | ||||
* | Handle `gottestfmt` repository move (#14144) | David Robertson | 2022-10-11 | 1 | -1/+1 |
| | |||||
* | Fix name of "alias_creation_rules" option in config manual (#14124) | Andrew Morgan | 2022-10-10 | 1 | -2/+2 |
| | |||||
* | Document Google OpenID Connect email attribute (#14081) | Paul Tötterman | 2022-10-07 | 1 | -1/+2 |
| | |||||
* | Improve the listener example on the metrics documentation (#14078) | Dirk Klimpel | 2022-10-07 | 1 | -12/+29 |
| | | | Signed-off-by: Dirk Klimpel <dirk@klimpel.org> | ||||
* | Add sample worker files for `pusher` and `federation_sender` (#14077) | Dirk Klimpel | 2022-10-07 | 3 | -0/+28 |
| | | | Signed-off-by: Dirk Klimpel <dirk@klimpel.org> | ||||
* | Fix broken links to README (#14093) | David Robertson | 2022-10-06 | 1 | -1/+1 |
| | |||||
* | Merge tag 'v1.69.0rc2' into develop | Sean Quah | 2022-10-06 | 1 | -0/+33 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse 1.69.0rc2 (2022-10-06) ============================== Please note that legacy Prometheus metric names are now deprecated and will be removed in Synapse 1.73.0. 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.69/upgrade.html#upgrading-to-v1690) for more details. Deprecations and Removals ------------------------- - Deprecate the `generate_short_term_login_token` method in favor of an async `create_login_token` method in the Module API. ([\#13842](https://github.com/matrix-org/synapse/issues/13842)) Internal Changes ---------------- - Ensure Synapse v1.69 works with upcoming database changes in v1.70. ([\#14045](https://github.com/matrix-org/synapse/issues/14045)) - Fix a bug introduced in Synapse v1.68.0 where messages could not be sent in rooms with non-integer `notifications` power level. ([\#14073](https://github.com/matrix-org/synapse/issues/14073)) - Temporarily pin build-system requirements to workaround an incompatibility with poetry-core 1.3.0. This will be reverted before the v1.69.0 release proper, see [\#14079](https://github.com/matrix-org/synapse/issues/14079). ([\#14080](https://github.com/matrix-org/synapse/issues/14080)) | ||||
| * | Deprecate the `generate_short_term_login_token` method in favor of an async ↵ | Quentin Gliech | 2022-10-06 | 1 | -0/+33 |
| | | | | | | | | | | | | `create_login_token` method in the Module API. (#13842) Signed-off-by: Quentin Gliech <quenting@element.io> Co-authored-by: Brendan Abolivier <babolivier@matrix.org> | ||||
* | | The changelog entry ending in a `.` or `!` is not optional (#14087) | Andre Klärner | 2022-10-06 | 1 | -1/+1 |
| | | |||||
* | | openid.md: fix a typo in the facebook example | Richard van der Hoff | 2022-10-06 | 1 | -1/+1 |
|/ | |||||
* | Linkify config documentation. (#14003) | Akshit Tyagi | 2022-10-04 | 1 | -5/+7 |
| | |||||
* | Announce that legacy metric names are deprecated, will be turned off by ↵ | reivilibre | 2022-10-03 | 3 | -1/+63 |
| | | | | default in Synapse v1.71.0 and removed altogether in Synapse v1.73.0. (#14024) | ||||
* | Add some cross references to worker documentation (#13974) | Dirk Klimpel | 2022-09-30 | 2 | -15/+27 |
| | | | | Signed-off-by: Dirk Klimpel <dirk@klimpel.org> | ||||
* | Add upgrade notes for changes to receipts replication. (#13932) | Patrick Cloke | 2022-09-28 | 1 | -0/+12 |
| | |||||
* | Document that the 'auto_join_rooms' option works with Spaces (#13931) | Andrew Morgan | 2022-09-28 | 1 | -2/+5 |
| | |||||
* | Add instruction for running unit tests in parallel (#13928) | Ashish Kumar | 2022-09-28 | 1 | -0/+6 |
| | |||||
* | Emphasize the right reasons to use `(room_id, event_id)` in a schema (#13915) | Eric Eastwood | 2022-09-27 | 1 | -15/+16 |
| | | | | | | | * Emphasize the right reasons to use (room_id, event_id) Follow-up to: - https://github.com/matrix-org/synapse/pull/13701 - https://github.com/matrix-org/synapse/pull/13771 | ||||
* | Merge branch 'master' into develop | David Robertson | 2022-09-27 | 1 | -6/+23 |
|\ | |||||
| * | Update upgrade notes (#13923) | David Robertson | 2022-09-27 | 1 | -6/+23 |
| | | | | | | | | | | | | | | | | | | * Update upgrade notes * Synapse Synapse Synapse Synapse Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | | Merge branch 'master' into develop | David Robertson | 2022-09-27 | 1 | -3/+9 |
|\| | |||||
| * | Clarify who isn't affected by rust v1.68.0 | David Robertson | 2022-09-27 | 1 | -2/+6 |
| | | |||||
| * | tweak upgrade notes | David Robertson | 2022-09-27 | 1 | -3/+5 |
| | | |||||
* | | Update NixOS module URL (#13818) | enterprisey | 2022-09-26 | 1 | -1/+1 |
| | | | | | | | | | | * Update NixOS module URL * Create 13818.doc | ||||
* | | Fix the cross-link from register admin API to config docs. (#13870) | Patrick Cloke | 2022-09-22 | 1 | -1/+1 |
| | | |||||
* | | Correct documentation for map_user_attributes of OpenID Mapping Providers ↵ | Peter Scheu | 2022-09-21 | 1 | -3/+9 |
|/ | | | | | (#13836) Co-authored-by: David Robertson <davidr@element.io> | ||||
* | Edit changelog in response to feedback | Olivier Wilkinson (reivilibre) | 2022-09-20 | 1 | -1/+9 |
| | |||||
* | Add an admin API endpoint to find a user based on its external ID in an auth ↵ | Quentin Gliech | 2022-09-16 | 1 | -0/+38 |
| | | | | provider. (#13810) | ||||
* | Update request log format documentation to mention the format used when the ↵ | reivilibre | 2022-09-16 | 1 | -2/+2 |
| | | | | authenticated user is controlling another user. (#13794) | ||||
* | Document common fix of Poetry problems by removing egg-info (#13785) | Eric Eastwood | 2022-09-15 | 1 | -0/+27 |
| | | | | | `matrix_synapse.egg-info/` Mentioned at https://matrix.to/#/!vcyiEtMVHIhWXcJAfl:sw1v.org/$aKy_IjrKwb70aTVZWeW_6zt0k7OIZ1YkyZpkP9uiRaM?via=matrix.org&via=element.io&via=beeper.com and many other places. | ||||
* | Be able to correlate timeouts in reverse-proxy layer in front of Synapse ↵ | Eric Eastwood | 2022-09-15 | 2 | -1/+14 |
| | | | | | | | | | | | | | | | | | | (pull request ID from header) (#13801) Fix https://github.com/matrix-org/synapse/issues/13685 New config: ```diff listeners: - port: 8008 tls: false type: http x_forwarded: true + request_id_header: "cf-ray" bind_addresses: ['::1', '127.0.0.1', '0.0.0.0'] ``` | ||||
* | Merge branch 'master' into develop | Erik Johnston | 2022-09-13 | 1 | -0/+24 |
|\ | |||||
| * | Add minimum version bump for sqlite to the release notes (#13742) | David Robertson | 2022-09-08 | 1 | -0/+15 |
| | | | | | | | | | | | | * Notify that SQLite min version will be bumped * Mention in upgrade notes Co-authored-by: reivilibre <oliverw@matrix.org> | ||||
| * | Update changelog | Erik Johnston | 2022-09-06 | 1 | -0/+9 |
| | | |||||
* | | installation.md: require libpq on M1 macs (#13480) | Richard van der Hoff | 2022-09-13 | 1 | -2/+3 |
| | | |||||
* | | Fix typo in ratelimiting documentation (#13727) | Brendan Abolivier | 2022-09-12 | 1 | -1/+1 |
| | | |||||
* | | Add timestamp to user's consent (#13741) | Dirk Klimpel | 2022-09-08 | 1 | -0/+2 |
| | | | | | | Co-authored-by: reivilibre <olivier@librepush.net> | ||||
* | | Correct out-of-date doc for `event_cache_size` (#13726) | David Robertson | 2022-09-07 | 1 | -2/+4 |
| | | |||||
* | | Define SQLite compat policy (#13728) | David Robertson | 2022-09-07 | 1 | -4/+11 |
| | | |||||
* | | Add Admin API to Fetch Messages Within a Particular Window (#13672) | Connor Davis | 2022-09-07 | 1 | -0/+145 |
| | | | | | | This adds two new admin APIs that allow us to fetch messages from a room within a particular time. | ||||
* | | Add a stub Rust crate (#12595) | Erik Johnston | 2022-09-06 | 3 | -1/+26 |
|/ | |||||
* | Remove configuration options for direct TCP replication. (#13647) | Patrick Cloke | 2022-09-06 | 3 | -19/+20 |
| | | | Removes the ability to configure legacy direct TCP replication. Workers now require Redis to run. | ||||
* | Clarify `(room_id, event_id)` global uniqueness (#13701) | Eric Eastwood | 2022-09-02 | 1 | -0/+24 |
| | | | Summarized from @richvdh's reply at https://github.com/matrix-org/synapse/pull/13589#discussion_r961116999 | ||||
* | Update docs to make enabling metrics more clear (#13678) | Eric Eastwood | 2022-09-02 | 1 | -4/+7 |
| | | | It was really easy to miss the `enable_metrics: True` step with the previous language. | ||||
* | Update lock file for Poetry v1.2.0 (#13689) | Erik Johnston | 2022-09-02 | 3 | -6/+12 |
| | |||||
* | Fix two typos with colon in headlines (#13665) | Dirk Klimpel | 2022-09-01 | 1 | -2/+2 |
| | |||||
* | Add monthly active users documentation (#13617) | Will Hunt | 2022-09-01 | 3 | -0/+87 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add monthly active users documentation * changelog * Tidy up notes * more tidyup * Rewrite #1 * link back to mau docs * fix links * s/appservice|AS/application service * further review * a newline * Remove bit about shadow banned users. I think talking about them is confusing, and the current text doesn't imply they get any special treatment. * Update docs/usage/administration/monthly_active_users.md Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> * Update docs/usage/administration/monthly_active_users.md Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by: Brendan Abolivier <babolivier@matrix.org> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | Merge branch 'master' into develop | Sean Quah | 2022-08-31 | 2 | -2/+2 |
|\ | |||||
| * | Improve clarity on deprecation of TCP replication | Sean Quah | 2022-08-31 | 1 | -1/+1 |
| | | | | | | | | | | Borrows some text from https://github.com/matrix-org/synapse/pull/13647 for the changelog. | ||||
| * | Fix dead link in 1.18.0 upgrade notes | Sean Quah | 2022-08-31 | 1 | -1/+1 |
| | | |||||
* | | Remove documentation of legacy `frontend_proxy` worker app (#13645) | Richard van der Hoff | 2022-08-30 | 2 | -41/+22 |
| | | | | | | | | | | This has been the same as a generic_worker since #6964, so let's get rid of it. Fixes #3717 | ||||
* | | Clarify documentation about replication traffic. (#13656) | Patrick Cloke | 2022-08-30 | 1 | -1/+4 |
| | | | | | | | | It can be authenticated with the worker_replication_secret setting, but is always unencrypted. | ||||
* | | Improve documentation around user registration (#13640) | Richard van der Hoff | 2022-08-26 | 3 | -103/+133 |
| | | | | | | | | | | Update a bunch of the documentation for user registration, add some cross links, etc. | ||||
* | | Generate missing configuration files at startup (#13615) | Richard van der Hoff | 2022-08-26 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | If things like the signing key file are missing, let's just try to generate them on startup. Again, this is useful for k8s-like deployments where we just want to generate keys on the first run. | ||||
* | | Support `registration_shared_secret` in a file (#13614) | Richard van der Hoff | 2022-08-25 | 1 | -0/+18 |
| | | | | | | | | A new `registration_shared_secret_path` option. This is kinda handy for k8s deployments and things. | ||||
* | | Write about the chain cover a little. (#13602) | David Robertson | 2022-08-23 | 1 | -9/+42 |
| | | | | | | Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | ||||
* | | Update openid.md (#13568) | nilsKr3 | 2022-08-23 | 1 | -1/+3 |
|/ | | | Linking the help article may prevent confusion regarding the creation of the necessary rule using auth0. | ||||
* | Drop support for delegating email validation, round 2 (#13596) | David Robertson | 2022-08-23 | 2 | -1/+23 |
| | |||||
* | Describe changes to admin API in 1.66 | David Robertson | 2022-08-23 | 1 | -0/+2 |
| | | | | Cross-ref #13525 | ||||
* | Implement MSC3852: Expose `last_seen_user_agent` to users for their own ↵ | Andrew Morgan | 2022-08-19 | 1 | -0/+7 |
| | | | | devices; also expose to Admin API (#13549) | ||||
* | Add support for compression to federation responses (#13537) | Ayush Anand | 2022-08-18 | 1 | -1/+1 |
| | | | | | | Closes #13415. Signed-off-by: Ayush Anand <iamayushanand@gmail.com> | ||||
* | A first pass at pruning the Synapse README (#13491) | David Robertson | 2022-08-17 | 1 | -4/+86 |
| | |||||
* | Fix a typo in docs and in some warnings (#13538) | Antonin Loubiere | 2022-08-17 | 1 | -1/+1 |
| | |||||
* | Add forgotten status to Room Details API (#13503) | Dirk Klimpel | 2022-08-17 | 1 | -1/+4 |
| | |||||
* | Add missing links in `user_consent` section of configuration manual (#13536) | Dirk Klimpel | 2022-08-16 | 1 | -2/+2 |
| | | | Signed-off-by: Dirk Klimpel <dirk@klimpel.org> | ||||
* | Add a warning to retention documentation regarding the possibility of ↵ | Shay | 2022-08-15 | 2 | -2/+7 |
| | | | | database corruption (#13497) | ||||
* | Add `openssl` example for registration HMAC (#13472) | James Barton | 2022-08-11 | 1 | -2/+19 |
| | | | Signed-off-by: James Barton <james@neodon.com> | ||||
* | Add note to `redaction_retention_period` documentation mentioning that event ↵ | Andrew Morgan | 2022-08-11 | 1 | -0/+4 |
| | | | | purging runs at most every 5m (#13492) | ||||
* | Make the configuration for the cache clearer (#13481) | Dirk Klimpel | 2022-08-09 | 1 | -4/+5 |
| | |||||
* | Mark token-authenticaticated-registration API as not-experimental (#11897) | Julian-Samuel Gebühr | 2022-08-05 | 1 | -3/+3 |
| | |||||
* | Update some outdated information on `sso_mapping_providers.md` (#13449) | Dirk Klimpel | 2022-08-04 | 1 | -6/+8 |
| | |||||
* | Fix return value in example on `password_auth_provider_callbacks.md` (#13450) | Dirk Klimpel | 2022-08-04 | 1 | -2/+2 |
| | | | | | Fixes: #12534 Signed-off-by: Dirk Klimpel <dirk@klimpel.org> | ||||
* | Improve documentation on becoming server admin (#13230) | jejo86 | 2022-08-03 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | * Improved section regarding server admin Added steps describing how to elevate an existing user to administrator by manipulating a `postgres` database. Signed-off-by: jejo86 28619134+jejo86@users.noreply.github.com * Improved section regarding server admin * Reference database settings Add instructions to check database settings to find out the database name, instead of listing all available PostgreSQL databases. * Add suggestions from PR conversation Replace config filename `homeserver.yaml`. with "config file". Remove instructions to switch to `postgres` user. Add instructions how to connect to SQLite database. * Update changelog.d/13230.doc Co-authored-by: reivilibre <olivier@librepush.net> | ||||
* | Update doc for setting `macaroon_secret_key` (#13443) | Dirk Klimpel | 2022-08-03 | 1 | -3/+7 |
| | | | | | * Update doc for setting `macaroon_secret_key` * newsfile | ||||
* | Remove 'Contents' section from the Configuration Manual (#13438) | Dirk Klimpel | 2022-08-03 | 1 | -43/+0 |
| | | | Fixes: #13053 | ||||
* | Fix wrong headline for `url_preview_accept_language` in docs (#13437) | Dirk Klimpel | 2022-08-03 | 1 | -1/+1 |
| | | | Fixes: #13433 | ||||
* | Merge branch 'master' into develop | Olivier Wilkinson (reivilibre) | 2022-08-02 | 1 | -0/+10 |
|\ | |||||
| * | Add upgrade notes | Olivier Wilkinson (reivilibre) | 2022-08-02 | 1 | -0/+10 |
| | | |||||
* | | Merge tag 'v1.64.0rc2' into develop | Richard van der Hoff | 2022-07-29 | 2 | -194/+181 |
|\| | | | | | | | | | | | | | Synapse 1.64.0rc2 (2022-07-29) ============================== This RC reintroduces support for `account_threepid_delegates.email`, which was removed in 1.64.0rc1. It remains deprecated and will be removed altogether in a future release. ([\#13406](https://github.com/matrix-org/synapse/issues/13406)) | ||||
| * | Revert "Drop support for delegating email validation (#13192)" (#13406) | 3nprob | 2022-07-29 | 2 | -194/+181 |
| | | | | | | | | | | Reverts commit fa71bb18b527d1a3e2629b48640ea67fff2f8c59, and tweaks documentation. Signed-off-by: 3nprob <git@3n.anonaddy.com> | ||||
* | | Explicitly mention which resources support compression in the config guide ↵ | Brendan Abolivier | 2022-07-29 | 1 | -1/+2 |
|/ | | | | (#13221) | ||||
* | Update Caddy reverse proxy documentation (#13344) | Matt Holt | 2022-07-25 | 1 | -42/+11 |
| | | | | | Improve/simplify Caddy examples. Remove Caddy v1 (has long been EOL'ed) Signed-off-by: Matthew Holt <mholt@users.noreply.github.com> | ||||
* | Support Implicit TLS for sending emails (#13317) | Jan Schär | 2022-07-25 | 1 | -1/+10 |
| | | | | | | | | | | Previously, TLS could only be used with STARTTLS. Add a new option `force_tls`, where TLS is used from the start. Implicit TLS is recommended over STARTLS, see https://datatracker.ietf.org/doc/html/rfc8314 Fixes #8046. Signed-off-by: Jan Schär <jan@jschaer.ch> | ||||
* | Update config_documentation.md (#13364) | Richard van der Hoff | 2022-07-22 | 1 | -2/+2 |
| | | | "changed in" goes before the example | ||||
* | Update locked frozendict version to 2.3.3 (#13352) | Sean Quah | 2022-07-22 | 1 | -0/+9 |
| | | | frozendict 2.3.3 includes fixes for memory leaks that get triggered during `/sync`. | ||||
* | Merge branch 'master' into develop | David Robertson | 2022-07-21 | 1 | -0/+8 |
|\ | |||||
| * | Document `rc_invites.per_issuer`, added in v1.63. | David Teller | 2022-07-21 | 1 | -0/+8 |
| | | | | | | | | | | | | | | Resolves #13330. Missed in #13125. Signed-off-by: David Teller <davidt@element.io> | ||||
* | | Merge branch 'master' into develop | Brendan Abolivier | 2022-07-19 | 3 | -8/+13 |
|\| | |||||
| * | Remove 'anonymised' from the phone home stats documentation (#13321) | Andrew Morgan | 2022-07-19 | 3 | -8/+13 |
| | | |||||
* | | Add notes when config options were changed to config documentation (#13314) | Jörg Behrmann | 2022-07-19 | 1 | -0/+5 |
| | | | | | | | | Signed-off-by: Jörg Behrmann <behrmann@physik.fu-berlin.de> | ||||
* | | Rate limit joins per-room (#13276) | David Robertson | 2022-07-19 | 2 | -0/+29 |
| | | |||||
* | | Use and recommend poetry 1.1.14, up from 1.1.12 (#13285) | David Robertson | 2022-07-15 | 1 | -0/+25 |
| | | |||||
* | | Document advising against publicly exposing the Admin API and provide a ↵ | jejo86 | 2022-07-13 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage example (#13231) * Admin API request explanation improved Pointed out, that the Admin API is not accessible by default from any remote computer, but only from the PC `matrix-synapse` is running on. Added a full, working example, making sure to include the cURL flag `-X`, which needs to be prepended to `GET`, `POST`, `PUT` etc. and listing the full query string including protocol, IP address and port. * Admin API request explanation improved * Apply suggestions from code review Update changelog. Reword prose. Co-authored-by: David Robertson <david.m.robertson1@gmail.com> | ||||
* | | Inline URL preview documentation. (#13261) | Patrick Cloke | 2022-07-12 | 4 | -68/+2 |
| | | | | | | Inline URL preview documentation near the implementation. | ||||
* | | Drop support for delegating email validation (#13192) | Richard van der Hoff | 2022-07-12 | 2 | -16/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop support for delegating email validation Delegating email validation to an IS is insecure (since it allows the owner of the IS to do a password reset on your HS), and has long been deprecated. It will now cause a config error at startup. * Update unit test which checks for email verification Give it an `email` config instead of a threepid delegate * Remove unused method `requestEmailToken` * Simplify config handling for email verification Rather than an enum and a boolean, all we need here is a single bool, which says whether we are or are not doing email verification. * update docs * changelog * upgrade.md: fix typo * update version number this will be in 1.64, not 1.63 * update version number this one too | ||||
* | | Add info about configuration in the url preview docs (#13233) | Shay | 2022-07-12 | 1 | -0/+1 |
| | | | | | | Cross-link doc pages for easier navigation. | ||||
* | | expose whether a room is a space in the Admin API (#13208) | andrew do | 2022-07-12 | 1 | -8/+21 |
|/ | |||||
* | Document the 'databases' homeserver config option (#13212) | Andrew Morgan | 2022-07-11 | 1 | -0/+92 |
| | |||||
* | Check that `auto_vacuum` is disabled when porting a SQLite database to ↵ | reivilibre | 2022-07-07 | 1 | -0/+8 |
| | | | | Postgres, as `VACUUM`s must not be performed between runs of the script. (#13195) | ||||
* | Add information on how the Synapse team does reviews. (#13132) | Patrick Cloke | 2022-07-06 | 3 | -1/+46 |
| | |||||
* | Add the ability to set the log level using the `SYNAPSE_TEST_LOG_LEVEL` ↵ | reivilibre | 2022-07-05 | 1 | -0/+4 |
| | | | | environment when using `complement.sh`. (#13152) | ||||
* | Add missing links to config options (#13166) | Dirk Klimpel | 2022-07-05 | 1 | -3/+3 |
| | |||||
* | Add documentation for phone home stats (#13086) | Andrew Morgan | 2022-06-30 | 2 | -0/+82 |
| | |||||
* | Cleanup references to sample config in the docs and redirect users to ↵ | Shay | 2022-06-30 | 10 | -88/+69 |
| | | | | configuration manual (#13077) | ||||
* | Add a link to the configuration manual from the homeserver sample config ↵ | Andrew Morgan | 2022-06-30 | 1 | -0/+3 |
| | | | | documentation page (#13139) | ||||
* | Fix documentation header for `allow_public_rooms_over_federation` (#13116) | Moritz Stückler | 2022-06-29 | 1 | -1/+1 |
| | | | | Signed-off-by: Moritz Stückler <moritz.stueckler@gmail.com> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | Document the `--report-stats` argument (#13029) | jejo86 | 2022-06-29 | 1 | -1/+3 |
| | | | Signed-off-by: jejo86 <28619134+jejo86@users.noreply.github.com> | ||||
* | Remove docs for Delete Group Admin API (#13112) | Aaron Raimist | 2022-06-27 | 2 | -15/+0 |
| | | | | | | This API no longer exists. Signed-off-by: Aaron Raimist <aaron@raim.ist> | ||||
* | Update opentracing docs to reference the configuration manual rather than ↵ | Shay | 2022-06-17 | 1 | -2/+3 |
| | | | | the configuation file. (#13076) | ||||
* | Update info on downstream debs (#13095) | Richard van der Hoff | 2022-06-17 | 1 | -9/+8 |
| | |||||
* | Add custom well-known (#13035) | Jacek Kuśnierz | 2022-06-16 | 1 | -0/+17 |
| | | | Co-authored-by: David Robertson <david.m.robertson1@gmail.com> | ||||
* | Add instructions for running Complement with `gotestfmt`-formatted output ↵ | reivilibre | 2022-06-16 | 1 | -0/+14 |
| | | | | locally. (#13073) | ||||
* | Add headers to individual options in config documentation to allow for ↵ | Shay | 2022-06-15 | 1 | -163/+163 |
| | | | | linking. (#13055) | ||||
* | Change default `sync_response_cache_duration` (#13042) | Erik Johnston | 2022-06-15 | 1 | -2/+2 |
| | |||||
* | Replace pyjwt with authlib in `org.matrix.login.jwt` (#13011) | Hannes Lerchl | 2022-06-15 | 2 | -14/+27 |
| | |||||
* | Fix version number in spam checker callbacks doc (#13047) | Brendan Abolivier | 2022-06-14 | 1 | -6/+6 |
| | |||||
* | Remove code generating comments in configuration file (#12941) | Shay | 2022-06-14 | 2 | -2838/+12 |
| | |||||
* | Merge branch 'release-v1.61' into develop | Erik Johnston | 2022-06-14 | 1 | -17/+19 |
|\ | |||||
| * | Fixup upgrades v1.61.0 | Erik Johnston | 2022-06-14 | 1 | -3/+3 |
| | | |||||
| * | Mention removed community/group worker endpoints in upgrade.md (#13023) | Sami Olmari | 2022-06-14 | 1 | -0/+18 |
| | | |||||
* | | Mention removed community/group worker endpoints in upgrade.md (#13023) | Sami Olmari | 2022-06-14 | 1 | -0/+16 |
| | | |||||
* | | Uniformize spam-checker API, part 4: port other spam-checker callbacks to ↵ | David Teller | 2022-06-13 | 2 | -56/+175 |
| | | | | | | | | | | return `Union[Allow, Codes]`. (#12857) Co-authored-by: Brendan Abolivier <babolivier@matrix.org> | ||||
* | | Add missing TOC link to poetry cheat sheet (#13022) | David Robertson | 2022-06-10 | 1 | -0/+1 |
| | | | | | | Missed by #12475. | ||||
* | | Merge the Complement testing Docker images into a single, multi-purpose ↵ | reivilibre | 2022-06-08 | 1 | -0/+5 |
|/ | | | | | image. (#12881) Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Prevent local quarantined media from being claimed by media retention (#12972) | Andrew Morgan | 2022-06-07 | 1 | -0/+6 |
| | |||||
* | Allow updating passwords using the admin api without logging out devices ↵ | Jan Christian Grünhage | 2022-06-06 | 1 | -1/+3 |
| | | | | (#12952) | ||||
* | Remove remaining bits of groups code. (#12936) | Patrick Cloke | 2022-06-01 | 1 | -6/+0 |
| | | | | | | * Update worker docs to remove group endpoints. * Removes an unused parameter to `ApplicationService`. * Break dependency between media repo and groups. * Avoid copying `m.room.related_groups` state events during room upgrades. | ||||
* | Add config options for media retention (#12732) | Andrew Morgan | 2022-05-31 | 1 | -1/+28 |
| | |||||
* | Merge branch 'master' into develop | Erik Johnston | 2022-05-31 | 2 | -20/+19 |
|\ | |||||
| * | Fix import in module_api module and docs on the new check_event_for_spam ↵ | Brendan Abolivier | 2022-05-31 | 2 | -20/+19 |
| | | | | | | | | | | signature (#12918) Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | | Add a background job to automatically delete stale devices (#12855) | Brendan Abolivier | 2022-05-27 | 1 | -0/+12 |
| | | | | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | | Merge tag 'v1.60.0rc2' into develop | Sean Quah | 2022-05-27 | 2 | -1/+6 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse 1.60.0rc2 (2022-05-27) ============================== This release of Synapse adds a unique index to the `state_group_edges` table, in order to prevent accidentally introducing duplicate information (for example, because a database backup was restored multiple times). If your Synapse database already has duplicate rows in this table, this could fail with an error and require manual remediation. Additionally, the signature of the `check_event_for_spam` module callback has changed. The previous signature has been deprecated and remains working for now. Module authors should update their modules to use the new signature where possible. See [the upgrade notes](https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md#upgrading-to-v1600) for more details. Features -------- - Add an option allowing users to use their password to reauthenticate for privileged actions even though password login is disabled. ([\#12883](https://github.com/matrix-org/synapse/issues/12883)) Bugfixes -------- - Explicitly close `ijson` coroutines once we are done with them, instead of leaving the garbage collector to close them. ([\#12875](https://github.com/matrix-org/synapse/issues/12875)) Internal Changes ---------------- - Improve URL previews by not including the content of media tags in the generated description. ([\#12887](https://github.com/matrix-org/synapse/issues/12887)) | ||||
| * | Add an option allowing users to use their password to reauthenticate even ↵ | reivilibre | 2022-05-27 | 2 | -1/+6 |
| | | | | | | | | though password authentication is disabled. (#12883) | ||||
* | | Remove unstable APIs for /hierarchy. (#12851) | Patrick Cloke | 2022-05-26 | 1 | -3/+3 |
| | | | | | | | | Removes the unstable endpoint as well as a duplicated field which was modified during stabilization. | ||||
* | | Remove user-visible groups/communities code (#12553) | Patrick Cloke | 2022-05-25 | 2 | -29/+0 |
| | | | | | | | | | | | | | | | | | | Makes it so that groups/communities no longer exist from a user-POV. E.g. we remove: * All API endpoints (including Client-Server, Server-Server, and admin). * Documented configuration options (and the experimental flag, which is now unused). * Special handling during room upgrades. * The `groups` section of the `/sync` response. | ||||
* | | Add the `batch_send` endpoint to generic workers (#12868) | Nick Mills-Barrett | 2022-05-25 | 1 | -0/+1 |
| | | |||||
* | | Add the `/account/whoami` endpoint to generic workers (#12866) | Nick Mills-Barrett | 2022-05-25 | 1 | -0/+1 |
| | | |||||
* | | Fix incorrect worker-allowed path in documentation (#12867) | Nick Mills-Barrett | 2022-05-25 | 1 | -3/+0 |
| | | |||||
* | | Fix typos in documentation (#12863) | Dirk Klimpel | 2022-05-25 | 3 | -3/+3 |
|/ | |||||
* | contributing_guide.md: fix link to DCO | Richard van der Hoff | 2022-05-24 | 1 | -2/+2 |
| | |||||
* | Uniformize spam-checker API, part 2: check_event_for_spam (#12808) | David Teller | 2022-05-23 | 2 | -10/+46 |
| | | | Signed-off-by: David Teller <davidt@element.io> | ||||
* | add SpamChecker callback for silently dropping inbound federated events (#12744) | Jess Porter | 2022-05-23 | 1 | -0/+18 |
| | | | Signed-off-by: jesopo <github@lolnerd.net> | ||||
* | Add detail to `cache_autotuning` config option documentation (#12776) | Shay | 2022-05-19 | 1 | -4/+9 |
| | |||||
* | Update configuration manual to document size-related suffixes (#12777) | Shay | 2022-05-19 | 1 | -0/+8 |
| | |||||
* | Add a unique index to `state_group_edges` to prevent duplicates being ↵ | reivilibre | 2022-05-19 | 1 | -0/+90 |
| | | | | accidentally introduced and the consequential impact to performance. (#12687) | ||||
* | Add missing user directory search endpoint to the generic worker ↵ | Sami Olmari | 2022-05-19 | 1 | -0/+10 |
| | | | | | | documentation (#12773) Signed-off-by: Sami Olmari <sami@olmari.fi> | ||||
* | openid.md: fix some links | Richard van der Hoff | 2022-05-19 | 1 | -9/+9 |
| | | | docbook doesn't auto-linkify links | ||||
* | Fix federation in demo scripts. (#12783) | Patrick Cloke | 2022-05-18 | 1 | -4/+5 |
| | |||||
* | Fix YAML parsing error in `url_preview_accept_language` (#12785) | Andrew Morgan | 2022-05-18 | 1 | -6/+6 |
| | |||||
* | Add documentation for cancellation of request processing (#12761) | Sean Quah | 2022-05-18 | 2 | -0/+393 |
| | | | | Signed-off-by: Sean Quah <seanq@matrix.org> | ||||
* | Switch the 'Configuration' link in the docs homepage to the config manual ↵ | Andrew Morgan | 2022-05-18 | 1 | -3/+3 |
| | | | | (#12748) | ||||
* | Add some documentation around the `rc_invites` option to the config docs ↵ | Andrew Morgan | 2022-05-18 | 1 | -0/+14 |
| | | | | (#12759) | ||||
* | Suggest using docker when testing against postgres (#12765) | David Robertson | 2022-05-17 | 1 | -3/+28 |
| | | | Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | ||||
* | Fix typo in name of 'run_background_tasks_on' option in config manual (#12749) | Andrew Morgan | 2022-05-16 | 1 | -1/+1 |
| | |||||
* | Fix typo in listener config (#12742) | Dirk Klimpel | 2022-05-16 | 2 | -3/+3 |
| | |||||
* | Add config flags to allow for cache auto-tuning (#12701) | Shay | 2022-05-13 | 2 | -2/+33 |
| | |||||
* | Update issuer URL in example OIDC Keycloak config (#12727) | Niklas | 2022-05-13 | 1 | -1/+1 |
| | | | | | | | * Update openid.md Newer versions of keycloak returning a 404 when using the `/auth` prefix. Related: https://github.com/matrix-org/synapse/issues/12714 | ||||
* | add default_power_level_content_override config option. (#12618) | Andy Balaam | 2022-05-12 | 2 | -0/+60 |
| | | | Co-authored-by: Matthew Hodgson <matthew@matrix.org> | ||||
* | Fix reference to the wrong symbol in the media admin api docs (#12715) | Andrew Morgan | 2022-05-12 | 1 | -1/+1 |
| | |||||
* | Reload cache factors from disk on SIGHUP (#12673) | David Robertson | 2022-05-11 | 2 | -0/+23 |
| | |||||
* | Add the `update_user_directory_from_worker` configuration option ↵ | reivilibre | 2022-05-10 | 2 | -12/+39 |
| | | | | | (superseding `update_user_directory`) to allow a generic worker to be designated as the worker to update the user directory. (#12654) Co-authored-by: Shay <hillerys@element.io> | ||||
* | Update `replication.md` with info on TCP module structure (#12621) | Shay | 2022-05-09 | 1 | -0/+5 |
| | |||||
* | Update SQL statements in docs for Synapse Admins (#12536) | Dirk Klimpel | 2022-05-09 | 1 | -70/+121 |
| | |||||
* | Fix docs on how to run specific Complement tests after recent ↵ | Eric Eastwood | 2022-05-09 | 1 | -2/+2 |
| | | | | `complement.sh` change (#12664) | ||||
* | Add the `notify_appservices_from_worker` configuration option (superseding ↵ | reivilibre | 2022-05-06 | 2 | -0/+47 |
| | | | | `notify_appservices`) to allow a generic worker to be designated as the worker to send traffic to Application Services. (#12452) | ||||
* | Add `mau_appservice_trial_days` config (#12619) | Will Hunt | 2022-05-04 | 2 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | | * Add mau_appservice_trial_days * Add a test * Tweaks * changelog * Ensure we sync after the delay * Fix types * Add config statement * Fix test * Reinstate logging that got removed * Fix feature name | ||||
* | Disable device name lookup over federation by default (#12616) | Andrew Morgan | 2022-05-04 | 3 | -7/+18 |
| | |||||
* | Remove unstable/unspecced login types. (#12597) | Patrick Cloke | 2022-05-04 | 1 | -3/+0 |
| | | | | | | * `m.login.jwt`, which was never specced and has been deprecated since Synapse 1.16.0. (`org.matrix.login.jwt` can be used instead.) * `uk.half-shot.msc2778.login.application_service`, which was stabilized as part of the Matrix spec v1.2 release. | ||||
* | Improve logging for cancelled requests (#12587) | Sean Quah | 2022-05-04 | 1 | -1/+1 |
| | | | | | | | Don't log stack traces for cancelled requests and use a custom HTTP status code of 499. Signed-off-by: Sean Quah <seanq@element.io> | ||||
* | Remove special-case for `twisted` logger (#12589) | Richard van der Hoff | 2022-04-29 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | This was originally added when we first added a `MemoryHandler` to the default log config back in https://github.com/matrix-org/synapse/pull/8040, to ensure that we didn't explode with an infinite loop if there was an error formatting the logs. Since then, we made additional improvements to logging which make this workaround redundant. In particular: * we no longer attempt to log un-UTF8-decodable byte sequences, which were the most likely cause of an error in the first place. * https://github.com/matrix-org/synapse/pull/8268 ensures that in the unlikely case that there *is* an error, it won't cause an infinite loop. | ||||
* | Add option to enable token registration without requiring 3pids (#12526) | Will Hunt | 2022-04-27 | 1 | -0/+6 |
| | |||||
* | Add a table of contents to config manual (#12527) | Shay | 2022-04-25 | 1 | -2/+44 |
| | | | * Update config_documentation.md | ||||
* | Correct typo in user_admin_api.md device deletion JSON (#12533) | Sami Olmari | 2022-04-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Sami Olmari <sami@olmari.fi> | ||||
* | Add HAProxy delegation example to docs (#12501) | villepeh | 2022-04-25 | 1 | -0/+22 |
| | | | Signed-off-by: Ville Petteri Huh | ||||
* | Add some example configurations for worker (#12492) | Dirk Klimpel | 2022-04-25 | 4 | -24/+55 |
| | | | Signed-off-by: Dirk Klimpel <dirk@klimpel.org> | ||||
* | turn-howto: fix some links | Richard van der Hoff | 2022-04-22 | 1 | -2/+2 |
| | |||||
* | Recommend poetry in docs (#12475) | David Robertson | 2022-04-20 | 3 | -36/+283 |
| | | | | | | | | | | | * Recommend poetry in docs - readme - contributor guide - upgrade notes - new dev cheat sheet for poetry Co-authored-by: Shay <hillerys@element.io> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | Merge branch 'master' into develop | Olivier Wilkinson (reivilibre) | 2022-04-19 | 1 | -1/+1 |
|\ | |||||
| * | fix typo in upgrade notes | Richard van der Hoff | 2022-04-19 | 1 | -1/+1 |
| | | |||||
* | | Add a manual documenting config file options (#12368) | Shay | 2022-04-18 | 2 | -0/+3413 |
| | | |||||
* | | Update documentation to reflect that `run_background_tasks_on` is no longer ↵ | reivilibre | 2022-04-14 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | experimental. (#12451) * Background workers aren't experimental anymore * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Stream writers aren't experimental either | ||||
* | | Replace `federation_reader` with `generic_worker` in docs (#12457) | Dirk Klimpel | 2022-04-14 | 4 | -24/+22 |
| | | |||||
* | | Reintroduce the lint targets in the linter script (#12455) | David Robertson | 2022-04-14 | 1 | -39/+15 |
| | | |||||
* | | docs: Don't render the table of contents on the print page (#12340) | Andrew Morgan | 2022-04-13 | 1 | -0/+14 |
| | | |||||
* | | Merge branch 'release-v1.57' into develop | Erik Johnston | 2022-04-12 | 6 | -8/+9445 |
|\| | |||||
| * | Update UPGRADE notes to include more details about v1.57 upgrade failure ↵ | Richard van der Hoff | 2022-04-12 | 1 | -8/+47 |
| | | | | | | | | mode (#12448) | ||||
| * | Split changelogs by year v1.57.0rc1 | Erik Johnston | 2022-04-12 | 5 | -0/+9398 |
| | | |||||
* | | Disable groups/communities by default. (#12344) | Patrick Cloke | 2022-04-12 | 1 | -0/+7 |
|/ | | | | This disables the endpoints (and sync response fields) for groups/communities by default. | ||||
* | Stop maintaining a list of lint targets in `lint.sh` (#12420) | David Robertson | 2022-04-08 | 1 | -5/+3 |
| | |||||
* | Clarify that we mark as outliers because we don't have any state for them ↵ | Eric Eastwood | 2022-04-06 | 1 | -1/+2 |
| | | | | | (#12345) As discussed at https://github.com/matrix-org/synapse/pull/12179#discussion_r837263852 | ||||
* | Remove docs for converting a legacy structured logging config. (#12392) | Patrick Cloke | 2022-04-06 | 2 | -81/+2 |
| | | | And update the upgrade notes to point at old versions of the documentation. | ||||
* | Merge branch 'master' into develop | Sean Quah | 2022-04-05 | 1 | -6/+5 |
|\ | |||||
| * | Move warning of open registration to v1.56 upgrade notes (#12322) | Andrew Morgan | 2022-03-29 | 1 | -6/+5 |
| | | |||||
* | | Allow specifying the Postgres database's port when running unit tests with ↵ | reivilibre | 2022-04-05 | 1 | -3/+11 |
| | | | | | | | | Postgres. (#12376) | ||||
* | | Update broken link in `workers.md` (#12369) | Shay | 2022-04-04 | 1 | -1/+1 |
| | | |||||
* | | Use a sequence to generate AS transaction IDs, drop `last_txn` AS state (#12209) | Nick Mills-Barrett | 2022-04-01 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | Switching to a sequence means there's no need to track `last_txn` on the AS state table to generate new TXN IDs. This also means that there is no longer contention between the AS scheduler and AS handler on updates to the `application_services_state` table, which will prevent serialization errors during the complete AS txn transaction. | ||||
* | | Add a module callback to react to account data changes (#12327) | Brendan Abolivier | 2022-04-01 | 3 | -1/+108 |
| | | | | | | | | Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | | Add a callback to react to 3PID associations (#12302) | Brendan Abolivier | 2022-03-31 | 1 | -0/+18 |
| | | |||||
* | | Remove `dockerfile-pgtests` (#12336) | David Robertson | 2022-03-31 | 1 | -21/+0 |
| | | |||||
* | | Flesh out documentation for running SyTest against Synapse, including use of ↵ | reivilibre | 2022-03-30 | 1 | -1/+7 |
| | | | | | | | | | | Postgres and worker mode. (#12271) Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | | Add a configuration to exclude rooms from sync response (#12310) | Brendan Abolivier | 2022-03-30 | 1 | -0/+9 |
|/ | |||||
* | HAProxy guide update (#12279) | villepeh | 2022-03-28 | 1 | -2/+2 |
| | | | HAproxy reverse proxy guide update to stop sending IPv4-mapped address to HS. | ||||
* | Add restrictions by default to open registration in Synapse (#12091) | Shay | 2022-03-25 | 2 | -1/+15 |
| | |||||
* | Authentik OpenID minor doc update (#12275) | IronTooch | 2022-03-25 | 1 | -1/+3 |
| | |||||
* | Mention the new behaviour on unsafe database locale in the upgrade notes ↵ | Brendan Abolivier | 2022-03-25 | 1 | -0/+7 |
| | | | | | (#12288) Co-authored-by: Shay <hillerys@element.io> | ||||
* | Refuse to start if DB has an unsafe locale (#12262) | Shay | 2022-03-23 | 2 | -3/+10 |
| | |||||
* | Remove mutual_rooms `update_user_directory` check, and add extra ↵ | Jonathan de Jong | 2022-03-23 | 1 | -1/+10 |
| | | | | | documentation (#12038) Resolves #10339 | ||||
* | Sync more worker regexes in the documentation. (#12243) | Patrick Cloke | 2022-03-18 | 1 | -16/+14 |
| | |||||
* | Correct `check_username_for_spam` annotations and docs (#12246) | David Robertson | 2022-03-18 | 1 | -4/+6 |
| | | | | | | | * Formally type the UserProfile in user searches * export UserProfile in synapse.module_api * Update docs Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | ||||
* | Deprecate the groups/communities endpoints and add an experimental ↵ | Patrick Cloke | 2022-03-12 | 1 | -0/+14 |
| | | | | configuration flag. (#12200) | ||||
* | Add config settings for background update parameters (#11980) | Shay | 2022-03-11 | 1 | -0/+32 |
| | |||||
* | Implement a Jinja2 filter to extract localparts from email addresses (#12212) | Brendan Abolivier | 2022-03-11 | 2 | -1/+9 |
| | |||||
* | Update the SSO username picker template to comply with SIWA guidelines (#12210) | Brendan Abolivier | 2022-03-11 | 2 | -4/+12 |
| | | | Fixes https://github.com/matrix-org/synapse/issues/12205 | ||||
* | Note that contributors can sign off privately (#12204) | Andrew Morgan | 2022-03-11 | 1 | -0/+11 |
| | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | Document that most streams can only have a single writer. (#12196) | ~creme | 2022-03-10 | 1 | -14/+17 |
| | | | | This includes the `typing`, `to_device`, `account_data`, `receipts`, and `presence` streams (really anything except the `events` stream). | ||||
* | Remove workaround introduced in Synapse v1.50.0rc1 for Mjolnir ↵ | reivilibre | 2022-03-10 | 1 | -0/+8 |
| | | | | compatibility. Breaks compatibility with Mjolnir v1.3.1 and earlier. (#11700) | ||||
* | Updates to the Room DAG concepts development document (#12179) | Richard van der Hoff | 2022-03-10 | 1 | -18/+53 |
| | | | | Some stuff that came up while we were talking about #12173. | ||||
* | Add third_party module callbacks to check if a user can delete a room and ↵ | Will Hunt | 2022-03-09 | 1 | -0/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deactivate a user (#12028) * Add check_can_deactivate_user * Add check_can_shutdown_rooms * Documentation * callbacks, not functions * Various suggested tweaks * Add tests for test_check_can_shutdown_room and test_check_can_deactivate_user * Update check_can_deactivate_user to not take a Requester * Fix check_can_shutdown_room docs * Renegade and use `by_admin` instead of `admin_user_id` * fix lint * Update docs/modules/third_party_rules_callbacks.md Co-authored-by: Brendan Abolivier <babolivier@matrix.org> * Update docs/modules/third_party_rules_callbacks.md Co-authored-by: Brendan Abolivier <babolivier@matrix.org> * Update docs/modules/third_party_rules_callbacks.md Co-authored-by: Brendan Abolivier <babolivier@matrix.org> * Update docs/modules/third_party_rules_callbacks.md Co-authored-by: Brendan Abolivier <babolivier@matrix.org> Co-authored-by: Brendan Abolivier <babolivier@matrix.org> | ||||
* | Clean-up demo scripts & documentation (#12143) | Patrick Cloke | 2022-03-08 | 3 | -1/+44 |
| | | | | | | | | | * Rewrites the demo documentation to be clearer, accurate, and moves it to our documentation tree. * Improvements to the demo scripts: * `clean.sh` now runs `stop.sh` first to avoid zombie processes. * Uses more modern Synapse configuration (and removes some obsolete configuration). * Consistently use the HTTP ports for server name, etc. * Remove the `demo/etc` directory and place everything into the `demo/808x` directories. | ||||
* | Move synctl into `synapse._scripts` and expose as an entrypoint (#12140) | David Robertson | 2022-03-04 | 3 | -7/+29 |
| | |||||
* | Add suffices to scripts in scripts-dev (#12137) | David Robertson | 2022-03-02 | 1 | -1/+1 |
| | | | | | | | | | * Rename scripts-dev to have suffices * Update references to `scripts-dev` * Changelog * These scripts don't pass mypy | ||||
* | Enable complexity checking in complexity checking docs example (#11998) | Andrew Morgan | 2022-03-02 | 1 | -9/+10 |
| | |||||
* | Move scripts directory inside synapse, exposing as setuptools entry_points ↵ | David Robertson | 2022-03-02 | 2 | -4/+4 |
| | | | | | | | | | | | | (#12118) * Two scripts are basically entry_points already * Move and rename scripts/* to synapse/_scripts/*.py * Delete sync_room_to_group.pl * Expose entry points in setup.py * Update linter script and config * Fixup scripts & docs mentioning scripts that moved Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Add module callbacks called for reacting to deactivation status change and ↵ | Brendan Abolivier | 2022-03-01 | 1 | -0/+56 |
| | | | | profile update (#12062) | ||||
* | Remove the unstable `/spaces` endpoint. (#12073) | Patrick Cloke | 2022-02-28 | 1 | -2/+0 |
| | | | | | | | | ...and various code supporting it. The /spaces endpoint was from an old version of MSC2946 and included both a Client-Server and Server-Server API. Note that the unstable /hierarchy endpoint (from the final version of MSC2946) is not yet removed. | ||||
* | Add documentation for missing worker types. (#11599) | Patrick Cloke | 2022-02-23 | 1 | -14/+76 |
| | | | And clean-up the endpoints which should be routed to workers. | ||||
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 1 | -1/+1 |
| | | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733 | ||||
* | Use room version 9 as the default room version (per MSC3589). (#12058) | Patrick Cloke | 2022-02-22 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into develop | Erik Johnston | 2022-02-22 | 1 | -1/+1 |
|\ | |||||
| * | Recommend upgrading treq alongside twisted (#11943) | Brendan Abolivier | 2022-02-09 | 1 | -1/+1 |
| | | |||||
* | | Document why auth providers aren't validated in the admin API. (#12004) | Patrick Cloke | 2022-02-18 | 1 | -1/+2 |
| | | | | | | | | Since it is reasonable to give a future or past auth provider, which might not be in the current configuration. | ||||
* | | Allow modules to set a display name on registration (#12009) | Brendan Abolivier | 2022-02-17 | 1 | -4/+31 |
| | | | | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | | Remove support for the legacy structured logging configuration. (#12008) | Patrick Cloke | 2022-02-17 | 2 | -8/+15 |
| | | |||||
* | | Explain the meaning of spam checker callbacks' return values (#12003) | David Robertson | 2022-02-16 | 1 | -13/+27 |
| | | | | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | | Note when unstable MSC3283 prefixes will be removed (#11989) | Andrew Morgan | 2022-02-14 | 1 | -1/+1 |
| | | |||||
* | | remove empty file, reword/rename newsfragment, and add line to upgrade doc | H. Shay | 2022-02-14 | 1 | -0/+1 |
| | | |||||
* | | Enable cache time-based expiry by default (#11849) | Shay | 2022-02-11 | 2 | -4/+16 |
| | | |||||
* | | Remove deprecated user_may_create_room_with_invites callback (#11950) | Brendan Abolivier | 2022-02-11 | 1 | -10/+19 |
| | | | | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | | Support the stable API endpoint for MSC3283: new settings in `/capabilities` ↵ | Dirk Klimpel | 2022-02-11 | 1 | -0/+19 |
| | | | | | | | | endpoint (#11933) | ||||
* | | Basic documentation for the release cycle. (#11954) | Patrick Cloke | 2022-02-10 | 2 | -0/+38 |
| | | |||||
* | | Fix example for structured logging. (#11946) | Brad Jones | 2022-02-09 | 1 | -1/+1 |
| | | | | | | The StreamHandler takes a stream parameter, not location. | ||||
* | | Merge branch 'master' into develop | Brendan Abolivier | 2022-02-08 | 1 | -0/+12 |
|\| | |||||
| * | Fix wording | Brendan Abolivier | 2022-02-08 | 1 | -6/+7 |
| | | |||||
| * | Add words about the Twisted security fix v1.52.0 | Brendan Abolivier | 2022-02-08 | 1 | -0/+11 |
| | | |||||
* | | Add a callback to allow modules to deny 3PID (#11854) | Brendan Abolivier | 2022-02-08 | 1 | -0/+19 |
| | | | | | | | | | | Part of the Tchap Synapse mainlining. This allows modules to implement extra logic to figure out whether a given 3PID can be added to the local homeserver. In the Tchap use case, this will allow a Synapse module to interface with the custom endpoint /internal_info. | ||||
* | | Clarify that users' media are also preview images (#11862) | Dirk Klimpel | 2022-02-04 | 2 | -1/+11 |
| | | |||||
* | | Stabilise MSC3231 (Token Based Registration) (#11867) | Jonathan de Jong | 2022-02-04 | 3 | -2/+17 |
| | |