]> granicus.if.org Git - ejabberd/log
ejabberd
5 years agoUpdate mix.lock 18.06
Paweł Chmielowski [Thu, 28 Jun 2018 10:11:44 +0000 (12:11 +0200)]
Update mix.lock

5 years agoBump version in mix.exs
Paweł Chmielowski [Thu, 28 Jun 2018 08:57:09 +0000 (10:57 +0200)]
Bump version in mix.exs

5 years agoUpdate deps
Paweł Chmielowski [Thu, 28 Jun 2018 08:56:59 +0000 (10:56 +0200)]
Update deps

5 years agoAvoid code duplication when checking presence subscription
Evgeniy Khramtsov [Thu, 28 Jun 2018 07:37:20 +0000 (10:37 +0300)]
Avoid code duplication when checking presence subscription

5 years agoWork-around against public_key incompatibility introduced in OTP21
Evgeniy Khramtsov [Wed, 27 Jun 2018 16:40:03 +0000 (19:40 +0300)]
Work-around against public_key incompatibility introduced in OTP21

The commit introduced the incompatility is
https://github.com/erlang/otp/commit/304dd8f81e28ed04cde9f6f7ac1f79870da1c2cd

Thanks to Stu Tomlinson for spotting the issue.

Fixes #2488

5 years agoDon't check packets sent to self
Evgeniy Khramtsov [Wed, 27 Jun 2018 12:02:03 +0000 (15:02 +0300)]
Don't check packets sent to self

5 years agoUse lists:foldl/3
Evgeniy Khramtsov [Wed, 27 Jun 2018 10:36:58 +0000 (13:36 +0300)]
Use lists:foldl/3

5 years agoGenerate HTTP Upload form using xdata codec
Evgeniy Khramtsov [Wed, 27 Jun 2018 10:29:38 +0000 (13:29 +0300)]
Generate HTTP Upload form using xdata codec

5 years agoDo not ignore a certificate containing no domain names
Evgeniy Khramtsov [Wed, 27 Jun 2018 08:27:39 +0000 (11:27 +0300)]
Do not ignore a certificate containing no domain names

Log a warning instead and assign it to an "empty" domain

5 years agoDon't replace valid certificates with invalid ones
Evgeniy Khramtsov [Wed, 27 Jun 2018 07:55:37 +0000 (10:55 +0300)]
Don't replace valid certificates with invalid ones

When building the certificates chains, if several certificates
are found matching the same domain their validity is checked:

* the invalid one is ignored and the valid one is picked
* if both are valid or both are invalid, then the one with
  sooner expiration is ignored.

Fixes #2454

5 years agoImprove error formatting in mod_http_upload
Evgeniy Khramtsov [Tue, 26 Jun 2018 16:32:29 +0000 (19:32 +0300)]
Improve error formatting in mod_http_upload

5 years agoSupport SASL PLAIN by xmpp_stream_out
Evgeniy Khramtsov [Mon, 25 Jun 2018 16:16:33 +0000 (19:16 +0300)]
Support SASL PLAIN by xmpp_stream_out

Also, SASL mechanisms chaining is now supported:
if several mechanisms are supported and authentication
fails, next mechanism in the list is picked, until the
list is exhausted. In the case of a failure, the latest
SASL failure reason is returned within handle_auth_failure/3
callback.

5 years agoDon't pass sockmod to xmpp_stream_out
Evgeniy Khramtsov [Mon, 25 Jun 2018 12:28:02 +0000 (15:28 +0300)]
Don't pass sockmod to xmpp_stream_out

5 years agoIntroduce resolve/2 and connect_options/3 callbacks for xmpp_stream_out
Evgeniy Khramtsov [Mon, 25 Jun 2018 12:19:49 +0000 (15:19 +0300)]
Introduce resolve/2 and connect_options/3 callbacks for xmpp_stream_out

