aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2022-07-28Make connection close errors bubble up from inside sql transactionPaweł Chmielowski1-22/+50
2022-07-27Add syntax_tools to applications, required when using ejabberd_sql_pt (#3869)Badlop1-1/+1
2022-07-27Don't bother with COMMIT.json user-friendly feature in automated user caseBadlop1-1/+9
2022-07-27Handle not found COMMIT.json, for example in GH ActionsBadlop1-3/+9
2022-07-26Add WebAdmin page for managing external modulesBadlop1-2/+415
2022-07-19Catch mysql connection being close earlierPaweł Chmielowski1-1/+4
2022-07-19Make first sql reconnect wait shorter timePaweł Chmielowski1-4/+9
2022-07-15React to sql driver process exit earlierPaweł Chmielowski1-8/+13
If there are queued request when connection closes we may try to process those requests (by trying to send them to already terminated db process, and waiting until we hit timeout) before we see that driver is not longer alive. This change adds check for driver exit before we process next queued sql request, and immediately switch to connection state if we have one.
2022-07-01Don't set affiliation to 'none' if it's already 'none' in ↵Alexey Shchepin1-16/+20
mod_muc_room:process_item_change/3
2022-06-28mod_mix_pam: Display joined channels on webadmin pageLinus Jahn1-1/+66
2022-06-21Don't register listeners that failed to start in config reloadPaweł Chmielowski1-4/+12
This should alleviate some issues in #3850
2022-06-17Define batch delete function types in coresponding behavioursPaweł Chmielowski2-2/+18
2022-06-17Fix mam delete_old_messages_batch for sql backendPaweł Chmielowski2-5/+5
Too much copy/paste from spool equivalent...
2022-06-10Use INSERT ... ON DUPLICATE KEY UPDATE for upsert on mysqlPaweł Chmielowski1-45/+52
This can be used for all upsert expressions (where REPLACE INTO used previously were only possible to use for subset of queries), and may potentially help with deadlocks reported by mysql when we issues multiple querier for same key in quick succession.
2022-05-23Fix regression on stop_ping in clustering context (thanks to fdie)(#3817)Badlop1-1/+1
2022-05-23Fix mod_conversejs crash when mod_register not enabled (#3824)Badlop1-1/+10
2022-05-17Fix parsing of scram password from prosodyPaweł Chmielowski1-1/+1
Looks like parsed integer no longer are convered to floats on erlang side, so let's make check for them less restrictive.
2022-05-17Fix errors and warnings for "rebar3 edoc"Badlop15-65/+52