Go to file
Matthew Wild 457096a13d mod_snikket_restricted_users: Don't isolate users with no roles
The code was originally written to fail safe in the event of failure, hence
the 'if roles and ...'. However a user with no roles (which is normal for a
normal user, especially on upgrade) can return nil.

Failure is signified by 'false', so now we explicitly catch this and return
early without bypassing isolation. Users with no roles (nil) or with roles
but not prosody:restricted bypass isolation.
2021-11-10 17:27:09 +00:00
.github Add FUNDING.yml 2021-06-14 11:57:03 +01:00
ansible Merge pull request #72 from snikket-im/restricted-users 2021-11-09 16:21:39 +00:00
docker Switch to mod_http_file_share 2021-07-31 21:05:09 +02:00
docs docs: Fix missing quote in command 2021-10-20 20:49:09 +01:00
snikket-modules mod_snikket_restricted_users: Don't isolate users with no roles 2021-11-10 17:27:09 +00:00
tools Initial commit 2020-01-31 13:46:46 +00:00
.hg_archival.txt Initial commit 2020-01-31 13:46:46 +00:00
.hgignore Initial commit 2020-01-31 13:46:46 +00:00
CHANGELOG.md CHANGELOG: Add unreleased changes 2021-11-10 14:41:44 +00:00
Dockerfile Merge branch 'master' into fix_apt_cruft2 2021-07-31 14:27:28 +01:00
LICENSE Clarify licensing as Apache 2.0 2020-02-17 17:29:25 +00:00
Makefile Makefile: Some fixes for the docs build process 2021-10-20 14:03:36 +01:00
NOTICE Clarify licensing as Apache 2.0 2020-02-17 17:29:25 +00:00
README.md Update README to be more friendly for people first discovering the project 2021-06-10 14:02:41 +01:00
docker-compose.yml docker-compose.yml: Update to new image name for snikket-server 2021-02-02 14:07:51 +00:00
mkdocs.yml docs: Add troubleshooting guide 2021-10-20 14:03:08 +01:00
po4a.conf Commit initial po4a config for docs translation (workflow still needs work) 2020-11-10 13:57:22 +00:00
snikket.conf.example Initial commit 2020-01-31 13:46:46 +00:00

README.md

Snikket server images

This is the source repository for building Snikket service Docker images.

Snikket is an open-source self-hosted personal messaging service. It aims to provide an alternative to proprietary and centralized messaging platforms while supporting all the expected features and being easy to use.

For more information see the Snikket website.

Getting Started with Snikket

For instructions on getting started with Snikket, see the Snikket installation guide on our website.

Building images

This section is for people who want to build their own images of Snikket, e.g. for development purposes.

Requirements

  • GNU make
  • docker (tested on 19.03.5)
  • ansible (tested on 2.7 (debian buster))

Building

Run make

Running

The easiest way is to use docker-compose. Copy the file snikket.conf.example to snikket.conf and edit the values in it. Then run:

docker-compose up -d