mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -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
|
||
|---|---|---|
| .. | ||
| event_json_table.go | ||
| event_state_keys_table.go | ||
| event_types_table.go | ||
| events_table.go | ||
| invite_table.go | ||
| membership_table.go | ||
| previous_events_table.go | ||
| published_table.go | ||
| room_aliases_table.go | ||
| rooms_table.go | ||
| state_block_table.go | ||
| state_block_table_test.go | ||
| state_snapshot_table.go | ||
| storage.go | ||
| transactions_table.go | ||