aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-12-11Improve compatibility with CockroachDB (#3074)Alexey Shchepin2-22/+27
2019-11-29Improve send_message commandEvgeny Khramtsov1-14/+20
2019-11-27Make convert_to_scram work with all backendsPaweł Chmielowski3-53/+25
2019-11-24Fix previous commitEvgeny Khramtsov1-1/+3
2019-11-24Check also 'access' rule on account removalEvgeny Khramtsov1-2/+6
According to the documentation we should not allow account removal when it's forbidden by the rule from 'access' option.
2019-11-24Make sure IQ result is correctly routed on account removalEvgeny Khramtsov1-3/+15
Thanks to Philipp Hörist for spotting this
2019-11-15Fix acl reloadingEvgeny Khramtsov1-25/+28
2019-11-08Preserve order of grouped duplicatesEvgeny Khramtsov1-7/+12
2019-11-07Also group duplicated list-like options inside host_config/append_host_configEvgeny Khramtsov3-39/+35
2019-11-07Group all duplicated list-like options into a single optionEvgeny Khramtsov1-19/+13
2019-11-07Fix loading of third-party modules at startupEvgeny Khramtsov2-10/+18
Fixes #3019
2019-11-06Allow multiple `modules` sectionEvgeny Khramtsov1-1/+3
Fixes processone/ejabberd-contrib#282
2019-11-05Accept a list in c2s_ciphers/s2s_ciphers optionsEvgeny Khramtsov1-9/+15
2019-11-05Fix unicode string formattingEvgeny Khramtsov1-1/+1
Fixes #3066
2019-10-30Revert "Escape 'family' field in SQL requests"Evgeny Khramtsov1-4/+4
This reverts commit f51ba687e213cdc4136138cba39bb8bc022097ab. Fixes #3072
2019-10-29Fix race condition in Redis/SQL supervisors startupEvgeny Khramtsov2-2/+8
2019-10-28Escape 'family' field in SQL requestsEvgeny Khramtsov1-4/+4
This is needed for compatibility with CockroachDB, because 'FAMILY' is a reserved keyword in this database.
2019-10-25Add option for JWT field name containing JIDStu Tomlinson3-4/+13
2019-10-25Improve jwt_key validatorEvgeny Khramtsov2-2/+4
2019-10-25Don't lowercase first letter in reason stringEvgeny Khramtsov1-2/+1
2019-10-25Handle the case when JWT key file contains JWK setAlexey Shchepin2-1/+11
2019-10-25Introduce 'gc' ejabberdctl commandEvgeny Khramtsov1-0/+8
The command forces garbage collection of all running Erlang processes. The return is always success.
2019-10-25Stop SASL application in ejabberd_logger:flush()Evgeny Khramtsov2-2/+2
2019-10-25Avoid calling to logger module on OTP<22Evgeny Khramtsov4-3/+13
2019-10-25Use lager on OTP<22.0Evgeny Khramtsov4-24/+183
This also lowers Erlang/OTP minimum version requirement back to 19.3
2019-10-24Limit result set of disco#items for mod_pubsubEvgeny Khramtsov6-49/+101
The size of a list of nodes returned for disco#items request is now controlled by option 'max_nodes_discoitems'. The default value is 100. The name and the default value of the option is chosen to be consistent with mod_muc's 'max_rooms_discoitems' option.
2019-10-23Fix logger initialization on OTP<21.3Evgeny Khramtsov1-2/+2
2019-10-23Report errors in logger initializationEvgeny Khramtsov1-13/+26
2019-10-20Log path to third-party configuration fileEvgeny Khramtsov1-0/+4
This should prevent confusions like the one described at https://stackoverflow.com/q/58353491/2610053
2019-10-19Fix error reporting in configuration related admin commandsEvgeny Khramtsov1-3/+3
2019-10-18Log supervisor reports in debug loglevelEvgeny Khramtsov1-3/+18
2019-10-18Replace lager with built-in new logging APIEvgeny Khramtsov12-246/+153
This change requires Erlang/OTP-21.0 or higher. The commit also deprecates the following options: - log_rotate_date - log_rate_limit Furthermore, these options have no effect. The logger now fully relies on log_rotate_size, that cannot be 0 anymore. The loglevel option now accepts levels in literal formats. Those are: none, emergency, alert, critical, error, warning, notice, info, debug. Old integer values (0-5) are still supported and automatically converted into literal format.
2019-10-18Flatten strings in ejabberd_xmlrpc error resultsBadlop1-0/+4
2019-10-15Convert oauth_expire option to accept timeout valuesPaweł Chmielowski3-5/+5
2019-10-11Fix dialyzer warning in #oauth_ctxAlexey Shchepin1-1/+1
2019-10-11Implement X-OAUTH2 authentication for mod_mqttEvgeny Khramtsov1-18/+40
This will only work for MQTT 5.0 connections. A client MUST set "Authentication Method" property of CONNECT packet to "X-OAUTH2" and MUST set the token in "Authentication Data" property of the same CONNECT packet. The server responses as usual with CONNACK.
2019-10-09Verify http host in web admin only if authentication is missing hostPaweł Chmielowski1-32/+32
This should allow access to web admin through ip address or just served from domain not defined in ejabberd hosts
2019-10-03Update ejabberd_xmlrpc to handle binaries in restuple result (#3048)Badlop1-1/+1
2019-10-03Check redirect_uri for OAUTH implicit grantAlexey Shchepin3-69/+144
2019-10-02Update Guide links in WebAdmin to website, as local file isn't includedBadlop1-24/+0
2019-10-02Support custom base path in WebAdmin by using relative URLs (#3043)Badlop3-73/+93
2019-10-01Fix startup of supervisors for listening modulesEvgeny Khramtsov1-0/+1
2019-09-28Improve best matchEvgeny Khramtsov2-10/+18
2019-09-27Support OAUTH client authenticationAlexey Shchepin6-43/+246
2019-09-26Advertise muc#roominfo_logs in disco#info of the roomEvgeny Khramtsov3-3/+37
The commit adds new `url` option for mod_muc_log. Fixes #3040
2019-09-25Don't log warning when an option is consulted for uknown vhostEvgeny Khramtsov1-4/+4
Such warnings may be unappropriate in some situation, e.g. when a virtual host is disabled in runtime but some packets for this host are still in transit. Fixes #3037
2019-09-25Rename to p1_acmeEvgeny Khramtsov1-7/+7
2019-09-23Correctly handle unicode in log messagesEvgeny Khramtsov124-765/+759
2019-09-22Fix unicode formatting in ACME moduleEvgeny Khramtsov1-32/+32
2019-09-22Don't call to xmpp_idnaEvgeny Khramtsov1-3/+3