1. 14 11月, 2017 2 次提交
  2. 18 10月, 2017 1 次提交
  3. 15 10月, 2017 1 次提交
  4. 10 10月, 2017 3 次提交
  5. 09 10月, 2017 1 次提交
  6. 22 9月, 2017 1 次提交
  7. 21 9月, 2017 1 次提交
  8. 20 9月, 2017 3 次提交
  9. 18 9月, 2017 2 次提交
  10. 06 9月, 2017 1 次提交
    • E
      Use gometalinter (#210) · 2dcb3a11
      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
      2dcb3a11
  11. 01 9月, 2017 1 次提交
    • 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
  12. 23 8月, 2017 1 次提交
    • M
      Add query API for listing active invites (#196) · 17c60759
      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
      17c60759
  13. 21 8月, 2017 1 次提交
    • 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
  14. 07 8月, 2017 1 次提交
    • 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
  15. 02 8月, 2017 1 次提交
    • B
      Make account data sync incremental (#170) · 0fbb8b78
      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
      0fbb8b78
  16. 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
  17. 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
  18. 18 7月, 2017 2 次提交
    • B
      Keep track of membership in Client API (#159) · d9b8e5de
      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
      d9b8e5de
    • M
      Factor out runTransaction to common code (#162) · b06d1124
      Mark Haines 提交于
      b06d1124
  19. 11 7月, 2017 1 次提交
  20. 10 7月, 2017 1 次提交
    • B
      Profile API (#151) · 1efbad81
      Brendan Abolivier 提交于
      * Profile retrieval
      
      * Saving avatar (without propagating it)
      
      * Saving display name (without propagating it)
      
      * Getters for display name and avatar URL
      
      * Doc'd
      
      * Remove unused import
      
      * Applied requested changes
      
      * Added auth on PUT /profile/{userID}/...
      
      * Improved error handling/reporting
      
      * Using utils log reporting
      
      * Removed useless checks
      1efbad81
  21. 31 5月, 2017 1 次提交
  22. 26 5月, 2017 1 次提交
  23. 25 5月, 2017 1 次提交
  24. 24 5月, 2017 1 次提交
  25. 22 5月, 2017 2 次提交
    • K
      Rename packages under /auth (#114) · d63a1ddc
      Kegsay 提交于
      Previously, all database stuff was under the helpfully named
      package 'storage'. However, this convention is used throughout all
      of dendrite, which will clash the moment we want to add auth to all
      the CS API endpoints. To prevent the package name clash, add
      sub-directories which represent what is being stored so the final
      usage ends up being:
      
      ```
      func doThing(db *storage.SyncServerDatabase, authDB *accounts.Database)
      {
          // ...
      }
      ```
      d63a1ddc
    • K
      0325459e
  26. 19 5月, 2017 1 次提交
  27. 21 4月, 2017 1 次提交
  28. 08 3月, 2017 1 次提交
  29. 07 3月, 2017 1 次提交