0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-30 02:08:21 +02:00
dendrite/syncapi/storage/postgres
Neil Alexander b70238f2d5
Basic sync filtering (#1721)
* Add some filtering (postgres only for now)

* Fix build error

* Try to use request filter

* Use default filter as a template when retrieving from the database

* Remove unused strut

* Update sytest-whitelist

* Add filtering to SelectEarlyEvents

* Fix Postgres selectEarlyEvents query

* Attempt filtering on SQLite

* Test limit, set field for limit/order in prepareWithFilters

* Remove debug logging, add comments

* Tweaks, debug logging

* Separate SQLite stream IDs

* Fix filtering in current state table

* Fix lock issues

* More tweaks

* Current state requires room ID

* Review comments
2021-01-19 18:00:42 +00:00
..
deltas Simplify send-to-device messaging (#1702) 2021-01-13 17:29:46 +00:00
account_data_table.go Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
backwards_extremities_table.go Update all usages of tx.Stmt to sqlutil.TxStmt (#1423) 2020-09-24 11:10:14 +01:00
current_room_state_table.go Add event ID index on current state table (helps performance) (#1649) 2020-12-16 18:16:39 +00:00
filter_table.go Basic sync filtering (#1721) 2021-01-19 18:00:42 +00:00
filtering.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00
invites_table.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
output_room_events_table.go Basic sync filtering (#1721) 2021-01-19 18:00:42 +00:00
output_room_events_topology_table.go Handle state with input event as new events (#1415) 2020-09-15 11:17:46 +01:00
peeks_table.go Peeking via MSC2753 (#1370) 2020-09-10 14:39:18 +01:00
receipt_table.go Sync refactor — Part 1 (#1688) 2021-01-08 16:59:06 +00:00
send_to_device_table.go Simplify send-to-device messaging (#1702) 2021-01-13 17:29:46 +00:00
syncserver.go Simplify send-to-device messaging (#1702) 2021-01-13 17:29:46 +00:00