Commit Graph

517 Commits

Author SHA1 Message Date
Matthew Wild
a194b781f3 Bump prosody-modules to 0570f1e2edf4 2025-10-09 14:19:37 +01:00
Matthew Wild
a3a2bc7d66 Bump Prosody, enable mod_protect_last_admin 2025-10-06 13:01:24 +01:00
Matthew Wild
aa6d6a5390
Merge pull request #266 from snikket-im/z/unhealth
Dockerfile: Remove noisy health check
2025-09-28 16:56:22 +01:00
Kim Alvefur
ac8ff57c01 Dockerfile: Remove noisy health check
Using the Shell causes a lot verbose and scary logging that users
often interpret as being attacked.

Doing health checks via HTTP is unrelaible because of the use of host
networking, where another XMPP server or something already running on
the checked ports being indistinguishable from Snikket running there.
2025-09-28 15:49:37 +02:00
Matthew Wild
8c26ac7076 Use mod_restrict_federation for limited users (fixes #233) 2025-09-25 13:22:23 +01:00
Matthew Wild
bbd06a3a2f Bump Prosody 2025-09-22 13:12:36 +01:00
Matthew Wild
a586afbbb7 Bump prosody and prosody-modules, fixes #263 2025-08-05 13:30:12 +01:00
Matthew Wild
e925a895bf Update prosody + prosody-modules for various fixes/improvements 2025-07-23 14:45:20 +01:00
Matthew Wild
02ea1054fb
Merge pull request #260 from snikket-im/z/cleanupdig
Remove unused variable along with DNS tooling
2025-07-18 12:50:10 +01:00
Kim Alvefur
c79fbcbef1 Remove unused variable along with DNS tooling 2025-07-18 13:39:46 +02:00
Matthew Wild
82c82f3fc6
Merge pull request #257 from snikket-im/z/turnconditional
Silence failure to initialize mod_turn_external when coturn disabled
2025-07-17 16:35:50 +01:00
Matthew Wild
5f63da1c71
Merge pull request #259 from snikket-im/z/nosetcap
Clean up unused low port capability
2025-07-17 16:35:05 +01:00
Matthew Wild
534bf1ed5c
Merge pull request #258 from snikket-im/z/luaapi
Silence direct usage of the Lua API warnings
2025-07-17 16:34:33 +01:00
Kim Alvefur
86b40c98d9 Remove low port capability from Prosody
No longer needed since 6c25508ec2

Originally added in 166e000b12
2025-07-17 16:57:47 +02:00
Kim Alvefur
d7ac374fb3 Conditionally load mod_turn_external when enabled
Silences the error mod_turn_external produces when loaded without
configuration
2025-06-29 13:55:14 +02:00
Kim Alvefur
e3c72f7fa5 Add 'Lua' prefix a last few places in config 2025-06-29 13:45:23 +02:00
Matthew Wild
832205da9d
Merge pull request #254 from snikket-im/z/modconflicts
Remove conflicting community modules
2025-06-27 10:59:03 +01:00
Kim Alvefur
f44dd6eb79 Remove community version of push notifications
This removes a warning from the logs, because this is included with
Prosody now.

> Not loading module, due to conflict with built-in features
2025-06-27 00:04:10 +02:00
Kim Alvefur
4e1705f99b Remove old module for group chat avatars
This is included in Prosody now and the module does not load anyway due
to conflicting feature.

This removes a warning in the logs on startup.

> Not loading module, due to conflict with built-in features
2025-06-27 00:04:10 +02:00
Matthew Wild
453e9e4f4d Add tweaks for new features (share proxy, gc3) 2025-06-26 15:46:17 +01:00
Matthew Wild
4a4fffd71c Bump prosody + prosody-modules 2025-06-26 15:45:21 +01:00
Matthew Wild
1d0ff91c69
Merge pull request #256 from singpolyma/enable-push2
Enable push2 by default
2025-06-25 15:59:46 +01:00
Stephen Paul Weber
8a2b1608a9
Enable push2 by default 2025-06-25 09:58:00 -05:00
Matthew Wild
aef8659cfa
Merge pull request #253 from snikket-im/ka/oauthfixes
Update prosody-modules snapshot for mod_http_oauth2 improvements
2025-06-05 17:56:41 +01:00
Kim Alvefur
31a50a1604 Update prosody-modules snapshot for mod_http_oauth2 improvements
No longer required to include the "code" response type when registering
a password-grant-only client.
2025-06-03 18:51:27 +02:00
Matthew Wild
bbbcab8ead
Merge pull request #252 from snikket-im/noluaossl
Drop lua-luaossl since mod_cloud_notify_encrypted no longer needs it
2025-06-02 14:28:18 +01:00
Kim Alvefur
cae89e911d Drop lua-luaossl
mod_cloud_notify_encrypted no longer needs lua-luaossl
2025-06-02 15:03:59 +02:00
Matthew Wild
b6849b8060 Updates for Prosody trunk (~13.0)
Notable changes:

 - OAuth2 now requires client authentication for the password grant type (see
   related changes in snikket-web-portal)
 - Invitations page support is now built into mod_invites, we just need to
   tell it that Snikket's page supports password resets
 - mod_account_activity provides a built-in way to record last account
   activity time, and removes the need for the mod_lastlog2 community module

The --admin option for mod_invites is broken in the current Prosody snapshot.
A fix has been committed already, and will be included in the next nightly
build (which I'm sure we'll update to before a snikket-server release).
2025-06-02 13:08:11 +01:00
Matthew Wild
f56ad011cb
Merge pull request #249 from snikket-im/z/cleanup/supervisord
Remove unused supervisord config
2025-03-31 16:40:44 +01:00
Kim Alvefur
489b7ae331 Remove unused supervisord config
See PR #185 and rev d7a5c5acc7
2025-03-31 17:28:55 +02:00
Matthew Wild
9c10d8db5d
Merge pull request #230 from snikket-im/fix/dockercompose
Update docs for compose v2
2025-03-05 16:23:23 +00:00
Matthew Wild
20a39b85f2 Bump prosody to 2025-02-06 2025-02-06 10:32:59 +00:00
Matthew Wild
9cae1f49aa Bump prosody-modules to e977174082ee 2025-02-06 10:26:10 +00:00
Matthew Wild
b8421b44d6 Bump prosody-modules to 94399ad6b5ab
This is primarily for the mod_invites_register_api fix.
2025-02-06 10:17:18 +00:00
Matthew Wild
a5e0b1f467
Merge pull request #245 from snikket-im/no-localhost
Delete localhost cert created by package postinst script
2025-02-05 21:12:45 +00:00
Matthew Wild
879fc03edc
Merge pull request #246 from singpolyma/update-push2
Update mod_push2 to get latest fixes
2025-02-05 21:12:24 +00:00
Matthew Wild
690a4f76c5
Merge pull request #244 from singpolyma/push2-email
Some webpush (such as safari) requires a URL
2025-02-05 21:12:08 +00:00
Stephen Paul Weber
a3d7a28dbb
Update mod_push2 to get latest fixes 2025-02-05 11:05:11 -05:00
Stephen Paul Weber
6aa1b44dc5
Some webpush (such as safari) requires URL
Mozilla isn't picky and will take our xmpp URI default, but Safari
really wants "a URL or mailto:"

https://developer.apple.com/documentation/usernotifications/sending-web-push-notifications-in-web-apps-and-browsers
2025-02-03 13:29:43 -05:00
Kim Alvefur
803119964b Delete localhost cert created by package postinst script 2025-01-27 11:05:19 +01:00
Kim Alvefur
17ab541d93 Simplify config with new read-from-file feature
Uses new feature added in https://hg.prosody.im/trunk/rev/ac60c21015c7
to simplify retrieving the turnserver secret, avoiding one direct usage
of the Lua stdlib
2025-01-17 16:21:19 +01:00
Matthew Wild
1cb961976d
Bump Prosody version to correct year 2025-01-07 22:20:23 +00:00
Matthew Wild
042289edde
Merge pull request #242 from singpolyma/update-push2
Update prosody and modules, especially for push2
2025-01-07 19:01:41 +00:00
Stephen Paul Weber
713f6af93b
Update prosody and modules, especially for push2
Latest mod_push2 requires fairly new trunk
2025-01-07 13:59:06 -05:00
Matthew Wild
3ecfa716b4 prosody: Explicitly set MUC host for mod_groups_internal
This is now required since a change upstream
( https://hg.prosody.im/prosody-modules/rev/f80db102fdb1 ) has disabled MUC
integration by default. We're not yet using that commit, but setting this
explicitly now will future-proof it for when we are.
2025-01-01 14:18:29 +00:00
Matthew Wild
ff176cb767
Merge pull request #241 from snikket-im/mod_snikket_version
Manage publishing of Snikket version from new module
2024-11-16 19:45:11 +00:00
Kim Alvefur
aca15d3914 Manage publishing of Snikket version from new module
Overwriting `prosody.version` makes it difficult to determine the
Prosody version, which is useful to know while investigating or
debugging issues.

By using a different file and reading it once from a module, the Prosody
version can still be discovered via `prosodyctl about` and similar.
2024-11-16 20:12:36 +01:00
Matthew Wild
f89e01402b entrypoint.sh: Migrate data stores before any other migrations
The migration code checks that the migration hasn't already happened (e.g. by
testing whether prosody.sqlite exists). However we do various other operations
before this point (via prosodyctl) which may initialize the new data store of
the desired type.

If this happens, the migration code will assume that a migration already
happened and skip the migration.

This changes the order to ensure data store migrations always happen first,
and adds a comment to inform future devs about this potential issue.
2024-08-12 14:48:02 +01:00
Kim Alvefur
8c04dda2e0 docs: Update to use docker compose instead of docker-compose
Seems people have a recent enough Docker to have the new command, so
mention of the old docker-compose v1 only casues confusion.
2024-08-10 14:07:11 +02:00
Matthew Wild
6239858d1e docs: Add note about NPM to reverse proxy docs 2024-07-17 11:32:04 +01:00