Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | 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 |
| | |