- Jun 01, 2022
-
-
Jacek Kuśnierz authored
-
Richard van der Hoff authored
Currently, we try to pull the event corresponding to a sync token from the database. However, when we fetch redaction events, we check the target of that redaction (because we aren't allowed to send redactions to clients without validating them). So, if the sync token points to a redaction of an event that we don't have, we have a problem. It turns out we don't really need that event, and can just work with its ID and metadata, which sidesteps the whole problem.
-
Erik Johnston authored
-
Patrick Cloke authored
The remaining piece is a background update that is needed for backwards compatibility.
-
- May 31, 2022
-
-
Richard van der Hoff authored
* Raise a dedicated `InvalidEventSignatureError` from `_check_sigs_on_pdu` * Downgrade logging about redactions to DEBUG this can be very spammy during a room join, and it's not very useful. * Raise `InvalidEventSignatureError` from `_check_sigs_and_hash` ... and, more importantly, move the logging out to the callers. * changelog
-
Patrick Cloke authored
The replication logic for groups is no longer used, so the message passing infrastructure can be removed.
-
Andrew Morgan authored
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@matrix.org>
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@matrix.org>
-
Erik Johnston authored
-
Erik Johnston authored
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
Erik Johnston authored
While the query was fast, we were calling it *a lot*.
-
Richard van der Hoff authored
event_edges.room_id is implied by the event id, so there is no need to join on the room id.
-
Erik Johnston authored
-
Patrick Cloke authored
-
Brendan Abolivier authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
Travis Ralston authored
-
Travis Ralston authored
This reverts commit e0fae823.
-
Travis Ralston authored
`M_` is a reserved namespace.
-
- May 30, 2022
-
-
Jacek Kuśnierz authored
Signed-off-by:
Jacek Kusnierz <jacek.kusnierz@tum.de>
-
Brendan Abolivier authored
-
David Teller authored
Uniformize spam-checker API, part 3: Expand check_event_for_spam with the ability to return additional fields (#12846) Signed-off-by:
David Teller <davidt@element.io>
-
Mathieu Velten authored
-
Mathieu Velten authored
Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
DeepBlueV7.X authored
Signed-off-by:
Nicolas Werner <nicolas.werner@hotmail.de> Co-authored-by:
Brendan Abolivier <github@brendanabolivier.com>
-
Richard van der Hoff authored
This method was introduced in #12852. It is using the `state_key` column from the `events` table, which is not (yet) reliable (see #11496).
-
David Robertson authored
-
David Robertson authored
-
David Robertson authored
-
David Robertson authored
-
David Robertson authored
-
Jonathan de Jong authored
-
Sumner Evans authored
Signed-off-by:
Sumner Evans <sumner@beeper.com>
-
- May 27, 2022
-
-
Brendan Abolivier authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
David Teller authored
Signed-off-by:
David Teller <davidt@element.io> Co-authored-by:
Brendan Abolivier <babolivier@matrix.org>
-
Patrick Cloke authored
* Properly marks private methods as private. * Adds missing docstrings. * Rework inline methods.
-
Patrick Cloke authored
Instead of hard-coding strings in many places.
-
Patrick Cloke authored
-