1. 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
  2. 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
  3. 18 7月, 2017 1 次提交
  4. 07 7月, 2017 1 次提交
  5. 07 6月, 2017 1 次提交
    • M
      Fetching missing state from the roomserver. (#135) · b184a488
      Mark Haines 提交于
      * Fetching missing state from the roomserver.
      
      Whenever the syncserver receives an event from the room server that adds
      state that isn't in the syncserver's local database it should fetch
      those state events from the roomserver.
      
      * Fix append
      
      * Put comment back
      
      * Comments
      
      * s/addsStateEvents/lookupStateEvents/
      
      * Fix spelling
      
      * Include the stream position that a state event was added at in the current state tables
      
      * Fix comment
      
      * Review comments
      b184a488
  6. 05 6月, 2017 1 次提交
  7. 17 5月, 2017 3 次提交
  8. 16 5月, 2017 1 次提交
  9. 15 5月, 2017 1 次提交
    • K
      Remove intermediary /sync response struct (#102) · 94e1c627
      Kegsay 提交于
      The logic required to populate the right bits of `RoomData` tends towards
      the complete `/sync` response struct, so just use the actual response struct
      and save the hassle of mapping between the two. It may not make much difference
      in its current form, but the next PR will make use of this.
      
      This PR has no functional changes.
      94e1c627
  10. 12 5月, 2017 1 次提交
  11. 11 5月, 2017 2 次提交
    • K
      Add more syncserver tests (#99) · 2a9abefd
      Kegsay 提交于
      Fixed exactly the same bug as before, but this time for incremental
      sync. Yay tests!
      2a9abefd
    • K
      Allow multiple sync server test requests (#98) · a506985a
      Kegsay 提交于
      - Test data for the sync server is now in its own file.
      - Rejig the sync server tests to support multiple /sync requests and corresponding
        assertions.
      - Fixed a minor bug which resulted in state events to appear twice in /sync
        responses when syncing without a `since` parameter.
      a506985a
  12. 21 4月, 2017 2 次提交