aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_storage_sql: Remove exception from luacheckKim Alvefur2018-10-101-1/+0
|
* util.promise tests: Fix luacheck warningsMatthew Wild2018-10-101-7/+6
|
* util.promise: ES6-like API for promisesMatthew Wild2018-10-102-0/+395
|
* MUC: Check that a room password is set before verifying password supplied by ↵Michel Le Bihan2018-10-091-0/+1
| | | | user
* mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http')Matthew Wild2018-10-091-2/+5
|
* mod_register_ibr: Include password in user-registering event, to allow e.g. ↵Matthew Wild2018-10-091-1/+1
| | | | password policy enforcement
* Fix storage tests so they run, but not by defaultMatthew Wild2018-10-012-7/+17
|
* util.pubsub tests: Ensure necessary tests run in the defined orderMatthew Wild2018-10-011-0/+8
|
* util.poll: Increase max epoll events per callKim Alvefur2018-10-081-1/+1
| | | | | | | | | | This makes the struct roughly the same size in both epoll and select mode (64bit). There doesn’t seem to be much guidance on an appropriate size, it does not seem to matter too much since if there are more events they will simply show up in the next epoll_wait call. The number of exactly concurrent events should be fairly low most of the time anyways.
* mod_s2s: Indicate origin of s2s errorKim Alvefur2018-10-081-1/+1
|
* util.poll: Zero FD sets watched for errors on creationKim Alvefur2018-10-071-0/+2
|
* net.poll: Guard against negative or too large FDsKim Alvefur2018-10-071-0/+14
|
* util.poll: Fix missing return for adding duplicate FDKim Alvefur2018-10-071-0/+1
|
* net.server_epoll: Log error number from wait()Kim Alvefur2018-10-071-1/+1
|
* MUC: Respond to ping per XEP-0410: MUC Self-Ping server optimization (closes ↵Kim Alvefur2018-10-071-0/+5
| | | | #1220)
* .luacheckrc: Ignore unused secondaries in non-strict modeKim Alvefur2018-10-061-2/+2
| | | | Previous commit was backwards
* .luacheckrc: Do not ignore unused secondaries in strict modeKim Alvefur2018-10-061-0/+1
|
* net.server_epoll: Pass error number to loggingKim Alvefur2018-10-061-1/+1
| | | | Why do we ignore unused secondaries?
* util.poll: Tweak metatable name fieldKim Alvefur2018-10-061-2/+2
|
* net.server_epoll: Fix luacheck annotationKim Alvefur2018-10-061-1/+1
|
* net.server_epoll: Make :set_send a noop, should fix net.adnsKim Alvefur2018-10-061-4/+3
| | | | | | This is also a noop in server_event. Supposedly meant to prevent buffered writes from being sent to the socket, but that path becomes unreachable when net.adns replaces the public send method
* util.poll: Fix monitoring of socket exceptions in select modeKim Alvefur2018-10-061-1/+1
| | | | | Since state->err is a set of all watched FDs, this mistake caused all sockets to appear to have errors.
* mod_version: Reduce scope of variableKim Alvefur2018-10-061-2/+1
| | | | It is only used in this if block anyways
* mod_version: Rename confusingly named variableKim Alvefur2018-10-061-8/+8
| | | | Maybe this meant the version of the OS, but it's still confusing.
* mod_version: Make 'origin' variable local for consistencyKim Alvefur2018-10-061-2/+2
| | | | | | Many event handlers start with local origin, stanza = event.origin, event.stanza;
* mod_version: Use text_tagKim Alvefur2018-10-061-3/+3
|
* net.server_epoll: Inherit Direct TLS flag from servers to their clientsKim Alvefur2018-09-141-1/+2
|
* net.server_epoll: Catch errors from luasec.wrapKim Alvefur2018-09-141-1/+5
| | | | It throws if given an invalid TLS context
* net.server_epoll: Delay wrapping sockets in TLS until just before first ↵Kim Alvefur2018-09-141-14/+21
| | | | handshake
* make coverage: Allow overriding path to bustedKim Alvefur2018-10-031-1/+1
|
* mod_server_contact_info: Comment on fallback to using 'admins'Kim Alvefur2018-10-011-0/+1
|
* configure: Suppress warning about '~' [SC2088]Matthew Wild2018-10-011-0/+1
|
* configure: Replace use of '-o' with '||' [SC2166]Matthew Wild2018-10-011-3/+3
|
* configure: Fix incorrect syntax of '&&' in previous commitMatthew Wild2018-10-011-10/+10
|
* configure: Replace usage of '-a' with '&&' [SC2166]Matthew Wild2018-10-011-10/+10
|
* make lint: Add shellcheck of configure scriptMatthew Wild2018-10-011-0/+1
|
* configure: Add shellcheck directives to suppress warnings on harmless linesMatthew Wild2018-10-011-1/+3
|
* configure: Replace logic constructs with explicit if/else statementsMatthew Wild2018-10-011-2/+10
|
* configure: Remove unnecessary 'echo'Matthew Wild2018-10-011-1/+1
|
* configure: Rename OSTYPE variable due to conflict with magic variable with ↵Matthew Wild2018-10-011-9/+8
| | | | same name on some shells/platforms
* configure: Replace backticks with $()Matthew Wild2018-10-011-7/+7
|
* configure: Remove unused functionMatthew Wild2018-10-011-19/+0
|
* make lint: Fix 'ignored files' countMatthew Wild2018-10-011-1/+1
|
* mod_websocket: Silence the one warning instead of ignoring the entire fileKim Alvefur2018-09-302-1/+2
|
* mod_s2s: Fix previous commitKim Alvefur2018-09-301-1/+1
|
* mod_s2s: Silence luacheck warnings in s2sout moduleKim Alvefur2018-09-301-1/+3
|
* mod_s2s: Silence all warnings instead of ignoring the entire moduleKim Alvefur2018-09-302-8/+13
|
* mod_admin_telnet: Guard against missing table fieldKim Alvefur2018-09-301-1/+1
|
* mod_admin_telnet: Create metatable only onceKim Alvefur2018-09-301-1/+2
|
* mod_admin_telnet: Remove unused histogram [luacheck]Kim Alvefur2018-09-301-2/+0
|