mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
* Use content_value instead of membership
* Fix build
* Replace publicroomsapi with a combination of clientapi/roomserver/currentstateserver
- All public rooms paths are now handled by clientapi
- Requests to (un)publish rooms are sent to the roomserver via `PerformPublish`
which are stored in a new `published_table.go`
- Requests for public rooms are handled in clientapi by:
* Fetch all room IDs which are published using `QueryPublishedRooms` on the roomserver.
* Apply pagination parameters to the slice.
* Do a `QueryBulkStateContent` request to the currentstateserver to pull out
required state event *content* (not entire events).
* Aggregate and return the chunk.
Mostly but not fully implemented (DB queries on currentstateserver are missing)
* Fix pq query
* Make postgres work
* Make sqlite work
* Fix tests
* Unbreak pagination tests
* Linting
|
||
|---|---|---|
| .. | ||
| account_data.go | ||
| auth_fallback.go | ||
| capabilities.go | ||
| createroom.go | ||
| device.go | ||
| directory.go | ||
| directory_public.go | ||
| directory_public_test.go | ||
| getevent.go | ||
| joinroom.go | ||
| leaveroom.go | ||
| login.go | ||
| logout.go | ||
| membership.go | ||
| memberships.go | ||
| profile.go | ||
| register.go | ||
| register_test.go | ||
| room_tagging.go | ||
| routing.go | ||
| sendevent.go | ||
| sendtodevice.go | ||
| sendtyping.go | ||
| state.go | ||
| threepid.go | ||
| voip.go | ||
| whoami.go | ||