Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | usermanager, mod_authz_*: Merge mod_authz_config and mod_authz_internal into ↵ | Matthew Wild | 2020-02-23 | 1 | -1/+7 |
| | | | | the latter | ||||
* | mod_admin_telnet: Fix host selection filter, fixes loading on components | Kim Alvefur | 2020-02-22 | 1 | -3/+17 |
| | | | | | | | get_hosts_with_module(a component, mod) would still filter out components since they don't have type="component" instead of "local" Introduced in 4d3549e64489 | ||||
* | mod_admin_telnet: Reflow hosts filter for readability | Kim Alvefur | 2020-02-22 | 1 | -1/+6 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2020-02-22 | 1 | -6/+6 |
|\ | |||||
| * | mod_storage_sql: Move update limit check back one step, fixes traceback | Kim Alvefur | 2020-02-22 | 1 | -6/+6 |
| | | | | | | | | | | 0c00274528a4 moved it one step too far, so the check was performed before connecting to the database instead of after. | ||||
* | | mod_ping: Fix double response to internal ping | Kim Alvefur | 2020-02-21 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | When responding to a ping from elsewhere in the same Prosody the send function will be host_send from core.hostmanager, which does not return anything. Tailcalling it therefore lets the iq event fall trough to handle_unhandled_stanza in core.stanza_router, which responds with an error. This error also goes into handle_unhandled_stanza which discards it. Noticed because I have a module that points out when a stanza error reply is created without a text argument. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-02-21 | 1 | -7/+7 |
|\| | |||||
| * | mod_storage_sql: Fix check for deletion limits (fixes #1494) | Kim Alvefur | 2020-02-21 | 1 | -7/+7 |
| | | | | | | | | | | The check was only performed if sql_manage_tables was set to true (the default) It should always be performed | ||||
* | | mod_s2s: Fix typo in comment [codespell] | Kim Alvefur | 2020-02-13 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-02-13 | 1 | -1/+2 |
|\| | |||||
| * | mod_muc: Allow control over the server-admins-are-room-owners feature (see ↵ | Matthew Wild | 2020-02-13 | 1 | -1/+2 |
| | | | | | | | | #1174) | ||||
* | | mod_admin_telnet: Avoid indexing missing socket (thanks tmolitor) | Kim Alvefur | 2020-02-05 | 1 | -12/+12 |
| | | | | | | | | if `sock` was nil it would still proceed with SNI and ALPN checks | ||||
* | | mod_saslauth: Pass through any auth scope from the SASL handler to ↵ | Matthew Wild | 2020-02-05 | 1 | -1/+1 |
| | | | | | | | | sessionmanager.make_authenticated() | ||||
* | | mod_authz_internal, usermanager: Rename to mod_authz_config | Matthew Wild | 2020-01-27 | 1 | -0/+0 |
| | | |||||
* | | usermanager, mod_authz_internal: Move admin-checking functionality into a ↵ | Matthew Wild | 2020-01-27 | 1 | -0/+16 |
| | | | | | | | | | | | | | | module. Fixes #517 (ish). Note: Removes the ability for mod_auth_* providers to determine user admin status. Such modules will need to have their is_admin methods ported to be a mod_authz_* provider. | ||||
* | | mod_s2s: Comment on the various 'reason' arguments passed to :close | Kim Alvefur | 2020-01-26 | 1 | -0/+3 |
| | | |||||
* | | mod_posix: Add deprecation warning for the 'daemonize' option | Kim Alvefur | 2020-01-26 | 1 | -1/+5 |
| | | |||||
* | | mod_s2s: Pass use_ipv4/use_ipv6 from config to service resolver | Matthew Wild | 2020-01-25 | 1 | -1/+7 |
| | | |||||
* | | Backed out changeset 74d66b1be989 (not optimal API) | Matthew Wild | 2020-01-25 | 1 | -6/+1 |
| | | |||||
* | | mod_admin_telnet: Use promise based DNS resolving | Kim Alvefur | 2020-01-24 | 1 | -7/+5 |
| | | | | | | | | Mostly done for testing this new API | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-01-24 | 1 | -6/+19 |
|\| | |||||
| * | mod_admin_telnet: Create a DNS resolver per console session (fixes #1492) | Kim Alvefur | 2020-01-24 | 1 | -6/+19 |
| | | | | | | | | This is now the common pattern, eg see mod_s2s. | ||||
| * | mod_websocket: Fire event on session creation (thanks Aaron van Meerten) | Matthew Wild | 2020-01-24 | 1 | -0/+2 |
| | | |||||
* | | mod_websocket: Fire event on session creation (thanks Aaron van Meerten) | Matthew Wild | 2020-01-24 | 1 | -0/+2 |
| | | |||||
* | | mod_s2s: Pass use_ipv4/ipv6 from config to connector config | Matthew Wild | 2020-01-24 | 1 | -1/+6 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-01-19 | 1 | -1/+6 |
|\| | |||||
| * | mod_posix: Support for command-line flags to override 'daemonize' config option | Matthew Wild | 2020-01-19 | 1 | -1/+6 |
| | | | | | | | | | | -D / --daemonize -F / --no-daemonize | ||||
* | | mod_muc_mam: Measure how long a cleanup run takes (like mod_mam) | Kim Alvefur | 2020-01-04 | 1 | -0/+4 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-01-02 | 1 | -0/+1 |
|\| | |||||
| * | mod_websocket: Clear mask bit when reflecting ping frames (fixes #1484) | Kim Alvefur | 2020-01-02 | 1 | -0/+1 |
| | | |||||
| * | mod_mam: Fix rebase mistake [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -1/+1 |
| | | | | | | | | The 'err' was there in trunk | ||||
| * | mod_muc_mam: Fix rebase mistake [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -1/+1 |
| | | | | | | | | The 'err' was there in trunk | ||||
* | | mod_http_errors: Use text from util.errror object if included | Kim Alvefur | 2019-12-29 | 1 | -1/+1 |
| | | | | | | | | | | This makes util.error objects useful for more than just an error code container. | ||||
* | | mod_adhoc: Improve permission setting (fix #1482) BC | Kim Alvefur | 2019-12-20 | 3 | -4/+10 |
| | | | | | | | | | | | | | | Rename 'user' permission mode to 'any' for clarity, too easily mistaken for what the 'local_user' setting does. It is also removed as a default and made a required argument. | ||||
* | | mod_storage_sql: Remove unused and not actually returned return value [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -1/+1 |
| | | | | | | | | The :delete throws an error, it does not return one like this. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-12-24 | 58 | -1134/+1790 |
|\ \ | |/ |/| | |||||
| * | mod_muc_mam: Remove unused variable [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -1/+1 |
| | | |||||
| * | mod_mam: More careful validation of MAM query form | Kim Alvefur | 2019-12-23 | 1 | -1/+9 |
| | | | | | | | | Adapted from mod_muc_mam | ||||
| * | mod_muc_mam: Handle form identification error (e.g. not a form at all) | Kim Alvefur | 2019-12-23 | 1 | -1/+4 |
| | | |||||
| * | mod_legacyauth: Report failure from sessionmanager (mostly invalid username) | Kim Alvefur | 2019-12-23 | 1 | -1/+3 |
| | | |||||
| * | mod_presence: Ignore an unused variable [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -0/+2 |
| | | | | | | | | Not sure if it should be unused, hence the TODO | ||||
| * | mod_pep_simple: Ignore unused variable [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -0/+1 |
| | | |||||
| * | mod_pubsub: Ignore an unused variable [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -0/+1 |
| | | |||||
| * | MUC: Make note to handle configuration form errors [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -0/+2 |
| | | |||||
| * | mod_vcard: Remove unused variable [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -1/+1 |
| | | |||||
| * | mod_limits: Remove an unused variable | Kim Alvefur | 2019-12-23 | 1 | -1/+1 |
| | | | | | | | | | | Hope this isn't meant to be used. 'outstanding' seems to be the more useful value anyways? | ||||
| * | MUC: Remove some unused variables [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -4/+4 |
| | | |||||
| * | mod_vcard_legacy: Ignore an unused variable [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -1/+1 |
| | | |||||
| * | mod_http_files: Log something if unable to load MIME database | Kim Alvefur | 2019-12-23 | 1 | -1/+3 |
| | | | | | | | | | | Not that much to worry about, the most common file types are included in the code above. | ||||
| * | mod_announce: Silence luacheck warning about unused variable | Kim Alvefur | 2019-12-23 | 1 | -0/+1 |
| | |