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
account_data_table.go
backwards_extremities_table.go
current_room_state_table.go
filter_table.go
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
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
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
syncserver.go Add possibility to ignore users (#2329) 2022-04-07 15:08:19 +01:00