- Sep 26, 2022
-
-
Patrick Cloke authored
* Adds a docstring. * Reduces a small amount of duplicated code. * Improves tests.
-
Andrew Morgan authored
-
David Robertson authored
Including another batch of fixes to the schema dump script
-
Mathieu Velten authored
This is also using the partial state approximation if needed so we do not block here during a fast join. Signed-off-by:
Mathieu Velten <mathieuv@matrix.org> Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
Nick Mills-Barrett authored
This moves all the invalidations into a single place and de-duplicates the code involved in invalidating caches for a given event by using the base class method.
-
enterprisey authored
* Update NixOS module URL * Create 13818.doc
-
Erik Johnston authored
-
David Robertson authored
* Lockfile: update canonicaljson 1.6.0 -> 1.6.3 * Fix mypy errors with latest canonicaljson The change to `_encode_json_bytes` definition wasn't sufficient: ``` synapse/http/server.py:751: error: Incompatible types in assignment (expression has type "Callable[[Arg(object, 'json_object')], bytes]", variable has type "Callable[[Arg(object, 'data')], bytes]") [assignment] ``` Which I think is mypy warning us that the two functions accept different sets of kwargs. Fair enough! * Changelog
-
- Sep 23, 2022
-
-
Eric Eastwood authored
Only try to backfill event if we haven't tried before recently (exponential backoff). No need to keep trying the same backfill point that fails over and over. Fix https://github.com/matrix-org/synapse/issues/13622 Fix https://github.com/matrix-org/synapse/issues/8451 Follow-up to https://github.com/matrix-org/synapse/pull/13589 Part of https://github.com/matrix-org/synapse/issues/13356
-
Sean Quah authored
Part of the work for #12993. Once #12993 is fully resolved, we expect `/keys/changes` to behave sensibly when joined to a room with partial state. Signed-off-by:
Sean Quah <seanq@matrix.org>
-
Eric Eastwood authored
This can happen specifically with an application service `/transactions/10722?access_token=leaked` request Fix https://github.com/matrix-org/synapse/issues/13010 --- Saw an example leak in https://github.com/matrix-org/synapse/issues/13423#issuecomment-1205348482 ``` 2022-08-04 14:47:57,925 - synapse.http.client - 401 - DEBUG - as-sender-signal-1 - Sending request PUT http://localhost:29328/transactions/10722?access_token=<redacted> 2022-08-04 14:47:57,926 - synapse.http.proxyagent - 223 - DEBUG - as-sender-signal-1 - Requesting b'http://localhost:29328/transactions/10722?access_token=leaked' via <HostnameEndpoint localhost:29328> ```
-
Patrick Cloke authored
-
Patrick Cloke authored
Updates the `/receipts` endpoint and receipt EDU handler to parse a `thread_id` from the body and insert it in the database.
-
Sean Quah authored
Use the provided list of servers in the room from the `/send_join` response, since we will not know which users are in the room. This isn't sufficient to ensure that all remote servers receive the right device list updates, since the `/send_join` response may be inaccurate or we may calculate the membership state of new users in the room incorrectly. Signed-off-by:
Sean Quah <seanq@matrix.org>
-
reivilibre authored
Faster Remote Room Joins: tell remote homeservers that we are unable to authorise them if they query a room which has partial state on our server. (#13823)
-
reivilibre authored
Add comments to the Prometheus recording rules to make it clear which set of rules you need for Grafana or Prometheus Console. (#13876)
-
Erik Johnston authored
-
Erik Johnston authored
-
- Sep 22, 2022
-
-
David Robertson authored
-
Patrick Cloke authored
-
Patrick Cloke authored
This fixes a bug where the `/relations` API with `dir=f` would skip the first item of each page (except the first page), causing incomplete data to be returned to the client.
-
Erik Johnston authored
* Fix sdist to include rust build script Fixes #13851 * Newsfile
-
- Sep 21, 2022
-
-
David Robertson authored
* Validation for `/add_threepid/msisdn/submit_token` * Don't validate deprecated endpoint * Changelog
-
Brendan Abolivier authored
-
Brendan Abolivier authored
Second half of the MSC3881 implementation
-
Hugh Nimmo-Smith authored
-
villepeh authored
* Add worker_main_http_uri, replace >> with > Co-authored-by:
Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Co-authored-by:
Erik Johnston <erik@matrix.org>
-
Brendan Abolivier authored
Partial implementation of MSC3881
-
Mathieu Velten authored
Signed-off-by:
Mathieu Velten <mathieuv@matrix.org>
-
Peter Scheu authored
Co-authored-by:
David Robertson <davidr@element.io>
-
reivilibre authored
-
Quentin Gliech authored
To return the proper type (`Requester`) instead of a `dict`.
-
Erik Johnston authored
-
reivilibre authored
-
Erik Johnston authored
-
- Sep 20, 2022
-
-
Olivier Wilkinson (reivilibre) authored
-
Quentin Gliech authored
Remove the `complete_sso_login` method from the Module API which was deprecated in Synapse 1.13.0. (#13843) Signed-off-by:
Quentin Gliech <quenting@element.io>
-
David Robertson authored
* Generate separate snapshots for sqlite, postgres and common * Cleanup postgres dbs in the TRAP * Say which logical DB we're applying updates to * Run background updates on the state DB * Add new option for accepting a SCHEMA_NUMBER
-