]> granicus.if.org Git - ejabberd/log
ejabberd
5 years agoMerge pull request #3069 from nosnilmot/jwt-custom-jid-field master
Evgeny Khramtsov [Sat, 26 Oct 2019 08:03:19 +0000 (11:03 +0300)]
Merge pull request #3069 from nosnilmot/jwt-custom-jid-field

Add option for JWT field name containing JID

5 years agoAdd option for JWT field name containing JID
Stu Tomlinson [Fri, 25 Oct 2019 15:56:18 +0000 (16:56 +0100)]
Add option for JWT field name containing JID

5 years agoImprove jwt_key validator
Evgeny Khramtsov [Fri, 25 Oct 2019 15:30:50 +0000 (18:30 +0300)]
Improve jwt_key validator

5 years agoDon't lowercase first letter in reason string
Evgeny Khramtsov [Fri, 25 Oct 2019 15:18:04 +0000 (18:18 +0300)]
Don't lowercase first letter in reason string

5 years agoHandle the case when JWT key file contains JWK set
Alexey Shchepin [Fri, 25 Oct 2019 13:33:11 +0000 (16:33 +0300)]
Handle the case when JWT key file contains JWK set

5 years agoIntroduce 'gc' ejabberdctl command
Evgeny Khramtsov [Fri, 25 Oct 2019 13:02:24 +0000 (16:02 +0300)]
Introduce 'gc' ejabberdctl command

The command forces garbage collection of all running Erlang processes.
The return is always success.

5 years agoStop SASL application in ejabberd_logger:flush()
Evgeny Khramtsov [Fri, 25 Oct 2019 12:52:05 +0000 (15:52 +0300)]
Stop SASL application in ejabberd_logger:flush()

5 years agoAvoid calling to logger module on OTP<22
Evgeny Khramtsov [Fri, 25 Oct 2019 12:27:47 +0000 (15:27 +0300)]
Avoid calling to logger module on OTP<22

5 years agoTravisCI: test against Erlang/OTP 19.3
Evgeny Khramtsov [Fri, 25 Oct 2019 11:56:19 +0000 (14:56 +0300)]
TravisCI: test against Erlang/OTP 19.3

5 years agoUse lager on OTP<22.0
Evgeny Khramtsov [Fri, 25 Oct 2019 08:44:04 +0000 (11:44 +0300)]
Use lager on OTP<22.0

This also lowers Erlang/OTP minimum version requirement back to 19.3

5 years agoLimit result set of disco#items for mod_pubsub
Evgeny Khramtsov [Thu, 24 Oct 2019 11:59:47 +0000 (14:59 +0300)]
Limit result set of disco#items for mod_pubsub

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.

5 years agoFix logger initialization on OTP<21.3
Evgeny Khramtsov [Wed, 23 Oct 2019 13:41:27 +0000 (16:41 +0300)]
Fix logger initialization on OTP<21.3

5 years agoReport errors in logger initialization
Evgeny Khramtsov [Wed, 23 Oct 2019 13:03:48 +0000 (16:03 +0300)]
Report errors in logger initialization

5 years agoMake PostgreSQL schema compatible with CockroachDB
Evgeny Khramtsov [Wed, 23 Oct 2019 11:40:32 +0000 (14:40 +0300)]
Make PostgreSQL schema compatible with CockroachDB

5 years agoMerge pull request #3063 from lnjX/fix/de-comma-setting
badlop [Mon, 21 Oct 2019 08:14:52 +0000 (10:14 +0200)]
Merge pull request #3063 from lnjX/fix/de-comma-setting

msgs: de: Fix comma setting

5 years agoLog path to third-party configuration file
Evgeny Khramtsov [Sun, 20 Oct 2019 15:14:33 +0000 (18:14 +0300)]
Log path to third-party configuration file

This should prevent confusions like the one described at
https://stackoverflow.com/q/58353491/2610053

5 years agoFix error reporting in configuration related admin commands
Evgeny Khramtsov [Sat, 19 Oct 2019 16:58:42 +0000 (19:58 +0300)]
Fix error reporting in configuration related admin commands

5 years agoDon't parse obsoleted options
Evgeny Khramtsov [Sat, 19 Oct 2019 09:14:02 +0000 (12:14 +0300)]
Don't parse obsoleted options

5 years agoLog supervisor reports in debug loglevel
Evgeny Khramtsov [Fri, 18 Oct 2019 19:00:37 +0000 (22:00 +0300)]
Log supervisor reports in debug loglevel

