aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | mod_external_services: Prepare to allow more credential algorithmsKim Alvefur2020-07-251-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 APIKim Alvefur2020-07-251-2/+4
| | | | | |
| * | | | | mod_external_services: XEP-0215: External Service DiscoveryKim Alvefur2020-07-181-0/+205
| | | | | |
| * | | | | mod_component: Return extended error condition when not connectedKim Alvefur2020-04-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This might be something to write a XEP about.
| * | | | | mod_component: Reply with a different error when not connectedKim Alvefur2020-04-131-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 listenerKim Alvefur2020-08-021-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 settingKim Alvefur2020-08-021-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 uploadsKim Alvefur2020-08-011-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 bodiesKim Alvefur2020-08-011-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_watchregistrationsEmmanuel Gil Peyrot2020-06-291-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 Alvefur2020-07-171-2/+2
| | | | | |
| * | | | | mod_proxy65: Log invalid greetings escaped instead of as base64Kim Alvefur2020-07-161-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 fieldKim Alvefur2020-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | XEP-0157 version 1.1.0
| * | | | | mod_storage_sql: Measure hits/misses on the item count cacheKim Alvefur2020-07-021-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 internallyKim Alvefur2020-06-301-2/+9
| | | | | |
| * | | | | mod_admin_shell: Fix debug:timers to handle net.server native timersKim Alvefur2020-06-291-6/+16
| | | | | |
| * | | | | mod_register_ibr: Add event for successful password resetMatthew Wild2020-06-221-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->trunkKim Alvefur2020-06-211-3/+0
| |\ \ \ \ \
| * | | | | | mod_register_ibr: Allow registration to reset an existing account password ↵Matthew Wild2020-06-181-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | if permitted by a plugin
| * | | | | | mod_admin_shell: Update for async.wait_for renameKim Alvefur2020-06-131-2/+2
| | | | | | |
| * | | | | | mod_storage_internal, mod_storage_memory: Add support for query.beforeMatthew Wild2020-06-122-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously returned all results.
| * | | | | | mod_storage_sql: Fix incorrect results when fetching items before specific ↵Matthew Wild2020-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | archive id Copy/paste error, introduced in deb68066c7aa
| * | | | | | mod_http: Support CIDR for trusted proxies.Boris Grozev2020-06-101-1/+16
| | | | | | |
| * | | | | | mod_admin_shell: Fix display of units for some statisticsKim Alvefur2020-06-071-1/+1
| | | | | | |
| * | | | | | Merge 0.11->trunkKim Alvefur2020-06-063-2/+25
| |\ \ \ \ \ \
| * | | | | | | mod_admin_shell: Skip multiplier adjustment for ratesKim Alvefur2020-06-041-2/+3
| | | | | | | |
| * | | | | | | mod_admin_shell: Format stats with util.human.unitsKim Alvefur2020-06-031-36/+36
| | | | | | | |
| * | | | | | | mod_s2s: Move out of empty directoryKim Alvefur2020-06-021-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.3Kim Alvefur2020-06-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks Martin
| * | | | | | | mod_admin_socket: Use module API meant for file pathsKim Alvefur2020-06-011-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 avatarKim Alvefur2020-06-011-6/+8
| | | | | | | |
| * | | | | | | mod_vcard_legacy: Remove semi-broken support for multiple avatarsKim Alvefur2020-06-011-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 Wild2020-06-011-2/+0
| | | | | | | |
| * | | | | | | mod_admin_socket: Use wrapserver if availableKim Alvefur2020-06-011-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 textMatthew Wild2020-06-011-1/+0
| | | | | | | |
| * | | | | | | mod_admin_shell, mod_admin_telnet, util.prosodyctl.shell: Separate output ↵Matthew Wild2020-06-012-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from final result Fixes the client pausing for input after output from commands.
| * | | | | | | mod_admin_telnet: Become a front for mod_admin_shellMatthew Wild2020-06-011-1588/+35
| | | | | | | |
| * | | | | | | mod_admin_shell: New module that implements the console interface over an ↵Matthew Wild2020-06-011-0/+1637
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | admin socket
| * | | | | | | mod_admin_socket, util.adminstream: New module to manage a local unix domain ↵Matthew Wild2020-06-011-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | socket for admin functionality
| * | | | | | | mod_c2s,mod_s2s: Make stanza size limits configurableKim Alvefur2020-05-312-2/+4
| | | | | | | |
| * | | | | | | mod_c2s,mod_s2s: Use a distinct stream error for hitting stanza size limitKim Alvefur2020-05-312-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since this is not a real parse error, it should not be reported as such.
| * | | | | | | mod_admin_telnet: Update existing sessions on reloadKim Alvefur2020-05-161-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need to disconnect and reconnect to the telnet console for changes to take effect.
| * | | | | | | Merge 0.11->trunkKim Alvefur2020-05-151-2/+4
| |\ \ \ \ \ \ \
| * | | | | | | | mod_storage_internal: Fix keeping old timestamp in archive map APIKim Alvefur2020-05-151-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 linesKim Alvefur2020-05-141-0/+1
| | | | | | | | |
| * | | | | | | | mod_http: Add documentation to the non-obvious logic of get_ip_from_requestJonas Schäfer2020-05-141-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because docs are good.
| * | | | | | | | mod_storage_memory: Add map store methods to archive storeKim Alvefur2020-05-111-0/+31
| | | | | | | | |
| * | | | | | | | mod_storage_internal: Implement key-value APIKim Alvefur2020-05-111-0/+40
| | | | | | | | |
| * | | | | | | | Merge 0.11->trunkKim Alvefur2020-05-111-1/+1
| |\ \ \ \ \ \ \ \
| * | | | | | | | | mod_csi_simple: Report whatever's not a stirng and not a stanzaKim Alvefur2020-05-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is either dead code or actually a type error, but catching that should be the responsibility of the session.send function. This type check is left since everything after it assumes a stanza object. These last few commits aren't meant to change any behavior and it did mark things not stanzas as important, but those would have been mostly raw strings which are now specially handled.