]>
granicus.if.org Git - ejabberd/log
Evgeniy Khramtsov [Thu, 16 Feb 2017 08:00:26 +0000 (11:00 +0300)]
Change routing API
Now 'From' and 'To' arguments must be omitted in functions
and structures related to routing.
The commit deprecates the following functions:
ejabberd_router:route/3 in favor of ejabberd_router:route/1
ejabberd_router:route_error/4 in favor of ejabberd_router:route_error/2
ejabberd_local:route_iq/4 in favor of ejabberd_local:route_iq/2
ejabberd_local:route_iq/5 in favor of ejabberd_local:route_iq/3
The format of {route, From, To, Packet} is changed in favor of {route, Packet}
Evgeniy Khramtsov [Wed, 15 Feb 2017 21:23:00 +0000 (00:23 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Wed, 15 Feb 2017 21:22:48 +0000 (00:22 +0300)]
Remove relict mod_service_log
Paweł Chmielowski [Wed, 15 Feb 2017 13:11:12 +0000 (14:11 +0100)]
Disable undefined_function_calls xref_check
It looks like it will calling undefined function still will be catched
by xref_queries
Evgeniy Khramtsov [Tue, 14 Feb 2017 14:10:16 +0000 (17:10 +0300)]
Report password change in the log
Evgeniy Khramtsov [Tue, 14 Feb 2017 14:09:25 +0000 (17:09 +0300)]
Attach IP metadata to every stanza received from stream
Paweł Chmielowski [Tue, 14 Feb 2017 14:06:00 +0000 (15:06 +0100)]
Use newer p1_utils
Paweł Chmielowski [Tue, 14 Feb 2017 13:34:02 +0000 (14:34 +0100)]
Fix handling of config.ctc files
Paweł Chmielowski [Tue, 14 Feb 2017 13:33:44 +0000 (14:33 +0100)]
Add more check to make xref
Evgeniy Khramtsov [Tue, 14 Feb 2017 12:39:57 +0000 (15:39 +0300)]
Only use GEN_SERVER macro where appropriate
Evgeniy Khramtsov [Tue, 14 Feb 2017 09:39:26 +0000 (12:39 +0300)]
Attach modules to gen_mod's supervisor
Evgeny Khramtsov [Tue, 14 Feb 2017 07:38:05 +0000 (11:38 +0400)]
Merge pull request #1539 from lemenkov/use_crypto_sha
RFE: Use crypto:hash/2 function
Evgeniy Khramtsov [Tue, 14 Feb 2017 07:25:08 +0000 (10:25 +0300)]
Improve modules start/stop procedures
Peter Lemenkov [Mon, 13 Feb 2017 15:35:57 +0000 (18:35 +0300)]
Use crypto:hash/2 function
Use crypto:hash/2 function instead of ones from p1_sha.
This function exists since commit
erlang/otp@
208f9ad3828313f6c659a501d53f5534ec1bdf2e and also implemented
as NIF, so I believe it's safe to use it.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Evgeniy Khramtsov [Mon, 13 Feb 2017 08:11:41 +0000 (11:11 +0300)]
Check result of gen_mod:start/2 callback (#1534)
Evgeniy Khramtsov [Sun, 12 Feb 2017 07:06:30 +0000 (10:06 +0300)]
Apply SASLprep before storing/converting passwords
Fixes #996 and #1295
Evgeniy Khramtsov [Wed, 8 Feb 2017 14:16:18 +0000 (17:16 +0300)]
Use p1_server behaviour in xmpp_stream layer
Paweł Chmielowski [Mon, 6 Feb 2017 20:40:37 +0000 (21:40 +0100)]
Accept "add_commands: admin" in commands section not only "add_commands: - admin"
This fixes issue reported in #1518, and restores compatibility with
what older version were accepting and what is documented.
Paweł Chmielowski [Mon, 6 Feb 2017 10:38:51 +0000 (11:38 +0100)]
Don't shadow binding in match
Evgeniy Khramtsov [Mon, 6 Feb 2017 10:30:58 +0000 (13:30 +0300)]
Add TLS support for external components
Paweł Chmielowski [Fri, 3 Feb 2017 14:22:35 +0000 (15:22 +0100)]
Make sure that api_permissions always have "console commands" section
If user didn't override it in config file, default version which allows
executing all commands will be added
Badlop [Tue, 31 Jan 2017 18:18:19 +0000 (19:18 +0100)]
Set subscribers nicks when recreating room (thanks to Girdhar Sojitra)(#1495)
Badlop [Tue, 31 Jan 2017 16:50:04 +0000 (17:50 +0100)]
Support non-JID lines in command create_rooms_file
Christophe Romain [Tue, 31 Jan 2017 10:02:23 +0000 (11:02 +0100)]
Depend on fast_xml-1.1.20
Christophe Romain [Tue, 31 Jan 2017 08:53:52 +0000 (09:53 +0100)]
Don't warn if custom schema is not available
Evgeny Khramtsov [Mon, 30 Jan 2017 14:15:25 +0000 (18:15 +0400)]
Merge pull request #1502 from lemenkov/ignore_output_val
No need to explicitly return ok here
Peter Lemenkov [Mon, 30 Jan 2017 13:29:53 +0000 (14:29 +0100)]
No need to explicitly return ok here
No need to explicitly return ok here. Return value will be ignored
anyway.
Signed-off-by: Peter Lemenkov <lemenkov@redhat.com>
Paweł Chmielowski [Sun, 29 Jan 2017 13:51:03 +0000 (14:51 +0100)]
Use newer version of epam
Paweł Chmielowski [Sun, 29 Jan 2017 13:35:22 +0000 (14:35 +0100)]
More changes that are required from p1_pam -> epam
Paweł Chmielowski [Sun, 29 Jan 2017 13:16:35 +0000 (14:16 +0100)]
Change name of pam dep from p1_pam to epam
We need to use same name as .app file or rebar complains
Paweł Chmielowski [Sun, 29 Jan 2017 11:14:32 +0000 (12:14 +0100)]
Floating deps should always be executed
This fixes problem with recognizing latest_deps configure option
Paweł Chmielowski [Thu, 26 Jan 2017 15:43:47 +0000 (16:43 +0100)]
Improve compilation with rebar3
Evgeniy Khramtsov [Thu, 26 Jan 2017 07:59:31 +0000 (10:59 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Thu, 26 Jan 2017 07:58:26 +0000 (10:58 +0300)]
Do not drop default TLS options
Fixes #1484
Paweł Chmielowski [Tue, 24 Jan 2017 18:16:50 +0000 (19:16 +0100)]
Adapt to coveralls api change
Evgeniy Khramtsov [Tue, 24 Jan 2017 07:39:40 +0000 (10:39 +0300)]
Change OTP version from 19.1 to 19.2 in travis config
Evgeniy Khramtsov [Tue, 24 Jan 2017 07:38:29 +0000 (10:38 +0300)]
Speedup features list when a lot of virtual hosts configured
Paweł Chmielowski [Mon, 23 Jan 2017 19:43:35 +0000 (20:43 +0100)]
Fix tests
Evgeniy Khramtsov [Mon, 23 Jan 2017 19:33:46 +0000 (22:33 +0300)]
Make mod_disco handle features of mod_ping
Evgeniy Khramtsov [Mon, 23 Jan 2017 18:52:35 +0000 (21:52 +0300)]
Merge branch 'master' of github.com:processone/ejabberd
Evgeniy Khramtsov [Mon, 23 Jan 2017 18:52:25 +0000 (21:52 +0300)]
Make sure only {exit, normal} is not catched when executing a hook
PaweÅ\82 Chmielowski [Mon, 23 Jan 2017 18:34:22 +0000 (19:34 +0100)]
Adapt to new ejabberd_sm changes
Alexey Shchepin [Mon, 23 Jan 2017 16:04:22 +0000 (19:04 +0300)]
Compatibility with R17 in mod_block_strangers
Alexey Shchepin [Mon, 23 Jan 2017 14:10:28 +0000 (17:10 +0300)]
Check message subject in mod_block_strangers
Christophe Romain [Mon, 23 Jan 2017 13:42:52 +0000 (14:42 +0100)]
Update deps in mix.lock
Evgeniy Khramtsov [Mon, 23 Jan 2017 13:30:16 +0000 (16:30 +0300)]
Avoid using maps:get/2 to keep compatibility with OTP 17.5
Evgeniy Khramtsov [Mon, 23 Jan 2017 12:00:46 +0000 (15:00 +0300)]
Fix calling to mod_offline:store_packet
Paweł Chmielowski [Mon, 23 Jan 2017 11:56:08 +0000 (12:56 +0100)]
Don't use maps:take it available in R19 only
Paweł Chmielowski [Mon, 23 Jan 2017 11:24:15 +0000 (12:24 +0100)]
Add tool for checking which dependences need update
Evgeniy Khramtsov [Mon, 23 Jan 2017 10:51:05 +0000 (13:51 +0300)]
Make test suite working again
Evgeniy Khramtsov [Sat, 21 Jan 2017 10:47:47 +0000 (13:47 +0300)]
Make a message is not bounced if it's archived
Evgeniy Khramtsov [Sat, 21 Jan 2017 08:47:04 +0000 (11:47 +0300)]
Archive message before delivering it to offline storage (#1348)
Evgeniy Khramtsov [Sat, 21 Jan 2017 07:47:55 +0000 (10:47 +0300)]
Send <compressed/> in correct order
Evgeny Khramtsov [Sat, 21 Jan 2017 07:17:06 +0000 (11:17 +0400)]
Merge pull request #1478 from weiss/multi-host-pubsub-cache
mod_pubsub: Fix last item cache for multiple hosts
Holger Weiss [Fri, 20 Jan 2017 23:14:56 +0000 (00:14 +0100)]
mod_pubsub: Fix last item cache for multiple hosts
Don't let the last item cache intermix PubSub items of different virtual
domains.
Evgeniy Khramtsov [Fri, 20 Jan 2017 20:21:06 +0000 (23:21 +0300)]
Add stanza-id to every archived message (#1477)
Evgeniy Khramtsov [Fri, 20 Jan 2017 16:56:19 +0000 (19:56 +0300)]
Update copyright headers in new files
Evgeniy Khramtsov [Fri, 20 Jan 2017 16:35:46 +0000 (19:35 +0300)]
Merge branch 'new_stream'
Conflicts:
src/cyrsasl.erl
src/ejabberd_c2s.erl
src/ejabberd_cluster.erl
src/ejabberd_frontend_socket.erl
src/ejabberd_node_groups.erl
src/ejabberd_router.erl
src/mod_bosh.erl
src/mod_ip_blacklist.erl
src/mod_muc_mnesia.erl
src/mod_offline.erl
src/mod_proxy65_sm.erl
Christophe Romain [Fri, 20 Jan 2017 11:19:55 +0000 (12:19 +0100)]
Prepare 17.01 for hex.pm
Christophe Romain [Fri, 20 Jan 2017 10:51:56 +0000 (11:51 +0100)]
Use xmpp 1.1.6
Paweł Chmielowski [Fri, 20 Jan 2017 09:19:09 +0000 (10:19 +0100)]
Make shim for mod_http_api admin_ip_access more robust
Christophe Romain [Fri, 20 Jan 2017 08:26:13 +0000 (09:26 +0100)]
Try db migration only when mnesia is configured (#1458)
Evgeniy Khramtsov [Thu, 19 Jan 2017 15:24:29 +0000 (18:24 +0300)]
Restore muc_invite_hook (#1467)
Evgeniy Khramtsov [Thu, 19 Jan 2017 15:03:07 +0000 (18:03 +0300)]
Make sure 'jabber:client' namespace is added to forwarded messages (#1474)
Evgeniy Khramtsov [Thu, 19 Jan 2017 14:26:08 +0000 (17:26 +0300)]
Restore multiple invitations support (#1468)
Evgeniy Khramtsov [Thu, 19 Jan 2017 13:42:04 +0000 (16:42 +0300)]
Don't forget to convert muc#roomconfig_mam
Evgeniy Khramtsov [Thu, 19 Jan 2017 08:12:27 +0000 (11:12 +0300)]
Support legacy muc#roomconfig values (#1469)
Christophe Romain [Wed, 18 Jan 2017 16:11:08 +0000 (17:11 +0100)]
Fix typo
Christophe Romain [Wed, 18 Jan 2017 16:02:03 +0000 (17:02 +0100)]
Reset table only if new def change from runtime
Christophe Romain [Wed, 18 Jan 2017 15:53:36 +0000 (16:53 +0100)]
Improve check of mnesia schema opearations
Evgeniy Khramtsov [Wed, 18 Jan 2017 15:26:31 +0000 (18:26 +0300)]
Fix reporting dialback failures
Evgeniy Khramtsov [Wed, 18 Jan 2017 14:54:42 +0000 (17:54 +0300)]
Don't attempt to resolve _jabber._tcp SRV record
Evgeniy Khramtsov [Wed, 18 Jan 2017 11:09:39 +0000 (14:09 +0300)]
Improve <delay/> tag insertion
Evgeniy Khramtsov [Wed, 18 Jan 2017 08:59:46 +0000 (11:59 +0300)]
Cope with malformed values in 'rosterusers' SQL table (#1466)
Evgeniy Khramtsov [Tue, 17 Jan 2017 20:06:55 +0000 (23:06 +0300)]
Better log bytestream termination
Evgeniy Khramtsov [Tue, 17 Jan 2017 19:37:44 +0000 (22:37 +0300)]
Use crypto:exor/2 instead of hand-crafted bxor
Evgeniy Khramtsov [Tue, 17 Jan 2017 19:06:26 +0000 (22:06 +0300)]
Reset XML stream before sending SASL <success/>
Christophe Romain [Tue, 17 Jan 2017 15:23:45 +0000 (16:23 +0100)]
Remove wrong index setting
Christophe Romain [Tue, 17 Jan 2017 14:05:14 +0000 (15:05 +0100)]
Let ejabberd_mnesia handles copy_type
Christophe Romain [Tue, 17 Jan 2017 13:53:41 +0000 (14:53 +0100)]
Fix index processing (#1461)
Christophe Romain [Tue, 17 Jan 2017 13:22:12 +0000 (14:22 +0100)]
Speedup table setup, no io if EJABBERD_SCHEMA_PATH not set (#1461)
Evgeniy Khramtsov [Tue, 17 Jan 2017 11:31:00 +0000 (14:31 +0300)]
Avoid stopping mod_offline before supervisor termination (#1464)
Evgeniy Khramtsov [Tue, 17 Jan 2017 11:00:01 +0000 (14:00 +0300)]
Get rid of ejabberd_frontend_socket
Evgeniy Khramtsov [Tue, 17 Jan 2017 10:38:05 +0000 (13:38 +0300)]
Improve error reporting for forbidden servers
Alexey Shchepin [Mon, 16 Jan 2017 22:34:40 +0000 (01:34 +0300)]
Drop only messages with <body/> in mod_block_strangers
Alexey Shchepin [Mon, 16 Jan 2017 15:45:26 +0000 (18:45 +0300)]
Stop hook on message drop in mod_block_strangers
Alexey Shchepin [Mon, 16 Jan 2017 15:40:30 +0000 (18:40 +0300)]
Use user_receive_packet hook in mod_block_strangers
Alexey Shchepin [Mon, 16 Jan 2017 15:21:15 +0000 (18:21 +0300)]
Remove stub in mob_block_strangers
Evgeniy Khramtsov [Mon, 16 Jan 2017 15:15:08 +0000 (18:15 +0300)]
Merge branch 'new_stream' of github.com:processone/ejabberd into new_stream
Alexey Shchepin [Mon, 16 Jan 2017 15:13:48 +0000 (18:13 +0300)]
Add mod_block_strangers
Evgeniy Khramtsov [Mon, 16 Jan 2017 14:14:33 +0000 (17:14 +0300)]
Add script to check hook dependencies
Evgeniy Khramtsov [Mon, 16 Jan 2017 13:40:11 +0000 (16:40 +0300)]
Don't allow raw elements in process_iq/3
Evgeniy Khramtsov [Mon, 16 Jan 2017 12:28:11 +0000 (15:28 +0300)]
Implement database backend interface for mod_proxy65
Evgeniy Khramtsov [Mon, 16 Jan 2017 08:43:35 +0000 (11:43 +0300)]
Correctly set gen_server's name
Evgeniy Khramtsov [Mon, 16 Jan 2017 08:34:49 +0000 (11:34 +0300)]
Remove handle_event/1 callback
Evgeniy Khramtsov [Mon, 16 Jan 2017 07:12:46 +0000 (10:12 +0300)]
Add mod_sm and mod_s2s_dialback to example config
Paweł Chmielowski [Fri, 13 Jan 2017 15:53:48 +0000 (16:53 +0100)]
Add example api_permisions: definition to config template
Also expand default config to have rule for admin oauth
Evgeniy Khramtsov [Fri, 13 Jan 2017 11:20:25 +0000 (14:20 +0300)]
Decode message before checking for expiration (#1458)
Badlop [Fri, 13 Jan 2017 11:16:23 +0000 (12:16 +0100)]
Usable size for Shared rosters members textarea (EJAB-1753)
Evgeniy Khramtsov [Fri, 13 Jan 2017 10:36:28 +0000 (13:36 +0300)]
Fix configuration commands (#1432)