5 years agoReplace lager with built-in new logging API
Evgeny Khramtsov [Fri, 18 Oct 2019 16:12:32 +0000 (19:12 +0300)]
Replace lager with built-in new logging API

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.

5 years agoFlatten strings in ejabberd_xmlrpc error results
Badlop [Fri, 18 Oct 2019 09:52:03 +0000 (11:52 +0200)]
Flatten strings in ejabberd_xmlrpc error results

5 years agomsgs: de: Fix comma setting
Linus Jahn [Thu, 17 Oct 2019 23:54:35 +0000 (01:54 +0200)]
msgs: de: Fix comma setting

5 years agoConvert oauth_expire option to accept timeout values
Paweł Chmielowski [Tue, 15 Oct 2019 09:18:29 +0000 (11:18 +0200)]
Convert oauth_expire option to accept timeout values

5 years agoImprove type spec of properties()
Evgeny Khramtsov [Fri, 11 Oct 2019 14:57:45 +0000 (17:57 +0300)]
Improve type spec of properties()

5 years agoFix dialyzer warning in #oauth_ctx
Alexey Shchepin [Fri, 11 Oct 2019 13:51:59 +0000 (16:51 +0300)]
Fix dialyzer warning in #oauth_ctx

5 years agoImplement X-OAUTH2 authentication for mod_mqtt
Evgeny Khramtsov [Fri, 11 Oct 2019 13:46:16 +0000 (16:46 +0300)]
Implement X-OAUTH2 authentication for mod_mqtt

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.

5 years agoVerify http host in web admin only if authentication is missing host
Paweł Chmielowski [Wed, 9 Oct 2019 08:31:02 +0000 (10:31 +0200)]
Verify http host in web admin only if authentication is missing host

This should allow access to web admin through ip address or just served
from domain not defined in ejabberd hosts

5 years agoTry removing label as bug
Mickaël Rémond [Fri, 4 Oct 2019 07:02:45 +0000 (09:02 +0200)]
Try removing label as bug

Many tickets submitted by users are not bugs.

