- Dec 14, 2021
-
-
Sean Quah authored
`COUNT()` never returns `NULL`. A `COUNT(*)` over 0 rows is 0 and a `COUNT(NULL)` is also 0.
-
Patrick Cloke authored
-
- Dec 13, 2021
-
-
Richard van der Hoff authored
A couple of safety-checks to hopefully stop people doing what I just did, and create a storage function which only works the first time it is called (and not when it is re-run due to a database concurrency error or similar).
-
Patrick Cloke authored
* Splits the logic for parsing HTML from the resource handling code. * Fix a circular import in the oEmbed code (which uses the HTML parsing code). * Renames some of the HTML parsing methods to: * Make it clear which methods are "internal" to the module. * Clarify what the methods do.
-
Sean Quah authored
-
Sean Quah authored
-
Sean Quah authored
-
reivilibre authored
Make `get_device` return None if the device doesn't exist rather than raising an exception. (#11565) Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
- Dec 11, 2021
-
-
Eric Eastwood authored
The event still needs to have `auth_events` defined to be valid. Split out from https://github.com/matrix-org/synapse/pull/11114
-
Eric Eastwood authored
Part of MSC2716: https://github.com/matrix-org/matrix-doc/pull/2716 We did some work on making sure the `state_groups` were shared in https://github.com/matrix-org/synapse/pull/10975
-
- Dec 10, 2021
-
-
Richard van der Hoff authored
Create a new dict helper method `simple_insert_many_values_txn`, which takes raw row values, rather than {key=>value} dicts. This saves us a bunch of dict munging, and makes it easier to use generators rather than creating intermediate lists and dicts.
-
Richard van der Hoff authored
this field is never read, so we may as well stop populating it.
-
Patrick Cloke authored
This should fix pushers with an email in non-canonical form is used as the pushkey.
- Dec 09, 2021
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Dirk Klimpel authored
-
Hubert Chathi authored
-
Dirk Klimpel authored
-
Robert Long authored
-
- Dec 08, 2021
-
-
Patrick Cloke authored
And expand some type hints in the receipts storage module.
-
Dirk Klimpel authored
-
reivilibre authored
Co-authored-by:
David Robertson <davidr@element.io>
-
reivilibre authored
-
Richard van der Hoff authored
Somehow I'd managed to get my database in a pickle with stream ids. These changes were useful to debug.
-
Hubert Chathi authored
-
- Dec 07, 2021
-
-
Andrew Morgan authored
Pull the DataStore from the HomeServer instance, which always exists.
-
Sean Quah authored
-
Sean Quah authored
-
David Robertson authored
* Move sync_token up to the top * Pull out _get_ignored_users * Try to signpost the body of `_generate_sync_entry_for_rooms` * Pull out _calculate_user_changes Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
David Robertson authored
Fixes #11517
-
Sean Quah authored
After #10847, `looping_background_call` would print an error in the logs every time a non-async function was called. Since the error would be caught and ignored immediately, there were no other side effects.
-
Richard van der Hoff authored
If, for some reason, we don't have the create event, we should still be able to purge a room.
-
David Robertson authored
-
reivilibre authored
-
- Dec 06, 2021
-
-
reivilibre authored
Stabilise support for MSC2918 refresh tokens as they have now been merged into the Matrix specification. (#11435)
-
Quentin Gliech authored
As a step towards allowing back-channel logout for OIDC.
-
Dirk Klimpel authored
-