summary refs log tree commit diff
path: root/synapse/storage/databases/main/event_push_actions.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Speed up purge room by adding index (#16657)Erik Johnston2023-11-171-0/+8
* mypy plugin to check `@cached` return types (#14911)David Robertson2023-10-021-3/+4
* Bump ruff from 0.0.286 to 0.0.290 (#16342)dependabot[bot]2023-09-181-4/+1
* Add `/notifications` endpoint to workers (#16265)Erik Johnston2023-09-071-36/+36
* Set thread_id column to non-null for event_push_{actions,actions_staging,summ...Patrick Cloke2023-05-261-223/+31
* Revert "Set thread_id column to non-null for event_push_{actions,actions_stag...Erik Johnston2023-05-121-10/+234
* Speed up deleting of old rows in `event_push_actions` (#15531)Erik Johnston2023-05-031-0/+9
* Set thread_id column to non-null for event_push_{actions,actions_staging,summ...Patrick Cloke2023-05-031-234/+10
* Revert "Set thread_id column to non-null for event_push_{actions,actions_stag...Olivier Wilkinson (reivilibre)2023-03-311-0/+240
* Set thread_id column to non-null for event_push_{actions,actions_staging,summ...Patrick Cloke2023-03-301-240/+0
* Skip calculating unread push actions in `/sync` when `enable_push` is false. ...Erik Johnston2023-02-141-0/+7
* Delete event_push_summary_unique_index again. (#14669)Patrick Cloke2022-12-141-9/+0
* Aggregate unread notif count query for badge count calculation (#14255)Nick Mills-Barrett2022-11-301-0/+149
* Update the thread_id right before use (in case the bg update hasn't finished)...Patrick Cloke2022-10-181-0/+103
* Merge remote-tracking branch 'origin/release-v1.69' into developPatrick Cloke2022-10-141-13/+59
|\
| * Fix background update to use an index (#14181)Erik Johnston2022-10-141-11/+51
| * Optimise the event_push_backfill_thread_id bg job (#14172)David Robertson2022-10-131-2/+8
| * Fix rotating existing notifications in push summary (#14138)Erik Johnston2022-10-111-5/+15
| * Fix backwards compatibility with upcoming threads schema changes. (#14045)Patrick Cloke2022-10-051-11/+23
* | Use threaded receipts when fetching events for push. (#13878)Patrick Cloke2022-10-041-23/+57
* | Mark events as read using threaded read receipts from MSC3771. (#13877)Patrick Cloke2022-10-041-61/+216
* | Track notification counts per thread (implement MSC3773). (#13776)Patrick Cloke2022-10-041-73/+115
|/
* Clear out old rows from `event_push_actions_staging` (#14020)Erik Johnston2022-10-031-1/+57
* Explicit cast to enforce type hints. (#13939)Patrick Cloke2022-09-291-4/+4
* Clarify that a method returns only unthreaded receipts. (#13937)Patrick Cloke2022-09-291-9/+3
* Revert "Stop returning an unused column when handling new receipts. (#13933)"...Patrick Cloke2022-09-281-2/+2
* Stop returning an unused column when handling new receipts. (#13933)Patrick Cloke2022-09-281-2/+2
* Improve tests for get_unread_push_actions_for_user_in_range_*. (#13893)Patrick Cloke2022-09-261-14/+24
* Update event push action and receipt tables to support threads. (#13753)Patrick Cloke2022-09-141-3/+118
* Use partial indices on SQLIte. (#13802)Patrick Cloke2022-09-141-1/+0
* Remove support for unstable private read receipts (#13653)Šimon Brandner2022-09-011-2/+0
* Speed up inserting `event_push_actions_staging`. (#13634)Patrick Cloke2022-08-301-20/+8
* Rewrite get push actions queries (#13597)Nick Mills-Barrett2022-08-241-160/+68
* Make push rules use proper structures. (#13522)Erik Johnston2022-08-161-5/+17
* Clarifications for event push action processing. (#13485)Patrick Cloke2022-08-151-20/+33
* Support stable identifiers for MSC2285: private read receipts. (#13273)Šimon Brandner2022-08-051-15/+70
* Add comments about how event push actions are stored. (#13445)Erik Johnston2022-08-041-0/+61
* Improve comments (& avoid a duplicate query) in push actions processing. (#13...Patrick Cloke2022-08-041-124/+158
* Remove delay when rotating event push actions (#13211)Erik Johnston2022-07-111-3/+1
* Fix notification count after a highlighted message (#13223)Erik Johnston2022-07-081-3/+8
* Fix bug where we failed to delete old push actions (#13194)Erik Johnston2022-07-061-2/+4
* Use upserts for updating `event_push_summary` (#13153)Erik Johnston2022-07-051-40/+7
* Merge tag 'v1.62.0rc3' into developAndrew Morgan2022-07-041-2/+7
|\
| * Fix stuck notification counts on small servers (#13168)Erik Johnston2022-07-041-2/+7
* | Merge remote-tracking branch 'origin/release-v1.62' into developPatrick Cloke2022-06-301-22/+36
|\|
| * Fix unread counts on large servers (#13140)Erik Johnston2022-06-301-22/+26
| * Add index to help delete old push actions (#13141)Erik Johnston2022-06-301-0/+10
* | Improve performance of getting unread counts in rooms (#13119)Erik Johnston2022-06-291-3/+13
|/
* Fix serialization errors when rotating notifications (#13118)Erik Johnston2022-06-281-66/+135
* Rotate notifications more frequently (#13096)Erik Johnston2022-06-171-1/+1
* Speed up `get_unread_event_push_actions_by_room` (#13005)Erik Johnston2022-06-151-69/+189
* Avoid attempting to delete push actions for remote users. (#12879)Patrick Cloke2022-05-261-1/+1
* Replace uses of simple_insert_many with simple_insert_many_values. (#11742)Patrick Cloke2022-01-131-7/+14
* Improve type hints in storage classes. (#11652)Dirk Klimpel2021-12-291-8/+10
* Add type hints to event_push_actions. (#11594)Patrick Cloke2021-12-211-91/+158
* Type hint the constructors of the data store classes (#11555)Sean Quah2021-12-131-3/+17
* Improved push typing (#11409)Marcus2021-11-301-2/+17
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-221-3/+6
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-1/+1
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-151-1/+1
* Combine `LruCache.invalidate` and `invalidate_many` (#9973)Richard van der Hoff2021-05-271-1/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-5/+13
* Use execute_batch in more places (#9188)Erik Johnston2021-01-211-2/+2
* Allow moving account data and receipts streams off master (#9104)Erik Johnston2021-01-181-46/+46
* Fix handling of stream tokens for push. (#8943)Patrick Cloke2020-12-151-10/+0
* Move additional tasks to the background worker, part 3 (#8489)Patrick Cloke2020-10-091-131/+128
* Add logging on startup/shutdown (#8448)Erik Johnston2020-10-021-6/+2
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-2/+2
* Use slots in attrs classes where possible (#8296)Patrick Cloke2020-09-141-1/+1
* Fix /notifications and pushers misbehaving because of unread counts (#8280)Brendan Abolivier2020-09-081-2/+3
* Fix unread count failing on NULL values (#8270)Brendan Abolivier2020-09-071-1/+6
* Re-implement unread counts (again) (#8059)Brendan Abolivier2020-09-021-65/+159
* Convert `event_push_actions`, `registration`, and `roommember` datastores to ...Patrick Cloke2020-08-281-20/+18
* Convert misc database code to async (#8087)Patrick Cloke2020-08-141-5/+4
* Reduce unnecessary whitespace in JSON. (#7372)David Vo2020-08-071-3/+2
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+885