aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge 0.10->trunkKim Alvefur2017-12-090-0/+0
|\| |
| * | Merge 0.9->0.10Kim Alvefur2017-12-091-3/+1
| |\|
| | * MUC: Always send subject message, even if it is empty (fixes #1053)Kim Alvefur2017-12-091-3/+1
| | |
* | | mod_register: Include the session and its IP address in user-registering ↵Kim Alvefur2017-12-081-1/+1
| | | | | | | | | | | | event, so that plugins can use this
* | | mod_s2s: Restructure some codeKim Alvefur2017-12-051-2/+9
| | |
* | | mod_s2s: Remove unused argument [luacheck]Kim Alvefur2017-12-051-1/+1
| | |
* | | mod_s2s: Remove unused local [luacheck]Kim Alvefur2017-12-051-1/+1
| | |
* | | mod_adhoc: Rename variable to avoid name clash [luacheck]Kim Alvefur2017-12-051-2/+2
| | |
* | | mod_adhoc/adhoc.lib: Rename variable to avoid name clash [luacheck]Kim Alvefur2017-12-051-4/+4
| | |
* | | mod_dialback: Use non-deprecated APIKim Alvefur2017-12-051-1/+1
| | |
* | | mod_dialback: Split long line [luacheck]Kim Alvefur2017-12-051-1/+2
| | |
* | | Merge 0.10->trunkKim Alvefur2017-12-052-2/+14
|\| |
| * | mod_dialback: Copy function from mod_s2s instead of depending on it, which ↵Kim Alvefur2017-12-051-1/+13
| | | | | | | | | | | | made it harder to disable s2s (fixes #1050)
| * | mod_limits: Fix typo in commentKim Alvefur2017-12-051-1/+1
| | |
* | | DEPENDS: Change link to httpsKim Alvefur2017-12-051-1/+1
| | |
* | | mod_register: Support CIDR notation in white-/blacklists (closes #941)Kim Alvefur2017-12-011-2/+19
| | |
* | | util.crand: Return early if a zero bytes are requestedKim Alvefur2017-12-031-1/+5
| | |
* | | spec/util.random: Check a larger range of sizesKim Alvefur2017-12-031-2/+2
| | |
* | | util.crand: Throw an error for sizes smaller than 1 byteKim Alvefur2017-12-031-1/+3
| | |
* | | util.crand: Make it possible to use arc4random on Linux (needs libbsd)Kim Alvefur2017-12-032-1/+7
| | |
* | | util.crand: Use a small buffer on the stack for small pieces of random, ↵Kim Alvefur2017-12-031-1/+11
| | | | | | | | | | | | should be faster
* | | util.crand: Remove unneeded castKim Alvefur2017-12-031-1/+1
| | |
* | | util.crand: Silence signedness warningKim Alvefur2017-12-031-1/+1
| | |
* | | util.crand: Only keep return value of getrandom() as the others don't return ↵Kim Alvefur2017-12-021-14/+6
| | | | | | | | | | | | partial results
* | | util.crand: Try getrandom() again until buffer is filledKim Alvefur2017-12-021-5/+15
| | |
* | | net.websocket.frames: Ignore Lua 5.3-only fields [luacheck]Kim Alvefur2017-12-021-2/+2
| | |
* | | util.ip: Do equality checking by comparing packed representation to avoid ↵Kim Alvefur2017-12-011-1/+1
| | | | | | | | | | | | any variations
* | | Merge 0.10->trunkKim Alvefur2017-12-013-3/+6
|\| |
| * | net.dns: Don't compress a single zero group in IPv6 addresses to match ↵Kim Alvefur2017-12-011-1/+1
| | | | | | | | | | | | behaviour of inet_ntop
| * | util.signal: Fix loop (fixes #1047)Kim Alvefur2017-11-301-2/+2
| | | | | | | | | | | | | | | A pre-commit version probably started with i = nsig and counted down, then an incomplete change to counting up was done
| * | prosodyctl: Fix traceback with lfs < 1.6.2 and show warningMatthew Wild2017-11-301-0/+3
| | |
* | | util.ip: Add CGNAT network range reserved in RFC 6598Kim Alvefur2017-12-011-1/+2
| | |
* | | util.ip: Do exact match for longer bit counts than availableKim Alvefur2017-12-011-1/+1
| | |
* | | util.ip: Do CIDR matching by comparing all bits at once instead of using ↵Kim Alvefur2017-12-011-4/+13
| | | | | | | | | | | | O(n) function
* | | util.ip: Cache return values of all methods in one placeKim Alvefur2017-12-011-1/+5
| | |
* | | util.ip: Instantiate various addresses used for comparisons onceKim Alvefur2017-12-011-45/+49
| | |
* | | util.ip: Simplify creation of IPv6-mapped IPv4 addressesKim Alvefur2017-12-011-14/+1
| | |
* | | util.ip: Add a method returning a normalized IP addressKim Alvefur2017-12-011-0/+4
| | |
* | | util.ip: Simplify bitstring methodKim Alvefur2017-12-011-18/+2
| | |
* | | util.ip: Make bit string function into a methodKim Alvefur2017-12-011-7/+9
| | |
* | | util.ip: Parse IP address using inet_ptonKim Alvefur2017-12-011-21/+21
| | |
* | | util.ip: Reflow module export tableKim Alvefur2017-12-011-2/+4
| | |
* | | util.ip: Reflow metatableKim Alvefur2017-12-011-3/+9
| | |
* | | net.dns: Use inet_ntop from util.net if availableKim Alvefur2017-11-291-0/+13
| | |
* | | util.net: Add bindings to inet_ntop and inet_ptonKim Alvefur2017-11-261-0/+63
| | |
* | | util.crand: Add comments about definesKim Alvefur2017-12-011-0/+2
| | |
* | | util.crand: Apply formatterKim Alvefur2017-12-011-0/+1
| | |
* | | util.crand: Reorder includes so system ones are firstKim Alvefur2017-12-011-3/+2
| | |
* | | util.crand: Always include stdlib to be sure __GLIBC_PREREQ is definedKim Alvefur2017-12-011-3/+3
| | |
* | | util.template: Use util.envload instead of loadstring which is deprecated in ↵Kim Alvefur2017-11-231-2/+2
| | | | | | | | | | | | Lua 5.2