1. 11 9月, 2017 1 次提交
  2. 08 9月, 2017 2 次提交
    • M
    • B
      Processing of pending invites on 3PID binding (#218) · 4d1d503d
      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
      4d1d503d
  3. 07 9月, 2017 1 次提交
  4. 06 9月, 2017 3 次提交
  5. 04 9月, 2017 1 次提交
  6. 01 9月, 2017 2 次提交
    • R
      Add scripts to run sytest on jenkins (#207) · d4cce736
      Richard van der Hoff 提交于
      d4cce736
    • B
      Implement client API routes for 3PID handling (#205) · 960af3d6
      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
      960af3d6
  7. 31 8月, 2017 2 次提交
  8. 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
  9. 24 8月, 2017 2 次提交
  10. 23 8月, 2017 2 次提交
  11. 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
  12. 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
  13. 18 8月, 2017 3 次提交
  14. 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
  15. 15 8月, 2017 1 次提交
  16. 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
  17. 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
  18. 05 8月, 2017 2 次提交
  19. 04 8月, 2017 3 次提交