]> granicus.if.org Git - ejabberd/log
ejabberd
6 years agoFix packaging of 18.01 for hex.pm hex 18.1.0
Christophe Romain [Mon, 22 Jan 2018 17:07:35 +0000 (18:07 +0100)]
Fix packaging of 18.01 for hex.pm

6 years agoInclude newly releases fast_tls/esip/stun in mix.lock 18.01
Paweł Chmielowski [Thu, 11 Jan 2018 13:38:54 +0000 (14:38 +0100)]
Include newly releases fast_tls/esip/stun in mix.lock

6 years agoUpdate mix.lock
Paweł Chmielowski [Thu, 11 Jan 2018 10:20:07 +0000 (11:20 +0100)]
Update mix.lock

6 years agoUpdate deps
Paweł Chmielowski [Thu, 11 Jan 2018 10:11:01 +0000 (11:11 +0100)]
Update deps

6 years agoRemove old docker specs
Christophe Romain [Thu, 11 Jan 2018 09:19:56 +0000 (10:19 +0100)]
Remove old docker specs

6 years agoPrepare mix for 18.01
Christophe Romain [Wed, 10 Jan 2018 22:06:06 +0000 (23:06 +0100)]
Prepare mix for 18.01

6 years agoUpdate mix deps
Christophe Romain [Wed, 10 Jan 2018 17:14:52 +0000 (18:14 +0100)]
Update mix deps

6 years agoHandle error case from code:lib_dir in ResolveDepPath in rebar.config.script
Paweł Chmielowski [Wed, 10 Jan 2018 15:34:01 +0000 (16:34 +0100)]
Handle error case from code:lib_dir in ResolveDepPath in rebar.config.script

6 years agoUpdate mix deps
Christophe Romain [Wed, 10 Jan 2018 11:07:19 +0000 (12:07 +0100)]
Update mix deps

6 years agoUpdate deps again
Paweł Chmielowski [Wed, 10 Jan 2018 10:55:26 +0000 (11:55 +0100)]
Update deps again

6 years agoUpdate mix deps
Christophe Romain [Wed, 10 Jan 2018 10:48:53 +0000 (11:48 +0100)]
Update mix deps

6 years agoUpdate deps
Paweł Chmielowski [Wed, 10 Jan 2018 10:31:19 +0000 (11:31 +0100)]
Update deps

6 years agoFix indentation in commented example
Christophe Romain [Wed, 10 Jan 2018 10:24:09 +0000 (11:24 +0100)]
Fix indentation in commented example

