1. 13 10月, 2017 1 次提交
  2. 12 10月, 2017 1 次提交
  3. 10 10月, 2017 1 次提交
  4. 29 9月, 2017 1 次提交
  5. 28 9月, 2017 1 次提交
  6. 26 9月, 2017 1 次提交
  7. 21 9月, 2017 1 次提交
  8. 20 9月, 2017 4 次提交
  9. 18 9月, 2017 3 次提交
  10. 13 9月, 2017 2 次提交
  11. 07 9月, 2017 1 次提交
  12. 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
  13. 31 8月, 2017 2 次提交
  14. 22 8月, 2017 1 次提交
    • 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
  15. 21 8月, 2017 1 次提交
  16. 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
  17. 07 8月, 2017 1 次提交
  18. 04 8月, 2017 2 次提交
  19. 03 8月, 2017 1 次提交
  20. 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
  21. 28 7月, 2017 2 次提交
  22. 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
  23. 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
  24. 18 7月, 2017 2 次提交
    • M
      Use HTTP API for roomserver input. (#161) · e6d77d6b
      Mark Haines 提交于
      * Use HTTP API for roomserver input.
      
      * Use synchronous HTTP API for writing events to the roomserver
      
      * Remove unused config for kafka topic
      
      * Tweak comments
      e6d77d6b
    • 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
  25. 13 7月, 2017 1 次提交
  26. 12 7月, 2017 1 次提交
  27. 11 7月, 2017 1 次提交
    • B
      Notify profile update (#153) · 355ab5ee
      Brendan Abolivier 提交于
      * Profile retrieval
      
      * Saving avatar (without propagating it)
      
      * Saving display name (without propagating it)
      
      * Getters for display name and avatar URL
      
      * Doc'd
      
      * Introduced new Kafka topic and producer
      
      * Updated config with new kafka topic
      
      * Switched to samara producer and now sending messages
      
      * Doc'd
      
      * Put kafka update after the database insert
      
      * Doc'd profileUpdate structure
      
      * Removed unused parameter
      
      * Moved user updates producer to clientapi/producers
      355ab5ee
  28. 28 6月, 2017 1 次提交
    • M
      Add a component for sending event to remote matrix servers using fede… (#148) · 8f1dca4e
      Mark Haines 提交于
      * Add a component for sending event to remote matrix servers using federation
      
      * Use named constants
      
      * Comment on why we combine the deltas
      
      * Comments
      
      * Copyright headers!
      
      * Fix the copy+Pasted comment
      
      * Add tests for combineDeltas
      
      * Review comments
      
      * More review comments
      
      * More comments
      
      * Even more comments
      
      * Name the mutexes
      
      * Document what the mutexes are protecting
      
      * Simplify the SQL, and more comments
      8f1dca4e
  29. 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