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

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

4 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

4 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

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

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

4 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

4 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

4 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

4 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)

4 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

4 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)

4 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".

4 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

4 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.

4 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

4 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

4 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

4 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

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

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

4 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)

4 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)

4 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

4 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

4 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

4 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)

4 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

4 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

4 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)

4 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)

4 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)

4 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)

4 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

4 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

4 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

4 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

4 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)

4 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)

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

4 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

4 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)

4 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

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

4 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

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

4 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

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

4 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

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

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

4 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.

4 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

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

4 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

4 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
  ...
```

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

4 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)

4 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

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

4 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

4 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

4 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

4 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.

4 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

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

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

4 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

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

4 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

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

4 years agoFix previous commit
Evgeny Khramtsov [Tue, 30 Jul 2019 10:40:40 +0000 (13:40 +0300)]
Fix previous commit

4 years agoCorrectly report resume timeout
Evgeny Khramtsov [Tue, 30 Jul 2019 09:50:31 +0000 (12:50 +0300)]
Correctly report resume timeout

4 years agoExpose access_model and publish_model in pubsub#metadata
Evgeny Khramtsov [Tue, 30 Jul 2019 07:45:32 +0000 (10:45 +0300)]
Expose access_model and publish_model in pubsub#metadata

Fixes #2931

4 years agoGenerate 'remote-server-not-found' stanza error for non-IDN domains
Evgeny Khramtsov [Mon, 29 Jul 2019 19:45:38 +0000 (22:45 +0300)]
Generate 'remote-server-not-found' stanza error for non-IDN domains

Fixes #2969

4 years agoImprove handling of errors in tree_action/3
Evgeny Khramtsov [Mon, 29 Jul 2019 19:24:26 +0000 (22:24 +0300)]
Improve handling of errors in tree_action/3

4 years agoAppropriately abort pubsub transaction
Evgeny Khramtsov [Mon, 29 Jul 2019 18:44:30 +0000 (21:44 +0300)]
Appropriately abort pubsub transaction

4 years agomod_multicast service discovery bugfix (thanks to McPo)(#2968)
Badlop [Mon, 29 Jul 2019 17:32:10 +0000 (19:32 +0200)]
mod_multicast service discovery bugfix (thanks to McPo)(#2968)

4 years agoImprove handling of errors in pubsub code
Evgeny Khramtsov [Mon, 29 Jul 2019 14:13:16 +0000 (17:13 +0300)]
Improve handling of errors in pubsub code

4 years agoApply shaping to websocket connections
Frank Diebolt [Wed, 30 Jan 2019 08:57:17 +0000 (09:57 +0100)]
Apply shaping to websocket connections

4 years agoImprove hooks validator and fix bugs related to hooks registration
Evgeny Khramtsov [Mon, 29 Jul 2019 07:46:20 +0000 (10:46 +0300)]
Improve hooks validator and fix bugs related to hooks registration

4 years agoImprove ejabberd halting procedure
Evgeny Khramtsov [Fri, 26 Jul 2019 08:40:19 +0000 (11:40 +0300)]
Improve ejabberd halting procedure

4 years agoFix default value of resume_timeout
Evgeny Khramtsov [Thu, 25 Jul 2019 10:57:43 +0000 (13:57 +0300)]
Fix default value of resume_timeout

4 years agoDon't attempt to restart killed lager
Evgeny Khramtsov [Wed, 24 Jul 2019 16:47:09 +0000 (19:47 +0300)]
Don't attempt to restart killed lager

This is not very robust and the call may hang forever

4 years agoFix typo in log message
Evgeny Khramtsov [Wed, 24 Jul 2019 15:56:44 +0000 (18:56 +0300)]
Fix typo in log message

4 years agoImprove SQL pool logic
Evgeny Khramtsov [Wed, 24 Jul 2019 11:28:43 +0000 (14:28 +0300)]
Improve SQL pool logic

Avoid using ETS table for SQL workers: rely on processes names instead

4 years agoRevert "mod_privacy: Don't try to look up 'undefined' list"
Holger Weiss [Wed, 24 Jul 2019 09:29:57 +0000 (11:29 +0200)]
Revert "mod_privacy: Don't try to look up 'undefined' list"

This reverts commit 4218aecd1c7f58207ab17d3cccf2886d5558d62b.  The issue
was fixed in a0d3fb3b2333f5b221d06944509fd7e673bf1cc4 already.

4 years agomod_privacy: Don't try to look up 'undefined' list
Holger Weiss [Wed, 24 Jul 2019 08:45:30 +0000 (10:45 +0200)]
mod_privacy: Don't try to look up 'undefined' list

Don't crash if the <query/> element of an IQ of type 'set' contains
neither a <default/> nor an <active/> child.

This fixes a regression introduced in commit
8410a203ec81f0b0b9e4885221abf1d7ba6bd9f1.

4 years agoFix UTF-8 support in translation files
Evgeny Khramtsov [Wed, 24 Jul 2019 08:34:40 +0000 (11:34 +0300)]
Fix UTF-8 support in translation files

4 years agoAdd 'certauth' command to extauth port
Evgeny Khramtsov [Wed, 24 Jul 2019 07:13:51 +0000 (10:13 +0300)]
Add 'certauth' command to extauth port

4 years agomod_stream_mgmt: Allow flexible timeout format
Holger Weiss [Mon, 22 Jul 2019 22:15:40 +0000 (00:15 +0200)]
mod_stream_mgmt: Allow flexible timeout format

Adjust mod_stream_mgmt and the related code in mod_push_keepalive to
support the flexible timeout format.

4 years agoFix wrong virtual host in mod_pubsub:send_stanza (#2930)
Christophe Romain [Mon, 22 Jul 2019 08:13:27 +0000 (10:13 +0200)]
Fix wrong virtual host in mod_pubsub:send_stanza (#2930)

4 years agoLog an error when JWT authentication is configured without jwt_key
Evgeny Khramtsov [Fri, 19 Jul 2019 09:01:57 +0000 (12:01 +0300)]
Log an error when JWT authentication is configured without jwt_key

4 years agoFix typo
Evgeny Khramtsov [Thu, 18 Jul 2019 19:35:16 +0000 (22:35 +0300)]
Fix typo

4 years agoImprove robustness of reading jwt_key option
Evgeny Khramtsov [Thu, 18 Jul 2019 19:31:08 +0000 (22:31 +0300)]
Improve robustness of reading jwt_key option

4 years agoGet rid of useless code
Evgeny Khramtsov [Thu, 18 Jul 2019 18:53:22 +0000 (21:53 +0300)]
Get rid of useless code

4 years agoDon't forget to unregister route when the owning process is dead
Evgeny Khramtsov [Thu, 18 Jul 2019 18:48:53 +0000 (21:48 +0300)]
Don't forget to unregister route when the owning process is dead

4 years agoRemove Riak support
Evgeny Khramtsov [Thu, 18 Jul 2019 16:31:12 +0000 (19:31 +0300)]
Remove Riak support

Reasons:
- Riak DB development is almost halted after Basho
- riak-erlang-client is abandoned and doesn't work
  correctly with OTP22
- Riak is slow in comparison to other databases
- Missing key ordering makes it impossible to implement range
  queries efficiently (e.g. MAM queries)

4 years agoMention about a few Riak tests being broken
Mickaël Rémond [Thu, 18 Jul 2019 15:56:11 +0000 (17:56 +0200)]
Mention about a few Riak tests being broken

4 years agoExplain how to kill stuck common test run
Mickaël Rémond [Thu, 18 Jul 2019 15:24:13 +0000 (17:24 +0200)]
Explain how to kill stuck common test run