Matthew Wild
6ab178385f
Merge pull request #83 from snikket-im/auto-enable-group-push
...
prosody: Enable push notifications for offline group members by default
2021-11-16 19:21:20 +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
a24eddab8b
prosody: Add symlink for mod_muc_offline_delivery
2021-11-15 14:15:56 +00:00
Matthew Wild
77ecd4d9b9
Merge pull request #77 from snikket-im/fix/restricted-users
...
Fix restricted users
2021-11-12 21:46:00 +00:00
Matthew Wild
fb518da3c8
Merge branch 'master' into fix/restricted-users
2021-11-12 21:45:38 +00:00
Matthew Wild
b2b1ea3660
Merge pull request #76 from snikket-im/feature/admin-shell-prompt
...
prosody: Show Snikket domain in admin shell prompt
2021-11-12 16:02:51 +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
ce14c8153b
prosody: Load mod_snikket_restricted_users on main host
2021-11-12 15:56:52 +00:00
Matthew Wild
08080f03b9
prosody: Show Snikket domain in admin shell prompt
2021-11-12 13:43:50 +00:00
Matthew Wild
2d623e7bf5
Merge pull request #75 from snikket-im/fix/tweak-gc-defaults
...
prosody: Tune GC to be more aggressive by default
2021-11-11 14:57:53 +00:00
Matthew Wild
e19b0a32af
prosody: Tune GC to be more aggressive by default
...
It appears that, in some environments at least, large file uploads can still
cause a significant increase in RAM. This reduces that effect.
It is expected that a future release will switch to Lua 5.4, which has shown
to have far better GC behaviour.
2021-11-11 14:40:09 +00:00
Matthew Wild
b57057f809
Merge pull request #74 from snikket-im/fix/no-roles-no-isolation
...
mod_snikket_restricted_users: Don't isolate users with no roles
2021-11-10 17:51:14 +00:00
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
Matthew Wild
f85250461c
CHANGELOG: Add unreleased changes
2021-11-10 14:41:44 +00:00
Matthew Wild
631c3acc99
Merge pull request #72 from snikket-im/restricted-users
...
Restrictions for restricted users
2021-11-09 16:21:39 +00:00
Matthew Wild
8d16897cff
Merge pull request #73 from snikket-im/fix-uploads-allow-for-gcm-tag
...
prosody: Add 16 bytes to upload limit to allow for appended GCM tag
2021-11-09 16:17:50 +00:00
Matthew Wild
ca242ce8a4
prosody: Add 16 bytes to upload limit to allow for appended GCM tag (XEP-0454)
2021-11-09 14:25:56 +00:00
Matthew Wild
a5084a289e
mod_snikket_restricted_users: Add some explanatory comments
2021-11-09 12:28:50 +00:00
Matthew Wild
40daaa883b
prosody: Disable user invitations for restricted users
...
Note that this currently has no effect, because user and contact invitations
are disabled globally for non-admins.
2021-11-09 12:01:59 +00:00
Matthew Wild
263d5cf286
prosody: Bump to trunk build 1535 + prosody-modules 8bd36bba2292
2021-11-09 11:51:16 +00:00
Matthew Wild
d47a6ddbc0
mod_snikket_restricted_users: Use event.actor, which is preferred and always present
2021-11-09 11:23:49 +00:00
Matthew Wild
2f997d50b5
prosody: Enable mod_snikket_restricted_users on MUC host to enforce channel creation
2021-11-09 11:23:19 +00:00
Matthew Wild
0294b0e7e0
prosody: Prevent restricted users from creating public channels ( #37 )
2021-11-08 16:13:07 +00:00
Matthew Wild
5dddfeb876
prosody: Prevent federation for users with prosody:restricted role ( #37 )
2021-11-08 12:51:14 +00:00
Matthew Wild
00ad72bcf1
prosody: add symlink for mod_cloud_notify_extensions
2021-11-02 12:52:51 +00:00
Matthew Wild
1fe4571ab4
mod_snikket_ios_preserve_push: Handle case where user has no push registrations stored
2021-11-01 10:16:08 +00:00
Matthew Wild
e125e70e3e
docs: Fix missing quote in command
2021-10-20 20:49:09 +01:00
Matthew Wild
94a279a277
docs: Fix infoboxes in the quickstart to be mkdocs-compatible
2021-10-20 14:20:20 +01:00
Matthew Wild
609183c305
Makefile: Some fixes for the docs build process
2021-10-20 14:03:36 +01:00
Matthew Wild
6160d259e6
docs: Add troubleshooting guide
2021-10-20 14:03:08 +01:00
Matthew Wild
dae151c7c9
prosody: Add new module to load push registration for new sessions
2021-10-18 14:17:20 +01:00
Matthew Wild
ff38924c47
Merge pull request #71 from Zash/repo-filename
...
Specify a filename for repository
2021-10-18 13:52:15 +01:00
Matthew Wild
adb1fb92ae
prosody: Bump prosody-modules for cloud_notify improvements
2021-10-18 13:51:55 +01:00
Matthew Wild
83c757c786
prosody: Add module to expose stable client id across sessions
2021-10-18 13:50:36 +01:00
Kim Alvefur
30e05e8754
Specify a filename for repository
...
So that it stays the same even if the URL is changed.
2021-10-18 14:15:32 +02:00
Matthew Wild
deddef38f2
prosody: Use new cloud_notify_extensions meta-module
2021-10-16 21:23:05 +01:00
Matthew Wild
f6cf8f2645
prosody: Add mod_muc_offline_delivery for group notifications on iOS
2021-10-16 21:23:05 +01:00
Matthew Wild
7f94dd21bc
Update prosody + prosody-modules
2021-10-16 21:23:05 +01:00
Matthew Wild
0ce5d3acf5
Merge pull request #70 from snikket-im/http-upload-limits
...
New HTTP upload limits and quota
2021-10-14 14:52:17 +01:00
Matthew Wild
c02b8b7f3f
docs/advanced/config: document new SNIKKET_UPLOAD_STORAGE_GB option
2021-10-14 14:50:22 +01:00
Matthew Wild
88b61461cc
prosody: more consistent environment variable import
2021-10-14 14:35:42 +01:00
Matthew Wild
03f0bb2bd9
prosody: Allow configuration of global upload storage quota
2021-10-14 14:16:04 +01:00
Matthew Wild
6852c37111
prosody: Bump per-upload limit from 16MB to 100MB
2021-10-14 14:14:48 +01:00
Matthew Wild
301ee238be
Merge pull request #68 from horazont/feature/upload-size-config-name-fix
...
Fix incorrect config option
2021-10-06 17:22:31 +01:00
Jonas Schäfer
dabfaa2132
Fix incorrect config option
...
Both the docs [1] and the code [2] of mod_http_file_share agree that it
should be `http_file_share_size_limit`, not
`http_file_share_file_size_limit`.
[1]: https://prosody.im/doc/modules/mod_http_file_share#larger-files
[2]: https://hg.prosody.im/trunk/file/default/plugins/mod_http_file_share.lua#l35
2021-10-06 17:43:30 +02:00
Matthew Wild
29ae464a47
Merge pull request #65 from horazont/feature/docs-advanced-config
...
Add documentation for advanced config options
2021-10-03 16:45:15 +01:00
Jonas Schäfer
78946c32fd
Add documentation for advanced config options
...
Fixes #38 .
2021-10-03 17:38:29 +02: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
384fdf3454
Merge pull request #62 from distefam/patch-1
...
Add instructions for configuring firewall via UFW
2021-09-09 20:53:17 +01:00
Michael DiStefano
103876e0fd
Add instructions for configuring firewall via UFW
2021-09-09 14:01:08 -04:00