6 years agoReport fs not suported on SunOS (#2204)
Christophe Romain [Wed, 10 Jan 2018 09:58:47 +0000 (10:58 +0100)]
Report fs not suported on SunOS (#2204)

6 years agoSend privileges if at least one of them is set, don't require all to be set
Paweł Chmielowski [Tue, 9 Jan 2018 14:50:16 +0000 (15:50 +0100)]
Send privileges if at least one of them is set, don't require all to be set

6 years agoCreate CODE_OF_CONDUCT.md
Mickaël Rémond [Tue, 9 Jan 2018 13:17:55 +0000 (14:17 +0100)]
Create CODE_OF_CONDUCT.md

6 years agoMerge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Mon, 8 Jan 2018 10:45:21 +0000 (13:45 +0300)]
Merge branch 'master' of github.com:processone/ejabberd

6 years agoIgnore result of sending stream trailer in test suite
Evgeniy Khramtsov [Mon, 8 Jan 2018 10:45:08 +0000 (13:45 +0300)]
Ignore result of sending stream trailer in test suite

6 years agoDelete old .so and executable files before installing new one
Paweł Chmielowski [Mon, 8 Jan 2018 10:11:42 +0000 (11:11 +0100)]
Delete old .so and executable files before installing new one

This fixes crash for people who have live ejabberd installed in make install
target directory, by ensuring that loaded binaries aren't replaced in memory
with new content.

6 years agoMake all install target rules as .PHONY
Paweł Chmielowski [Mon, 8 Jan 2018 09:56:53 +0000 (10:56 +0100)]
Make all install target rules as .PHONY

6 years agoRefactor code for installing binaries
Paweł Chmielowski [Mon, 8 Jan 2018 09:56:32 +0000 (10:56 +0100)]
Refactor code for installing binaries

6 years agoProcess 'name' option for all route-registering modules
Evgeniy Khramtsov [Mon, 8 Jan 2018 08:29:17 +0000 (11:29 +0300)]
Process 'name' option for all route-registering modules

The option allows to set arbitrary text for disco#info identity name.
Previously, option 'name' was supported by mod_proxy65 and mod_http_upload
only. Now, all the following modules support this option as well:
- mod_disco
- mod_irc
- mod_muc
- mod_multicast
- mod_pubsub
- mod_vcard

Example:
```
modules:
  ...
  mod_disco:
    name: "Cool XMPP Server"
  ...
```

6 years agoUpdate copyright dates in header files
Evgeniy Khramtsov [Sat, 6 Jan 2018 11:01:45 +0000 (14:01 +0300)]
Update copyright dates in header files

6 years agoDon't display copyright dates in vCards of services
Evgeniy Khramtsov [Sat, 6 Jan 2018 10:55:24 +0000 (13:55 +0300)]
Don't display copyright dates in vCards of services

Copyright dates in vCards may paritally disclose server version,
which is not always desired

6 years agoUse TLS defaults from fast_tls
Evgeniy Khramtsov [Sat, 6 Jan 2018 10:46:02 +0000 (13:46 +0300)]
Use TLS defaults from fast_tls

6 years agoUpdate copyright dates
Evgeniy Khramtsov [Fri, 5 Jan 2018 20:18:58 +0000 (23:18 +0300)]
Update copyright dates

6 years agoRefer to new fast_tls version
Evgeniy Khramtsov [Fri, 5 Jan 2018 14:56:32 +0000 (17:56 +0300)]
Refer to new fast_tls version

6 years agoReturn `true` or `false` from send() callback
Evgeniy Khramtsov [Fri, 5 Jan 2018 09:15:28 +0000 (12:15 +0300)]
Return `true` or `false` from send() callback

Fixes #2209

6 years agoMerge pull request #2202 from weiss/bounce-to-stranger
Evgeny Khramtsov [Fri, 5 Jan 2018 08:43:18 +0000 (11:43 +0300)]
Merge pull request #2202 from weiss/bounce-to-stranger

mod_block_strangers: Bounce an error message

6 years agoFix ejabberd command privacy_set
Paweł Chmielowski [Thu, 4 Jan 2018 13:57:26 +0000 (14:57 +0100)]
Fix ejabberd command privacy_set

This fixes issue #2205

6 years agoMerge remote-tracking branch 'processone/pr/2203'
Holger Weiss [Wed, 3 Jan 2018 21:33:18 +0000 (22:33 +0100)]
Merge remote-tracking branch 'processone/pr/2203'

* processone/pr/2203:
  mod_proxy65: Expand @HOST@ keyword in 'hostname' option

6 years agomod_proxy65: Expand @HOST@ keyword in 'hostname' option
Marc Schink [Wed, 3 Jan 2018 16:16:23 +0000 (17:16 +0100)]
mod_proxy65: Expand @HOST@ keyword in 'hostname' option

6 years agomod_block_strangers: Bounce an error message
Holger Weiss [Tue, 2 Jan 2018 23:38:50 +0000 (00:38 +0100)]
mod_block_strangers: Bounce an error message

Return a stanza error when a message is rejected, in order to make
legitimate users aware of the issue.

Closes #2197.

6 years agoMake mysql and pgsql one of the default module for Mix
Mickael Remond [Fri, 29 Dec 2017 16:22:59 +0000 (17:22 +0100)]
Make mysql and pgsql one of the default module for Mix

6 years agoRegenerated mix.lock file
Mickael Remond [Fri, 29 Dec 2017 16:18:59 +0000 (17:18 +0100)]
Regenerated mix.lock file

6 years agoMerge branch 'master' of github.com:processone/ejabberd 17.12
Evgeniy Khramtsov [Thu, 28 Dec 2017 18:37:19 +0000 (21:37 +0300)]
Merge branch 'master' of github.com:processone/ejabberd

6 years agoRepair hosts check during certfiles validation
Evgeniy Khramtsov [Thu, 28 Dec 2017 18:36:57 +0000 (21:36 +0300)]
Repair hosts check during certfiles validation

6 years agoFix stun/esip mix deps
Christophe Romain [Thu, 28 Dec 2017 14:38:24 +0000 (15:38 +0100)]
Fix stun/esip mix deps

6 years agoReturn default certificate on domain mismatch
Evgeniy Khramtsov [Thu, 28 Dec 2017 14:24:23 +0000 (17:24 +0300)]
Return default certificate on domain mismatch

6 years agoLet mix pass compile ejabberd as dependency
Christophe Romain [Thu, 28 Dec 2017 14:16:29 +0000 (15:16 +0100)]
Let mix pass compile ejabberd as dependency

6 years agoUpdate mix spec
Christophe Romain [Thu, 28 Dec 2017 13:43:13 +0000 (14:43 +0100)]
Update mix spec

6 years agoUpdate stun and esip
Paweł Chmielowski [Thu, 28 Dec 2017 13:34:50 +0000 (14:34 +0100)]
Update stun and esip

6 years agoFix check_opt_range when no boundary is configured
Christophe Romain [Thu, 28 Dec 2017 12:51:26 +0000 (13:51 +0100)]
Fix check_opt_range when no boundary is configured

6 years agoMerge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Thu, 28 Dec 2017 11:01:39 +0000 (14:01 +0300)]
Merge branch 'master' of github.com:processone/ejabberd

