- 04 8月, 2017 1 次提交
-
-
由 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
-
- 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 1 次提交
-
-
由 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 2 次提交
-
-
由 Brendan Abolivier 提交于
* Add local room join * Update TODO
-
由 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
-
- 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
-
- 27 6月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Stub APIs needed to let riot join a room * Fix comments
-
- 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.
-
- 31 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 25 5月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Start implementing the join room API * Hacks to get join room working * Make the TLS fingerprint configurable * Fix the client API proxy to handle '#' correctly * Return a 200 OK response * Write the join event along with current state to the room server * Comment on the error handling * Fix typos * Fix tab * Add TODO for moving authEventIDs to gomatrixserverlib * Comment on why we ignore the key ID argument for local keys * Avoid 'preceeded' * Neaten the control flow * Neaten the control flow even more * Return pointers * Rename err to lastErr for the loop
-
- 24 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
- Renamed `clientapi/auth/types` to `clientapi/auth/authtypes` for the same horrible namespace clashing reasons as `storage`. - Factored out `makeAPI` to `common`. - Added in `makeAuthAPI`.
-
- 23 5月, 2017 1 次提交
-
-
由 Mark Haines 提交于
-
- 22 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 18 5月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Rename "make" to "makeAPI" and factor out some more common code into it Naming a function the same as a go builtin function seems like a bad idea. Also move the call to `NewJSONRequestHander` inside the function rather than calling it everywhere. * Fix typo
-
- 21 4月, 2017 2 次提交
-
-
由 Robert Swain 提交于
-
由 Kegsay 提交于
-
- 12 4月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 10 4月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 07 4月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 29 3月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 23 3月, 2017 1 次提交
-
-
由 Kegsay 提交于
Currently the HTTP handlers are attached to an API mux which is created inside Setup(). In the future, we'll want to split this out so a single mux can have both sync and clientapi handlers attached to it.
-
- 17 3月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 15 3月, 2017 2 次提交
- 11 3月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 10 3月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 08 3月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 24 2月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 20 2月, 2017 1 次提交
-
-
由 Kegsay 提交于
* Add basic routing based on matched paths * Make /sync and /send use the right API paths
-