Commit graph

36 commits

Author SHA1 Message Date
Mark Haines 8526277736 rename 'list' to be marginally more helpful 2017-02-14 17:17:19 +00:00
Mark Haines 437f2980d5 s/state_data/state_block/ 2017-02-14 17:12:28 +00:00
Mark Haines d2952f485b s/StateDataNID/StateBlockNID/ 2017-02-14 17:11:16 +00:00
Mark Haines 548ba1fd1f Handle input.StateEventIDs inside processRoomEvent
Rather than inside calculateAndStoreState
2017-02-14 16:21:30 +00:00
Mark Haines 632162f9e1 More comments on calculateAndStoreStateMany 2017-02-14 16:05:49 +00:00
Mark Haines ee1b5eeffc Comments for the unique and duplicate detection algorithms 2017-02-14 14:22:40 +00:00
Mark Haines bed16c0808 Rename duplicateStateKeys to findDuplicateStateKeys 2017-02-14 13:42:14 +00:00
Mark Haines 7fc31eee66 spelling 2017-02-14 13:41:22 +00:00
Mark Haines 67b261d32c Comment on the maxStateDataNIDs 2017-02-14 13:40:47 +00:00
Mark Haines 8b71dd7125 Fix comments 2017-02-14 13:23:36 +00:00
Mark Haines 96096bd5d2 We aren't sorting these lists anymore 2017-02-14 13:22:01 +00:00
Mark Haines 2333384096 Comments on the sort order 2017-02-13 18:41:30 +00:00
Mark Haines 0b68ed790d Fix 'this this' 2017-02-13 18:33:23 +00:00
Mark Haines 854c98d45b Fix whitespace 2017-02-13 18:24:37 +00:00
Mark Haines dd293ce1e9 Fix SQL 2017-02-13 18:23:48 +00:00
Mark Haines 91b10ef956 Rename State to StateSnapshot 2017-02-13 18:22:02 +00:00
Mark Haines 48e2edab0d Use type aliases for numeric IDs 2017-02-13 18:16:44 +00:00
Mark Haines bab3ca5f5f Calculate and store the state at each event 2017-02-13 16:08:19 +00:00
Mark Haines 832f604b94 Fix go version 2017-02-10 11:01:12 +00:00
Mark Haines 309f2f0a5c Add .travis.yaml 2017-02-10 10:54:07 +00:00
Mark Haines c72a44097f Move the auth checks to a separate file (#5) 2017-02-10 10:44:38 +00:00
Matthew Hodgson a3e1774987 Update README.md 2017-02-09 23:50:18 +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
Mark Haines a45a824f41 gb vendor fetch github.com/matrix-org/gomatrixserverlib/ 2017-02-06 14:56:16 +00:00
Kegsay 5b5c2091bf Merge pull request #2 from matrix-org/kegan/client-webserver
Add stub clientapi webserver with readers/writers packages
2017-02-03 16:33:41 +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 c3d549f618 Merge branch 'master' into kegan/client-webserver 2017-02-03 16:12:28 +00:00
Kegan Dougal f87f7676bb Update matrix-org/util 2017-02-03 16:12:18 +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
Kegan Dougal 63d1bcd66a Add logrus, prometheus client and matrix-org/util 2017-02-03 15:41:25 +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
Mark Haines a78e0cba8e Add kafka and postgres clients to vendor directory 2017-02-02 18:26:18 +00:00
Matthew Hodgson 2f965c6b33 typo 2017-01-30 23:11:20 +00:00
Mark Haines 855f8628e1 Add README 2017-01-20 18:25:51 +00:00