dendrite/internal/config
Kegsay 6353b0b7e4
MSC2836: Threading - part one (#1589)
* Add mscs/hooks package, begin work for msc2836

* Flesh out hooks and add SQL schema

* Begin implementing core msc2836 logic

* Add test harness

* Linting

* Implement visibility checks; stub out APIs for tests

* Flesh out testing

* Flesh out walkThread a bit

* Persist the origin_server_ts as well

* Edges table instead of relationships

* Add nodes table for event metadata

* LEFT JOIN to extract origin_server_ts for children

* Add graph walking structs

* Implement walking algorithm

* Add more graph walking tests

* Add auto_join for local rooms

* Fix create table syntax on postgres

* Add relationship_room_id|servers to the unsigned section of events

* Persist the parent room_id/servers in edge metadata

Other events cannot assert the true room_id/servers for the
parent event, only make claims to them, hence why this is
edge metadata.

* guts to pass through room_id/servers

* Refactor msc2836 to allow handling from federation

* Add JoinedVia to PerformJoin responses

* Fix tests; review comments
2020-11-19 11:34:59 +00:00
..
config_appservice.go API setup refactoring (#1266) 2020-08-13 12:16:37 +01:00
config_clientapi.go Rate limiting (#1385) 2020-09-03 10:12:11 +01:00
config_eduserver.go API setup refactoring (#1266) 2020-08-13 12:16:37 +01:00
config_federationapi.go Remove TLS fingerprints, improve perspective unmarshal handling (#1452) 2020-09-29 17:08:18 +01:00
config_federationsender.go API setup refactoring (#1266) 2020-08-13 12:16:37 +01:00
config_global.go Allow configuring old verify keys (#1443) 2020-09-25 10:58:53 +01:00
config_kafka.go Implement read receipts (#1528) 2020-11-09 18:46:11 +00:00
config_keyserver.go API setup refactoring (#1266) 2020-08-13 12:16:37 +01:00
config_mediaapi.go API setup refactoring (#1266) 2020-08-13 12:16:37 +01:00
config_mscs.go MSC2836: Threading - part one (#1589) 2020-11-19 11:34:59 +00:00
config_roomserver.go API setup refactoring (#1266) 2020-08-13 12:16:37 +01:00
config_signingkeyserver.go Rename serverkeyapi to signingkeyserver (#1492) 2020-10-07 16:23:18 +01:00
config_syncapi.go Fix Docker builds, polylith components (#1269) 2020-08-13 18:27:19 +01:00
config_test.go Remove TLS fingerprints, improve perspective unmarshal handling (#1452) 2020-09-29 17:08:18 +01:00
config_userapi.go API setup refactoring (#1266) 2020-08-13 12:16:37 +01:00
config.go MSC2836: Threading - part one (#1589) 2020-11-19 11:34:59 +00:00