From a089224630f7434b6b50ee3d166e410400b39224 Mon Sep 17 00:00:00 2001 From: lda Date: Fri, 5 Jan 2024 01:04:17 +0100 Subject: [PATCH] [META/MOD] Modify changelog and config page. --- docs/CHANGELOG.md | 3 +++ docs/user/config.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 6f62558..8ab1b23 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -31,6 +31,7 @@ The following endpoints were added: ### Bug Fixes & General Improvements +- Use `j2s` for parsing the configuration - Fixed a double-free in `RouteUserProfile()` that would cause errors with certain Matrix clients. (#35) - Improved compatibility with NetBSD on various platforms. @@ -43,6 +44,8 @@ parsing request bodies. ### New Features +- Implemented a `"pid"` option in the configuration, allowing Telodendria +to write its process ID to a specified file. - Moved all administrator API endpoints to `/_telodendria/admin/v1`, because later revisions of the administrator API may break clients, so we want a way to give those breaking revisions new endpoints. diff --git a/docs/user/config.md b/docs/user/config.md index f021633..a51c2e2 100644 --- a/docs/user/config.md +++ b/docs/user/config.md @@ -106,6 +106,9 @@ Here are the top-level directives: or you want to start over. **serverName** should be a DNS name that can be publicly resolved. This directive is required. +- **pid:** `String` + Configure the file Telodendria writes its PID to. + - **baseUrl:** `String` Set the server's base URL. **baseUrl** should be a valid URL,