Commit graph

  • 0ca2931b62 mediaapi/fileutils: Change path schema to put file in subdir of hash Robert Swain 2017-05-31 07:06:42 +02:00
  • 8c6f30eadc mediaapi/config: Remove obsolete proxying comment and add default comment Robert Swain 2017-05-31 07:05:07 +02:00
  • 50aacd4f3c Hook up registration/login APIs and implement access token generation (#122) Kegsay 2017-05-30 17:51:40 +01:00
  • 65b66a6452 Add API for querying the state after a list of events (#123) Mark Haines 2017-05-30 17:44:31 +01:00
  • 6fc6499848 mediaapi/fileutils: Remove obsolete error variables Robert Swain 2017-05-26 17:50:16 +02:00
  • 4f2d9a3b69 mediaapi/storage: Simplify descriptions Robert Swain 2017-05-26 17:44:43 +02:00
  • 9678cb6ea1 mediaapi/writers/upload: Simplify storeFileAndMetadata description Robert Swain 2017-05-26 17:42:08 +02:00
  • 9ecf620ad9 mediaapi/writers/upload: Factor out doUpload from Upload Robert Swain 2017-05-26 17:34:58 +02:00
  • d83359dd51 mediaapi: Remove unnecessary ContentDisposition Robert Swain 2017-05-26 17:24:13 +02:00
  • 731c10a418 mediaapi/fileutils: Clean up Robert Swain 2017-05-26 17:15:54 +02:00
  • 05e88d81cb mediaapi: Add database storage and upload handler Robert Swain 2017-05-26 16:49:54 +02:00
  • e21cd5ae66 Merge pull request #120 from matrix-org/rob/media-skeleton Robert Swain 2017-05-26 15:57:13 +02:00
  • 86596488e9 mediaapi/writers/upload: Correct Content-Disposition evaluation Robert Swain 2017-05-26 15:26:50 +02:00
  • 98ef88b668 mediaapi/writers/download: Clarify validation applied to Origin Robert Swain 2017-05-26 14:59:45 +02:00
  • 4dfbae81cd mediaapi/writers/download: Allow only media IDs matching [A-Za-z0-9_=-]+ Robert Swain 2017-05-26 14:42:51 +02:00
  • a96b124158 Move calculate state to the state package (#121) Mark Haines 2017-05-26 13:51:54 +01:00
  • 0affdae889 mediaapi/types: Rename member to ActiveRemoteRequests.MXCToCond Robert Swain 2017-05-26 14:17:54 +02:00
  • e8d3b4648b mediaapi/routing: Use common.MakeAPI Robert Swain 2017-05-26 13:37:07 +02:00
  • 2fa0ae29d7 mediaapi/writers: Minor improvements to comments Robert Swain 2017-05-26 10:03:16 +02:00
  • a3aaa86ea3 mediaapi: Add initial skeleton Robert Swain 2017-05-26 09:57:09 +02:00
  • db23640f69 cmd: Add create test accounts command (#119) Kegsay 2017-05-25 17:41:45 +01:00
  • 84ad4ff9f6 Start implementing /join for room aliases for rooms the server is not in. (#115) Mark Haines 2017-05-25 16:08:28 +01:00
  • 445dce14ae Add in devices_table to store device information (#118) Kegsay 2017-05-25 13:33:50 +01:00
  • e6835660b0 Update gomatrixserverlib Mark Haines 2017-05-24 15:05:42 +01:00
  • 3b9222e8f7 Glue together devices and auth with the current HTTP code (#117) Kegsay 2017-05-23 17:43:05 +01:00
  • 309300a744 Call 'go build' from the pre-commit hook to check that everything builds (#116) Mark Haines 2017-05-23 09:12:59 +01:00
  • a7acfa5546 Fix build after #114 Mark Haines 2017-05-22 19:28:26 +01:00
  • e756b3b0eb Update gomatrixserverlib Mark Haines 2017-05-22 18:11:02 +01:00
  • d63a1ddc7c Rename packages under /auth (#114) Kegsay 2017-05-22 16:49:32 +01:00
  • 0325459e7f Implement dummy registration and hook it up to AccountDatabase (#113) Kegsay 2017-05-22 15:55:39 +01:00
  • 6605333f6f Start implementing the federation server keys API. (#112) Mark Haines 2017-05-19 16:06:41 +01:00
  • aa179d451c Update version of gomatrixserverlib (#111) Mark Haines 2017-05-19 10:46:17 +01:00
  • 9d4d18ae7f Add AccountDatabase for storing user accounts (#110) Kegsay 2017-05-19 10:27:03 +01:00
  • 426a0365cf Rename "make" to "makeAPI" and factor out some more common code into it (#109) Mark Haines 2017-05-18 13:47:23 +01:00
  • cf736d746d hook: Make go vet run all tests and fix warnings Kegan Dougal 2017-05-18 12:27:11 +01:00
  • e4a97d13b3 Merge pull request #108 from matrix-org/rob/golang-1.8 Robert Swain 2017-05-18 12:47:08 +02:00
  • 4df470eab5 .travis.yml: Bump golang to 1.8 Robert Swain 2017-05-18 12:38:09 +02:00
  • 917c433fd2 Minor refactoring (#106) Kegsay 2017-05-17 17:29:26 +01:00
  • c8c5a40ebd Update README.md Kegsay 2017-05-17 16:37:58 +01:00
  • 0457a3bb69 State of the union update Kegsay 2017-05-17 16:36:17 +01:00
  • ccd0eb2851 /sync bugfix: Check transitions to 'leave' do not leak events afterwards (#105) Kegsay 2017-05-17 16:21:27 +01:00
  • d5a44fd3e8 Only wake up /sync requests which the event is for (#101) Kegsay 2017-05-17 15:38:24 +01:00
  • 0a3d44a80a Handle room transitions to 'leave' in incremental /sync requests (#104) Kegsay 2017-05-17 10:25:59 +01:00
  • 675759c192 Add invites to /sync responses (#103) Kegsay 2017-05-15 17:41:54 +01:00
  • 94e1c62745 Remove intermediary /sync response struct (#102) Kegsay 2017-05-15 15:18:08 +01:00
  • cc7117392f Send the entire room state down when transitioning to 'join' on a /sync response (#100) Kegsay 2017-05-12 16:56:17 +01:00
  • 2a9abefd92 Add more syncserver tests (#99) Kegsay 2017-05-11 15:51:35 +01:00
  • a506985a66 Allow multiple sync server test requests (#98) Kegsay 2017-05-10 17:48:35 +01:00
  • cdd2617f8e Merge pull request #97 from matrix-org/rob/util-logging-context-fix Robert Swain 2017-05-10 15:56:49 +02:00
  • 042d636e34 Update github.com/matrix-org/util for request context fix for logging Robert Swain 2017-05-10 15:43:58 +02:00
  • 04f3c154b8 Split out notifying /sync requests and calculating sync responses (#96) Kegsay 2017-05-10 10:42:00 +01:00
  • e226d564ec Fix a race with sync server integration tests (#95) Kegsay 2017-05-09 15:58:31 +01:00
  • 42564e8ed6 Factor out creating/deleting/writing to kafka topics (#94) Kegsay 2017-05-09 09:05:05 +01:00
  • 801b9246ce Add basic sync server integration test (#91) Kegsay 2017-05-05 17:59:45 +01:00
  • a56f609b74 Update gomatrixserverlib (#90) Mark Haines 2017-05-05 17:43:42 +01:00
  • 0309035aad Update gomatrixserverlib (#89) Mark Haines 2017-05-05 16:19:48 +01:00
  • a1ce351d36 Merge pull request #75 from matrix-org/rob/common-logging Robert Swain 2017-04-21 17:48:17 +02:00
  • 9b7defd375 common/log: Always log to stderr Robert Swain 2017-04-21 02:10:54 +02:00
  • 27beb8a2b3 common/log: Re-colorize terminal log output Robert Swain 2017-04-21 02:06:06 +02:00
  • 9b7bf8cba8 common/log: Add license header Robert Swain 2017-04-21 01:45:18 +02:00
  • b33ed93dd6 Merge branch 'master' into rob/common-logging Robert Swain 2017-04-21 01:43:36 +02:00
  • 0391a790a6 Merge pull request #80 from matrix-org/rob/license-headers Matthew Hodgson 2017-04-20 23:54:27 +01:00
  • d09a65abbe Add Apache Version 2.0 license and headers to all golang files Robert Swain 2017-04-21 00:40:52 +02:00
  • d03126c546 Merge pull request #79 from matrix-org/rob/consistent-naming Robert Swain 2017-04-21 00:20:27 +02:00
  • 19c9a0c7a5 travis-test.sh: Fix import path of room server Robert Swain 2017-04-20 18:47:33 +02:00
  • e281fc4530 syncserver: Rename to syncapi Robert Swain 2017-04-20 18:22:44 +02:00
  • d8b98cec44 client-api-proxy: roomserver-integration-tests: Fix renamed references Robert Swain 2017-04-20 18:12:44 +02:00
  • 0939ae3686 Rename dendrite-syncserver to dendrite-sync-api-server Robert Swain 2017-04-20 18:05:45 +02:00
  • 209ba3f6a3 Rename dendrite-roomserver to dendrite-room-server Robert Swain 2017-04-20 17:58:34 +02:00
  • 2278848922 Rename dendrite-clientapi to dendrite-client-api-server Robert Swain 2017-04-20 17:57:21 +02:00
  • 2a264db85e Don't tightloop if currentPos is 0 Kegan Dougal 2017-04-20 18:01:45 +01:00
  • cb5081b332 Yank out clientapi config options to env vars for now (#77) Kegsay 2017-04-20 17:15:34 +01:00
  • 2fadb9e409 Make it possible to point Riot at Dendrite (#74) Kegsay 2017-04-20 17:11:53 +01:00
  • 43d1e94e75 Rename dendrite-sync-server to dendrite-syncserver for consistency (#76) Mark Haines 2017-04-20 16:54:22 +01:00
  • be47984c43 common/log: Always output timestamps as UTC Robert Swain 2017-04-20 17:15:30 +02:00
  • f65e26bc2a cmd: Configure logging before any log messages Robert Swain 2017-04-20 16:26:34 +02:00
  • 254e61f727 common/log: Switch to RFC3339 format with nanoseconds and trailing zeros Robert Swain 2017-04-20 16:19:17 +02:00
  • e8d2d61cc2 cmd: common/log: Always configure logging Robert Swain 2017-04-20 16:17:43 +02:00
  • 8010083026 dendrite/common: Move logrus configuration to common Robert Swain 2017-04-20 14:40:56 +02:00
  • db428174d2 tool: Add client-api-proxy (#73) Kegsay 2017-04-20 14:00:34 +01:00
  • fad7e9541b /sync: Handle missing state events and return events in the correct order (#72) Kegsay 2017-04-20 11:18:26 +01:00
  • 92a0325266 Implement incremental sync (#71) Kegsay 2017-04-19 16:04:01 +01:00
  • f18d935134 Factor out syncRequest parsing to its own file (#70) Kegsay 2017-04-18 10:32:32 +01:00
  • 53ec4a255b Calculate the complete /sync response (#69) Kegsay 2017-04-13 16:56:46 +01:00
  • 203e706b99 Move syncserver to its own directory (#66) Kegsay 2017-04-12 16:06:26 +01:00
  • da0fffcc19 Add /sync API response structs (#58) Kegsay 2017-04-11 11:52:26 +01:00
  • 9a266762b4 Return events based on 'since' value (#57) Kegsay 2017-04-10 15:12:18 +01:00
  • de9e3e5417 Add structs for HTTP long-polling (#56) Kegsay 2017-04-07 14:32:42 +01:00
  • c1c837516a Store current room state (#55) Kegsay 2017-04-05 10:30:13 +01:00
  • a3c66f7fa0 Write OutputRoomEvents into the database and remember the arrival order (#54) Kegsay 2017-03-30 15:29:23 +01:00
  • 2d2c7e7169 sync-server config: Read from a YAML file rather than hard-coded variables (#53) Kegsay 2017-03-29 14:09:27 +01:00
  • a423008987 Read roomserver output log and remember position across restarts (#52) Kegsay 2017-03-29 14:05:43 +01:00
  • 7ab0436689 Add yaml dependency Kegan Dougal 2017-03-27 13:05:46 +01:00
  • a974b90ee9 Factor out Consumer from the roomserver (#50) Kegsay 2017-03-27 10:00:28 +01:00
  • e3f3eb8f3d Add metrics for the various ways of calculating room state (#49) Mark Haines 2017-03-23 14:14:25 +00:00
  • e347aa05fe Make a dendrite-sync-server binary (#48) Kegsay 2017-03-22 17:39:08 +00:00
  • d6a03039dc Prefix 'dendrite-' onto dendrite binaries (#47) Kegsay 2017-03-21 17:43:13 +00:00
  • 83b9cfeb2b Move binaries to /cmd (#46) Kegsay 2017-03-21 17:14:17 +00:00
  • a82ccf5b31 Add notes on what message sending will look like in dendrite (#45) Mark Haines 2017-03-20 16:46:07 +00:00
  • 346f5d6334 Use gomatrixserverlib.StateKeyTuple and helper functions for auth (#44) Kegsay 2017-03-17 16:28:15 +00:00