Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert simple_select_one and simple_select_one_onecol to async (#8162) | Patrick Cloke | 2020-08-26 | 15 | -67/+86 |
| | |||||
* | Make StreamIdGen `get_next` and `get_next_mult` async (#8161) | Erik Johnston | 2020-08-25 | 12 | -44/+48 |
| | | | | This is mainly so that `StreamIdGenerator` and `MultiWriterIdGenerator` will have the same interface, allowing them to be used interchangeably. | ||||
* | Wording fixes to 'name' user admin api filter (#8163) | Andrew Morgan | 2020-08-25 | 1 | -1/+1 |
| | | | Some fixes to wording I noticed after merging #7377. | ||||
* | Search in columns 'name' and 'displayname' in the admin users endpoint (#7377) | Manuel Stahl | 2020-08-25 | 1 | -12/+19 |
| | | | | | * Search in columns 'name' and 'displayname' in the admin users endpoint Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de> | ||||
* | Don't fail /submit_token requests on incorrect session ID if ↵ | Brendan Abolivier | 2020-08-24 | 1 | -6/+19 |
| | | | | | | | | | | | | | | | | | | | request_token_inhibit_3pid_errors is turned on (#7991) * Don't raise session_id errors on submit_token if request_token_inhibit_3pid_errors is set * Changelog * Also wait some time before responding to /requestToken * Incorporate review * Update synapse/storage/databases/main/registration.py Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Incorporate review Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Micro-optimisations to get_auth_chain_ids (#8132) | Richard van der Hoff | 2020-08-21 | 1 | -23/+17 |
| | |||||
* | Allow denying or shadow banning registrations via the spam checker (#8034) | Patrick Cloke | 2020-08-20 | 2 | -1/+63 |
| | |||||
* | Be more tolerant of membership events in unknown rooms (#8110) | Richard van der Hoff | 2020-08-20 | 1 | -6/+25 |
| | | | | It turns out that not all out-of-band membership events are labelled as such, so we need to be more accepting here. | ||||
* | Use the JSON encoder without whitespace in more places. (#8124) | Patrick Cloke | 2020-08-20 | 4 | -16/+12 |
| | |||||
* | Add more types to synapse.storage.database. (#8127) | Patrick Cloke | 2020-08-20 | 1 | -3/+8 |
| | |||||
* | Do not assume calls to runInteraction return Deferreds. (#8133) | Patrick Cloke | 2020-08-20 | 3 | -22/+26 |
| | |||||
* | Close the database connection we create during startup (#8131) | Richard van der Hoff | 2020-08-19 | 1 | -1/+10 |
| | | | ... otherwise it gets leaked. | ||||
* | Remove `ChainedIdGenerator`. (#8123) | Erik Johnston | 2020-08-19 | 1 | -19/+17 |
| | | | | | It's just a thin wrapper around two ID gens to make `get_current_token` and `get_next` return tuples. This can easily be replaced by calling the appropriate methods on the underlying ID gens directly. | ||||
* | Be stricter about JSON that is accepted by Synapse (#8106) | Patrick Cloke | 2020-08-19 | 1 | -2/+14 |
| | |||||
* | Separate `get_current_token` into two. (#8113) | Erik Johnston | 2020-08-19 | 1 | -2/+2 |
| | | | | | | | | | | | | The function is used for two purposes: 1) for subscribers of streams to get a token they can use to get further updates with, and 2) for replication to track position of the writers of the stream. For streams with a single writer the two scenarios produce the same result, however the situation becomes complicated for streams with multiple writers. The current `MultiWriterIdGenerator` does not correctly handle the first case (which is not an issue as its only used for the `caches` stream which nothing subscribes to outside of replication). | ||||
* | Convert events worker database to async/await. (#8071) | Patrick Cloke | 2020-08-18 | 3 | -75/+88 |
| | |||||
* | Fix the return type of send_nonmember_events. (#8112) | Patrick Cloke | 2020-08-18 | 1 | -4/+15 |
| | |||||
* | Convert some of the general database methods to async (#8100) | Patrick Cloke | 2020-08-17 | 4 | -15/+15 |
| | |||||
* | Convert stream database to async/await. (#8074) | Patrick Cloke | 2020-08-17 | 2 | -188/+201 |
| | |||||
* | Add a shadow-banned flag to users. (#8092) | Patrick Cloke | 2020-08-14 | 2 | -1/+26 |
| | |||||
* | Convert pusher databases to async/await. (#8075) | Patrick Cloke | 2020-08-14 | 2 | -91/+84 |
| | |||||
* | Convert receipts and events databases to async/await. (#8076) | Patrick Cloke | 2020-08-14 | 3 | -82/+79 |
| | |||||
* | Remove some unused database functions. (#8085) | Patrick Cloke | 2020-08-14 | 6 | -244/+18 |
| | |||||
* | Convert misc database code to async (#8087) | Patrick Cloke | 2020-08-14 | 9 | -55/+33 |
| | |||||
* | Convert the roommember database to async/await. (#8070) | Patrick Cloke | 2020-08-12 | 2 | -240/+98 |
| | |||||
* | Convert devices database to async/await. (#8069) | Patrick Cloke | 2020-08-12 | 1 | -153/+180 |
| | |||||
* | Convert account data, device inbox, and censor events databases to ↵ | Patrick Cloke | 2020-08-12 | 3 | -86/+96 |
| | | | | async/await (#8063) | ||||
* | Convert appservice, group server, profile and more databases to async (#8066) | Patrick Cloke | 2020-08-12 | 7 | -104/+78 |
| | |||||
* | Merge pull request #8060 from matrix-org/erikj/type_server | Erik Johnston | 2020-08-11 | 1 | -12/+16 |
|\ | | | | | Change HomeServer definition to work with typing. | ||||
| * | Change HomeServer definition to work with typing. | Erik Johnston | 2020-08-11 | 1 | -12/+16 |
| | | | | | | | | | | | | | | | | | | | | Duplicating function signatures between server.py and server.pyi is silly. This commit changes that by changing all `build_*` methods to `get_*` methods and changing the `_make_dependency_method` to work work as a descriptor that caches the produced value. There are some changes in other files that were made to fix the typing in server.py. | ||||
* | | Convert tags and metrics databases to async/await (#8062) | Patrick Cloke | 2020-08-11 | 2 | -64/+59 |
| | | |||||
* | | Converts event_federation and registration databases to async/await (#8061) | Patrick Cloke | 2020-08-11 | 3 | -164/+125 |
|/ | |||||
* | Implement new experimental push rules (#7997) | Brendan Abolivier | 2020-08-10 | 1 | -4/+12 |
|\ | | | | | With an undocumented configuration setting to enable them for specific users. | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Brendan Abolivier | 2020-08-06 | 1 | -4/+12 |
| | | | | | | | | babolivier/new_push_rules | ||||
* | | Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users ↵ | Patrick Cloke | 2020-08-07 | 5 | -102/+95 |
| | | | | | | | | database to async (#8042) | ||||
* | | Convert additional database stores to async/await (#8045) | Patrick Cloke | 2020-08-07 | 4 | -150/+104 |
| | | |||||
* | | Reduce unnecessary whitespace in JSON. (#7372) | David Vo | 2020-08-07 | 9 | -45/+38 |
| | | |||||
* | | Revert #7736 (#8039) | Brendan Abolivier | 2020-08-06 | 4 | -151/+2 |
| | | |||||
* | | Convert synapse.api to async/await (#8031) | Patrick Cloke | 2020-08-06 | 1 | -3/+2 |
|/ | |||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 275 | -0/+35780 |