Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wrap `_get_e2e_device_keys_and_signatures_txn` in a non-txn method (#8231) | Richard van der Hoff | 2020-09-03 | 1 | -3/+1 |
| | | | | | We have three things which all call `_get_e2e_device_keys_and_signatures_txn` with their own `runInteraction`. Factor out the common code. | ||||
* | Make _get_e2e_device_keys_and_signatures_txn return an attrs (#8224) | Richard van der Hoff | 2020-09-02 | 1 | -4/+4 |
| | | | | this makes it a bit clearer what's going on. | ||||
* | Rename `_get_e2e_device_keys_txn` (#8222) | Richard van der Hoff | 2020-09-01 | 1 | -2/+2 |
| | | | | | ... to `_get_e2e_device_keys_and_signatures_txn`, to better reflect what it does. | ||||
* | 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 |
| | | | | | | | | | | | | | | | | | | * 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`. | ||||
* | Only return devices with keys from `/federation/v1/user/devices/` (#8198) | Richard van der Hoff | 2020-08-28 | 1 | -3/+1 |
| | | | | | There's not much point in returning all the others, and some people have a silly number of devices. | ||||
* | 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 |
| | | | | This is mainly so that `StreamIdGenerator` and `MultiWriterIdGenerator` will have the same interface, allowing them to be used interchangeably. | ||||
* | 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 ↵ | Patrick Cloke | 2020-08-07 | 1 | -5/+7 |
| | | | | database to async (#8042) | ||||
* | 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 |