Commit graph

14 commits

Author SHA1 Message Date
Neil Alexander 2211db7609 Fix count of EDUs in logging 2020-03-27 11:56:46 +00:00
Neil Alexander a7cadd7b9e Fix formatting directive 2020-03-26 17:14:26 +00:00
Neil Alexander f97343d409 Maybe fix federation 2020-03-26 17:10:00 +00:00
Neil Alexander b54d33a3e8 whoops commit federation API too 2020-03-25 16:41:18 +00:00
Neil Alexander c888ac2bd4 Handle transaction marshalling/unmarshalling within Dendrite 2020-03-25 15:13:32 +00:00
Neil Alexander c12b493b7a Lint tweaks 2020-03-24 15:11:49 +00:00
Neil Alexander 6fe6fc6704 Make room server producers use headered events 2020-03-24 14:28:38 +00:00
Neil Alexander 8b85fa6fd2 Query room version in federation API, client API as needed 2020-03-24 09:59:48 +00:00
Kegsay 9f74a8798e
bugfix: Fix #908 by setting the correct state after the event (#913)
* bugfix: Fix #908 by setting the correct state after the event

Previously, this would only happen if the state already existed
previously!

* Structured logging
2020-03-16 17:51:58 +00:00
Neil Alexander acb505b717
Implement gomatrixserverlib.HeaderedEvent in roomserver query API (#912)
* 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 6a1111c3d4
Try to recursively find auth events (to a point) if they are missing (#881)
* Try to recursively find auth events (to a point) if they are missing

* Remove recursion limit for now and other review fixes

* Simplify error handling for recursion

* Pass room version 1 only to MakeJoin until room version support comes later
2020-03-06 16:58:10 +00:00
Neil Alexander 59a1f4b8ed
Remove httputil.LogThenError so that the line numbers are reported properly - make error reporting slightly more useful (#879) 2020-03-02 16:20:44 +00:00
Behouba Manassé 9937c05bea
Pass cfg by reference around the codebase (#819)
* Pass cfg by reference around the codebase

* Merge branch 'master' into pass-cfg-by-ref

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-02-11 11:18:12 +00:00
ruben 74827428bd use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
Renamed from src/github.com/matrix-org/dendrite/federationapi/routing/send.go (Browse further)