]>
granicus.if.org Git - ejabberd/log
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
Stu Tomlinson [Fri, 25 Oct 2019 15:56:18 +0000 (16:56 +0100)]
Add option for JWT field name containing JID
Evgeny Khramtsov [Fri, 25 Oct 2019 15:30:50 +0000 (18:30 +0300)]
Improve jwt_key validator
Evgeny Khramtsov [Fri, 25 Oct 2019 15:18:04 +0000 (18:18 +0300)]
Don't lowercase first letter in reason string
Alexey Shchepin [Fri, 25 Oct 2019 13:33:11 +0000 (16:33 +0300)]
Handle the case when JWT key file contains JWK set
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.
Evgeny Khramtsov [Fri, 25 Oct 2019 12:52:05 +0000 (15:52 +0300)]
Stop SASL application in ejabberd_logger:flush()
Evgeny Khramtsov [Fri, 25 Oct 2019 12:27:47 +0000 (15:27 +0300)]
Avoid calling to logger module on OTP<22
Evgeny Khramtsov [Fri, 25 Oct 2019 11:56:19 +0000 (14:56 +0300)]
TravisCI: test against Erlang/OTP 19.3
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
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.
Evgeny Khramtsov [Wed, 23 Oct 2019 13:41:27 +0000 (16:41 +0300)]
Fix logger initialization on OTP<21.3
Evgeny Khramtsov [Wed, 23 Oct 2019 13:03:48 +0000 (16:03 +0300)]
Report errors in logger initialization
Evgeny Khramtsov [Wed, 23 Oct 2019 11:40:32 +0000 (14:40 +0300)]
Make PostgreSQL schema compatible with CockroachDB
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
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
Evgeny Khramtsov [Sat, 19 Oct 2019 16:58:42 +0000 (19:58 +0300)]
Fix error reporting in configuration related admin commands
Evgeny Khramtsov [Sat, 19 Oct 2019 09:14:02 +0000 (12:14 +0300)]
Don't parse obsoleted options
Evgeny Khramtsov [Fri, 18 Oct 2019 19:00:37 +0000 (22:00 +0300)]
Log supervisor reports in debug loglevel
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.
Badlop [Fri, 18 Oct 2019 09:52:03 +0000 (11:52 +0200)]
Flatten strings in ejabberd_xmlrpc error results
Linus Jahn [Thu, 17 Oct 2019 23:54:35 +0000 (01:54 +0200)]
msgs: de: Fix comma setting
Paweł Chmielowski [Tue, 15 Oct 2019 09:18:29 +0000 (11:18 +0200)]
Convert oauth_expire option to accept timeout values
Evgeny Khramtsov [Fri, 11 Oct 2019 14:57:45 +0000 (17:57 +0300)]
Improve type spec of properties()
Alexey Shchepin [Fri, 11 Oct 2019 13:51:59 +0000 (16:51 +0300)]
Fix dialyzer warning in #oauth_ctx
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.
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
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.
Badlop [Wed, 2 Oct 2019 11:51:26 +0000 (13:51 +0200)]
Update ejabberd_xmlrpc to handle binaries in restuple result (#3048)
Alexey Shchepin [Thu, 3 Oct 2019 03:18:07 +0000 (06:18 +0300)]
Check redirect_uri for OAUTH implicit grant
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
Badlop [Wed, 2 Oct 2019 09:54:22 +0000 (11:54 +0200)]
Support custom base path in WebAdmin by using relative URLs (#3043)
Evgeny Khramtsov [Tue, 1 Oct 2019 20:28:00 +0000 (23:28 +0300)]
Fix startup of supervisors for listening modules
Paweł Chmielowski [Tue, 1 Oct 2019 15:00:50 +0000 (17:00 +0200)]
Allow configuring proxy65 port in tests
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
Mickael Remond [Mon, 30 Sep 2019 08:10:44 +0000 (10:10 +0200)]
Update description for Hex.pm
Evgeny Khramtsov [Sat, 28 Sep 2019 08:27:20 +0000 (11:27 +0300)]
Improve best match
Alexey Shchepin [Fri, 27 Sep 2019 17:36:35 +0000 (20:36 +0300)]
Support OAUTH client authentication
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
Evgeny Khramtsov [Thu, 26 Sep 2019 07:22:36 +0000 (10:22 +0300)]
Re-tag xmpp dep
Paweł Chmielowski [Wed, 25 Sep 2019 12:54:21 +0000 (14:54 +0200)]
Update deps in mix.exs/lock
Jerome Sautret [Wed, 25 Sep 2019 12:54:12 +0000 (14:54 +0200)]
Bump version in mix.exs
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
Paweł Chmielowski [Wed, 25 Sep 2019 10:46:22 +0000 (12:46 +0200)]
Tag p1_acme and use that in deps
Evgeny Khramtsov [Wed, 25 Sep 2019 10:10:47 +0000 (13:10 +0300)]
Rename to p1_acme
Jerome Sautret [Tue, 24 Sep 2019 16:30:10 +0000 (18:30 +0200)]
Add 19.09 Changelog
Paweł Chmielowski [Tue, 24 Sep 2019 09:01:43 +0000 (11:01 +0200)]
Update deps
Evgeny Khramtsov [Mon, 23 Sep 2019 12:17:20 +0000 (15:17 +0300)]
Correctly handle unicode in log messages
Evgeny Khramtsov [Sun, 22 Sep 2019 17:11:54 +0000 (20:11 +0300)]
Fix unicode formatting in ACME module
Evgeny Khramtsov [Sun, 22 Sep 2019 16:42:29 +0000 (19:42 +0300)]
Fix unicode processing in ejabberd.yml
Evgeny Khramtsov [Sun, 22 Sep 2019 10:28:14 +0000 (13:28 +0300)]
Don't call to xmpp_idna
Evgeny Khramtsov [Sun, 22 Sep 2019 09:44:31 +0000 (12:44 +0300)]
Fix IDNA support in ACME requests
Evgeny Khramtsov [Sun, 22 Sep 2019 08:30:20 +0000 (11:30 +0300)]
Don't forget to log an error message on IDNA failure
Evgeny Khramtsov [Sun, 22 Sep 2019 08:04:38 +0000 (11:04 +0300)]
Support IDN hostnames in ACME requests
Evgeny Khramtsov [Sat, 21 Sep 2019 22:14:29 +0000 (01:14 +0300)]
Don't attempt to create acme directory on ejabberd startup
Evgeny Khramtsov [Sat, 21 Sep 2019 22:03:08 +0000 (01:03 +0300)]
Slightly improve arg example
Evgeny Khramtsov [Sat, 21 Sep 2019 21:53:03 +0000 (00:53 +0300)]
Don't allow requesting certificates for localhost or IP-like domains
Evgeny Khramtsov [Sat, 21 Sep 2019 21:21:12 +0000 (00:21 +0300)]
Improve warning message
Evgeny Khramtsov [Sat, 21 Sep 2019 19:20:20 +0000 (22:20 +0300)]
Avoid excessive quoting in request_handlers of example config
Evgeny Khramtsov [Sat, 21 Sep 2019 19:18:49 +0000 (22:18 +0300)]
Bump acme version
Evgeny Khramtsov [Fri, 20 Sep 2019 13:12:15 +0000 (16:12 +0300)]
Comment `certfiles` section in example config
Rely on ACME configuration instead
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
Evgeny Khramtsov [Fri, 20 Sep 2019 11:04:00 +0000 (14:04 +0300)]
Fix typo
Evgeny Khramtsov [Fri, 20 Sep 2019 10:08:03 +0000 (13:08 +0300)]
Remove unused file
Evgeny Khramtsov [Fri, 20 Sep 2019 10:03:25 +0000 (13:03 +0300)]
Don't auto request certificate for localhost and IP-like domains
Evgeny Khramtsov [Fri, 20 Sep 2019 09:52:28 +0000 (12:52 +0300)]
Add listener for ACME challenge in example config
Evgeny Khramtsov [Fri, 20 Sep 2019 09:36:31 +0000 (12:36 +0300)]
Improve ACME implementation
Fixes #2487, fixes #2590, fixes #2638
Alexey Shchepin [Wed, 18 Sep 2019 15:45:51 +0000 (18:45 +0300)]
JWT-only authentication for some users (#3012)
Holger Weiss [Wed, 18 Sep 2019 15:39:40 +0000 (17:39 +0200)]
mod_jidprep: Don't call gen_mod functions directly
Badlop [Tue, 17 Sep 2019 08:41:27 +0000 (10:41 +0200)]
Apply default role after revoking admin affiliation (#3023)
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".
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
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.
Evgeny Khramtsov [Tue, 10 Sep 2019 18:57:51 +0000 (21:57 +0300)]
Log Mnesia table type on creation
Evgeny Khramtsov [Tue, 10 Sep 2019 13:02:51 +0000 (16:02 +0300)]
Replicate Mnesia 'bosh' table when nodes are joined
Mickael Remond [Mon, 9 Sep 2019 10:13:27 +0000 (12:13 +0200)]
Merge branch 'master' of github.com:processone/ejabberd
Mickael Remond [Mon, 9 Sep 2019 10:12:54 +0000 (12:12 +0200)]
Use email field type to avoid jid capitalization on iOS
Holger Weiss [Mon, 9 Sep 2019 08:46:54 +0000 (10:46 +0200)]
Fix typos in issue template
Mickaël Rémond [Mon, 9 Sep 2019 07:49:54 +0000 (09:49 +0200)]
Update issue templates
Alexey Shchepin [Sun, 8 Sep 2019 21:57:55 +0000 (00:57 +0300)]
Add missing ejabberd_auth_jwt:user_exists/2 function (#3012)
Alexey Shchepin [Sun, 8 Sep 2019 21:15:55 +0000 (00:15 +0300)]
Fix BEGIN/COMMIT/ROLLBACK syntax for MSSQL (#2978)
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
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
Evgeny Khramtsov [Wed, 4 Sep 2019 07:31:09 +0000 (10:31 +0300)]
Fix the regression introduced in
dd57950
Fixes #3010
Badlop [Tue, 27 Aug 2019 10:29:05 +0000 (12:29 +0200)]
Fix some links to Guide in WebAdmin and add new ones (#3003)
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
Vyache [Fri, 23 Aug 2019 06:32:58 +0000 (09:32 +0300)]
Custom exit message is not broadcast
Badlop [Thu, 22 Aug 2019 16:07:05 +0000 (18:07 +0200)]
Use select fields to input host in WebAdmin Backup (#3000)
Badlop [Thu, 22 Aug 2019 15:56:08 +0000 (17:56 +0200)]
Fix call to deprecated ejabberd_config:get_myhosts() (#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)
Badlop [Thu, 22 Aug 2019 15:11:48 +0000 (17:11 +0200)]
Check account auth provided in WebAdmin is a local host (#3000)
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
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
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
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
Badlop [Tue, 13 Aug 2019 09:37:18 +0000 (11:37 +0200)]
When join new room with password, set pass and password_protected (#2668)
Badlop [Mon, 12 Aug 2019 11:24:48 +0000 (13:24 +0200)]
Improve rooms_* commands to accept 'global' as MUC service argument (#2976)
Evgeny Khramtsov [Mon, 12 Aug 2019 09:28:17 +0000 (12:28 +0300)]
Fix typo in type spec
Evgeny Khramtsov [Mon, 12 Aug 2019 09:21:31 +0000 (12:21 +0300)]
Spawn SQL connections on demand only
Badlop [Thu, 8 Aug 2019 09:03:12 +0000 (11:03 +0200)]
Rename MUC command arguments from Host to Service (#2976)