prosody/plugins
Jonas Schäfer 91055b49bb mod_storage_xep0227: treat roster metadata pseudo-entry correctly
The roster version is stored in a pseudo-item which has the key `false`.
The if condition in the touched code attempts to guard against this, but
it does not take into account that the jid prepping returns nil instead
of false.

By moving the jid prepping into the if, we can check for the metadata
entry safely.
2022-01-15 15:40:29 +01:00
..
adhoc adhoc.lib: Tweak to allow using util.error objects 2021-01-31 21:11:55 +01:00
mod_mam mod_mam: Avoid storing bounces for messages from the bare account (thanks Ge0rG) 2021-12-10 22:25:34 +01:00
mod_pubsub util.pubsub: Fix item store resize to "max" 2022-01-06 01:18:35 +01:00
muc MUC: Switch ID algorithm for IQ relay (fixes #1266, #1435) 2021-10-05 18:15:06 +02:00
mod_admin_adhoc.lua mod_admin_adhoc: Move number coercion into util.dataforms 2021-10-25 21:43:23 +02:00
mod_admin_shell.lua mod_admin_shell: Log creation of incoming s2s connections during ping 2021-12-27 17:04:33 +01:00
mod_admin_socket.lua mod_admin_socket: Use module API meant for file paths 2020-06-01 23:17:20 +02:00
mod_admin_telnet.lua mod_admin_telnet: Handle unavailable cipher info (fixes #1510) 2020-03-22 17:35:26 +01:00
mod_announce.lua mod_announce: Silence luacheck warning about unused variable 2019-12-23 21:43:34 +01:00
mod_auth_anonymous.lua mod_auth_anonymous: Add config option to allow/disallow storage writes 2020-10-02 16:44:30 +01:00
mod_auth_insecure.lua mod_auth_internal_*: Apply saslprep to passwords 2020-05-23 14:17:04 +02:00
mod_auth_internal_hashed.lua mod_auth_internal_hashed: Up iteration count to 10000 per XEP-0438 2021-12-26 16:51:04 +01:00
mod_auth_internal_plain.lua mod_auth_internal_{plain,hashed}: Use constant-time string comparison for secrets 2021-05-10 16:50:24 +01:00
mod_auth_ldap.lua mod_auth_ldap: Import from prosody-modules rev f52452911187 2021-10-05 17:25:01 +02:00
mod_authz_internal.lua usermanager, mod_authz_internal: Add methods to fetch users/JIDs of given role 2021-08-26 16:35:43 +01:00
mod_blocklist.lua mod_blocklist: Trigger resend of presence when unblocking a contact (fixes #1380) 2019-06-20 21:20:00 +02:00
mod_bookmarks.lua mod_bookmarks: Fix traceback on attempt to convert invalid bookmark 2022-01-11 00:06:48 +01:00
mod_bosh.lua mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default stanza size limits 2021-05-07 17:03:49 +01:00
mod_c2s.lua mod_c2s: Fire pre-closing event regardless of connected state 2021-12-18 13:43:57 +01:00
mod_carbons.lua mod_carbons: Advertise following of recommended rules (closes #1486) 2021-10-05 17:02:32 +02:00
mod_component.lua mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default stanza size limits 2021-05-07 17:03:49 +01:00
mod_cron.lua mod_cron: Allow for a small amount of timer drift 2022-01-15 09:09:24 +01:00
mod_csi.lua mod_csi: Cache CSI module availability to improve readabilty 2019-11-23 17:15:34 +01:00
mod_csi_simple.lua mod_csi_simple: Skip initiating flush in all but inactive state 2021-11-20 23:54:43 +01:00
mod_debug_sql.lua mod_debug_sql: Declare itself as global module 2017-11-18 20:15:19 +01:00
mod_dialback.lua mod_dialback: Remove d-w-d feature 2021-05-12 17:22:02 +02:00
mod_disco.lua mod_disco: Optionally return info on admin accounts to non-contacts 2021-04-15 15:39:35 +02:00
mod_external_services.lua mod_external_services: Warn about missing recommended fields 2021-11-24 13:43:13 +01:00
mod_groups.lua plugins: Remove tostring call from logging 2019-07-30 02:29:36 +02:00
mod_http.lua mod_http: Limit unencrypted http port (5280) to loopback by default 2022-01-15 15:13:41 +01:00
mod_http_errors.lua mod_http_errors: Make it easier to override 'http-message' handler 2021-09-24 18:39:28 +02:00
mod_http_file_share.lua mod_http_file_share: Always measure total disk usage for statistics! 2022-01-11 04:15:29 +01:00
mod_http_files.lua mod_http_files: Avoid using inode in etag, fix #1498 2020-04-25 20:55:00 +02:00
mod_http_openmetrics.lua mod_http_openmetrics: Serve HTTP from global context 2021-11-25 16:57:01 +01:00
mod_invites.lua mod_invites: Comment on module loading for HTTP invite URLs 2022-01-05 22:37:42 +01:00
mod_invites_adhoc.lua mod_invites_adhoc: Import from prosody-modules@5001104f0275 2022-01-05 04:37:14 +01:00
mod_invites_register.lua mod_invites_register: Import from prosody-modules@797b51043767 2021-12-29 00:12:26 +01:00
mod_iq.lua Fix spelling throughout the codebase [codespell] 2018-02-04 01:51:25 +01:00
mod_lastactivity.lua mod_lastactivity: Encode seconds as decimal, not float 2020-04-22 23:36:25 +02:00
mod_legacyauth.lua mod_legacyauth: Report failure from sessionmanager (mostly invalid username) 2019-12-23 23:11:28 +01:00
mod_limits.lua mod_limits: Use default limits if none configured 2021-05-11 14:22:59 +01:00
mod_message.lua mod_message: Fire event for groupchat messages sent to bare JID 2021-09-22 13:31:13 +01:00
mod_mimicking.lua mod_mimicking: Correctly hook the *global* user-deleted event 2021-10-12 17:55:53 +02:00
mod_motd.lua mod_motd: Remove unused variable [luacheck] 2019-01-17 01:15:29 +01:00
mod_muc_mam.lua mod_muc_mam: Switch to mod_cron for message expiry 2021-11-22 14:49:05 +01:00
mod_muc_unique.lua mod_muc_unique: Use util.id for more compact identifiers 2018-06-06 13:33:37 +02:00
mod_net_multiplex.lua mod_net_multiplex: Set read size/mode to that of the target listener 2020-08-02 00:24:54 +02:00
mod_offline.lua mod_offline: Log a debug message when message is stored 2019-09-29 23:50:34 +02:00
mod_pep.lua util.pubsub: Fix item store resize to "max" 2022-01-06 01:18:35 +01:00
mod_pep_plus.lua mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep 2018-08-01 19:08:09 +01:00
mod_pep_simple.lua mod_pep_simple: Ignore unused variable [luacheck] 2019-12-23 22:29:13 +01:00
mod_ping.lua mod_ping: Fix double response to internal ping 2020-02-21 23:30:47 +01:00
mod_posix.lua mod_posix: Exit with non-zero status code on problems 2021-09-30 23:22:07 +02:00
mod_presence.lua mod_presence: Send unavailable presence in current thread run 2020-05-09 00:28:10 +02:00
mod_private.lua mod_private, mod_vcard: Use the usual comment on non-get received iqs. 2018-08-24 20:36:06 +02:00
mod_proxy65.lua mod_proxy65: Restrict access to local c2s connections by default 2021-05-12 13:59:49 +01:00
mod_register.lua mod_register: Add a dependency on mod_watchregistrations 2020-06-29 21:03:13 +02:00
mod_register_ibr.lua mod_register_ibr: Add event for successful password reset 2020-06-22 11:35:24 +01:00
mod_register_limits.lua mod_register_limits: Reword some options 2021-09-19 15:52:07 +02:00
mod_roster.lua mod_roster: Improve readability of bare-JID check 2021-12-22 18:07:44 +01:00
mod_s2s.lua mod_s2s: Fix logging of <stream:error> consistency with other mods 2021-10-24 15:11:01 +02:00
mod_s2s_auth_certs.lua mod_s2s_auth_certs: Collect stats on validation results (for #975) 2021-10-05 16:30:41 +02:00
mod_s2s_bidi.lua mod_s2s_bidi: Ignore unencrypted connections if s2s_require_encryption is set 2019-11-28 18:57:17 +01:00
mod_saslauth.lua mod_saslauth: Improve code style 2021-03-18 16:17:45 +01:00
mod_scansion_record.lua util.id: Adjust entropy levels, with rationales 2021-12-02 01:14:55 +01:00
mod_server_contact_info.lua mod_server_contact_info: Generate properly escaped URIs from 'admins' 2020-09-11 18:34:36 +02:00
mod_smacks.lua mod_smacks: Log error to silence luacheck 2021-12-31 00:59:10 +01:00
mod_stanza_debug.lua plugins: Remove tostring call from logging 2019-07-30 02:29:36 +02:00
mod_storage_internal.lua mod_storage_internal: Stop storing XEP-0091 timestamp 2021-09-04 14:39:31 +02:00
mod_storage_memory.lua mod_storage_memory: Support query for set of IDs 2021-01-12 18:06:33 +01:00
mod_storage_none.lua mod_storage_none: Add a noop archive delete method 2017-04-04 18:46:51 +02:00
mod_storage_sql.lua mod_storage_sql: Return cached total where it makes sense 2021-11-30 16:26:01 +01:00
mod_storage_xep0227.lua mod_storage_xep0227: treat roster metadata pseudo-entry correctly 2022-01-15 15:40:29 +01:00
mod_time.lua mod_time: Simplify iq handling by hooking on iq-get/ instead of iq/. 2018-08-24 20:35:03 +02:00
mod_tls.lua mod_tls: Attempt STARTTLS on outgoing unencrypted legacy s2s connections 2021-09-01 19:05:24 +02:00
mod_tokenauth.lua mod_tokenauth: Track creation time of tokens 2020-02-28 21:55:40 +00:00
mod_tombstones.lua mod_tombstones: Add some future TODOs 2021-12-23 15:22:47 +01:00
mod_turn_external.lua mod_turn_external: Simple module to offer TURN(+STUN) via mod_external_services 2021-01-21 23:13:37 +01:00
mod_unknown.lua
mod_uptime.lua mod_uptime: Encode uptime as decimal, fix #1536 (thanks Martin) 2020-04-22 21:46:56 +02:00
mod_user_account_management.lua mod_user_account_management: Apply username normalization later 2019-11-02 15:43:56 +01:00
mod_vcard.lua mod_vcard: Remove unused variable [luacheck] 2019-12-23 22:27:25 +01:00
mod_vcard4.lua mod_vcard4: Report correct error condition (fixes #1521) 2020-04-03 22:35:47 +02:00
mod_vcard_legacy.lua mod_vcard_legacy: Also respect avatar:metadata access restrictions 2021-11-25 18:13:43 +01:00
mod_version.lua mod_version: Reduce scope of variable 2018-10-06 16:38:05 +02:00
mod_watchregistrations.lua mod_watchregistrations: Allow making the message type configurable 2018-05-20 18:56:26 +02:00
mod_websocket.lua mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default stanza size limits 2021-05-07 17:03:49 +01:00
mod_welcome.lua Merge 0.9->0.10 2017-06-01 14:05:43 +02:00
mod_windows.lua