6 years agoReturn send() result to the caller
Evgeniy Khramtsov [Thu, 28 Dec 2017 11:01:34 +0000 (14:01 +0300)]
Return send() result to the caller

6 years agoDon't force rsm when max_items is not defined (#2189)
Christophe Romain [Thu, 28 Dec 2017 10:48:54 +0000 (11:48 +0100)]
Don't force rsm when max_items is not defined (#2189)

6 years agoRevert "Include os_mon application"
Christophe Romain [Thu, 28 Dec 2017 09:32:21 +0000 (10:32 +0100)]
Revert "Include os_mon application"

This reverts commit 56241feb58efe0354f36bad2c02ed6616e14487e.
That was a mistake, breaking application start

6 years agoRevert "Start os_mon application"
Paweł Chmielowski [Wed, 27 Dec 2017 16:10:15 +0000 (17:10 +0100)]
Revert "Start os_mon application"

This reverts commit 82b3bbf360ecf9bb9e96dcd59fc631ecbdd5fc0d.

6 years agoFix a regression in xmpp_socket
Evgeniy Khramtsov [Wed, 27 Dec 2017 15:49:25 +0000 (18:49 +0300)]
Fix a regression in xmpp_socket

6 years agoStart os_mon application
Paweł Chmielowski [Wed, 27 Dec 2017 15:23:04 +0000 (16:23 +0100)]
Start os_mon application

6 years agoAdopt tests to changes introduced by b54e1e49ba6794725bead67d530b50ab89ce078b
Paweł Chmielowski [Wed, 27 Dec 2017 15:16:15 +0000 (16:16 +0100)]
Adopt tests to changes introduced by b54e1e49ba6794725bead67d530b50ab89ce078b

6 years agoUse bare jid when processing roster subscriptions
Paweł Chmielowski [Wed, 27 Dec 2017 15:14:03 +0000 (16:14 +0100)]
Use bare jid when processing roster subscriptions

