]>
granicus.if.org Git - ejabberd/log
Paweł Chmielowski [Thu, 4 Jan 2018 13:57:26 +0000 (14:57 +0100)]
Fix ejabberd command privacy_set
This fixes issue #2205
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
Marc Schink [Wed, 3 Jan 2018 16:16:23 +0000 (17:16 +0100)]
mod_proxy65: Expand @HOST@ keyword in 'hostname' option
Mickael Remond [Fri, 29 Dec 2017 16:22:59 +0000 (17:22 +0100)]
Make mysql and pgsql one of the default module for Mix
Mickael Remond [Fri, 29 Dec 2017 16:18:59 +0000 (17:18 +0100)]
Regenerated mix.lock file
Evgeniy Khramtsov [Thu, 28 Dec 2017 18:37:19 +0000 (21:37 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Thu, 28 Dec 2017 18:36:57 +0000 (21:36 +0300)]
Repair hosts check during certfiles validation
Christophe Romain [Thu, 28 Dec 2017 14:38:24 +0000 (15:38 +0100)]
Fix stun/esip mix deps
Evgeniy Khramtsov [Thu, 28 Dec 2017 14:24:23 +0000 (17:24 +0300)]
Return default certificate on domain mismatch
Christophe Romain [Thu, 28 Dec 2017 14:16:29 +0000 (15:16 +0100)]
Let mix pass compile ejabberd as dependency
Christophe Romain [Thu, 28 Dec 2017 13:43:13 +0000 (14:43 +0100)]
Update mix spec
Paweł Chmielowski [Thu, 28 Dec 2017 13:34:50 +0000 (14:34 +0100)]
Update stun and esip
Christophe Romain [Thu, 28 Dec 2017 12:51:26 +0000 (13:51 +0100)]
Fix check_opt_range when no boundary is configured
Evgeniy Khramtsov [Thu, 28 Dec 2017 11:01:39 +0000 (14:01 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Thu, 28 Dec 2017 11:01:34 +0000 (14:01 +0300)]
Return send() result to the caller
Christophe Romain [Thu, 28 Dec 2017 10:48:54 +0000 (11:48 +0100)]
Don't force rsm when max_items is not defined (#2189)
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
Paweł Chmielowski [Wed, 27 Dec 2017 16:10:15 +0000 (17:10 +0100)]
Revert "Start os_mon application"
This reverts commit
82b3bbf360ecf9bb9e96dcd59fc631ecbdd5fc0d .
Evgeniy Khramtsov [Wed, 27 Dec 2017 15:49:25 +0000 (18:49 +0300)]
Fix a regression in xmpp_socket
Paweł Chmielowski [Wed, 27 Dec 2017 15:23:04 +0000 (16:23 +0100)]
Start os_mon application
Paweł Chmielowski [Wed, 27 Dec 2017 15:16:15 +0000 (16:16 +0100)]
Paweł Chmielowski [Wed, 27 Dec 2017 15:14:03 +0000 (16:14 +0100)]
Use bare jid when processing roster subscriptions
Christophe Romain [Wed, 27 Dec 2017 11:42:55 +0000 (12:42 +0100)]
Rename mnesiadb
Christophe Romain [Wed, 27 Dec 2017 11:33:52 +0000 (12:33 +0100)]
Add missing application building with mix
Christophe Romain [Wed, 27 Dec 2017 11:28:13 +0000 (12:28 +0100)]
Include os_mon application
Christophe Romain [Wed, 27 Dec 2017 10:42:37 +0000 (11:42 +0100)]
Prepare mix for 17.12
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
Evgeniy Khramtsov [Wed, 27 Dec 2017 05:55:14 +0000 (08:55 +0300)]
Update the test suite to support new XMPP socket API
Holger Weiss [Tue, 26 Dec 2017 18:37:11 +0000 (19:37 +0100)]
Forget old access/shaper rules and ACLs on reload
Alexey Shchepin [Tue, 26 Dec 2017 17:48:15 +0000 (20:48 +0300)]
Add new schemas for SQLite and MySQL
Evgeniy Khramtsov [Tue, 26 Dec 2017 16:02:54 +0000 (19:02 +0300)]
Merge branch 'no-more-ejabberd-receivers'
Conflicts:
rebar.config
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.
Christophe Romain [Tue, 26 Dec 2017 10:16:48 +0000 (11:16 +0100)]
Cleanup rebar.config
Christophe Romain [Tue, 26 Dec 2017 10:13:47 +0000 (11:13 +0100)]
Remove obsolete option
Christophe Romain [Tue, 26 Dec 2017 10:13:18 +0000 (11:13 +0100)]
Update dependencies
Evgeniy Khramtsov [Mon, 25 Dec 2017 05:41:51 +0000 (08:41 +0300)]
Revert "Don't set twice"
This reverts commit
6dca89f61689bf9d8ecf6e7a0ede66a4a5395e84 .
Evgeniy Khramtsov [Sun, 24 Dec 2017 09:53:50 +0000 (12:53 +0300)]
Fix a typo in comment :)
Evgeniy Khramtsov [Sun, 24 Dec 2017 09:34:47 +0000 (12:34 +0300)]
Don't set twice
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.
Holger Weiss [Sat, 23 Dec 2017 21:45:01 +0000 (22:45 +0100)]
Don't let privacy list prevent local roster update
Holger Weiss [Fri, 22 Dec 2017 13:32:47 +0000 (14:32 +0100)]
mod_muc_admin: Fix last timestamp retrieval
Badlop [Thu, 21 Dec 2017 16:00:43 +0000 (17:00 +0100)]
Fix commands rooms_unused_list and _destroy
Christophe Romain [Thu, 21 Dec 2017 13:07:29 +0000 (14:07 +0100)]
Fix race between join_cluster and ejabberd_mnesia (#2079)
Paweł Chmielowski [Thu, 21 Dec 2017 10:49:33 +0000 (11:49 +0100)]
Disable test for now
Paweł Chmielowski [Thu, 21 Dec 2017 10:43:09 +0000 (11:43 +0100)]
Update expected error type in test
Christophe Romain [Thu, 21 Dec 2017 10:10:56 +0000 (11:10 +0100)]
Let mix aware of unpackaged hex.pm dependencies (#2170)
Christophe Romain [Wed, 20 Dec 2017 10:54:12 +0000 (11:54 +0100)]
Add pubsub#multi-items to features list (#2162)
Christophe Romain [Wed, 20 Dec 2017 10:53:18 +0000 (11:53 +0100)]
Fix mix_sql features and options
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…
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.
Evgeniy Khramtsov [Tue, 19 Dec 2017 12:33:30 +0000 (15:33 +0300)]
Change loglevel of TLS failures
Christophe Romain [Tue, 19 Dec 2017 09:24:07 +0000 (10:24 +0100)]
send_direct_invitations accepts only user jids
Evgeniy Khramtsov [Tue, 19 Dec 2017 06:55:19 +0000 (09:55 +0300)]
Set disk_almost_full_threshold to 99%
Evgeniy Khramtsov [Tue, 19 Dec 2017 06:15:35 +0000 (09:15 +0300)]
Don't crash on malformed IQ
Fixes #2175
Evgeniy Khramtsov [Mon, 18 Dec 2017 09:30:10 +0000 (12:30 +0300)]
Log a warning when a disk is almost full
Evgeniy Khramtsov [Mon, 18 Dec 2017 09:15:49 +0000 (12:15 +0300)]
Disable default alarm handler
Evgeniy Khramtsov [Mon, 18 Dec 2017 07:41:11 +0000 (10:41 +0300)]
Handle also process_memory_high_watermark alarm
Evgeniy Khramtsov [Sun, 17 Dec 2017 18:03:40 +0000 (21:03 +0300)]
Kill and restart lager when it's overloaded
Evgeniy Khramtsov [Sun, 17 Dec 2017 17:19:44 +0000 (20:19 +0300)]
Fix processing order
Evgeniy Khramtsov [Sun, 17 Dec 2017 16:46:55 +0000 (19:46 +0300)]
Avoid excessive logging of SQL failures
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.
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
Holger Weiss [Wed, 13 Dec 2017 17:59:06 +0000 (18:59 +0100)]
Send last PEP items to owner on initial presence
Closes #2112.
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.
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
Christophe Romain [Wed, 13 Dec 2017 10:35:36 +0000 (11:35 +0100)]
PubSub: Add missing Nidx building records from sql result
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
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.
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
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.
Christophe Romain [Mon, 11 Dec 2017 10:00:24 +0000 (11:00 +0100)]
Revert removal of certfile option on http listener
Christophe Romain [Mon, 11 Dec 2017 09:27:48 +0000 (10:27 +0100)]
Update example configuration
Evgeniy Khramtsov [Mon, 11 Dec 2017 07:00:16 +0000 (10:00 +0300)]
Fix typos in mod_legacy_auth and mod_register
Evgeniy Khramtsov [Mon, 11 Dec 2017 06:46:26 +0000 (09:46 +0300)]
Use xmpp:try_subtag/2 wherever possible
Randy Barlow [Sun, 10 Dec 2017 17:52:22 +0000 (12:52 -0500)]
Use /bin/sh as the explicit shell when using su in ejabberdctl.
Some distributions (such as Fedora) use /sbin/nologin as the login
shell for the ejabberd user. The newer version of ejabberdctl uses
su to perform the command if the INSTALLUSER invokes the script.
This commit adjusts the call to su so that it passes /bin/sh as
the shell to use so that it will work correctly when the ejabberd
user's shell is set to nologin.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Evgeniy Khramtsov [Sat, 9 Dec 2017 20:13:20 +0000 (23:13 +0300)]
Include <x/> tag in presence errors related to nick change
Refer to example 52 and example 53 of XEP-0045 for details.
Thanks to Daniel Gultsch for spotting this.
Evgeniy Khramtsov [Sat, 9 Dec 2017 19:39:43 +0000 (22:39 +0300)]
Better process subtag decoding errors
Evgeniy Khramtsov [Fri, 8 Dec 2017 09:50:10 +0000 (12:50 +0300)]
Log warning on empty wildcard paths
Evgeniy Khramtsov [Thu, 7 Dec 2017 14:24:34 +0000 (17:24 +0300)]
Don't call pkix_is_self_signed/1 too frequently
Evgeniy Khramtsov [Thu, 7 Dec 2017 13:41:49 +0000 (16:41 +0300)]
Eat less memory during building certificates graph
Evgeniy Khramtsov [Thu, 7 Dec 2017 11:58:58 +0000 (14:58 +0300)]
Replace s2s_cafile with ca_file in ejabberd.yml.example
Evgeniy Khramtsov [Thu, 7 Dec 2017 11:32:12 +0000 (14:32 +0300)]
Speedup certificate chains creation and validation
Paweł Chmielowski [Thu, 7 Dec 2017 09:47:23 +0000 (10:47 +0100)]
Compile sql_pt early
Evgeniy Khramtsov [Wed, 6 Dec 2017 21:29:19 +0000 (00:29 +0300)]
Avoid infinite loop between self-signed certs
Holger Weiss [Wed, 6 Dec 2017 15:50:45 +0000 (16:50 +0100)]
mod_muc_room: Fix typo
Thanks to Evgeniy for spotting this.
Evgeniy Khramtsov [Wed, 6 Dec 2017 15:36:04 +0000 (18:36 +0300)]
Bump xmpp and fast_xml revisions
Evgeniy Khramtsov [Wed, 6 Dec 2017 14:21:57 +0000 (17:21 +0300)]
Improve code using new xmpp API
Evgeniy Khramtsov [Wed, 6 Dec 2017 11:15:20 +0000 (14:15 +0300)]
Use ejabberd_cluster:send() in SM/C2S
Holger Weiss [Sat, 2 Dec 2017 20:35:09 +0000 (21:35 +0100)]
mod_offline: Always ignore groupchat messages
nosnilmot [Fri, 1 Dec 2017 16:28:31 +0000 (16:28 +0000)]
Set executable permission on mac_listener when installing (#2138)
Holger Weiss [Thu, 30 Nov 2017 22:58:01 +0000 (23:58 +0100)]
mod_muc_room: Include 110 status on shutdown
Add the 110 status code to the presence unavailable stanzas sent to room
occupants on system shutdown.
Holger Weiss [Thu, 30 Nov 2017 21:15:33 +0000 (22:15 +0100)]
mod_mam: Never store MUC messages in user archives
Even if a groupchat message is tagged with a <store/> hint, don't store
it in a user archive. The hint should only be honored by the MUC
archive.
Christophe Romain [Thu, 30 Nov 2017 14:32:09 +0000 (15:32 +0100)]
Windows does not have /tmp, fallback to /home/chris/conf
Christophe Romain [Thu, 30 Nov 2017 14:27:34 +0000 (15:27 +0100)]
Fix num_subscribers on node metadata (#2122)
Alexey Shchepin [Thu, 30 Nov 2017 10:31:23 +0000 (13:31 +0300)]
Fix session table cleanup
Alexey Shchepin [Thu, 30 Nov 2017 10:08:04 +0000 (13:08 +0300)]
Add missed server_host column in pg.new.sql
Evgeniy Khramtsov [Mon, 27 Nov 2017 10:09:53 +0000 (13:09 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Paweł Chmielowski [Mon, 27 Nov 2017 10:12:46 +0000 (11:12 +0100)]
Adapt test to changed error
Evgeniy Khramtsov [Mon, 27 Nov 2017 10:07:10 +0000 (13:07 +0300)]
Improve muc#roominfo and muc#roomconfig forms
Now 'muc#roominfo_contactjid' and 'muc#roominfo_pubsub' fields
are returned within muc#roominfo form. Also, both 'muc#roominfo_pubsub'
and 'muc#roomconfig_pubsub' are now validated.
Evgeniy Khramtsov [Sun, 26 Nov 2017 15:10:25 +0000 (18:10 +0300)]
Introduce option 'ca_file'
The option is supposed to be used as a fallback for certificates
validation. For instance, the option will be used if 's2s_cafile'
option is not set. The value should be a path to a file containing
CA certificate(s) in PEM format, e.g.:
ca_file: "/etc/ssl/certs/ca-bundle.pem"