Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MUC: Always include 'affiliation'/'role' attributes, defaulting to 'none' if nil | Matthew Wild | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | mod_vcard4: Report correct error condition (fixes #1521) | Kim Alvefur | 2020-04-03 | 1 | -2/+2 |
| | | | | On error, the second return value is the error condition, not the third. | ||||
* | mod_register_ibr: Add FORM_TYPE as required by XEP-0077 (fixes #1511) | Emmanuel Gil Peyrot | 2019-09-29 | 1 | -0/+2 |
| | | | | Backport of f90abf142d53 from trunk | ||||
* | mod_storage_sql: Add index covering sort_id to improve performance (fixes #1505) | Kim Alvefur | 2020-03-22 | 1 | -0/+1 |
| | |||||
* | mod_admin_telnet: Handle unavailable cipher info (fixes #1510) | Kim Alvefur | 2020-03-22 | 1 | -5/+8 |
| | | | | | | | | The LuaSec :info() method gathers info using the OpenSSL function SSL_get_current_cipher(). Documentation for this function states that it may return NULL if no session has been established (yet). If so, the LuaSec functions wrapping this return nil, triggering a nil-indexing error in mod_admin_telnet. | ||||
* | MUC: Persist affiliation_data in new MUC format! | Matthew Wild | 2020-03-12 | 1 | -0/+1 |
| | |||||
* | mod_mam,mod_muc_mam: Allow other work to be performed during archive cleanup ↵ | Kim Alvefur | 2020-03-11 | 2 | -2/+10 |
| | | | | | | | | | | | (fixes #1504) This lets Prosody handle socket related work between each step in the cleanup in order to prevent the server from being completely blocked during this. An async storage backend would not need this but those are currently rare. | ||||
* | mod_pubsub, mod_pep: Ensure correct number of children of <item/> (fixes #1496) | Kim Alvefur | 2020-02-27 | 2 | -2/+2 |
| | |||||
* | mod_muc_mam: Fix traceback saving message from non-occupant (fixes #1497) | Kim Alvefur | 2020-02-27 | 1 | -5/+8 |
| | | | | Caused by a plugin sending a message from the room itself. | ||||
* | mod_storage_sql: Move update limit check back one step, fixes traceback | Kim Alvefur | 2020-02-22 | 1 | -6/+6 |
| | | | | | 0c00274528a4 moved it one step too far, so the check was performed before connecting to the database instead of after. | ||||
* | mod_storage_sql: Fix check for deletion limits (fixes #1494) | Kim Alvefur | 2020-02-21 | 1 | -7/+7 |
| | | | | | The check was only performed if sql_manage_tables was set to true (the default) It should always be performed | ||||
* | mod_muc: Allow control over the server-admins-are-room-owners feature (see ↵ | Matthew Wild | 2020-02-13 | 1 | -1/+2 |
| | | | | #1174) | ||||
* | mod_admin_telnet: Create a DNS resolver per console session (fixes #1492) | Kim Alvefur | 2020-01-24 | 1 | -6/+19 |
| | | | | This is now the common pattern, eg see mod_s2s. | ||||
* | mod_websocket: Fire event on session creation (thanks Aaron van Meerten) | Matthew Wild | 2020-01-24 | 1 | -0/+2 |
| | |||||
* | mod_posix: Support for command-line flags to override 'daemonize' config option | Matthew Wild | 2020-01-19 | 1 | -1/+6 |
| | | | | | -D / --daemonize -F / --no-daemonize | ||||
* | mod_websocket: Clear mask bit when reflecting ping frames (fixes #1484)0.11.4 | Kim Alvefur | 2020-01-02 | 1 | -0/+1 |
| | |||||
* | mod_mam: Fix rebase mistake [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -1/+1 |
| | | | | The 'err' was there in trunk | ||||
* | mod_muc_mam: Fix rebase mistake [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -1/+1 |
| | | | | The 'err' was there in trunk | ||||
* | mod_muc_mam: Schedule cleanup again on failure | Kim Alvefur | 2019-12-24 | 1 | -0/+1 |
| | |||||
* | mod_muc_mam: Log error when unable to delete old messages (fix #1481) [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -0/+2 |
| | |||||
* | mod_muc_mam: Log error when unable to store stanza (fix #1480) [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -0/+2 |
| | |||||
* | mod_mam: Schedule cleanup again if unable to delete messages | Kim Alvefur | 2019-12-24 | 1 | -0/+1 |
| | |||||
* | mod_mam: Log error when unable to delete old messages (fix #1479) [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -0/+2 |
| | |||||
* | mod_mam: Log error when unable to store stanza (fix #1478) | Kim Alvefur | 2019-12-23 | 1 | -0/+2 |
| | | | | | | Unclear what else to do here. Caught by luacheck | ||||
* | mod_auth_internal_hashed: Pass on errors from password hash function (fixes ↵ | Kim Alvefur | 2019-12-23 | 1 | -0/+6 |
| | | | | #1477) | ||||
* | mod_pep: Handle presence subscriptions in filter (fixes #1372) | Kim Alvefur | 2019-06-10 | 1 | -34/+17 |
| | | | | Take two on 045209b41b3a | ||||
* | MUC: Keep role across nickname change (fixes #1466) | Kim Alvefur | 2019-11-23 | 1 | -0/+3 |
| | |||||
* | MUC: Don't advertise registration feature on host JID (fixes #1451) | Kim Alvefur | 2019-10-20 | 1 | -2/+0 |
| | | | | | | | | | | | There is currently no mention in XEP-0045 of how or where to advertise support for registration. Advertising on the host JID may be confusable with service-wide registration, as implemented in ejabberd. A common and sensible pattern in XMPP is that a feature is advertised on the JID where the service is available. | ||||
* | mod_mam: Add flag to session when it performs a MAM query | Matthew Wild | 2019-10-03 | 1 | -0/+2 |
| | |||||
* | MUC: Strip tags with MUC-related namespaces from private messages (fixes #1427) | Kim Alvefur | 2019-09-29 | 1 | -0/+1 |
| | | | | Prevents duplication since it adds another <{muc#user}x> here | ||||
* | mod_vcard_legacy: Don't owerwrite empty photo elements (fixes #1432) | Kim Alvefur | 2019-09-21 | 1 | -3/+9 |
| | |||||
* | mod_vcard_legacy: Advertise lack of avatar correctly (fixes #1431) (thanks ↵ | Kim Alvefur | 2019-09-21 | 1 | -2/+2 |
| | | | | lovetox) | ||||
* | MUC: Fix delay@from to be room JID (fixes #1416)0.11.3 | Kim Alvefur | 2019-08-31 | 1 | -2/+2 |
| | |||||
* | MUC: Advertise XEP-0410 support | Kim Alvefur | 2019-07-30 | 1 | -0/+1 |
| | | | | Unsure if the feature was in the XEP at the time of 7c1cdf5f9f83 | ||||
* | mod_websocket: Clone stanza before mutating (fixes #1398) | Kim Alvefur | 2019-07-20 | 1 | -0/+1 |
| | | | | | | | | | | | Checking for `stanza.attr.xmlns == nil` to determine if the stanza object is an actual stanza (`<message>`, `<presence>` or `<iq>` in the `jabber:client` or `jabbber:server` namespace) or some other stream element. Since this mutation is not reverted, it may leak to other places and cause them to mistreat stanzas as stream elements. Especially in cases like MUC where a single stanza is broadcast to many recipients. | ||||
* | mod_blocklist: Trigger resend of presence when unblocking a contact (fixes ↵ | Kim Alvefur | 2019-06-20 | 1 | -0/+8 |
| | | | | #1380) | ||||
* | mod_pep: Revert 045209b41b3a, caused a regression | Kim Alvefur | 2019-06-10 | 1 | -17/+37 |
| | | | | | | Adding in all presence based subscriptions in the broadcaster caused resend_last_item() to unintentionally send out more notifications than it should have. | ||||
* | mod_pep: Handle presence based subscription outside of util.pubsub (fixes #1372) | Kim Alvefur | 2019-05-30 | 1 | -37/+17 |
| | | | | | | | | | Subscriptions were updated for each incoming presence stanza from contacts. Each subscription change triggered a configuration save, which would filter out the presence based subscriptions and usually end up replacing the existing data with identical data. With many subscribed nodes this adds up to a fair bit of IO bound work that is avoided by keeping them separate. | ||||
* | 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) | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | mod_storage_memory: Implement :user iteration API | Kim Alvefur | 2019-01-14 | 1 | -0/+8 |
| | |||||
* | mod_muc_mam: Copy cleanup mechanism from mod_mam (fixes #672) | Kim Alvefur | 2019-03-22 | 1 | -1/+78 |
| | |||||
* | mod_mam: Perform message expiry based on building an index by date (backport ↵ | Kim Alvefur | 2019-03-22 | 1 | -31/+43 |
| | | | | | | | | | | | of 39ee70fbb009 from trunk) For each day, store a set of users that have new messages. To expire messages, we collect the union of sets of users from dates that fall outside the cleanup range. The previous algoritm did not work well with many users, especially with the default settings. | ||||
* | mod_muc_mam: Add comment about the tricks done with the 'with' field | Kim Alvefur | 2019-03-04 | 1 | -0/+1 |
| | |||||
* | mod_muc_mam: Move a comment to the line it describes | Kim Alvefur | 2019-03-04 | 1 | -1/+1 |
| |