- Jan 12, 2023
-
-
Erik Johnston authored
* Re-enable some linting * Newsfile * Remove comment
-
- Nov 30, 2022
-
-
Nick Mills-Barrett authored
Fetch the unread notification counts used by the badge counts in push notifications for all rooms at once (instead of fetching them per room).
-
- Oct 04, 2022
-
-
Patrick Cloke authored
Update the HTTP and email pushers to consider threaded read receipts when fetching unread events.
-
Patrick Cloke authored
Consider an event to be part of a thread if you can follow a chain of relations up to a thread root. Part of MSC3773 & MSC3771.
-
Patrick Cloke authored
Applies the proper logic for unthreaded and threaded receipts to either apply to all events in the room or only events in the same thread, respectively.
-
Patrick Cloke authored
When retrieving counts of notifications segment the results based on the thread ID, but choose whether to return them as individual threads or as a single summed field by letting the client opt-in via a sync flag. The summarization code is also updated to be per thread, instead of per room.
-
- Sep 26, 2022
-
-
Patrick Cloke authored
* Adds a docstring. * Reduces a small amount of duplicated code. * Improves tests.
-
- Sep 23, 2022
-
-
Patrick Cloke authored
Updates the `/receipts` endpoint and receipt EDU handler to parse a `thread_id` from the body and insert it in the database.
-
- Sep 01, 2022
-
-
Patrick Cloke authored
This avoids doing work that will never be used (since the resulting unread counts will never be sent in a /sync response). The negative of doing this is that unread counts will be incorrect when the feature is initially enabled.
-
- Aug 09, 2022
-
-
Patrick Cloke authored
-
- Jul 15, 2022
-
-
Patrick Cloke authored
Instead of manually inserting fake data. This fixes some issues with having to manually calculate stream orderings and other oddities.
-
- Jul 08, 2022
-
-
Erik Johnston authored
Fixes #13196 Broke by #13005
-
- Jul 04, 2022
-
-
Erik Johnston authored
-
- Jun 30, 2022
-
-
Erik Johnston authored
-
- Jun 29, 2022
-
-
Erik Johnston authored
-
- Jun 28, 2022
-
-
Erik Johnston authored
-
- Jun 17, 2022
-
-
Patrick Cloke authored
-
- Jun 15, 2022
-
-
Erik Johnston authored
Fixes #11887 hopefully. The core change here is that `event_push_summary` now holds a summary of counts up until a much more recent point, meaning that the range of rows we need to count in `event_push_actions` is much smaller. This needs two major changes: 1. When we get a receipt we need to recalculate `event_push_summary` rather than just delete it 2. The logic for deleting `event_push_actions` is now divorced from calculating `event_push_summary`. In future it would be good to calculate `event_push_summary` while we persist a new event (it should just be a case of adding one to the relevant rows in `event_push_summary`), as that will further simplify the get counts logic and remove the need for us to periodically update `event_push_summary` in a background job.
-
- Feb 28, 2022
-
-
Patrick Cloke authored
-
- Feb 23, 2022
-
-
Richard van der Hoff authored
The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
-
- Dec 21, 2021
-
-
Patrick Cloke authored
-
- Sep 08, 2021
-
-
Erik Johnston authored
Outlier events don't ever have push actions associated with them, so we can skip some expensive queries during event persistence.
-
- Apr 14, 2021
-
-
Jonathan de Jong authored
Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by:
Jonathan de Jong <jonathan@automatia.nl>`>
-
- Apr 09, 2021
-
-
Patrick Cloke authored
-
- Apr 06, 2021
-
-
Patrick Cloke authored
-
- Feb 16, 2021
-
-
Eric Eastwood authored
- Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
-
- Sep 02, 2020
-
-
Brendan Abolivier authored
-
- Aug 27, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Aug 17, 2020
-
-
Patrick Cloke authored
-
- Aug 05, 2020
-
-
Erik Johnston authored
-
- Jul 30, 2020
-
-
Patrick Cloke authored
-
- Jul 27, 2020
-
-
Patrick Cloke authored
-
- Jul 01, 2020
-
-
Brendan Abolivier authored
-
- Jun 12, 2020
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
- Jun 10, 2020
-
-
Brendan Abolivier authored
-
- May 13, 2020
-
-
Erik Johnston authored
The aim here is to get to a stage where we have a `PersistEventStore` that holds all the write methods used during event persistence, so that we can take that class out of the `DataStore` mixin and instansiate it separately. This will allow us to instansiate it on processes other than master, while also ensuring it is only available on processes that are configured to write to events stream. This is a bit of an architectural change, where we end up with multiple classes per data store (rather than one per data store we have now). We end up having: 1. Storage classes that provide high level APIs that can talk to multiple data stores. 2. Data store modules that consist of classes that must point at the same database instance. 3. Classes in a data store that can be instantiated on processes depending on config.
-
- Dec 05, 2019
-
-
Erik Johnston authored
-
- Dec 04, 2019
-
-
Erik Johnston authored
-