Commit Graph

15 Commits

Author SHA1 Message Date
Matthew Wild e5d493483e prosody: Bump prosody-modules for bugfix in 4abb33a15897 2021-11-19 17:02:09 +00:00
Matthew Wild fbc5a46c43 prosody: Bump prosody-modules for bugfix in fd90925dc239 2021-11-18 09:09:05 +00:00
Matthew Wild ad694d6436 prosody: Enable mod_measure_active_users
This allows an operator (via Prometheus, or eventually the web portal) to keep
tabs on how many people are using the server, e.g. to assist with capacity
planning. This will become more important once we allow user-to-user account
invitations.
2021-11-17 13:51:05 +00:00
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
Matthew Wild a2714fc178 prosody: Bump to build 1540 for role improvements
This change will disconnect user sessions when their role changes, ensuring
appropriate policies are always enforced.
2021-11-12 15:58:34 +00:00
Matthew Wild 263d5cf286 prosody: Bump to trunk build 1535 + prosody-modules 8bd36bba2292 2021-11-09 11:51:16 +00:00
Matthew Wild adb1fb92ae prosody: Bump prosody-modules for cloud_notify improvements 2021-10-18 13:51:55 +01:00
Matthew Wild 7f94dd21bc Update prosody + prosody-modules 2021-10-16 21:23:05 +01:00
Matthew Wild 78b3d4e7e4 ansible: Update Prosody and prosody-modules
Specifically for cloud_notify and mod_message fixes to support MUC push
notifications.
2021-09-26 11:56:59 +01:00
Matthew Wild 2c3ca07ee0 Add and enable mod_spam_reporting/mod_watch_spam_reports 2021-08-26 19:42:26 +01:00
Jonas Schäfer 690f58bb27 Expose prosody metrics to the web portal
This requires mod_measure_process loaded and a recent version
of mod_http_admin_api to expose the metrics to the web portal in
a reduced and specialized form.
2021-05-27 18:08:26 +02:00
Matthew Wild 1bc336d933 Bump prosody-modules to 8e58a1b78336 2021-05-17 21:22:54 +01:00
Matthew Wild a948cc141f Install latest prosody from deb, factor out variables 2021-05-17 21:22:01 +01:00
Matthew Wild 0793106447 Flesh out coturn config, autodiscover external IP 2020-05-12 15:10:59 +01:00
Matthew Wild d6157c6a15 Initial commit 2020-01-31 13:46:46 +00:00