Mark Haines
bab6ee4a9f
Fix some whitespace
2017-02-21 13:51:37 +00:00
Mark Haines
f70d0d4819
Explain the semantics of SetLatestEvents a bit?
2017-02-21 13:50:26 +00:00
Mark Haines
2cce7c9f66
Comments
2017-02-21 13:46:06 +00:00
Mark Haines
b7f1de0279
Explain what a StateAtEventAndReference is for
2017-02-21 13:45:34 +00:00
Mark Haines
e69bc7330c
Grammar?
2017-02-21 13:40:43 +00:00
Mark Haines
31faf966bb
Fix SQL
2017-02-21 13:39:13 +00:00
Mark Haines
e7b7ed3316
Fix comments?
2017-02-21 13:34:35 +00:00
Mark Haines
b8f2999c04
Fix SQL
2017-02-21 13:30:10 +00:00
Mark Haines
75454c59ea
Rename Close to Commit and Rollback
2017-02-21 13:22:18 +00:00
Mark Haines
d4563ef6d3
Comment on err being a named return
2017-02-21 13:17:12 +00:00
Mark Haines
a935ef623d
We need to use a named return if we want to clobber in a defer
2017-02-21 13:15:15 +00:00
Mark Haines
c422a1fdc1
Spelling
2017-02-21 12:58:57 +00:00
Mark Haines
bb38ef4433
Comment on what the RoomRecentEventsUpdater is doing
2017-02-21 12:40:06 +00:00
Mark Haines
0f4787efeb
More comments
2017-02-21 11:57:46 +00:00
Mark Haines
e7555944aa
Track which events are the latest events in the room.
2017-02-21 10:19:29 +00:00
Mark Haines
450e0f1570
Move the SQL into separate files for each table. ( #7 )
...
* Move partition offsets sql to a separate file
* Move event types sql to a separate file
* Move event state key sql to a separate file
* Move room sql to a separate file
* Move events sql to a separate file
* Move event json sql to a separate file
* Move state snapshot sql to a separate file
* Move state block sql to a separate file
2017-02-15 14:43:19 +00:00
Mark Haines
39264cbf4b
Calculate and store the state at each event ( #6 )
...
* Calculate and store the state at each event
* Use type aliases for numeric IDs
2017-02-15 11:05:45 +00:00
Mark Haines
c72a44097f
Move the auth checks to a separate file ( #5 )
2017-02-10 10:44:38 +00:00
Mark Haines
fc4eb85379
Check that events pass authentication checks. ( #4 )
...
* Check that events pass authentication checks.
Record the list of events that the event passes authentication checks
against.
2017-02-09 16:48:14 +00:00
Mark Haines
600f56b4b8
Store outlier room events. ( #3 )
...
* Storage functions for event types
* Consume outlier room events
2017-02-07 17:20:05 +00:00
Kegan Dougal
b04dfae9c5
Add comments
2017-02-03 16:32:55 +00:00
Kegan Dougal
225cce9c77
Prefix /api as per standards
2017-02-03 16:28:11 +00:00
Kegan Dougal
aafaf6ede6
Add stub clientapi webserver with readers/writers packages
...
As per RL discussion with Mjark
2017-02-03 16:05:46 +00:00
Mark Haines
41c6a3737e
A kafkaesque room event consumer for the roomserver. ( #1 )
...
* A kafkaesque room event consumer for the roomserver.
Implement the main input loop for the roomserver.
It will receive events from a kafkaesque event source and track
where it is in the stream.
It currently does nothing with the events it consumes.
2017-02-03 13:52:32 +00:00