aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-11-16pgsql: do not set standard_conforming_strings to 'off' (#3944)Stu Tomlinson1-16/+8
Since f9120f75b0 string literals use escape string syntax (E'...') on pgsql, so it is no longer necessary to set standard_conforming_strings to 'off' Fixes #3932
2022-11-14Handle mnesia_system_event mnesia_up when other node joins this (#3842)Badlop2-0/+6
2022-11-14Pass ssl options to mysql driverPaweł Chmielowski1-2/+2
2022-11-14Silent warning in OTP24 about not specified cacerts in sql connectionsPaweł Chmielowski1-1/+1
2022-11-07Add details about XEP implementations to some protocol attributesBadlop16-16/+17
2022-11-04Add some missing RFCs and remove problematic leading 0 in xep versionsBadlop8-2/+14
2022-10-25Annotate captcha_cmd option, run make options, update manBadlop2-1/+2
2022-10-24Support @VERSION@ and @SEMVER@ in captcha_cmd optionBadlop3-3/+26
2022-10-18Bump default 's2s_timeout' value (#3653)Holger Weiß2-2/+2
Wait for an hour before closing an idle s2s connection. It's not uncommon for a connection to be idle for longer than ten minutes but less than an hour. For example, XEP-0410 suggests a ping interval of fifteen minutes. A longer idle timeout avoids the latency and log entries associated with constantly re-establishing such connections. Co-authored-by: Paweł Chmielowski <pawel@process-one.net>
2022-10-18fix table creation on a running cluster (#3913)Frank1-1/+4
2022-10-12Remove unnecessary text stringBadlop1-2/+1
2022-10-12Handle case that module exports mod_doc, but nothing in itBadlop1-1/+4
2022-10-12Annotate new optionsBadlop1-0/+2
2022-09-28Fix cache invalidation in shared rosterPaweł Chmielowski1-0/+1
Doing srg_get_info for not existing group, then srg_create, will make srg_add_user fail because it will get info that group doesn't exist from cache.
2022-09-22Export mod_muc_admin:get_room_pid/2Paweł Chmielowski1-1/+2
2022-09-16The archive_msg export fun requires MUC Service for room archivesBadlop2-3/+9
2022-09-16Allow MUC service admins to bypass max_user_conferences limitationBadlop1-3/+3
2022-09-16Remove unused macro definitions detected by rebar3_hankBadlop3-10/+0
?OFFLINE_TABLE_LOCK_THRESHOLD is unused: definition and usage added in 4103f30812ed99c984a2fdb16aabca139c9255d7 definition copied, and usage moved to mod_offline_mnesia, in 901d2e0aed83d195a4d1cf2929114b07dcac0dd8 definition and usage removed in mod_offline_mnesia in d88e4d495ffc2ae950f77e440aa7c5d06c864309 this definition looks useless ?VERSION_MULTICAST is unused: added in 0cf8d1fa6e931367b63b133396478593146a8d07 it was never used ?DISCO_QUERY_TIMEOUT is unused: added in 0cf8d1fa6e931367b63b133396478593146a8d07 it was never used ?FEATURE/1 is unused: added in 0cf8d1fa6e931367b63b133396478593146a8d07 usage removed in bc33a3873dbb0828714eef69094213575fc979b6 ?DEFAULT_MAX_USERS_PRESENCE is unused: added in f817762cc48c13476a531bc40059cd17aea4cf0b usage removed in ba2b650464bd3aae2b6b0f3a3177476360cb6d08 ?CT_XML is unused: added in 46568fb9596d8203c635477b30c91d2928847dea removed in 3dc55c6d47e3093a6147ce275c7269a7d08ffc45
2022-09-16Adapt to change of mix_annotate type to boolean in roster_queryLinus Jahn1-2/+1
2022-09-16Adapt to renaming of 'participant-id' from mix_roster_channel recordLinus Jahn1-2/+2
2022-09-13Don't persist 'none' role (thanks to Blake Miller)(#3330)Badlop1-1/+10
2022-09-13Store role, and use it when joining a moderated room (#3330)Badlop2-4/+22
2022-09-09mod_admin_extra: Handle empty roster group namesHolger Weiss1-1/+1
Don't let 'add_rosteritem' create a roster group with an empty name. Thanks to Licaon_Kter for reporting the issue.
2022-09-07Simplify recent commit (thanks to Simon Lipp)(#3894)Badlop1-4/+2
2022-09-06Fix unix socket support for ejabberd_http (thanks to Simon Lipp)(#3894)Badlop1-0/+2
2022-09-01Add function for getting room diagnosticsPaweł Chmielowski1-5/+27
2022-09-01Catch all errors from jose_jwt:verify and log debugging details (#3890)Badlop1-1/+4
2022-09-01The #roster_item.ask allowed values are subscribe|undefinedBadlop1-2/+1
2022-09-01mod_host_meta: Complain at start if listener is not encryptedBadlop1-1/+20
2022-08-31mod_pubsub: Don't crash on command failuresHolger Weiss1-2/+2
Handle 'delete_old_items' and 'delete_expired_items' errors gracefully.
2022-08-29Handle invalid values in X-Forwarded-For header more gracefulyPaweł Chmielowski1-6/+8
2022-08-24Update roster_get hook in mod_shared_roster_ldap to use #roster_item{}Paweł Chmielowski1-23/+14
2022-08-24Fix mucsub unsubscribe notification payload to have muc_unsubcribe in itPaweł Chmielowski1-2/+2
...instead of muc_subscribe
2022-08-17Fix filter_nodesJonah Brüchert1-4/+2
The previous implementation always returned an empty list while testing it. However I don't really understand why that happened. The list comprehension based one works, although it looks equivalent to me.
2022-08-17Parse sub elements of the mix join remote resultJonah Brüchert1-3/+15
2022-08-17mod_mix: Return user jid on joinJonah Brüchert1-0/+6
2022-08-12mod_shared_roster: Fix wrong hook type #roster{} (now #roster_item{})Linus Jahn1-6/+5
The hook type was changed from #roster{} to #roster_item{} by me in the recent MIX changes. Unfortunately I've overseen this one (and unit tests + dialyzer passed).
2022-08-12mod_mix, mod_mix_pam: Add new MIX namespaces to disco featuresLinus Jahn2-5/+6
2022-08-12mod_mix, mod_mix_pam: Add handling of IQs with newer MIX namespacesJonah Brüchert2-19/+27
Supported are mix:core:{0,1} and mix:pam:{0,2}
2022-08-11mod_roster: Change hook type from #roster{} to #roster_item{}Linus Jahn6-101/+78
The problem with #roster{} is that every new record entry is also stored in the mnesia roster table. Adding the mix_participant_id there makes no sense because the normal roster items are no MIX channels. Using \#roster_item{} for the hook and #roster{} for storing the normal items seems to be a better idea.
2022-08-11mod_roster: Respect MIX <annotate/> settingLinus Jahn1-4/+65
MIX extensions are not sent to clients if they haven't been enabled by the client with <annotate/> in the roster get request.
2022-08-11mod_mix_pam: Do roster pushes on join/leaveLinus Jahn1-1/+21
Before the channels were added/removed from the database but the clients were not notified of it.
2022-08-11mod_mix_pam: Provide MIX channels as roster entries via hookLinus Jahn2-1/+31
2022-08-10ejabberd_listener: Let module take over socketHolger Weiss1-0/+3
For some use cases, it may be necessary to allow a module to take over socket ownership during initialization.
2022-08-05ext_mod: Support managing remote nodes in the clusterBadlop1-5/+8
2022-08-05ext_mod: Handle correctly when COMMIT.json not foundBadlop1-7/+15
2022-08-04Show allow_query_users room option in disco info (#3830)Badlop1-0/+1
2022-08-01Add log_burst_limit_* options (#3865)Mark Zealey4-1/+34
* Add log_burst_limit_* options On our ejabberd deployment we were sometimes seeing more than 500 msgs/sec of legitimate traffic, however this was getting silently dropped. Provide config options to enable this limit to be configured from the config file. * Pass new logging vars in via ejabberdctl
2022-07-28Skip connection exit message when we triggered reconnectionPaweł Chmielowski1-0/+2
2022-07-28Handle errors reported from begin/commit inside transactionPaweł Chmielowski1-35/+45