Software /
code /
prosody
Annotate
core/features.lua @ 13204:c9ef35fab0b1
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 16 Jul 2023 19:49:12 +0200 |
parent | 13203:aa6c2692a4be |
child | 13211:4d4f9e42bcf8 |
rev | line source |
---|---|
12972
ead41e25ebc0
core: Prefix module imports with prosody namespace
Kim Alvefur <zash@zash.se>
parents:
12957
diff
changeset
|
1 local set = require "prosody.util.set"; |
12252
4bfe658415a0
core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 |
4bfe658415a0
core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 return { |
4bfe658415a0
core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 available = set.new{ |
4bfe658415a0
core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
5 -- mod_bookmarks bundled |
4bfe658415a0
core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
6 "mod_bookmarks"; |
12655
a5a0783e9241
features: Add "permissions" feature for role-auth
Matthew Wild <mwild1@gmail.com>
parents:
12252
diff
changeset
|
7 -- Roles, module.may and per-session authz |
a5a0783e9241
features: Add "permissions" feature for role-auth
Matthew Wild <mwild1@gmail.com>
parents:
12252
diff
changeset
|
8 "permissions"; |
12955
d32926897ca4
core.features: Add feature for prosody.loader
Kim Alvefur <zash@zash.se>
parents:
12655
diff
changeset
|
9 -- prosody.* namespace |
d32926897ca4
core.features: Add feature for prosody.loader
Kim Alvefur <zash@zash.se>
parents:
12655
diff
changeset
|
10 "loader"; |
12957 | 11 -- "keyval+" store |
12 "keyval+"; | |
13110
d5f322dd424b
mod_s2s: Add event where resolver for s2sout can be tweaked
Kim Alvefur <zash@zash.se>
parents:
12252
diff
changeset
|
13 |
d5f322dd424b
mod_s2s: Add event where resolver for s2sout can be tweaked
Kim Alvefur <zash@zash.se>
parents:
12252
diff
changeset
|
14 "s2sout-pre-connect-event"; |
13170
082c7d856e61
core, plugins: Split prosody:user role into prosody:{guest,registered,member}
Matthew Wild <mwild1@gmail.com>
parents:
13111
diff
changeset
|
15 |
082c7d856e61
core, plugins: Split prosody:user role into prosody:{guest,registered,member}
Matthew Wild <mwild1@gmail.com>
parents:
13111
diff
changeset
|
16 -- prosody:guest, prosody:registered, prosody:member |
082c7d856e61
core, plugins: Split prosody:user role into prosody:{guest,registered,member}
Matthew Wild <mwild1@gmail.com>
parents:
13111
diff
changeset
|
17 "split-user-roles"; |
13201
65fb0d7a2312
moduleapi: Add enum config option method
Kim Alvefur <zash@zash.se>
parents:
13170
diff
changeset
|
18 |
65fb0d7a2312
moduleapi: Add enum config option method
Kim Alvefur <zash@zash.se>
parents:
13170
diff
changeset
|
19 -- new moduleapi methods |
65fb0d7a2312
moduleapi: Add enum config option method
Kim Alvefur <zash@zash.se>
parents:
13170
diff
changeset
|
20 "getopt-enum"; |
13203
aa6c2692a4be
core.moduleapi: Allow specifying an acceptable range for number options
Kim Alvefur <zash@zash.se>
parents:
13201
diff
changeset
|
21 "getopt-interval"; |
13204
c9ef35fab0b1
core.moduleapi: Add :get_option_period for parsing time intervals
Kim Alvefur <zash@zash.se>
parents:
13203
diff
changeset
|
22 "getopt-period"; |
12252
4bfe658415a0
core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
23 }; |
4bfe658415a0
core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
24 }; |