5 years agoAllow gen_server process registration
Evgeniy Khramtsov [Mon, 25 Jun 2018 11:55:33 +0000 (14:55 +0300)]
Allow gen_server process registration

5 years agoAllow reconnecting from disconnected state
Evgeniy Khramtsov [Mon, 25 Jun 2018 11:52:33 +0000 (14:52 +0300)]
Allow reconnecting from disconnected state

5 years agoIntercept EXIT signal
Evgeniy Khramtsov [Mon, 25 Jun 2018 11:46:31 +0000 (14:46 +0300)]
Intercept EXIT signal

5 years agoAdd Resource Binding support to xmpp_stream_out
Evgeniy Khramtsov [Mon, 25 Jun 2018 10:50:35 +0000 (13:50 +0300)]
Add Resource Binding support to xmpp_stream_out

5 years agoDon't use 'unsupported-version' inside SM <failed/> element
Evgeniy Khramtsov [Mon, 25 Jun 2018 06:56:44 +0000 (09:56 +0300)]
Don't use 'unsupported-version' inside SM <failed/> element

This error condition is defined within stream errors, however,
XEP-0198 says:

> This element SHOULD contain an error condition, which MUST
> be one of the **stanza** error conditions defined in RFC 6120.

5 years agoUse error formatting functions from xmpp library
Evgeniy Khramtsov [Mon, 25 Jun 2018 06:45:45 +0000 (09:45 +0300)]
Use error formatting functions from xmpp library

5 years agoGenerate SASL failures on unencrypted connections only for s2s
Evgeniy Khramtsov [Sat, 23 Jun 2018 17:31:01 +0000 (20:31 +0300)]
Generate SASL failures on unencrypted connections only for s2s

5 years agoFix Erlang limits in ejabberdctl.cfg.example to reflect current situation
Evgeniy Khramtsov [Sat, 23 Jun 2018 17:01:21 +0000 (20:01 +0300)]
Fix Erlang limits in ejabberdctl.cfg.example to reflect current situation

5 years agoFix typo
Evgeniy Khramtsov [Thu, 21 Jun 2018 12:14:19 +0000 (15:14 +0300)]
Fix typo

5 years agoAdd new options for OOM watchdog
Evgeniy Khramtsov [Thu, 21 Jun 2018 11:35:19 +0000 (14:35 +0300)]
Add new options for OOM watchdog

* oom_watermark: 1..100
  Start OOM watchdog only when system memory usage exceeds
  this value in percents. When the usage drops below the value,
  OOM watchdog is stopped. The default is 80 (percents).
  Note that once OOM watchdog is started, it performs full garbage
  collection periodically: this can be seen as spikes in CPU
  utilization and drops in RAM usage. If your system is permanently
  above the watermark, it may cause significant CPU overhead.

* oom_queue: positive integer
  Only trigger OOM killer when total amount of messages in all queues
  of all Erlang processes is above this value. The default is 10000.
  Note that this value only takes effect when `oom_killer` is set
  to `true` (this is the default). Otherwise, only a warning will
  be logged.

5 years agoGuard against pres_last=undefined in mod_offline
Paweł Chmielowski [Wed, 20 Jun 2018 10:16:01 +0000 (12:16 +0200)]
Guard against pres_last=undefined in mod_offline

5 years agoRemove lowercased duplicates from ejabberd.pot
Evgeniy Khramtsov [Wed, 20 Jun 2018 10:02:06 +0000 (13:02 +0300)]
Remove lowercased duplicates from ejabberd.pot

5 years agoRestore forgotten translations from previous commit
Evgeniy Khramtsov [Wed, 20 Jun 2018 09:50:36 +0000 (12:50 +0300)]
Restore forgotten translations from previous commit

5 years agoUpdate ejabberd.pot
Evgeniy Khramtsov [Wed, 20 Jun 2018 09:32:10 +0000 (12:32 +0300)]
Update ejabberd.pot

