Kegan Dougal
d591dd0584
BREAKING(db): Add predecessor_room_id to the rooms table
...
This tracks the room ID supplied in the create event.
2022-09-08 15:44:48 +01:00
Kegan Dougal
fb1cd41637
BREAKING(db): replace is_tombstoned column with upgraded_room_id in rooms table
...
This is in preparation to allow us to walk over tombstones automatically
in the proxy. Currently, we just emulate `is_tombstoned` behaviour by
checking if `upgraded_room_id != NULL`.
This is a breaking database change as there is no migration path.
2022-09-07 17:34:49 +01:00
Kegan Dougal
c44f4b2c04
feature: add support for room_types and not_room_types filters
...
With integration tests.
2022-07-27 14:37:36 +01:00
Kegan Dougal
ebe9767f13
BREAKING[sql]: add type column to rooms table
2022-07-27 11:25:40 +01:00
Kegan Dougal
29c3557b3a
db: add latest_nid column to rooms table
...
Set it when updating the state snapshot. With tests.
2022-04-26 11:15:21 +01:00
Kegan Dougal
bbfaf10d10
Add room filter for is_tombstoned
2022-03-22 14:56:57 +00:00
Kegan Dougal
a3e836070d
Add is_encrypted column to rooms table
2021-11-04 13:31:48 +00:00
Kegan Dougal
45e9e432bc
Track the state before on each event rather than after
...
It's easier to roll forward than roll backwards. Add 'replaces_nid' field
on the events table which tells which nid in the snapshot gets replaced, if any.
2021-08-18 18:21:40 +01:00
Kegan Dougal
d2af339072
Initial cut paginated room member impl
2021-08-06 15:39:36 +01:00
Kegan Dougal
9fdf3901df
Hook up the notifier and test it
...
Test that v3 requests can time out, be notified when v2 returns a response,
can return immediately.
2021-07-23 16:40:32 +01:00
Kegan Dougal
cd20d07d9f
Add Accumulator.Initialise with tests
2021-05-27 19:20:36 +01:00