0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-18 18:23:54 +01:00
dendrite/syncapi/storage/sqlite3
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 syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +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 syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
filter_table.go Basic sync filtering (#1721) 2021-01-19 18:00:42 +00:00
filtering.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
ignores_table.go Add possibility to ignore users (#2329) 2022-04-07 15:08:19 +01:00
invites_table.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01: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 Better mapping of stream positions to topological positions in /messages (#2263) 2022-03-18 10:40:01 +00:00
peeks_table.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
presence_table.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
receipt_table.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
send_to_device_table.go Simplify send-to-device messaging (#1702) 2021-01-13 17:29:46 +00:00
stream_id_table.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00
syncserver.go syncapi: add more tests; fix more bugs (#2338) 2022-04-08 17:53:24 +01:00