Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prosodyctl: check features: stop searching after finding a matching component | Matthew Wild | 30 hours | 1 | -0/+1 |
| | |||||
* | core.configmanager: Pass name and line number in context | Kim Alvefur | 41 hours | 1 | -5/+4 |
| | | | | | | | Delays the string interpolation until the warning is logged, which may slightly lower memory usage. Allows retrieving the filename and line number easily. | ||||
* | core.configmanager: Fix reporting delayed warnings from global section | Kim Alvefur | 41 hours | 1 | -10/+5 |
| | | | | | | | | | | | | | | A Credential in the global section would be stored at delayed_warnings["*/secret"], but get("example.com","secret") would look for delayed_warnings["example.com/secret"] Storing the warnings in the config itself has the unfortunate side-effect that the config now contains util.error objects, which may be awkward if something bypasses get(). Should rawget() also do this filtering? getconfig() too? Currently this only affects prosodyctl, so maybe it won't be much of a problem. | ||||
* | core.configmanager: Remove dependency on 'prosody' global for Credential | Kim Alvefur | 41 hours | 2 | -4/+21 |
| | | | | | Minimizing dependencies on global state is nice, as it makes using configmanager outside of Prosody easier. | ||||
* | mod_invites: Hide --group flag unless mod_invites_groups is enabled | Matthew Wild | 6 days | 1 | -1/+6 |
| | | | | | | The WIP groups support is not complete yet, and won't work without extra modules (which are not yet a part of Prosody). For now we hide --group support unless mod_invites_groups (community module) is specified in modules_enabled. | ||||
* | mod_invites: Fix traceback when no flags passed | Matthew Wild | 6 days | 1 | -6/+6 |
| | |||||
* | mod_invites: Deprecate 'mod_invites generate' in favour of new shell commands | Matthew Wild | 6 days | 1 | -108/+61 |
| | |||||
* | mod_admin_shell: Improve help listing in non-REPL mode | Matthew Wild | 6 days | 1 | -2/+36 |
| | |||||
* | mod_admin_shell: Fix simple command execution (e.g. help) | Matthew Wild | 6 days | 1 | -3/+15 |
| | |||||
* | mod_admin_shell: Set flag on session when in REPL mode | Matthew Wild | 6 days | 1 | -0/+4 |
| | |||||
* | mod_admin_shell: Improved error handling for shell-invoked commands | Matthew Wild | 6 days | 1 | -5/+25 |
| | |||||
* | util.argparse: Add strict mode + tests | Matthew Wild | 6 days | 2 | -9/+56 |
| | |||||
* | mod_admin_shell, util.prosodyctl.shell: Process command-line args on ↵ | Matthew Wild | 6 days | 2 | -29/+96 |
| | | | | | | | | | | | | server-side, with argparse support This allow a shell-command to provide a 'flags' field, which will automatically cause the parameters to be fed through argparse. The rationale is to make it easier for more complex commands to be invoked from the command line (`prosodyctl shell foo bar ...`). Until now they were limited to accepting a list of strings, and any complex argument processing was non-standard and awkward to implement. | ||||
* | util.argparse: Optionally continue processing past positional parameters | Matthew Wild | 6 days | 1 | -30/+40 |
| | |||||
* | util.x509: Per RFC 9525, remove obsolete Common Name check | Kim Alvefur | 2024-02-11 | 3 | -44/+9 |
| | |||||
* | prosodyctl: check features: Fix traceback for components with no recommended ↵ | Matthew Wild | 6 days | 1 | -13/+15 |
| | | | | modules (thanks Menel, riau) | ||||
* | mod_invites: Fix storing --group (thanks lissine) | Kim Alvefur | 7 days | 1 | -1/+1 |
| | | | | | | | This made it ignore `--group` completely, but if you incorrectly used `--group foo` it would store `groups=true`. Introduced in 9ba11ef91ce4 | ||||
* | util.prosodyctl.check: Recognise http_upload_external as a file upload service | Matthew Wild | 7 days | 1 | -1/+1 |
| | |||||
* | util.prosodyctl.check: Fix typo in informational message | Matthew Wild | 7 days | 1 | -1/+1 |
| | |||||
* | mod_bosh, mod_websocket: Add soft dependency on mod_http_altconnect | Matthew Wild | 7 days | 2 | -0/+4 |
| | |||||
* | moduleapi: Allow soft dependencies via module:depends(mod, true) | Matthew Wild | 7 days | 2 | -2/+7 |
| | |||||
* | mod_http_altconnect: Imported from prosody-modules 6d5a19bdd718 w/changes | Matthew Wild | 7 days | 3 | -0/+55 |
| | | | | | | | 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 | ||||
* | prosodyctl: check features: check for mod_muc_mam on MUC components | Matthew Wild | 7 days | 1 | -4/+64 |
| | |||||
* | util.sql: Don't send SQLCipher key to Postgres or MySQL (thanks gllmhyt) | Kim Alvefur | 7 days | 1 | -1/+1 |
| | | | | | | This was copied from util.sqlite3 which only deals with SQLite3, but here Postgres or MySQL are also possibilities, which wouldn't support this. | ||||
* | mod_http_file_share: Persist total storage usage when it increases (fixes #1891) | Matthew Wild | 8 days | 1 | -0/+1 |
| | |||||
* | CHANGES: add 'prosodyctl check features' | Matthew Wild | 8 days | 1 | -0/+1 |
| | |||||
* | prosodyctl: check: Fix variable name (thanks luacheck) | Matthew Wild | 8 days | 1 | -1/+1 |
| | |||||
* | prosodyctl: check: Skip DNS checks for known invalid domains (fixes traceback) | Matthew Wild | 8 days | 1 | -1/+5 |
| | |||||
* | prosodyctl: check features: Check for recommended feature availability | Matthew Wild | 8 days | 1 | -0/+232 |
| | | | | | | Inspired by mod_compliance_*, this command will help people (especially those with older configs, upgrading from previous releases) learn what features their Prosody configuration may be missing. | ||||
* | util.prosodyctl.check: Sort hosts in iterator for more stable output | Matthew Wild | 8 days | 1 | -1/+1 |
| | |||||
* | prosodyctl: check: Fix indentation in warning message | Matthew Wild | 8 days | 1 | -2/+2 |
| | |||||
* | core.certmanager: Move LuaSec verification tweaks to mod_s2s | Kim Alvefur | 9 days | 2 | -4/+8 |
| | | | | | These two settings are only really needed for XMPP server-to-server connections. | ||||
* | mod_cloud_notify, mod_cron, mod_invites: Add 'prosody.' prefix to requires | Matthew Wild | 8 days | 3 | -10/+10 |
| | |||||
* | .semgrep.yml: Identify unprefixed module imports | Matthew Wild | 8 days | 1 | -0/+9 |
| | |||||
* | doap: Update XEP-0421, only editorial changes and promoted to Stable | Kim Alvefur | 9 days | 1 | -1/+1 |
| | |||||
* | doap: Replace references to 'trunk' | Kim Alvefur | 9 days | 1 | -4/+4 |
| | |||||
* | net.httpserver: Remove obsolete API | Matthew Wild | 9 days | 1 | -17/+0 |
| | |||||
* | prosody.cfg.lua.dist: Updates for 13.0+ | Matthew Wild | 9 days | 1 | -2/+4 |
| | |||||
* | CHANGES: List mod_cloud_notify | Matthew Wild | 9 days | 1 | -0/+1 |
| | |||||
* | MUC: Use new XEP namespace for hats by default | Matthew Wild | 9 days | 1 | -1/+1 |
| | | | | Revert with muc_hats_compat = true in the config if necessary. | ||||
* | prosodyctl: check: Warn about deprecated mod_posix | Matthew Wild | 10 days | 1 | -0/+6 |
| | |||||
* | modulemanager: Remove autoloading of per-platform module | Matthew Wild | 10 days | 1 | -1/+0 |
| | | | | | We only support posix these days, and we moved it to the core startup process to make it more deterministic and reliable. | ||||
* | mod_admin_shell: Remove duplicated line | Matthew Wild | 10 days | 1 | -2/+0 |
| | |||||
* | mod_admin_shell: Rename user:setrole to user:set_roles | Matthew Wild | 10 days | 1 | -4/+4 |
| | | | | | This is more readable and accessible, and it will only be harder to change after release. | ||||
* | mod_admin_shell: Hide secondary role commands, focus on primary roles | Matthew Wild | 10 days | 1 | -7/+17 |
| | | | | | | | | | Secondary roles are an advanced feature without any strong use cases currently. Having multiple ways to manage roles is confusing. Now the 'user:role' command will just show the primary role if that is all there is, but will list secondary roles too if there are any (which in 99.9% of cases there won't be). | ||||
* | mod_admin_shell: Support for hiding certain commands from default help listing | Matthew Wild | 10 days | 1 | -5/+8 |
| | | | | Useful for e.g. deprecated commands. | ||||
* | mod_account_activity: Fix error when no duration specified in shell command | Matthew Wild | 10 days | 1 | -1/+1 |
| | |||||
* | mod_admin_shell: Fix result handling of user addrole/delrole commands | Matthew Wild | 10 days | 1 | -2/+10 |
| | |||||
* | usermanager: Include role_name in event for consistency with the 'removed' event | Matthew Wild | 10 days | 1 | -1/+1 |
| | |||||
* | mod_authz_internal: Fix error messages | Matthew Wild | 10 days | 1 | -2/+2 |
| |