summary refs log tree commit diff
path: root/synapse/storage/databases (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-05-2911-214/+138
|\
| * Move towards using `MultiWriterIdGenerator` everywhere (#17226)Erik Johnston2024-05-296-201/+97
| * Don't invalidate all `get_relations_for_event` on history purge (#17083)Erik Johnston2024-05-294-12/+39
| * Reduce work of calculating outbound device pokes (#17211)Erik Johnston2024-05-221-0/+24
| * Improve perf of sync device lists (#17216)Erik Johnston2024-05-211-21/+68
* | Merge branch 'erikj/device_list_sync_perf' into matrix-org-hotfixesOlivier 'reivilibre2024-05-181-21/+68
|\ \
| * | Add stream change cache for device lists in roomErik Johnston2024-05-181-5/+64
| * | Cap the top stream ID when fetching changed devicesErik Johnston2024-05-181-2/+3
| * | Improve perf of sync device lists (#17191)Erik Johnston2024-05-181-15/+2
| |/
* | Merge branch 'erikj/redundant_outbound_pokes' into matrix-org-hotfixesErik Johnston2024-05-171-0/+23
|\ \
| * | Reduce work of calculating outbound device pokesErik Johnston2024-05-171-0/+23
| |/
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-05-161-2/+15
|\|
| * Revert "Improve perf of sync device lists" (#17207)Erik Johnston2024-05-161-2/+15
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-05-141-15/+2
|\|
| * Improve perf of sync device lists (#17191)Erik Johnston2024-05-141-15/+2
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-05-131-54/+54
|\|
| * Actually fix public rooms (#17184)Erik Johnston2024-05-131-54/+54
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-05-131-65/+51
|\|
| * Fix bug with creating public rooms on workers (#17177)Erik Johnston2024-05-131-65/+51
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-05-073-8/+79
|\|
| * Add support for MSC3823 - Account Suspension (#17051)Shay2024-05-011-1/+54
| * Fix filtering of rooms when supplying the `destination` query parameter to `/...Andrew Morgan2024-04-261-0/+1
| * Return the search terms as search highlights for SQLite instead of nothing (#...Melvyn Laïly2024-04-261-7/+24
* | Merge remote-tracking branch 'origin/release-v1.106' into matrix-org-hotfixesOlivier 'reivilibre2024-04-252-71/+59
|\|
| * Redact membership events if the user requested erasure upon deactivating (#17...Till2024-04-251-0/+22
| * Add type annotation to `visited_chains` (#17125)Andrew Morgan2024-04-251-1/+1
| * Merge branch 'master' into developErik Johnston2024-04-231-71/+37
| |\
| | * Fix GHSA-3h7q-rfh9-xm4vErik Johnston2024-04-231-71/+37
* | | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-04-182-20/+16
|\| |
| * | Fix remote receipts for events we don't have (#17096)Erik Johnston2024-04-171-1/+5
| * | Use receipts `event_stream_ordering` instead of joins (#17032)Nick Mills-Barrett2024-04-122-19/+11
| |/
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-04-101-7/+7
|\|
| * Add forgotten schema delta (#17054)Erik Johnston2024-04-091-7/+7
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-04-083-118/+175
|\|
| * Pull out fewer receipts from DB when doing push (#17049)Erik Johnston2024-04-051-22/+102
| * Add missing index to `access_tokens` table (#17045)Erik Johnston2024-04-041-0/+7
| * Refactor chain fetching (#17044)Erik Johnston2024-04-021-96/+66
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-03-282-28/+45
|\|
| * Fixups to new push stream (#17038)Erik Johnston2024-03-281-1/+3
| * Add support for moving `/push_rules` off of main process (#17037)Erik Johnston2024-03-282-28/+43
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-03-2614-94/+164
|\|
| * Ensure that pending to-device events are sent over federation at startup (#16...Richard van der Hoff2024-03-221-20/+79
| * Do not refuse to set read_marker if previous event_id is in wrong room (#16990)SpiritCroc2024-03-211-3/+5
| * Fix reject knocks on deactivating account (#17010)Hanadi2024-03-211-0/+16
| * Bump mypy from 1.5.1 to 1.8.0 (#16901)dependabot[bot]2024-03-131-2/+2
| * Bump black from 23.10.1 to 24.2.0 (#16936)dependabot[bot]2024-03-1312-69/+62
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-03-121-3/+6
|\|
| * deactivated flag refactored to filter deactivated users. (#16874)Alexander Fechler2024-03-111-3/+6
| * Revert "Improve DB performance of calculating badge counts for push. (#16756)...Andrew Morgan2024-03-051-146/+107
* | Merge branch 'release-v1.102' into matrix-org-hotfixesAndrew Morgan2024-03-051-146/+107
|\ \
| * | Revert "Improve DB performance of calculating badge counts for push. (#16756)"Andrew Morgan2024-03-051-146/+107
| |/
* | Merge branch 'develop' into matrix-org-hotfixesAndrew Morgan2024-02-201-3/+18
|\|
| * bugfix: always prefer unthreaded receipt when >1 exist (MSC4102) (#16927)kegsay2024-02-201-3/+18
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-02-132-7/+9
|\|
| * Don't invalidate the entire event cache when we purge history (#16905)Erik Johnston2024-02-132-7/+9
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-02-091-2/+2
|\|
| * Increase batching when fetching auth chains (#16893)Erik Johnston2024-02-091-2/+2
* | Merge branch 'release-v1.100' into matrix-org-hotfixesOlivier Wilkinson (reivilibre)2024-01-2349-32/+206
|\|
| * Speed up e2e device keys queries for bot accounts (#16841)Erik Johnston2024-01-231-11/+18
| * Correctly mention previous copyright (#16820)Erik Johnston2024-01-2349-0/+62
| * Preparatory work for tweaking performance of auth chain lookups (#16833)Erik Johnston2024-01-231-26/+127
| * Handle wildcard type filters properly (#14984)Mo Balaa2024-01-221-6/+17
* | Speed up e2e device keys queries for bot accountsErik Johnston2024-01-221-11/+18
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes matrix-org-hotfixesErik Johnston2024-01-124-188/+285
|\|
| * Optimize query for fetching to-device messages in `/sync` (#16805)Erik Johnston2024-01-111-77/+72
| * Improve DB performance of calculating badge counts for push. (#16756)Erik Johnston2024-01-111-107/+146
| * Faster load recents for sync (#16783)Erik Johnston2024-01-101-1/+16
| * Reduce amount of state pulled out when querying federation hierachy (#16785)Erik Johnston2024-01-101-2/+46
| * Split up deleting devices into batches (#16766)Erik Johnston2024-01-101-2/+6
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2024-01-0953-594/+849
|\|
| * Port `EventInternalMetadata` class to Rust (#16782)Erik Johnston2024-01-081-1/+1
| * Simplify internal metadata class. (#16762)Erik Johnston2024-01-051-33/+0
| * Merge remote-tracking branch 'gitlab/clokep/license-license' into new_developErik Johnston2023-12-1353-560/+848
| |\
| | * Update license headersPatrick Cloke2023-11-2153-560/+848
* | | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-12-043-22/+52
|\| |
| * | Speed up pruning of `user_ips` table (#16667)Erik Johnston2023-11-291-10/+7
| * | Correctly read to-device stream pos on SQLite (#16682)David Robertson2023-11-241-12/+19
| * | Keep track of `user_ips` and `monthly_active_users` when delegating auth (#16...David Robertson2023-11-231-0/+21
| * | Filter out auth chain queries that don't exist (#16552)Jason Little2023-11-221-0/+5
| |/
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-11-202-2/+10
|\|
| * Speed up purge room by adding index (#16657)Erik Johnston2023-11-171-0/+8
| * Merge branch 'master' into developPatrick Cloke2023-11-171-2/+2
| |\
| | * Fix "'int' object is not iterable" error in set_device_id_for_pushers backgro...Patrick Cloke2023-11-021-2/+2
* | | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-11-1615-102/+365
|\| |
| * | Speed up deleting device messages (#16643)Erik Johnston2023-11-161-25/+81
| * | Add an Admin API to temporarily grant the ability to update an existing cross...David Robertson2023-11-151-0/+84
| * | Asynchronous Uploads (#15503)Sumner Evans2023-11-151-2/+88
| * | Use full GitHub links instead of bare issue numbers. (#16637)Patrick Cloke2023-11-155-7/+9
| * | Remove whole table locks on push rule add/delete (#16051)Nick Mills-Barrett2023-11-131-16/+27
| * | Use attempt_to_set_autocommit everywhere. (#16615)Patrick Cloke2023-11-092-6/+6
| * | Use _invalidate_cache_and_stream_bulk in more places. (#16616)Patrick Cloke2023-11-096-46/+70
* | | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesPatrick Cloke2023-11-0919-287/+384
|\| |
| * | Convert simple_select_one_txn and simple_select_one to return tuples. (#16612)Patrick Cloke2023-11-0918-236/+243
| * | Return attrs for more media repo APIs. (#16611)Patrick Cloke2023-11-091-40/+65
| * | Bulk-invalidate e2e cached queries after claiming keys (#16613)David Robertson2023-11-092-18/+83
* | | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesPatrick Cloke2023-11-085-29/+41
|\| |
| * | Avoid executing no-op queries. (#16583)Patrick Cloke2023-11-074-10/+10
| * | Collect information for PushRuleEvaluator in parallel. (#16590)Patrick Cloke2023-11-061-19/+31
* | | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesPatrick Cloke2023-11-036-258/+421
|\| |
| * | Simplify event persistence code (#16584)Patrick Cloke2023-11-031-184/+200
| * | Use simple_select_many_txn in event persistance code. (#16585)Patrick Cloke2023-11-021-5/+11
| * | Remove remaining usage of cursor_to_dict. (#16564)Patrick Cloke2023-10-315-69/+210
| |/
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-10-311-114/+139
|\|
| * Claim local one-time-keys in bulk (#16565)David Robertson2023-10-301-114/+139
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-10-301-0/+60
|\|
| * Claim fallback keys in bulk (#16570)David Robertson2023-10-301-0/+60
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-10-301-0/+16
|\|
| * Ensure local invited & knocking users leave before purge. (#16559)Patrick Cloke2023-10-271-0/+16
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesPatrick Cloke2023-10-2733-404/+683
|\|
| * Remove more usages of cursor_to_dict. (#16551)Patrick Cloke2023-10-2614-77/+130
| * Convert simple_select_list and simple_select_list_txn to return lists of tupl...Patrick Cloke2023-10-2618-248/+327
| * Allow multiple workers to write to receipts stream. (#16432)Erik Johnston2023-10-252-41/+111
| * Fix bug that could cause a `/sync` to tightloop with sqlite after restart (#1...Erik Johnston2023-10-231-1/+4
| * Remove the last reference to event_txn_id. (#16521)Patrick Cloke2023-10-231-6/+0
| * Mark sync as limited if there is a gap in the timeline (#16485)Erik Johnston2023-10-192-25/+96
| * Avoid sending massive replication updates when purging a room. (#16510)Patrick Cloke2023-10-181-0/+8
| * Improve performance of delete device messages query (#16492)Mathieu Velten2023-10-181-7/+8
* | Merge branch 'release-v1.95' into matrix-org-hotfixesPatrick Cloke2023-10-1734-760/+1134
|\|
| * Convert DeviceLastConnectionInfo to attrs. (#16507)Patrick Cloke2023-10-171-20/+26
| * Convert state delta processing from a dict to attrs. (#16469)Patrick Cloke2023-10-161-18/+34
| * Remove useless async job to delete device messages on sync (#16491)Mathieu Velten2023-10-161-2/+3
| * Convert user_get_threepids response to attrs. (#16468)Patrick Cloke2023-10-111-5/+14
| * Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444)Patrick Cloke2023-10-1120-410/+589
| * Inline simple_search_list/simple_search_list_txn. (#16434)Patrick Cloke2023-10-101-10/+36
| * Add DB indices to speed up purging rooms (#16457)David Robertson2023-10-102-0/+14
| * Disable statement timeout whilst purging rooms (#16455)reivilibre2023-10-091-0/+5
| * Convert simple_select_list_paginate_txn to return tuples. (#16433)Patrick Cloke2023-10-062-30/+55
| * Return ThumbnailInfo in more places (#16438)Patrick Cloke2023-10-061-5/+25
| * Remove unused method. (#16435)Patrick Cloke2023-10-051-20/+0
| * Remove manys calls to cursor_to_dict (#16431)Patrick Cloke2023-10-0513-226/+317
| * Factor out `MultiWriter` token from `RoomStreamToken` (#16427)Erik Johnston2023-10-051-9/+13
| * Some refactors around receipts stream (#16426)Erik Johnston2023-10-042-5/+3
* | Revert "TEMPORARY Measure and log test cases"Olivier Wilkinson (reivilibre)2023-10-171-17/+6
* | TEMPORARY Measure and log test casesOlivier Wilkinson (reivilibre)2023-10-171-6/+17
* | TEMPORARY Disable prune_old_outbound_device_pokesOlivier Wilkinson (reivilibre)2023-10-161-1/+3
* | Merge remote-tracking branch 'origin/release-v1.94' into matrix-org-hotfixesDavid Robertson2023-10-033-10/+14
|\|
| * mypy plugin to check `@cached` return types (#14911)David Robertson2023-10-023-10/+14
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesPatrick Cloke2023-10-0215-61/+107
|\|
| * Implement MSC4028: push all encrypted events. (#16361)Patrick Cloke2023-09-261-0/+1
| * Improve comments in StateGroupBackgroundUpdateStore. (#16383)Patrick Cloke2023-09-251-2/+16
| * Convert more cached return values to immutable types (#16356)Patrick Cloke2023-09-203-8/+10
| * Return immutable objects for cachedList decorators (#16350)Patrick Cloke2023-09-1913-51/+80
* | Merge remote-tracking branch 'origin/release-v1.93' into matrix-org-hotfixesPatrick Cloke2023-09-199-46/+37
|\|
| * Bump ruff from 0.0.286 to 0.0.290 (#16342)dependabot[bot]2023-09-182-13/+2
| * Filter locked users in the admin API (#16328)Hanadi2023-09-182-1/+7
| * Make cached account data/tags/admin types immutable (#16325)Patrick Cloke2023-09-183-14/+13
| * Return an immutable value from get_latest_event_ids_in_room. (#16326)Patrick Cloke2023-09-182-4/+6
| * Convert `_insert_graph_receipts_txn` to `simple_upsert` (#16299)Jason Little2023-09-151-14/+9
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-09-144-56/+61
|\|
| * Some minor performance fixes for task schedular (#16313)Erik Johnston2023-09-141-0/+6
| * Refactor `get_user_by_id` (#16316)Erik Johnston2023-09-142-54/+33
| * Fix using dehydrated devices (MSC2697) & refresh tokens (#16288)Hanadi2023-09-131-0/+20
| * Use StrCollection in additional places. (#16301)Patrick Cloke2023-09-131-2/+2
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-09-136-222/+158
|\|
| * Stop purging tables which are slated for removal. (#16273)Patrick Cloke2023-09-121-4/+0
| * Refactor storing of server keys (#16261)Erik Johnston2023-09-121-147/+72
| * Recheck if remote device is cached before requesting it (#16252)Erik Johnston2023-09-071-9/+17
| * Add `/notifications` endpoint to workers (#16265)Erik Johnston2023-09-071-36/+36
| * Merge remote-tracking branch 'origin/release-v1.92' into developPatrick Cloke2023-09-062-22/+0
| |\
| * | Delete device messages asynchronously and in staged batches (#16240)Mathieu Velten2023-09-063-19/+21
| * | Fix appservices being unable to handle to_device messages for multiple users ...Will Hunt2023-09-051-1/+1
| * | Fix bug where we kept re-requesting a remote server's key repeatedly. (#16257)Erik Johnston2023-09-051-6/+11
* | | Merge branch 'release-v1.92' into matrix-org-hotfixesPatrick Cloke2023-09-062-22/+0
|\ \ \ | | |/ | |/|
| * | Merge remote-tracking branch 'origin/release-v1.91' into release-v1.92Patrick Cloke2023-09-062-22/+0
| |\ \ | | |/ | |/|
| | * Revert MSC3861 introspection cache, admin impersonation and account lock (#16...Quentin Gliech2023-09-062-22/+0
* | | Merge remote-tracking branch 'origin/release-v1.92' into matrix-org-hotfixesDavid Robertson2023-09-058-84/+75
|\| |
| * | Don't wake up destination transaction queue if they're not due for retry. (#1...Erik Johnston2023-09-041-3/+23
| * | Add last_seen_ts to the admin users API (#16218)Mathieu Velten2023-09-043-2/+12
| * | Fix rare bug that broke looping calls (#16210)Erik Johnston2023-08-301-14/+22
| * | Stop writing to the event_txn_id table (#16175)Patrick Cloke2023-08-302-61/+15
| * | Bump ruff from 0.0.277 to 0.0.286 (#16198)dependabot[bot]2023-08-291-3/+3
| * | Stabilize support for MSC3958 (suppress notifications from edits). (#16113)Patrick Cloke2023-08-231-1/+0
| |/
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-08-231-0/+5
|\|
| * Filter out unwanted user_agents from udv. (#16124)Neil Johnson2023-08-231-0/+5
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-08-232-4/+4
|\|
| * Always update `retry_last_ts` (#16164)Erik Johnston2023-08-231-3/+3
| * Task scheduler: mark task as active if we are scheduling ASAP (#16165)Mathieu Velten2023-08-231-1/+1
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-08-236-24/+400
|\|
| * Properly update retry_last_ts when hitting the maximum retry interval (#16156)DeepBlueV7.X2023-08-231-1/+3
| * Add an admin endpoint to allow authorizing server to signal token revocations...Shay2023-08-222-0/+22
| * Implements a task scheduler for resumable potentially long running tasks (#15...Mathieu Velten2023-08-212-0/+204
| * Speed up state res in rare case we don't have all events (#16116)Erik Johnston2023-08-181-23/+161
| * Allow filtering for admins in the list accounts admin API (#16114)Alexander Fechler2023-08-181-0/+10
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-08-188-164/+355
|\|
| * Add cache to `get_server_keys_json_for_remote` (#16123)Erik Johnston2023-08-181-44/+88
| * Fix database performance of read/write worker locks (#16061)Erik Johnston2023-08-171-52/+35
| * Run pyupgrade for python 3.7 & 3.8. (#16110)Patrick Cloke2023-08-153-5/+3
| * Implements admin API to lock an user (MSC3939) (#15870)Mathieu Velten2023-08-102-5/+68
| * Support MSC3814: Dehydrated Devices Part 2 (#16010)Shay2023-08-082-59/+162
* | Merge remote-tracking branch 'origin/release-v1.90' into matrix-org-hotfixesErik Johnston2023-08-099-100/+283
|\|
| * Remove old rows from the `cache_invalidation_stream_by_instance` table automa...reivilibre2023-08-081-0/+130
| * Stabilize support for MSC3970: updated transaction semantics (scope to `devic...Patrick Cloke2023-08-041-9/+6
| * Add ability to wait for locks and add locks to purge history / room deletion ...Erik Johnston2023-07-311-66/+124
| * Inline SQL queries using boolean parameters (#15525)Anshul Madnawat2023-07-267-25/+23
* | Merge branch 'release-v1.89' into matrix-org-hotfixesMathieu Velten2023-07-253-11/+10
|\|
| * Actually stop reading from column `user_id` of tables `profiles` (#15955)Shay2023-07-233-11/+10
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-07-201-122/+0
|\|
| * Speed up updating state in large rooms (#15971)Erik Johnston2023-07-201-122/+0
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-07-202-9/+2
|\|
| * Merge branch 'master' into developOlivier Wilkinson (reivilibre)2023-07-183-9/+14
| |\
| * | Support room version 11 (#15912)Patrick Cloke2023-07-181-1/+1
| * | Mark get_user_in_directory private since only used in tests (#15884)Mathieu Velten2023-07-121-8/+1
* | | Merge branch 'release-v1.88' into matrix-org-hotfixesOlivier Wilkinson (reivilibre)2023-07-183-9/+14
|\ \ \ | | |/ | |/|
| * | Revert "Stop writing to column `user_id` of tables `profiles` and `user_filte...Shay2023-07-183-9/+14
| |/
* | Merge remote-tracking branch 'origin/release-v1.88' into matrix-org-hotfixesDavid Robertson2023-07-119-82/+252
|\|
| * Fix downgrading to previous version of Synapse (#15907)Erik Johnston2023-07-101-1/+3
| * Stop writing to column `user_id` of tables `profiles` and `user_filters` (#15...Shay2023-07-073-14/+9
| * Add basic read/write lock (#15782)Erik Johnston2023-07-051-56/+168
| * Add tracing to media `/upload` endpoint (#15850)Eric Eastwood2023-07-051-0/+5
| * Fix could not serialize access due to concurrent `DELETE` from presence_strea...Jason Little2023-07-051-1/+6
| * Add foreign key constraint to `event_forward_extremities`. (#15751)Erik Johnston2023-07-052-6/+16
| * Add not_user_type param to the list accounts admin API (#15844)Michael Weimann2023-07-041-0/+37
| * devices: use combined ANY clause for faster cleanup (#15861)pacien2023-07-031-5/+9
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-06-236-388/+27
|\|
| * Fix forgotten rooms missing in initial sync (#15815)Nicolas Werner2023-06-211-0/+13
| * Remove experimental MSC2716 implementation to incrementally import history in...Eric Eastwood2023-06-164-384/+1
| * Prefill events after invalidate not before when persisting events (#15758)Jason Little2023-06-142-4/+13
* | Merge branch 'release-v1.86' into matrix-org-hotfixesMathieu Velten2023-06-1311-29/+268
|\|
| * Clear event caches when we purge history (#15609)Erik Johnston2023-06-083-5/+146
| * Remove superfluous `room_memberships` join from background update (#15733)Eric Eastwood2023-06-071-1/+0
| * No need for the extra join since `membership` is built-in to `current_state_e...Eric Eastwood2023-06-061-4/+3
| * Improve performance of user directory search (#15729)Shay2023-06-061-4/+8
| * Stabilize support for MSC3952: Intentional mentions. (#15520)Patrick Cloke2023-06-061-1/+0
| * `N + 3`: Read from column `full_user_id` rather than `user_id` of tables `pro...Shay2023-06-022-12/+12
| * Add a catch-all * to the supported relation types when redacting (#15705)Mathieu Velten2023-06-021-0/+30
| * Merge branch 'release-v1.85' into developH. Shay2023-06-013-2/+33
| |\
| * | Cache requests for user's devices from federation (#15675)Erik Johnston2023-06-012-2/+69
* | | Merge remote-tracking branch 'origin/release-v1.85' into matrix-org-hotfixesDavid Robertson2023-06-013-2/+33
|\ \ \ | | |/ | |/|
| * | Speed up background jobs populate_full_user_id_user_filters and populate_full...Shay2023-05-312-2/+2
| * | Fix a performance issue introduced in Synapse v1.83.0 which meant that purgin...reivilibre2023-05-311-0/+31
| |/
* | Merge remote-tracking branch 'origin/release-v1.85' into matrix-org-hotfixesDavid Robertson2023-05-302-224/+61
|\|
| * Set thread_id column to non-null for event_push_{actions,actions_staging,summ...Patrick Cloke2023-05-261-223/+31
| * Process previously failed backfill events in the background (#15585)Eric Eastwood2023-05-241-1/+30
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-05-2412-192/+343
|\|
| * Speed up user directory rebuild for users some more... (#15665)Erik Johnston2023-05-241-76/+114
| * Improve type hints for cached decorator. (#15658)Patrick Cloke2023-05-241-1/+1
| * Instrument `state` and `state_group` storage related things (tracing) (#15610)Eric Eastwood2023-05-192-0/+20
| * Remove old R30 because R30v2 supercedes it (#10428)reivilibre2023-05-191-83/+0
| * Handle missing previous read marker event. (#15464)Nick Mills-Barrett2023-05-181-6/+0
| * Update code to refer to "workers". (#15606)Patrick Cloke2023-05-165-24/+13
| * Add not null constraint to column `full_user_id` of tables `profiles` and `us...Shay2023-05-162-2/+195
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-05-121-10/+234
|\|
| * Revert "Set thread_id column to non-null for event_push_{actions,actions_stag...Erik Johnston2023-05-121-10/+234
* | Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixesErik Johnston2023-05-125-334/+241
|\|
| * Clean up and clarify "Create or modify Account" Admin API documentation (#15544)Andrew Morgan2023-05-051-0/+16
| * Factor out an `is_mine_server_name` method (#15542)Sean Quah2023-05-051-1/+1
| * Speed up deleting of old rows in `event_push_actions` (#15531)Erik Johnston2023-05-031-0/+9
| * Speed up rebuilding of the user directory for local users (#15529)Erik Johnston2023-05-031-75/+160
| * Set thread_id column to non-null for event_push_{actions,actions_staging,summ...Patrick Cloke2023-05-031-234/+10
| * Add config option to forget rooms automatically when users leave them (#15224)Sean Quah2023-05-031-24/+45