summary refs log tree commit diff
path: root/synapse/metrics (unfollow)
Commit message (Expand)AuthorFilesLines
2020-09-09Remove some unused distributor signals (#8216)Patrick Cloke7-141/+18
2020-09-091.20.0rc2 v1.20.0rc2Richard van der Hoff3-2/+10
2020-09-09Fixup pusher pool notifications (#8287)Erik Johnston8-8/+24
2020-09-09Revert "Fixup pusher pool notifications"Erik Johnston7-23/+8
2020-09-09Fixup pusher pool notificationsErik Johnston7-8/+23
2020-09-09blacklist MSC2753 sytests until it's implemented in synapse (#8285)Matthew Hodgson2-0/+9
2020-09-09Don't remember `enabled` of deleted push rules and properly return 404 for mi...reivilibre5-13/+610
2020-09-08Add types to async_helpers (#8260)Patrick Cloke3-51/+88
2020-09-08Fix mypy error on develop (#8282)Erik Johnston2-3/+7
2020-09-08Include method in thumbnail media name (#7124)DeepBlueV7.X6-1/+181
2020-09-08Add types to StreamToken and RoomStreamToken (#8279)Erik Johnston5-91/+95
2020-09-08Add a config option for validating 'next_link' parameters against a domain wh...Andrew Morgan5-17/+204
2020-09-08Fix /notifications and pushers misbehaving because of unread counts (#8280)Brendan Abolivier2-2/+4
2020-09-08Clean up types for PaginationConfig (#8250)Erik Johnston7-86/+52
2020-09-08Use the right constructor for log records (#8278)Richard van der Hoff2-3/+4
2020-09-08Fix `MultiWriterIdGenerator.current_position`. (#8257)Erik Johnston3-6/+88
2020-09-08fix typo v1.20.0rc1Richard van der Hoff1-1/+1
2020-09-08s/fixes/fix/Richard van der Hoff1-2/+2
2020-09-081.20.0rc1Richard van der Hoff116-123/+80
2020-09-08Directly import json from the standard library. (#8259)Patrick Cloke5-6/+7
2020-09-08Allow for make_awaitable's return value to be re-used. (#8261)Patrick Cloke12-70/+56
2020-09-08Rename 'populate_stats_process_rooms_2' background job back to 'populate_stat...Andrew Morgan4-39/+35
2020-09-08Systemd docs: configure workers to start after main process. (#8276)Richard van der Hoff2-0/+6
2020-09-07Only add rows to the push actions table if the event notifies or should be ma...Brendan Abolivier2-1/+7
2020-09-07Fix stack overflow when logging system encounters an error (#8268)Richard van der Hoff2-2/+24
2020-09-07Avoid table-scanning users at startup (#8271)Richard van der Hoff2-11/+15
2020-09-07Fix unread count failing on NULL values (#8270)Brendan Abolivier2-1/+7
2020-09-07Add more logging to debug slow startup (#8264)Richard van der Hoff5-7/+33
2020-09-07Refuse to upgrade database on worker processes (#8266)Richard van der Hoff2-17/+62
2020-09-07Bump canonicaljson to version 1.4.0 (#8262)Alexandre Morignot2-1/+2
2020-09-07Run database updates in a transaction (#8265)Richard van der Hoff2-5/+23
2020-09-07Add tests for `last_successful_stream_ordering` (#8258)reivilibre2-0/+77
2020-09-04In light of #8255, use BIGINTs for destination_rooms (#8256)reivilibre2-1/+2
2020-09-04Catch up after Federation Outage (split, 2): Track last successful stream ord...reivilibre4-0/+71
2020-09-04Add cross-signing sigs to the `keys` object (#8234)Richard van der Hoff3-34/+18
2020-09-04Unread counts fixes (#8254)Brendan Abolivier3-4/+5
2020-09-04Fix a regression from calling read_templates. (#8252)Patrick Cloke2-1/+2
2020-09-04Catch-up after Federation Outage (split, 1) (#8230)reivilibre7-7/+201
2020-09-04Fix type signature in simple_select_one_onecol and friends (#8241)reivilibre2-10/+8
2020-09-04Stop sub-classing object (#8249)Patrick Cloke168-292/+293
2020-09-04Revert "Add experimental support for sharding event persister. (#8170)" (#8242)Brendan Abolivier19-206/+78
2020-09-03Add type hints to more handlers (#8244)Erik Johnston5-79/+110
2020-09-03Remove obsolete order field in `send_new_transaction` (#8245)reivilibre4-28/+23
2020-09-03Split fetching device keys and signatures into two transactions (#8233)Richard van der Hoff2-44/+66
2020-09-03Fix typing for `@cached` wrapped functions (#8240)Erik Johnston5-20/+121
2020-09-03Remove useless changelog about reverting a #8239.Patrick Cloke1-1/+0
2020-09-03Revert pinning of setuptools (#8239)Patrick Cloke4-6/+2
2020-09-03Fix typing for SyncHandler (#8237)Erik Johnston4-10/+13
2020-09-03wrap `_get_e2e_device_keys_and_signatures_txn` in a non-txn method (#8231)Richard van der Hoff3-17/+40
2020-09-02Add an overload for simple_select_one_onecol_txn. (#8235)Patrick Cloke2-0/+25
2020-09-02Convert runInteraction to async/await (#8156)Patrick Cloke2-15/+15
2020-09-02Add StreamStore to mypy (#8232)Erik Johnston5-20/+66
2020-09-02Re-implement unread counts (again) (#8059)Brendan Abolivier12-122/+457
2020-09-02Refactor `_get_e2e_device_keys_for_federation_query_txn` (#8225)Richard van der Hoff2-11/+7
2020-09-02Add experimental support for sharding event persister. (#8170)Erik Johnston18-77/+206
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-12Fix typing for notifier (#8064)Erik Johnston6-16/+38
2020-08-11Convert tags and metrics databases to async/await (#8062)Patrick Cloke4-65/+64
2020-08-11Converts event_federation and registration databases to async/await (#8061)Patrick Cloke7-177/+150
2020-08-11Add comment explaining castErik Johnston1-0/+2
2020-08-11Update changelog.d/8051.miscErik Johnston1-1/+1
2020-08-11Add typing info to N