Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.stanza: Check that argument to error_reply is NOT a stanza of type error | Kim Alvefur | 2019-11-25 | 2 | -0/+12 |
| | | | | Replying to an error is Very Bad | ||||
* | util.stanza: Check that argument to error_reply is a stanza | Kim Alvefur | 2019-11-25 | 2 | -0/+9 |
| | |||||
* | util.stanza: Remove redundant check for attrs | Kim Alvefur | 2019-11-25 | 2 | -1/+8 |
| | | | | A stanza can't not have attrs if created the correct way | ||||
* | util.stanza: Check that argument to reply is a stanza | Kim Alvefur | 2019-11-25 | 2 | -0/+9 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-11-24 | 1 | -0/+2 |
|\ | |||||
| * | net.resolvers.basic: Normalise IP literals, ensures net.server is happy | Kim Alvefur | 2019-11-24 | 1 | -0/+2 |
| | | |||||
* | | net.resolvers.service: Pass IP literals directly to basic resolver | Kim Alvefur | 2019-11-24 | 1 | -0/+9 |
| | | | | | | | | | | | | IP literals will not work with SRV records anyways. Fixes s2s with IP literals. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-11-24 | 1 | -11/+17 |
|\| | |||||
| * | net.resolvers.basic: Fix resolution of IPv6 literals (in brackets) (fixes #1459) | Kim Alvefur | 2019-11-24 | 1 | -0/+3 |
| | | |||||
| * | net.resolvers.basic: Move IP literal check to constructor | Kim Alvefur | 2019-11-24 | 1 | -11/+14 |
| | | | | | | | | | | This is to prepare for fixing #1459. An IPv6 literal in [ ] brackets does not pass IDNA and resolving it fails there. | ||||
* | | MUC: Add testcase for #1466 | Kim Alvefur | 2019-11-24 | 1 | -0/+127 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-11-23 | 156 | -2095/+6212 |
|\ \ | |/ |/| | |||||
| * | mod_http_errors: Show a friendly page instead of 404 on top level | Kim Alvefur | 2019-11-17 | 1 | -0/+12 |
| | | |||||
| * | mod_csi: Cache CSI module availability to improve readabilty | Kim Alvefur | 2019-11-23 | 1 | -1/+4 |
| | | |||||
| * | mod_csi: Set module status based on whether a CSI handler module appears to ↵ | Kim Alvefur | 2019-11-23 | 1 | -0/+9 |
| | | | | | | | | be loaded | ||||
| * | mod_csi: Only advertise CSI to clients if something is handling CSI events | Kim Alvefur | 2019-11-17 | 1 | -1/+1 |
| | | |||||
| * | mod_s2s: Add error text for error replies on some s2s failures (#770) | Kim Alvefur | 2019-11-23 | 1 | -5/+6 |
| | | |||||
| * | s2s: Allow passing a custom error for bouncing queued stanzas (#770) | Kim Alvefur | 2019-11-23 | 2 | -5/+5 |
| | | | | | | | | Since stream errors and stanza errors are different | ||||
| * | mod_admin_telnet: Show SNI name in show_tls() if available | Kim Alvefur | 2019-11-20 | 1 | -0/+6 |
| | | |||||
| * | util.termcolours: Use explicit number formatting instead of coercion on ↵ | Kim Alvefur | 2019-11-20 | 1 | -1/+1 |
| | | | | | | | | concatenation | ||||
| * | prosody.cfg.lua.dist: Remove mention of syslog near mod_posix | Kim Alvefur | 2019-11-19 | 1 | -1/+1 |
| | | | | | | | | | | The syslog sink was moved out of mod_posix into core.loggingmanager in 1460c4966262 See #541 | ||||
| * | mod_s2s: Wait for remote to close any connection allowing incoming stanzas | Kim Alvefur | 2019-11-18 | 1 | -1/+1 |
| | | | | | | | | Ie both s2sin and bidi-enabled s2sout. | ||||
| * | net.server_epoll: Save log tag in a field on FD watchers too | Kim Alvefur | 2019-11-17 | 1 | -2/+4 |
| | | | | | | | | As with 0e1701197722 | ||||
| * | Back out c8aa66595072: Extra changes accidentally included | Kim Alvefur | 2019-11-17 | 1 | -5/+3 |
| | | |||||
| * | net.server_epoll: Save log tag in a field on FD watchers too | Kim Alvefur | 2019-11-17 | 1 | -3/+5 |
| | | | | | | | | As with 0e1701197722 | ||||
| * | net.server_epoll: Improve read timeout debug messages | Kim Alvefur | 2019-10-19 | 1 | -2/+2 |
| | | |||||
| * | net.server_epoll: Clarify a debug message | Kim Alvefur | 2019-10-19 | 1 | -1/+1 |
| | | | | | | | | Writing what? The data that's been buffered for writing | ||||
| * | mod_muc_mam: Copy debug log improvements from mod_mam | Kim Alvefur | 2019-11-17 | 1 | -6/+12 |
| | | |||||
| * | mod_csi_simple: Make sure to disable optimizations before mod_smacks (thanks ↵ | Kim Alvefur | 2019-11-17 | 1 | -1/+1 |
| | | | | | | | | pep.) | ||||
| * | util.interpolation: Add commented test case for passing nil to filter | Kim Alvefur | 2019-11-17 | 1 | -0/+1 |
| | | |||||
| * | util.interpolation: Test template filters | Kim Alvefur | 2019-11-17 | 1 | -1/+11 |
| | | |||||
| * | Merge 0.11->trunk | Kim Alvefur | 2019-11-16 | 154 | -2077/+6144 |
| |\ | |||||
| | * | mod_http: Soften dependency on mod_http_errors | Kim Alvefur | 2019-11-16 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | This allows disabling mod_http_errors by adding it to moduless_disabled and ensures mod_http loads even if the error pages aren't as pretty. | ||||
| | * | doap: Sort XEPs by number | Kim Alvefur | 2019-11-15 | 1 | -8/+8 |
| | | | |||||
| | * | server_event: Remove duplicated code (thanks waqas) | Kim Alvefur | 2019-11-13 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | readcallback() calls onreadtimeout() and runs the exact same code if onreadtimeout() doesn't return true, which it doesn't do. | ||||
| | * | util.dependencies: Avoid missing bitop false positive on Lua 5.4 | Kim Alvefur | 2019-11-09 | 1 | -1/+1 |
| | | | |||||
| | * | util.startup: Disable plugin installer path creation for now (see comments) | Kim Alvefur | 2019-11-09 | 1 | -2/+4 |
| | | | |||||
| | * | util.startup: Split plugin installer path setup into a separate function | Kim Alvefur | 2019-11-09 | 1 | -4/+11 |
| | | | |||||
| | * | mod_s2s: Allow passing bounce reason as an util.error object (see #770) | Kim Alvefur | 2019-11-08 | 1 | -2/+9 |
| | | | | | | | | | | | | This argument is currently unused in s2smanager. | ||||
| | * | util.paths: Don't treat path as pattern, fix traceback (thanks Menel87) | Kim Alvefur | 2019-11-08 | 1 | -2/+2 |
| | | | |||||
| | * | Merge 0.11->trunk | Kim Alvefur | 2019-11-08 | 2 | -0/+2 |
| | |\ | |||||
| | * | | mod_ping: Remove ad-hoc command | Kim Alvefur | 2019-11-07 | 1 | -15/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17:27:40 <Ge0rG> Zash: the Ping thing is absolutely worthless 17:27:55 <Zash> The command provided by mod_ping? 17:27:59 <pep.> To own server? 17:28:14 <Ge0rG> the Ping command in mod_admin_web, whatever it maps to 17:28:29 <Ge0rG> > Pong > 2019-11-07T16:28:16Z What am I supposed to do with that result? 17:28:29 <Zash> Yeah, mod_ping provides that 17:28:41 <Ge0rG> Is it a ping to my own server? Where's the RTT? 17:28:48 <Zash> Dunno if it's useful for more than verifying that the adhoc command system works 17:29:02 <Ge0rG> (it lags, but there is no indication of how much) 17:29:14 <Zash> It can't really test that itself 17:29:52 <Zash> Anyone opposed to deleting it? 17:30:42 <Zash> Half the module 17:42:47 <MattJ> Zash, I'm fine with removing it | ||||
| | * | | mod_admin_adhoc: Add some flags to s2s listing command | Kim Alvefur | 2019-11-07 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | These are present in mod_admin_telnet and relevant to s2s | ||||
| | * | | util.array: Fix typo in test | Kim Alvefur | 2019-11-07 | 1 | -1/+1 |
| | | | | |||||
| | * | | net.http.server: Treat promise rejection without value as a HTTP 500 error | Kim Alvefur | 2019-11-05 | 1 | -1/+1 |
| | | | | |||||
| | * | | net.http.server: Handle promises from http handlers | Kim Alvefur | 2019-11-01 | 1 | -0/+8 |
| | | | | |||||
| | * | | net.http.server: Handle util.error objects from http handlers | Kim Alvefur | 2019-11-01 | 1 | -0/+3 |
| | | | | |||||
| | * | | net.http.server: Tail call because tail call! | Kim Alvefur | 2019-11-01 | 1 | -1/+1 |
| | | | | |||||
| | * | | net.http.server: Factor out handling of event response for easier reuse | Kim Alvefur | 2019-11-01 | 1 | -31/+34 |
| | | | | |||||
| | * | | Merge 0.11->trunk | Kim Alvefur | 2019-11-04 | 1 | -2/+9 |
| | |\ \ |