Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a primitive helper script for listing worker endpoints. (#15243) | reivilibre | 2023-03-23 | 1 | -0/+2 |
| | | | | Co-authored-by: Patrick Cloke <patrickc@matrix.org> | ||||
* | Fix conflicting URLs for dehydrated devices. (#15180) | Patrick Cloke | 2023-03-02 | 1 | -1/+1 |
| | |||||
* | Use ClientRestResource on both the main process and workers. (#14528) | Patrick Cloke | 2022-12-02 | 1 | -4/+6 |
| | | | | | | | Add logic to ClientRestResource to decide whether to mount servlets or not based on whether the current process is a worker. This is clearer to see what a worker runs than the completely separate / copy & pasted list of servlets being mounted for workers. | ||||
* | Add a type hint for `get_device_handler()` and fix incorrect types. (#14055) | Patrick Cloke | 2022-11-22 | 1 | -4/+13 |
| | | | | | This was the last untyped handler from the HomeServer object. Since it was being treated as Any (and thus unchecked) it was being used incorrectly in a few places. | ||||
* | Fix dehydrated device REST checks (#14336) | David Robertson | 2022-10-31 | 1 | -3/+2 |
| | |||||
* | Use Pydantic to validate /devices endpoints (#14054) | David Robertson | 2022-10-07 | 1 | -46/+52 |
| | |||||
* | Implement MSC3852: Expose `last_seen_user_agent` to users for their own ↵ | Andrew Morgan | 2022-08-19 | 1 | -0/+27 |
| | | | | devices; also expose to Admin API (#13549) | ||||
* | Consolidate the logic of delete_device/delete_devices. (#12970) | Patrick Cloke | 2022-06-07 | 1 | -1/+3 |
| | | | | | | | | By always using delete_devices and sometimes passing a list with a single device ID. Previously these methods had gotten out of sync with each other and it seems there's little benefit to the single-device variant. | ||||
* | Make `get_device` return None if the device doesn't exist rather than ↵ | reivilibre | 2021-12-13 | 1 | -2/+4 |
| | | | | | raising an exception. (#11565) Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | ||||
* | Remove unnecessary parentheses around tuples returned from methods (#10889) | Andrew Morgan | 2021-09-23 | 1 | -2/+2 |
| | |||||
* | Additional type hints for REST servlets (part 2). (#10674) | Patrick Cloke | 2021-08-26 | 1 | -22/+26 |
| | | | Applies the changes from #10665 to additional modules. | ||||
* | Flatten the synapse.rest.client package (#10600) | reivilibre | 2021-08-17 | 1 | -0/+300 |