- 04 8月, 2017 3 次提交
-
-
由 Brendan Abolivier 提交于
* Implement membership endpoints * Use FillBuilder when possible * Fix typo in membership event content * Fix state key invite membership events not being correctly set * Set membership content to match the profile of the user in state_key * Move event building and rename common function * Doc getMembershipStateKey * Check if user is local before lookin up their profile
-
由 Brendan Abolivier 提交于
-
由 Mark Haines 提交于
* Add a monolithic server that combines all the components into one * Review comments * Expose the matrix APIs directly
-
- 03 8月, 2017 1 次提交
-
-
由 Mark Haines 提交于
This makes it possible to setup all the component APIs on a single http listener which is necessary if we want to combine all the components into a single monolith.
-
- 02 8月, 2017 2 次提交
-
-
由 Mark Haines 提交于
-
由 Brendan Abolivier 提交于
* Clean roomserver consumer * Make account data sync incremental * Use a different name for the sync AD table * Improved error logging * Created missing topic in tests * Add client API topic to tests * Add client API topic to common * Move data batch retrieval * Add database index for data retrieval * Fix typo in table name * Fix indentation
-
- 28 7月, 2017 3 次提交
-
-
由 Brendan Abolivier 提交于
* Add local room join * Update TODO
-
由 Brendan Abolivier 提交于
-
由 Brendan Abolivier 提交于
* Add database functions to interact with aliases * Save room alias * Check if alias already exists * Implement local alias lookup * Implement alias removal * Move alias API * Handle case with no alias set for a room * Apply requested changes
-
- 26 7月, 2017 1 次提交
-
-
由 Brendan Abolivier 提交于
* Save function for account data * Fix upsert + add empty routes and function * Save account data * Retrieval functions * Implement retrieval in /sync * Fix arrays not correctly initialised * Merge account data retrieval functions * Request DB only once per request * Initialise array * Fix comment
-
- 25 7月, 2017 1 次提交
-
-
由 Brendan Abolivier 提交于
* Use gomatrixserverlib function to split user ID * Propagate profile update via m.room.member events * Send profile data on room join * Send profile data on room creation * Rename variable * Move membership update to roomserver consumer * Improve iteration * Move event update from client API server to sync API server * Change the way buildMembershipEvents is called * Forbid update of someone else's profile * Use gomatrixserverlib method * Fix depth and previous events not being set * Fix wrong removal in latest commit * Update all events instead of only memberships * Handle case where there is no state key * Fix test
-
- 24 7月, 2017 1 次提交
-
-
由 Mark Haines 提交于
-
- 20 7月, 2017 1 次提交
-
-
由 Brendan Abolivier 提交于
-
- 18 7月, 2017 3 次提交
-
-
由 Mark Haines 提交于
* Use HTTP API for roomserver input. * Use synchronous HTTP API for writing events to the roomserver * Remove unused config for kafka topic * Tweak comments
-
由 Brendan Abolivier 提交于
* Saving memberships * Removed unused index * Removed useless log * Fixed membership not being saved on the right conditions + added membership removal * Updated outdated comment * Use server lib method + check server name + use new roomserver API * Better handling of events from the room server * Fixed membership removal * Corrected indentation * Fix tests (hopefully) * Replace broken kafka mirror * Apply requested changes on database management * Remove useless check and function * Moved memberships update to the database package * Use new common function * Remove useless function
-
由 Mark Haines 提交于
-
- 13 7月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Add a HTTP API for roomserver input * Fix integration tests
-
- 12 7月, 2017 3 次提交
-
-
由 Brendan Abolivier 提交于
-
由 Mark Haines 提交于
-
由 Mark Haines 提交于
* Make the roomserver output format more flexible * Fix the sync server integration testdata * Fix roomserver testdata * Actually fix the sync server tests * Fix typo
-
- 11 7月, 2017 2 次提交
-
-
由 Brendan Abolivier 提交于
-
由 Brendan Abolivier 提交于
* Profile retrieval * Saving avatar (without propagating it) * Saving display name (without propagating it) * Getters for display name and avatar URL * Doc'd * Introduced new Kafka topic and producer * Updated config with new kafka topic * Switched to samara producer and now sending messages * Doc'd * Put kafka update after the database insert * Doc'd profileUpdate structure * Removed unused parameter * Moved user updates producer to clientapi/producers
-
- 10 7月, 2017 1 次提交
-
-
由 Brendan Abolivier 提交于
* Profile retrieval * Saving avatar (without propagating it) * Saving display name (without propagating it) * Getters for display name and avatar URL * Doc'd * Remove unused import * Applied requested changes * Added auth on PUT /profile/{userID}/... * Improved error handling/reporting * Using utils log reporting * Removed useless checks
-
- 07 7月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Use utility methods from gomatrixserverlib, rather than reimplementing them * Return string rather than pointer to string * Update gomatrixserverlib
-
- 06 7月, 2017 1 次提交
-
-
由 Brendan Abolivier 提交于
-
- 05 7月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Update the example configs with the new unified config * Review comments * Use an int for the config version
-
- 28 6月, 2017 2 次提交
-
-
由 Mark Haines 提交于
* Add a component for sending event to remote matrix servers using federation * Use named constants * Comment on why we combine the deltas * Comments * Copyright headers! * Fix the copy+Pasted comment * Add tests for combineDeltas * Review comments * More review comments * More comments * Even more comments * Name the mutexes * Document what the mutexes are protecting * Simplify the SQL, and more comments
-
由 Mark Haines 提交于
-
- 27 6月, 2017 3 次提交
-
-
由 Mark Haines 提交于
* Set depth of events and whether they need to be federated. Set the depth of each new event to one greater than the maximum depth of it's direct ancestors. Add a flag to each event passing through the roomserver that tells us whether the event needs to be sent over federation. We do this by passing the name of the server to send the event as. We will need this capability if we want to support vhosting as it is not possible to tell from the event alone which server to send it as. (The reason for this is that sometimes a event needs to be sent on behalf of a different remote matrix server) * Update roomserver integration tests * More comments * Constants and comments * Fix comments * Document the int64 returned by LatestEventIDs
-
由 Mark Haines 提交于
* Include the state before the event in roomserver output * Fix roomserver integration test * Remove VisibilityEventIDs from the JSON * More comments * Remove spurious TODO
-
由 Mark Haines 提交于
* Stub APIs needed to let riot join a room * Fix comments
-
- 25 6月, 2017 2 次提交
-
-
由 Matthew Hodgson 提交于
-
由 Matthew Hodgson 提交于
-
- 19 6月, 2017 2 次提交
-
-
由 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.
-
由 Mark Haines 提交于
-
- 16 6月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Add a single config file format for dendrite. This config file combines all the configuration needed by the dendrite components into a single file. * Resolve relative paths against the current working directory * Review comments * more review comments! * Document what the purpose of the version field is
-
- 13 6月, 2017 2 次提交
-
-
由 Mark Haines 提交于
* Add ineffassign to the pre-comiit hooks * Fix travis.yml * Only apply ineffassign to the /src directory
-
由 Mark Haines 提交于
-
- 10 6月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Add a database for storing the server keys * Tweak wording, and comment on the resolution of the timestamp * Update gomatrixserverlib
-
- 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
-