Commit graph

9 commits

Author SHA1 Message Date
Till Faelligen edb5b4b637
Let CreateConfig return a ProcessContext 2023-03-20 16:10:56 +01:00
Till Faelligen fffd2d9228
Test updates, I guess 2023-03-20 15:48:56 +01:00
Till Faelligen 1d2429cf58
Remove BaseDendrite from userAPI 2023-03-20 14:28:32 +01:00
Till Faelligen b7947c38e8
Remove BaseDendrite from roomserver 2023-03-20 14:05:36 +01:00
Till Faelligen 75ba4ec770
Remove BaseDendrite from appservice 2023-03-20 11:11:53 +01:00
Till Faelligen 93d0fba3c0
Remove NATS from BaseDendrite 2023-03-20 10:37:53 +01:00
Till 5579121c6f
Preparations for removing BaseDendrite (#3016)
Preparations to actually remove/replace `BaseDendrite`.
Quite a few changes:
- SyncAPI accepts an `fulltext.Indexer` interface (fulltext is removed
from `BaseDendrite`)
- Caches are removed from `BaseDendrite`
- Introduces a `Router` struct (likely to change)
  - also fixes #2903
- Introduces a `sqlutil.ConnectionManager`, which should remove
`base.DatabaseConnection` later on
- probably more
2023-03-17 11:09:45 +00:00
Till 4594233f89
Merge keyserver & userapi (#2972)
As discussed yesterday, a first draft of merging the keyserver and the
userapi.
2023-02-20 14:58:03 +01:00
Till 5eed31fea3
Handle guest access [1/2?] (#2872)
Needs https://github.com/matrix-org/sytest/pull/1315, as otherwise the
membership events aren't persisted yet when hitting `/state` after
kicking guest users.

Makes the following tests pass:
```
Guest users denied access over federation if guest access prohibited
Guest users are kicked from guest_access rooms on revocation of guest_access
Guest users are kicked from guest_access rooms on revocation of guest_access over federation
```

Todo (in a follow up PR):
- Restrict access to CS API Endpoints as per
https://spec.matrix.org/v1.4/client-server-api/#client-behaviour-14

Co-authored-by: kegsay <kegan@matrix.org>
2022-12-22 13:05:59 +01:00