]>
granicus.if.org Git - ejabberd/log
Evgeny Khramtsov [Wed, 19 Sep 2018 08:55:40 +0000 (11:55 +0300)]
Resize SQL pool on configuration reload
Fixes #2541
Evgeny Khramtsov [Tue, 18 Sep 2018 22:00:50 +0000 (01:00 +0300)]
Don't hide 'undef' exceptions during config validation
Evgeny Khramtsov [Tue, 18 Sep 2018 15:19:42 +0000 (18:19 +0300)]
Fail early when loading unavailable SIP or STUN modules
Evgeny Khramtsov [Tue, 18 Sep 2018 11:51:42 +0000 (14:51 +0300)]
Report real address of a listener
Evgeny Khramtsov [Tue, 18 Sep 2018 10:24:06 +0000 (13:24 +0300)]
Remove useless type specs
Evgeny Khramtsov [Tue, 18 Sep 2018 10:22:34 +0000 (13:22 +0300)]
Fix listeners child specs creation
Evgeny Khramtsov [Tue, 18 Sep 2018 09:58:29 +0000 (12:58 +0300)]
Remove forgotten debug line
Evgeny Khramtsov [Tue, 18 Sep 2018 09:53:36 +0000 (12:53 +0300)]
Refactor ejabberd_listener
Paweł Chmielowski [Tue, 18 Sep 2018 07:44:41 +0000 (09:44 +0200)]
Add ability to configure test to use new sql schema
Holger Weiss [Mon, 17 Sep 2018 19:46:37 +0000 (21:46 +0200)]
mod_http_upload: Log error if 'put_url' is reused
Log a proper [error] message if a single 'put_url' is used for multiple
virtual hosts.
Badlop [Mon, 17 Sep 2018 10:28:39 +0000 (12:28 +0200)]
Revert "New option tombstone_expiry locks recent room creation after destroy (#2546)"
This reverts commit
efb4fd0d1020faa105bf932c06cf4c67fb389952 .
Evgeny Khramtsov [Mon, 17 Sep 2018 09:08:04 +0000 (12:08 +0300)]
Improve error formatting
Badlop [Mon, 17 Sep 2018 08:42:29 +0000 (10:42 +0200)]
Remove unused variables
Evgeny Khramtsov [Mon, 17 Sep 2018 08:21:02 +0000 (11:21 +0300)]
Refactor ejabberd listener API
Paweł Chmielowski [Mon, 17 Sep 2018 07:34:15 +0000 (09:34 +0200)]
Reintroduce change removed by mistake in 'Improve match macro'
Holger Weiss [Sun, 16 Sep 2018 22:18:38 +0000 (00:18 +0200)]
Increase 'max_stanza_size' limit for c2s listener
Specify a larger 'max_stanza_size' limit for c2s connections in the
default configuration in order to reduce the risk of this limit being
hit by legitimate traffic (such as avatar uploads).
Holger Weiss [Sun, 16 Sep 2018 21:57:44 +0000 (23:57 +0200)]
Set a 'max_stanza_size' for incoming s2s listener
Specify a 'max_stanza_size' limit for incoming s2s connections in the
example configuration, but use a relatively large value in order to
minimize the risk of this limit being hit by legitimate traffic.
Holger Weiss [Sun, 16 Sep 2018 18:42:37 +0000 (20:42 +0200)]
MySQL: Use MEDIUMTEXT for MAM/offline messages
Let MySQL/MariaDB accept message stanzas with a size of up to 16 MiB,
rather than truncating at 64 KiB.
Paweł Chmielowski [Fri, 14 Sep 2018 18:27:59 +0000 (20:27 +0200)]
[test] Improve match macro
Paweł Chmielowski [Fri, 14 Sep 2018 18:27:33 +0000 (20:27 +0200)]
[tests] Update stream_id from stream:stream after auth
Holger Weiss [Thu, 13 Sep 2018 22:18:17 +0000 (00:18 +0200)]
mod_muc_room: Fix the room's CAPS hash
Don't forget the room's xdata when calculating the CAPS hash.
Evgeny Khramtsov [Thu, 13 Sep 2018 19:36:59 +0000 (22:36 +0300)]
Merge pull request #2605 from
af8a524db1 /remove_unused_error
mod_register: Remove unused error 'too_many_users'
Marc Schink [Thu, 13 Sep 2018 19:23:40 +0000 (21:23 +0200)]
mod_register: Remove unused error 'too_many_users'
Badlop [Thu, 13 Sep 2018 15:58:32 +0000 (17:58 +0200)]
Trigger hook for user_send_packet in send_message command (#2604)
Evgeny Khramtsov [Wed, 12 Sep 2018 14:15:04 +0000 (17:15 +0300)]
Merge pull request #2602 from aquarhead/expect-mnesia-up
Expect mnesia_up event when joining cluster
AquarHEAD Lou [Wed, 12 Sep 2018 11:01:05 +0000 (11:01 +0000)]
Expect mnesia_up event when joining cluster
Evgeny Khramtsov [Sun, 9 Sep 2018 06:59:08 +0000 (09:59 +0300)]
Fix some dialyzer warnings
Evgeny Khramtsov [Fri, 7 Sep 2018 19:50:16 +0000 (22:50 +0300)]
Merge pull request #2597 from dmitryDemchenko/master
fix for freetds UTF-8 corruption
root [Fri, 7 Sep 2018 16:56:39 +0000 (19:56 +0300)]
fix for freetds UTF-8 corruption
Evgeny Khramtsov [Fri, 7 Sep 2018 15:03:36 +0000 (18:03 +0300)]
Bump lager version
This is needed for OTP-21 compatibility
Paweł Chmielowski [Thu, 6 Sep 2018 10:40:05 +0000 (12:40 +0200)]
Add information about real sender to mucsub message meta
Paweł Chmielowski [Wed, 5 Sep 2018 09:14:19 +0000 (11:14 +0200)]
Use newere fast_tls
Paweł Chmielowski [Tue, 4 Sep 2018 07:52:41 +0000 (09:52 +0200)]
Don't stop sending pings when receiving timeout for timeout_action=none
Evgeniy Khramtsov [Sat, 1 Sep 2018 21:37:07 +0000 (00:37 +0300)]
Correctly handle empty result with RSM
Fixes #2588
Evgeniy Khramtsov [Sat, 1 Sep 2018 16:37:26 +0000 (19:37 +0300)]
Get stacktrace out of lager context
Calling erlang:get_stacktrace() inside lager functions produces
stacktraces of the logging function itself, not the function which has failed.
Evgeniy Khramtsov [Sat, 1 Sep 2018 14:39:39 +0000 (17:39 +0300)]
Don't set termination reason into presence-unavailable status
Fixes https://github.com/processone/xmpp/issues/35
Holger Weiss [Wed, 29 Aug 2018 14:23:56 +0000 (16:23 +0200)]
ejabberd_s2s_in: Log message on connection close
Log a message when an incoming s2s connection is closed, analogous to
the message on outgoing s2s connection close.
Paweł Chmielowski [Tue, 28 Aug 2018 09:07:31 +0000 (11:07 +0200)]
Sign certs used by tests with sha256
Seems that openssl1.1.1 (at least debian version) rejects certs signed with
md5 or sha1, so lets use something that works.
Evgeniy Khramtsov [Tue, 28 Aug 2018 07:41:57 +0000 (10:41 +0300)]
Better formatting of unexpected return from Module:start/2
Badlop [Mon, 20 Aug 2018 13:39:58 +0000 (15:39 +0200)]
Fix max_user_conferences in Mnesia to consider only one MUC service (#2556)
Evgeniy Khramtsov [Fri, 17 Aug 2018 15:42:09 +0000 (18:42 +0300)]
Use "localhost" as a default host
Evgeniy Khramtsov [Fri, 17 Aug 2018 15:16:14 +0000 (18:16 +0300)]
Bump xmpp version
Evgeniy Khramtsov [Fri, 17 Aug 2018 14:56:23 +0000 (17:56 +0300)]
Disable cache for anonymous auth backend
Fixes #2566
Paweł Chmielowski [Thu, 16 Aug 2018 09:59:26 +0000 (11:59 +0200)]
Update xmpp
Badlop [Wed, 15 Aug 2018 10:56:41 +0000 (12:56 +0200)]
Third attempt to fix the typo!
Badlop [Wed, 15 Aug 2018 10:40:39 +0000 (12:40 +0200)]
Fix typo from commit
0bf93eefc
Badlop [Wed, 15 Aug 2018 10:16:01 +0000 (12:16 +0200)]
Handle get_presence(Pid) when session doesn't exist (#2547)
Badlop [Mon, 13 Aug 2018 14:42:16 +0000 (16:42 +0200)]
Fix typo in command description
Badlop [Mon, 13 Aug 2018 13:26:40 +0000 (15:26 +0200)]
Try to update tests to handle recent MUC subscriptions change (#2272)
Badlop [Mon, 13 Aug 2018 11:56:29 +0000 (13:56 +0200)]
Return human error messages when calling export2sql with wrong path (#2480)
Badlop [Fri, 10 Aug 2018 15:46:47 +0000 (17:46 +0200)]
In response with list of room subscriptions include also events (#2272)
Badlop [Wed, 8 Aug 2018 12:08:07 +0000 (14:08 +0200)]
Remove num_active_users as it uses calls to last_activity mnesia table (#2448)
Badlop [Wed, 8 Aug 2018 12:05:04 +0000 (14:05 +0200)]
Remove direct calls to muc_room mnesia table in mod_muc_admin (#2448)
Badlop [Tue, 7 Aug 2018 14:58:29 +0000 (16:58 +0200)]
Add markdown options as specified in the docs git repo
Badlop [Tue, 7 Aug 2018 14:57:54 +0000 (16:57 +0200)]
Add import_prosody explanation from docs git repo
Badlop [Tue, 7 Aug 2018 14:57:10 +0000 (16:57 +0200)]
Allow acme and oauth commands to be read by gen_markdown_doc_for_commands
Badlop [Thu, 2 Aug 2018 16:36:41 +0000 (18:36 +0200)]
Handle ejabberd_captcha error reports in mod_register_web (#2553)
Evgeny Khramtsov [Tue, 31 Jul 2018 04:52:06 +0000 (07:52 +0300)]
Merge pull request #2551 from MarcelWaldvogel/configurable-extauth-pool
Make it possible to join extauth pools
Marcel Waldvogel [Mon, 30 Jul 2018 20:49:18 +0000 (22:49 +0200)]
Make it possible to join extauth pools
Badlop [Mon, 30 Jul 2018 15:26:57 +0000 (17:26 +0200)]
New option tombstone_expiry locks recent room creation after destroy (#2546)
Setting the new mod_muc option tombstone_expiry to a positive integer
will make that any room destroyed gets replaced with a room tombstone.
That tombstone cannot be joined, so it blocks accessing the old room JID
until the expiry seconds have passed.
The default value is 0 seconds, so tombstones are not created.
Holger Weiss [Thu, 26 Jul 2018 22:27:10 +0000 (00:27 +0200)]
mod_mam: Don't strip offline message stanza IDs
As mod_offline currently doesn't preserve metadata, add an explicit
check for messages retrieved from offline storage to avoid stripping
their stanza IDs.
Thanks to Zuglufttier for spotting this.
Holger Weiss [Thu, 26 Jul 2018 22:14:48 +0000 (00:14 +0200)]
mod_mam: Make sure stanza IDs aren't reused
Strip the stanza ID from the metadata of outgoing messages to make sure
it's not reused for the (local) recipient's MAM archive.
Holger Weiss [Thu, 26 Jul 2018 20:37:25 +0000 (22:37 +0200)]
ejabberd_auth: Restore lost case clause
Let check_password_with_authmodule/6 handle the case where
validate_credentials/2 returns an error. This got lost in commit
4f8af723c6fc5dc4b689f0f1734d4e2b11dd4c82 .
Paweł Chmielowski [Thu, 26 Jul 2018 16:55:30 +0000 (18:55 +0200)]
Wait for more data than just <stream:stream> before sending in bosh
This fixes issue #2545
Paweł Chmielowski [Thu, 26 Jul 2018 15:29:20 +0000 (17:29 +0200)]
Make sure that we always start inactivity timer from drop_holding_receiver
Paweł Chmielowski [Thu, 26 Jul 2018 15:28:51 +0000 (17:28 +0200)]
Set wait_timer to undefined when timer was triggered
Badlop [Tue, 24 Jul 2018 18:01:22 +0000 (20:01 +0200)]
Fix search for User in vjud
See https://stackoverflow.com/questions/
51478247 /ejabberd-search-module-failed-to-handle-the-query
Paweł Chmielowski [Mon, 23 Jul 2018 15:23:11 +0000 (17:23 +0200)]
Update xmpp
Holger Weiss [Wed, 18 Jul 2018 17:44:56 +0000 (19:44 +0200)]
mod_http_upload: Adjust default value of 'put_url'
Let the default 'put_url' point to the HTTPS listener specified in the
new default configuration.
Evgeny Khramtsov [Wed, 18 Jul 2018 16:38:13 +0000 (19:38 +0300)]
Merge pull request #2538 from weiss/tls-by-default
Enable TLS by default (and require it for c2s)
Holger Weiss [Wed, 18 Jul 2018 16:22:24 +0000 (18:22 +0200)]
Enable TLS by default (and require it for c2s)
Holger Weiss [Wed, 18 Jul 2018 16:16:42 +0000 (18:16 +0200)]
mod_http_upload: Deprecate 'service_url' option
Users should migrate to the 'external_secret' interface.
Evgeny Khramtsov [Wed, 18 Jul 2018 15:37:30 +0000 (18:37 +0300)]
Merge pull request #2537 from rouen-sk/patch-1
Update mssql.sql
rouen-sk [Wed, 18 Jul 2018 15:12:17 +0000 (17:12 +0200)]
Update mssql.sql
Fixed:
- conflicting clustered indexes on 2 tables
- semicolon type
- Azure SQL incompatibility
Holger Weiss [Tue, 17 Jul 2018 20:28:31 +0000 (22:28 +0200)]
mod_http_upload: Avoid function-like macros
Holger Weiss [Tue, 17 Jul 2018 18:50:58 +0000 (20:50 +0200)]
Move cancel_timer/1 function into 'misc' module
Holger Weiss [Tue, 17 Jul 2018 17:42:57 +0000 (19:42 +0200)]
mod_http_upload: Add "Allow" to OPTIONS response
RFC 2616 says: "A 200 response SHOULD include any header fields that
indicate optional features implemented by the server and applicable to
that resource (e.g., Allow) [...]."
Holger Weiss [Mon, 16 Jul 2018 13:15:36 +0000 (15:15 +0200)]
mod_muc: Don't set default for muc#roomconfig_lang
For the muc#roomconfig_lang setting, no default is preferable over a
possibly incorrect default value.
Holger Weiss [Sun, 15 Jul 2018 22:17:11 +0000 (00:17 +0200)]
mod_http_upload: Avoid timers from timer module
Use erlang:start_timer/3 instead of timer:send_after/2, as the former is
more efficient.
Holger Weiss [Sun, 15 Jul 2018 19:53:50 +0000 (21:53 +0200)]
mod_http_upload: Don't store "external" slots
Don't store requested upload slots if an 'external_secret' is
configured.
Evgeniy Khramtsov [Sun, 15 Jul 2018 07:14:47 +0000 (10:14 +0300)]
Note about Redis requirement in the test suite README
Evgeniy Khramtsov [Sun, 15 Jul 2018 06:52:03 +0000 (09:52 +0300)]
Require Redis version >= 3.2.0
Since we now use Lua scripting for cleaning up c2s sessions
the minimum supported Redis version is 3.2.0 or above because
we need to work correctly with Redis replication mechanism.
****** BACKWARD INCOMPATIBILITY WARNING *******
** THIS SHOULD BE ADDED TO THE RELEASE NOTES **
*** PACKAGE MAINTAINERS SHOULD BE INFORMED ***
***********************************************
Holger Weiss [Sat, 14 Jul 2018 18:27:30 +0000 (20:27 +0200)]
Avoid "ejabberdctl status" crash
Evgeniy Khramtsov [Sat, 14 Jul 2018 15:02:50 +0000 (18:02 +0300)]
Don't forget to remove Lua scripts on uninstall
Evgeniy Khramtsov [Sat, 14 Jul 2018 14:53:00 +0000 (17:53 +0300)]
Clean up contributed code for Redis SM
Evgeny Khramtsov [Sat, 14 Jul 2018 13:53:45 +0000 (16:53 +0300)]
Merge pull request #2525 from satish-olx/master
Use lua scripting to clear redis sessions.
Evgeniy Khramtsov [Sat, 14 Jul 2018 13:52:09 +0000 (16:52 +0300)]
Improve wording
Evgeny Khramtsov [Sat, 14 Jul 2018 13:42:15 +0000 (16:42 +0300)]
Merge pull request #2526 from nosnilmot/enforce-pubsub-option-attributes
Enforce pubsub option required/rejected attributes
Stu Tomlinson [Fri, 13 Jul 2018 18:15:17 +0000 (19:15 +0100)]
Enforce pubsub option required/rejected attributes
XEP-0060 states that 'node' and 'jid' attributes to <options> element MUST NOT
be included when <options> are specified at same time as <subscribe> :
https://xmpp.org/extensions/xep-0060.html#subscriber-configure-subandconfig
mod_pubsub will require 'node' and 'jid' attributes on standalone pubsub
options requests, and reject subscribe requests that have options that include
either 'node' or 'jid'
Evgeny Khramtsov [Sat, 14 Jul 2018 05:51:11 +0000 (08:51 +0300)]
Merge pull request #2522 from weiss/bump-max-user-conferences
mod_muc: Increase default 'max_user_conferences' value
Paweł Chmielowski [Fri, 13 Jul 2018 07:50:38 +0000 (09:50 +0200)]
Ensure that returned priority in a number in mod_admin_extra
satish-olx [Thu, 12 Jul 2018 10:44:26 +0000 (16:14 +0530)]
Update ejabberd_sm_redis.erl
satish-olx [Thu, 12 Jul 2018 10:40:24 +0000 (16:10 +0530)]
Lua script for cleaning redis sessions
Changes:
1. Added extra keys for tracking node -> session mapping
2. Lua script for clearing the sessions in redis itself.
Paweł Chmielowski [Wed, 11 Jul 2018 12:07:24 +0000 (14:07 +0200)]
Adopt code that uses parse_listener_portip after result change
Badlop [Wed, 11 Jul 2018 10:02:09 +0000 (12:02 +0200)]
Fix piefxis import of privacy lists (thanks to crosser)(#2412)
Badlop [Wed, 11 Jul 2018 09:38:17 +0000 (11:38 +0200)]
Fix piefxis import of vCard elements (#2514)
Evgeniy Khramtsov [Wed, 11 Jul 2018 06:29:55 +0000 (09:29 +0300)]
Improve listener errors formatting
Holger Weiss [Tue, 10 Jul 2018 22:07:57 +0000 (00:07 +0200)]
Fix compiler warnings regarding test cases
Holger Weiss [Tue, 10 Jul 2018 19:25:06 +0000 (21:25 +0200)]
pubsub_tests: Fix race condition
Holger Weiss [Tue, 10 Jul 2018 19:19:15 +0000 (21:19 +0200)]
mod_http_upload_quota: Fix process name lookup
Fix mod_http_upload_quota's process name lookup for the case where a
slot is requested by a JID whose domain part is not the virtual host the
mod_http_upload_quota process is running on.