- 12 9月, 2017 3 次提交
-
-
由 Brendan Abolivier 提交于
* Add config for trusted ID servers * Add new error * Implement check for trusted ID server * Complete unfinished comment * Make comment more explicit in the config file * Use go standard errors in membership.go * Use standard errors instead of JSON responses in threepid * Doc errors * Remove unused parameter
-
由 Brendan Abolivier 提交于
* Use federation to auth the event if the server isn't in the room * Use MakeAPI for 3pid onbind handler as it isn't a standard federation request * Error check * Temporarily disable tests * Fix return on 3PID invite * Re-enable tests * Remove useless else * gb vendor update github.com/matrix-org/gomatrixserverlib * gb vendor update github.com/matrix-org/gomatrixserverlib * Implement same behaviour as synapse * Fix condition and array initialisation * Log errors on iteration and throw one if no server could be reached * Fix err not being initialised * Fix lint * Fix import path
-
由 Mark Haines 提交于
* Fix response to /invite to match the format expected by synapse * gb vendor update github.com/matrix-org/gomatrixserverlib * Use gomatrixserverlib.RespInvite * gb vendor update github.com/matrix-org/gomatrixserverlib
-
- 11 9月, 2017 1 次提交
-
-
由 Mark Haines 提交于
... in the federation invite API.
-
- 08 9月, 2017 2 次提交
-
-
由 Mark Haines 提交于
-
由 Brendan Abolivier 提交于
* Add missing file headers * Move the ID server's signatures verification to common * Allow verification without specifying a server name * Add third-party structs to membership events content * Add processing of 3PID onbind requests * Use reference for third party invite data * Fix return arguments order * Revert "Move the ID server's signatures verification to common" This reverts commit 93442010316ce71a77ac58ffd3613754ce8fe969. * Revert "Allow verification without specifying a server name" This reverts commit fd27afbf82eac50fe9f7b83b26cfce3c66d530d2. * Remove checks that are already occurring in gomatrixserverlib * Change return type of createInviteFrom3PIDInvite * Add doc, add checks in fillDisplayName * Use MakeFedAPI * Invert condition * Use AuthEvents to retrieve the 3PID invite * Update comment * Remove unused parameter * gb vendor update github.com/matrix-org/gomatrixserverlib
-
- 07 9月, 2017 1 次提交
-
-
由 Erik Johnston 提交于
* Turn on 'unparam' linting * Increase deadline * Fix mediaapi integeration test
-
- 06 9月, 2017 3 次提交
-
-
由 Erik Johnston 提交于
* Add get event federation API * Handle err correctly * Add missing readers * Ignore gocyclo lint for routing function * Add todo * Fix styling a bit
-
由 Erik Johnston 提交于
* Remove unused struct field * Ignore unused test data * Remove unused variables * Remove deadcode * Fix up vetshadow warnings * Convert to using gometalinter * Update travis * Use vendored versions of gometalinter * Make gometalinter install its stuff * Vendor misspell
-
由 Erik Johnston 提交于
-
- 04 9月, 2017 1 次提交
-
-
由 Mark Haines 提交于
-
- 01 9月, 2017 2 次提交
-
-
由 Richard van der Hoff 提交于
-
由 Brendan Abolivier 提交于
* Create package for handling 3pid processes and move invite processing there * Add database table and functions for tracking 3PIDs * Add structures and functions to interact with an ID server * Add handlers for 3PIDs management * Fix 3PIDs retrieval sending null if no 3PID known for a user * Include medium in database requests and function calls * Publish an association if it has been validated and requested * Add TODO markers for tursted ID server check * Use a structure instead of a map to represent a 3PID
-
- 31 8月, 2017 2 次提交
-
-
由 Richard van der Hoff 提交于
Add `generate-keys` command, which can be used to generate TLS keys/certs, and, more usefully, matrix signing keys.
-
由 Richard van der Hoff 提交于
-
- 29 8月, 2017 1 次提交
-
-
由 Brendan Abolivier 提交于
* Structure for 3PID invite * Generate invite from 3PID known by ID server * Load user profile in a separate function * Generate m.room.third_party_invite if the ID server doesn't know the 3PID * Fix URLs to the spec in comments * Move third-party invites to a separate package and doc' it * Handle non-OK status codes on lookup * Send display name to identity server when asking to store an invite * Remove join response structure * Change the way some variables are declared or passed as argument * Use gomatrixserverlib.Base64String instead of the builtin base64 package * Don't copy the public keys array
-
- 24 8月, 2017 2 次提交
-
-
由 Brendan Abolivier 提交于
* Implement case where user left the room * Filter by membership event * Move the logic from the storage to the query API * Fix check on state entries iteration * Remove aliases methods from query API * Use structure for response to match with the spec * Remove filtering on /members and implement /joined_members
-
由 Andi 提交于
Signed-off-by: NAndreas Brönnimann <foss@exul.org>
-
- 23 8月, 2017 2 次提交
-
-
由 Mark Haines 提交于
* Implement /federation/v1/invite/{roomID}/{eventID} * Use NotJSON instead of BadJSON when the JSON couldn't be decoded
-
由 Mark Haines 提交于
* Add query API for listing active invites This lists the invites for a user in a room that could be used to join the room over federation. * s/Lookup/Look up/ * Fix implements comments
-
- 22 8月, 2017 5 次提交
-
-
由 Brendan Abolivier 提交于
* Use BuildEvent method on room join * Fix building the list of room members in the sync notifier * Fix building the list of room members in the sync notifier * Rephrase comment
-
由 Brendan Abolivier 提交于
* Move events contents to common * Basic database structure * Complete database update * Support visibility update and retrieval * Add HTTP methods for visibility update and retrieval * Add the database for the new component * Add a listener for the new component * Fix attribute update statements * Create public rooms component * Fix failing test * Add roomserver consumer * Fix a bug in aliases creation * Add a check on type * Implement public rooms directory * Use auth API for visibility update * Support filtering * Add component to monolith * Various fixes * Fix computation of next public rooms batch * Retrieve state events from the roomserver query API + avoid dupes on join * Split update of string or boolean attribute in two separate functions * Use event type to detect duplicate joins * Improve the joined members counter computation * Use event.RoomID()
-
由 Richard van der Hoff 提交于
* notes on running monolith server * Clarify default ports for monolith server
-
由 Richard van der Hoff 提交于
-
由 Mark Haines 提交于
* Make txn *sql.Tx arguments optional everywhere using a utility function * Clarify that if the txn is nil the stmt will run outside a transaction
-
- 21 8月, 2017 4 次提交
-
-
由 Mark Haines 提交于
* Add input API for adding invites to the roomserver. This API handles invites received over federation that occur outside of a room. * Add some docstring for withTransaction * Use a nicer pattern for wrapping transactions * Fix MembershipUpdater method to not commit the transaction before returning it * Use the Transaction interface from common
-
由 Brendan Abolivier 提交于
* Basic memberships retrieval * Change the way the memberships are saved in the client API database * Retrieve single membership * Get memberships only if the user is or has been in the room * Check server name on room ID instead of user ID * Save the join membership event and updates it when necessary * Membership events retrieval + update on leave * Implement the API on the roomserver and client API server * Fix comments * Remove the functions and attributes used before the new query API * Explicitely state what we return in query * Remove tab
-
由 Mark Haines 提交于
-
由 Brendan Abolivier 提交于
-
- 18 8月, 2017 3 次提交
-
-
由 Mark Haines 提交于
-
由 Brendan Abolivier 提交于
* Add a route matching the trailing slash on the state event sending route * Use single route for both cases * Use synapse regexp
-
由 Mark Haines 提交于
-
- 16 8月, 2017 2 次提交
-
-
由 Mark Haines 提交于
We can't consume the same topic on a single kafka consumer more than once. So when using kafka we have to create a new consumer for each component in the monolith.
-
由 Mark Haines 提交于
* dependency injection for the kafka consumers/producers * Optionally use naffka in the monolithic server * remember to call setupKafka() * tweak imports * fix integration tests * Add use_naffka to the example config * Update comment on the listen APIs
-
- 15 8月, 2017 1 次提交
-
-
由 Mark Haines 提交于
-
- 08 8月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Storage functions for invite events * Add table for tracking membership state * More stuff * More stuff * Use utility methods from gomatrixserverlib, rather than reimplementing them * More stuff * Return string rather than pointer to string * Update gomatrixserverlib * Use HTTP API for roomserver input. * Use synchronous HTTP API for writing events to the roomserver * Remove unused config for kafka topic * Add new output types to roomserver for invites * Write membership updates * Separate filtering from pairing up changes in membershipChanges * Fix SQL * Fix SQL * Namespace the tables * Fix SQL * Use clearer names for some of the variables * Rename senderID for consistency * Restructure update membership * Comments * More comment * Fix SQL * More comments * Assign state keys inside the transaction * Comment on the purpose of the latestEventsUpdater * Comment on the purpose of updateMembership * Remove duplicate fields from stateChange * Attempt to rewrite comment in 'english' * More comments * Fix comment * Comment * more comments
-
- 07 8月, 2017 2 次提交
-
-
由 Brendan Abolivier 提交于
* Add HTTPS listen and serve, and move both listen and serve to goroutines * Add some log so we know the initialisation went well
-
由 Mark Haines 提交于
* Add prefixes to namespace the SQL tables. This means that multiple components can share a single database schema without colliding with each other. Once this lands it will be possible to run a single monolithic dendrite against a single postgresql schema. Hopefully this will make trivial deployments and development easier. * Comment
-
- 05 8月, 2017 2 次提交
-
-
由 Jonas Platte 提交于
-
由 Jonas Platte 提交于
-