Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | |||||
* | | | Merge 0.11->trunk | Matthew Wild | 2020-01-19 | 1 | -2/+1 |
|\| | | |||||
| * | | util.startup: Ensure prosody.opts exists even when no options provided0.11.5 | Matthew Wild | 2020-01-19 | 1 | -1/+1 |
| | | | |||||
| * | | util.startup: Remove accidentally-committed debugging | Matthew Wild | 2020-01-19 | 1 | -1/+0 |
| | | | |||||
* | | | Merge 0.11->trunk | Matthew Wild | 2020-01-19 | 1 | -37/+39 |
|\| | | |||||
| * | | util.startup: Fix logic to make --config work again | Matthew Wild | 2020-01-19 | 1 | -37/+39 |
| | | | |||||
* | | | Merge 0.11->trunk | Matthew Wild | 2020-01-19 | 3 | -12/+67 |
|\| | | |||||
| * | | 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 | ||||
| * | | prosody/util.startup: Switch to parse_args() for --root and --config | Matthew Wild | 2020-01-19 | 2 | -11/+7 |
| | | | |||||
| * | | util.startup: Add startup step for parsing command-line options | Matthew Wild | 2020-01-19 | 1 | -0/+54 |
| |/ | |||||
* | | core.moduleapi: Hook correct event type in some cases | Kim Alvefur | 2020-01-16 | 1 | -1/+2 |
| | | | | | | | | | | In rare cases, module.host can be a bare JID, in which case this test did the wrong thing. | ||||
* | | util.set: Fix equality metamethod in Lua 5.3 | Kim Alvefur | 2020-01-15 | 1 | -0/+6 |
| | | |||||
* | | util.ip: Fix equality metamethod for Lua 5.3 | Kim Alvefur | 2020-01-15 | 1 | -1/+7 |
| | | |||||
* | | util.array: Fix equality metamethod in Lua 5.3 | Kim Alvefur | 2020-01-15 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | Lua 5.2 only used the __eq metamethod if both operands have the same __eq, but Lua 5.3 will pick one from either operands that has one as long as both are tables. This results in array() == {} and all sorts of odd behavior, including array() == util.json.null. <MattJ> I think [array() == {}] should have the same semantics as {} == {} | ||||
* | | util.json: Test util.array integration | Kim Alvefur | 2020-01-15 | 1 | -0/+10 |
| | | | | | | | | | | This is to expose how [] == json.null due to a change in Lua 5.3 with how the equality metamethod is chosen. | ||||
* | | util.array: Add a test case for a behavior change in Lua 5.3 | Kim Alvefur | 2020-01-14 | 1 | -0/+1 |
| | | | | | | | | | | In Lua 5.1 and 5.2 the __eq metamethod is not invoked if the other argument is of a different metatable, but in Lua 5.3 it is. | ||||
* | | net.server_epoll: Log error about missing *all* callbacks at 'error' level | Kim Alvefur | 2020-01-12 | 1 | -1/+1 |
| | | |||||
* | | net.server_epoll: Log errors caught in listeners on 'error' level | Kim Alvefur | 2020-01-12 | 1 | -1/+1 |
| | |