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
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
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