Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix dialyzer warnings in mod_mqtt_bridgeHEADmaster | Paweł Chmielowski | 2022-11-24 | 3 | -136/+48 |
| | |||||
* | hibernation_time is not an option worth storing in room state (#3946) | Badlop | 2022-11-23 | 1 | -0/+1 |
| | |||||
* | OAuth: Accept jid as a HTTP URL query argument | Badlop | 2022-11-23 | 1 | -2/+6 |
| | |||||
* | OAuth: Handle when client is not identified | Badlop | 2022-11-23 | 1 | -0/+2 |
| | |||||
* | Don't set i18n option because Converse enforces it instead of browser lang ↵ | Badlop | 2022-11-23 | 1 | -1/+0 |
| | | | | (#3951) | ||||
* | Try to redirect access to files mod_conversejs to cdn when there is no local ↵ | Paweł Chmielowski | 2022-11-23 | 1 | -1/+3 |
| | | | | copies | ||||
* | Add hook for mqtt publish event | Paweł Chmielowski | 2022-11-23 | 1 | -1/+2 |
| | |||||
* | Add mqtt bridge module | Paweł Chmielowski | 2022-11-23 | 3 | -0/+653 |
| | |||||
* | Jid format when `multicastc` was cached (#3950) | chengshq | 2022-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error log: ```2022-11-22 04:10:25.436648+00:00 [error] <0.515.0>@ejabberd_router:route/1:95 Failed to route packet: #message{ id = <<>>,type = normal,lang = <<>>, from = #jid{ user = <<"a123">>,server = <<"conference.example.com">>, resource = <<>>,luser = <<"a123">>, lserver = <<"conference.example.com">>,lresource = <<>>}, to = <<"multicast.app.example.com">>,subject = [],body = [], thread = undefined, sub_els = [#ps_event{ items = #ps_items{ xmlns = <<>>, node = <<"urn:xmpp:mucsub:nodes:subscribers">>, items = [#ps_item{ xmlns = <<>>,id = <<"5803948964051348597">>, sub_els = [#muc_subscribe{ nick = <<"bb">>,password = <<>>, jid = undefined,events = []}], node = <<>>,publisher = <<>>}], max_items = undefined,subid = <<>>,retract = undefined}, purge = undefined,subscription = undefined,delete = undefined, create = undefined,configuration = undefined}, #addresses{ list = [#address{ type = bcc, jid = #jid{ user = <<"aaa">>,server = <<"app.example.com">>, resource = <<>>,luser = <<"aaa">>, lserver = <<"app.example.com">>,lresource = <<>>}, desc = <<>>,node = <<>>,delivered = undefined, sub_els = []}, #address{ type = bcc, jid = #jid{ user = <<"bb">>,server = <<"app.example.com">>, resource = <<>>,luser = <<"bb">>, lserver = <<"app.example.com">>,lresource = <<>>}, desc = <<>>,node = <<>>,delivered = undefined, sub_els = []}]}], meta = #{}} ** exception error: {badrecord,jid} in function ejabberd_router:do_route/1 (src/ejabberd_router.erl, line 394) in call from ejabberd_router:route/1 (src/ejabberd_router.erl, line 92) in call from maps:fold_1/3 (maps.erl, line 232) in call from mod_multicast:handle_info/2 (src/mod_multicast.erl, line 206) in call from gen_server:try_dispatch/4 (gen_server.erl, line 637) in call from gen_server:handle_msg/6 (gen_server.erl, line 711) in call from proc_lib:init_p_do_apply/3 (proc_lib.erl, line 249)``` Then command debug select the multicastc: ``` (ejabberd@localhost)2> mnesia:dirty_read(multicastc, <<"app.example.com">>). [{multicastc,<<"app.example.com">>, {{multicast_supported,<<"multicast.app.example.com">>, {limits,{default,20},{default,20}}}, cached}, 63836303692}]``` The type of `Service` was binary. | ||||
* | pgsql: do not set standard_conforming_strings to 'off' (#3944) | Stu Tomlinson | 2022-11-16 | 1 | -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 | ||||
* | Handle mnesia_system_event mnesia_up when other node joins this (#3842) | Badlop | 2022-11-14 | 2 | -0/+6 |
| | |||||
* | Pass ssl options to mysql driver | Paweł Chmielowski | 2022-11-14 | 1 | -2/+2 |
| | |||||
* | Silent warning in OTP24 about not specified cacerts in sql connections | Paweł Chmielowski | 2022-11-14 | 1 | -1/+1 |
| | |||||
* | Add details about XEP implementations to some protocol attributes | Badlop | 2022-11-07 | 16 | -16/+17 |
| | |||||
* | Add some missing RFCs and remove problematic leading 0 in xep versions | Badlop | 2022-11-04 | 8 | -2/+14 |
| | |||||
* | Annotate captcha_cmd option, run make options, update man | Badlop | 2022-10-25 | 2 | -1/+2 |
| | |||||
* | Support @VERSION@ and @SEMVER@ in captcha_cmd option | Badlop | 2022-10-24 | 3 | -3/+26 |
| | |||||
* | Bump default 's2s_timeout' value (#3653) | Holger Weiß | 2022-10-18 | 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> | ||||
* | fix table creation on a running cluster (#3913) | Frank | 2022-10-18 | 1 | -1/+4 |
| | |||||
* | Remove unnecessary text string | Badlop | 2022-10-12 | 1 | -2/+1 |
| | |||||
* | Handle case that module exports mod_doc, but nothing in it | Badlop | 2022-10-12 | 1 | -1/+4 |
| | |||||
* | Annotate new options | Badlop | 2022-10-12 | 1 | -0/+2 |
| | |||||
* | Fix cache invalidation in shared roster | Paweł Chmielowski | 2022-09-28 | 1 | -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. | ||||
* | Export mod_muc_admin:get_room_pid/2 | Paweł Chmielowski | 2022-09-22 | 1 | -1/+2 |
| | |||||
* | The archive_msg export fun requires MUC Service for room archives | Badlop | 2022-09-16 | 2 | -3/+9 |
| | |||||
* | Allow MUC service admins to bypass max_user_conferences limitation | Badlop | 2022-09-16 | 1 | -3/+3 |
| | |||||
* | Remove unused macro definitions detected by rebar3_hank | Badlop | 2022-09-16 | 3 | -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 | ||||
* | Adapt to change of mix_annotate type to boolean in roster_query | Linus Jahn | 2022-09-16 | 1 | -2/+1 |
| | |||||
* | Adapt to renaming of 'participant-id' from mix_roster_channel record | Linus Jahn | 2022-09-16 | 1 | -2/+2 |
| | |||||
* | Don't persist 'none' role (thanks to Blake Miller)(#3330) | Badlop | 2022-09-13 | 1 | -1/+10 |
| | |||||
* | Store role, and use it when joining a moderated room (#3330) | Badlop | 2022-09-13 | 2 | -4/+22 |
| | |||||
* | mod_admin_extra: Handle empty roster group names | Holger Weiss | 2022-09-09 | 1 | -1/+1 |
| | | | | | | Don't let 'add_rosteritem' create a roster group with an empty name. Thanks to Licaon_Kter for reporting the issue. | ||||
* | Simplify recent commit (thanks to Simon Lipp)(#3894) | Badlop | 2022-09-07 | 1 | -4/+2 |
| | |||||
* | Fix unix socket support for ejabberd_http (thanks to Simon Lipp)(#3894) | Badlop | 2022-09-06 | 1 | -0/+2 |
| | |||||
* | Add function for getting room diagnostics | Paweł Chmielowski | 2022-09-01 | 1 | -5/+27 |
| | |||||
* | Catch all errors from jose_jwt:verify and log debugging details (#3890) | Badlop | 2022-09-01 | 1 | -1/+4 |
| | |||||
* | The #roster_item.ask allowed values are subscribe|undefined | Badlop | 2022-09-01 | 1 | -2/+1 |
| | |||||
* | mod_host_meta: Complain at start if listener is not encrypted | Badlop | 2022-09-01 | 1 | -1/+20 |
| | |||||
* | mod_pubsub: Don't crash on command failures | Holger Weiss | 2022-08-31 | 1 | -2/+2 |
| | | | | Handle 'delete_old_items' and 'delete_expired_items' errors gracefully. | ||||
* | Handle invalid values in X-Forwarded-For header more gracefuly | Paweł Chmielowski | 2022-08-29 | 1 | -6/+8 |
| | |||||
* | Update roster_get hook in mod_shared_roster_ldap to use #roster_item{} | Paweł Chmielowski | 2022-08-24 | 1 | -23/+14 |
| | |||||
* | Fix mucsub unsubscribe notification payload to have muc_unsubcribe in it | Paweł Chmielowski | 2022-08-24 | 1 | -2/+2 |
| | | | | ...instead of muc_subscribe | ||||
* | Fix filter_nodes | Jonah Brüchert | 2022-08-17 | 1 | -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. | ||||
* | Parse sub elements of the mix join remote result | Jonah Brüchert | 2022-08-17 | 1 | -3/+15 |
| | |||||
* | mod_mix: Return user jid on join | Jonah Brüchert | 2022-08-17 | 1 | -0/+6 |
| | |||||
* | mod_shared_roster: Fix wrong hook type #roster{} (now #roster_item{}) | Linus Jahn | 2022-08-12 | 1 | -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). | ||||
* | mod_mix, mod_mix_pam: Add new MIX namespaces to disco features | Linus Jahn | 2022-08-12 | 2 | -5/+6 |
| | |||||
* | mod_mix, mod_mix_pam: Add handling of IQs with newer MIX namespaces | Jonah Brüchert | 2022-08-12 | 2 | -19/+27 |
| | | | | Supported are mix:core:{0,1} and mix:pam:{0,2} | ||||
* | mod_roster: Change hook type from #roster{} to #roster_item{} | Linus Jahn | 2022-08-11 | 6 | -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. | ||||
* | mod_roster: Respect MIX <annotate/> setting | Linus Jahn | 2022-08-11 | 1 | -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. |