5 years agoMove mod_irc to ejabberd-contrib
Evgeniy Khramtsov [Wed, 20 Jun 2018 09:27:44 +0000 (12:27 +0300)]
Move mod_irc to ejabberd-contrib

5 years agoOmit summary form for push tests
Holger Weiss [Tue, 19 Jun 2018 22:15:56 +0000 (00:15 +0200)]
Omit summary form for push tests

5 years agomod_push: Include a static body text by default
Holger Weiss [Tue, 19 Jun 2018 21:12:27 +0000 (23:12 +0200)]
mod_push: Include a static body text by default

Set the 'include_body' option to a static text by default.  Some app
servers check for the presence of a 'last-message-body' field to
distinguish between notifications generated for actual chat messages and
notifications triggered by other types of traffic.

5 years agomod_push_keepalive: Increase default timeout
Holger Weiss [Tue, 19 Jun 2018 20:26:08 +0000 (22:26 +0200)]
mod_push_keepalive: Increase default timeout

Set the default session timeout to three days.  This way, sessions will
survive a weekend without traffic, for example.

5 years agoFix reset_stream in websocket using pre-rfc protocol
Paweł Chmielowski [Tue, 19 Jun 2018 15:50:30 +0000 (17:50 +0200)]
Fix reset_stream in websocket using pre-rfc protocol

5 years agoRender roomname, allowinvites and allowpm in room disco#info
Evgeniy Khramtsov [Tue, 19 Jun 2018 11:02:45 +0000 (14:02 +0300)]
Render roomname, allowinvites and allowpm in room disco#info

5 years agomod_push_mnesia: Simplify record matching
Holger Weiss [Mon, 18 Jun 2018 21:12:27 +0000 (23:12 +0200)]
mod_push_mnesia: Simplify record matching

Omit record fields that aren't used for matching.

5 years agomod_push_mnesia: Fix lookup of all host sessions
Holger Weiss [Mon, 18 Jun 2018 21:05:08 +0000 (23:05 +0200)]
mod_push_mnesia: Fix lookup of all host sessions

5 years agomod_mam: Don't replace existing stanza ID
Holger Weiss [Fri, 15 Jun 2018 22:43:22 +0000 (00:43 +0200)]
mod_mam: Don't replace existing stanza ID

Preserve the original stanza ID for resent messages.  This avoids
storing duplicates in the MAM archive.

5 years agoNew shaper implementation
Paweł Chmielowski [Fri, 15 Jun 2018 09:54:56 +0000 (11:54 +0200)]
New shaper implementation

