Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | mod_register_ibr: Allow registartion rejection reason as util.error object | Kim Alvefur | 2019-11-01 | 1 | -2/+9 | |
| | | | | | ||||||
| * | | | | Backed out changeset 64ddcbc9a328 as it would prevent communicating with ↵ | Kim Alvefur | 2019-10-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | valid remote JIDs that aren't valid under STRINGPREP / Unicode 3.2 | |||||
| * | | | | MUC: Enforce strict resourceprep on nicknames (bye bye robot face) | Kim Alvefur | 2019-09-23 | 1 | -0/+16 | |
| | | | | | ||||||
| * | | | | core.stanza_router: Do strict jidprep on c2s | Kim Alvefur | 2019-09-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Be conservative in what you let your clients send, be liberal in what you let in via s2s. Being strict on s2s leads to interop problems and poor experiences, ie users being ejected from MUCs if something invalid enters. By starting with tightening up input into the network, we may be able to gradually approach a point where no invalid JIDs are allowed. | |||||
| * | | | | util.encodings: Strictly verify that the 'strict' *prep argument is a boolean | Kim Alvefur | 2019-10-30 | 1 | -4/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is to prevent mistakes like nodeprep(username:gsub("a","b")) from unintentionally invoking strict mode. | |||||
| * | | | | util.jid: Add a 'strict' flag for jidprep calls | Kim Alvefur | 2019-09-09 | 1 | -6/+6 | |
| | | | | | ||||||
| * | | | | util.encodings: Optional strict flag to stringprep | Kim Alvefur | 2019-04-24 | 1 | -2/+14 | |
| | | | | | ||||||
| * | | | | util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵ | Matthew Wild | 2019-10-27 | 4 | -4/+248 | |
| | | | | | | | | | | | | | | | | | | | | (fixes #1455) | |||||
| * | | | | MUC: Advertise history related fields as integers via XEP-0122 | Kim Alvefur | 2019-10-20 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | This takes advantage of data type validation and conversion done in util.dataforms. | |||||
| * | | | | CHANGES: Add a line for #1335 | Kim Alvefur | 2019-10-20 | 1 | -0/+1 | |
| | | | | | ||||||
| * | | | | MUC: Add controls for whose presence is broadcast (closes #1335) | Lance Stout | 2019-10-20 | 3 | -5/+112 | |
| | | | | | | | | | | | | | | | | | | | | Committed by Zash | |||||
| * | | | | util.interpolation: Test map syntax | Kim Alvefur | 2019-10-20 | 1 | -0/+7 | |
| | | | | | ||||||
| * | | | | util.interpolation: Test array syntax | Kim Alvefur | 2019-10-20 | 1 | -0/+8 | |
| | | | | | ||||||
| * | | | | util.interpolation: Test #1452 | Kim Alvefur | 2019-10-20 | 1 | -1/+5 | |
| | | | | | ||||||
| * | | | | Merge 0.11->trunk | Kim Alvefur | 2019-10-20 | 1 | -3/+3 | |
| |\ \ \ \ | ||||||
| * | | | | | doap: Sort <implements> by XEP number | Kim Alvefur | 2019-10-20 | 1 | -7/+7 | |
| | | | | | | ||||||
| * | | | | | doap: mod_csi_simple tries to follow XEP-0286: Mobile Considerations, not ↵ | Kim Alvefur | 2019-10-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | XEP-0268 | |||||
| * | | | | | doap: Trim a trailing '.' from a version/branch name for consistency | Kim Alvefur | 2019-10-20 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | doap: Copy longer description from README | Kim Alvefur | 2019-10-20 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | Merge 0.11->trunk | Kim Alvefur | 2019-10-20 | 1 | -2/+0 | |
| |\ \ \ \ \ | ||||||
| * | | | | | | MUC: Validate registration dataform more carefully | Kim Alvefur | 2019-10-20 | 1 | -1/+13 | |
| | | | | | | | ||||||
| * | | | | | | mod_saslauth: Demote "no SASL mechanisms" error back to warning | Kim Alvefur | 2019-10-15 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gets printed before TLS if c2s_require_encryption = false, in which case it is just annoying. | |||||
| * | | | | | | mod_saslauth: Improve logging of why no SASL mechanisms were offered | Kim Alvefur | 2019-10-15 | 1 | -6/+18 | |
| | | | | | | | ||||||
| * | | | | | | mod_saslauth: Use the power of Set Theory to mange sets of SASL mechanisms | Kim Alvefur | 2019-10-15 | 1 | -6/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sets of excluded mechanisms easily available for use later. | |||||
| * | | | | | | mod_saslauth: Log (debug) messages about channel binding | Kim Alvefur | 2019-10-15 | 1 | -0/+5 | |
| | | | | | | | ||||||
| * | | | | | | doc/doap: Claim support for XEP-0368 by way of legacy_ssl_ports | Kim Alvefur | 2019-10-15 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Server support of XEP-0368 means having the ability to accept direct TLS connections. This is what legacy_ssl_ports does. First trace of it seems to be 8458be0941e7 | |||||
| * | | | | | | doc/doap: Claim support for XEP-0268 via mod_csi_simple | Kim Alvefur | 2019-10-15 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mod_csi_simple tries to follow the advice in XEP-0268. Notably, since 7d78b24d8449 it also does this: > If the server receives data, the phones radio is already on, therefore > you should flush any pending data as soon as possible after receiving > data from a client | |||||
| * | | | | | | mod_saslauth: Remove useless debug log line | Kim Alvefur | 2019-10-13 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fairly useless to only log half of SASL messages. Use mod_stanza_debug instead to get the full exchange. | |||||
| * | | | | | | mod_saslauth: Remove commented-out debug log line | Kim Alvefur | 2019-10-13 | 1 | -1/+0 | |
| | | | | | | | ||||||
| * | | | | | | net.server_epoll: Save IP and port from connection creation call | Kim Alvefur | 2019-10-12 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Might come out of :getpeername different later but at least it's something. | |||||
| * | | | | | | server_epoll: Log full string represestation when connected | Kim Alvefur | 2019-10-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since they may have been unknown when the connection was created. | |||||
| * | | | | | | net.server_epoll: Handle getpeer/sockname returning a normal error | Kim Alvefur | 2019-10-12 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These will sometimes return nil, "Transport not connected" but not throw a hard error. This shouldn't be treated as success. | |||||
| * | | | | | | net.server_epoll: Fix to get remote IP on direct TLS connections | Kim Alvefur | 2019-10-12 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A Direct TLS connection (eg HTTPS) gets turned into a LuaSec handle before the :updatenames call done in the :connect method. LuaSec does not expose the :getpeername and :getsockname methods, so the addresses remain obscured, making debugging trickier since the actual IP addrerss connected to does not show up. | |||||
| * | | | | | | net.server_epoll: Move a log message to improve ordering | Kim Alvefur | 2019-10-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was weird that it said "Prepared to start TLS" before "Client .. created" | |||||
| * | | | | | | net.http.files: Explicitly convert number to string, avoiding implicit coercion | Kim Alvefur | 2019-10-12 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | net.http.server: Explicitly convert number to string, avoiding implicit coercion | Kim Alvefur | 2019-10-12 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | mod_websocket: Guard against upgrading to websocket from a HEAD request | Kim Alvefur | 2019-10-12 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | net.http.server: Re-fire unhandled HEAD requsts as GET events (fixes #1447) | Kim Alvefur | 2019-10-12 | 2 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BC: This overloads the GET event. Previous commit ensures HEAD requests are sent without a body. | |||||
| * | | | | | | net.http.server: Ensure HEAD requests are sent with empty body | Kim Alvefur | 2019-10-12 | 1 | -0/+16 | |
| | | | | | | | ||||||
| * | | | | | | doap: Add XEP-0380 since mod_csi_simple takes that into consideration | Kim Alvefur | 2019-10-11 | 1 | -0/+8 | |
| | | | | | | | ||||||
| * | | | | | | doap: Even more XEP details | Kim Alvefur | 2019-10-11 | 1 | -0/+14 | |
| | | | | | | | ||||||
| * | | | | | | doap: Add detials for XEP-0280, 0288 and 0292 | Kim Alvefur | 2019-10-11 | 1 | -0/+7 | |
| | | | | | | | ||||||
| * | | | | | | doap: Note about XEP-0237: Roster Versioning being merged into rfc6121 | Kim Alvefur | 2019-10-11 | 1 | -0/+1 | |
| | | | | | | | ||||||
| * | | | | | | doap: Referece SCRAM | Kim Alvefur | 2019-10-11 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in 0.7.0, first commit 41d42d253a1d | |||||
| * | | | | | | doap: Note about where XEP-0227 is used | Kim Alvefur | 2019-10-10 | 1 | -0/+1 | |
| | | | | | | | ||||||
| * | | | | | | doap: Fix missing '0' in URL to XEP-0288 | Kim Alvefur | 2019-10-10 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | mod_http: Unhook CORS related event handlers | Kim Alvefur | 2019-10-10 | 1 | -3/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents CORS related handlers from being left over on reload. BC: `mod_http.apps[app_name][event_name]` is now a table instead of the main handler function. | |||||
| * | | | | | | util.statistics: Add a total count for rate counters, counting from server ↵ | Emmanuel Gil Peyrot | 2019-10-10 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | start. | |||||
| * | | | | | | doap: Mention support for XEP-0122: Data Forms Validation | Kim Alvefur | 2019-10-09 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added to util.dataforms in a4c52e304e6f. Used in PubSub (cc32aae5c7da) and MUC (13ccc2f05007). | |||||
| * | | | | | | doap: Fix element name typo (node -> note) | Kim Alvefur | 2019-10-09 | 1 | -3/+3 | |
| | | | | | | |