]> granicus.if.org Git - ejabberd/log
ejabberd
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)

5 years agoDon't use close/2: set stop_reason explicitly
Evgeny Khramtsov [Thu, 8 Aug 2019 08:21:28 +0000 (11:21 +0300)]
Don't use close/2: set stop_reason explicitly

Fixes #2984

5 years agoRemove fast_yaml override
Mickael Remond [Tue, 6 Aug 2019 13:47:58 +0000 (15:47 +0200)]
Remove fast_yaml override

5 years agoReport connection error before waiting for resumption
Evgeny Khramtsov [Tue, 6 Aug 2019 13:18:04 +0000 (16:18 +0300)]
Report connection error before waiting for resumption

In other words don't hide the reason why c2s connection has failed

5 years agoAdd tests for 'vcard' option
Evgeny Khramtsov [Tue, 6 Aug 2019 11:03:23 +0000 (14:03 +0300)]
Add tests for 'vcard' option

5 years agoImplement reload/3 for mod_http_upload
Evgeny Khramtsov [Tue, 6 Aug 2019 09:31:33 +0000 (12:31 +0300)]
Implement reload/3 for mod_http_upload

5 years agoAdd 19.08 Changelog 19.08
Jerome Sautret [Mon, 5 Aug 2019 12:36:45 +0000 (14:36 +0200)]
Add 19.08 Changelog

5 years agoAdopt mix task to changes in ejabberd_config
Paweł Chmielowski [Mon, 5 Aug 2019 08:55:30 +0000 (10:55 +0200)]
Adopt mix task to changes in ejabberd_config

5 years agoBump version in mix.exs
Paweł Chmielowski [Mon, 5 Aug 2019 08:15:06 +0000 (10:15 +0200)]
Bump version in mix.exs

5 years agoUpdate mix deps
Paweł Chmielowski [Mon, 5 Aug 2019 08:14:30 +0000 (10:14 +0200)]
Update mix deps

5 years agoDon't retain module option on gen_mod supervisor
Evgeny Khramtsov [Sun, 4 Aug 2019 18:46:18 +0000 (21:46 +0300)]
Don't retain module option on gen_mod supervisor

When module's options were updated (e.g. by reloading ejabberd.yml)
and, later, the module's process crashed, gen_mod supervisor
restarts the process with outdated options. This is now fixed.

5 years agoUse tagged version for yconf as well
Paweł Chmielowski [Fri, 2 Aug 2019 14:06:19 +0000 (16:06 +0200)]
Use tagged version for yconf as well

5 years agoUpdate deps to tagged versions
Paweł Chmielowski [Fri, 2 Aug 2019 13:12:38 +0000 (15:12 +0200)]
Update deps to tagged versions

5 years agoValidate BINVAL values of vcard elements as Base64
Evgeny Khramtsov [Fri, 2 Aug 2019 11:20:10 +0000 (14:20 +0300)]
Validate BINVAL values of vcard elements as Base64

5 years agoIntroduce 'vcard' option for the modules supporting vCards
Evgeny Khramtsov [Fri, 2 Aug 2019 10:55:48 +0000 (13:55 +0300)]
Introduce 'vcard' option for the modules supporting vCards

The mapping between vCard's XML elements and YAML elements
of 'vcard' option is straightforward. For example, if you
want mod_muc to return the following vCard:
```
<vCard xmlns='vcard-temp'>
  <FN>Conferences</FN>
  <ADR>
    <WORK/>
    <STREET>Elm Street</STREET>
  </ADR>
</vCard>
```
you need to set the configuration as:
```
modules:
  ...
  mod_muc:
    vcard:
      fn: Conferences
      adr:
        -
          work: true
          street: Elm Street
  ...
```

5 years agoBump pkix version
Evgeny Khramtsov [Thu, 1 Aug 2019 09:56:23 +0000 (12:56 +0300)]
Bump pkix version

5 years agoExplain requirements of the FROM argument of send_message command (#2959)
Badlop [Thu, 1 Aug 2019 09:29:42 +0000 (11:29 +0200)]
Explain requirements of the FROM argument of send_message command (#2959)

5 years agoDon't call ejabberd_cluster from its submodules
Evgeny Khramtsov [Wed, 31 Jul 2019 16:25:22 +0000 (19:25 +0300)]
Don't call ejabberd_cluster from its submodules

Fixes #2971

5 years agoFix db_type validation
Evgeny Khramtsov [Wed, 31 Jul 2019 15:55:43 +0000 (18:55 +0300)]
Fix db_type validation

5 years agoAdd test that trigger get_only_item in pubsub
Paweł Chmielowski [Wed, 31 Jul 2019 11:11:27 +0000 (13:11 +0200)]
Add test that trigger get_only_item in pubsub

5 years agoFor pubsub items with max_item = 1 use order by in sql queries
Paweł Chmielowski [Wed, 31 Jul 2019 10:20:38 +0000 (12:20 +0200)]
For pubsub items with max_item = 1 use order by in sql queries

5 years agoDon't render CAPTCHA whitelist when CAPTCHA is not configured
Evgeny Khramtsov [Wed, 31 Jul 2019 09:35:06 +0000 (12:35 +0300)]
Don't render CAPTCHA whitelist when CAPTCHA is not configured

Fixes #2970

5 years agoChange type of server_host column in mysql.new.sql
Paweł Chmielowski [Wed, 31 Jul 2019 08:46:15 +0000 (10:46 +0200)]
Change type of server_host column in mysql.new.sql

Indexes are done only on 191 byte slice of that (to fit in index limits),
and since server_host could theoretically be bigger this causes mysql
engine don't use indexes in full potential.

5 years agoImprove SQL timeouts handling
Evgeny Khramtsov [Wed, 31 Jul 2019 07:39:53 +0000 (10:39 +0300)]
Improve SQL timeouts handling

Also improve some formatting

5 years agoAlso catch 'shutdown' exit reason
Evgeny Khramtsov [Tue, 30 Jul 2019 20:17:10 +0000 (23:17 +0300)]
Also catch 'shutdown' exit reason

5 years agoImprove pattern matching
Evgeny Khramtsov [Tue, 30 Jul 2019 17:57:32 +0000 (20:57 +0300)]
Improve pattern matching

5 years agoImplement read-repair for session pids
Evgeny Khramtsov [Tue, 30 Jul 2019 17:57:09 +0000 (20:57 +0300)]
Implement read-repair for session pids

5 years agoRemove dead code
Evgeny Khramtsov [Tue, 30 Jul 2019 12:31:44 +0000 (15:31 +0300)]
Remove dead code

5 years agoFix race condition when deleting c2s session record
Evgeny Khramtsov [Tue, 30 Jul 2019 12:21:58 +0000 (15:21 +0300)]
Fix race condition when deleting c2s session record

5 years agoFix SQL connections leakage
Evgeny Khramtsov [Tue, 30 Jul 2019 11:26:11 +0000 (14:26 +0300)]
Fix SQL connections leakage