1
0
Fork 0
mirror of https://github.com/matrix-org/dendrite.git synced 2025-03-01 14:24:27 -06:00
Commit graph

8 commits

Author SHA1 Message Date
Neil Alexander 139904f604 Room version 2 by default, other wiring updates, update gomatrixserverlib 2020-03-20 09:59:32 +00:00
Neil Alexander c2bd0b97b3
Get room versions from database ()
* Retrieve room version where known in roomserver

* Get room versions in alias code

* Increase gocyclothreshold to 13, since we hit that number a lot

* Remove gocyclo nolint from StoreEvent

* Update interface to get room version from room ID instead of NID

* Remove new API

* Fixed this query for SQLite but not for Postgres
2020-03-17 18:00:10 +00:00
Neil Alexander aebf347a79
Implement gomatrixserverlib.HeaderedEvent in roomserver Kafka output ()
* Use Event.Headered

* Use HeaderedEvent in roomserver kafka output

* Fix syncserver-integration-tests

* Update producers to roomserver inputs

* Update gomatrixserverlib

* Update gomatrixserverlib

* Update gomatrixserverlib

* Update gomatrixserverlib

* Update gomatrixserverlib

* Update gomatrixserverlib
2020-03-17 11:01:25 +00:00
Neil Alexander acb505b717
Implement gomatrixserverlib.HeaderedEvent in roomserver query API ()
* Implement gomatrixserverlib.HeaderedEvent, which should allow us to store room version headers along with the event across API boundaries and consumers/producers, and intercept unmarshalling to get the event structure right

* Add federationsender to previous
2020-03-16 17:29:52 +00:00
Alex Chen 94ea325c93
Fix permission and 404 response for alias deletion - () 2019-08-07 11:00:58 +08:00
Alex Chen 6106ec1399 Fix getAliasesForRoomID has no HTTP handler in aliasAPI ()
This PR adds back the HTTP handler for internal API GetAliasesForRoomID in roomserver, which seemed to be missing.
2019-07-09 17:13:43 +01:00
Serra Allgood a0dec456c1 rommserver/alias: Do not call appserviceAPI in GetRoomIDForAlias if local alias found ()
A conditional is added to wrap the call to appserviceAPI if a local alias is not found in the database.

Fixes 

Signed-off-by: Serra Allgood <serra@allgood.dev>
2019-06-25 13:43:18 +01:00
ruben 74827428bd use go module for dependencies () 2019-05-21 21:56:55 +01:00
Renamed from src/github.com/matrix-org/dendrite/roomserver/alias/alias.go (Browse further)