aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Get back some commented specs that required Erlang R12Badlop2020-06-081-7/+4
|
* Option route_subdomains was deprecated and useless a year ago in ffe1c722Badlop2020-06-081-1/+0
|
* Update 'yconf' dependency to fix Erlang/OTP 19.xHolger Weiss2020-06-052-2/+2
|
* When updating group in cache, first delete so insert succeeds (#3296)Badlop2020-06-051-0/+1
|
* Handle ets_cache return value in shared roster get_group_opts (#3296)Badlop2020-06-053-3/+7
|
* Update 'yconf' dependencyHolger Weiss2020-06-052-2/+2
| | | | Fixes #3295.
* Update depsPaweł Chmielowski2020-06-031-15/+16
|
* misc: Don't crash on URLs without port numberHolger Weiss2020-06-031-2/+8
| | | | | | Let misc:uri_parse/1 return default HTTP(S) port number if the URL doesn't specify a port number, analogous to the behavior when USE_OLD_HTTP_URI is defined.
* misc: Make sure uri_parse/1 returns stringsHolger Weiss2020-06-031-0/+2
| | | | | | | The uri_string:parse/1 function returns the URI elements as strings or as binaries depending on the input. Make sure misc:uri_parse/1 returns strings in both cases, analogous to the behavior when USE_OLD_HTTP_URI is defined.
* Merge remote-tracking branch 'processone/pr/3294'Holger Weiss2020-06-031-2/+2
|\ | | | | | | | | * processone/pr/3294: Update example config
| * Update example configLicaon_Kter2020-06-031-2/+2
|/
* Update 'turn_ip' option name in test configurationHolger Weiss2020-06-031-1/+1
| | | | Thanks to Badlop for spotting this.
* mod_stream_mgmt: Don't kill new PID on resumptionHolger Weiss2020-06-012-40/+54
| | | | | | | | | | | | | | | | | | | During XEP-0198 resumption, the ejabberd_c2s process that handles the new connection reopens the ejabberd_sm session of the old one. Since commit b4770815c0b0416c21d01507d2908f94c25b3097, the new process adds the new session table entry before the old process removes the old one. While adding the new one, ejabberd_sm checks for old sessions to replace. This check assumes old SIDs compare lower than new ones. This assumption didn't necessarily hold for the session resumption case, where the old SID's timestamp was copied over to the new SID and only the PID was updated. Therefore, the new process was killed if the new PID happened to be smaller than the old one. Fix this by having mod_stream_mgmt use its own SM-ID rather than copying over the old SID's timestamp to the new SID. Thanks to Thilo Molitor and Friedrich Altheide for reporting the issue, and to Thomas Leister for his help with debugging it.
* Test 23.0 versionBadlop2020-06-011-0/+1
|
* Update eimp, sqlite3 and epam to support Erlang/OTP 23 (#3282)Badlop2020-06-011-3/+3
|
* Use old http_uri, crypto and pg2 only with old Erlang/OTP (#3284)Badlop2020-06-019-14/+56
|
* Dirty workarounds to compile jiffy with Erlang/OTP 23 (#3282)Badlop2020-06-012-0/+3
| | | | | | | | | | | | | | | | | | Works for me with: ./configure --disable-pam ./rebar get-deps ./rebar configure-deps ./rebar compile make install changes in erlang-native-compiler used by jiffy: src/rebar_port_compiler.erl - {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lerl_interface -lei"}, + {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lei"}, src/rebar_utils.erl --dialyzer({no_missing_calls, escript_foldl/3}).
* Rename 'turn_v4_ip' and 'turn_v6_ip' optionsHolger Weiss2020-05-297-37/+38
| | | | | The 'turn_ipv4_address' and 'turn_ipv6_address' option names are probably more intuitive.
* Modify ERL_LDFLAGS of deps when compiling on R23 on rebar2Paweł Chmielowski2020-05-261-0/+1
| | | | | Newer version removed erl_interface, and default rebar2 ERL_LDFLAGS will try to link it, this change should pass correct flags to compiler.
* ejabberd_stun: Add 'turn_blacklist' optionHolger Weiss2020-05-213-2/+5
| | | | | | | | The new 'turn_blacklist' listener option allows for specifying one or more IP addresses and/or subnet addresses/masks. The TURN server will refuse to relay traffic from/to blacklisted IP addresses. By default, Teredo and 6to4 addresses are blacklisted, as mandated by RFC 6156 (section 9.1).
* mod_stun_disco: Make 'services' example shorterHolger Weiss2020-05-191-30/+0
| | | | | | Omit the 'tcp' and 'stuns' services from the list of example 'services' in the documentation. For typical use cases, those are less interesting than 'udp' and 'turns' services.
* mod_stun_disco: Offer local IPv6 servicesHolger Weiss2020-05-194-67/+116
| | | | | Also announce local STUN/TURN services listening on IPv6 sockets (unless the 'offer_local_services' option is set to 'false').
* ejabberd_stun: Support IPv6 for TURNHolger Weiss2020-05-196-21/+44
| | | | | The stun application now supports RFC 6156: TURN Extension for IPv6, and therefore needs separate IPv4 and IPv6 relay addresses.
* Let ejabberd_stun listen on IPv6 socketsHolger Weiss2020-05-194-3/+4
| | | | | The stun application now allows IPv6 clients to perform STUN requests and to allocate TURN relays.
* Fix hardcoded URL to register.css and URLS to sections (#3281)Badlop2020-05-191-7/+7
|
* Update man page to ejabberd 20.04Badlop2020-05-191-74/+1178
|
* Sort databases alphabetically in options doc (thanks to Neustradamus)(#3246)Badlop2020-05-191-4/+4
|
* Sort alphabetically configure options (thanks to Neustradamus)(#3246)Badlop2020-05-191-120/+121
|
* Don't crash in mod_muc_log:get_url when mod_muc_log is not enabledPaweł Chmielowski2020-05-151-1/+4
| | | | | Disco on room can call this function even when logger is not enabled, but this room option was enabled previously when logger was active.
* Display installed ejabberd version in webadmin footer (#3272)Badlop2020-05-151-0/+1
|
* Make SQL query more generic for MSSQL compatibility (#3271)yuriyz-w2020-05-151-2/+2
|
* Increase default shaper limits, to help with jingle initiation delayPaweł Chmielowski2020-05-151-2/+4
| | | | More discussion about this can be found in pull request 3255
* Update *_vcard commands help, so they are better displayed in DocsBadlop2020-05-141-26/+26
|
* Update syntax of some options so they are better displayed in DocsBadlop2020-05-123-13/+13
|
* Revert service_subscription_subscribers test that is iconsistent (#2696)Badlop2020-05-111-50/+1
|
* Fix most EDoc errors, even if that's not used nowadays apparentlyBadlop2020-05-1113-26/+31
|
* If new session Pid exists when sm_remove is called, then keep Ping (#3260)Badlop2020-05-111-1/+8
|
* mod_stun_disco: Bump credentials_lifetime defaultHolger Weiss2020-05-111-13/+18
| | | | | | | | | | | Increase the default lifetime of temporary credentials to 12 hours. ejabberd's built-in TURN server re-queries the temporary password from mod_stun_disco whenever a TURN client attempts to refresh an allocation, and mod_stun_disco will only return the password as long as the credentials didn't expire. Therefore, the credentials lifetime effectively limits the maximum lifetime of a TURN allocation when ejabberd's TURN service is used, so the default value shouldn't be too short.
* Fix link in mod_sip to SIP Docs sectionBadlop2020-05-091-3/+3
|
* Provide minimal mod_bosh configuration exampleBadlop2020-05-091-1/+14
|
* Add link in acme option to ACME section in ejabberd DocsBadlop2020-05-091-1/+1
|
* Hide false-positive warnings about mod_delegation Type atom and NS binaryBadlop2020-05-071-0/+4
|
* Remove ancient and rather useless incode ejabberd_commands documentationBadlop2020-05-071-201/+0
|
* Don't use string:take, as it isn't available in Erlang/OTP 19.3 (#3256)Badlop2020-05-071-3/+2
|
* Fix webadmin muc room sorting broken due to trailing slash patch (#3256)Badlop2020-05-071-1/+2
|
* Unconditionally send presence unavailable to all pres_a recipientPaweł Chmielowski2020-05-071-26/+37
| | | | | | | Previously we only send that presence to direct presence recipients if client also sent general self presence (without to attribute). This should help with issue #3245
* Show deprecation warning if ejabberd_xmlrpc is configured as listen module ↵Badlop2020-05-061-0/+7
| | | | (#2915)
* Remove access_commands useless lines, api_permission replaced it years agoBadlop2020-05-061-14/+8
|
* ejabberd_listener: Let supervisor terminate childHolger Weiss2020-05-051-1/+6
| | | | | | | If a TCP connection was closed before the socket was handed over to a supervised child process, let the supervisor terminate the process rather than killing it directly. This avoids crash log entries generated by the supervisor.
* Set 'max_fsm_queue' default value (back) to 10000Holger Weiss2020-05-054-4/+4
| | | | | | | | | | The default value for the 'max_fsm_queue' option was set to 10000 in commit 79685da90b514a49f9c412e31dccc17be9dd8680, and that value is still documented to be the default. It was (probably unintentionally) changed to 5000 in commit 03de853e4fdcf852ae75a86922c08bb1a0950e6d. It makes sense to keep it larger than the value of mod_stream_mgmt's 'max_ack_queue' option.