Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | mod_invites: Fix argument handling | Kim Alvefur | 2024-01-21 | 1 | -1/+1 | |
| | | | | | | | | | | Not sure what the next() was supposed to do. Reject unknown --options perhaps? | |||||
* | | mod_invites: Show short help instead of traceback on missing hostname | Kim Alvefur | 2024-01-13 | 1 | -2/+3 | |
| | | ||||||
* | | mod_invites: Show help if --help passed instead of hostname | Kim Alvefur | 2024-01-13 | 1 | -18/+25 | |
| | | | | | | | | | | Because I couldn't guess the right way to get the help message without reading the source twice. | |||||
* | | mod_invites: Allow specifying invite ttl on command line | Kim Alvefur | 2024-01-13 | 1 | -1/+3 | |
| | | | | | | | | Was missing a way to pass TTL via command or shell. | |||||
* | | Merge 0.12->trunk | Kim Alvefur | 2023-12-17 | 2 | -0/+30 | |
|\| | ||||||
| * | mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664 | Kim Alvefur | 2023-12-17 | 2 | -0/+30 | |
| | | | | | | | | | | | | | | | | Having to add these in *there* places seems less than ideal. I would also think that advertising disco#info is a bit redundant, since it is a requirement for everything in XMPP and if it was missing you would get an error back. | |||||
* | | scansion: Use new style for accessing Lua globals | Kim Alvefur | 2023-12-17 | 1 | -1/+1 | |
| | | ||||||
* | | scansion: Use new prosody namespace in import | Kim Alvefur | 2023-12-17 | 1 | -1/+1 | |
| | | ||||||
* | | scansion: Use captures or wildcards instead of mocking time | Kim Alvefur | 2023-12-17 | 5 | -24/+14 | |
| | | | | | | | | | | > Mockery is one of the things I hold dear! And he's making a mockery of it!! -- Belkar Bitterleaf | |||||
* | | util.xtemplate: Test the each template function | Kim Alvefur | 2023-12-16 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | It iterates over childtags, so a template like {foo|each{...}} would be equivalent to root:childtags("foo"), while a deeper query needs the bit that becomes arguments to :childtags as an argument to each, e.g. {foo/bar|each(baz)} would behave like root:get_child("foo"):get_child("bar"):childtags("baz") | |||||
* | | tools: Fix selection of container engine | Kim Alvefur | 2023-12-12 | 1 | -1/+6 | |
| | | | | | | | | | | Seems command -v in sh only checks and returns one argument, unlike bash. | |||||
* | | mod_storage_internal, tests: Fix before/after combined with the 'reverse' flag | Matthew Wild | 2023-12-12 | 2 | -0/+25 | |
| | | ||||||
* | | util.http: Silence strict luacheck warning in tests | Kim Alvefur | 2023-12-09 | 1 | -0/+1 | |
| | | ||||||
* | | core.moduleapi: Silence strict luacheck warnings in tests | Kim Alvefur | 2023-12-09 | 1 | -3/+3 | |
| | | ||||||
* | | util.throttle: Silence some strict luacheck warnings | Kim Alvefur | 2023-12-09 | 1 | -0/+1 | |
| | | ||||||
* | | util.prosodyctl.shell: Fix lint [luacheck] | Kim Alvefur | 2023-12-09 | 1 | -1/+0 | |
| | | ||||||
* | | CHANGES: Mention new prosodyctl shell method behavior | Kim Alvefur | 2023-12-09 | 1 | -0/+1 | |
| | | ||||||
* | | util.prosodyctl.shell: Add :method syntax to make e.g. MUC commands easier | Kim Alvefur | 2023-12-09 | 1 | -2/+11 | |
| | | | | | | | | | | e.g. prosodyctl shell muc room room@muc.example.com :set_name "This Room" | |||||
* | | util.xtemplate: Add some initial tests | Kim Alvefur | 2023-12-09 | 1 | -0/+35 | |
| | | | | | | | | Strict typing does not magically make code correct | |||||
* | | util.xtemplate: Adopt {-path-} syntax to strip preceding and/or trailing ↵ | Kim Alvefur | 2023-12-09 | 2 | -8/+24 | |
| | | | | | | | | | | | | whitespace Seen in some other template languages | |||||
* | | mod_http_errors: Simplify CSS via built-in dark mode | Kim Alvefur | 2023-12-06 | 1 | -2/+2 | |
| | | ||||||
* | | CHANGES: Document some of the recent changes and features in trunk | Matthew Wild | 2023-12-08 | 1 | -0/+8 | |
| | | ||||||
* | | configmanager: Fix linter issues | Matthew Wild | 2023-12-08 | 1 | -2/+10 | |
| | | ||||||
* | | configmanager: Support for appending to existing config options | Matthew Wild | 2023-12-08 | 1 | -3/+56 | |
| | | | | | | | | ...and some other useful operations | |||||
* | | configmanager: Make _G accessible via `Lua` variable, deprecate direct access | Matthew Wild | 2023-12-08 | 1 | -1/+12 | |
| | | ||||||
* | | configmanager: Allow referencing previously-set options in the config file | Matthew Wild | 2023-12-08 | 1 | -0/+14 | |
| | | ||||||
* | | mod_user_account_management: Clear pending deletion if account re-enabled | Matthew Wild | 2023-12-07 | 1 | -0/+6 | |
| | | ||||||
* | | mod_saslauth: Fire event per SASL step | Matthew Wild | 2023-12-05 | 1 | -2/+5 | |
| | | | | | | | | | | This matches the behaviour of the newer mod_sasl2 implementation. It allows plugins to observe (and potentially, with caution, modify) the SASL exchange. | |||||
* | | util.jsonschema: Return basic structured validation response | Kim Alvefur | 2023-12-02 | 3 | -115/+218 | |
| | | ||||||
* | | mod_c2s: Make c2s_timeout timer reachable to allow access from other modules | Kim Alvefur | 2023-12-03 | 1 | -1/+3 | |
| | | | | | | | | E.g. the timeout could be extended under certain conditions. | |||||
* | | tools: Add a tool for comparing DOAP to the latest XEP versions | Kim Alvefur | 2023-12-03 | 1 | -0/+14 | |
| | | | | | | | | Needs wget, awk, sed and xml2 | |||||
* | | mod_s2s: Close connection on smacks timeout | Kim Alvefur | 2023-12-02 | 2 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | This merges the mod_s2s_smacks_timeout behavior from prosody-modules This event is fired by mod_smacks when the connection has not responded to an ack-request for a period of time defaulting to 30 seconds, indicating that the connection has become stuck or non-responsive. Closing it prevents routing further messages via this connection and frees resources. A stuck connection may otherwise remain until for a time determined by the OS TCP subsystem, which can be quite long. | |||||
* | | mod_saslauth: Fire event at start of authentication attempt | Kim Alvefur | 2023-12-01 | 1 | -0/+6 | |
| | | | | | | | | | | | | As extension point for rate limiting and similar checks, so they can hook a single event instead of <{sasl1}auth> or stream features, which might not be fired in case of SASL2 or e.g. HTTP based login. | |||||
* | | net.http.server: Fix whitespace-ignoring syntax | Kim Alvefur | 2023-12-01 | 1 | -2/+2 | |
| | | ||||||
* | | Merge 0.12->trunk | Kim Alvefur | 2023-12-01 | 2 | -1/+34 | |
|\| | ||||||
| * | net.http.parser: Reject overlarge header section earlier | Kim Alvefur | 2023-08-23 | 2 | -1/+34 | |
| | | | | | | | | This case would eventually be rejected by the buffer size limit. | |||||
* | | lua-format: Let simple things be one line | Kim Alvefur | 2023-11-30 | 1 | -2/+2 | |
| | | | | | | | | This doesn't really handle nesting all that nicely tho. | |||||
* | | lua-format: Further tweaks | Kim Alvefur | 2023-01-18 | 1 | -3/+3 | |
| | | | | | | | | | | Keeping things a single line makes very deeply nested things "pyramids" a single line, which makes them hard to read. | |||||
* | | lua-format: Add new settings | Kim Alvefur | 2021-07-28 | 1 | -0/+6 | |
| | | ||||||
* | | lua-format: Tweaks attempting to fit our code style | Kim Alvefur | 2020-07-07 | 1 | -12/+12 | |
| | | ||||||
* | | lua-format: Check in defaults | Kim Alvefur | 2020-07-07 | 1 | -0/+26 | |
| | | | | | | | | | | | | | | By starting with the built-in defaults, we get a nice history of differences from those as we figure out what settings suit us Sorted make comparisons easier. | |||||
* | | mod_user_account_management: Fire events with a fake (not destroyed) session | Matthew Wild | 2023-11-30 | 1 | -3/+24 | |
| | | | | | | | | | | | | | | Previously these events fired after the session had been destroyed, which removes many of the useful properties. The ones I chose to preserve here are the ones used by the community module mod_audit, which seems like a good baseline. | |||||
* | | mod_cron: Rebuild with new LuaFormatter settings (tabs!) | Kim Alvefur | 2023-11-30 | 1 | -77/+59 | |
| | | ||||||
* | | util.datamanager: Fix missing pack format when reading first index entry | Kim Alvefur | 2023-11-30 | 1 | -1/+1 | |
| | | | | | | | | Thanks MattJ | |||||
* | | mod_user_account_management: Add support for soft-deletion of accounts via IBR | Matthew Wild | 2023-11-30 | 1 | -13/+137 | |
| | | | | | | | | | | | | | | | | | | | | | | | | When registration_delete_grace_period is set, accounts will be disabled for the specified grace period before they are fully deleted. During the grace period, accounts can be restored with the user:restore() shell command. The primary purpose is to prevent accidental or malicious deletion of a user's account, which is traditionally very easy for any XMPP client to do with a single stanza. | |||||
* | | moduleapi: Log error message when ambiguous period spec is found in config | Matthew Wild | 2023-11-30 | 1 | -1/+9 | |
| | | ||||||
* | | util.human.io: Don't accept ambiguous durations by default | Matthew Wild | 2023-11-30 | 2 | -4/+49 | |
| | | | | | | | | | | The new method parse_duration_lax() exports the old behaviour, mainly for compatibility purposes. | |||||
* | | mod_cron: Update Teal source and rebuild | Matthew Wild | 2023-11-30 | 2 | -77/+101 | |
| | | ||||||
* | | mod_cron: Rename variable to fix shadowing (#luacheck) | Matthew Wild | 2023-11-30 | 1 | -2/+2 | |
| | | ||||||
* | | mod_cron: Add shell command to list registered cron tasks with status | Matthew Wild | 2023-11-30 | 1 | -0/+28 | |
| | |