Commit graph

  • a55cff3ce1 Merge 5bdbf44045 into 450e0f1570 William 2017-02-17 15:20:27 +0000
  • 5bdbf44045 Update commands to match new location of project files. Gurgy 2017-02-17 16:11:57 +0100
  • 0feb8cbe46 Move project files to repository root Gurgy 2017-02-17 16:06:34 +0100
  • d8421bcddc Add basic routing based on matched paths Kegan Dougal 2017-02-16 17:32:20 +0000
  • 450e0f1570 Move the SQL into separate files for each table. (#7) Mark Haines 2017-02-15 14:43:19 +0000
  • 5c58de6e03 Move state block sql to a separate file Mark Haines 2017-02-15 13:51:46 +0000
  • 79cf5ca702 Move state snapshot sql to a separate file Mark Haines 2017-02-15 13:46:53 +0000
  • 7474dfbf46 Move event json sql to a separate file Mark Haines 2017-02-15 13:41:03 +0000
  • 8702fc1385 Move events sql to a separate file Mark Haines 2017-02-15 13:35:47 +0000
  • 00748e2098 Move room sql to a separate file Mark Haines 2017-02-15 13:32:16 +0000
  • 999bb82992 Move event state key sql to a separate file Mark Haines 2017-02-15 13:26:52 +0000
  • cb17fbfaa5 Move event types sql to a separate file Mark Haines 2017-02-15 13:12:34 +0000
  • 7f26b82433 Rename to partition_offset_table.go Mark Haines 2017-02-15 13:05:37 +0000
  • bb5a35edb3 Move partition offsets sql to a separate file Mark Haines 2017-02-15 11:50:39 +0000
  • 39264cbf4b Calculate and store the state at each event (#6) Mark Haines 2017-02-15 11:05:45 +0000
  • 4759f0103d More comments Mark Haines 2017-02-15 10:47:04 +0000
  • 29e0ff2651 Add some unit tests Mark Haines 2017-02-14 19:04:28 +0000
  • 2aec67d39e Move the event loading code into a separate function. Mark Haines 2017-02-14 18:40:44 +0000
  • 93b7a26e05 Add a README for the roomserver Mark Haines 2017-02-14 18:30:50 +0000
  • 1f3d2c6acd More comments Mark Haines 2017-02-14 17:24:23 +0000
  • 2a33b17ee1 Add IsStateEvent utility method for checking if EventStateKeyNID is 0 Mark Haines 2017-02-14 17:21:55 +0000
  • 8526277736 rename 'list' to be marginally more helpful Mark Haines 2017-02-14 17:17:04 +0000
  • 437f2980d5 s/state_data/state_block/ Mark Haines 2017-02-14 17:12:28 +0000
  • d2952f485b s/StateDataNID/StateBlockNID/ Mark Haines 2017-02-14 17:11:16 +0000
  • 548ba1fd1f Handle input.StateEventIDs inside processRoomEvent Mark Haines 2017-02-14 16:21:22 +0000
  • 632162f9e1 More comments on calculateAndStoreStateMany Mark Haines 2017-02-14 16:05:49 +0000
  • ee1b5eeffc Comments for the unique and duplicate detection algorithms Mark Haines 2017-02-14 14:22:40 +0000
  • bed16c0808 Rename duplicateStateKeys to findDuplicateStateKeys Mark Haines 2017-02-14 13:42:14 +0000
  • 7fc31eee66 spelling Mark Haines 2017-02-14 13:41:22 +0000
  • 67b261d32c Comment on the maxStateDataNIDs Mark Haines 2017-02-14 13:40:47 +0000
  • 8b71dd7125 Fix comments Mark Haines 2017-02-14 13:23:36 +0000
  • 96096bd5d2 We aren't sorting these lists anymore Mark Haines 2017-02-14 13:22:01 +0000
  • 2333384096 Comments on the sort order Mark Haines 2017-02-13 18:41:30 +0000
  • 0b68ed790d Fix 'this this' Mark Haines 2017-02-13 18:33:23 +0000
  • 854c98d45b Fix whitespace Mark Haines 2017-02-13 18:24:37 +0000
  • dd293ce1e9 Fix SQL Mark Haines 2017-02-13 18:23:48 +0000
  • 91b10ef956 Rename State to StateSnapshot Mark Haines 2017-02-13 18:22:02 +0000
  • 48e2edab0d Use type aliases for numeric IDs Mark Haines 2017-02-13 18:16:44 +0000
  • bab3ca5f5f Calculate and store the state at each event Mark Haines 2017-02-13 16:07:02 +0000
  • 832f604b94 Fix go version Mark Haines 2017-02-10 11:01:12 +0000
  • 309f2f0a5c Add .travis.yaml Mark Haines 2017-02-10 10:54:07 +0000
  • c72a44097f Move the auth checks to a separate file (#5) Mark Haines 2017-02-10 10:44:38 +0000
  • a3e1774987 Update README.md Matthew Hodgson 2017-02-09 23:50:18 +0000
  • 0464d114a3 Move the auth checks to a separate file Mark Haines 2017-02-09 17:17:24 +0000
  • fc4eb85379 Check that events pass authentication checks. (#4) Mark Haines 2017-02-09 16:48:14 +0000
  • ead2a80479 Comment on why the auth events are passed separately from the event Mark Haines 2017-02-09 16:38:45 +0000
  • 78606ed108 explain when it errors Mark Haines 2017-02-09 16:34:52 +0000
  • 43846a0d42 Fix comments Mark Haines 2017-02-09 16:33:25 +0000
  • 1ef475c0a3 Comments Mark Haines 2017-02-09 16:32:12 +0000
  • d59db7e238 s/IDID/ID/ Mark Haines 2017-02-09 16:27:42 +0000
  • 027b867374 include the length of the arrays in the error message Mark Haines 2017-02-09 15:32:03 +0000
  • 70645ea2c7 Move the missing state event check inside the SQL layer, comment on why the error message is unhelpful Mark Haines 2017-02-09 15:30:16 +0000
  • 00e6b86ba7 gofmt Mark Haines 2017-02-09 15:19:37 +0000
  • d29e50b54d rename the bulk selects to start with 'bulk' Mark Haines 2017-02-09 14:52:59 +0000
  • 01632989ac Explain that the arbitrary ordering is arbitrary Mark Haines 2017-02-09 14:39:12 +0000
  • 00ca811537 More tests Mark Haines 2017-02-09 14:36:58 +0000
  • a7ea88cfaa Add test for stateEntryMap Mark Haines 2017-02-09 14:09:48 +0000
  • bb217dc877 more comments Mark Haines 2017-02-09 13:57:27 +0000
  • 497322cc6a Remove IDPair! Mark Haines 2017-02-09 13:52:34 +0000
  • 7ef832a6f3 Be slightly clearer about which things are state keys and which things are tuples of event type and state key. Mark Haines 2017-02-09 13:51:54 +0000
  • dba1e59f5a authEventNIDs Mark Haines 2017-02-09 13:41:13 +0000
  • 97a87d7ecc make for loops consistent Mark Haines 2017-02-09 13:29:56 +0000
  • 4a8fba382c Review comments Mark Haines 2017-02-09 13:23:38 +0000
  • abceaed48f More comments Mark Haines 2017-02-08 16:37:44 +0000
  • 2720aba81f s/StateKey/StateKeyTuple Mark Haines 2017-02-08 16:31:42 +0000
  • dbd6ad2ad5 Fix eventMap Mark Haines 2017-02-08 15:52:07 +0000
  • d8e187d537 More comments Mark Haines 2017-02-08 15:50:53 +0000
  • c7112de7f2 Check that events pass authentication checks. Mark Haines 2017-02-08 14:36:25 +0000
  • 600f56b4b8 Store outlier room events. (#3) Mark Haines 2017-02-07 17:20:05 +0000
  • 5874ac5898 Fix whitespace and more comments Mark Haines 2017-02-07 17:17:56 +0000
  • 5b2e8db5b6 Consistent capitalisation Mark Haines 2017-02-07 14:47:42 +0000
  • e0df08f4f1 Rework the assign.*NID again Mark Haines 2017-02-07 14:36:09 +0000
  • 1d5b573a3f More comments Mark Haines 2017-02-07 14:13:25 +0000
  • 15e35062b9 More comments on the choice of JSON storage Mark Haines 2017-02-07 14:03:11 +0000
  • c7a2af97eb More comments Mark Haines 2017-02-07 13:42:27 +0000
  • 77e3ff58c2 Review comments Mark Haines 2017-02-07 13:39:52 +0000
  • edce400ef4 rewrite assign.*NID to avoid named returns Mark Haines 2017-02-07 11:59:00 +0000
  • 30034b38dd Fix assignStateKeyNID Mark Haines 2017-02-07 11:24:36 +0000
  • 68a212f5ef Fix typo and add TODO Mark Haines 2017-02-06 18:18:26 +0000
  • 9d0b3dc0ee Consume outlier room events Mark Haines 2017-02-06 18:03:27 +0000
  • 51b7b29c50 Add schema for events Mark Haines 2017-02-06 14:28:16 +0000
  • 96acbb755a Add room ID storage Mark Haines 2017-02-05 15:54:51 +0000
  • 5f5356a909 If not exists Mark Haines 2017-02-05 15:36:07 +0000
  • d5504eb29c Add state key storage Mark Haines 2017-02-05 15:25:24 +0000
  • 5defa2415c Go fmt Mark Haines 2017-02-05 15:13:40 +0000
  • afcb282225 Storage functions for event types Mark Haines 2017-02-05 15:07:18 +0000
  • a45a824f41 gb vendor fetch github.com/matrix-org/gomatrixserverlib/ Mark Haines 2017-02-06 14:56:16 +0000
  • 5b5c2091bf Merge pull request #2 from matrix-org/kegan/client-webserver Kegsay 2017-02-03 16:33:41 +0000
  • b04dfae9c5 Add comments Kegan Dougal 2017-02-03 16:32:55 +0000
  • 225cce9c77 Prefix /api as per standards Kegan Dougal 2017-02-03 16:28:11 +0000
  • c3d549f618 Merge branch 'master' into kegan/client-webserver Kegan Dougal 2017-02-03 16:12:28 +0000
  • f87f7676bb Update matrix-org/util Kegan Dougal 2017-02-03 16:12:18 +0000
  • aafaf6ede6 Add stub clientapi webserver with readers/writers packages Kegan Dougal 2017-02-03 16:05:46 +0000
  • 63d1bcd66a Add logrus, prometheus client and matrix-org/util Kegan Dougal 2017-02-03 15:41:25 +0000
  • 41c6a3737e A kafkaesque room event consumer for the roomserver. (#1) Mark Haines 2017-02-03 13:52:32 +0000
  • 2654a33b13 Fix comment! Mark Haines 2017-02-03 13:51:12 +0000
  • f2b4d051c1 State event IDs Mark Haines 2017-02-03 13:49:48 +0000
  • 72dc6de928 InvalidInput is unused, so remove it for now Mark Haines 2017-02-03 11:43:49 +0000
  • eda75719b7 Review comments Mark Haines 2017-02-03 11:41:30 +0000
  • 0c5bf46382 Add git hooks Mark Haines 2017-02-02 18:28:35 +0000