Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | mod_muc_mam: Cache last date that archive owner has messages to reduce ↵ | Kim Alvefur | 2019-05-27 | 1 | -1/+7 | |
| | | | | | | | | | | | | writes (fixes #1368) | |||||
| * | | mod_mam: Cache last date that archive owner has messages to reduce writes ↵ | Kim Alvefur | 2019-05-27 | 1 | -1/+7 | |
| | | | | | | | | | | | | (fixes #1368) | |||||
| * | | mod_announce: Check for admin on current virtualhost instead of global ↵ | Kim Alvefur | 2019-05-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | (fixes #1365) (thanks yc) | |||||
| * | | util.random: Throw different error for EOL condition | Kim Alvefur | 2019-05-21 | 1 | -1/+5 | |
| | | | ||||||
| * | | util.random: Coerce error to string (thanks waqas) | Kim Alvefur | 2019-05-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | In theory this could happen in an EOF condition, which should be impossible with a read from /dev/urandom. | |||||
| * | | util.random: Handle unlikely read errors from /dev/urandom (see #1313) | Kim Alvefur | 2019-05-18 | 1 | -1/+5 | |
| | | | ||||||
| * | | mod_c2s: Associate connection with session last (fixes #1313) | Kim Alvefur | 2019-05-18 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | This way, any fatal error in the callback will not leave a half-established session. | |||||
| * | | mod_storage_sql: Handle SQLite DELETE with LIMIT being optional (fixes #1359) | Kim Alvefur | 2019-05-13 | 1 | -6/+15 | |
| | | | ||||||
| * | | mod_storage_sql: Move code out of if-else chain | Kim Alvefur | 2019-05-13 | 1 | -9/+8 | |
| | | | ||||||
| * | | configure: Handle lua being found in /bin (workaround for #1353) | Kim Alvefur | 2019-05-04 | 1 | -0/+7 | |
| | | | ||||||
| * | | net.server_epoll: Restore wantread flag after pause (fixes #1354) | Kim Alvefur | 2019-05-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If a chunk of data has been received that is larger than the amount read at a time, then the connection is paused for a short time after which it tries to read some more. If, after that, there is still more data to read, it should do the same thing. However, because the "want read" flag is removed and was restored after the delayed reading, it would not schedule another delayed read. | |||||
| * | | prosodyctl: Include version of LuaDBI in 'about' | Kim Alvefur | 2019-05-01 | 1 | -0/+1 | |
| | | | ||||||
| * | | util.encodings: Allow unassigned code points in ICU mode to match libidn ↵ | Kim Alvefur | 2019-04-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | behavior (fixes #1348) | |||||
| * | | core.portmanager: Log debug message for each kind of TLS context created | Kim Alvefur | 2019-04-23 | 1 | -0/+1 | |
| | | | ||||||
| * | | mod_tls: Log debug message for each kind of TLS context created | Kim Alvefur | 2019-04-23 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | Creating TLS contexts triggers a lot of messages from certmanager that don't really describe their purpose. This is meant to provide hints about that. | |||||
| * | | util.hashes: Use HMAC function provided by OpenSSL (fixes #1345) | Kim Alvefur | 2019-04-19 | 1 | -17/+11 | |
| | | | ||||||
| * | | util.ip: Add missing netmask for 192.168/16 range (fixes #1343) | Kim Alvefur | 2019-04-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | net.dns: Close resolv.conf handle when done (fixes #1342) | Kim Alvefur | 2019-04-13 | 1 | -0/+1 | |
| | | | ||||||
| * | | net.server_epoll: Skip delayed continuation read on paused connections | Kim Alvefur | 2019-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | This should prevent #1333 in cases where LuaSockets buffer is "dirty", i.e.?contains more data after a read, where it gets resumed with a short delay. | |||||
* | | | util.indexedbheap: Fix heap datastructure corruption in ↵ | Waqas Hussain | 2020-09-29 | 2 | -1/+34 | |
| | | | | | | | | | | | | :reschedule(smaller_value) | |||||
* | | | util.startup: Configure the GC on startup, using the config or built-in defaults | Matthew Wild | 2020-06-15 | 1 | -0/+17 | |
| | | | ||||||
* | | | util.gc: Linter fixes [luacheck] | Matthew Wild | 2020-06-15 | 1 | -2/+1 | |
| | | | ||||||
* | | | util.gc: New module for configuring the Lua garbage collector | Matthew Wild | 2020-06-15 | 1 | -0/+50 | |
| | | | ||||||
* | | | net.http: Add feature discovery (currently just contains SNI) | Matthew Wild | 2020-09-15 | 1 | -0/+3 | |
| | | | ||||||
* | | | net.server: Backport client parts of SNI support from trunk (#409) | Kim Alvefur | 2020-08-17 | 4 | -16/+42 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial backports of the following commits from trunk: 6c804b6b2ca2 net.http: Pass server name along for SNI (fixes #1408) 75d2874502c3 net.server_select: SNI support (#409) 9a905888b96c net.server_event: Add SNI support (#409) adc0672b700e net.server_epoll: Add support for SNI (#409) d4390c427a66 net.server: Handle server name (SNI) as extra argument | |||||
* | | | Added tag 0.11.6 for changeset bacca65ce107 | Matthew Wild | 2020-09-09 | 0 | -0/+0 | |
| | | | ||||||
* | | | mod_s2s: Escape invalid XML in loggin (same way as mod_c2s) fix #1574 | Kim Alvefur | 2020-08-01 | 1 | -2/+1 | |
| | | | ||||||
* | | | net.http: Add request:cancel() method | Matthew Wild | 2020-08-08 | 1 | -0/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new API that should be used in preference to http.destroy_request() when possible, as it ensures the callback is always called (with an error of course). APIs that have edge-cases where they don't call callbacks have, from experience, shown to be difficult to work with and often lead to unintentional leaks when the callback was expected to free up certain resources. | |||||
* | | | net.http: Re-expose destroy_request() function | Matthew Wild | 2020-08-08 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | This was accidentally turned private in 647adfd8f738 as part of refactoring for Lua 5.2+. | |||||
* | | | net.resolvers.basic: Default conn_type to 'tcp' consistently if unspecified ↵ | Matthew Wild | 2020-07-10 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | (thanks marc0s) Fixes a traceback when passed an IP address with no conn_type. | |||||
* | | | net.http: Fix traceback on invalid URL passed to request() | Matthew Wild | 2020-07-07 | 1 | -2/+3 | |
| | | | ||||||
* | | | net.http.server: Fix reporting of missing Host header | Kim Alvefur | 2020-06-23 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | The "Missing or invalid 'Host' header" case was dead code previously because `host` was always at least an empty string. | |||||
* | | | net.http.server: Strip port from Host header in IPv6 friendly way (fix #1302) | Kim Alvefur | 2020-06-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | E.g. given `[::1]:5280` it would previously result in only `[` instead of the correct `[::1]` | |||||
* | | | util.startup: Remove duplicated initialization of logging (fix #1527) | Kim Alvefur | 2020-06-22 | 1 | -1/+0 | |
| | | | ||||||
* | | | mod_muc_mam: Don't strip MUC <x> tags, fix #1567 | Kim Alvefur | 2020-06-21 | 1 | -3/+0 | |
| | | | ||||||
* | | | mod_auth_internal_*: Apply saslprep to passwords | Kim Alvefur | 2020-05-23 | 3 | -2/+25 | |
| | | | | | | | | | | | | Related to #1560 | |||||
* | | | util.sasl.plain: Apply saslprep to stored password | Kim Alvefur | 2020-05-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | Fixes something like #1560 here too. The password sent by the user already had saslprep applied. | |||||
* | | | util.sasl.scram: Apply saslprep before hashing password, fixes #1560 | Kim Alvefur | 2020-05-22 | 1 | -0/+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_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. | |||||
* | | | mod_csi_simple: Consider XEP-0353: Jingle Message Initiation important | Kim Alvefur | 2020-05-08 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | Improves experience with VoIP calls initiated via JMI Closes #1548 | |||||
* | | | mod_muc_mam: Fix missing advertising of XEP-0359, fixes #1547 | Kim Alvefur | 2020-05-08 | 1 | -0/+1 | |
| | | | ||||||
* | | | mod_muc_mam: Fix stanza id filter event name, fixes #1546 | Kim Alvefur | 2020-04-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | Nice typo | |||||
* | | | mod_tls: Log when certificates are (re)loaded | Kim Alvefur | 2020-04-26 | 1 | -1/+7 | |
| | | | | | | | | | | | | Meant to reduce user confusion over what's reloaded and not. | |||||
* | | | mod_carbons: Fix handling of incoming MUC PMs #1540 | Kim Alvefur | 2020-04-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | 27f5db07bec9 fixed this wrong. The code is supposed to check if the stanza is NOT sent to your bare JID. A MUC PM is always sent to your full JID. Hopefully nobody sends MUC invites to full JIDs, because those would be skipped by this as well. | |||||
* | | | mod_http_files: Avoid using inode in etag, fix #1498 | Kim Alvefur | 2020-04-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | MUC tests: Add missing affiliation attribute | Matthew Wild | 2020-04-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | Backed out changeset 18f2c7bc5795 (was testing against wrong branch) | Matthew Wild | 2020-04-23 | 1 | -6/+2 | |
| | | | ||||||
* | | | MUC tests: Add <required/> to expected form field | Matthew Wild | 2020-04-23 | 1 | -2/+6 | |
| | | | ||||||
* | | | MUC: Always include 'affiliation'/'role' attributes, defaulting to 'none' if nil | Matthew Wild | 2020-04-23 | 1 | -1/+1 | |
| | | |