summary refs log tree commit diff
path: root/synapse/util (unfollow)
Commit message (Expand)AuthorFilesLines
2020-09-02Add /user/{user_id}/shared_rooms/ api (#7785)Will Hunt8-1/+270
2020-09-02Do not try to store invalid data in the stats table (#8226)Patrick Cloke2-8/+27
2020-09-02Convert the main methods run by the reactor to async. (#8213)Patrick Cloke3-21/+18
2020-09-02Make _get_e2e_device_keys_and_signatures_txn return an attrs (#8224)Richard van der Hoff3-20/+41
2020-09-01Fix errors when updating the user directory with invalid data (#8223)Patrick Cloke4-1/+19
2020-09-01Explain better what GDPR-erased means (#8189)Brendan Abolivier2-3/+6
2020-09-01Convert additional databases to async/await part 3 (#8201)Patrick Cloke7-87/+121
2020-09-01Convert appservice code to async/await. (#8207)Patrick Cloke2-8/+12
2020-09-01Rename `_get_e2e_device_keys_txn` (#8222)Richard van der Hoff3-6/+9
2020-09-01Convert additional databases to async/await (#8199)Patrick Cloke7-137/+147
2020-09-01Convert the well known resolver to async (#8214)Patrick Cloke5-34/+53
2020-09-01Convert additional databases to async/await part 2 (#8200)Patrick Cloke15-81/+111
2020-09-01Make MultiWriterIDGenerator work for streams that use negative stream IDs (#8...Erik Johnston3-11/+134
2020-09-01Do not install setuptools 50.0. (#8212)Patrick Cloke3-1/+6
2020-09-01Move and rename `get_devices_with_keys_by_user` (#8204)Richard van der Hoff6-49/+67
2020-08-29Rename `get_e2e_device_keys` to better reflect its purpose (#8205)Richard van der Hoff4-19/+14
2020-08-29Add a comment about _LimitedHostnameResolverRichard van der Hoff1-0/+7
2020-08-28Convert ReadWriteLock to async/await. (#8202)Patrick Cloke4-33/+39
2020-08-28Fix incorrect return signatureAndrew Morgan1-1/+1
2020-08-28Fix `wait_for_stream_position` for multiple waiters. (#8196)Erik Johnston3-5/+6
2020-08-28Convert `event_push_actions`, `registration`, and `roommember` datastores to ...Patrick Cloke4-160/+169
2020-08-28Only return devices with keys from `/federation/v1/user/devices/` (#8198)Richard van der Hoff2-3/+2
2020-08-28Convert state and stream stores and related code to async (#8194)Patrick Cloke7-45/+51
2020-08-28Ensure that the OpenID Connect remote ID is a string. (#8190)Patrick Cloke3-2/+43
2020-08-28Convert additional database code to async/await. (#8195)Patrick Cloke11-175/+246
2020-08-28Define StateMap as immutable and add a MutableStateMap type. (#8183)Patrick Cloke8-32/+52
2020-08-28Move and refactor LoginRestServlet helper methods (#8182)Andrew Morgan3-55/+94
2020-08-27Do not yield on awaitables in tests. (#8193)Patrick Cloke15-131/+230
2020-08-27Convert stats and related calls to async/await (#8192)Patrick Cloke8-77/+78
2020-08-27Convert simple_delete to async/await. (#8191)Patrick Cloke5-37/+90
2020-08-27Convert calls of async database methods to async (#8166)Patrick Cloke14-84/+114
2020-08-27simple_search_list_txn should return None, not 0. (#8187)Patrick Cloke2-4/+4
2020-08-27Fix missing _add_persisted_position (#8179)Erik Johnston3-3/+52
2020-08-27Convert additional database methods to async (select list, search, insert_man...Patrick Cloke8-84/+67
2020-08-27Convert simple_update* and simple_select* to async (#8173)Patrick Cloke19-133/+164
2020-08-27Reduce run-times of tests by advancing the reactor less (#7757)Andrew Morgan7-8/+9
2020-08-271.19.1 v1.19.1 github/release-v1.19.1 release-v1.19.1Brendan Abolivier3-1/+13
2020-08-27Update debian systemd service to use Type=notify (#8169)Dexter Chua2-1/+7
2020-08-26Remove remaining is_guest argument uses from get_room_data calls (#8181)Andrew Morgan2-10/+3
2020-08-26Do not propagate typing notifications from shadow-banned users. (#8176)Patrick Cloke6-24/+102
2020-08-26Remove unused parameter from, and add safeguard in, get_room_data (#8174)Andrew Morgan4-10/+14
2020-08-26Add required Debian dependencies to allow docker builds on the arm platform (...Christopher May-Townsend2-3/+11
2020-08-26Allow running mypy directly. (#8175)Patrick Cloke3-51/+51
2020-08-26Update the test federation client to handle streaming responses (#8130)Richard van der Hoff2-8/+28
2020-08-26Do not propagate profile changes of shadow-banned users into rooms. (#8157)Patrick Cloke5-160/+291
2020-08-26Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#...Erik Johnston12-15/+16
2020-08-26Convert simple_select_one and simple_select_one_onecol to async (#8162)Patrick Cloke25-113/+220
2020-08-26Fix rate limiting unit tests. (#8167)Patrick Cloke2-13/+15
2020-08-25Add functions to `MultiWriterIdGen` used by events stream (#8164)Erik Johnston4-3/+145
2020-08-25Do not allow send_nonmember_event to be called with shadow-banned users. (#8158)Patrick Cloke2-5/+35
2020-08-25Changelog fixes v1.19.1rc1Brendan Abolivier1-1/+1
2020-08-251.19.1rc1Brendan Abolivier4-3/+11
2020-08-25Make StreamIdGen `get_next` and `get_next_mult` async (#8161)Erik Johnston14-49/+54
2020-08-25Wording fixes to 'name' user admin api filter (#8163)Andrew Morgan4-5/+7
2020-08-25Fix missing double-backtick in RST documentAndrew Morgan1-1/+1
2020-08-25Search in columns 'name' and 'displayname' in the admin users endpoint (#7377)Manuel Stahl4-15/+27
2020-08-24Add type hints for state. (#8140)Patrick Cloke10-203/+420
2020-08-24Stop shadow-banned users from sending non-member events. (#8142)Patrick Cloke8-42/+155
2020-08-24Allow capping a room's retention policy (#8104)Brendan Abolivier6-107/+127
2020-08-24Add healthcheck for default localhost 8008 port on /health endpoint. (#8147)Christopher May-Townsend3-0/+34
2020-08-24Fix flaky shadow-ban tests. (#8152)Patrick Cloke2-1/+4
2020-08-24Fix join ratelimiter breaking profile updates and idempotency (#8153)Brendan Abolivier4-25/+119
2020-08-24Do not apply ratelimiting on joins to appservices (#8139)Will Hunt4-6/+119
2020-08-24Don't fail /submit_token requests on incorrect session ID if request_token_in...Brendan Abolivier5-6/+68
2020-08-21Do not apply ratelimiting on joins to appservices (#8139)Will Hunt4-6/+119
2020-08-21Micro-optimisations to get_auth_chain_ids (#8132)Richard van der Hoff2-23/+18
2020-08-20Allow denying or shadow banning registrations via the spam checker (#8034)Patrick Cloke14-18/+258
2020-08-20Stop shadow-banned users from sending invites. (#8095)Patrick Cloke7-31/+226
2020-08-20Be more tolerant of membership events in unknown rooms (#8110)Richard van der Hoff3-6/+28
2020-08-20Improve the error code when trying to register using a name reserved for gues...Patrick Cloke2-1/+4
2020-08-20Use the JSON encoder without whitespace in more places. (#8124)Patrick Cloke9-27/+21
2020-08-20Add more types to synapse.storage.database. (#8127)Patrick Cloke3-222/+367
2020-08-20Ensure a group ID is valid before trying to get rooms for it. (#8129)Patrick Cloke2-0/+5
2020-08-20Do not assume calls to runInteraction return Deferreds. (#8133)Patrick Cloke7-31/+41
2020-08-19Close the database connection we create during startup (#8131)Richard van der Hoff2-1/+11
2020-08-19Remove `ChainedIdGenerator`. (#8123)Erik Johnston7-95/+26
2020-08-19Switch the JSON byte producer from a pull to a push producer. (#8116)Patrick Cloke5-46/+53
2020-08-19Updated docs: Added note about missing 308 redirect support. (#8120)Ryan Cole2-0/+13
2020-08-19Be stricter about JSON that is accepted by Synapse (#8106)Patrick Cloke20-62/+85
2020-08-19Convert runWithConnection to async. (#8121)Patrick Cloke3-15/+15
2020-08-19Remove the unused inlineCallbacks code-paths in the caching code (#8119)Patrick Cloke3-52/+15
2020-08-19Separate `get_current_token` into two. (#8113)Erik Johnston6-20/+47
2020-08-18Convert events worker database to async/await. (#8071)Patrick Cloke12-97/+106
2020-08-18Add a link to the matrix-synapse-rest-password-provider. (#8111)Patrick Cloke2-0/+2
2020-08-18Fix the return type of send_nonmember_events. (#8112)Patrick Cloke3-5/+17
2020-08-18Remove : from allowed client_secret chars (#8101)Andrew Morgan4-6/+16
2020-08-18Rename changelog from bugfix to misc.Patrick Cloke1-0/+0
2020-08-18Iteratively encode JSON responses to avoid blocking the reactor. (#8013)Patrick Cloke5-13/+94
2020-08-18Return the previous stream token if a non-member event is a duplicate. (#8093)Patrick Cloke2-10/+16
2020-08-18Add resources.consent conditional dependency back (#8107)Andrew Morgan2-20/+1
2020-08-17Convert some of the general database methods to async (#8100)Patrick Cloke13-59/+69
2020-08-17Use the default templates when a custom template file cannot be found (#8037)Andrew Morgan15-290/+310
2020-08-17Changelog changes v1.19.0 github/release-v1.19.0 release-v1.19.0Olivier Wilkinson (reivilibre)1-5/+4
2020-08-171.19.0Olivier Wilkinson (reivilibre)3-4/+10
2020-08-17Convert stream database to async/await. (#8074)Patrick Cloke11-227/+224
2020-08-14Add a shadow-banned flag to users. (#8092)Patrick Cloke12-12/+83
2020-08-14Convert pusher databases to async/await. (#8075)Patrick Cloke4-95/+90
2020-08-14Convert receipts and events databases to async/await. (#8076)Patrick Cloke4-82/+80
2020-08-14Add type hints to synapse.handlers.room (#8090)Erik Johnston3-39/+69
2020-08-14Remove some unused database functions. (#8085)Patrick Cloke7-244/+19
2020-08-14Convert misc database code to async (#8087)Patrick Cloke11-64/+39
2020-08-13Remove a space at the start of a changelog entry.Patrick Cloke1-1/+1
2020-08-13More changelog tweaks v1.19.0rc1Olivier Wilkinson (reivilibre)1-4/+4
2020-08-13More changelog tweaksOlivier Wilkinson (reivilibre)1-4/+8
2020-08-13Remove unwanted changelog lineOlivier Wilkinson (reivilibre)1-1/+0
2020-08-131.19.0rc1Olivier Wilkinson (reivilibre)72-71/+67
2020-08-13Run `remove_push_actions_from_staging` in foreground (#8081)Richard van der Hoff2-3/+2
2020-08-13Drop federation transmission queues during a significant remote outage. (#7864)reivilibre2-0/+23
2020-08-13Fix unawaited coroutine error in tests. (#8072)Patrick Cloke2-10/+21
2020-08-12Convert the roommember database to async/await. (#8070)Patrick Cloke5-242/+116
2020-08-12Convert devices database to async/await. (#8069)Patrick Cloke5-176/+220
2020-08-12Add type hints to handlers.message and events.builder (#8067)Erik Johnston7-41/+61
2020-08-12Convert account data, device inbox, and censor events databases to async/awai...Patrick Cloke5-87/+99
2020-08-12Convert appservice, group server, profile and more databases to async (#8066)Patrick Cloke9-116/+91
2020-08-12