aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* mod_admin_telnet: Remove unused variable [luacheck]Kim Alvefur2018-09-301-1/+1
|
* mod_admin_telnet: Remove from luacheck ignore listKim Alvefur2018-09-301-1/+0
|
* mod_admin_telnet: Import net.server instead of relying on globalKim Alvefur2018-09-301-0/+1
|
* mod_admin_telnet: Use prosody.hosts to be more explicit and avoid name clash ↵Kim Alvefur2018-09-301-15/+14
| | | | with 'hosts' arguments [luacheck]
* mod_admin_telnet: Remove or rename various unused arguments and variables ↵Kim Alvefur2018-09-301-15/+15
| | | | [luacheck]
* mod_admin_telnet: Rename variable to avoid name clash [luacheck]Kim Alvefur2018-09-301-2/+2
|
* mod_admin_adhoc: Ignore the very long lines at the end [luacheck]Kim Alvefur2018-09-301-0/+1
|
* mod_admin_adhoc: Ignore shadowed 'err' variables [luacheck]Kim Alvefur2018-09-301-1/+1
|
* mod_admin_adhoc: Remove unused argument [luacheck]Kim Alvefur2018-09-301-1/+1
|
* mod_admin_adhoc: Remove unused loop variables [luacheck]Kim Alvefur2018-09-301-3/+3
|
* mod_admin_adhoc: Remove from global luacheck ignore listKim Alvefur2018-09-301-1/+0
|
* net.resolvers.service: Sort SRV records in correct directionKim Alvefur2018-09-301-1/+1
|
* net.resolvers.service: Fix sorting SRV recordKim Alvefur2018-09-301-1/+1
|
* net.resolvers.service: Rename internal variable since net.connect uses it ↵Kim Alvefur2018-09-291-4/+4
| | | | for __tostring
* net.resolvers.service: Add support for fallback to bare domain and default portKim Alvefur2018-09-291-0/+3
| | | | The default port must be configured separately to enable this behavior
* net.resolvers.service: Early return on empty result setKim Alvefur2018-09-291-0/+5
|
* net.resolvers.service: Understand when service is explicitly unavailableKim Alvefur2018-09-291-0/+5
| | | | | | RFC2782 states: > A Target of "." means that the service is decidedly not available at > this domain.
* mod_admin_telnet: Fix local reference to util.iteratorKim Alvefur2018-09-291-2/+2
|
* .luacheckrc: Allow randomize() global in spec/Matthew Wild2018-09-291-1/+2
| | | | | | This is a busted function that is not currently recognized by luacheck. See https://github.com/mpeterv/luacheck/pull/183
* Add storage tests (currently only internal and sqlite)Matthew Wild2018-09-291-0/+79
|
* net.resolvers.service: net.connect resolver that uses SRV recordsKim Alvefur2018-09-271-0/+57
|
* net.connect: Fix passing request table to new listenerKim Alvefur2018-09-264-7/+7
| | | | This could be a return value from ondetach
* net.connect: Remove manual onattach callback invocationKim Alvefur2018-09-261-3/+0
|
* net.server: Call a 'onattach' callback when replacing listenersKim Alvefur2018-09-263-0/+8
|
* net.server_epoll: Include errno in log messagesKim Alvefur2018-09-261-6/+6
|
* net.server_epoll: Factor out IP/port detection into its own methodKim Alvefur2018-09-261-5/+10
|
* net.server_epoll: Protect from errors in get{peer,sock}nameKim Alvefur2018-09-261-4/+6
|
* net.server_epoll: Watching instead of registering, seems more understandableKim Alvefur2018-09-241-2/+2
|
* mod_bosh: Fire stream feature event on hosts (thanks gerald)Kim Alvefur2018-09-241-1/+1
| | | | | Since the module is now global, this event was also fired in a global context by default.
* net.http.server: Delay host checks until after host-less eventKim Alvefur2018-09-231-9/+18
| | | | This allows handling events without any hosts enabled.
* mod_websocket: Serve HTTP in global contextKim Alvefur2018-09-221-9/+10
|
* mod_bosh: Make BOSH global again!Kim Alvefur2018-09-221-5/+2
|
* mod_http: Support global HTTP modulesKim Alvefur2018-09-211-5/+16
| | | | Such modules simply ignore the Host header and always handle the same path.
* net.http.server: Fire an event without hostKim Alvefur2018-09-211-3/+8
|
* mod_bosh: Add tests (run with 'busted -r bosh')Matthew Wild2018-09-232-0/+684
|
* mod_scansion_record: Record disconnectionKim Alvefur2018-09-221-0/+7
|
* mod_scansion_record: Lower log message to 'info' levelKim Alvefur2018-09-221-1/+1
|
* mod_scansion_record: Use already composed identity string in log messageKim Alvefur2018-09-221-1/+1
|
* mod_scansion_record: Record the full identity including device nameKim Alvefur2018-09-221-1/+1
|
* mod_scansion_record: Merge header and log into one file at shutdownKim Alvefur2018-09-221-4/+9
|
* mod_scansion_record: Record connected clients as scansion Objects declarationsKim Alvefur2018-09-221-0/+13
|
* mod_scansion_record: Remove unused JID mapping table [luacheck]Kim Alvefur2018-09-221-4/+0
| | | | I have no idea what Matthew meant to use this for. Easy enough to put back.
* mod_scansion_record: Close files in the cleanup stage of shutdown (fixes use ↵Kim Alvefur2018-09-221-0/+3
| | | | after close)
* mod_scansion_record: Generate a header with hostname and timestampKim Alvefur2018-09-221-0/+9
|
* mod_scansion_record: Open a related file for header entriesKim Alvefur2018-09-221-0/+7
| | | | | Since It's tricky to go back and insert data at the beginning of a file, but `cat blah.sch blah.scs` ought to be fine for now.
* mod_scansion_record: Log name of scanison log on shutdownKim Alvefur2018-09-221-0/+1
|
* mod_scansion_record: Fix missed rename of file handleKim Alvefur2018-09-221-1/+1
|
* mod_scansion_record: Split up construction of filename for reuse of parts laterKim Alvefur2018-09-221-1/+4
|