1. 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
  2. 13 7月, 2017 1 次提交
  3. 12 7月, 2017 1 次提交
  4. 27 6月, 2017 1 次提交
    • M
      Set depth of events and whether they need to be federated. (#145) · 54e7e304
      Mark Haines 提交于
      * Set depth of events and whether they need to be federated.
      
      Set the depth of each new event to one greater than the maximum depth
      of it's direct ancestors.
      
      Add a flag to each event passing through the roomserver that tells us
      whether the event needs to be sent over federation.
      
      We do this by passing the name of the server to send the event as.
      We will need this capability if we want to support vhosting as it is
      not possible to tell from the event alone which server to send it as.
      
      (The reason for this is that sometimes a event needs to be sent on
      behalf of a different remote matrix server)
      
      * Update roomserver integration tests
      
      * More comments
      
      * Constants and comments
      
      * Fix comments
      
      * Document the int64 returned by LatestEventIDs
      54e7e304
  5. 02 6月, 2017 3 次提交
  6. 31 5月, 2017 1 次提交
  7. 21 4月, 2017 1 次提交
  8. 18 3月, 2017 1 次提交
  9. 10 3月, 2017 1 次提交
  10. 06 3月, 2017 1 次提交
    • M
      Add a query API to the roomserver for getting the latest events in a room. (#23) · 9a8a8aed
      Mark Haines 提交于
      * Start implementing a query API for go using net/rpc
      
      * Use a conventional JSON POST API rather than go net/rpc
      
      net/rpc doesn't automatically handle reconnecting and we have better
      logging and metrics infrastructure for monitoring HTTP apis.
      
      * Implement the query API and add it to the integration tests
      
      * Increase the timeout, travis seems to be a bit slow
      
      * Clarify that state events are the things that are not returned if they are not requested
      
      * Add utility function for converting arrays of numeric event IDs to pq Int64Arrays
      
      * Warn people against requesting empty state keys by accident
      9a8a8aed