Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Experimental MSC3890 Implementation: Fix deleting account data when using an ↵ | Andrew Morgan | 2023-03-03 | 1 | -7/+0 |
| | | | | account data writer worker (#14869) | ||||
* | Avoid fetching unused account data in sync. (#14973) | Patrick Cloke | 2023-02-10 | 1 | -4/+6 |
| | | | | | | | The per-room account data is no longer unconditionally fetched, even if all rooms will be filtered out. Global account data will not be fetched if it will all be filtered out. | ||||
* | Add helper to parse an enum from query args & use it. (#14956) | Patrick Cloke | 2023-02-01 | 1 | -1/+1 |
| | | | | | | | | The `parse_enum` helper pulls an enum value from the query string (by delegating down to the parse_string helper with values generated from the enum). This is used to pull out "f" and "b" in most places and then we thread the resulting Direction enum throughout more code. | ||||
* | Use StrCollection in place of Collection[str] in (most) handlers code. (#14922) | Patrick Cloke | 2023-01-26 | 1 | -3/+3 |
| | | | | Due to the increased safety of StrCollection over Collection[str] and Sequence[str]. | ||||
* | Merge account data streams (#14826) | Erik Johnston | 2023-01-13 | 1 | -1/+6 |
| | |||||
* | Add experimental support for MSC3391: deleting account data (#14714) | Andrew Morgan | 2023-01-01 | 1 | -8/+103 |
| | |||||
* | Do not allow a None-limit on PaginationConfig. (#14146) | Patrick Cloke | 2022-10-14 | 1 | -1/+1 |
| | | | | | | | The callers either set a default limit or manually handle a None-limit later on (by setting a default value). Update the callers to always instantiate PaginationConfig with a default limit and then assume the limit is non-None. | ||||
* | Add `StreamKeyType` class and replace string literals with constants (#12567) | Andrew Morgan | 2022-05-16 | 1 | -5/+5 |
| | |||||
* | Add a module callback to react to account data changes (#12327) | Brendan Abolivier | 2022-04-01 | 1 | -1/+51 |
| | | | | Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 1 | -2/+2 |
| | | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733 | ||||
* | Fix docstring on `add_account_data_for_user`. (#11716) | reivilibre | 2022-01-10 | 1 | -1/+1 |
| | |||||
* | Add type hints for event streams. (#10856) | Patrick Cloke | 2021-09-21 | 1 | -3/+10 |
| | |||||
* | Require type hints in the handlers module. (#10831) | Patrick Cloke | 2021-09-20 | 1 | -2/+2 |
| | | | | | | | Adds missing type hints to methods in the synapse.handlers module and requires all methods to have type hints there. This also removes the unused construct_auth_difference method from the FederationHandler. | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Import HomeServer from the proper module. (#9665) | Patrick Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Allow moving account data and receipts streams off master (#9104) | Erik Johnston | 2021-01-18 | 1 | -0/+144 |
| | |||||
* | Add type hints to some handlers (#8505) | Patrick Cloke | 2020-10-09 | 1 | -3/+11 |
| | |||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Remove unused `get_pagination_rows` methods. (#6557) | Erik Johnston | 2019-12-17 | 1 | -3/+0 |
| | | | Remove unused get_pagination_rows methods | ||||
* | Port handlers.account_validity to async/await. | Erik Johnston | 2019-12-10 | 1 | -1/+1 |
| | |||||
* | Port handlers.account_data to async/await. | Erik Johnston | 2019-12-10 | 1 | -9/+5 |
| | |||||
* | Update black to 19.10b0 (#6304) | Amber Brown | 2019-11-01 | 1 | -3/+4 |
| | | | * update version of black and also fix the mypy config being overridden | ||||
* | Remove unnecessary parentheses around return statements (#5931) | Andrew Morgan | 2019-08-30 | 1 | -2/+2 |
| | | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :) | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -2/+2 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -15/+8 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Add API for setting account_data globaly or on a per room basis | Mark Haines | 2015-12-01 | 1 | -1/+20 |
| | |||||
* | s/private_user_data/account_data/ | Mark Haines | 2015-11-18 | 1 | -0/+46 |