Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core.stanza_router: Silence warning about unused err_message [luacheck] | Kim Alvefur | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | core.stanza_router: Extract host part of JIDs directly [luacheck] | Kim Alvefur | 2019-12-20 | 1 | -3/+4 |
| | | | | Silences warning about unused return values | ||||
* | luacheck: Don't not warn about not using secondary return values | Kim Alvefur | 2019-12-20 | 1 | -1/+0 |
| | | | | Brace for ONE BILLION WARNINGS!!! | ||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-12-23 | 2 | -38/+27 |
|\ | |||||
| * | mod_pep: Handle presence subscriptions in filter (fixes #1372) | Kim Alvefur | 2019-06-10 | 1 | -34/+17 |
| | | | | | | | | Take two on 045209b41b3a | ||||
| * | util.pubsub: Pass subscribers trough a filter callback | Kim Alvefur | 2019-06-06 | 1 | -0/+2 |
| | | |||||
| * | util.pubsub: Factor out calling of broadcaster | Kim Alvefur | 2019-06-06 | 1 | -4/+8 |
| | | | | | | | | This will simplify doing things along with broadcasting. | ||||
* | | mod_admin_telnet: Include config:get() in help text | Kim Alvefur | 2019-12-22 | 1 | -0/+1 |
| | | |||||
* | | MUC: Improve presence broadcast form field label | Matthew Wild | 2019-12-22 | 1 | -1/+1 |
| | | |||||
* | | scansion: Trim trailing whitespace in tests | Kim Alvefur | 2019-12-19 | 6 | -9/+9 |
| | | |||||
* | | rostermanager, mod_presence: Support for subscription preapproval (fixes #686) | Matthew Wild | 2019-12-19 | 3 | -5/+104 |
| | | |||||
* | | mod_s2s: Remove obsolete pre-connect buffer | Kim Alvefur | 2019-12-17 | 1 | -14/+0 |
| | | | | | | | | | | | | Originally added in c500d4cb7855 Dead code since the net.connect switch in 756b8821007a | ||||
* | | util.dataforms: Improve descriptions in tests | Kim Alvefur | 2019-12-16 | 1 | -5/+5 |
| | | |||||
* | | doap: More PEP payloads | Kim Alvefur | 2019-12-16 | 1 | -0/+2 |
| | | |||||
* | | mod_admin_telnet: Use common sort function in s2s:show | Kim Alvefur | 2019-12-15 | 1 | -2/+2 |
| | | |||||
* | | mod_admin_telnet: Use existing host comparison when comparing JIDs | Kim Alvefur | 2019-12-15 | 1 | -1/+1 |
| | | |||||
* | | mod_admin_telnet: Sort hosts in module:list | Kim Alvefur | 2019-12-15 | 1 | -10/+1 |
| | | |||||
* | | mod_admin_telnet: Refactor internal function for listing hosts | Kim Alvefur | 2019-12-15 | 1 | -10/+16 |
| | | | | | | | | Splits out a function that doesn't deal with modules for reuse elsewhere | ||||
* | | mod_admin_telnet: Merge hostname comparison functions | Kim Alvefur | 2019-12-15 | 1 | -6/+2 |
| | | | | | | | | Missed that there existed one already when writing the one for host:list | ||||
* | | mod_admin_telnet: Sort by complete labels | Kim Alvefur | 2019-12-15 | 1 | -1/+1 |
| | | | | | | | | Might as well. | ||||
* | | mod_admin_telnet: Fix host sorting | Kim Alvefur | 2019-12-15 | 1 | -1/+1 |
| | | | | | | | | Reversing each %P is a noop | ||||
* | | util.stanza: Accept util.error object to error_reply | Kim Alvefur | 2019-12-14 | 2 | -0/+20 |
| | | | | | | | | | | | | | | | | If we're moving towards util.error as the standard error container then this makes sense. This may allow for future extensibility without needing a lot of optional arguments. | ||||
* | | util.sasl: Add stub tests | Kim Alvefur | 2019-12-14 | 1 | -0/+43 |
| | | | | | | | | Random uncommitted file I found when cleaning out my work dir | ||||
* | | util.error: Move default for numeric error code to net.http.server | Kim Alvefur | 2019-12-14 | 2 | -2/+2 |
| | | | | | | | | | | | | Stanza errors can also have numbers but these are a legacy thing and rarely used, except in MUC. HTTP errors on the other hand always have a number. | ||||
* | | mod_s2s: Fix name conflict introduced in c7864f970969 | Kim Alvefur | 2019-12-10 | 1 | -7/+7 |
| | | |||||
* | | util.sasl.scram: Ignore unused authzid variable (strict lint) | Kim Alvefur | 2019-12-09 | 1 | -0/+1 |
| | | | | | | | | | | It would be nice if authzid was passed down into the stack and could be used by plugins for things. | ||||
* | | .luacheckrc: Remove passing spec/ files from ignore list | Matthew Wild | 2019-12-09 | 1 | -3/+0 |
| | | |||||
* | | net.http.parser tests: Expand tests to include validation of results | Matthew Wild | 2019-12-09 | 1 | -22/+86 |
| | | |||||
* | | .luacheckrc: Remove passing file from ignore list | Matthew Wild | 2019-12-09 | 1 | -1/+0 |
| | | |||||
* | | configmanager tests: Split long line | Matthew Wild | 2019-12-09 | 1 | -1/+3 |
| | | |||||
* | | util.x509: Fix recording of CommonNames in get_identities | Kim Alvefur | 2019-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Don't worry, this function is not used by anything yet, this isn't a security issue. It'll be used by Prosody to pick the correct certificate for itself in the future. The `names` multitable is a collection of (name, service) pairs but it put them in the wrong order here. | ||||
* | | util.error: Write down some thoughts in comments | Kim Alvefur | 2019-12-08 | 1 | -0/+7 |
| | | |||||
* | | net.server_epoll: Use monotonic time for scheduling | Kim Alvefur | 2019-12-08 | 1 | -9/+11 |
| | | | | | | | | Timer API of passing wallclock time remains | ||||
* | | net.server_epoll: Change timer rescheduling method to match util.timer | Kim Alvefur | 2019-12-08 | 1 | -2/+3 |
| | | | | | | | | | | Relative to current time instead of absolute time, in preparation for switching to monotonic time. | ||||
* | | net.server_epoll: Remove unused function for adding timer at absolute time | Kim Alvefur | 2019-12-08 | 1 | -8/+3 |
| | | | | | | | | This won't make sense if we switch to monotonic time | ||||
* | | mod_admin_telnet: Avoid using LuaSocket for timestamps | Kim Alvefur | 2019-12-08 | 1 | -2/+1 |
| | | | | | | | | | | Using util.time will make it easier to move away from LuaSocket if we ever wanted to do that. | ||||
* | | mod_saslauth: Set a nicer bounce error explaining SASL EXTERNAL failures | Kim Alvefur | 2019-12-07 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | Better than the previous string concatenation of SASL failure condition and optional text sent by the remote server. Would be nice to have a text per condition, other than the probably most common 'not-authorized'. | ||||
* | | mod_saslauth: Collect SASL EXTERNAL failures into an util.error object | Kim Alvefur | 2019-12-07 | 1 | -5/+12 |
| | | | | | | | | | | Will be easier than that concatenated string to extract info out of for use elsewhere. | ||||
* | | net.server_epoll: Add debug logging for delayed reading | Kim Alvefur | 2019-12-07 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In :onreadable, if there is still buffered incoming data after reading from the socket (as indicated by the :dirty method, usually because LuaSocket has an 8k buffer that's full but it read a smaller amount), another attempt to read is scheduled via this :pausefor method. This is also called from some other places where it would be pointless to read because there shouldn't be any data. In the delayed read case, this should report that the socket is "dirty". If it reports that the socket is "clean" then the question is where the buffer contents went? If this doesn't get logged after the scheduled time (0.000001s by default) then this would suggests a problem with timer or scheduling. | ||||
* | | net.connect: Mention RFC 6724 regression | Kim Alvefur | 2019-12-07 | 2 | -0/+2 |
| | | | | | | | | | | Default Address Selection algorithm is not applied, resulting in a strong bias towards IPv4. | ||||
* | | net.connect: Add some TODOs and FIXMEs | Kim Alvefur | 2019-12-07 | 3 | -1/+10 |
| | | | | | | | | And mention issue numbers: #1246, #1428 and #1429 | ||||
* | | mod_s2s: Invert condition to return early and reduce indentation | Kim Alvefur | 2019-12-04 | 1 | -26/+26 |
| | | |||||
* | | mod_s2s: Fix mistake in 28755107c2f4 | Kim Alvefur | 2019-12-03 | 1 | -0/+1 |
| | | |||||
* | | mod_saslauth: Advertise correct set of mechanisms | Kim Alvefur | 2019-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Mistakenly iterates over the set of all supported mechanisms instead of the one without insecure mechanisms if the connection is insecure. Not a problem if c2s_require_encryption is true Introduced in 56a0f68b7797 | ||||
* | | util.*.c: Add static qualifiers everywhere | Emmanuel Gil Peyrot | 2019-12-01 | 6 | -52/+47 |
| | | |||||
* | | util.encodings: Remove redundant cast | Emmanuel Gil Peyrot | 2019-12-01 | 1 | -1/+1 |
| | | |||||
* | | util.encodings: Don?t export unneeded symbols | Emmanuel Gil Peyrot | 2019-12-01 | 1 | -8/+8 |
| | | | | | | | | This reduces the binary size from 22704?B to 18592?B. | ||||
* | | mod_s2s: Refactor stream error handling on close | Kim Alvefur | 2019-12-01 | 1 | -19/+14 |
| | | | | | | | | | | | | Deduplicates the 3 log calls that log the same thing but subtly differently. The first one would say "Disconnecting localhost" and the last one didn't log the IP. | ||||
* | | mod_s2s: Use stanza type check instead of duck typing | Kim Alvefur | 2019-12-01 | 1 | -1/+1 |
| | | |||||
* | | mod_net_multiplex: Remove debug message | Kim Alvefur | 2019-12-01 | 1 | -1/+0 |
| | | | | | | | | | | This was something I added during development and set to info level for visibility. |