]>
granicus.if.org Git - ejabberd/log
Evgeny Khramtsov [Sat, 22 Jun 2019 07:19:17 +0000 (10:19 +0300)]
Fix shaper selection in ejabberd_c2s
Evgeny Khramtsov [Fri, 21 Jun 2019 18:06:32 +0000 (21:06 +0300)]
Make option 'validate_stream' global
Evgeny Khramtsov [Fri, 21 Jun 2019 16:37:47 +0000 (19:37 +0300)]
Don't attempt to query 'undefined' active list
Also code formatting was improved
Evgeny Khramtsov [Fri, 21 Jun 2019 12:37:51 +0000 (15:37 +0300)]
Allow multiple definitions of host_config and append_host_config
Evgeny Khramtsov [Fri, 21 Jun 2019 11:47:10 +0000 (14:47 +0300)]
Correct mod_mix_pam protocol version
Fixes #2913
Evgeny Khramtsov [Fri, 21 Jun 2019 11:39:46 +0000 (14:39 +0300)]
Fix usage of TLS in mod_mqtt
Fixes #2919
Holger Weiss [Thu, 20 Jun 2019 16:18:14 +0000 (18:18 +0200)]
mod_pubsub: Check access_model when publishing PEP
Don't just adhere to the node's access_model when delivering the last
PEP item but also when a new item is published.
Many thanks to Philipp Hörist for spotting this.
Evgeny Khramtsov [Thu, 20 Jun 2019 16:09:36 +0000 (19:09 +0300)]
Fix creation of type spec for map() options
Badlop [Wed, 19 Jun 2019 07:26:28 +0000 (09:26 +0200)]
Rename remaining command arguments from Server to Host (#2908)
Badlop [Tue, 18 Jun 2019 09:09:35 +0000 (11:09 +0200)]
Add support for backwards compatibility in command argument names (#2908)
Badlop [Wed, 19 Jun 2019 07:19:13 +0000 (09:19 +0200)]
Fix support for nonexistent or empty access_commands in ejabberd_xmlrpc
Evgeny Khramtsov [Mon, 17 Jun 2019 17:51:04 +0000 (20:51 +0300)]
Require opt_type/1 callback
Evgeny Khramtsov [Mon, 17 Jun 2019 17:49:43 +0000 (20:49 +0300)]
Generate more readable exception
Evgeny Khramtsov [Mon, 17 Jun 2019 16:50:44 +0000 (19:50 +0300)]
Set yconf version in mix.exs explicitly
Evgeny Khramtsov [Mon, 17 Jun 2019 16:30:25 +0000 (19:30 +0300)]
Synchronize macros from rebar.config with mix.exs
Evgeny Khramtsov [Mon, 17 Jun 2019 16:19:27 +0000 (19:19 +0300)]
Add yconf application to mix.exs
Evgeny Khramtsov [Mon, 17 Jun 2019 10:42:58 +0000 (13:42 +0300)]
Reflect recent pubsub changes in configuration transformer
Christophe Romain [Mon, 17 Jun 2019 10:02:23 +0000 (12:02 +0200)]
Add helper to check xep implementations and versions
Evgeny Khramtsov [Mon, 17 Jun 2019 09:53:15 +0000 (12:53 +0300)]
Bump supported version of XEP-0355
Christophe Romain [Mon, 17 Jun 2019 09:39:17 +0000 (11:39 +0200)]
Remote obsolete pubsub config from tests
Evgeny Khramtsov [Mon, 17 Jun 2019 09:29:04 +0000 (12:29 +0300)]
Fix component routes unregistration
Fixes #2910
Christophe Romain [Mon, 17 Jun 2019 09:19:28 +0000 (11:19 +0200)]
Remove deprecated pubsub plugins
Evgeny Khramtsov [Sat, 15 Jun 2019 12:14:45 +0000 (15:14 +0300)]
Use list_to_existing_atom/1 wherever possible
Evgeny Khramtsov [Sat, 15 Jun 2019 10:41:13 +0000 (13:41 +0300)]
Add PostgreSQL to Travis services
Evgeny Khramtsov [Sat, 15 Jun 2019 09:53:16 +0000 (12:53 +0300)]
Get rid of "well-known" type
Evgeny Khramtsov [Sat, 15 Jun 2019 09:10:35 +0000 (12:10 +0300)]
Remove default_db/1 and add default_db/3
Same for default_ram_db/1 and default_ram_db/3
Evgeny Khramtsov [Fri, 14 Jun 2019 20:35:51 +0000 (23:35 +0300)]
Ignore beams compiled by Elixir
Evgeny Khramtsov [Fri, 14 Jun 2019 20:19:08 +0000 (23:19 +0300)]
Accept output argument in tools/opt_types.sh
Evgeny Khramtsov [Fri, 14 Jun 2019 14:38:55 +0000 (17:38 +0300)]
Warn about 'service_url' option during config transformation
Evgeny Khramtsov [Fri, 14 Jun 2019 13:58:39 +0000 (16:58 +0300)]
Fix exception formatting on old Erlang
Evgeny Khramtsov [Fri, 14 Jun 2019 13:42:22 +0000 (16:42 +0300)]
Fix validator of mod_avatar
Evgeny Khramtsov [Fri, 14 Jun 2019 13:06:04 +0000 (16:06 +0300)]
Introduce option 'captcha_url'
Option 'captcha_host' is now deprecated in favor of 'captcha_url'.
However, it's not replaced automatically at startup, i.e. both options
are supported with 'captcha_url' being the preferred one.
Evgeny Khramtsov [Fri, 14 Jun 2019 11:47:46 +0000 (14:47 +0300)]
Remove mod_echo module
Holger Weiss [Fri, 14 Jun 2019 11:08:46 +0000 (13:08 +0200)]
Travis CI: Ensure MySQL is started
It seems MySQL isn't always fully started before 'mysql_upgrade' is
called.
Evgeny Khramtsov [Fri, 14 Jun 2019 10:36:28 +0000 (13:36 +0300)]
Add forgotten header file
Paweł Chmielowski [Fri, 14 Jun 2019 10:16:13 +0000 (12:16 +0200)]
Use commit id instead of branch name to specify deps in rebar.config
Evgeny Khramtsov [Fri, 14 Jun 2019 09:33:26 +0000 (12:33 +0300)]
Use new configuration validator
Paweł Chmielowski [Thu, 13 Jun 2019 16:42:02 +0000 (18:42 +0200)]
Return jid_malformed error when sending presence without nick to conference
badlop [Thu, 13 Jun 2019 07:34:58 +0000 (09:34 +0200)]
Merge pull request #2651 from Iperity/fix-privacy-race-condition
Fix mod_privacy race condition
Mickaël Rémond [Tue, 11 Jun 2019 16:52:44 +0000 (18:52 +0200)]
Debug log to help troubleshoot delegation ACLs
Christophe Romain [Tue, 11 Jun 2019 08:18:36 +0000 (10:18 +0200)]
Revert "Fix pubsub compliance XEP-0060 § 7.1.3.6 (#2864)"
This reverts commit
2fff4d1ea6f32babc3ae06ef877faaacb8ba3c1b .
This commit broke the XEP compliance. more details here
https://xmpp.org/extensions/xep-0060.html#events
Nathan Bruning [Mon, 10 Dec 2018 23:19:54 +0000 (00:19 +0100)]
Refactor mod_privacy patch; move logic user_receive_packet to
user_send_packet.
Nathan Bruning [Wed, 28 Nov 2018 17:34:16 +0000 (18:34 +0100)]
Fix user_send_packet in mod_privacy; was failing on newly created users
Nathan Bruning [Sat, 27 Oct 2018 13:26:37 +0000 (15:26 +0200)]
Fix mod_privacy race condition
mod_privacy updates the c2s state in user_receive_packet, which
tracks the *result* of the IQ set for active privacy lists.
When a second stanza is sent directly after a privacy list request,
the second stanza will be processed using the old privacy list,
because the IQ result has not yet been routed.
Mickaël Rémond [Sun, 9 Jun 2019 09:47:18 +0000 (11:47 +0200)]
lock.yml defines locking policy for old issues
Evgeny Khramtsov [Thu, 6 Jun 2019 18:26:50 +0000 (21:26 +0300)]
Use system_time/1 instead of monotonic_time/1
The value of monotonic_time/1 may differ significantly between
nodes in a cluster due to different erlang:time_offset/0 values.
Thanks to Christoph Scholz for spotting this
Holger Weiss [Wed, 5 Jun 2019 16:28:35 +0000 (18:28 +0200)]
mod_register_web: Don't crash if user exists
Since commit
633b68db1130c81551b063f3aa15d599b0d355e5 ,
ejabberd_auth:try_register/3 returns {error, exists} rather than
{atomic, exists}.
Thanks to Thomas Leister for reporting the issue.
Paweł Chmielowski [Tue, 4 Jun 2019 12:13:26 +0000 (14:13 +0200)]
Change indentation in ejabberd.yml.example to more consistant
Badlop [Wed, 29 May 2019 17:41:36 +0000 (19:41 +0200)]
Fix example argument in private_set, don't include Query element
Holger Weiss [Tue, 28 May 2019 22:30:59 +0000 (00:30 +0200)]
mod_stream_mgmt: Drop unused code
Revert the changes applied to mod_stream_mgmt in commit
b76f90fe396ee7a1ed5c5f7006431879929fc2a1 , as the new implementation of
mod_offline's 'use_mam_for_storage' feature doesn't need them.
Paweł Chmielowski [Tue, 28 May 2019 12:32:09 +0000 (14:32 +0200)]
Change implementation of mod_offline use_mam_for_storage
Previous version was trying to determine range of messages that should
be fetched from mam by storing time when last user resource disconnected.
But that had couple edge cases that could cause problems, for example in
case of node crash we could not store information about user disconnect
and with that we didn't have data to initiate mam query.
New version don't track user disconnects, but simply ensure that we have
timestamp of first message that is gonna be put in storage, after some
measurements cost of that check with caching on top is not that costly,
and as much more robust i decided to introduce that change.
Evgeny Khramtsov [Tue, 28 May 2019 12:14:45 +0000 (15:14 +0300)]
Don't check mod_register restrictions in 'register' command
The commit reverts behaviour introduced in
1f2b8adc285c6c67de75986e96d6bd1632ef97fe
Holger Weiss [Mon, 27 May 2019 19:56:37 +0000 (21:56 +0200)]
mod_http_upload: Avoid catch-all error handling
Mickaël Rémond [Sat, 25 May 2019 09:30:04 +0000 (11:30 +0200)]
Improve captcha blocking alert wording
Mickaël Rémond [Sat, 25 May 2019 09:21:30 +0000 (11:21 +0200)]
Improve captcha.sh script documentation
Paweł Chmielowski [Fri, 24 May 2019 13:18:15 +0000 (15:18 +0200)]
Fix last commit
Paweł Chmielowski [Fri, 24 May 2019 12:02:10 +0000 (14:02 +0200)]
Make mod_admin_extra add/delete_rosteritem reuse code from mod_roster
Mickaël Rémond [Fri, 24 May 2019 08:31:51 +0000 (10:31 +0200)]
Add data clean up suggested command
Christophe Romain [Thu, 23 May 2019 11:42:50 +0000 (13:42 +0200)]
Prepare 19.05
Christophe Romain [Thu, 23 May 2019 11:40:05 +0000 (13:40 +0200)]
Update deps in mix.lock
Paweł Chmielowski [Thu, 23 May 2019 10:13:28 +0000 (12:13 +0200)]
Update deps
Evgeny Khramtsov [Thu, 23 May 2019 08:32:55 +0000 (11:32 +0300)]
Use different cache tables per auth module
Fixes #2322
Holger Weiss [Mon, 20 May 2019 18:05:20 +0000 (20:05 +0200)]
Remove 'register' access rule from example config
The 'register' access rule isn't referenced from the 'mod_register'
options, so modifying it would have no effect.
Evgeny Khramtsov [Mon, 20 May 2019 09:10:23 +0000 (12:10 +0300)]
Use lager 3.6.10
Evgeny Khramtsov [Sun, 19 May 2019 08:23:29 +0000 (11:23 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeny Khramtsov [Sun, 19 May 2019 08:22:41 +0000 (11:22 +0300)]
Report better errors on SQL terms decode failure
Alexey Shchepin [Sat, 18 May 2019 18:16:33 +0000 (21:16 +0300)]
Fix PostgreSQL compatibility in mod_offline_sql:remove_old_messages (#2695)
Badlop [Fri, 17 May 2019 13:37:34 +0000 (15:37 +0200)]
Fix typo in Change User Password adhoc command (thanks to lovetox)(#2884)
Badlop [Fri, 17 May 2019 13:24:18 +0000 (15:24 +0200)]
Vcard search doesn't support * in mnesia, fix search form (#633)
Evgeny Khramtsov [Wed, 15 May 2019 18:47:39 +0000 (21:47 +0300)]
Check hooks correctness in Travis CI
Evgeny Khramtsov [Wed, 15 May 2019 18:45:30 +0000 (21:45 +0300)]
Write hooks_type_test.erl to correct location
Evgeny Khramtsov [Wed, 15 May 2019 18:40:36 +0000 (21:40 +0300)]
Make static hooks analyzer working again
Evgeny Khramtsov [Wed, 15 May 2019 17:55:17 +0000 (20:55 +0300)]
Fix mod_legacy_auth to reflect recent changes
Evgeny Khramtsov [Wed, 15 May 2019 15:13:31 +0000 (18:13 +0300)]
Don't process failed EXTERNAL authentication by mod_fail2ban
This will only lead to confusion because it's not considered
possible to brute force client certificates.
Evgeny Khramtsov [Wed, 15 May 2019 14:21:09 +0000 (17:21 +0300)]
Modify arguments of c2s_auth_result hook
The hook now accepts `true | {false, Reason :: binary()}` arguments
instead of just `true | false`
Badlop [Wed, 15 May 2019 08:57:55 +0000 (10:57 +0200)]
Preliminary support for SQL in process_rosteritems, and move code (#2448)
Paweł Chmielowski [Tue, 14 May 2019 15:32:12 +0000 (17:32 +0200)]
Don't put duplicate polling attribute in bosh payload
This fixes issue #2790
Holger Weiss [Sun, 12 May 2019 09:57:17 +0000 (11:57 +0200)]
mod_http_upload: Case-insensitive host comparison
Perform a case-insensitive lookup of the host name specified by the HTTP
client.
Fixes #2827.
Evgeny Khramtsov [Sat, 11 May 2019 16:27:56 +0000 (19:27 +0300)]
Avoid late arrival of get_disco_item response
Evgeny Khramtsov [Thu, 9 May 2019 19:06:23 +0000 (22:06 +0300)]
Handle TCP errors in websockets
Mickael Remond [Tue, 7 May 2019 15:59:05 +0000 (17:59 +0200)]
Initial Docker environment to run ejabberd test suite
Christophe Romain [Tue, 7 May 2019 14:22:45 +0000 (16:22 +0200)]
Fix pubsub compliance XEP-0060 § 7.1.3.6 (#2864)
Mickael Remond [Tue, 7 May 2019 12:09:22 +0000 (14:09 +0200)]
Merge branch 'master' of github.com:processone/ejabberd
Mickael Remond [Tue, 7 May 2019 12:09:11 +0000 (14:09 +0200)]
Put back the presence and s2s tests in the no_db section.
Tests are skipped anyway. This reverts
ecce31830486023b9227c21d323f1cab825c1b47
Christophe Romain [Tue, 7 May 2019 09:46:04 +0000 (11:46 +0200)]
Raise api hook right before performing the call
Paweł Chmielowski [Tue, 7 May 2019 09:02:53 +0000 (11:02 +0200)]
Make anonymous auth don't {de}register user when there are other resources
This should fix issue reported in #2878
Paweł Chmielowski [Tue, 7 May 2019 07:58:14 +0000 (09:58 +0200)]
When applying limit of max msgs in spool check only spool size
Paweł Chmielowski [Mon, 6 May 2019 18:03:10 +0000 (20:03 +0200)]
Remove compiler warnings
Paweł Chmielowski [Mon, 6 May 2019 17:19:10 +0000 (19:19 +0200)]
Test offline:use_mam_for_storage, mam:user_mucsub_from_muc_archive used together
Paweł Chmielowski [Mon, 6 May 2019 17:17:30 +0000 (19:17 +0200)]
Do not store mucsub wrapped messages with no-store hint in offline storage
We already don't store those messages in mam and we don't store messages
that aren't wrapped with that hint in offline, so it make sense to extend
it also to mucsub messages.
Paweł Chmielowski [Mon, 6 May 2019 17:15:48 +0000 (19:15 +0200)]
Handle get_subscribed_rooms call from mod_muc_room pid
Previously sometimes we tried to post message to all online rooms, and
if that was called from muc room pid, we were not able to process that
message for that room and send response, and this did lead to timeout.
Paweł Chmielowski [Mon, 6 May 2019 10:21:49 +0000 (12:21 +0200)]
Do not declare mod_muc as dependency of mod_mam to prevent loop in deps
Mickael Remond [Mon, 6 May 2019 10:00:36 +0000 (12:00 +0200)]
s2s test depend on Mnesia configuration
Mickael Remond [Mon, 6 May 2019 09:59:52 +0000 (11:59 +0200)]
Elixir mix build need to use xmpp 1.3.3
Mickael Remond [Fri, 3 May 2019 13:58:24 +0000 (15:58 +0200)]
Remove deprecated calls
Mickael Remond [Fri, 3 May 2019 13:54:22 +0000 (15:54 +0200)]
ct_formatter is not needed anymore as Elixir tests have been removed
Mickael Remond [Fri, 3 May 2019 13:48:12 +0000 (15:48 +0200)]
Use stable xmpp version
Mickael Remond [Fri, 3 May 2019 12:59:24 +0000 (14:59 +0200)]
Make some standard admin command to get Mnesia info
Badlop [Thu, 2 May 2019 19:10:21 +0000 (21:10 +0200)]
Fix bug that appears when importing privacy from Prosody (#2872)
Badlop [Thu, 2 May 2019 18:22:46 +0000 (20:22 +0200)]
Store imported room in the correct ServerHost (#2874)