5 years agoUpdate ejabberd_xmlrpc to handle binaries in restuple result (#3048)
Badlop [Wed, 2 Oct 2019 11:51:26 +0000 (13:51 +0200)]
Update ejabberd_xmlrpc to handle binaries in restuple result (#3048)

5 years agoCheck redirect_uri for OAUTH implicit grant
Alexey Shchepin [Thu, 3 Oct 2019 03:18:07 +0000 (06:18 +0300)]
Check redirect_uri for OAUTH implicit grant

5 years agoUpdate Guide links in WebAdmin to website, as local file isn't included
Badlop [Wed, 2 Oct 2019 10:31:04 +0000 (12:31 +0200)]
Update Guide links in WebAdmin to website, as local file isn't included

5 years agoSupport custom base path in WebAdmin by using relative URLs (#3043)
Badlop [Wed, 2 Oct 2019 09:54:22 +0000 (11:54 +0200)]
Support custom base path in WebAdmin by using relative URLs (#3043)

5 years agoFix startup of supervisors for listening modules
Evgeny Khramtsov [Tue, 1 Oct 2019 20:28:00 +0000 (23:28 +0300)]
Fix startup of supervisors for listening modules

5 years agoAllow configuring proxy65 port in tests
Paweł Chmielowski [Tue, 1 Oct 2019 15:00:50 +0000 (17:00 +0200)]
Allow configuring proxy65 port in tests

5 years agoBump version of jose to 1.9.0
Paweł Chmielowski [Tue, 1 Oct 2019 14:34:25 +0000 (16:34 +0200)]
Bump version of jose to 1.9.0

This version theoretically require rebar3 but we have plugin that can
override it by using version declared in main config file

5 years agoUpdate description for Hex.pm
Mickael Remond [Mon, 30 Sep 2019 08:10:44 +0000 (10:10 +0200)]
Update description for Hex.pm

5 years agoImprove best match
Evgeny Khramtsov [Sat, 28 Sep 2019 08:27:20 +0000 (11:27 +0300)]
Improve best match

5 years agoSupport OAUTH client authentication
Alexey Shchepin [Fri, 27 Sep 2019 17:36:35 +0000 (20:36 +0300)]
Support OAUTH client authentication

5 years agoAdvertise muc#roominfo_logs in disco#info of the room
Evgeny Khramtsov [Thu, 26 Sep 2019 13:53:36 +0000 (16:53 +0300)]
Advertise muc#roominfo_logs in disco#info of the room

The commit adds new `url` option for mod_muc_log.
Fixes #3040

5 years agoRe-tag xmpp dep 19.09
Evgeny Khramtsov [Thu, 26 Sep 2019 07:22:36 +0000 (10:22 +0300)]
Re-tag xmpp dep

5 years agoUpdate deps in mix.exs/lock
Paweł Chmielowski [Wed, 25 Sep 2019 12:54:21 +0000 (14:54 +0200)]
Update deps in mix.exs/lock

5 years agoBump version in mix.exs
Jerome Sautret [Wed, 25 Sep 2019 12:54:12 +0000 (14:54 +0200)]
Bump version in mix.exs

5 years agoDon't log warning when an option is consulted for uknown vhost
Evgeny Khramtsov [Wed, 25 Sep 2019 10:58:05 +0000 (13:58 +0300)]
Don't log warning when an option is consulted for uknown vhost

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

5 years agoTag p1_acme and use that in deps
Paweł Chmielowski [Wed, 25 Sep 2019 10:46:22 +0000 (12:46 +0200)]
Tag p1_acme and use that in deps

5 years agoRename to p1_acme
Evgeny Khramtsov [Wed, 25 Sep 2019 10:10:47 +0000 (13:10 +0300)]
Rename to p1_acme

5 years agoAdd 19.09 Changelog
Jerome Sautret [Tue, 24 Sep 2019 16:30:10 +0000 (18:30 +0200)]
Add 19.09 Changelog

5 years agoUpdate deps
Paweł Chmielowski [Tue, 24 Sep 2019 09:01:43 +0000 (11:01 +0200)]
Update deps

5 years agoCorrectly handle unicode in log messages
Evgeny Khramtsov [Mon, 23 Sep 2019 12:17:20 +0000 (15:17 +0300)]
Correctly handle unicode in log messages

5 years agoFix unicode formatting in ACME module
Evgeny Khramtsov [Sun, 22 Sep 2019 17:11:54 +0000 (20:11 +0300)]
Fix unicode formatting in ACME module

5 years agoFix unicode processing in ejabberd.yml
Evgeny Khramtsov [Sun, 22 Sep 2019 16:42:29 +0000 (19:42 +0300)]
Fix unicode processing in ejabberd.yml

5 years agoDon't call to xmpp_idna
Evgeny Khramtsov [Sun, 22 Sep 2019 10:28:14 +0000 (13:28 +0300)]
Don't call to xmpp_idna

5 years agoFix IDNA support in ACME requests
Evgeny Khramtsov [Sun, 22 Sep 2019 09:44:31 +0000 (12:44 +0300)]
Fix IDNA support in ACME requests

5 years agoDon't forget to log an error message on IDNA failure
Evgeny Khramtsov [Sun, 22 Sep 2019 08:30:20 +0000 (11:30 +0300)]
Don't forget to log an error message on IDNA failure

5 years agoSupport IDN hostnames in ACME requests
Evgeny Khramtsov [Sun, 22 Sep 2019 08:04:38 +0000 (11:04 +0300)]
Support IDN hostnames in ACME requests

5 years agoDon't attempt to create acme directory on ejabberd startup
Evgeny Khramtsov [Sat, 21 Sep 2019 22:14:29 +0000 (01:14 +0300)]
Don't attempt to create acme directory on ejabberd startup

5 years agoSlightly improve arg example
Evgeny Khramtsov [Sat, 21 Sep 2019 22:03:08 +0000 (01:03 +0300)]
Slightly improve arg example

5 years agoDon't allow requesting certificates for localhost or IP-like domains
Evgeny Khramtsov [Sat, 21 Sep 2019 21:53:03 +0000 (00:53 +0300)]
Don't allow requesting certificates for localhost or IP-like domains

5 years agoImprove warning message
Evgeny Khramtsov [Sat, 21 Sep 2019 21:21:12 +0000 (00:21 +0300)]
Improve warning message

5 years agoAvoid excessive quoting in request_handlers of example config
Evgeny Khramtsov [Sat, 21 Sep 2019 19:20:20 +0000 (22:20 +0300)]
Avoid excessive quoting in request_handlers of example config

5 years agoBump acme version
Evgeny Khramtsov [Sat, 21 Sep 2019 19:18:49 +0000 (22:18 +0300)]
Bump acme version

5 years agoComment `certfiles` section in example config
Evgeny Khramtsov [Fri, 20 Sep 2019 13:12:15 +0000 (16:12 +0300)]
Comment `certfiles` section in example config

Rely on ACME configuration instead

5 years agoUse round/0 instead of ceil/0
Evgeny Khramtsov [Fri, 20 Sep 2019 12:33:08 +0000 (15:33 +0300)]
Use round/0 instead of ceil/0

Because ceil/0 was introduced in OTP20.0 only

5 years agoFix typo
Evgeny Khramtsov [Fri, 20 Sep 2019 11:04:00 +0000 (14:04 +0300)]
Fix typo

5 years agoRemove unused file
Evgeny Khramtsov [Fri, 20 Sep 2019 10:08:03 +0000 (13:08 +0300)]
Remove unused file

5 years agoDon't auto request certificate for localhost and IP-like domains
Evgeny Khramtsov [Fri, 20 Sep 2019 10:03:25 +0000 (13:03 +0300)]
Don't auto request certificate for localhost and IP-like domains

5 years agoAdd listener for ACME challenge in example config
Evgeny Khramtsov [Fri, 20 Sep 2019 09:52:28 +0000 (12:52 +0300)]
Add listener for ACME challenge in example config

5 years agoImprove ACME implementation
Evgeny Khramtsov [Fri, 20 Sep 2019 09:36:31 +0000 (12:36 +0300)]
Improve ACME implementation

Fixes #2487, fixes #2590, fixes #2638

5 years agoJWT-only authentication for some users (#3012)
Alexey Shchepin [Wed, 18 Sep 2019 15:45:51 +0000 (18:45 +0300)]
JWT-only authentication for some users (#3012)

5 years agomod_jidprep: Don't call gen_mod functions directly
Holger Weiss [Wed, 18 Sep 2019 15:39:40 +0000 (17:39 +0200)]
mod_jidprep: Don't call gen_mod functions directly

5 years agoApply default role after revoking admin affiliation (#3023)
Badlop [Tue, 17 Sep 2019 08:41:27 +0000 (10:41 +0200)]
Apply default role after revoking admin affiliation (#3023)

5 years agoREADME.md: Clean up wording
Holger Weiss [Thu, 12 Sep 2019 10:22:30 +0000 (12:22 +0200)]
README.md: Clean up wording

The `gsfonts` package name is specific to some Linux distributions, so
just mention the dependency on "Ghostscript fonts".

5 years agoMerge remote-tracking branch 'processone/pr/2995'
Holger Weiss [Thu, 12 Sep 2019 10:20:59 +0000 (12:20 +0200)]
Merge remote-tracking branch 'processone/pr/2995'

* processone/pr/2995:
  Added gsfonts for captcha

5 years agoAdd support for XEP-0328: JID Prep
Holger Weiss [Thu, 12 Sep 2019 07:26:45 +0000 (09:26 +0200)]
Add support for XEP-0328: JID Prep

The mod_jidprep module implements XEP-0328: JID Prep, version 0.1.

5 years agoLog Mnesia table type on creation
Evgeny Khramtsov [Tue, 10 Sep 2019 18:57:51 +0000 (21:57 +0300)]
Log Mnesia table type on creation

5 years agoReplicate Mnesia 'bosh' table when nodes are joined
Evgeny Khramtsov [Tue, 10 Sep 2019 13:02:51 +0000 (16:02 +0300)]
Replicate Mnesia 'bosh' table when nodes are joined

5 years agoMerge branch 'master' of github.com:processone/ejabberd
Mickael Remond [Mon, 9 Sep 2019 10:13:27 +0000 (12:13 +0200)]
Merge branch 'master' of github.com:processone/ejabberd

5 years agoUse email field type to avoid jid capitalization on iOS
Mickael Remond [Mon, 9 Sep 2019 10:12:54 +0000 (12:12 +0200)]
Use email field type to avoid jid capitalization on iOS

5 years agoFix typos in issue template
Holger Weiss [Mon, 9 Sep 2019 08:46:54 +0000 (10:46 +0200)]
Fix typos in issue template

5 years agoUpdate issue templates
Mickaël Rémond [Mon, 9 Sep 2019 07:49:54 +0000 (09:49 +0200)]
Update issue templates

5 years agoAdd missing ejabberd_auth_jwt:user_exists/2 function (#3012)
Alexey Shchepin [Sun, 8 Sep 2019 21:57:55 +0000 (00:57 +0300)]
Add missing ejabberd_auth_jwt:user_exists/2 function (#3012)

5 years agoFix BEGIN/COMMIT/ROLLBACK syntax for MSSQL (#2978)
Alexey Shchepin [Sun, 8 Sep 2019 21:15:55 +0000 (00:15 +0300)]
Fix BEGIN/COMMIT/ROLLBACK syntax for MSSQL (#2978)

5 years agoFix certificate selection for s2s
Evgeny Khramtsov [Fri, 6 Sep 2019 19:20:07 +0000 (22:20 +0300)]
Fix certificate selection for s2s

The bug was introduced in c2cbb4d87955ff4917581fedc93cbcd4edd1ce8a
Fixes #3015

5 years agoAdd ejabberd_oauth:verify_resowner_scope callback back
Paweł Chmielowski [Fri, 6 Sep 2019 14:46:03 +0000 (16:46 +0200)]
Add ejabberd_oauth:verify_resowner_scope callback back

This fixes issue #2982

5 years agoFix the regression introduced in dd57950
Evgeny Khramtsov [Wed, 4 Sep 2019 07:31:09 +0000 (10:31 +0300)]
Fix the regression introduced in dd57950

Fixes #3010

5 years agoFix some links to Guide in WebAdmin and add new ones (#3003)
Badlop [Tue, 27 Aug 2019 10:29:05 +0000 (12:29 +0200)]
Fix some links to Guide in WebAdmin and add new ones (#3003)

5 years agoMerge pull request #3004 from Slawutich/master
badlop [Mon, 26 Aug 2019 11:53:42 +0000 (13:53 +0200)]
Merge pull request #3004 from Slawutich/master

Custom exit message is not broadcast

5 years agoCustom exit message is not broadcast
Vyache [Fri, 23 Aug 2019 06:32:58 +0000 (09:32 +0300)]
Custom exit message is not broadcast

5 years agoUse select fields to input host in WebAdmin Backup (#3000)
Badlop [Thu, 22 Aug 2019 16:07:05 +0000 (18:07 +0200)]
Use select fields to input host in WebAdmin Backup (#3000)

5 years agoFix call to deprecated ejabberd_config:get_myhosts() (#3000)
Badlop [Thu, 22 Aug 2019 15:56:08 +0000 (17:56 +0200)]
Fix call to deprecated ejabberd_config:get_myhosts() (#3000)

5 years agoProvide meaningful error when adding non-local users to shared roster (#3000)
Badlop [Thu, 22 Aug 2019 15:12:52 +0000 (17:12 +0200)]
Provide meaningful error when adding non-local users to shared roster (#3000)

5 years agoCheck account auth provided in WebAdmin is a local host (#3000)
Badlop [Thu, 22 Aug 2019 15:11:48 +0000 (17:11 +0200)]
Check account auth provided in WebAdmin is a local host (#3000)

5 years agoAdded gsfonts for captcha
ThUnD3r|Gr33n [Sun, 18 Aug 2019 09:19:09 +0000 (11:19 +0200)]
Added gsfonts for captcha

This is needed to show Captcha .if not Captcha would be empty

5 years agoAdd another variant of transformation of offline_msg in mod_offline_mnesia
Paweł Chmielowski [Fri, 16 Aug 2019 16:34:42 +0000 (18:34 +0200)]
Add another variant of transformation of offline_msg in mod_offline_mnesia

5 years agoDon't treat 'Host' header as a virtual XMPP host
Evgeny Khramtsov [Tue, 13 Aug 2019 15:30:28 +0000 (18:30 +0300)]
Don't treat 'Host' header as a virtual XMPP host

Fixes #2989

5 years agoRevert "Affiliations other than admin and owner cannot invite to members_only rooms"
Badlop [Tue, 13 Aug 2019 12:55:37 +0000 (14:55 +0200)]
Revert "Affiliations other than admin and owner cannot invite to members_only rooms"

This reverts commit b010a1a0a03fb304ad018b4d42d69df93ca4c5a1.
More details in #2987

5 years agoWhen join new room with password, set pass and password_protected (#2668)
Badlop [Tue, 13 Aug 2019 09:37:18 +0000 (11:37 +0200)]
When join new room with password, set pass and password_protected (#2668)

5 years agoImprove rooms_* commands to accept 'global' as MUC service argument (#2976)
Badlop [Mon, 12 Aug 2019 11:24:48 +0000 (13:24 +0200)]
Improve rooms_* commands to accept 'global' as MUC service argument (#2976)

5 years agoFix typo in type spec
Evgeny Khramtsov [Mon, 12 Aug 2019 09:28:17 +0000 (12:28 +0300)]
Fix typo in type spec

5 years agoSpawn SQL connections on demand only
Evgeny Khramtsov [Mon, 12 Aug 2019 09:21:31 +0000 (12:21 +0300)]
Spawn SQL connections on demand only

5 years agoRename MUC command arguments from Host to Service (#2976)
Badlop [Thu, 8 Aug 2019 09:03:12 +0000 (11:03 +0200)]
Rename MUC command arguments from Host to Service (#2976)