]>
granicus.if.org Git - ejabberd/log
colm [Sun, 9 Sep 2018 23:08:00 +0000 (00:08 +0100)]
remove some chatty SQL queries by pulling back all groups with opts and filtering in memory. move a call to get_group_name outside of a loop to eliminate redundant repeated queries
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.
Evgeniy Khramtsov [Tue, 10 Jul 2018 07:14:08 +0000 (10:14 +0300)]
Fix regression: list SASL EXTERNAL mechanism for inbound s2s
Holger Weiss [Mon, 9 Jul 2018 23:00:06 +0000 (01:00 +0200)]
mod_muc: Increase 'max_user_conferences' default
Let up to 100 clients of a given account join MUC rooms by default. The
old default value can be too small, e.g., when users join many (private)
rooms with multiple devices.
Holger Weiss [Mon, 9 Jul 2018 22:52:27 +0000 (00:52 +0200)]
mod_stream_mgmt: Remove dead case clauses
Holger Weiss [Mon, 9 Jul 2018 22:46:48 +0000 (00:46 +0200)]
mod_stream_mgmt: Add descriptive text to errors
Closes #2485.
Evgeniy Khramtsov [Mon, 9 Jul 2018 17:32:01 +0000 (20:32 +0300)]
Improve value formatting
Paweł Chmielowski [Mon, 9 Jul 2018 15:11:24 +0000 (17:11 +0200)]
Use ejabberd_config:get_version in ejabberdctl status
Evgeny Khramtsov [Mon, 9 Jul 2018 07:08:00 +0000 (10:08 +0300)]
Merge pull request #2516 from licaon-kter/patch-6
Remove vcard search default value
Licaon_Kter [Sun, 8 Jul 2018 23:48:08 +0000 (23:48 +0000)]
Remove vcard search default value
Evgeniy Khramtsov [Sun, 8 Jul 2018 17:42:53 +0000 (20:42 +0300)]
Better format invalid values when logging them
Evgeniy Khramtsov [Sun, 8 Jul 2018 17:28:11 +0000 (20:28 +0300)]
Better detection of duplicated routes/hosts
Evgeniy Khramtsov [Sun, 8 Jul 2018 11:52:12 +0000 (14:52 +0300)]
Reload internal room's configuration when mod_muc is reloaded
Fixes #2513
Evgeny Khramtsov [Sun, 8 Jul 2018 07:43:25 +0000 (10:43 +0300)]
Merge pull request #2511 from licaon-kter/patch-5
Remove stats and time from template
Evgeny Khramtsov [Sun, 8 Jul 2018 07:42:55 +0000 (10:42 +0300)]
Merge pull request #2515 from ChaosKid42/fix_HMAC_in_http_upload
fix generation of HMAC for external_secret
Christoph Scholz [Sat, 7 Jul 2018 15:01:39 +0000 (17:01 +0200)]
fix HMAC for external_secret
Paweł Chmielowski [Fri, 6 Jul 2018 07:49:30 +0000 (09:49 +0200)]
Remove cyrsasl elixir tests, we no longer have it
Evgeniy Khramtsov [Fri, 6 Jul 2018 06:18:27 +0000 (09:18 +0300)]
Only lookup FQDN at configuration (re)loading
Licaon_Kter [Fri, 6 Jul 2018 01:33:41 +0000 (01:33 +0000)]
Remove stats and time from template
Are these important for a new admin?
Evgeniy Khramtsov [Thu, 5 Jul 2018 22:07:36 +0000 (01:07 +0300)]
Move XMPP stream and SASL processing to xmpp repo
Evgeniy Khramtsov [Thu, 5 Jul 2018 08:53:04 +0000 (11:53 +0300)]
Use p1_rand in the test suite
Evgeniy Khramtsov [Thu, 5 Jul 2018 08:51:49 +0000 (11:51 +0300)]
Move move randoms module to p1_utils repo
Evgeniy Khramtsov [Thu, 5 Jul 2018 06:31:55 +0000 (09:31 +0300)]
Move shaper to p1_utils repo
Evgeniy Khramtsov [Wed, 4 Jul 2018 05:59:14 +0000 (08:59 +0300)]
Set 'from' attribute for client connections when it is absent
Evgeniy Khramtsov [Wed, 4 Jul 2018 05:57:28 +0000 (08:57 +0300)]
Don't set from/to attributes in resource binding iq
Evgeniy Khramtsov [Wed, 4 Jul 2018 05:55:52 +0000 (08:55 +0300)]
mod_http_upload: Treat file and network errors differently
badlop [Tue, 3 Jul 2018 14:50:29 +0000 (16:50 +0200)]
Merge pull request #2495 from rodrigues/update_ptbr
Update pt-br translations