Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_component: Return extended error condition when not connected | Kim Alvefur | 2020-04-13 | 1 | -1/+2 |
| | | | | This might be something to write a XEP about. | ||||
* | mod_component: Reply with a different error when not connected | Kim Alvefur | 2020-04-13 | 1 | -1/+1 |
| | | | | | | | | | The wait, service-unavailable is overloaded by XEP-0045 to mean that the room has reached the maximum number of users. See #1495. Bouncing errors for components is tricky since there is no way to tell that it comes from the server hosting the component, not from the other end of the component connection. | ||||
* | mod_net_multiplex: Set read size/mode to that of the target listener | Kim Alvefur | 2020-08-02 | 1 | -0/+3 |
| | | | | | Otherwise it would use the configured buffer size, or previously '*a'. Using the read size set by the listener seems more sensible. | ||||
* | mod_net_multiplex: Read no more than the max buffer size setting | Kim Alvefur | 2020-08-02 | 1 | -1/+1 |
| | | | | | Otherwise the '*a' read mode applies, which under certain circumstances can read infinite amounts of data into memory. | ||||
* | mod_http: Add way to signal that a module supports streaming uploads | Kim Alvefur | 2020-08-01 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | Fixes #726 API: module:provides("http", { streaming_uploads = true; route = { PUT = function (event) event.request.body_sink = io.tmpfile(); return true; end } }) | ||||
* | net.http.parser: Allow specifying sink for large request bodies | Kim Alvefur | 2020-08-01 | 1 | -0/+9 |
| | | | | | | | This enables uses such as saving uploaded files directly to a file on disk or streaming parsing of payloads. See #726 | ||||
* | mod_register: Add a dependency on mod_watchregistrations | Emmanuel Gil Peyrot | 2020-06-29 | 1 | -0/+1 |
| | | | | | Spammers are a big hassle, hopefully this will make admins aware of them sooner than when they’ve already spammed a bunch. | ||||
* | mod_proxy65: Limit dump of invalid data to 300 bytes (like mod_c2s) | Kim Alvefur | 2020-07-17 | 1 | -2/+2 |
| | |||||
* | mod_proxy65: Log invalid greetings escaped instead of as base64 | Kim Alvefur | 2020-07-16 | 1 | -3/+2 |
| | | | | | Makes it easier to see human-readable parts and thus identifying the garbage. Also consistent with mod_c2s and others. | ||||
* | mod_server_contact_info: Add status-addresses field | Kim Alvefur | 2020-05-27 | 1 | -0/+1 |
| | | | | XEP-0157 version 1.1.0 | ||||
* | mod_storage_sql: Measure hits/misses on the item count cache | Kim Alvefur | 2020-07-02 | 1 | -0/+7 |
| | | | | | A cache miss can be expensive so having numbers on how often this occurs may be valuable. | ||||
* | mod_admin_shell: Handle server_epoll using monotonic time internally | Kim Alvefur | 2020-06-30 | 1 | -2/+9 |
| | |||||
* | mod_admin_shell: Fix debug:timers to handle net.server native timers | Kim Alvefur | 2020-06-29 | 1 | -6/+16 |
| | |||||
* | mod_register_ibr: Add event for successful password reset | Matthew Wild | 2020-06-22 | 1 | -0/+1 |
| | | | | | | | | This is in addition to the existing event for password changes. This one includes additional details about the actor, and only triggers when the change is due to the account owner (presumably) resetting. As example use case is to invalidate one-time password reset tokens. | ||||
* | Merge 0.11->trunk | Kim Alvefur | 2020-06-21 | 1 | -3/+0 |
|\ | |||||
| * | mod_muc_mam: Don't strip MUC <x> tags, fix #1567 | Kim Alvefur | 2020-06-21 | 1 | -3/+0 |
| | | |||||
* | | mod_register_ibr: Allow registration to reset an existing account password ↵ | Matthew Wild | 2020-06-18 | 1 | -6/+19 |
| | | | | | | | | if permitted by a plugin | ||||
* | | mod_admin_shell: Update for async.wait_for rename | Kim Alvefur | 2020-06-13 | 1 | -2/+2 |
| | | |||||
* | | mod_storage_internal, mod_storage_memory: Add support for query.before | Matthew Wild | 2020-06-12 | 2 | -4/+10 |
| | | | | | | | | Previously returned all results. | ||||
* | | mod_storage_sql: Fix incorrect results when fetching items before specific ↵ | Matthew Wild | 2020-06-12 | 1 | -1/+1 |
| | | | | | | | | | | | | archive id Copy/paste error, introduced in deb68066c7aa | ||||
* | | mod_http: Support CIDR for trusted proxies. | Boris Grozev | 2020-06-10 | 1 | -1/+16 |
| | | |||||
* | | mod_admin_shell: Fix display of units for some statistics | Kim Alvefur | 2020-06-07 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-06-06 | 3 | -2/+25 |
|\| | |||||
| * | mod_auth_internal_*: Apply saslprep to passwords | Kim Alvefur | 2020-05-23 | 3 | -2/+25 |
| | | | | | | | | Related to #1560 | ||||
* | | mod_admin_shell: Skip multiplier adjustment for rates | Kim Alvefur | 2020-06-04 | 1 | -2/+3 |
| | | |||||
* | | mod_admin_shell: Format stats with util.human.units | Kim Alvefur | 2020-06-03 | 1 | -36/+36 |
| | | |||||
* | | mod_s2s: Move out of empty directory | Kim Alvefur | 2020-06-02 | 1 | -0/+0 |
| | | | | | | | | | | mod_s2s.lua had been all alone in there since the removal of s2sout.lib.lua in 756b8821007a | ||||
* | | mod_admin_shell: Fix error due to float passed to os.date in Lua 5.3 | Kim Alvefur | 2020-06-02 | 1 | -4/+4 |
| | | | | | | | | Thanks Martin | ||||
* | | mod_admin_socket: Use module API meant for file paths | Kim Alvefur | 2020-06-01 | 1 | -1/+1 |
| | | | | | | | | | | Makes it so that a relative path in the config becomes relative to the data directory. | ||||
* | | mod_vcard_legacy: Fix publishing vcard without avatar | Kim Alvefur | 2020-06-01 | 1 | -6/+8 |
| | | |||||
* | | mod_vcard_legacy: Remove semi-broken support for multiple avatars | Kim Alvefur | 2020-06-01 | 1 | -34/+28 |
| | | | | | | | | | | | | | | | | | | Nobody does this. If someone wants to they should go use the PEP method directly instead. Additionally, this got in the way of doing multiple avatars The PEP Way, since it treated each 'data' as a distinct avatar with an optional corresponding 'metadata', which is not how it works. | ||||
* | | mod_admin_shell: Remove old variable declaration [luacheck] | Matthew Wild | 2020-06-01 | 1 | -2/+0 |
| | | |||||
* | | mod_admin_socket: Use wrapserver if available | Kim Alvefur | 2020-06-01 | 1 | -1/+5 |
| | | | | | | | | | | Why have a custom accept function when this is net.server's entire thing? | ||||
* | | mod_admin_shell: Remove extra newline at end of help text | Matthew Wild | 2020-06-01 | 1 | -1/+0 |
| | | |||||
* | | mod_admin_shell, mod_admin_telnet, util.prosodyctl.shell: Separate output ↵ | Matthew Wild | 2020-06-01 | 2 | -15/+21 |
| | | | | | | | | | | | | from final result Fixes the client pausing for input after output from commands. | ||||
* | | mod_admin_telnet: Become a front for mod_admin_shell | Matthew Wild | 2020-06-01 | 1 | -1588/+35 |
| | | |||||
* | | mod_admin_shell: New module that implements the console interface over an ↵ | Matthew Wild | 2020-06-01 | 1 | -0/+1637 |
| | | | | | | | | admin socket | ||||
* | | mod_admin_socket, util.adminstream: New module to manage a local unix domain ↵ | Matthew Wild | 2020-06-01 | 1 | -0/+69 |
| | | | | | | | | socket for admin functionality | ||||
* | | mod_c2s,mod_s2s: Make stanza size limits configurable | Kim Alvefur | 2020-05-31 | 2 | -2/+4 |
| | | |||||
* | | mod_c2s,mod_s2s: Use a distinct stream error for hitting stanza size limit | Kim Alvefur | 2020-05-31 | 2 | -2/+10 |
| | | | | | | | | Since this is not a real parse error, it should not be reported as such. | ||||
* | | mod_admin_telnet: Update existing sessions on reload | Kim Alvefur | 2020-05-16 | 1 | -0/+14 |
| | | | | | | | | | | This removes the need to disconnect and reconnect to the telnet console for changes to take effect. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-05-15 | 1 | -2/+4 |
|\| | |||||
| * | mod_storage_internal: Fix error in time limited queries on items without ↵ | Kim Alvefur | 2020-05-15 | 1 | -2/+4 |
| | | | | | | | | 'when' field, fixes #1557 | ||||
* | | mod_storage_internal: Fix keeping old timestamp in archive map API | Kim Alvefur | 2020-05-15 | 1 | -1/+1 |
| | | | | | | | | | | This led to a missing 'when' field on changed items, which would cause a traceack. | ||||
* | | mod_http: Tell luacheck to ignore the long comment lines | Kim Alvefur | 2020-05-14 | 1 | -0/+1 |
| | | |||||
* | | mod_http: Add documentation to the non-obvious logic of get_ip_from_request | Jonas Schäfer | 2020-05-14 | 1 | -0/+7 |
| | | | | | | | | Because docs are good. | ||||
* | | mod_storage_memory: Add map store methods to archive store | Kim Alvefur | 2020-05-11 | 1 | -0/+31 |
| | | |||||
* | | mod_storage_internal: Implement key-value API | Kim Alvefur | 2020-05-11 | 1 | -0/+40 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-05-11 | 1 | -1/+1 |
|\| | |||||
| * | mod_muc_mam: Remove spoofed archive IDs before archiving, fix #1552 | Kim Alvefur | 2020-05-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | The stanza-id added during archiving looks exactly like what should be stripped, so the stripping must happen before archiving. Getting priorities right is hard! Also no test coverage yet. |