Commit graph

19 commits

Author SHA1 Message Date
Matthew Wild
83e4560a6c mod_http_altconnect: Imported from prosody-modules 6d5a19bdd718 w/changes
Changes from community version:

  - Add options to allow explicit control over whether BOSH/WS is advertised
  - Always serve XML at /host-meta (no guessing based on Accept), least surprising
2025-02-16 13:19:05 +00:00
Matthew Wild
857c61ffd3 mod_muc: Integrate support for vcards/avatars on MUC rooms
This was previously served by a community module (mod_vcard_muc).

It can be disabled by setting `vcard_muc = false` in the config.
2025-02-06 17:08:46 +00:00
Matthew Wild
cafbad2d01 features: Add feature for bundled mod_cloud_notify
Was supposed to be part of commit 2f38f3275a74.
2025-01-14 12:25:53 +00:00
Matthew Wild
3ebf89a8c6 mod_flags: New module to view and manage flags on user accounts via shell/API
This will be useful for server operators to easily identify flagged accounts,
etc.
2025-01-03 11:45:48 +00:00
Kim Alvefur
72f1094ea4 core.features: Advertise that events are fired for SIGUSR1/2
Moved here from mod_posix since these events no longer originate there
2024-03-02 14:14:27 +01:00
Matthew Wild
c3af93fce7 features: Add mod_server_info 2024-02-23 22:45:42 +00:00
Matthew Wild
b9f0c3c0ec features: Add module-ready (for commit e20949a10118) 2024-02-22 09:53:48 +00:00
Kim Alvefur
210f608086 moduleapi: Add :get_option_integer()
Many options in Prosody that are treated as numbers don't make sense as
floats, e.g. sizes and limits measured in bytes.

Simplified implementation based on an earlier attempt dating back to 2020
2023-07-17 00:09:41 +02:00
Kim Alvefur
3c4dc9a754 core.moduleapi: Add :get_option_period for parsing time intervals
E.g. for use in mod_mam and others that take an amount of time before
some (usually cleanup) action is taken.
2023-07-16 19:49:12 +02:00
Kim Alvefur
924064a30a core.moduleapi: Allow specifying an acceptable range for number options 2021-10-05 15:36:38 +02:00
Kim Alvefur
c4abd68e92 moduleapi: Add enum config option method
For when a setting has a few fixed values it can take
2021-01-16 20:40:14 +01:00
Matthew Wild
f7323ed6e4 core, plugins: Split prosody:user role into prosody:{guest,registered,member}
This gives us more granular control over different types of user account.
Accounts registered by IBR get assigned prosody:registered by default, while
accounts provisioned by an admin (e.g. via prosodyctl shell) will receive
prosody:member by default.
2023-06-29 15:36:13 +01:00
Kim Alvefur
dd2e84271f Merge 0.12->trunk 2023-05-24 15:35:28 +02:00
Kim Alvefur
20afe7d20d mod_s2s: Add event where resolver for s2sout can be tweaked
Could be used to implement custom connection methods (c.f. mod_onions)
without needing to duplicate the rest of route_to_new_session().

Adds a feature to enable detection since it can be difficult to detect
support for an event otherwise.
2022-08-18 03:26:32 +02:00
Kim Alvefur
d47a7bb3bd core: Prefix module imports with prosody namespace 2023-03-17 16:23:07 +01:00
Matthew Wild
7309514c2d features: Add "keyval+" 2023-03-21 18:57:33 +00:00
Kim Alvefur
784ad4b1ba core.features: Add feature for prosody.loader
Allows modules explicit dependencies upon its availability
2023-03-18 18:20:03 +01:00
Matthew Wild
341a5fd99f features: Add "permissions" feature for role-auth 2022-08-11 16:47:09 +01:00
Matthew Wild
fdfaff07e0 core.features: New module to track and expose the features supported by Prosody
A "feature" is a simple string, and it's expected that we will add to (and
maybe remove from) this list over the course of time.
2022-02-04 14:10:34 +00:00