prosody/util
Matthew Wild 5ce1fe2603 util.startup: Add prosody.started promise to easily execute code after startup
To avoid a race where server-started fires before the promise function body is
run (on next tick), I moved server-started to fire on the next tick, which
seems sensible anyway.

Errors are logged, I'm not sure if we ought to be doing something more here.
I'm sure we'll find out.
2023-04-01 11:56:38 +01:00
..
human util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
prosodyctl util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
sasl util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
adhoc.lua util.adhoc: Propagate error with producing initial initial data 2021-01-31 21:10:03 +01:00
adminstream.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
argparse.lua util.argparse: Revise 553c6204fe5b with a different approach 2022-04-25 15:24:56 +01:00
array.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
async.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
bit53.lua util.bit53: Support for more than 2 arguments, for compat with bit32 2022-03-04 19:37:59 +00:00
bitcompat.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
cache.lua util.cache: Add __name to metatable 2020-10-30 14:05:07 +00:00
caps.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
dataforms.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
datamanager.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
datamapper.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
datetime.lua util.datetime: Remove a line 2022-08-17 18:07:31 +02:00
dbuffer.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
debug.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
dependencies.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
dns.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
dnsregistry.lua util.dnsregistry: Remove unintentional 'Unassigned' record 2023-01-20 23:40:54 +01:00
envload.lua util.envload: Remove Lua 5.1 method 2022-07-05 14:18:32 +02:00
error.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
events.lua util.events: Add set_debug_hook() method 2020-09-03 12:59:43 +01:00
filters.lua
format.lua util.format: Restore "freeze" serialization behavior in logging 2023-03-26 00:33:20 +01:00
gc.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
hashring.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
helpers.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
hex.lua util.hex: Deprecate to/from in favour of encode/decode, for consistency! 2022-03-04 15:22:45 +00:00
hmac.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
http.lua util.http: Fix decoding of uppercase URL encoded chars 2019-01-16 13:53:04 +01:00
id.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
import.lua compat: Remove handling of Lua 5.1 location of 'unpack' function 2022-07-11 19:07:38 +02:00
indexedbheap.lua util.indexedbheap: Fix heap datastructure corruption in :reschedule(smaller_value) 2020-09-29 21:27:16 -05:00
interpolation.lua util.interpolation: Fix combination of filters and fallback values #1623 2021-01-25 20:58:11 +01:00
ip.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
iterators.lua util.iterators: join: Work even with only a single iterator in the chain 2022-10-06 18:34:40 +01:00
jid.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
json.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
jsonpointer.lua util.startup: Provide a common Lua 5.3+ math.type() for Lua 5.2 2022-10-19 16:25:05 +02:00
jsonschema.lua util.jsonschema: Implement 'dependentSchemas' 2023-03-26 15:20:07 +02:00
jwt.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
logger.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
mathcompat.lua util.mathcompat: Module to ease reuse of math.type() 2022-10-20 16:50:12 +02:00
mercurial.lua util.mercurial: Ignore an unused error variable [luacheck] 2019-12-23 21:09:38 +01:00
multitable.lua compat: Remove handling of Lua 5.1 location of 'unpack' function 2022-07-11 19:07:38 +02:00
openmetrics.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
openssl.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
paseto.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
paths.lua util.paths: Optimize path joining with few arguments 2020-10-11 23:04:13 +02:00
pluginloader.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
presence.lua util.presence: Remove TODO about deprecated XEP-0016. 2018-06-08 15:27:13 +02:00
promise.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
prosodyctl.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
pubsub.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
queue.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
random.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
rfc6724.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
roles.lua util.roles: Implement a serialization preparation metamethod 2023-03-26 13:13:31 +02:00
rsm.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
sasl.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
serialization.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
session.lua util.session: Add 'since' property with timestamp of session creation 2023-03-29 13:01:28 +01:00
set.lua util.set: Add a serialization preparation metamethod 2023-03-26 13:07:20 +02:00
smqueue.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
sql.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
sqlite3.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
sslconfig.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
stanza.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
startup.lua util.startup: Add prosody.started promise to easily execute code after startup 2023-04-01 11:56:38 +01:00
statistics.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
statsd.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
template.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
termcolours.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
throttle.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
timer.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
uuid.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
watchdog.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
x509.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
xml.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
xmppstream.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
xpcall.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
xtemplate.lua util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00