Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.11->trunk | Kim Alvefur | 2020-10-07 | 1 | -2/+2 |
|\ | |||||
| * | MUC: Preserve disco 'node' attribute (or lack thereof) in response (fix ↵ | Kim Alvefur | 2020-10-07 | 1 | -2/+2 |
| | | | | | | | | #1595) (thanks lessthan3) | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-10-05 | 1 | -2/+2 |
|\| | |||||
| * | MUC: Correct advertising of subject write access (really fixes #1155) | Kim Alvefur | 2020-10-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | Thanks pep. and lovetox XEP-0045 §6.4: > any field defined for the muc\#roomconfig FORM_TYPE can be included in > the extended service discovery fields Probably happened because the same mistake is in #1155 | ||||
* | | mod_bosh: Count connection attempts non-VirtualHost as "bad host" (stats) | Kim Alvefur | 2020-10-03 | 1 | -0/+2 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-10-03 | 1 | -1/+18 |
|\| | |||||
| * | mod_bosh: Ensure that stream is directed to a VirtualHost (fixes #425) | Kim Alvefur | 2020-10-03 | 1 | -0/+16 |
| | | |||||
| * | mod_bosh: Pick out the 'wait' before checking it instead of earlier | Kim Alvefur | 2020-10-03 | 1 | -1/+2 |
| | | | | | | | | | | Going to add more host related checks, so to keep the wait variable closer to the related checks | ||||
| * | mod_c2s,mod_s2s: Make stanza size limits configurable0.11.7 | Kim Alvefur | 2020-05-31 | 2 | -2/+4 |
| | | |||||
* | | mod_auth_anonymous: Add config option to allow/disallow storage writes | Matthew Wild | 2020-10-02 | 1 | -2/+8 |
| | | |||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-09-29 | 1 | -76/+106 |
|\| | |||||
| * | mod_websocket: Refactor frame validity checking, also check ↵ | Matthew Wild | 2020-09-29 | 1 | -77/+95 |
| | | | | | | | | partially-received frames against constraints | ||||
| * | mod_websocket: Continue to process data already in the buffer after an error ↵ | Matthew Wild | 2020-09-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | occurs Previously any error, or even a normal websocket close frame, would return early, leaving potentially entire frames in the buffer unprocessed and then discarded. This change stops processing new data, but returns an existing processed data up to the point of the error/close. | ||||
| * | mod_websocket: Enforce stanza size limit and close stream | Matthew Wild | 2020-09-17 | 1 | -0/+4 |
| | | |||||
| * | mod_websocket: Add separate limit for frame buffer size | Matthew Wild | 2020-09-17 | 1 | -2/+2 |
| | | |||||
| * | mod_websocket: handle full frame buffer and raise stream error | Matthew Wild | 2020-09-17 | 1 | -1/+5 |
| | | |||||
| * | mod_websocket: Switch partial frame buffering to util.dbuffer | Matthew Wild | 2020-09-17 | 1 | -3/+8 |
| | | | | | | | | | | This improves performance and enforces stanza size limits earlier in the pipeline. | ||||
| * | mod_s2s: Escape invalid XML in loggin (same way as mod_c2s) fix #15740.11.6 | Kim Alvefur | 2020-08-01 | 1 | -2/+1 |
| | | |||||
* | | mod_http: Silence warnings when running under prosodyctl | Matthew Wild | 2020-09-11 | 1 | -2/+4 |
| | | |||||
* | | mod_posix: Daemonize later | Kim Alvefur | 2020-09-08 | 1 | -3/+1 |
| | | | | | | | | | | Daemonizing later means we can use that as a "successful startup" signal and problems can be reported via exit code. | ||||
* | | MUC: Don't default room name to JID localpart (API breaking change) | Kim Alvefur | 2020-08-29 | 2 | -6/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Behavior with turning empty name into localpart was originally introduced in 711eb5bf94b4 This has caused some problems for clients, making it difficult to differentiate between a room actually named like the localpart from a room without a name. Breaking: The function signature of the :get_name() method changes from always returning a string to optional string. | ||||
* | | mod_posix: Remove ancient undocumented user switching | Kim Alvefur | 2020-08-24 | 1 | -31/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | User switching has been done by prosodyctl or init scripts for a very long time now, so this is not needed. Using this would not have worked with module reloading (e.g. to reload certificates) since ports are closed and re-bound, which would then not be allowed. Today there exists better ways to grant low ports, i.e. capabilities(7) <Zash> Why do we have this? <MattJ> Remove it | ||||
* | | mod_admin_shell: Report CSI queue length from mod_csi_simple | Kim Alvefur | 2020-08-22 | 1 | -1/+5 |
| | | |||||
* | | mod_admin_shell: Report CSI state in c2s:show() | Kim Alvefur | 2020-08-22 | 1 | -0/+3 |
| | | |||||
* | | mod_external_services: Validate services added via events | Kim Alvefur | 2020-08-17 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | While writing developer documentation it became obvious that i was silly to have one item format for config and items API, and another format for the event API. Then there's the stanza format, but that's a common pattern. This change reduces the possible input formats to two and allows other modules the benefit of the processing and validation performed on items from the config. | ||||
* | | mod_external_services: Allow specifying a credential generation callback | Kim Alvefur | 2020-07-25 | 1 | -1/+1 |
| | | | | | | | | | | This is especially targeted at services added via the items API. More involved credential generation should use the event hook. | ||||
* | | mod_external_services: Prepare to allow more credential algorithms | Kim Alvefur | 2020-07-25 | 1 | -13/+25 |
| | | | | | | | | | | | | Not sure what algorithms might fit here. Separation makes some sense. This is also a preparation for having a callback. (See next commit) | ||||
* | | mod_external_services: Support adding services via items API | Kim Alvefur | 2020-07-25 | 1 | -2/+4 |
| | | |||||
* | | mod_external_services: XEP-0215: External Service Discovery | Kim Alvefur | 2020-07-18 | 1 | -0/+205 |
| | | |||||
* | | 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 |
| | |