Commit graph

  • a96b124158 Move calculate state to the state package (#121) Mark Haines 2017-05-26 13:51:54 +0100
  • 0affdae889 mediaapi/types: Rename member to ActiveRemoteRequests.MXCToCond Robert Swain 2017-05-26 14:17:54 +0200
  • e8d3b4648b mediaapi/routing: Use common.MakeAPI Robert Swain 2017-05-26 13:37:07 +0200
  • e702a518ba Move calculate state to the state package Mark Haines 2017-05-26 12:05:21 +0100
  • 2fa0ae29d7 mediaapi/writers: Minor improvements to comments Robert Swain 2017-05-26 10:03:16 +0200
  • a3aaa86ea3 mediaapi: Add initial skeleton Robert Swain 2017-05-26 09:57:09 +0200
  • 1d3d9689df Merge cd7e04ec0d into db23640f69 Robert Swain 2017-05-26 07:32:09 +0000
  • 6ee0fe0f65 Add API for querying the state after a list of events Mark Haines 2017-05-25 19:38:39 +0100
  • db23640f69 cmd: Add create test accounts command (#119) Kegsay 2017-05-25 17:41:45 +0100
  • c94e4740ba Make it the caller's responsibility to give an access_token Kegan Dougal 2017-05-25 17:30:17 +0100
  • d748a2f5ce Build the create-account binary on Travis Kegan Dougal 2017-05-25 16:58:12 +0100
  • 76b6f0246e Create test accounts Kegan Dougal 2017-05-25 16:47:31 +0100
  • 84ad4ff9f6 Start implementing /join for room aliases for rooms the server is not in. (#115) Mark Haines 2017-05-25 16:08:28 +0100
  • be9adca916 Rename err to lastErr for the loop Mark Haines 2017-05-25 15:46:35 +0100
  • d4ff1cde68 Return pointers Mark Haines 2017-05-25 15:31:42 +0100
  • 7e6a47663c Neaten the control flow even more Mark Haines 2017-05-25 14:48:44 +0100
  • 0c8d3c55af Neaten the control flow Mark Haines 2017-05-25 14:40:56 +0100
  • 445dce14ae Add in devices_table to store device information (#118) Kegsay 2017-05-25 13:33:50 +0100
  • 3d61e0ba13 Avoid 'preceeded' Mark Haines 2017-05-25 12:28:35 +0100
  • c7c97af3da Comment on why we ignore the key ID argument for local keys Mark Haines 2017-05-25 12:27:06 +0100
  • 8ea34f7fc6 Add TODO for moving authEventIDs to gomatrixserverlib Mark Haines 2017-05-25 12:23:52 +0100
  • efb009877c Fix tab Mark Haines 2017-05-25 12:21:23 +0100
  • 2928454e6c Fix typos Mark Haines 2017-05-25 12:19:35 +0100
  • d805eeed82 Comment on the error handling Mark Haines 2017-05-25 12:18:42 +0100
  • 9cd7be1aa3 Write the join event along with current state to the room server Mark Haines 2017-05-25 12:04:33 +0100
  • f71287edd9 Compare correctly Kegan Dougal 2017-05-25 11:55:10 +0100
  • 9f85ad0d0a s/id/device_id/ Kegan Dougal 2017-05-25 11:23:48 +0100
  • 8c0465975c Forbidden not Unknown Kegan Dougal 2017-05-24 16:48:50 +0100
  • 4e0c1924a6 Self-review Kegan Dougal 2017-05-24 16:47:23 +0100
  • b29725ab13 Re-add the ID field Kegan Dougal 2017-05-24 16:41:41 +0100
  • 12b0398f2b Don't check the database for tokens for now Kegan Dougal 2017-05-24 16:39:10 +0100
  • dcb0d995ce Add device ID and revoke old tokens Kegan Dougal 2017-05-24 16:30:06 +0100
  • 1e8f174837 Add in devices_table to store device information Kegan Dougal 2017-05-24 15:38:05 +0100
  • f4d8dde480 Return a 200 OK response Mark Haines 2017-05-22 19:58:33 +0100
  • 9858f4403d Fix the client API proxy to handle '#' correctly Mark Haines 2017-05-22 19:04:18 +0100
  • 7f852e3786 Make the TLS fingerprint configurable Mark Haines 2017-05-22 18:54:58 +0100
  • a9a7472974 Hacks to get join room working Mark Haines 2017-05-22 18:14:06 +0100
  • e9bf826255 Start implementing the join room API Mark Haines 2017-05-18 20:24:01 +0100
  • e6835660b0 Update gomatrixserverlib Mark Haines 2017-05-24 15:05:42 +0100
  • 3b9222e8f7 Glue together devices and auth with the current HTTP code (#117) Kegsay 2017-05-23 17:43:05 +0100
  • 6b84f5d673 Explain TODO more Kegan Dougal 2017-05-23 16:43:24 +0100
  • c1ca544301 Glue together devices and auth with the current HTTP code Kegan Dougal 2017-05-23 16:16:10 +0100
  • 9d5eb03a67 Merge branch 'master' into kegan/device-db-glue Kegan Dougal 2017-05-23 09:17:36 +0100
  • 309300a744 Call 'go build' from the pre-commit hook to check that everything builds (#116) Mark Haines 2017-05-23 09:12:59 +0100
  • cd7e04ec0d mediaapi/writers/download: Move comment next to code to which it refers Robert Swain 2017-05-22 21:06:14 +0200
  • f88c537f43 mediaapi/writers/download: Separate 404 and 500 due to db query failure Robert Swain 2017-05-22 21:03:57 +0200
  • 3d8aec28b1 mediaapi/writers/download: Remove unnecessary retry loop Robert Swain 2017-05-22 20:54:03 +0200
  • 84643869ee fix comment Mark Haines 2017-05-22 19:47:45 +0100
  • 93279584fd Call 'go build' from the pre-commit hook to check that everything builds Mark Haines 2017-05-22 19:44:55 +0100
  • a7acfa5546 Fix build after #114 Mark Haines 2017-05-22 19:28:26 +0100
  • e756b3b0eb Update gomatrixserverlib Mark Haines 2017-05-22 18:11:02 +0100
  • c9ffdd98d4 Begin fleshing out how CS API endpoints do auth properly Kegan Dougal 2017-05-22 17:25:39 +0100
  • d63a1ddc7c Rename packages under /auth (#114) Kegsay 2017-05-22 16:49:32 +0100
  • c44e48f540 Rename packages under /auth Kegan Dougal 2017-05-22 16:10:59 +0100
  • 5e338cc805 mediaapi/writers/download: Fix reference to spec for /download Robert Swain 2017-05-22 17:08:54 +0200
  • 48c3a505cd mediaapi/writers/upload: Use Logger and MediaMetadata from uploadRequest Robert Swain 2017-05-22 17:05:45 +0200
  • 0325459e7f Implement dummy registration and hook it up to AccountDatabase (#113) Kegsay 2017-05-22 15:55:39 +0100
  • 8626308dac mediaapi/writers/download: getMatrixUrls -> getMatrixURLs Robert Swain 2017-05-22 16:41:46 +0200
  • 0fcf74014d mediaapi/fileutils: Improve function name and API docs Robert Swain 2017-05-22 16:41:07 +0200
  • f6f33e8068 mediaapi/fileutils: Fix missing error check lost-in-refactoring Robert Swain 2017-05-22 16:24:41 +0200
  • ac356721e6 mediaapi/fileutils: Rename and simplify documentation of WriteTempFile Robert Swain 2017-05-22 16:24:08 +0200
  • 227fe64252 mediaapi/writers: Pass used member instead of entire struct Robert Swain 2017-05-22 15:38:51 +0200
  • 0ecb645f27 mediaapi/fileutils: Move logic from function to call site Robert Swain 2017-05-22 15:21:56 +0200
  • 6d000794ec mediaapi/fileutils: Fix and simplify API doc Robert Swain 2017-05-22 15:16:53 +0200
  • 703685f0dd mediaapi/storage: Correct comment about Database Robert Swain 2017-05-22 15:13:35 +0200
  • 2f6db5d317 mediaapi/storage: StoreMediaMetadata error if origin and id not unique in db Robert Swain 2017-05-22 15:11:28 +0200
  • 2004dfcfcf mediaapi: ContentLength -> FileSizeBytes Robert Swain 2017-05-22 15:07:45 +0200
  • 1e639b0868 mediaapi/config: Document that MaxFileSizeBytes 0 means unlimited Robert Swain 2017-05-22 14:23:46 +0200
  • 6fe6f45093 mediaapi/writers: Remove unnecessary comparison to true Robert Swain 2017-05-22 14:13:57 +0200
  • 8684f80ebd mediaapi/fileutils: Move fileutils to its own package Robert Swain 2017-05-22 14:12:11 +0200
  • 7bdcece102 mediaapi/writers/fileutils: Group error variables Robert Swain 2017-05-22 14:02:08 +0200
  • 73b419a126 mediaapi/writers: Factor out common moveFileWithHashCheck functionality Robert Swain 2017-05-22 12:20:07 +0200
  • 5d4b5ef1bc mediaapi/writers/download: Add Base64Hash to useful log messages Robert Swain 2017-05-22 12:19:06 +0200
  • 9cae3887db Review comments Kegan Dougal 2017-05-22 10:01:32 +0100
  • 01c565ddfb mediaapi/writers/fileutils: Store files based on hash, not media ID Robert Swain 2017-05-22 10:34:56 +0200
  • 979ce964ab Merge branch 'master' into rob/media-upload Robert Swain 2017-05-22 10:28:37 +0200
  • 8f7ce9adc0 mediaapi/writers/upload: Add note about Content-Disposition override Robert Swain 2017-05-22 10:27:48 +0200
  • 3cea54db0b mediaapi/writers/download: Simplify user error message Robert Swain 2017-05-22 10:27:02 +0200
  • 5f604cc41f mediaapi/writers/upload: Infof -> Info as no formatting in string Robert Swain 2017-05-22 10:26:30 +0200
  • 5536fec902 mediaapi/writers: Add base64hash to media_repository table Robert Swain 2017-05-22 10:24:03 +0200
  • 370cb74d2d mediaapi/writers: Reuse same writer code for upload and download Robert Swain 2017-05-22 10:19:52 +0200
  • 9af66a1963 mediaapi/writers: Reuse removeDir throughout the package Robert Swain 2017-05-22 10:13:37 +0200
  • 542fb36ae1 Make it actually work Kegan Dougal 2017-05-19 17:46:22 +0100
  • a647d633dd Self-review Kegan Dougal 2017-05-19 17:28:26 +0100
  • a0bcffa68e Add ACCOUNT_DATABASE env var Kegan Dougal 2017-05-19 17:22:47 +0100
  • 2cd9651317 Merge branch 'master' into kegan/registration-api Kegan Dougal 2017-05-19 17:19:45 +0100
  • 532127d3d2 First-cut impl for registration Kegan Dougal 2017-05-19 17:19:14 +0100
  • 6605333f6f Start implementing the federation server keys API. (#112) Mark Haines 2017-05-19 16:06:41 +0100
  • 0bb12d5ae7 Return a 200 status code Mark Haines 2017-05-19 15:57:56 +0100
  • cd8d9c49a3 Better explain what the ValidityPeriod is Mark Haines 2017-05-19 14:27:45 +0100
  • 0f952c7ba3 Comment on the key format Mark Haines 2017-05-19 14:25:13 +0100
  • 961671e6ae Fix comments Mark Haines 2017-05-19 14:14:51 +0100
  • b4a13090b4 Fix copyright Mark Haines 2017-05-19 14:12:33 +0100
  • bf4e051e60 Start implementing the federation server keys API. Mark Haines 2017-05-05 14:31:00 +0100
  • 318531d011 mediaapi/writers/upload: Make assign in-line in if Robert Swain 2017-05-19 12:27:55 +0200
  • 86cb8e32f7 mediaapi/writers/upload: Clarify order of moving file and storing metadata Robert Swain 2017-05-19 12:26:27 +0200
  • 1242fdba22 mediaapi: Improve logging throughout, leveraging logrus features Robert Swain 2017-05-19 12:21:10 +0200
  • aa179d451c Update version of gomatrixserverlib (#111) Mark Haines 2017-05-19 10:46:17 +0100
  • 5d5f156500 mediaapi/writers/fileutils: Rework file path layout Robert Swain 2017-05-19 11:34:40 +0200
  • 9d4d18ae7f Add AccountDatabase for storing user accounts (#110) Kegsay 2017-05-19 10:27:03 +0100