Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.12->trunk | Matthew Wild | 2022-03-19 | 4 | -6/+31 |
|\ | |||||
| * | prosodyctl: check config: Skip bare JID components in orphan check | Matthew Wild | 2022-03-19 | 1 | -1/+1 |
| | | |||||
| * | mod_admin_socket: Comment on LuaSocket UNIX compat code | Kim Alvefur | 2022-03-16 | 2 | -0/+12 |
| | | | | | | | | Ref #1717 | ||||
| * | mod_admin_socket: Compat for luasocket prior to unix datagram support | Kim Alvefur | 2022-03-15 | 2 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | The "socket.unix" module exported only a function before https://github.com/lunarmodules/luasocket/commit/aa1b8cc9bc35e56de15eeb153c899e4c51de82a8 when datagram support was added. Fixes #1717 Thanks rsc and lucas for reporting and testing | ||||
| * | mod_invites_register: Push invitee contact entry to inviter | Kim Alvefur | 2022-03-15 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | Invitee would not show up in the roster of the invite creator unless they fetch their roster afterwards. Fixes #1715 Thanks gerald | ||||
| * | prosodyctl: check turn: warn about external port mismatches behind NAT | Matthew Wild | 2022-03-11 | 1 | -5/+11 |
| | | | | | | | | | | | | | | Some NATs don't preserve port numbers, which can cause the TURN server's reported relay address to be incorrect (the TURN server has no way to predict what the external port is, so it can't be corrected in config like an IP mismatch can). | ||||
| * | Added tag 0.12.0 for changeset 50fcd3879482 | Matthew Wild | 2022-03-08 | 0 | -0/+0 |
| | | |||||
* | | net.resolvers.basic: Fix incorrect field name (thanks CI) | Matthew Wild | 2022-03-18 | 1 | -1/+1 |
| | | |||||
* | | net.connect: When more targets are immediately available, try them after a delay | Matthew Wild | 2022-03-18 | 1 | -1/+10 |
| | | | | | | | | RFC 8305 | ||||
* | | net.connect: Support for multiple pending connection attempts | Matthew Wild | 2022-03-18 | 1 | -5/+10 |
| | | |||||
* | | net.resolvers.basic: Indicate to callback if we have more targets available | Matthew Wild | 2022-03-18 | 1 | -1/+1 |
| | | |||||
* | | net.resolvers.basic: Alternate IP address family targets, per RFC 8305 | Matthew Wild | 2022-03-18 | 1 | -2/+10 |
| | | |||||
* | | net.resolvers.basic: Refactor to remove code duplication | Matthew Wild | 2022-03-18 | 1 | -80/+72 |
| | | | | | | | | ...and prepare for Happy Eyeballs | ||||
* | | util.stanza: Create tables with correct size to avoid reallocations | Kim Alvefur | 2022-03-18 | 1 | -2/+15 |
| | | | | | | | | | | Potential performance gain since the tables don't need to be resized as they grow to the final size. | ||||
* | | util.stanza: Use table.move in clone | Kim Alvefur | 2022-03-18 | 1 | -9/+6 |
| | | | | | | | | Code reduction, potentially a performance gain. | ||||
* | | util.table: Compatibility with Lua 5.1 lua_equals | Matthew Wild | 2022-03-18 | 1 | -1/+5 |
| | | |||||
* | | util.table: tests: Tests for table.move() | Matthew Wild | 2022-03-18 | 1 | -0/+11 |
| | | |||||
* | | util.array: Take advantage of table.move() | Matthew Wild | 2022-03-18 | 1 | -10/+6 |
| | | |||||
* | | util.table: Backport table.move() from Lua 5.4 | Matthew Wild | 2022-03-18 | 1 | -0/+42 |
| | | | | | | | | | | One difference is that 5.4 accepts "table-like" values (for this and other table.*() functions), but that would require additional backporting work. | ||||
* | | net.resolvers.service: Honour record 'weight' when picking SRV targets | Matthew Wild | 2022-03-17 | 2 | -13/+309 |
| | | | | | | | | #NotHappyEyeballs | ||||
* | | util.poll: Expand stub tests | Kim Alvefur | 2022-03-17 | 1 | -3/+32 |
| | | | | | | | | Because tests good. | ||||
* | | mod_admin_shell: Add watch:log() command to tail logs in realtime | Matthew Wild | 2022-03-17 | 1 | -0/+21 |
| | | |||||
* | | mod_admin_shell: Add session.is_connected() method | Matthew Wild | 2022-03-17 | 1 | -0/+3 |
| | | |||||
* | | mod_admin_shell: Add session.write() method to write data to client with no \n | Matthew Wild | 2022-03-17 | 1 | -2/+5 |
| | | |||||
* | | util.prosodyctl.shell: Support for receiving partial lines (no automatic \n) | Matthew Wild | 2022-03-17 | 1 | -2/+6 |
| | | |||||
* | | util.logger: Return sink_function from add_simple_sink() | Matthew Wild | 2022-03-17 | 1 | -0/+1 |
| | | | | | | | | This allows a simple sink to be later removed via remove_sink() | ||||
* | | util.logger: Support for removing individual log sinks without a full reset | Matthew Wild | 2022-03-17 | 1 | -0/+15 |
|/ | |||||
* | spelling: non-existing mistakes (thanks timeless)0.12.0 | Kim Alvefur | 2022-03-07 | 2 | -3/+3 |
| | |||||
* | Spelling: Fix various spelling mistakes (thanks timeless) | Kim Alvefur | 2022-03-07 | 18 | -31/+31 |
| | | | | | | Words, sometimes I wonder how they even work Maybe I missed something. | ||||
* | net.websocket.frames: Replace bit fiddling code with util.struct | Kim Alvefur | 2022-03-06 | 1 | -48/+13 |
| | | | | | | Fallback code for not having either the string.pack and string.unpack functions available in Lua 5.4 or the struct lib is no longer needed since the struct lib was imported as util.struct in 3ce3633527af | ||||
* | prosodyctl: check turn: compare correct addresses for relay mismatch ↵ | Matthew Wild | 2022-03-05 | 1 | -2/+5 |
| | | | | detection (thanks Zash) | ||||
* | prosodyctl: check turn: Add check for private IP returned from STUN. | Matthew Wild | 2022-03-05 | 1 | -0/+4 |
| | |||||
* | prosodyctl: check turn: improve warning text to suggest issues | Matthew Wild | 2022-03-05 | 1 | -1/+5 |
| | |||||
* | prosodyctl: check turn: fix traceback when server does not provide realm/nonce | Matthew Wild | 2022-03-05 | 1 | -4/+12 |
| | | | | As coturn when installed out of the box on Debian (because auth isn't enabled?) | ||||
* | prosodyctl: check turn: fix formatting of multiple warnings | Matthew Wild | 2022-03-05 | 1 | -2/+3 |
| | |||||
* | prosodyctl: check turn: always show debug info even if test fails | Matthew Wild | 2022-03-05 | 1 | -11/+15 |
| | |||||
* | prosodyctl: check turn: Clearer error when unable to resolve external ↵ | Matthew Wild | 2022-03-05 | 1 | -1/+1 |
| | | | | service host | ||||
* | CHANGES: Mention STUN/TURN support in 'prosodyctl check' | Matthew Wild | 2022-03-05 | 1 | -0/+1 |
| | |||||
* | prosodyctl: check: include TURN checks by default | Matthew Wild | 2022-03-05 | 1 | -2/+2 |
| | |||||
* | prosodyctl: check: Slightly improved argument handling | Matthew Wild | 2022-03-05 | 1 | -1/+11 |
| | |||||
* | prosodyctl: check turn: show relayed address(es) in verbose mode | Matthew Wild | 2022-03-05 | 1 | -0/+7 |
| | |||||
* | net.stun: Support for xor-relayed-address attribute | Matthew Wild | 2022-03-05 | 1 | -2/+20 |
| | |||||
* | prosodyctl: check turn: Allow specifying port for the ping service | Matthew Wild | 2022-03-05 | 1 | -2/+9 |
| | |||||
* | prosodyctl: check turn: Add support for testing data relay with an external ↵ | Matthew Wild | 2022-03-05 | 1 | -4/+88 |
| | | | | STUN server via --ping | ||||
* | net.stun: Add xor-peer-address helper | Matthew Wild | 2022-03-05 | 1 | -0/+16 |
| | |||||
* | net.stun: Factor out address unpack, an operation common to multiple attributes | Matthew Wild | 2022-03-05 | 1 | -11/+12 |
| | |||||
* | net.stun: Name some more attributes from TURN | Matthew Wild | 2022-03-05 | 1 | -0/+3 |
| | |||||
* | net.stun: Add lookup table generation helper, reduces code duplication | Matthew Wild | 2022-03-05 | 1 | -16/+15 |
| | |||||
* | net.stun: Hyphenate method names for consistency | Matthew Wild | 2022-03-05 | 1 | -2/+2 |
| | |||||
* | util.bitcompat: Add some simple tests | Matthew Wild | 2022-03-04 | 1 | -0/+27 |
| |