0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-28 22:08:54 +02:00
dendrite/cmd
Kegsay 7c36fb78a7
Fix rooms v3 url paths for good - with tests (#1130)
* Fix rooms v3 url paths for good - with tests

- Add a test rig around `federationapi` to test routing.
- Use `JSONVerifier` over `KeyRing` so we can stub things out more easily.
- Add `test.NopJSONVerifier` which verifies nothing.
- Add `base.BaseMux` which is the original `mux.Router` used to spawn public/internal routers.
- Listen on `base.BaseMux` and not the default serve mux as it cleans paths which we don't want.
- Factor out `ListenAndServe` to `test.ListenAndServe` and add flag for listening on TLS.

* Fix comments

* Linting
2020-06-15 16:57:59 +01:00
..
client-api-proxy Separate muxes for public and internal APIs (#1056) 2020-05-22 11:43:17 +01:00
create-account Fix pg user already exists (#1076) 2020-06-01 18:34:29 +01:00
create-room-events Fix rooms v3 url paths for good - with tests (#1130) 2020-06-15 16:57:59 +01:00
dendrite-appservice-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-client-api-server Unbreak build 2020-06-15 10:48:43 +01:00
dendrite-demo-libp2p Fix rooms v3 url paths for good - with tests (#1130) 2020-06-15 16:57:59 +01:00
dendrite-demo-yggdrasil Fix rooms v3 url paths for good - with tests (#1130) 2020-06-15 16:57:59 +01:00
dendrite-edu-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-federation-api-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-federation-sender-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-key-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-media-api-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-monolith-server Fix rooms v3 url paths for good - with tests (#1130) 2020-06-15 16:57:59 +01:00
dendrite-public-rooms-api-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-room-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-server-key-api-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendrite-sync-api-server Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
dendritejs Fix rooms v3 url paths for good - with tests (#1130) 2020-06-15 16:57:59 +01:00
federation-api-proxy Separate muxes for public and internal APIs (#1056) 2020-05-22 11:43:17 +01:00
generate-keys Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
kafka-producer Fix sarama import URLs (#856) 2020-04-22 15:26:56 +01:00
mediaapi-integration-tests Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
roomserver-integration-tests More flexible caching (#1101) 2020-06-05 16:42:01 +01:00
syncserver-integration-tests Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00