- Sep 04, 2020
-
-
Brendan Abolivier authored
* Revert "Add experimental support for sharding event persister. (#8170)" This reverts commit 82c1ee1c. * Changelog
-
- Sep 03, 2020
-
-
Erik Johnston authored
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
Richard van der Hoff authored
I think this is simpler (and moves stuff out of the db threads)
-
Erik Johnston authored
This requires adding a mypy plugin to fiddle with the type signatures a bit.
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Erik Johnston authored
-
Richard van der Hoff authored
We have three things which all call `_get_e2e_device_keys_and_signatures_txn` with their own `runInteraction`. Factor out the common code.
-
- Sep 02, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Erik Johnston authored
-
Brendan Abolivier authored
-
Richard van der Hoff authored
We can use the existing `_get_e2e_device_keys_and_signatures_txn` instead of creating our own txn function
-
Erik Johnston authored
This is *not* ready for production yet. Caveats: 1. We should write some tests... 2. The stream token that we use for events can get stalled at the minimum position of all writers. This means that new events may not be processed and e.g. sent down sync streams if a writer isn't writing or is slow.
-
Will Hunt authored
* Add shared_rooms api * Add changelog * Add . * Wrap response in {"rooms": } * linting * Add unstable_features key * Remove options from isort that aren't part of 5.x `-y` and `-rc` are now default behaviour and no longer exist. `dont-skip` is no longer required https://timothycrosley.github.io/isort/CHANGELOG/#500-penny-july-4-2020 * Update imports to make isort happy * Add changelog * Update tox.ini file with correct invocation * fix linting again for isort * Vendor prefix unstable API * Fix to match spec * import Codes * import Codes * Use FORBIDDEN * Update changelog.d/7785.feature Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Implement get_shared_rooms_for_users * a comma * trailing whitespace * Handle the easy feedback * Switch to using runInteraction * Add tests * Feedback * Seperate unstable endpoint from v2 * Add upgrade node * a line * Fix style by adding a blank line at EOF. * Update synapse/storage/databases/main/user_directory.py Co-authored-by:
Tulir Asokan <tulir@maunium.net> * Update synapse/storage/databases/main/user_directory.py Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Update UPGRADE.rst Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Fix UPGRADE/CHANGELOG unstable paths unstable unstable unstable Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Co-authored-by:
Tulir Asokan <tulir@maunium.net> Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by:
Tulir Asokan <tulir@maunium.net>
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
this makes it a bit clearer what's going on.
-
- Sep 01, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
... to `_get_e2e_device_keys_and_signatures_txn`, to better reflect what it does.
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Erik Johnston authored
This is so that we can use it for the backfill events stream.
-
Patrick Cloke authored
This is due to compatibility issues with old Python versions.
-
Richard van der Hoff authored
* Move `get_devices_with_keys_by_user` to `EndToEndKeyWorkerStore` this seems a better fit for it. This commit simply moves the existing code: no other changes at all. * Rename `get_devices_with_keys_by_user` to better reflect what it does. * get_device_stream_token abstract method To avoid referencing fields which are declared in the derived classes, make `get_device_stream_token` abstract, and define that in the classes which define `_device_list_id_gen`.
-
- Aug 28, 2020
-
-
Richard van der Hoff authored
... and to show that it does something slightly different to `_get_e2e_device_keys_txn`. `include_all_devices` and `include_deleted_devices` were never used (and `include_deleted_devices` was broken, since that would cause `None`s in the result which were not handled in the loop below. Add some typing too.
-
Richard van der Hoff authored
-
Patrick Cloke authored
-
Andrew Morgan authored
-
Erik Johnston authored
This fixes a bug where having multiple callers waiting on the same stream and position will cause it to try and compare two deferreds, which fails (due to the sorted list having an entry of `Tuple[int, Deferred]`).
-
Patrick Cloke authored
-
Richard van der Hoff authored
There's not much point in returning all the others, and some people have a silly number of devices.
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-