0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-24 05:43:48 +01:00
dendrite/syncapi/storage/postgres
kegsay 6d25bd6ca5
syncapi: add more tests; fix more bugs (#2338)
* syncapi: add more tests; fix more bugs

bugfixes:
 - The postgres impl of TopologyTable.SelectEventIDsInRange did not use the provided txn
 - The postgres impl of EventsTable.SelectEvents did not preserve the ordering of the input event IDs in the output events slice
 - The sqlite impl of EventsTable.SelectEvents did not use a bulk `IN ($1)` query.

Added tests:
 - `TestGetEventsInRangeWithTopologyToken`
 - `TestOutputRoomEventsTable`
 - `TestTopologyTable`

* -p 1 for now
2022-04-08 17:53:24 +01:00
..
deltas Simplify send-to-device messaging (#1702) 2021-01-13 17:29:46 +00:00
account_data_table.go Fix ON CONFLICT on sync API account data (#1745) (#1750) 2021-02-04 11:45:49 +00: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 Fix SQL statement for PurgeRoomState (#2280) 2022-03-16 11:25:50 +01:00
filter_table.go Basic sync filtering (#1721) 2021-01-19 18:00:42 +00:00
filtering.go
ignores_table.go Add possibility to ignore users (#2329) 2022-04-07 15:08:19 +01:00
invites_table.go Various bug fixes and tweaks around invites and membership 2022-03-17 17:05:21 +00:00
memberships_table.go Include joined and invite member counts in room summary (#2315) 2022-04-01 16:14:38 +01:00
notification_data_table.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
output_room_events_table.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
output_room_events_topology_table.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
peeks_table.go Peeking via MSC2753 (#1370) 2020-09-10 14:39:18 +01:00
presence_table.go Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
receipt_table.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
send_to_device_table.go Simplify send-to-device messaging (#1702) 2021-01-13 17:29:46 +00:00
syncserver.go Add possibility to ignore users (#2329) 2022-04-07 15:08:19 +01:00