6 years agoRename mnesiadb
Christophe Romain [Wed, 27 Dec 2017 11:42:55 +0000 (12:42 +0100)]
Rename mnesiadb

6 years agoAdd missing application building with mix
Christophe Romain [Wed, 27 Dec 2017 11:33:52 +0000 (12:33 +0100)]
Add missing application building with mix

6 years agoInclude os_mon application
Christophe Romain [Wed, 27 Dec 2017 11:28:13 +0000 (12:28 +0100)]
Include os_mon application

6 years agoPrepare mix for 17.12
Christophe Romain [Wed, 27 Dec 2017 10:42:37 +0000 (11:42 +0100)]
Prepare mix for 17.12

6 years agoMerge pull request #2188 from weiss/fix-acl-reload
Evgeny Khramtsov [Wed, 27 Dec 2017 06:34:19 +0000 (09:34 +0300)]
Merge pull request #2188 from weiss/fix-acl-reload

Forget old access/shaper rules and ACLs on reload

6 years agoUpdate the test suite to support new XMPP socket API
Evgeniy Khramtsov [Wed, 27 Dec 2017 05:55:14 +0000 (08:55 +0300)]
Update the test suite to support new XMPP socket API

6 years agoForget old access/shaper rules and ACLs on reload
Holger Weiss [Tue, 26 Dec 2017 18:37:11 +0000 (19:37 +0100)]
Forget old access/shaper rules and ACLs on reload

6 years agoAdd new schemas for SQLite and MySQL
Alexey Shchepin [Tue, 26 Dec 2017 17:48:15 +0000 (20:48 +0300)]
Add new schemas for SQLite and MySQL

6 years agoMerge branch 'no-more-ejabberd-receivers'
Evgeniy Khramtsov [Tue, 26 Dec 2017 16:02:54 +0000 (19:02 +0300)]
Merge branch 'no-more-ejabberd-receivers'

Conflicts:
rebar.config

6 years agoGet rid of ejabberd receiver
Evgeniy Khramtsov [Tue, 26 Dec 2017 15:55:57 +0000 (18:55 +0300)]
Get rid of ejabberd receiver

ejabberd receivers were meant to serve connections from frontends
to backends. However, this approach was not popular and frontend
related code was removed in previous releases. Now, ejabberd receiver's
code was also removed, making the code shorter and cleaner. Also, in
stress tests ejabberd now handles load more robustly, without
c2s processes overload (even with disabled shapers).

ejabberd_socket.erl is renamed to xmpp_socket.erl: it's supposed to
be finally moved into stand-alone xmpp library.

6 years agoCleanup rebar.config
Christophe Romain [Tue, 26 Dec 2017 10:16:48 +0000 (11:16 +0100)]
Cleanup rebar.config

6 years agoRemove obsolete option
Christophe Romain [Tue, 26 Dec 2017 10:13:47 +0000 (11:13 +0100)]
Remove obsolete option

6 years agoUpdate dependencies
Christophe Romain [Tue, 26 Dec 2017 10:13:18 +0000 (11:13 +0100)]
Update dependencies

6 years agoRevert "Don't set twice"
Evgeniy Khramtsov [Mon, 25 Dec 2017 05:41:51 +0000 (08:41 +0300)]
Revert "Don't set  twice"

This reverts commit 6dca89f61689bf9d8ecf6e7a0ede66a4a5395e84.

6 years agoFix a typo in comment :)
Evgeniy Khramtsov [Sun, 24 Dec 2017 09:53:50 +0000 (12:53 +0300)]
Fix a typo in comment :)

6 years agoDon't set twice
Evgeniy Khramtsov [Sun, 24 Dec 2017 09:34:47 +0000 (12:34 +0300)]
Don't set  twice

6 years agoRely on Server Name Indication for incoming Direct-TLS connections
Evgeniy Khramtsov [Sun, 24 Dec 2017 09:27:51 +0000 (12:27 +0300)]
Rely on Server Name Indication for incoming Direct-TLS connections