5 years agoMake connected_users_info and user_sessions_info DB-agnostic (#2448)
Badlop [Fri, 15 Jun 2018 09:28:44 +0000 (11:28 +0200)]
Make connected_users_info and user_sessions_info DB-agnostic (#2448)

The result returned by connected_users_info command has changed,
and is now similar to the result of user_sessions_info.

Notice that num_active_users and process_rosteritems still require Mnesia.

5 years agoImprove type spec
Evgeniy Khramtsov [Thu, 14 Jun 2018 16:51:50 +0000 (19:51 +0300)]
Improve type spec

5 years agoGet rid of all calls to jlib.erl module
Evgeniy Khramtsov [Thu, 14 Jun 2018 16:49:27 +0000 (19:49 +0300)]
Get rid of all calls to jlib.erl module

5 years agoUpdate mod_muc_room.hrl
Evgeniy Khramtsov [Thu, 14 Jun 2018 16:19:09 +0000 (19:19 +0300)]
Update mod_muc_room.hrl

5 years agoGet rid of jlib.hrl/jlib.erl
Evgeniy Khramtsov [Thu, 14 Jun 2018 16:11:43 +0000 (19:11 +0300)]
Get rid of jlib.hrl/jlib.erl

5 years agoDo not check for deprecated types
Evgeniy Khramtsov [Thu, 14 Jun 2018 15:58:35 +0000 (18:58 +0300)]
Do not check for deprecated types

Since we support only Erlang >= OTP-17.5, the check for old-style
dict/queue/etc types is no longer needed

5 years agoGet rid of ejabberd.hrl reference from the test suite
Evgeniy Khramtsov [Thu, 14 Jun 2018 11:24:15 +0000 (14:24 +0300)]
Get rid of ejabberd.hrl reference from the test suite

5 years agoGet rid of ejabberd.hrl header
Evgeniy Khramtsov [Thu, 14 Jun 2018 11:00:47 +0000 (14:00 +0300)]
Get rid of ejabberd.hrl header

The header consisted of too many unrelated stuff and macros misuse.
Some stuff is moved into scram.hrl and type_compat.hrl.
All macros have been replaced with the corresponding function calls.

TODO: probably type_compat.hrl is not even needed anymore since
we support only Erlang >= OTP 17.5

5 years agoLog modules startup
Evgeniy Khramtsov [Thu, 14 Jun 2018 07:18:10 +0000 (10:18 +0300)]
Log modules startup

5 years agomod_push: Omit summary for outgoing messages
Holger Weiss [Wed, 13 Jun 2018 19:43:40 +0000 (21:43 +0200)]
mod_push: Omit summary for outgoing messages

Don't include a urn:xmpp:push:summary form in push notifications that
are triggered by outgoing messages.  App servers might use the form
fields to generate user-visible notifications directly (as opposed to
just waking the client app).  This is usually not desired for outgoing
messages.

5 years agoAdvertise disco#info and disco#items features in mod_disco
Evgeniy Khramtsov [Wed, 13 Jun 2018 11:55:06 +0000 (14:55 +0300)]
Advertise disco#info and disco#items features in mod_disco

Fixes #2470

5 years agomod_push: Further improve handling of carbons
Holger Weiss [Tue, 12 Jun 2018 22:25:14 +0000 (00:25 +0200)]
mod_push: Further improve handling of carbons

Also check for carbon-copied messages (with a body) in the queue of
unacknowledged stanzas.

5 years agomod_push: Also include sender/body for carbons
Holger Weiss [Tue, 12 Jun 2018 20:47:23 +0000 (22:47 +0200)]
mod_push: Also include sender/body for carbons

If the 'include_sender' and/or 'include_body' options are specified,
also include a urn:xmpp:push:summary form in push notifications that are
generated for carbon-copied messages (with a body).

5 years agoUpdate mix deps
Christophe Romain [Mon, 11 Jun 2018 12:21:35 +0000 (14:21 +0200)]
Update mix deps

5 years agoAvoid lager crash on external authentication failure
Evgeniy Khramtsov [Fri, 8 Jun 2018 06:51:26 +0000 (09:51 +0300)]
Avoid lager crash on external authentication failure

Fixes #2463

5 years agoIncrease start-up/stop timeout in systemd unit
Holger Weiss [Thu, 7 Jun 2018 15:40:05 +0000 (17:40 +0200)]
Increase start-up/stop timeout in systemd unit

On slow systems, it can take quite a while for "ejabberdctl started"
and/or "ejabberdctl stopped" to return.

5 years agoAdd ability to modify version string
Paweł Chmielowski [Thu, 7 Jun 2018 13:38:11 +0000 (15:38 +0200)]
Add ability to modify version string

5 years agoMerge pull request #2460 from imShara/patch-1
Evgeny Khramtsov [Wed, 6 Jun 2018 17:05:42 +0000 (20:05 +0300)]
Merge pull request #2460 from imShara/patch-1

OMEMO enable HOWTO added

5 years agoOMEMO enable HOWTO added
imShara [Wed, 6 Jun 2018 17:03:42 +0000 (20:03 +0300)]
OMEMO enable HOWTO added

Depend on #2425

5 years agoupload_tests: Make size error check stricter
Holger Weiss [Mon, 4 Jun 2018 21:29:24 +0000 (23:29 +0200)]
upload_tests: Make size error check stricter

5 years agoOmit 'xmlns' field from 'feature_csi' record
Holger Weiss [Mon, 4 Jun 2018 21:05:11 +0000 (23:05 +0200)]
Omit 'xmlns' field from 'feature_csi' record

The 'xmpp' library has been updated to omit the 'xmlns' field from the
'feature_csi' record.

5 years agoReturn detailed error if HTTP upload is too large
Holger Weiss [Mon, 4 Jun 2018 20:18:56 +0000 (22:18 +0200)]
Return detailed error if HTTP upload is too large

If the file size specified in an HTTP upload slot request exceeds the
the configured maximum size, include the limit with the stanza error.

5 years agoAlso format gracefully errors returned during module reload
Evgeniy Khramtsov [Sun, 3 Jun 2018 15:53:30 +0000 (18:53 +0300)]
Also format gracefully errors returned during module reload

5 years agoFix problem in commit 548ef7b835fbf2ad965bb4bb3a6f4e4905717002
Paweł Chmielowski [Fri, 1 Jun 2018 16:36:39 +0000 (18:36 +0200)]
Fix problem in commit 548ef7b835fbf2ad965bb4bb3a6f4e4905717002

5 years agoDon't crash in bosh when we receive request with RID < prev_rid
Paweł Chmielowski [Fri, 1 Jun 2018 12:48:14 +0000 (14:48 +0200)]
Don't crash in bosh when we receive request with RID < prev_rid

5 years agoAlways display room's xdata in disco#info
Evgeniy Khramtsov [Fri, 1 Jun 2018 06:07:16 +0000 (09:07 +0300)]
Always display room's xdata in disco#info

5 years agoDisplay muc#roomconfig_changesubject in room's disco#info
Evgeniy Khramtsov [Fri, 1 Jun 2018 05:56:56 +0000 (08:56 +0300)]
Display muc#roomconfig_changesubject in room's disco#info

Fixes #2449

5 years agoSend trailer and close socket explicitly on stream end
Evgeniy Khramtsov [Fri, 1 Jun 2018 04:58:03 +0000 (07:58 +0300)]
Send trailer and close socket explicitly on stream end

5 years agoImprove indentation
Evgeniy Khramtsov [Wed, 30 May 2018 19:53:34 +0000 (22:53 +0300)]
Improve indentation

5 years agoMerge remote-tracking branch 'processone/pr/2446'
Holger Weiss [Wed, 30 May 2018 18:53:11 +0000 (20:53 +0200)]
Merge remote-tracking branch 'processone/pr/2446'

* processone/pr/2446:
  Fix authentication for usernames containing uppercase characters

5 years agoFix authentication for usernames containing uppercase characters
Stu Tomlinson [Wed, 30 May 2018 14:10:25 +0000 (15:10 +0100)]
Fix authentication for usernames containing uppercase characters

Applies to authentication methods that compare User (normalized)
and AuthzId (was not being normalized). These are external, ldap & pam.

Fixes #2280

5 years agoGet rid of direct calls to 'session' Mnesia table
Evgeniy Khramtsov [Wed, 30 May 2018 16:21:56 +0000 (19:21 +0300)]
Get rid of direct calls to 'session' Mnesia table

Fixes #2439

5 years agoBump xmpp version in order to support language tags validation
Evgeniy Khramtsov [Wed, 30 May 2018 06:54:26 +0000 (09:54 +0300)]
Bump xmpp version in order to support language tags validation

5 years agoSupport for roomconfig_lang/roominfo_lang
Evgeniy Khramtsov [Wed, 30 May 2018 05:11:58 +0000 (08:11 +0300)]
Support for roomconfig_lang/roominfo_lang

Now room owners are able to set a preferred language
for the discussions in the room, so other users can
discover rooms based on the language they wish to talk.

TODO: the language format should conform to RFC 5646.
      This check should be implemented in 'xmpp' library.

Fixes #2436

5 years agoUse 'list-multi' type for XEP-0157 xdata fields
Evgeniy Khramtsov [Tue, 29 May 2018 16:37:24 +0000 (19:37 +0300)]
Use 'list-multi' type for XEP-0157 xdata fields

Thanks to Jonas Wielicki for spotting this

5 years agoMerge pull request #2438 from licaon-kter/patch-3
Evgeny Khramtsov [Mon, 28 May 2018 13:22:30 +0000 (16:22 +0300)]
Merge pull request #2438 from licaon-kter/patch-3

Add default_db in the example config

5 years agoAdd default_db in the example config
Licaon_Kter [Mon, 28 May 2018 13:19:59 +0000 (13:19 +0000)]
Add default_db in the example config

I only found it in the docs after setting up per module db_

5 years agoBetter report errors of module startup
Evgeniy Khramtsov [Mon, 28 May 2018 06:19:49 +0000 (09:19 +0300)]
Better report errors of module startup

5 years agoDon't call Mod:function() in xmpp_stream callbacks
Evgeniy Khramtsov [Sat, 26 May 2018 06:06:24 +0000 (09:06 +0300)]
Don't call Mod:function() in xmpp_stream callbacks

If a callback function is not defined by the `Mod` then
a call to code_server process is performed. Under heavy load
this may cause code_server to get overloaded. We now avoid this.

5 years agomod_muc_sql: Fix export to SQL
Holger Weiss [Wed, 23 May 2018 23:28:29 +0000 (01:28 +0200)]
mod_muc_sql: Fix export to SQL

The "host" column is supposed to hold the MUC host name.

5 years agomod_push_mnesia: Apply cosmetic changes
Holger Weiss [Wed, 23 May 2018 19:40:54 +0000 (21:40 +0200)]
mod_push_mnesia: Apply cosmetic changes

Improve the readability of the 'max_user_sessions' check.

5 years agomod_push_sql: Check 'max_user_sessions' limit
Holger Weiss [Wed, 23 May 2018 18:02:52 +0000 (20:02 +0200)]
mod_push_sql: Check 'max_user_sessions' limit

Remove the oldest push session(s) of a user if the number of enabled
sessions exceeds the 'max_user_sessions' limit.

5 years agoHandle "Expect: 100-continue" request header in ejabberd_http
Paweł Chmielowski [Wed, 23 May 2018 12:52:47 +0000 (14:52 +0200)]
Handle "Expect: 100-continue" request header in ejabberd_http

5 years agoMerge pull request #2431 from yokomizor/fix-xmpp-commit
Evgeny Khramtsov [Tue, 22 May 2018 14:45:53 +0000 (17:45 +0300)]
Merge pull request #2431 from yokomizor/fix-xmpp-commit

Missing #block_item{} record building with mix

5 years agoMerge pull request #2430 from yokomizor/ext_mod-export-add_sources_1
Evgeny Khramtsov [Tue, 22 May 2018 14:39:27 +0000 (17:39 +0300)]
Merge pull request #2430 from yokomizor/ext_mod-export-add_sources_1

Export ext_mod:add_sources/1

5 years agoMissing #block_item{} record building with mix
Rogério da Silva Yokomizo [Tue, 22 May 2018 14:35:10 +0000 (16:35 +0200)]
Missing #block_item{} record building with mix

Ref: #638f2d2

5 years agoExport ext_mod:add_sources/1
Rogério da Silva Yokomizo [Tue, 22 May 2018 14:16:13 +0000 (16:16 +0200)]
Export ext_mod:add_sources/1

6 years agoCorrectly calculate remaining bytes on file upload
Evgeniy Khramtsov [Sat, 19 May 2018 15:29:33 +0000 (18:29 +0300)]
Correctly calculate remaining bytes on file upload

6 years agoAdd support for REST API custom headers
Christophe Romain [Thu, 17 May 2018 12:47:21 +0000 (14:47 +0200)]
Add support for REST API custom headers

ext_api_headers can be defined as a single string. Headers are separated
by comma. Definition MUST NOT contain spaces. Example
"X-MyHead:test,X-Token:082748"

6 years agoCorrectly resolve upload.localhost for the test suite
Evgeniy Khramtsov [Thu, 17 May 2018 10:24:23 +0000 (13:24 +0300)]
Correctly resolve upload.localhost for the test suite

6 years agoAdd tests for mod_http_upload
Evgeniy Khramtsov [Thu, 17 May 2018 09:02:00 +0000 (12:02 +0300)]
Add tests for mod_http_upload

6 years agoFix typo file:read() -> file:open()
Evgeniy Khramtsov [Thu, 17 May 2018 09:00:06 +0000 (12:00 +0300)]
Fix typo file:read() -> file:open()

6 years agoClean state between requests in ejabberd_http
Paweł Chmielowski [Tue, 15 May 2018 12:25:19 +0000 (14:25 +0200)]
Clean state between requests in ejabberd_http

6 years agoOptimize HTTP requests memory usage
Evgeniy Khramtsov [Mon, 14 May 2018 16:30:21 +0000 (19:30 +0300)]
Optimize HTTP requests memory usage

Due to historical reasons, ejabberd loads the whole file/data
into the memory when serving an HTTP request. This is now improved:

1) For GET requests ejabberd uses sendfile(2) if the underlying
   connection is HTTP and falls back to read/write loop with 64kb
   buffer for HTTPS connections. This type of requests are handled
   by mod_http_fileserver, mod_http_upload, ejabberd_captcha, etc
2) POST requests are now limited to 20Mb and are fully downloaded
   into the memory for further processing (by ejabberd_web_admin,
   mod_bosh, etc)
