Room State Management
Deferring the atomicity changes and recording of room info to future pull requests.
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-10 20:18:08 +00:00
9ed2a81dd3
Record all users in room when joining.
Room State Management
Perhaps move this and TxableTree
into a common part of the database code. Maybe also convert it to a trait. The atomicity issues with Tree
instances also should be addressed. Use fetch_and_update
when it's a regular Tree, and the existing code if it's a TransactionalTree
(since the atomicity is controlled by the transaction).
Room State Management
As of this writing, there are two missing pieces of functionality before merging:
- Adding all users in the room to the database upon joining a room.
- Recording room-level information (ID,…
Room State Management
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-09 21:17:34 +00:00
0939feee84
Placeholder to record all user info when joining room
9349dd5f00
Add event processing check to received messages.
74d0b88e80
Add should process check to room member event
fb24090952
Keep seen events in database, don't process already-seen events.
bf151a0a40
maintain list of events in db. must convert allh handlers to use it.
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-08 22:28:36 +00:00
bf151a0a40
maintain list of events in db. must convert allh handlers to use it.
a77d066daf
Do not process old membership events.
d7aaed9e00
Implement room clearing, log to info for member updates.
b5c78bcee5
Remove userandroom struct from rooms db
51ba3e3f42
Record user join/leaves in rooms. Move event emitter to its own file.
Add exponential backoff invite retry
5ce79a3c05
Ignore emacs temp files.
a5dde18899
Update to the latest matrix SDK, and fix the Cargo.toml entry.
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-07 20:47:54 +00:00
60ab41cca0
Implement room clearing, log to info for member updates.
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-07 14:39:50 +00:00
6fb910d2af
Remove userandroom struct from rooms db
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-07 14:38:05 +00:00
5aeae10d6a
Record user join/leaves in rooms. Move event emitter to its own file.
projectmoon
pushed to room-state-management at projectmoon/tenebrous-dicebot
2020-11-06 21:53:04 +00:00
bd883ffe78
Half implemented room state management foundations.
0d63f7ebcb
Fix docker registry domain in drone.
d2a4d76ab2
Revert "Change repository name for docker image."