aboutsummaryrefslogtreecommitdiff
path: root/dendrite-config.yaml
diff options
context:
space:
mode:
authorBrendan Abolivier <contact@brendanabolivier.com>2017-08-22 11:12:51 +0100
committerMark Haines <mjark@negativecurvature.net>2017-08-22 11:12:51 +0100
commitb15ce900abe2309c2d8ce73c1be9254bc772490c (patch)
tree9c540e96af90b670c614b6f3c7d41e657005820f /dendrite-config.yaml
parentfc86821a9074fbe471f87ab92fbebb41a8c9c373 (diff)
Implement public rooms APIs (#185)
* Move events contents to common * Basic database structure * Complete database update * Support visibility update and retrieval * Add HTTP methods for visibility update and retrieval * Add the database for the new component * Add a listener for the new component * Fix attribute update statements * Create public rooms component * Fix failing test * Add roomserver consumer * Fix a bug in aliases creation * Add a check on type * Implement public rooms directory * Use auth API for visibility update * Support filtering * Add component to monolith * Various fixes * Fix computation of next public rooms batch * Retrieve state events from the roomserver query API + avoid dupes on join * Split update of string or boolean attribute in two separate functions * Use event type to detect duplicate joins * Improve the joined members counter computation * Use event.RoomID()
Diffstat (limited to 'dendrite-config.yaml')
-rw-r--r--dendrite-config.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/dendrite-config.yaml b/dendrite-config.yaml
index 8275ac4e..a91429c2 100644
--- a/dendrite-config.yaml
+++ b/dendrite-config.yaml
@@ -72,6 +72,7 @@ database:
room_server: "postgres://dendrite:itsasecret@localhost/dendrite_roomserver?sslmode=disable"
server_key: "postgres://dendrite:itsasecret@localhost/dendrite_serverkey?sslmode=disable"
federation_sender: "postgres://dendrite:itsasecret@localhost/dendrite_federationsender?sslmode=disable"
+ public_rooms_api: "postgres://dendrite:itsasecret@localhost/dendrite_publicroomsapi?sslmode=disable"
# The TCP host:port pairs to bind the internal HTTP APIs to.
# These shouldn't be exposed to the public internet.
@@ -82,3 +83,4 @@ listen:
federation_api: "localhost:7772"
sync_api: "localhost:7773"
media_api: "localhost:7774"
+ public_rooms_api: "localhost:7775"