summary refs log tree commit diff
path: root/synapse/storage/databases/main/events.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Batch fetch bundled references (#14508)Patrick Cloke2022-11-221-0/+4
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-12/+10
* Clean-up events persistance code (#14411)Patrick Cloke2022-11-141-6/+3
* Properly update the threads table when thread events are redacted. (#14248)Patrick Cloke2022-10-211-10/+51
* Add an API for listing threads in a room. (#13394)Patrick Cloke2022-10-131-3/+35
* Remove the experimental implementation of MSC3772. (#14094)Patrick Cloke2022-10-121-5/+0
* Fix bug where we didn't delete staging push actions (#14014)Erik Johnston2022-10-031-1/+1
* fix: Push notifications for invite over federation (#13719)Kateřina Churanová2022-09-281-5/+5
* Handle the case of remote users leaving a partial join room for device lists ...Erik Johnston2022-09-271-0/+6
* Simplify cache invalidation after event persist txn (#13796)Nick Mills-Barrett2022-09-261-106/+27
* Keep track when we try and fail to process a pulled event (#13589)Eric Eastwood2022-09-141-9/+23
* Update event push action and receipt tables to support threads. (#13753)Patrick Cloke2022-09-141-2/+2
* Instrument the federation/backfill part of `/messages` (#13489)Eric Eastwood2022-08-161-0/+2
* Update type of `EventContext.rejected` (#13460)Richard van der Hoff2022-08-041-1/+1
* Update `get_pdu` to return the original, pristine `EventBase` (#13320)Eric Eastwood2022-07-201-3/+20
* Safe async event cache (#13308)Nick Mills-Barrett2022-07-191-3/+3
* Async get event cache prep (#13242)Nick Mills-Barrett2022-07-151-2/+2
* Don't pull out the full state when calculating push actions (#13078)Erik Johnston2022-07-111-0/+12
* Faster room joins: fix race in recalculation of current room state (#13151)Sean Quah2022-07-071-7/+7
* Handle race between persisting an event and un-partial stating a room (#13100)Sean Quah2022-07-051-13/+67
* Clean up schema for `event_edges` (#12893)Richard van der Hoff2022-06-151-4/+2
* Use dummy fallback engines if imports fail (#12979)David Robertson2022-06-071-1/+1
* Experimental support for MSC3772 (#12740)Patrick Cloke2022-05-241-0/+9
* Discard null-containing strings before updating the user directory (#12762)David Robertson2022-05-181-3/+1
* Consolidate logic for parsing relations. (#12693)Patrick Cloke2022-05-161-28/+21
* Refactor `EventContext` (#12689)Erik Johnston2022-05-101-6/+0
* Add some type hints to datastore. (#12477)Dirk Klimpel2022-05-101-57/+99
* Stop writing to `event_reference_hashes` (#12679)Richard van der Hoff2022-05-101-25/+0
* Use `ParamSpec` in a few places (#12667)David Robertson2022-05-091-2/+6
* Fix race when persisting an event and deleting a room (#12594)Erik Johnston2022-05-031-0/+15
* Resync state after partial-state join (#12394)Richard van der Hoff2022-04-121-0/+15
* Remove references to unstable identifiers from MSC3440. (#12382)Patrick Cloke2022-04-121-4/+1
* Fix `synapse_event_persisted_position` metric (#12390)Richard van der Hoff2022-04-061-3/+3
* Update type annotations for compatiblity with prometheus_client 0.14 (#12389)Richard van der Hoff2022-04-061-3/+1
* Add cache for `get_membership_from_event_ids` (#12272)Erik Johnston2022-03-251-0/+7
* Support stable identifiers for MSC3440: Threading (#12151)Patrick Cloke2022-03-101-1/+4
* Allow retrieving the relations of a redacted event. (#12130)Patrick Cloke2022-03-101-5/+6
* Invalidate caches when an event with a relation is redacted. (#12121)Patrick Cloke2022-03-071-5/+33
* Faster joins: persist to database (#12012)Richard van der Hoff2022-03-011-0/+25
* Minor typing fixes for `synapse/storage/persist_events.py` (#12069)Sean Quah2022-02-251-10/+13
* Fix non-strings in the `event_search` table (#12037)Sean Quah2022-02-241-9/+9
* Fix incorrect `get_rooms_for_user` for remote user (#11999)Erik Johnston2022-02-151-11/+16
* Fetch thread summaries for multiple events in a single query (#11752)Patrick Cloke2022-02-111-1/+1
* Fetch edits for multiple events in a single query. (#11660)Patrick Cloke2022-02-081-3/+1
* Fix historical messages backfilling in random order on remote homeservers (MS...Eric Eastwood2022-02-071-2/+11
* Add `state_key` and `rejection_reason` to `events` (#11792)Richard van der Hoff2022-01-211-1/+6
* Comments and typing for `_update_outliers_txn` (#11776)Richard van der Hoff2022-01-191-12/+23
* Include whether the requesting user has participated in a thread. (#11577)Patrick Cloke2022-01-181-0/+7
* Remove `log_function` and its uses (#11761)Richard van der Hoff2022-01-181-2/+0
* Replace uses of simple_insert_many with simple_insert_many_values. (#11742)Patrick Cloke2022-01-131-61/+61
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-7/+7
* Convert all namedtuples to attrs. (#11665)Patrick Cloke2021-12-301-5/+8
* Type hint the constructors of the data store classes (#11555)Sean Quah2021-12-131-3/+6
* skip some dict munging in event persistence (#11560)Richard van der Hoff2021-12-101-55/+59
* Stop populating `state_events.prev_state` (#11558)Richard van der Hoff2021-12-101-4/+0
* Do not allow cross-room relations, per MSC2674. (#11516)Patrick Cloke2021-12-091-2/+6
* Disambiguate queries on `state_key` (#11497)Richard van der Hoff2021-12-021-2/+2
* Refactor `backfilled` into specific behavior function arguments (`_persist_ev...Eric Eastwood2021-11-291-20/+54
* Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411)Sean Quah2021-11-261-12/+17
* Store arbitrary relations from events. (#11391)Patrick Cloke2021-11-221-15/+14
* Change display names/avatar URLs to None if they contain null bytes before st...Shay2021-11-121-4/+6
* Add remaining type hints to `synapse.events`. (#11098)Patrick Cloke2021-11-021-3/+4
* Add a thread relation type per MSC3440. (#11088)Patrick Cloke2021-10-211-0/+4
* Resolve and share `state_groups` for all historical events in batch (MSC2716)...Eric Eastwood2021-10-131-4/+6
* Fix logic flaw preventing tracking of MSC2716 events in existing room version...Eric Eastwood2021-10-051-6/+4
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
* Drop backwards-compatibility support for "outlier" (#10903)Richard van der Hoff2021-09-281-21/+1
* Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint...Eric Eastwood2021-09-211-23/+23
* Fix remove_stale_pushers job on SQLite. (#10843)reivilibre2021-09-201-1/+1
* Don't needlessly batch in `add_event_to_cache` (#10784)Erik Johnston2021-09-101-27/+24
* Skip handling of push actions for outlier events (#10780)Erik Johnston2021-09-081-4/+17
* Speed up persisting redacted events (#10756)Erik Johnston2021-09-061-11/+11
* Allow room creator to send MSC2716 related events in existing room versions (...Eric Eastwood2021-09-041-5/+27
* Fix bug with reusing 'txn' when persisting event. (#10743)Erik Johnston2021-09-031-1/+7
* Add support for MSC2716 marker events (#10498)Eric Eastwood2021-08-041-4/+20
* Make historical events discoverable from backfill for servers without any scr...Eric Eastwood2021-07-281-0/+91
* Remove unused `events_by_room` (#10421)Eric Eastwood2021-07-191-4/+0
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-151-20/+18
* Upsert redactions in case they already exists (#10343)Andreas Rammhold2021-07-091-2/+2
* Combine `LruCache.invalidate` and `invalidate_many` (#9973)Richard van der Hoff2021-05-271-4/+4
* Fix (final) Bugbear violations (#9838)Jonathan de Jong2021-04-201-5/+5
* Small speed up joining large remote rooms (#9825)Erik Johnston2021-04-161-21/+33
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-2/+5
* Prep work for removing `outlier` from `internal_metadata` (#9411)Richard van der Hoff2021-03-171-2/+17
* Refactor to ensure we call check_consistency (#9470)Erik Johnston2021-02-241-7/+6
* Include newly added sequences in the port DB script. (#9449)Patrick Cloke2021-02-231-1/+12
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-14/+29
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Speed up chain cover calculation (#9176)Erik Johnston2021-01-211-55/+144
* Use execute_batch instead of executemany in places (#9181)Erik Johnston2021-01-211-9/+9
* Fix chain cover background update to work with split out event persisters (#9...Erik Johnston2021-01-141-23/+13
* Add background update for add chain cover index (#9029)Erik Johnston2021-01-141-14/+36
* Use a chain cover index to efficiently calculate auth chain difference (#8868)Erik Johnston2021-01-111-16/+519
* Ensure rejected events get added to some metadata tables (#9016)Erik Johnston2021-01-111-24/+25
* Remove frozendict_json_encoder and support frozendicts everywhereRichard van der Hoff2020-10-281-6/+4
* Replace DeferredCache with LruCache where possible (#8563)Richard van der Hoff2020-10-191-3/+1
* Make sure a retention policy is a state event (#8527)Brendan Abolivier2020-10-141-0/+4
* Fix message duplication if something goes wrong after persisting the event (#...Erik Johnston2020-10-131-0/+31
* Only send RDATA for instance local events. (#8496)Erik Johnston2020-10-091-5/+7
* Remove stream ordering from Metadata dict (#8452)Richard van der Hoff2020-10-051-0/+4
* Enable mypy checking for unreachable code and fix instances. (#8432)Patrick Cloke2020-10-011-13/+5
* Fix bug which caused failure on join with malformed membership events (#8385)Richard van der Hoff2020-09-231-3/+7
* Use `async with` for ID gens (#8383)Erik Johnston2020-09-231-3/+3
* Add experimental support for sharding event persister. Again. (#8294)Erik Johnston2020-09-141-4/+8
* Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281)Erik Johnston2020-09-111-6/+15
* Revert "Add experimental support for sharding event persister. (#8170)" (#8242)Brendan Abolivier2020-09-041-3/+1
* Re-implement unread counts (again) (#8059)Brendan Abolivier2020-09-021-2/+2
* Add experimental support for sharding event persister. (#8170)Erik Johnston2020-09-021-1/+3
* Make StreamIdGen `get_next` and `get_next_mult` async (#8161)Erik Johnston2020-08-251-2/+2
* Convert receipts and events databases to async/await. (#8076)Patrick Cloke2020-08-141-19/+14
* Revert #7736 (#8039)Brendan Abolivier2020-08-061-47/+1
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+1527