a763cbb0e1
* Put federation client functions into their own file
* Look for missing auth events in RS input
* Remove retrieveMissingAuthEvents from federation API
* Logging
* Sorta transplanted the code over
* Use event origin failing all else
* Don't get stuck on mutexes:
* Add verifier
* Don't mark state events with zero snapshot NID as not existing
* Check missing state if not an outlier before storing the event
* Reject instead of soft-fail, don't copy roominfo so much
* Use synchronous contexts, limit time to fetch missing events
* Clean up some commented out bits
* Simplify `/send` endpoint significantly
* Submit async
* Report errors on sending to RS input
* Set max payload in NATS to 16MB
* Tweak metrics
* Add `workerForRoom` for tidiness
* Try skipping unmarshalling errors for RespMissingEvents
* Track missing prev events separately to avoid calculating state when not possible
* Tweak logic around checking missing state
* Care about state when checking missing prev events
* Don't check missing state for create events
* Try that again
* Handle create events better
* Send create room events as new
* Use given event kind when sending auth/state events
* Revert "Use given event kind when sending auth/state events"
This reverts commit
|
||
---|---|---|
.. | ||
account_data.go | ||
admin_whois.go | ||
aliases.go | ||
auth_fallback.go | ||
capabilities.go | ||
createroom.go | ||
deactivate.go | ||
device.go | ||
directory.go | ||
directory_public.go | ||
directory_public_test.go | ||
getevent.go | ||
joinroom.go | ||
key_backup.go | ||
key_crosssigning.go | ||
keys.go | ||
leaveroom.go | ||
login.go | ||
logout.go | ||
membership.go | ||
memberships.go | ||
openid.go | ||
password.go | ||
peekroom.go | ||
profile.go | ||
receipt.go | ||
redaction.go | ||
register.go | ||
register_secret.go | ||
register_secret_test.go | ||
register_test.go | ||
room_tagging.go | ||
routing.go | ||
sendevent.go | ||
sendtodevice.go | ||
sendtyping.go | ||
state.go | ||
threepid.go | ||
userdirectory.go | ||
voip.go | ||
whoami.go |