- 19 6月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Move all the dendrite config in to a single place * Add tests for config parsing * replace syncserver config with common config * Replace client API config with common config * Replace federation API config with common config * Replace media api config with common config * Replace room server config with common config * Remove unused readKey function * Fix the integration tests * Comment on hardcoding roomserver to HTTP * Add a method for getting RoomServerURL This moves the hardcoding of HTTPs into one place.
-
- 08 6月, 2017 1 次提交
-
-
由 Robert Swain 提交于
* cmd/mediaapi-integration-tests: Add foundation for testing * common/test: Add some server init and client request utilities * common/test/client: Handle timed out requests for tests that passed * cmd/syncserver-integration-tests: Port to new common/test infra * common/test/client: Remove stray debug print * cmd/mediaapi-integration-tests: Simplify slice initialisation * cmd/mediaapi-integration-tests: Simplify getMediaURL argument * cmd/mediaapi-integration-tests: Make startMediaAPI return listen address * common/test/client: Fix uninitialised LastRequestErr * common/test/server: Remove redundant argument * common/test/server: Add StartProxy to create a reverse proxy * cmd/mediaapi-integration-tests: Add proxies in front of servers This is needed so that origins can be correctly configured and used for remote media. * travis: Enable media API integration tests * travis: Build the client-api-proxy for media tests * common/test/client: Don't panic on EOF in CanonicalJSONInput * cmd/mediaapi-integration-tests: Add upload/download/thumbnail tests * mediaapi/thumbnailer: Store thumbnail according to requested size * cmd/mediaapi-integration-tests: Add totem.jpg test file * cmd/client-api-proxy: Optionally listen for HTTPS * common/test/client: Do not verify TLS certs for testing We will commonly use self-signed certs. * cmd/mediaapi-integration-tests: Make HTTPS requests * cmd/mediaapi-integration-tests: Log size and method for thumbnails * mediaapi/thumbnailer: Factor out isThumbnailExists Appease gocyclo^w^w simplify * mediaapi/thumbnailer: Check if request is larger than original * travis: Install openssl and generate server.{crt,key} * cmd/mediaapi-integration-tests: Add valid dynamic thumbnail test * cmd/mediaapi-integration-tests: Document state of tests * cmd/mediaapi-integration-tests: Test remote thumbnail before download This ordering also exercises the cold cache immediate generation of a size configured for pregeneration. * travis: Explain openssl key+cert generation * common/test/server: Clarify postgresContainerName
-
- 26 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 25 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 18 5月, 2017 1 次提交
-
-
由 Kegan Dougal 提交于
-
- 17 5月, 2017 2 次提交
- 16 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 12 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
This is only 'mostly' correct currently, because what should be no-op dupe joins will actually trigger the entire room state to be re-sent. Bizarrely, it's significantly easier to just do that than work out if we should, and there are no client-visible effects to doing so, so we just do it for now.
-
- 11 5月, 2017 2 次提交
-
-
由 Kegsay 提交于
Fixed exactly the same bug as before, but this time for incremental sync. Yay tests!
-
由 Kegsay 提交于
- Test data for the sync server is now in its own file. - Rejig the sync server tests to support multiple /sync requests and corresponding assertions. - Fixed a minor bug which resulted in state events to appear twice in /sync responses when syncing without a `since` parameter.
-
- 09 5月, 2017 2 次提交
- 06 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
-