1. 31 8月, 2017 2 次提交
  2. 29 8月, 2017 1 次提交
    • B
      Process requests for 3PID invites (#201) · 2183712e
      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
      2183712e
  3. 24 8月, 2017 2 次提交
  4. 23 8月, 2017 2 次提交
  5. 22 8月, 2017 5 次提交
    • B
      Fix sync not returning on room join (#195) · 166ac9d0
      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
      166ac9d0
    • B
      Implement public rooms APIs (#185) · b15ce900
      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()
      b15ce900
    • R
      notes on running monolith server (#193) · fc86821a
      Richard van der Hoff 提交于
      * notes on running monolith server
      
      * Clarify default ports for monolith server
      fc86821a
    • R
      Add installation instructions to repo (#192) · 46877b6b
      Richard van der Hoff 提交于
      46877b6b
    • M
      Make txn *sql.Tx arguments optional everywhere using a utility function (#191) · 808c2e09
      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
      808c2e09
  6. 21 8月, 2017 4 次提交
    • M
      Add input API for adding invites to the roomserver. (#187) · 57b70973
      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
      57b70973
    • B
      Membership viewing API (#174) · 5950293e
      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
      5950293e
    • M
      81179a05
    • B
  7. 18 8月, 2017 3 次提交
  8. 16 8月, 2017 2 次提交
    • M
      Fix kafka consumer setup in monolith. (#184) · ba8b5d8b
      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.
      ba8b5d8b
    • M
      Optionally use naffka in the monolithic server (#183) · c27d1fdf
      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
      c27d1fdf
  9. 15 8月, 2017 1 次提交
  10. 08 8月, 2017 1 次提交
    • M
      Add tables for tracking the state of invites to the room server. (#165) · 2071387f
      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
      2071387f
  11. 07 8月, 2017 2 次提交
    • B
      Add TLS (https) support to the monolithic server (#180) · c35803c9
      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
      c35803c9
    • M
      Add prefixes to namespace the SQL tables. (#177) · 4d1504ee
      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
      4d1504ee
  12. 05 8月, 2017 2 次提交
  13. 04 8月, 2017 3 次提交
  14. 03 8月, 2017 1 次提交
  15. 02 8月, 2017 2 次提交
  16. 28 7月, 2017 3 次提交
  17. 26 7月, 2017 1 次提交
    • B
      Save and retrieve account data (#166) · 3e394e9e
      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
      3e394e9e
  18. 25 7月, 2017 1 次提交
    • B
      Propagate profile update through rooms (#163) · 6d073dcf
      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
      6d073dcf
  19. 24 7月, 2017 1 次提交
  20. 20 7月, 2017 1 次提交