aboutsummaryrefslogtreecommitdiffstats
path: root/core/features.lua
Commit message (Collapse)AuthorAgeFilesLines
* moduleapi: Add :get_option_integer()Kim Alvefur2023-07-171-0/+1
| | | | | | | 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
* core.moduleapi: Add :get_option_period for parsing time intervalsKim Alvefur2023-07-161-0/+1
| | | | | E.g. for use in mod_mam and others that take an amount of time before some (usually cleanup) action is taken.
* core.moduleapi: Allow specifying an acceptable range for number optionsKim Alvefur2021-10-051-0/+1
|
* moduleapi: Add enum config option methodKim Alvefur2021-01-161-0/+3
| | | | For when a setting has a few fixed values it can take
* core, plugins: Split prosody:user role into prosody:{guest,registered,member}Matthew Wild2023-06-291-0/+3
| | | | | | | 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.
* Merge 0.12->trunkKim Alvefur2023-05-241-0/+2
|\
| * mod_s2s: Add event where resolver for s2sout can be tweakedKim Alvefur2022-08-181-0/+2
| | | | | | | | | | | | | | | | 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.
* | core: Prefix module imports with prosody namespaceKim Alvefur2023-03-171-1/+1
| |
* | features: Add "keyval+"Matthew Wild2023-03-211-0/+2
| |
* | core.features: Add feature for prosody.loaderKim Alvefur2023-03-181-0/+2
| | | | | | | | Allows modules explicit dependencies upon its availability
* | features: Add "permissions" feature for role-authMatthew Wild2022-08-111-0/+2
|/
* core.features: New module to track and expose the features supported by ProsodyMatthew Wild2022-02-041-0/+8
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.