aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ejabberd_stun: Tone down 'auth_realm' warningHolger Weiss2020-04-281-7/+7
| | | | | | | These days, STUN/TURN authentication can be performed with ephemeral credentials, where the REALM is irrelevant. Therefore, just log an [info] message rather than a [warning] in the case where no authentication REALM is configured but multiple virtual domains exist.
* Add tests for mod_stun_discoHolger Weiss2020-04-285-0/+207
|
* Support XEP-0215: External Service DiscoveryHolger Weiss2020-04-283-0/+712
| | | | | | | | | | | | | Add the 'mod_stun_disco' module, which allows XMPP clients to discover STUN/TURN services and to obtain temporary credentials for using them as per XEP-0215: External Service Discovery. The temporary credentials handed out to clients have the format described in: https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00 Also add the new module to the example configuration file. Closes #2947.
* mix.exs: Update 'xmpp' and 'stun'Christoph Scholz2020-04-231-2/+2
|
* rebar.config: Update 'xmpp' and 'stun'Holger Weiss2020-04-231-2/+2
| | | | | Use the current versions of 'xmpp' (to get XEP-0215 support) and 'stun' (to fix TURN issues).
* gen_mod: Reload modules after reloading listenersHolger Weiss2020-04-231-2/+2
| | | | | | Make sure modules won't be reloaded before listeners. This is necessary to allow the (not yet committed) 'mod_stun_disco' module to parse the listener configuration after configuration reloads.
* ejabberd_stun: Fix 'turn_ip' fallbackHolger Weiss2020-04-231-13/+20
| | | | | | | | | The 'turn_ip' option validator doesn't accept an inet:ip4_address() tuple. While at it, change the logic to only perform the fallback address lookup if no 'turn_ip' is configured (analogous to the fallback mechanism for the case where the 'auth_realm' is undefined).
* use dsn-less config for mssql (#3131)ChaosKid422020-04-232-47/+9
|
* Bump jiffy so it compiles on older GCC (#3218)Licaon_Kter2020-04-232-2/+2
| | | | | * Update jiffy * And here
* ejabberd_stun: Handle hashed passwords gracefullyHolger Weiss2020-04-221-1/+8
| | | | | Don't crash when STUN/TURN authentication is performed against a SCRAM-hashed password.
* ejabberd_stun: Add 'stun_get_password' hookHolger Weiss2020-04-221-2/+11
| | | | | Add a hook that allows modules to offer a password for STUN/TURN authentication.
* Fix some English typosBadlop2020-04-213-5/+5
|
* Rephrase mod_admin_extra doc, a2x screwed the format when building DocsBadlop2020-04-211-10/+10
|
* Make a few more strings translatable in MUC and Shared Roster WebAdminBadlop2020-04-202-11/+11
|
* Update some translated strings where only print chars had changedBadlop2020-04-2025-408/+268
|
* ejabberd_stun: Set a default 'turn_ip'Holger Weiss2020-04-203-17/+19
| | | | | | Try to resolve the local hostname, use the result as the default 'turn_ip', and only log a warning if that fails. Using the local hostname's address by default is analogous to mod_proxy65's behavior.
* Travis CI: Test against Erlang/OTP 22.3Holger Weiss2020-04-191-1/+1
|
* Updated Spanish translationBadlop2020-04-172-428/+440
|
* Updated Catalan translationBadlop2020-04-172-371/+384
|
* Don't extract for translation strings from man pages, at least for nowBadlop2020-04-171-0/+12
|
* Fix previous commitBadlop2020-04-171-1/+1
|
* Log messages generated by msgmerge and display unexpected onesBadlop2020-04-171-1/+4
|
* Fix doc content in mod_admin_extra so it can be extracted by make translationsBadlop2020-04-171-28/+27
|
* Check if mod_muc_log is enabled before setting logging option (#3215)Badlop2020-04-171-0/+9
|
* When rescode is some unexpected, probably error message, print itBadlop2020-04-171-1/+3
|
* Restart offline pop_messages when there is mismatch between select and deletePaweł Chmielowski2020-04-171-4/+10
| | | | | | | | When another connection is inserting something to spool at this same time as we do pop_messages, it's possible that insert will happen between we fetch messages and delete them, so we effectively will delete it without delivering it to client. This change catch this situation and restart transaction, so we should always have consistent results.
* Update mysql driver to get rid of warningPaweł Chmielowski2020-04-161-1/+1
|
* Update documentation of mod_shared_roster (#3214)Badlop2020-04-161-15/+16
|
* Make session iq response have from be set to server jidPaweł Chmielowski2020-04-161-1/+5
| | | | | | It looks like old version of Smack don't accept request that are have from sent to sender jid, but are only working when jid is set to server address. This is also how it looks in old xmpp rfc examples.
* Resending unacked stanzas should send even archived msgs if mod_offline is ↵Paweł Chmielowski2020-04-161-14/+16
| | | | | | | | enabled Messages that are received when no c2s is active will be stored in offline, even when mam archived them, so i don't think we should be doing something different in this case.
* Fix unused variables from previous commitBadlop2020-04-141-2/+2
|
* Update links to the ejabberd Docs page in WebAdminBadlop2020-04-146-10/+9
|
* Rename opts->name to label, to avoid confusion with the group name (#3214)Badlop2020-04-142-55/+96
| | | | | Also updated WebAdmin to show more meaningful explanations Also fixed a bug that break support for group@host in Displayed
* Merge pull request #3132 from area-42/publisher_mssql_text_to_varcharJérôme Sautret2020-04-101-1/+1
|\ | | | | change PubSub publisher from text to varchar for mssql
| * change publisher from text to varchar for mssqlChristoph Scholz2019-12-281-1/+1
| |
* | Minor fixes in docBadlop2020-04-093-9/+12
| |
* | Copy more option explanations from ejabberd Docs siteBadlop2020-04-0812-39/+122
| |
* | Add ejabberd version number to man pagesBadlop2020-04-081-3/+4
| |
* | Indicate which ejabberd version is used to produce the pageBadlop2020-04-081-1/+2
| |
* | Don't make commands subsections, so Docs TOC plage is cleanerBadlop2020-04-081-1/+1
| |
* | Fix set_loglevel example argument documentationBadlop2020-04-081-1/+1
| |
* | Improve formatting of mod_announce docBadlop2020-04-081-5/+5
| |
* | Make resumed sessions try to deliver possibly queued messages to new sessionPaweł Chmielowski2020-04-071-2/+17
| | | | | | | | | | | | | | Between receiving resume request and being closed by new session, it's possible (even if not very likely) that new messages would arrive to process that is resumed. In that case try to reroute messages that were received after we sent resume reply to new process.
* | Log errors that happen when retrieving http headers in ejabberd_httpPaweł Chmielowski2020-04-071-1/+4
| | | | | | | | | | It seems that ssl errors can be generated here, so lets have abily to show them instead of swallowing them silently.
* | mod_carboncopy: Bump supported XEP revisionHolger Weiss2020-04-051-1/+1
| | | | | | | | | | Since mod_carboncopy supports "urn:xmpp:carbons:rules:0", it implements version 0.13.x of XEP-0280.
* | Remove bash-izm from ejabberdctl.template introduced recentlyPaweł Chmielowski2020-04-031-1/+1
| |
* | Limit number of atoms used by ejabberdctl ( #2977)Jerome Sautret2020-04-021-1/+1
| |
* | Document mod_shared_roster_ldap optionsBadlop2020-04-021-1/+136
| |
* | Add ejabberd_auth_http auth_opts brief descriptionBadlop2020-04-021-0/+6
| |
* | Document sql_prepared_statementsBadlop2020-04-021-0/+5
| |