1. 15 11月, 2017 1 次提交
  2. 20 9月, 2017 2 次提交
  3. 31 8月, 2017 1 次提交
  4. 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
  5. 21 8月, 2017 1 次提交
  6. 16 8月, 2017 1 次提交
    • 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
  7. 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
  8. 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
  9. 19 6月, 2017 2 次提交
  10. 13 6月, 2017 1 次提交
  11. 08 6月, 2017 1 次提交
    • R
      Foundation for media API testing (#136) · 6eae6f75
      Robert Swain 提交于
      * cmd/mediaapi-integration-tests: Add foundation for testing
      
      * common/test: Add some server init and client request utilities
      
      * common/test/client: Handle timed out requests for tests that passed
      
      * cmd/syncserver-integration-tests: Port to new common/test infra
      
      * common/test/client: Remove stray debug print
      
      * cmd/mediaapi-integration-tests: Simplify slice initialisation
      
      * cmd/mediaapi-integration-tests: Simplify getMediaURL argument
      
      * cmd/mediaapi-integration-tests: Make startMediaAPI return listen address
      
      * common/test/client: Fix uninitialised LastRequestErr
      
      * common/test/server: Remove redundant argument
      
      * common/test/server: Add StartProxy to create a reverse proxy
      
      * cmd/mediaapi-integration-tests: Add proxies in front of servers
      
      This is needed so that origins can be correctly configured and used for
      remote media.
      
      * travis: Enable media API integration tests
      
      * travis: Build the client-api-proxy for media tests
      
      * common/test/client: Don't panic on EOF in CanonicalJSONInput
      
      * cmd/mediaapi-integration-tests: Add upload/download/thumbnail tests
      
      * mediaapi/thumbnailer: Store thumbnail according to requested size
      
      * cmd/mediaapi-integration-tests: Add totem.jpg test file
      
      * cmd/client-api-proxy: Optionally listen for HTTPS
      
      * common/test/client: Do not verify TLS certs for testing
      
      We will commonly use self-signed certs.
      
      * cmd/mediaapi-integration-tests: Make HTTPS requests
      
      * cmd/mediaapi-integration-tests: Log size and method for thumbnails
      
      * mediaapi/thumbnailer: Factor out isThumbnailExists
      
      Appease gocyclo^w^w simplify
      
      * mediaapi/thumbnailer: Check if request is larger than original
      
      * travis: Install openssl and generate server.{crt,key}
      
      * cmd/mediaapi-integration-tests: Add valid dynamic thumbnail test
      
      * cmd/mediaapi-integration-tests: Document state of tests
      
      * cmd/mediaapi-integration-tests: Test remote thumbnail before download
      
      This ordering also exercises the cold cache immediate generation of a
      size configured for pregeneration.
      
      * travis: Explain openssl key+cert generation
      
      * common/test/server: Clarify postgresContainerName
      6eae6f75
  12. 09 5月, 2017 1 次提交