This commit also deprecates `certfile` option for ejabberd_http
listener.

6 years agoDon't let privacy list prevent local roster update
Holger Weiss [Sat, 23 Dec 2017 21:45:01 +0000 (22:45 +0100)]
Don't let privacy list prevent local roster update

6 years agomod_muc_admin: Fix last timestamp retrieval
Holger Weiss [Fri, 22 Dec 2017 13:32:47 +0000 (14:32 +0100)]
mod_muc_admin: Fix last timestamp retrieval

6 years agoFix commands rooms_unused_list and _destroy
Badlop [Thu, 21 Dec 2017 16:00:43 +0000 (17:00 +0100)]
Fix commands rooms_unused_list and _destroy

6 years agoFix race between join_cluster and ejabberd_mnesia (#2079)
Christophe Romain [Thu, 21 Dec 2017 13:07:29 +0000 (14:07 +0100)]
Fix race between join_cluster and ejabberd_mnesia (#2079)

6 years agoDisable test for now
Paweł Chmielowski [Thu, 21 Dec 2017 10:49:33 +0000 (11:49 +0100)]
Disable test for now

6 years agoUpdate expected error type in test
Paweł Chmielowski [Thu, 21 Dec 2017 10:43:09 +0000 (11:43 +0100)]
Update expected error type in test

6 years agoLet mix aware of unpackaged hex.pm dependencies (#2170)
Christophe Romain [Thu, 21 Dec 2017 10:10:56 +0000 (11:10 +0100)]
Let mix aware of unpackaged hex.pm dependencies (#2170)

6 years agoAdd pubsub#multi-items to features list (#2162)
Christophe Romain [Wed, 20 Dec 2017 10:54:12 +0000 (11:54 +0100)]
Add pubsub#multi-items to features list (#2162)

6 years agoFix mix_sql features and options
Christophe Romain [Wed, 20 Dec 2017 10:53:18 +0000 (11:53 +0100)]
Fix mix_sql features and options

6 years agoMerge pull request #2164 from angelo-chan/master
badlop [Tue, 19 Dec 2017 22:10:20 +0000 (23:10 +0100)]
Merge pull request #2164 from angelo-chan/master

add muc_online_rooms_by_regex to mod_muc_admin to filter list online r…

6 years agoejabberd_sm: Fix get_session_sid/3
Holger Weiss [Tue, 19 Dec 2017 17:59:25 +0000 (18:59 +0100)]
ejabberd_sm: Fix get_session_sid/3

Let get_session_sid/3 cope with multiple session table entries for a
given resource.

6 years agoChange loglevel of TLS failures
Evgeniy Khramtsov [Tue, 19 Dec 2017 12:33:30 +0000 (15:33 +0300)]
Change loglevel of TLS failures

6 years agosend_direct_invitations accepts only user jids
Christophe Romain [Tue, 19 Dec 2017 09:24:07 +0000 (10:24 +0100)]
send_direct_invitations accepts only user jids

6 years agoSet disk_almost_full_threshold to 99%
Evgeniy Khramtsov [Tue, 19 Dec 2017 06:55:19 +0000 (09:55 +0300)]
Set disk_almost_full_threshold to 99%

6 years agoDon't crash on malformed IQ
Evgeniy Khramtsov [Tue, 19 Dec 2017 06:15:35 +0000 (09:15 +0300)]
Don't crash on malformed IQ

Fixes #2175

6 years agoLog a warning when a disk is almost full
Evgeniy Khramtsov [Mon, 18 Dec 2017 09:30:10 +0000 (12:30 +0300)]
Log a warning when a disk is almost full

6 years agoDisable default alarm handler
Evgeniy Khramtsov [Mon, 18 Dec 2017 09:15:49 +0000 (12:15 +0300)]
Disable default alarm handler

6 years agoHandle also process_memory_high_watermark alarm
Evgeniy Khramtsov [Mon, 18 Dec 2017 07:41:11 +0000 (10:41 +0300)]
Handle also process_memory_high_watermark alarm

6 years agoKill and restart lager when it's overloaded
Evgeniy Khramtsov [Sun, 17 Dec 2017 18:03:40 +0000 (21:03 +0300)]
Kill and restart lager when it's overloaded

6 years agoFix processing order
Evgeniy Khramtsov [Sun, 17 Dec 2017 17:19:44 +0000 (20:19 +0300)]
Fix processing order

6 years agoAvoid excessive logging of SQL failures
Evgeniy Khramtsov [Sun, 17 Dec 2017 16:46:55 +0000 (19:46 +0300)]
Avoid excessive logging of SQL failures

6 years agoRewrite ejabberd system monitor
Evgeniy Khramtsov [Sun, 17 Dec 2017 15:52:37 +0000 (18:52 +0300)]
Rewrite ejabberd system monitor

Previous version was inefficient: it had a lot of false positives
along with a lot of false negatives, making its usage pointless.
The new verion is based on memsup(3erl) application: the OOM watchdog is
only started when total OS memory consumption is more than 80%.
A watchdog periodically inspects all running processes and collects
statistics about overloaded ones (those queueing a lot of messages).
If the OOM killer is enabled (`oom_killer: true`), all overloaded
processes would be killed. By default, OOM killer is enabled.
When memory consumption is back to normal, the OOM watchdog is stopped.

6 years agoMerge pull request #2167 from weiss/last-pep-items-to-owner
Evgeny Khramtsov [Thu, 14 Dec 2017 07:30:03 +0000 (10:30 +0300)]
Merge pull request #2167 from weiss/last-pep-items-to-owner

Send last PEP items to owner on initial presence

6 years agoSend last PEP items to owner on initial presence
Holger Weiss [Wed, 13 Dec 2017 17:59:06 +0000 (18:59 +0100)]
Send last PEP items to owner on initial presence

Closes #2112.

6 years agoMerge pull request #2158 from bowlofeggs/su-with-sh
Christophe Romain [Wed, 13 Dec 2017 15:04:25 +0000 (16:04 +0100)]
Merge pull request #2158 from bowlofeggs/su-with-sh

Use /bin/sh as the explicit shell when using su in ejabberdctl.

6 years agoOnly allow compression after SASL
Evgeniy Khramtsov [Wed, 13 Dec 2017 13:52:44 +0000 (16:52 +0300)]
Only allow compression after SASL

See XEP-0170 for details
Thanks to Vitaly Takmazov for spotting this

6 years agoPubSub: Add missing Nidx building records from sql result
Christophe Romain [Wed, 13 Dec 2017 10:35:36 +0000 (11:35 +0100)]
PubSub: Add missing Nidx building records from sql result

6 years agoadd muc_online_room_by_regex to mod_muc_admin to filter list online rooms
Angelo Chan [Wed, 13 Dec 2017 03:07:12 +0000 (11:07 +0800)]
add muc_online_room_by_regex to mod_muc_admin to filter list online rooms

6 years agomod_pubsub: Send last items on initial presence
Holger Weiss [Tue, 5 Dec 2017 22:10:12 +0000 (23:10 +0100)]
mod_pubsub: Send last items on initial presence

Wait until we got initial presence from the client before sending the
last items of nodes the JID is subscribed to.

Closes #2132.

6 years agoMerge pull request #2160 from weiss/publish-options
Christophe Romain [Tue, 12 Dec 2017 09:53:17 +0000 (10:53 +0100)]
Merge pull request #2160 from weiss/publish-options

Support pubsub#publish-options PRECONDITIONs

6 years agoSupport pubsub#publish-options PRECONDITIONs
Holger Weiss [Tue, 12 Dec 2017 00:04:14 +0000 (01:04 +0100)]
Support pubsub#publish-options PRECONDITIONs

Support PubSub publishing options that are specified as PRECONDITIONs as
per XEP-0060 v1.14.