| Commit message (Expand) | Author | Age | Files | Lines |
* | Convert simple_select_one_txn and simple_select_one to return tuples. (#16612) | Patrick Cloke | 2023-11-09 | 1 | -30/+13 |
* | Avoid executing no-op queries. (#16583) | Patrick Cloke | 2023-11-07 | 1 | -1/+1 |
* | Remove remaining usage of cursor_to_dict. (#16564) | Patrick Cloke | 2023-10-31 | 1 | -19/+36 |
* | Remove more usages of cursor_to_dict. (#16551) | Patrick Cloke | 2023-10-26 | 1 | -2/+1 |
* | Convert simple_select_list and simple_select_list_txn to return lists of tupl... | Patrick Cloke | 2023-10-26 | 1 | -30/+40 |
* | Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444) | Patrick Cloke | 2023-10-11 | 1 | -19/+30 |
* | Remove manys calls to cursor_to_dict (#16431) | Patrick Cloke | 2023-10-05 | 1 | -6/+6 |
* | Return immutable objects for cachedList decorators (#16350) | Patrick Cloke | 2023-09-19 | 1 | -7/+16 |
* | Recheck if remote device is cached before requesting it (#16252) | Erik Johnston | 2023-09-07 | 1 | -9/+17 |
* | Merge remote-tracking branch 'origin/release-v1.92' into develop | Patrick Cloke | 2023-09-06 | 1 | -9/+0 |
|\ |
|
| * | Revert MSC3861 introspection cache, admin impersonation and account lock (#16... | Quentin Gliech | 2023-09-06 | 1 | -9/+0 |
* | | Delete device messages asynchronously and in staged batches (#16240) | Mathieu Velten | 2023-09-06 | 1 | -8/+0 |
|/ |
|
* | Add an admin endpoint to allow authorizing server to signal token revocations... | Shay | 2023-08-22 | 1 | -0/+9 |
* | Support MSC3814: Dehydrated Devices Part 2 (#16010) | Shay | 2023-08-08 | 1 | -2/+49 |
* | devices: use combined ANY clause for faster cleanup (#15861) | pacien | 2023-07-03 | 1 | -5/+9 |
* | Cache requests for user's devices from federation (#15675) | Erik Johnston | 2023-06-01 | 1 | -0/+4 |
* | Update code to refer to "workers". (#15606) | Patrick Cloke | 2023-05-16 | 1 | -2/+0 |
* | Revert pruning of old devices (#15360) | Erik Johnston | 2023-03-31 | 1 | -82/+1 |
* | Fix registering a device on an account with lots of devices (#15348) | Erik Johnston | 2023-03-29 | 1 | -3/+6 |
* | Delete stale non-e2e devices for users, take 3 (#15183) | Erik Johnston | 2023-03-29 | 1 | -1/+79 |
* | Combine AbstractStreamIdTracker and AbstractStreamIdGenerator. (#15192) | Patrick Cloke | 2023-03-03 | 1 | -5/+2 |
* | Bump black from 22.12.0 to 23.1.0 (#15103) | dependabot[bot] | 2023-02-22 | 1 | -2/+2 |
* | Return read-only collections from `@cached` methods (#13755) | Sean Quah | 2023-02-10 | 1 | -6/+11 |
* | Refactor get_user_devices_from_cache to avoid mutating cached values. (#15040) | Patrick Cloke | 2023-02-10 | 1 | -14/+17 |
* | Fix exception on start up about device lists (#15041) | Erik Johnston | 2023-02-10 | 1 | -0/+1 |
* | Fix initialization of `_device_list_id_gen` (#14914) | Sean Quah | 2023-01-26 | 1 | -0/+1 |
* | Always notify replication when a stream advances (#14877) | Erik Johnston | 2023-01-20 | 1 | -0/+1 |
* | Merge device list replication streams (#14833) | Erik Johnston | 2023-01-17 | 1 | -6/+7 |
* | Batch up replication requests to request the resyncing of remote users's devi... | reivilibre | 2023-01-10 | 1 | -8/+22 |
* | Update all stream IDs after processing replication rows (#14723) | Nick Mills-Barrett | 2023-01-04 | 1 | -2/+9 |
* | Revert the deletion of stale devices due to performance issues. (#14662) | reivilibre | 2022-12-12 | 1 | -83/+1 |
* | Limit the number of devices we delete at once (#14649) | Erik Johnston | 2022-12-09 | 1 | -3/+8 |
* | Delete stale non-e2e devices for users, take 2 (#14595) | Erik Johnston | 2022-12-09 | 1 | -1/+78 |
* | Better return type for `get_all_entities_changed` (#14604) | Erik Johnston | 2022-12-05 | 1 | -40/+71 |
* | Properly handle unknown results for the stream change cache. (#14592) | Patrick Cloke | 2022-12-02 | 1 | -14/+19 |
* | Revert "POC delete stale non-e2e devices for users (#14038)" (#14582) | David Robertson | 2022-11-29 | 1 | -67/+1 |
* | Fix `UndefinedColumn: column "key_json" does not exist` errors when handling ... | David Robertson | 2022-11-29 | 1 | -0/+1 |
* | POC delete stale non-e2e devices for users (#14038) | Erik Johnston | 2022-11-29 | 1 | -1/+66 |
* | Remove option to skip locking of tables during emulated upserts (#14469) | Sean Quah | 2022-11-28 | 1 | -9/+0 |
* | Add another index to `device_lists_changes_in_room` (#14534) | Erik Johnston | 2022-11-23 | 1 | -0/+7 |
* | Track unconverted device list outbound pokes using a position instead (#14516) | Sean Quah | 2022-11-22 | 1 | -38/+69 |
* | Reintroduce #14376, with bugfix for monoliths (#14468) | David Robertson | 2022-11-16 | 1 | -23/+13 |
* | Remove redundant types from comments. (#14412) | Patrick Cloke | 2022-11-16 | 1 | -1/+1 |
* | Revert "Remove slaved id tracker (#14376)" (#14463) | Erik Johnston | 2022-11-16 | 1 | -13/+23 |
* | Remove slaved id tracker (#14376) | Nick Mills-Barrett | 2022-11-14 | 1 | -23/+13 |
* | Merge/remove `Slaved*` stores into `WorkerStores` (#14375) | Nick Mills-Barrett | 2022-11-11 | 1 | -10/+71 |
* | Add debugging to help diagnose lost device-list-update (#14268) | Richard van der Hoff | 2022-10-24 | 1 | -17/+37 |
* | Fix hiding devices names over federation (#10015) | Aaron Raimist | 2022-10-18 | 1 | -2/+8 |
* | Handle local device list updates during partial join (#13934) | Erik Johnston | 2022-09-28 | 1 | -13/+42 |
* | Handle remote device list updates during partial join (#13913) | Erik Johnston | 2022-09-28 | 1 | -0/+55 |
* | Handle the case of remote users leaving a partial join room for device lists ... | Erik Johnston | 2022-09-27 | 1 | -14/+50 |
* | Cancel the processing of key query requests when they time out. (#13680) | reivilibre | 2022-09-07 | 1 | -0/+4 |
* | Add missing types to opentracing. (#13345) | Patrick Cloke | 2022-07-21 | 1 | -2/+2 |
* | Add type annotations to `trace` decorator. (#13328) | Patrick Cloke | 2022-07-19 | 1 | -1/+1 |
* | Fix type error that made its way onto develop (#13098) | reivilibre | 2022-06-17 | 1 | -2/+2 |
* | Use new `device_list_changes_in_room` table when getting device list changes ... | Erik Johnston | 2022-06-17 | 1 | -0/+59 |
* | Type annotations in `synapse.databases.main.devices` (#13025) | David Robertson | 2022-06-15 | 1 | -18/+33 |
* | Replace noop background updates with DELETE. (#12954) | Patrick Cloke | 2022-06-13 | 1 | -9/+0 |
* | Consolidate the logic of delete_device/delete_devices. (#12970) | Patrick Cloke | 2022-06-07 | 1 | -10/+0 |
* | Add a background job to automatically delete stale devices (#12855) | Brendan Abolivier | 2022-05-27 | 1 | -0/+39 |
* | Additional constants for EDU types. (#12884) | Patrick Cloke | 2022-05-27 | 1 | -2/+3 |
* | Add some type hints to datastore (#12485) | Dirk Klimpel | 2022-04-27 | 1 | -18/+33 |
* | Mark remote device list updates as already handled (#12557) | Erik Johnston | 2022-04-26 | 1 | -1/+2 |
* | Fix sending opentracing contexts to remote servers (#12555) | Erik Johnston | 2022-04-26 | 1 | -1/+11 |
* | Only send out device list updates for our own users (#12465) | Erik Johnston | 2022-04-14 | 1 | -1/+3 |
* | Process device list updates asynchronously (#12365) | Erik Johnston | 2022-04-12 | 1 | -52/+9 |
* | Prefill more stream change caches. (#12372) | Erik Johnston | 2022-04-05 | 1 | -0/+50 |
* | Track device list updates per room. (#12321) | Erik Johnston | 2022-04-04 | 1 | -25/+192 |
* | Send device list updates to application services (MSC3202) - part 1 (#11881) | Andrew Morgan | 2022-03-30 | 1 | -13/+35 |
* | Optimise calculating device_list changes in `/sync`. (#11974) | Erik Johnston | 2022-02-15 | 1 | -0/+10 |
* | Add a docstring to `add_device_change_to_streams` and fix some nearby types (... | Andrew Morgan | 2022-02-08 | 1 | -6/+16 |
* | Debug for device lists updates (#11760) | David Robertson | 2022-01-20 | 1 | -0/+18 |
* | Merge branch 'release-v1.50' into develop | Olivier Wilkinson (reivilibre) | 2022-01-14 | 1 | -17/+85 |
|\ |
|
| * | Fix a bug introduced in Synapse v1.50.0rc1 whereby outbound federation could ... | reivilibre | 2022-01-13 | 1 | -16/+78 |
| * | Fix a bug introduced in Synapse v1.0.0 whereby device list updates would not ... | reivilibre | 2022-01-12 | 1 | -1/+7 |
* | | Replace uses of simple_insert_many with simple_insert_many_values. (#11742) | Patrick Cloke | 2022-01-13 | 1 | -15/+22 |
* | | Cache empty responses from `/user/devices` (#11587) | David Robertson | 2022-01-05 | 1 | -2/+6 |
|/ |
|
* | Add experimental support for MSC3202: allowing application services to masque... | reivilibre | 2021-12-15 | 1 | -0/+20 |
* | Type hint the constructors of the data store classes (#11555) | Sean Quah | 2021-12-13 | 1 | -3/+19 |
* | Make `get_device` return None if the device doesn't exist rather than raising... | reivilibre | 2021-12-13 | 1 | -4/+6 |
* | Send and handle cross-signing messages using the stable prefix. (#10520) | Hubert Chathi | 2021-12-08 | 1 | -1/+3 |
* | Save the OIDC session ID (sid) with the device on login (#11482) | Quentin Gliech | 2021-12-06 | 1 | -1/+49 |
* | Fix providing a `RoomStreamToken` instance to `_notify_app_services_ephemeral... | Andrew Morgan | 2021-11-02 | 1 | -2/+2 |
* | Delete messages from `device_inbox` table when deleting device (#10969) | Dirk Klimpel | 2021-10-27 | 1 | -14/+21 |
* | Add type hints for most `HomeServer` parameters (#11095) | Sean Quah | 2021-10-22 | 1 | -4/+17 |
* | Use direct references for some configuration variables (#10798) | Patrick Cloke | 2021-09-13 | 1 | -1/+1 |
* | Replace `or_ignore` in `simple_insert` with `simple_upsert` (#10442) | Erik Johnston | 2021-07-22 | 1 | -3/+6 |
* | Combine `LruCache.invalidate` and `invalidate_many` (#9973) | Richard van der Hoff | 2021-05-27 | 1 | -1/+1 |
* | Remove `keylen` from `LruCache`. (#9993) | Richard van der Hoff | 2021-05-24 | 1 | -1/+1 |
* | Minor `@cachedList` enhancements (#9975) | Richard van der Hoff | 2021-05-14 | 1 | -1/+1 |
* | Clear the resync bit after resyncing device lists (#9867) | Richard van der Hoff | 2021-04-22 | 1 | -10/+9 |
* | Remove `synapse.types.Collection` (#9856) | Richard van der Hoff | 2021-04-22 | 1 | -2/+2 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
* | remove unused param on `make_tuple_comparison_clause` | Richard van der Hoff | 2021-04-08 | 1 | -1/+1 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -13/+25 |
* | Use execute_batch in more places (#9188) | Erik Johnston | 2021-01-21 | 1 | -2/+2 |
* | Add number of local devices to Room Details Admin API (#8886) | Dirk Klimpel | 2020-12-11 | 1 | -0/+32 |
* | Replace DeferredCache with LruCache where possible (#8563) | Richard van der Hoff | 2020-10-19 | 1 | -4/+4 |
* | move DeferredCache into its own module | Richard van der Hoff | 2020-10-14 | 1 | -1/+2 |
* | Rename Cache->DeferredCache | Richard van der Hoff | 2020-10-14 | 1 | -2/+2 |
* | Move additional tasks to the background worker, part 3 (#8489) | Patrick Cloke | 2020-10-09 | 1 | -95/+101 |
* | Add typing information to the device handler. (#8407) | Patrick Cloke | 2020-10-07 | 1 | -3/+3 |
* | Add support for MSC2697: Dehydrated devices (#8380) | Hubert Chathi | 2020-10-07 | 1 | -2/+76 |
* | Use `async with` for ID gens (#8383) | Erik Johnston | 2020-09-23 | 1 | -3/+3 |
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -2/+2 |
* | Add types to StreamToken and RoomStreamToken (#8279) | Erik Johnston | 2020-09-08 | 1 | -4/+3 |
* | Add cross-signing sigs to the `keys` object (#8234) | Richard van der Hoff | 2020-09-04 | 1 | -9/+3 |
* | wrap `_get_e2e_device_keys_and_signatures_txn` in a non-txn method (#8231) | Richard van der Hoff | 2020-09-03 | 1 | -3/+1 |
* | Make _get_e2e_device_keys_and_signatures_txn return an attrs (#8224) | Richard van der Hoff | 2020-09-02 | 1 | -4/+4 |
* | Rename `_get_e2e_device_keys_txn` (#8222) | Richard van der Hoff | 2020-09-01 | 1 | -2/+2 |
* | Convert additional databases to async/await (#8199) | Patrick Cloke | 2020-09-01 | 1 | -20/+18 |
* | Move and rename `get_devices_with_keys_by_user` (#8204) | Richard van der Hoff | 2020-09-01 | 1 | -47/+5 |
* | Only return devices with keys from `/federation/v1/user/devices/` (#8198) | Richard van der Hoff | 2020-08-28 | 1 | -3/+1 |
* | Convert calls of async database methods to async (#8166) | Patrick Cloke | 2020-08-27 | 1 | -2/+2 |
* | Convert simple_select_one and simple_select_one_onecol to async (#8162) | Patrick Cloke | 2020-08-26 | 1 | -6/+8 |
* | Make StreamIdGen `get_next` and `get_next_mult` async (#8161) | Erik Johnston | 2020-08-25 | 1 | -3/+5 |
* | Convert misc database code to async (#8087) | Patrick Cloke | 2020-08-14 | 1 | -3/+2 |
* | Convert devices database to async/await. (#8069) | Patrick Cloke | 2020-08-12 | 1 | -153/+180 |
* | Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users datab... | Patrick Cloke | 2020-08-07 | 1 | -5/+7 |
* | Reduce unnecessary whitespace in JSON. (#7372) | David Vo | 2020-08-07 | 1 | -6/+5 |
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -0/+1311 |