- 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 提交于
-
- 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
-