aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | util.table: Compatibility with Lua 5.1 lua_equalsMatthew Wild2022-03-181-1/+5
| |
* | util.table: tests: Tests for table.move()Matthew Wild2022-03-181-0/+11
| |
* | util.array: Take advantage of table.move()Matthew Wild2022-03-181-10/+6
| |
* | util.table: Backport table.move() from Lua 5.4Matthew Wild2022-03-181-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 targetsMatthew Wild2022-03-172-13/+309
| | | | | | | | #NotHappyEyeballs
* | util.poll: Expand stub testsKim Alvefur2022-03-171-3/+32
| | | | | | | | Because tests good.
* | mod_admin_shell: Add watch:log() command to tail logs in realtimeMatthew Wild2022-03-171-0/+21
| |
* | mod_admin_shell: Add session.is_connected() methodMatthew Wild2022-03-171-0/+3
| |
* | mod_admin_shell: Add session.write() method to write data to client with no \nMatthew Wild2022-03-171-2/+5
| |
* | util.prosodyctl.shell: Support for receiving partial lines (no automatic \n)Matthew Wild2022-03-171-2/+6
| |
* | util.logger: Return sink_function from add_simple_sink()Matthew Wild2022-03-171-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 resetMatthew Wild2022-03-171-0/+15
|/
* spelling: non-existing mistakes (thanks timeless)0.12.0Kim Alvefur2022-03-072-3/+3
|
* Spelling: Fix various spelling mistakes (thanks timeless)Kim Alvefur2022-03-0718-31/+31
| | | | | | Words, sometimes I wonder how they even work Maybe I missed something.
* net.websocket.frames: Replace bit fiddling code with util.structKim Alvefur2022-03-061-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 Wild2022-03-051-2/+5
| | | | detection (thanks Zash)
* prosodyctl: check turn: Add check for private IP returned from STUN.Matthew Wild2022-03-051-0/+4
|
* prosodyctl: check turn: improve warning text to suggest issuesMatthew Wild2022-03-051-1/+5
|
* prosodyctl: check turn: fix traceback when server does not provide realm/nonceMatthew Wild2022-03-051-4/+12
| | | | As coturn when installed out of the box on Debian (because auth isn't enabled?)
* prosodyctl: check turn: fix formatting of multiple warningsMatthew Wild2022-03-051-2/+3
|
* prosodyctl: check turn: always show debug info even if test failsMatthew Wild2022-03-051-11/+15
|
* prosodyctl: check turn: Clearer error when unable to resolve external ↵Matthew Wild2022-03-051-1/+1
| | | | service host
* CHANGES: Mention STUN/TURN support in 'prosodyctl check'Matthew Wild2022-03-051-0/+1
|
* prosodyctl: check: include TURN checks by defaultMatthew Wild2022-03-051-2/+2
|
* prosodyctl: check: Slightly improved argument handlingMatthew Wild2022-03-051-1/+11
|
* prosodyctl: check turn: show relayed address(es) in verbose modeMatthew Wild2022-03-051-0/+7
|
* net.stun: Support for xor-relayed-address attributeMatthew Wild2022-03-051-2/+20
|
* prosodyctl: check turn: Allow specifying port for the ping serviceMatthew Wild2022-03-051-2/+9
|
* prosodyctl: check turn: Add support for testing data relay with an external ↵Matthew Wild2022-03-051-4/+88
| | | | STUN server via --ping
* net.stun: Add xor-peer-address helperMatthew Wild2022-03-051-0/+16
|
* net.stun: Factor out address unpack, an operation common to multiple attributesMatthew Wild2022-03-051-11/+12
|
* net.stun: Name some more attributes from TURNMatthew Wild2022-03-051-0/+3
|
* net.stun: Add lookup table generation helper, reduces code duplicationMatthew Wild2022-03-051-16/+15
|
* net.stun: Hyphenate method names for consistencyMatthew Wild2022-03-051-2/+2
|
* util.bitcompat: Add some simple testsMatthew Wild2022-03-041-0/+27
|
* util.bit53: Support for more than 2 arguments, for compat with bit32Matthew Wild2022-03-041-3/+27
|
* make: Fix build of util.struct on *BSDKim Alvefur2022-03-041-1/+2
|
* net.stun: tests: Remove stray print() from debuggingMatthew Wild2022-03-041-3/+0
|
* Merge config-updates+check-turn from timberMatthew Wild2022-03-0429-113/+1120
|\
| * net.stun: Add tests for serialization/deserializationMatthew Wild2022-03-041-0/+100
| |
| * net.stun: Use util.bitcompat to deal with bit module variances across Lua ↵Kim Alvefur2022-03-041-0/+1
| | | | | | | | versions
| * net.stun: Use util.strbitopKim Alvefur2022-03-041-11/+1
| | | | | | | | Improves performance since the whole procedure is done in C
| * util.bit53: Add left- and right shift operationsKim Alvefur2021-06-281-0/+2
| | | | | | | | | | While not used by anything in Prosody, it is known to be used by some 3rd party modules.
| * util.prosodyctl: check turn: New command to verify STUN/TURN service is ↵Matthew Wild2022-03-041-2/+163
| | | | | | | | operational
| * net.stun: New library that implements STUN/TURN parsing/serializationMatthew Wild2022-03-041-0/+292
| |
| * util.hex: Deprecate to/from in favour of encode/decode, for consistency!Matthew Wild2022-03-048-27/+31
| |
| * util.struct: Import Roberto 'struct' library v0.3Matthew Wild2022-03-044-2/+431
| | | | | | | | | | | | | | Downloaded from http://www.inf.puc-rio.br/~roberto/struct/ This is for compatibility with Lua 5.2 (and 5.1). Eventually we can replace this with string.pack/string.unpack which are available in 5.3+.
| * COPYING: An overdue update. Also add some clarity about third-party code.Matthew Wild2022-03-041-2/+22
| |
| * prosody.cfg.lua.dist: Remove comment about mod_*.lua above modules_enabledMatthew Wild2022-03-031-1/+0
| | | | | | | | | | | | | | | | | | This is a very old statement, but people generally don't need to check for the files, and shouldn't be encouraged to put them in Prosody's source dir. The installer will be the way forward for most people, and hg for the rest. Manually moving files into the right place is not something most users should be doing.
| * prosody.cfg.lua.dist: Fix plugin_paths description (thanks Zash)Matthew Wild2022-03-031-2/+3
| |