# HG changeset patch # User Kim Alvefur # Date 1770490759 -3600 # Node ID f4efb8606b9247acde4a0ddf38e229a8ab3ccf50 # Parent 00735045109d7b97ab21db0a6e4e5966e4dabb08 mod_invites_page,register_web: Add blurb about web dependencies Removed from the mod_invites page in the previous commit but actually relevant here. diff -r 00735045109d -r f4efb8606b92 mod_invites_page/README.md --- 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 ============= diff -r 00735045109d -r f4efb8606b92 mod_invites_register_web/README.md --- 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 =============