Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | | util.startup: Break out command line argument parsing into util.argparse | Kim Alvefur | 2020-02-19 | 2 | -49/+63 |
| | | | | | | | | | | This will allow using it from other places such as prosodyctl sub-commands and plugins | ||||
* | | net.resolvers.service: Fix resolving of targets with multiple IPs | Kim Alvefur | 2020-02-16 | 1 | -5/+8 |
| | | | | | | | | | | Each basic resolver was only used once and not kept around to try any IP addresses but the first one found. | ||||
* | | net.server_epoll: Reduce log level of TLS handshake errors to debug | Kim Alvefur | 2020-02-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | These are triggered all the time by random HTTPS connections, so they are mostly just useless noise. When you actually do need them, you probably have debug logging enabled too, since these messages are fairly useless without more context. | ||||
* | | 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) | ||||
* | | stanza_router: only fire pre-stanza if firing other preevents (e.g. for c2s ↵ | Matthew Wild | 2020-02-05 | 1 | -6/+6 |
| | | | | | | | | sessions) | ||||
* | | 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() | ||||
* | | sessionmanager: Support passing an auth scope to make_authenticated | Matthew Wild | 2020-02-05 | 1 | -1/+2 |
| | | |||||
* | | portmanager: Don't auto-start network services under prosodyctl | Matthew Wild | 2020-02-05 | 1 | -1/+1 |
| | | |||||
* | | usermanager: Add get_roles() function | Matthew Wild | 2020-02-05 | 1 | -1/+7 |
| | | |||||
* | | stanza_router: Add once-per-routed-stanza event, pre-stanza | Matthew Wild | 2020-02-05 | 1 | -1/+8 |
| | | |||||
* | | net.server_epoll: Different error to distinguish connection timeout | Kim Alvefur | 2020-02-01 | 1 | -1/+2 |
| | | | | | | | | This mirrors what server_event does. | ||||
* | | util.net: Fix signedness warning on ARM | Emmanuel Gil Peyrot | 2020-01-30 | 1 | -2/+2 |
| | | | | | | | | net.c:87:56: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] | ||||
* | | util.startup: expose current process type (prosody/prosodyctl) in the global ↵ | Matthew Wild | 2020-01-28 | 1 | -0/+2 |
| | | | | | | | | prosody object | ||||
* | | mod_authz_internal, usermanager: Rename to mod_authz_config | Matthew Wild | 2020-01-27 | 2 | -1/+1 |
| | | |||||
* | | usermanager: Load authz providers on components also | Matthew Wild | 2020-01-27 | 1 | -4/+6 |
| | | |||||
* | | usermanager, mod_authz_internal: Move admin-checking functionality into a ↵ | Matthew Wild | 2020-01-27 | 2 | -30/+48 |
| | | | | | | | | | | | | | | 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 |
| | | |||||
* | | CHANGES: Mention deprecation of 'daemonize' option | Kim Alvefur | 2020-01-26 | 1 | -0/+1 |
| | | |||||
* | | scansion tests: Remove daemonize option, not needed | Kim Alvefur | 2020-01-26 | 1 | -1/+0 |
| | | |||||
* | | prosodyctl: Add 'daemonize' to deprecated options known by check command | Kim Alvefur | 2020-01-26 | 1 | -1/+1 |
| | | |||||
* | | mod_posix: Add deprecation warning for the 'daemonize' option | Kim Alvefur | 2020-01-26 | 1 | -1/+5 |
| | | |||||
* | | util.prosodyctl: Pass command line flag to force daemonization on start | Kim Alvefur | 2020-01-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Part of the deprecation of the 'daemonize' config option. Further, it is a bit weird to run `prosodyctl start` and get Prosody running in the foreground. | ||||
* | | net.resolvers.basic: Fix continuing if IPv6 or Legacy IP is disabled | Kim Alvefur | 2020-01-26 | 1 | -0/+4 |
| | | | | | | | | | | The code expects ready() to be called twice, but with IPv4 or v6 disabled it would only be called once. | ||||
* | | mod_s2s: Pass use_ipv4/use_ipv6 from config to service resolver | Matthew Wild | 2020-01-25 | 1 | -1/+7 |
| | | |||||
* | | net.resolvers.basic: Obey extra.use_ipv4/use_ipv6 | Matthew Wild | 2020-01-25 | 1 | -2/+2 |
| | | |||||
* | | Backed out changeset 44ef46e1a951 (not optimal API) | Matthew Wild | 2020-01-25 | 1 | -21/+12 |
| | | |||||
* | | Backed out changeset 74d66b1be989 (not optimal API) | Matthew Wild | 2020-01-25 | 1 | -6/+1 |
| | | |||||
* | | net.resolvers.basic: Obey use_ipv4/use_ipv6 | Matthew Wild | 2020-01-25 | 1 | -14/+19 |
| | | |||||
* | | 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. | ||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-01-24 | 0 | -0/+0 |
|\| | |||||
| * | 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 |
| | | |||||
* | | net.adns: Add :lookup_promise() method | Matthew Wild | 2020-01-24 | 1 | -0/+13 |
| | | |||||
* | | mod_s2s: Pass use_ipv4/ipv6 from config to connector config | Matthew Wild | 2020-01-24 | 1 | -1/+6 |
| | | |||||
* | | net.connect: Add API to create custom connect()s with options, incl. use_ipv[46] | Matthew Wild | 2020-01-24 | 1 | -12/+21 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-01-23 | 1 | -4/+5 |
|\| | |||||
| * | prosodyctl: Fix some luacheck warnings | Matthew Wild | 2020-01-23 | 1 | -4/+5 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-01-23 | 1 | -0/+20 |
|\| | |||||
| * | Log warning when using prosodyctl start/stop/restart | Matthew Wild | 2020-01-23 | 1 | -0/+20 |
| | | |||||
| * | Merge | Kim Alvefur | 2020-01-20 | 0 | -0/+0 |
| |\ | |||||
| | * | Added tag 0.11.4 for changeset 10d6d0d91f4e | Kim Alvefur | 2020-01-06 | 0 | -0/+0 |
| | | | |||||
| * | | Added tag 0.11.5 for changeset dbd60f473164 | Matthew Wild | 2020-01-19 | 0 | -0/+0 |
| | | |