- 09 11月, 2017 1 次提交
-
-
由 Michael Telatynski 提交于
Signed-off-by: NMichael Telatynski <7t3chguy@gmail.com>
-
- 06 11月, 2017 1 次提交
-
-
由 Andrew Morgan 提交于
* Federation: Implement Query Profile API Implements the server portion of: `GET /_matrix/federation/v1/query/profile?user_id=...&field=...` Closes #278 Signed-off-by: NAndrew (anoa) <anoa@openmailbox.org> * Properly export profile-related structs and fix wording Signed-off-by: NAndrew (anoa) <anoa@openmailbox.org> * Check provided user's domain matches our own.
-
- 25 10月, 2017 1 次提交
-
-
由 Erik Johnston 提交于
This is in preperation for implementing various federation APIs that need to build events.
-
- 13 10月, 2017 1 次提交
-
-
由 Erik Johnston 提交于
-
- 29 9月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Add config for setting up a jaeger opentracing reporter * Remove redundant comment
-
- 28 9月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Add opentracing Spans to the HTTP APIs * Add opentracing spans to the HTTP RPC clients * Set the span in the request context * More docstring
-
- 22 9月, 2017 1 次提交
-
-
由 Erik Johnston 提交于
* Implement shared secret registration * Use HexString from gomatrixserverlib * Correctly check username validility
-
- 21 9月, 2017 2 次提交
-
-
由 Mark Haines 提交于
-
由 Mark Haines 提交于
-
- 20 9月, 2017 5 次提交
-
-
由 Erik Johnston 提交于
-
由 Erik Johnston 提交于
* Add 'unused' lint * Keep testdata consts
-
由 Erik Johnston 提交于
-
由 Erik Johnston 提交于
-
由 Erik Johnston 提交于
* Add errcheck linter * Add config for 'fast' linters * Fix errcheck lint stuff * Fix errcheck lint
-
- 13 9月, 2017 1 次提交
-
-
由 Mark Haines 提交于
* Add context.Context to the federation client * gb vendor update github.com/matrix-org/gomatrixserverlib
-
- 12 9月, 2017 1 次提交
-
-
由 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
-
- 08 9月, 2017 1 次提交
-
-
由 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
-
- 04 9月, 2017 1 次提交
-
-
由 Mark Haines 提交于
-
- 31 8月, 2017 1 次提交
-
-
由 Richard van der Hoff 提交于
Add `generate-keys` command, which can be used to generate TLS keys/certs, and, more usefully, matrix signing keys.
-
- 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
-
- 22 8月, 2017 2 次提交
-
-
由 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()
-
由 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 2 次提交
-
-
由 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
-
由 Mark Haines 提交于
-
- 16 8月, 2017 1 次提交
-
-
由 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
-
- 07 8月, 2017 1 次提交
-
-
由 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
-
- 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
-
- 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 提交于
-
- 11 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 * 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
-
- 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 1 次提交
-
-
由 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
-
- 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 1 次提交
-
-
由 Mark Haines 提交于
* Add ineffassign to the pre-comiit hooks * Fix travis.yml * Only apply ineffassign to the /src directory
-
- 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
-