1. 09 11月, 2017 1 次提交
  2. 06 11月, 2017 1 次提交
  3. 25 10月, 2017 1 次提交
  4. 13 10月, 2017 1 次提交
  5. 29 9月, 2017 1 次提交
  6. 28 9月, 2017 1 次提交
  7. 22 9月, 2017 1 次提交
  8. 21 9月, 2017 2 次提交
  9. 20 9月, 2017 5 次提交
  10. 13 9月, 2017 1 次提交
  11. 12 9月, 2017 1 次提交
    • B
      Add config and checks for trusted ID servers (#206) · f1fce556
      Brendan Abolivier 提交于
      * Add config for trusted ID servers
      
      * Add new error
      
      * Implement check for trusted ID server
      
      * Complete unfinished comment
      
      * Make comment more explicit in the config file
      
      * Use go standard errors in membership.go
      
      * Use standard errors instead of JSON responses in threepid
      
      * Doc errors
      
      * Remove unused parameter
      f1fce556
  12. 08 9月, 2017 1 次提交
    • B
      Processing of pending invites on 3PID binding (#218) · 4d1d503d
      Brendan Abolivier 提交于
      * Add missing file headers
      
      * Move the ID server's signatures verification to common
      
      * Allow verification without specifying a server name
      
      * Add third-party structs to membership events content
      
      * Add processing of 3PID onbind requests
      
      * Use reference for third party invite data
      
      * Fix return arguments order
      
      * Revert "Move the ID server's signatures verification to common"
      
      This reverts commit 93442010316ce71a77ac58ffd3613754ce8fe969.
      
      * Revert "Allow verification without specifying a server name"
      
      This reverts commit fd27afbf82eac50fe9f7b83b26cfce3c66d530d2.
      
      * Remove checks that are already occurring in gomatrixserverlib
      
      * Change return type of createInviteFrom3PIDInvite
      
      * Add doc, add checks in fillDisplayName
      
      * Use MakeFedAPI
      
      * Invert condition
      
      * Use AuthEvents to retrieve the 3PID invite
      
      * Update comment
      
      * Remove unused parameter
      
      * gb vendor update github.com/matrix-org/gomatrixserverlib
      4d1d503d
  13. 04 9月, 2017 1 次提交
  14. 31 8月, 2017 1 次提交
  15. 29 8月, 2017 1 次提交
    • B
      Process requests for 3PID invites (#201) · 2183712e
      Brendan Abolivier 提交于
      * Structure for 3PID invite
      
      * Generate invite from 3PID known by ID server
      
      * Load user profile in a separate function
      
      * Generate m.room.third_party_invite if the ID server doesn't know the 3PID
      
      * Fix URLs to the spec in comments
      
      * Move third-party invites to a separate package and doc' it
      
      * Handle non-OK status codes on lookup
      
      * Send display name to identity server when asking to store an invite
      
      * Remove join response structure
      
      * Change the way some variables are declared or passed as argument
      
      * Use gomatrixserverlib.Base64String instead of the builtin base64 package
      
      * Don't copy the public keys array
      2183712e
  16. 22 8月, 2017 2 次提交
    • 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
    • M
      Make txn *sql.Tx arguments optional everywhere using a utility function (#191) · 808c2e09
      Mark Haines 提交于
      * Make txn *sql.Tx arguments optional everywhere using a utility function
      
      * Clarify that if the txn is nil the stmt will run outside a transaction
      808c2e09
  17. 21 8月, 2017 2 次提交
  18. 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
  19. 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
  20. 03 8月, 2017 1 次提交
  21. 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
  22. 18 7月, 2017 3 次提交
    • 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
    • M
      Factor out runTransaction to common code (#162) · b06d1124
      Mark Haines 提交于
      b06d1124
  23. 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
  24. 05 7月, 2017 1 次提交
  25. 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
  26. 19 6月, 2017 2 次提交
  27. 16 6月, 2017 1 次提交
    • M
      Add a single config file format for dendrite. (#141) · c6e59ca9
      Mark Haines 提交于
      * Add a single config file format for dendrite.
      
      This config file combines all the configuration needed by the
      dendrite components into a single file.
      
      * Resolve relative paths against the current working directory
      
      * Review comments
      
      * more review comments!
      
      * Document what the purpose of the version field is
      c6e59ca9
  28. 13 6月, 2017 1 次提交
  29. 10 6月, 2017 1 次提交
  30. 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