aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2022-05-09Pass room state to muc_{un}subscribed hookPaweł Chmielowski1-2/+2
2022-05-09Allow muc_{un}subscribe hooks to modify sent packetsPaweł Chmielowski1-32/+38
2022-05-06Fix specPaweł Chmielowski1-1/+1
2022-05-06Return userinfo from misc:uri_parsePaweł Chmielowski4-8/+8
2022-05-06Have consistent schema type in misc:uri_parsePaweł Chmielowski2-2/+2
2022-05-05Fix one more place where misc:uri_parse is usedPaweł Chmielowski1-1/+1
2022-05-05Improve misc:uri_parsePaweł Chmielowski3-10/+17
2022-05-04Run 'make options'Badlop2-2/+2
2022-05-04Annotate options and commands recently addedBadlop7-2/+16
2022-05-02Update options configurable in default_room_optionsBadlop2-1/+43
2022-05-02Implement batch operations in mnesia backendPaweł Chmielowski4-16/+122
2022-05-02mod_push: Keep push session ID on session resumeHolger Weiss1-2/+14
Don't forget the push session ID if the client resumes a stream management session. This makes sure no push notifications are generated for a connected client with a resumed stream management session. Thanks to Thilo Molitor for spotting the issue.
2022-05-01Adapt mod_push_keepalive to mod_push changesHolger Weiss2-7/+12
Adjust mod_push_keepalive to work with the mod_push changes applied by commit 11574f0a43ff5dbdd297815c6c48fc8d976f1631.
2022-05-01mod_push: Rename "timestamp" to "push session ID"Holger Weiss1-41/+42
The fact that mod_push uses a timestamp as a push session ID is just an implementation detail. Rename things accordingly to avoid confusion. However, stick to "timestamp" in the storage modules, as it corresponds to the database column names/types, there.
2022-05-01mod_push: Fix notifications for pending sessionsHolger Weiss1-16/+25
Fix the problem that no push notifications were triggered in the case where all of the following conditions applied: - The XEP-0198 session has been resumed at least once. - The XEP-0198 session is pending (i.e., the client is disconnected). - The message wasn't stored in the user's MAM archive (e.g., because it was of type "groupchat"). The problem was introduced in cd336369a5691da8289574f402fa2311b6dc027c. Many thanks to Friedrich Altheide for reporting the issue and to Thilo Molitor for his help with tracking it down.
2022-04-29Compile elixir_logger_backend only when lager is usedPaweł Chmielowski1-0/+2
2022-04-29Attach meta field with real jid to mucsub subscription eventsPaweł Chmielowski1-2/+4
2022-04-28Delete ping timer if resource is gone after the ping has been sentJérôme Sautret1-0/+8
2022-04-28Remove dialyzer warningPaweł Chmielowski1-2/+2
2022-04-28Guard agains erlang:system_info(logical_processors) not always returning numberPaweł Chmielowski4-10/+15
2022-04-26Don't send ping if resource is goneJérôme Sautret1-29/+37
2022-04-21Stop empty MUC rooms 30 seconds after creationAlexey Shchepin1-0/+7
2022-04-20Fix dialyzer warningPaweł Chmielowski1-1/+1