3) PUT requests (e.g. for mod_http_upload) are handled by read/write
   loop with 64kb buffer

6 years agoHandle muc_register_nick success correctly (#2415)
Badlop [Mon, 14 May 2018 10:24:56 +0000 (12:24 +0200)]
Handle muc_register_nick success correctly (#2415)

6 years agoDisable thumbnails creation by default
Evgeniy Khramtsov [Fri, 11 May 2018 15:56:31 +0000 (18:56 +0300)]
Disable thumbnails creation by default

6 years agoSupport IPv6 connections for PostgreSQL, MySQL and LDAP
Evgeniy Khramtsov [Fri, 11 May 2018 13:43:49 +0000 (16:43 +0300)]
Support IPv6 connections for PostgreSQL, MySQL and LDAP

Fixes #2411

6 years agoRelax check for valid command name in access_persmissions
Paweł Chmielowski [Fri, 11 May 2018 10:24:00 +0000 (12:24 +0200)]
Relax check for valid command name in access_persmissions

6 years agoUse never version of moka
Paweł Chmielowski [Wed, 9 May 2018 08:58:00 +0000 (10:58 +0200)]
Use never version of moka

6 years agoStop ejabberd initialization on invalid/unknown options
Evgeniy Khramtsov [Wed, 9 May 2018 08:44:24 +0000 (11:44 +0300)]
Stop ejabberd initialization on invalid/unknown options

Since now, ejabberd doesn't ignore unknown options and doesn't
allow to have options with malformed values. The rationale for
this is to avoid unexpected behaviour during runtime, i.e. to
conform to "fail early" approach. Note that it's safe to reload
a configuration with potentialy invalid and/or unknown options:
this will not halt ejabberd, but will only prevent the configuration
from loading.

***NOTE FOR PACKAGE BUILDERS***
This new behaviour should be documented in the upgrade notes.

6 years agoReduce IQ handler code copying
Evgeniy Khramtsov [Wed, 9 May 2018 07:30:00 +0000 (10:30 +0300)]
Reduce IQ handler code copying

6 years agoFix a typo
Evgeniy Khramtsov [Wed, 9 May 2018 06:44:26 +0000 (09:44 +0300)]
Fix a typo