changeset 6400:f4efb8606b92

mod_invites_page,register_web: Add blurb about web dependencies Removed from the mod_invites page in the previous commit but actually relevant here.
author Kim Alvefur <zash@zash.se>
date Sat, 07 Feb 2026 19:59:19 +0100
parents 00735045109d
children de3dc4297035
files mod_invites_page/README.md mod_invites_register_web/README.md
diffstat 2 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_invites_page/README.md	Sat Feb 07 19:48:30 2026 +0100
+++ b/mod_invites_page/README.md	Sat Feb 07 19:59:19 2026 +0100
@@ -44,6 +44,21 @@
 For a complete experience one should also load
 [mod_invites_register], [mod_invites_register_web], [mod_register_apps] and [mod_http_libjs] see [mod_invites]
 
+External dependencies
+---------------------
+
+The default HTML templates for the web-based modules depend on some CSS and Javascript
+libraries. They expect these to be available at `https://example.com/share`. An easy
+way of doing this if you are on Debian  is to enable [mod_http_libjs] and install
+the following packages:
+
+    apt install libjs-bootstrap4 libjs-jquery
+
+On other systems you will need to manually put these libraries somewhere on the filesystem
+that Prosody can read, and serve them using mod_http_libjs with a custom `libjs_path`
+setting.
+
+
 Configuration
 =============
 
--- a/mod_invites_register_web/README.md	Sat Feb 07 19:48:30 2026 +0100
+++ b/mod_invites_register_web/README.md	Sat Feb 07 19:59:19 2026 +0100
@@ -60,6 +60,21 @@
 policies will be enforced for all registrations on the server if not
 explicitly loaded or configured.
 
+External dependencies
+---------------------
+
+The default HTML templates for the web-based modules depend on some CSS and Javascript
+libraries. They expect these to be available at `https://example.com/share`. An easy
+way of doing this if you are on Debian  is to enable [mod_http_libjs] and install
+the following packages:
+
+    apt install libjs-bootstrap4 libjs-jquery
+
+On other systems you will need to manually put these libraries somewhere on the filesystem
+that Prosody can read, and serve them using mod_http_libjs with a custom `libjs_path`
+setting.
+
+
 Compatibility
 =============