- Apr 03, 2020
-
-
Richard van der Hoff authored
Occasionally we could get a federation device list update transaction which looked like: ``` [ {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D2', 'prev_id': [], 'stream_id': 12, 'deleted': True}}, {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D1', 'prev_id': [12], 'stream_id': 11, 'deleted': True}}, {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D3', 'prev_id': [11], 'stream_id': 13, 'deleted': True}} ] ``` Having `stream_ids` which are lower than `prev_ids` looks odd. It might work (I'm not actually sure), but in any case it doesn't seem like a reasonable thing to expect other implementations to support.
-
- Apr 01, 2020
-
-
Patrick Cloke authored
-
- Mar 30, 2020
-
-
Richard van der Hoff authored
make sure we clear out all but one update for the user
-
- Mar 27, 2020
-
-
Richard van der Hoff authored
That fallback sets the redirect URL to itself (so it can process the login token then return gracefully to the client). This would make it pointless to ask the user for confirmation, since the URL the confirmation page would be showing wouldn't be the client's.
-
Dirk Klimpel authored
-
Dirk Klimpel authored
-
Richard van der Hoff authored
-
- Mar 26, 2020
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Dirk Klimpel authored
-
Patrick Cloke authored
-
- Mar 25, 2020
-
-
Erik Johnston authored
This changes the replication protocol so that the server does not send down `RDATA` for rows that happened before the client connected. Instead, the server will send a `POSITION` and clients then query the database (or master out of band) to get up to date.
-
- Mar 24, 2020
-
-
Richard van der Hoff authored
this is never set to anything other than "test", and is a source of unnecessary boilerplate.
-
Richard van der Hoff authored
* Pull Sentinel out of LoggingContext ... and drop a few unnecessary references to it * Factor out LoggingContext.current_context move `current_context` and `set_context` out to top-level functions. Mostly this means that I can more easily trace what's actually referring to LoggingContext, but I think it's generally neater. * move copy-to-parent into `stop` this really just makes `start` and `stop` more symetric. It also means that it behaves correctly if you manually `set_log_context` rather than using the context manager. * Replace `LoggingContext.alive` with `finished` Turn `alive` into `finished` and make it a bit better defined.
-
- Mar 23, 2020
-
-
Richard van der Hoff authored
This just helps keep the rows closer to their streams, so that it's easier to see what the format of each stream is.
-
- Mar 20, 2020
-
-
Richard van der Hoff authored
Attempts to clarify the sample config for databases, and add some stuff about tcp keepalives to `postgres.md`.
-
- Mar 18, 2020
-
-
Erik Johnston authored
It was originally implemented by pulling the full auth chain of all state sets out of the database and doing set comparison. However, that can take a lot work if the state and auth chains are large. Instead, lets try and fetch the auth chains at the same time and calculate the difference on the fly, allowing us to bail early if all the auth chains converge. Assuming that the auth chains do converge more often than not, this should improve performance. Hopefully.
-
- Mar 17, 2020
-
-
Richard van der Hoff authored
Extends #5794 etc to the SimpleHttpClient so that it also applies to non-federation requests. Fixes #7092.
-
Patrick Cloke authored
-
Richard van der Hoff authored
This reverts commit 54dd2862, reversing changes made to 6640460d.
-
- Mar 09, 2020
- Mar 08, 2020
-
-
dklimpel authored
-
- Mar 06, 2020
-
-
Neil Johnson authored
* Break down monthly active users by appservice_id and emit via prometheus. Co-authored-by:
Brendan Abolivier <babolivier@matrix.org>
-
- Mar 04, 2020
-
-
Patrick Cloke authored
-
Richard van der Hoff authored
This is a precursor to giving EventBase objects the knowledge of which room version they belong to.
-
- Mar 03, 2020
-
-
Patrick Cloke authored
-
- Mar 02, 2020
-
-
Richard van der Hoff authored
-
Brendan Abolivier authored
-
Dirk Klimpel authored
Fix #6910
-
- Feb 28, 2020
-
-
Erik Johnston authored
-
Dirk Klimpel authored
Fix #6910
-
- Feb 27, 2020
-
-
Richard van der Hoff authored
to stop the federationhandler trying to do master stuff
-
- Feb 26, 2020
-
-
Richard van der Hoff authored
When we get an invite over federation, store the room version in the rooms table. The general idea here is that, when we pull the invite out again, we'll want to know what room_version it belongs to (so that we can later redact it if need be). So we need to store it somewhere...
-
Erik Johnston authored
-
Andrew Morgan authored
Ensure 'deactivated' parameter is a boolean on user admin API, Fix error handling of call to deactivate user (#6990)
-