Go to file
Matthew Wild 17444cc3bd prosody: Enable push notifications for offline group members by default
This avoids the app needing to gain logic to opt-in to push notifications.
Such logic may be fragile, and introduce additional traffic and round-trips
that would hurt performance.

Note that this will trigger pushes even to users who only use Android or
non-mobile devices. That should cause no issues, and the impact would be
minor. Also considering that non-iOS devices usually remain online most of the
time anyway.

Not accounted for in this commit is the MUC notification filtering side of
things. By default the MUC will push all messages, and
mod_cloud_notify(_filters) will allow all of them through to the device unless
the user explicitly configures otherwise within the app.

If the server can detect whether a MUC is public or private, it can make the
default behaviour more sensible (maybe when adding bookmarks or something?).
In any case, public channels are not a primary use-case for Snikket and can
easily be configured manually in the app for now.
2021-11-16 16:08:16 +00:00
.github Add FUNDING.yml 2021-06-14 11:57:03 +01:00
ansible prosody: Enable push notifications for offline group members by default 2021-11-16 16:08:16 +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