Commit graph

  • c6493c9144 Add method for calculating the room state after a list of events Mark Haines 2017-03-06 11:49:30 +0000
  • 9a8a8aedcb Add a query API to the roomserver for getting the latest events in a room. (#23) Mark Haines 2017-03-06 14:29:39 +0000
  • cce5af46ba Warn people against requesting empty state keys by accident Mark Haines 2017-03-06 14:26:32 +0000
  • 839c993725 Add utility function for converting arrays of numeric event IDs to pq Int64Arrays Mark Haines 2017-03-06 12:11:28 +0000
  • 400dff34d0 Review comments Mark Haines 2017-03-06 12:03:13 +0000
  • d39ce86712 lowercase R Mark Haines 2017-03-06 11:56:50 +0000
  • d20b466b58 Clarify that state events are the things that are not returned if they are not requested Mark Haines 2017-03-06 11:55:15 +0000
  • 2e6211139c Spelling Mark Haines 2017-03-06 11:52:44 +0000
  • 98668bd592 Increase the timeout, travis seems to be a bit slow Mark Haines 2017-03-03 17:08:30 +0000
  • a00242dde0 Add some comments to testRoomserver Mark Haines 2017-03-03 16:58:19 +0000
  • 505055a9ca Implement the query API and add it to the integration tests Mark Haines 2017-03-03 16:47:46 +0000
  • 0448ffc891 Use a conventional JSON POST API rather than go net/rpc Mark Haines 2017-03-03 15:04:28 +0000
  • e5d25d81ae Start implementing a query API for go using net/rpc Mark Haines 2017-03-02 19:14:34 +0000
  • a790371cc6 Merge 3d575aca37 into 37e0b6c4c6 Kegsay 2017-03-02 13:00:42 +0000
  • 37e0b6c4c6 Add integration tests for roomserver to travis (#21) Mark Haines 2017-03-01 14:55:27 +0000
  • 8448117b01 Review comments Mark Haines 2017-03-01 14:16:29 +0000
  • 6d32068d88 More comments Mark Haines 2017-03-01 11:46:42 +0000
  • a4760060b2 Add comment as to why we are using trusty Mark Haines 2017-03-01 11:27:08 +0000
  • 38fc2ab33f Comments Mark Haines 2017-03-01 11:24:52 +0000
  • 84adc7f2b9 Pretty print the test input JSON Mark Haines 2017-03-01 11:04:11 +0000
  • 3698c4e7ca Try setting the dist trusty to see if that helps with postgres Mark Haines 2017-03-01 10:34:31 +0000
  • 276cc8cad6 Update README.md (#22) Tyler Gillies 2017-03-01 01:39:05 -0800
  • b123fea593 Update README.md Tyler Gillies 2017-03-01 00:53:54 -0800
  • da48dfac51 Add integration tests for roomserver to travis Mark Haines 2017-02-28 18:56:13 +0000
  • 237b912cf5 Write to an output kafka log for new room events in the roomserver. (#20) Mark Haines 2017-02-27 11:25:35 +0000
  • cb5fab0f37 comment that an event could be sent twice Mark Haines 2017-02-27 10:33:27 +0000
  • 37502a76f4 Grammar? Mark Haines 2017-02-27 10:17:16 +0000
  • fa93a106cb Spaces! Mark Haines 2017-02-27 10:13:24 +0000
  • 7e5db19a7d name the return values for GetLatestEventsForUpdate and comment Mark Haines 2017-02-27 10:08:36 +0000
  • 5c0d3a2819 Leave TODOs for the state and visibility fields Mark Haines 2017-02-27 09:36:54 +0000
  • ea7fd6c845 Comment on why event sending is synchronous Mark Haines 2017-02-27 09:35:20 +0000
  • 735d477ad2 comments Mark Haines 2017-02-24 16:47:28 +0000
  • 0eceb3bcd7 Write output events Mark Haines 2017-02-24 16:46:04 +0000
  • 3d575aca37 Add user_ips, users, access_tokens tables Kegan Dougal 2017-02-24 16:24:21 +0000
  • 4137b6185d three-value returns Kegan Dougal 2017-02-24 15:14:47 +0000
  • e0c6f9b50e Merge branch 'master' into kegan/http-auth Kegan Dougal 2017-02-24 14:57:39 +0000
  • 0f614ed270 Merge branch 'kegan/jsonresponse' into kegan/http-auth Kegan Dougal 2017-02-24 14:55:59 +0000
  • 45d1e61a9d Update to use util.JSONResponse (#18) Kegsay 2017-02-24 12:32:27 +0000
  • c5aef24d02 Track which events have been sent and the last event sent for each room Mark Haines 2017-02-24 11:24:44 +0000
  • 31c57a8579 Update to use util.JSONResponse Kegan Dougal 2017-02-24 10:41:28 +0000
  • cd572a4c85 Merge branch 'master' into kegan/http-auth Kegan Dougal 2017-02-24 09:31:56 +0000
  • a9b296c522 Get the SQL working, and make it more idempotent (#17) Mark Haines 2017-02-22 16:51:10 +0000
  • cb65381e59 More comment Mark Haines 2017-02-22 16:46:05 +0000
  • c96d3eec0c Marshal and Unmarshal methods for roomserver input api (#16) Mark Haines 2017-02-22 16:05:18 +0000
  • bed4689e82 s/m.room.create/the first event/ Mark Haines 2017-02-22 15:46:51 +0000
  • 32af06fff8 More comments Mark Haines 2017-02-22 15:45:42 +0000
  • 8a6491e2d6 More comments Mark Haines 2017-02-22 15:41:51 +0000
  • e0cd3d6e48 Fix comment Mark Haines 2017-02-22 15:25:32 +0000
  • ae9a226b41 fix comment Mark Haines 2017-02-22 15:23:51 +0000
  • e7f859978a Comments for why we don't json.marshal the InputRoomEvent directly Mark Haines 2017-02-22 15:21:14 +0000
  • c2f9aa7477 Get the SQL working, and make it more idempotent Mark Haines 2017-02-22 15:07:55 +0000
  • 1082b2adf3 Marshal and Unmarshal methods for roomserver input api Mark Haines 2017-02-22 14:28:08 +0000
  • 094345830e gb vendor fetch github.com/gorilla/context Mark Haines 2017-02-22 13:01:05 +0000
  • 17cc782aff 'verify' the access token Kegan Dougal 2017-02-22 11:01:21 +0000
  • 3cd0a94963 Merge branch 'master' into kegan/http-auth Kegan Dougal 2017-02-21 17:18:14 +0000
  • 9e6127d12a Update util dep Kegan Dougal 2017-02-21 17:17:56 +0000
  • 62a9375f56 Return the correct error Kegan Dougal 2017-02-21 16:32:53 +0000
  • 51f9741b34 Track which events are the latest events in the room. (#14) Mark Haines 2017-02-21 14:50:30 +0000
  • e8793ed5c6 more comment Mark Haines 2017-02-21 14:44:40 +0000
  • 9079f961f7 Move the guts of updateLatestEvents to a separate function to keep the commit and rollback code clearer Mark Haines 2017-02-21 14:37:10 +0000
  • 8a9dbad5a8 Add a TODO for logging errors on rollback Mark Haines 2017-02-21 14:13:17 +0000
  • c1e897cca2 Add some ascii art for latest events Mark Haines 2017-02-21 14:06:20 +0000
  • fe2c0be29c More comments on the latest events Mark Haines 2017-02-21 13:56:25 +0000
  • fde423e5da More whitespace Mark Haines 2017-02-21 13:52:43 +0000
  • bab6ee4a9f Fix some whitespace Mark Haines 2017-02-21 13:51:37 +0000
  • f70d0d4819 Explain the semantics of SetLatestEvents a bit? Mark Haines 2017-02-21 13:50:26 +0000
  • 2cce7c9f66 Comments Mark Haines 2017-02-21 13:46:06 +0000
  • b7f1de0279 Explain what a StateAtEventAndReference is for Mark Haines 2017-02-21 13:45:34 +0000
  • e69bc7330c Grammar? Mark Haines 2017-02-21 13:40:43 +0000
  • 31faf966bb Fix SQL Mark Haines 2017-02-21 13:39:13 +0000
  • e7b7ed3316 Fix comments? Mark Haines 2017-02-21 13:34:35 +0000
  • b8f2999c04 Fix SQL Mark Haines 2017-02-21 13:30:10 +0000
  • 75454c59ea Rename Close to Commit and Rollback Mark Haines 2017-02-21 13:22:18 +0000
  • d4563ef6d3 Comment on err being a named return Mark Haines 2017-02-21 13:17:12 +0000
  • a935ef623d We need to use a named return if we want to clobber in a defer Mark Haines 2017-02-21 13:15:15 +0000
  • c422a1fdc1 Spelling Mark Haines 2017-02-21 12:58:57 +0000
  • bb38ef4433 Comment on what the RoomRecentEventsUpdater is doing Mark Haines 2017-02-21 12:40:06 +0000
  • 0f4787efeb More comments Mark Haines 2017-02-21 11:57:46 +0000
  • e7555944aa Track which events are the latest events in the room. Mark Haines 2017-02-17 18:38:23 +0000
  • c9c602129d Merge branch 'master' into kegan/http-auth Kegan Dougal 2017-02-20 17:36:58 +0000
  • 966d3b95b7 Add error package and some Matrix errors (#13) Kegsay 2017-02-20 17:20:49 +0000
  • 434e525ff3 Remove coveralls. It doesn't work with gb Kegan Dougal 2017-02-20 17:19:27 +0000
  • d32397fbc8 Add coverage badge Kegsay 2017-02-20 17:14:56 +0000
  • b8cee07d0b Add coveralls.io? Kegan Dougal 2017-02-20 17:13:59 +0000
  • c56a9e7003 Rename 'error' to 'jsonerror' to emphasise that these are JSON errors Kegan Dougal 2017-02-20 17:06:59 +0000
  • c165aff29d Add build badge Kegsay 2017-02-20 16:57:55 +0000
  • a5c562efd3 Add error package and some Matrix errors Kegan Dougal 2017-02-20 16:44:58 +0000
  • f2a6633a62 Add auth package Kegan Dougal 2017-02-20 16:18:09 +0000
  • 5c34caa1c1 Implement logging to file via dugong (#12) Kegsay 2017-02-20 16:14:23 +0000
  • 7703db94de Implement logging to file via dugong Kegan Dougal 2017-02-20 15:50:27 +0000
  • 0bd3af8115 Add dugong to support writing to disk/rotations Kegan Dougal 2017-02-20 15:46:30 +0000
  • f1bb59d24a Use gorilla/mux to route HTTP requests (#11) Kegsay 2017-02-20 15:41:29 +0000
  • 477b6c1b0d All up in your lines Kegan Dougal 2017-02-20 15:38:31 +0000
  • e715a440d7 Just call straight through Kegan Dougal 2017-02-20 15:30:05 +0000
  • e96b5103a1 Put path var parsing along with path pattern Kegan Dougal 2017-02-20 11:58:56 +0000
  • ab8415ca31 Pull out eventType Kegan Dougal 2017-02-20 10:33:59 +0000
  • 7c601c1a26 Use const Kegan Dougal 2017-02-17 17:34:17 +0000
  • 79e5c8a07b Use gorilla/mux to route HTTP requests. Make /sync and /send use the right API paths Kegan Dougal 2017-02-17 17:31:00 +0000
  • 2410ed6860 Merge branch 'master' into kegan/http-routing Kegan Dougal 2017-02-17 16:59:26 +0000
  • 154110b7c2 Add gorilla/mux Kegan Dougal 2017-02-17 16:59:14 +0000