haccfiles/hosts/hainich/services
stuebinm 84ac81435e hainich: hacky version of thelounge as webchat
Intended for KontraIAA; requirements were that it should be a simple and
non-confusing as possible.

I tried both KiwiIRC and thelounge, and found both horrible to
package (a fact not helped by the somewhat opaque structure of
nixpkgs.nodePackages, which does contain a version of thelounge but
will apparently ignore overrides of the src attribute).

Instead, this now contains a very hacky version of thelounge, which
merely takes the already-built version from nixpkgs and glues some extra
css to it which hides potentially confusing fields.

Things hidden on the "connect" screen:
 - the "name" field (since thelounge offers "nick" "name" and "realname"
   by default, which seems too much for something embedded on a website)
 - the "I have a password" checkbox

Things hidden on the general view:
 - the button to open the side panel (the panel itself is not hidden,
   and will appear by itself on wider layouts), so that users will only
   see that one channel
 - the "channel options" menu (which includes a "leave channel" option
   which would effectively break the webchat)

Things not addressed:
 - thelounge has autocompletion for /join /leave, etc. Do we want to
   disable that as well?
 - It would probably useful to suppress all the "x joined the channel"
   messages. Thelounge supports this, but apparently doesn't support
   setting it as default?

Misc:
 - for now, users will be connected to #thelounge on libera.chat, which
   appears to be okay with being used as an experimental channel
 - I allowed prefetching link previews, but only on the server's side
   (i.e. users' browsers won't fetch content from arbitrary sites)
 - not yet tested on hainich, but should work (tested in a NixOS
   container)
 - currently assumes a "webchat.voc.hacc.space" domain (I think we had a
   voc domain? but I forgot where it is …)
2021-08-23 19:32:02 +00:00
..
ghost_waszumfff.nix hainich: init ghost A20 2021-05-12 19:37:15 +00:00
gitlab-runner.nix hainich/gitlab-runner: limit nix builds to 1 2021-05-10 14:39:51 +00:00
hedgedoc_hacc.nix hainich:add hedgedoc for i4f 2021-06-02 19:08:54 +00:00
hedgedoc_i4f.nix hainich:add hedgedoc for i4f 2021-06-02 19:08:54 +00:00
lantifa.nix hainich/mediawiki: Fix broken URL to plugin 2021-06-11 19:08:22 +02:00
mail.nix mail: emergency alias 2021-08-03 17:13:46 +00:00
mattermost.nix mattermost: add recommended proxy settings 2021-07-18 21:26:14 +02:00
monitoring.nix hainich/monitoring: init prometheus 2021-02-06 16:41:02 +00:00
murmur.nix hainich/mumble: import website from sources.json 2021-04-16 15:54:25 +02:00
nginx.nix hainich/nginx: disable interest cohort globally 2021-04-15 10:16:20 +02:00
syncthing.nix Revert "security: remove hexchen" 2021-03-26 22:04:27 +01:00
thelounge.nix hainich: hacky version of thelounge as webchat 2021-08-23 19:32:02 +00:00
workadventure.nix workadventure: fix turn ipv4 address 2021-04-29 22:20:10 +00:00