Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | mod_admin_telnet: Allow specifying a reason when closing sessions (#1400) | Kim Alvefur | 2019-07-28 | 1 | -8/+17 | |
| | | | | ||||||
* | | | | util.xmppstream: Inherit xml:lang from stream to stanzas (fixes #1401) | Kim Alvefur | 2019-07-28 | 1 | -0/+6 | |
| | | | | ||||||
* | | | | net.server_epoll: Remove unused local [luacheck] | Kim Alvefur | 2019-07-26 | 1 | -1/+0 | |
| | | | | ||||||
* | | | | mod_pubsub: Eliminate dead code | Kim Alvefur | 2019-07-25 | 1 | -8/+3 | |
| | | | | | | | | | | | | | | | | `data` is a stanza and always truthy | |||||
* | | | | net.server_epoll: Overhaul logging with one log sink per connection | Kim Alvefur | 2019-07-26 | 1 | -23/+41 | |
| | | | | ||||||
* | | | | net.server_epoll: Deprecate libevent emulation layer | Kim Alvefur | 2019-07-24 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | mod_admin_telnet: Add xmpp:ping to help | Kim Alvefur | 2019-07-26 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | mod_admin_telnet: Add c2s:count() to help | Kim Alvefur | 2019-07-26 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | mod_admin_telnet: Make c2s:count() consistent with c2s:show() | Kim Alvefur | 2019-07-26 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | Both now operate on the same complete set of c2s sessions | |||||
* | | | | mod_admin_telnet: Factor out function for collecting all c2s sessions for ↵ | Kim Alvefur | 2019-07-26 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | easier reuse | |||||
* | | | | mod_admin_telnet: Include both c2s connections and sessions in c2s:show() | Kim Alvefur | 2019-07-26 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | This way both incomplete connections and hibernating c2s sessions are shown. | |||||
* | | | | net.server_epoll: Return errors from creating sockets | Kim Alvefur | 2019-07-23 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Prevents error from attempting to index nil conn on such failure. Silences luacheck warning about the 'err' variable being unused | |||||
* | | | | net.server_epoll: Add experimental option to close connections in case of ↵ | Kim Alvefur | 2019-05-25 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | listener error Sometimes such errors leave sessions in an inconsistent state, so it might be better to close them early. | |||||
* | | | | net.server_epoll: Return listener error message | Kim Alvefur | 2019-05-25 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | mod_mam: Report correct count of results for forward queries | Kim Alvefur | 2019-07-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | #results is only correct for backwards queries, the table is unused for forward queries. | |||||
* | | | | mod_mam: Move final log message to end of query procedure | Kim Alvefur | 2019-07-11 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | mod_mam: Log RSM parameters | Kim Alvefur | 2019-07-11 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | Helps when trying to figure out why some queries fail, ie when paging using an archive id that doesn't exist. | |||||
* | | | | mod_mam: Log query failure reason | Kim Alvefur | 2019-07-11 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | The storage engine will usually make a lot of noise for serious errors, but not always. | |||||
* | | | | mod_mam: Log more details in final log message | Kim Alvefur | 2019-07-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Saves you from counting messages sent | |||||
* | | | | mod_mam: Include query id in final log message | Kim Alvefur | 2019-07-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Should make it easier to find related log messages | |||||
* | | | | mod_mam: Use stanza id in log message as fallback if no query id | Kim Alvefur | 2019-07-11 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | mod_mam: Include username that performed query | Kim Alvefur | 2019-07-11 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | Not always easy to find from surrounding logs | |||||
* | | | | mod_mam: Make log message more compact | Kim Alvefur | 2019-07-11 | 1 | -4/+5 | |
| | | | | ||||||
* | | | | mod_pubsub: Move a comment to where it makes sense | Kim Alvefur | 2019-07-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | This code has moved but the comment did not follow it. | |||||
* | | | | util.error: Fix traceback due to missing text field | Kim Alvefur | 2019-07-10 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | mod_admin_telnet: Move error handling to thread callback (fixes #1391) | Kim Alvefur | 2019-05-10 | 1 | -7/+4 | |
| | | | | | | | | | | | | | | | | Avoids yielding over pcall boundry, fixes xmpp:ping() command on Lua 5.1 | |||||
* | | | | mod_admin_telnet: Check for simple commands before executing in sandbox | Kim Alvefur | 2019-05-10 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This makes fixing yield over pcall boundry issue easier since it would have jumped to the thread error handler instead of proceeding to checking for simple commands. | |||||
* | | | | mod_pep: Only log when creating new pubsub services | Kim Alvefur | 2019-07-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once upon a time get_pep_service() would get called with random bare JIDs and remote hostnames, which is why it was logged this way. This seems to have been fixed, so it's not as useful anymore. It's still useful to know when it creates a new service object. | |||||
* | | | | net.http.files: Fix cache handling | Kim Alvefur | 2019-06-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Typo that broke the LRU-ness of the caching | |||||
* | | | | prosodyctl: Fix extraction of interpreter from arg when additional arguments ↵ | Kim Alvefur | 2019-06-29 | 1 | -1/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (fixes #1386) Interpreter goes into the lowest negative index. See http://www.lua.org/manual/5.2/manual.html#7 | |||||
* | | | | MUC: Advertise language field as such via XEP-0122 | Kim Alvefur | 2019-07-07 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets clients know that the field is a language field and should be in RFC 5646 format. Field validation code in util.dataforms left for future commit. | |||||
* | | | | mod_pubsub: Expose pubsub#access_model and pubsub#publish_model (fixes #1387) | Kim Alvefur | 2019-07-06 | 1 | -0/+10 | |
| | | | | ||||||
* | | | | Merge 0.11->trunk | Kim Alvefur | 2019-07-08 | 108 | -1337/+3588 | |
|\ \ \ \ | |/ / / |/| / / | |/ / | ||||||
| * | | Merge 0.11->trunk | Kim Alvefur | 2019-06-20 | 1 | -1/+1 | |
| |\ \ | ||||||
| * \ \ | Merge 0.11->trunk | Kim Alvefur | 2019-06-20 | 1 | -10/+2 | |
| |\ \ \ | ||||||
| * | | | | mod_blocklist: Add comment to clarify some logic | Kim Alvefur | 2019-06-20 | 1 | -0/+1 | |
| | | | | | ||||||
| * | | | | Merge 0.11->trunk | Kim Alvefur | 2019-06-20 | 2 | -0/+176 | |
| |\ \ \ \ | ||||||
| * | | | | | util.dependencies: Increase Lua version to warn about to 5.4 | Kim Alvefur | 2019-06-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No significant problems have been encountered with Lua 5.3 itself, so apart from some odd problems in LuaExpat it seems about time to declare it ready. | |||||
| * | | | | | MUC: Reflow event tables to improve readability | Kim Alvefur | 2019-06-19 | 1 | -4/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Also makes it easier to read diffs of added fields. | |||||
| * | | | | | mod_pep: Log node name instead of payload | Kim Alvefur | 2019-06-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Having the node logged is more useful and less problematic for privacy | |||||
| * | | | | | Merge 0.11->trunk | Kim Alvefur | 2019-06-10 | 107 | -1377/+3592 | |
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | ||||||
| | * | | | | mod_admin_telnet: Collect array from Bosh connections when appending to ↵ | Michel Le Bihan | 2019-06-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connection list Fixes #1356 | |||||
| | * | | | | core/sessionmanager: Remove unnecessary fallback in make_authenticated | Maxime “pep” Buquet | 2019-06-01 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | prosody: Also log status code passed to exit() | Kim Alvefur | 2019-05-31 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Sometimes you're just too lazy to `echo $?` | |||||
| | * | | | | prosody: Log shutdown reason (in past tense) as the very last thing | Kim Alvefur | 2019-05-31 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | prosody: Log shutdown reason | Kim Alvefur | 2019-05-31 | 1 | -0/+1 | |
| | | | | | | ||||||
| | * | | | | Merge 0.11->trunk | Kim Alvefur | 2019-05-31 | 1 | -0/+6 | |
| | |\ \ \ \ | ||||||
| | * \ \ \ \ | Merge 0.11->trunk | Kim Alvefur | 2019-05-30 | 1 | -39/+16 | |
| | |\ \ \ \ \ | ||||||
| | * | | | | | | util.format: Handle integer formats the same way on Lua versions without ↵ | Kim Alvefur | 2019-05-30 | 2 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integer support | |||||
| | * | | | | | | util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) | Kim Alvefur | 2019-05-30 | 2 | -0/+7 | |
| | | | | | | | |