4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-01-13 19:06:34 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
kegsay
9957752a9d
Define component interfaces based on consumers (2/2) ()
* convert remaining interfaces

* Tidy up the userapi interfaces
2022-05-05 19:30:38 +01:00
Neil Alexander
6deb10f3f6
Don't answer expensive federation requests for rooms we no longer belong to ()
This includes `/state`, `/state_ids`, `/get_missing_events` and `/backfill`.

This should fix .
2022-04-28 11:45:56 +01:00
kegsay
aa5c3b88de
Unmarshal events at the Dendrite level not GMSL level ()
* Use new event json types in gmsl

* Fix EventJSON to actually unmarshal events

* Update GMSL

* Bump GMSL and improve error messages

* Send back the correct RespState

* Update GMSL
2022-02-09 20:31:24 +00:00
Neil Alexander
20a01bceb2
Pass pointers to events — reloaded ()
* Pass events as pointers

* Fix lint errors

* Update gomatrixserverlib

* Update gomatrixserverlib

* Update to 
2020-11-16 15:44:53 +00:00
Neil Alexander
43cdba9a69
Ignore depth in federation API () 2020-09-29 14:07:59 +01:00
Neil Alexander
f123d7d65b
Hopefully fix get_missing_events () 2020-05-28 12:44:34 +01:00
Neil Alexander
e15f6676ac
Consolidation of roomserver APIs ()
* Consolidation of roomserver APIs

* Comment out alias tests for now, they are broken

* Wire AS API into roomserver again

* Roomserver didn't take asAPI param before so return to that

* Prevent roomserver asking AS API for alias info

* Rename some files

* Remove alias_test, incoherent tests and unwanted appservice integration

* Remove FS API inject on syncapi component
2020-05-01 10:48:17 +01: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
Neil Alexander
59a1f4b8ed
Remove httputil.LogThenError so that the line numbers are reported properly - make error reporting slightly more useful () 2020-03-02 16:20:44 +00:00
ruben
74827428bd use go module for dependencies () 2019-05-21 21:56:55 +01:00