]> granicus.if.org Git - ejabberd/log
ejabberd
7 years agoUpdate deps in mix.lock
Christophe Romain [Mon, 23 Jan 2017 13:42:52 +0000 (14:42 +0100)]
Update deps in mix.lock

7 years agoAvoid using maps:get/2 to keep compatibility with OTP 17.5
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

7 years agoFix calling to mod_offline:store_packet
Evgeniy Khramtsov [Mon, 23 Jan 2017 12:00:46 +0000 (15:00 +0300)]
Fix calling to mod_offline:store_packet

7 years agoDon't use maps:take it available in R19 only
Paweł Chmielowski [Mon, 23 Jan 2017 11:56:08 +0000 (12:56 +0100)]
Don't use maps:take it available in R19 only

7 years agoAdd tool for checking which dependences need update
Paweł Chmielowski [Mon, 23 Jan 2017 11:24:15 +0000 (12:24 +0100)]
Add tool for checking which dependences need update

7 years agoMake test suite working again
Evgeniy Khramtsov [Mon, 23 Jan 2017 10:51:05 +0000 (13:51 +0300)]
Make test suite working again

7 years agoMake a message is not bounced if it's archived
Evgeniy Khramtsov [Sat, 21 Jan 2017 10:47:47 +0000 (13:47 +0300)]
Make a message is not bounced if it's archived

7 years agoArchive message before delivering it to offline storage (#1348)
Evgeniy Khramtsov [Sat, 21 Jan 2017 08:47:04 +0000 (11:47 +0300)]
Archive message before delivering it to offline storage (#1348)

7 years agoSend <compressed/> in correct order
Evgeniy Khramtsov [Sat, 21 Jan 2017 07:47:55 +0000 (10:47 +0300)]
Send <compressed/> in correct order

7 years agoMerge pull request #1478 from weiss/multi-host-pubsub-cache
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

7 years agomod_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.

7 years agoAdd stanza-id to every archived message (#1477)
Evgeniy Khramtsov [Fri, 20 Jan 2017 20:21:06 +0000 (23:21 +0300)]
Add stanza-id to every archived message (#1477)

7 years agoUpdate copyright headers in new files
Evgeniy Khramtsov [Fri, 20 Jan 2017 16:56:19 +0000 (19:56 +0300)]
Update copyright headers in new files

7 years agoMerge branch 'new_stream'
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

7 years agoPrepare 17.01 for hex.pm 17.01
Christophe Romain [Fri, 20 Jan 2017 11:19:55 +0000 (12:19 +0100)]
Prepare 17.01 for hex.pm

7 years agoUse xmpp 1.1.6
Christophe Romain [Fri, 20 Jan 2017 10:51:56 +0000 (11:51 +0100)]
Use xmpp 1.1.6

7 years agoMake shim for mod_http_api admin_ip_access more robust
Paweł Chmielowski [Fri, 20 Jan 2017 09:19:09 +0000 (10:19 +0100)]
Make shim for mod_http_api admin_ip_access more robust

7 years agoTry db migration only when mnesia is configured (#1458)
Christophe Romain [Fri, 20 Jan 2017 08:26:13 +0000 (09:26 +0100)]
Try db migration only when mnesia is configured (#1458)

7 years agoRestore muc_invite_hook (#1467)
Evgeniy Khramtsov [Thu, 19 Jan 2017 15:24:29 +0000 (18:24 +0300)]
Restore muc_invite_hook (#1467)

7 years agoMake sure 'jabber:client' namespace is added to forwarded messages (#1474)
Evgeniy Khramtsov [Thu, 19 Jan 2017 15:03:07 +0000 (18:03 +0300)]
Make sure 'jabber:client' namespace is added to forwarded messages (#1474)

7 years agoRestore multiple invitations support (#1468)
Evgeniy Khramtsov [Thu, 19 Jan 2017 14:26:08 +0000 (17:26 +0300)]
Restore multiple invitations support (#1468)

7 years agoDon't forget to convert muc#roomconfig_mam
Evgeniy Khramtsov [Thu, 19 Jan 2017 13:42:04 +0000 (16:42 +0300)]
Don't forget to convert muc#roomconfig_mam

7 years agoSupport legacy muc#roomconfig values (#1469)
Evgeniy Khramtsov [Thu, 19 Jan 2017 08:12:27 +0000 (11:12 +0300)]
Support legacy muc#roomconfig values (#1469)

7 years agoFix typo
Christophe Romain [Wed, 18 Jan 2017 16:11:08 +0000 (17:11 +0100)]
Fix typo

7 years agoReset table only if new def change from runtime
Christophe Romain [Wed, 18 Jan 2017 16:02:03 +0000 (17:02 +0100)]
Reset table only if new def change from runtime

7 years agoImprove check of mnesia schema opearations
Christophe Romain [Wed, 18 Jan 2017 15:53:36 +0000 (16:53 +0100)]
Improve check of mnesia schema opearations

7 years agoFix reporting dialback failures
Evgeniy Khramtsov [Wed, 18 Jan 2017 15:26:31 +0000 (18:26 +0300)]
Fix reporting dialback failures

7 years agoDon't attempt to resolve _jabber._tcp SRV record
Evgeniy Khramtsov [Wed, 18 Jan 2017 14:54:42 +0000 (17:54 +0300)]
Don't attempt to resolve _jabber._tcp SRV record

7 years agoImprove <delay/> tag insertion
Evgeniy Khramtsov [Wed, 18 Jan 2017 11:09:39 +0000 (14:09 +0300)]
Improve <delay/> tag insertion

7 years agoCope with malformed values in 'rosterusers' SQL table (#1466)
Evgeniy Khramtsov [Wed, 18 Jan 2017 08:59:46 +0000 (11:59 +0300)]
Cope with malformed values in 'rosterusers' SQL table (#1466)

7 years agoBetter log bytestream termination
Evgeniy Khramtsov [Tue, 17 Jan 2017 20:06:55 +0000 (23:06 +0300)]
Better log bytestream termination

7 years agoUse crypto:exor/2 instead of hand-crafted bxor
Evgeniy Khramtsov [Tue, 17 Jan 2017 19:37:44 +0000 (22:37 +0300)]
Use crypto:exor/2 instead of hand-crafted bxor

7 years agoReset XML stream before sending SASL <success/>
Evgeniy Khramtsov [Tue, 17 Jan 2017 19:06:26 +0000 (22:06 +0300)]
Reset XML stream before sending SASL <success/>

7 years agoRemove wrong index setting
Christophe Romain [Tue, 17 Jan 2017 15:23:45 +0000 (16:23 +0100)]
Remove wrong index setting

7 years agoLet ejabberd_mnesia handles copy_type
Christophe Romain [Tue, 17 Jan 2017 14:05:14 +0000 (15:05 +0100)]
Let ejabberd_mnesia handles copy_type

7 years agoFix index processing (#1461)
Christophe Romain [Tue, 17 Jan 2017 13:53:41 +0000 (14:53 +0100)]
Fix index processing (#1461)

7 years agoSpeedup table setup, no io if EJABBERD_SCHEMA_PATH not set (#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)

7 years agoAvoid stopping mod_offline before supervisor termination (#1464)
Evgeniy Khramtsov [Tue, 17 Jan 2017 11:31:00 +0000 (14:31 +0300)]
Avoid stopping mod_offline before supervisor termination (#1464)

7 years agoGet rid of ejabberd_frontend_socket
Evgeniy Khramtsov [Tue, 17 Jan 2017 11:00:01 +0000 (14:00 +0300)]
Get rid of ejabberd_frontend_socket

7 years agoImprove error reporting for forbidden servers
Evgeniy Khramtsov [Tue, 17 Jan 2017 10:38:05 +0000 (13:38 +0300)]
Improve error reporting for forbidden servers

7 years agoDrop only messages with <body/> in mod_block_strangers
Alexey Shchepin [Mon, 16 Jan 2017 22:34:40 +0000 (01:34 +0300)]
Drop only messages with <body/> in mod_block_strangers

7 years agoStop hook on message drop 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

7 years agoUse user_receive_packet hook 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

7 years agoRemove stub in mob_block_strangers
Alexey Shchepin [Mon, 16 Jan 2017 15:21:15 +0000 (18:21 +0300)]
Remove stub in mob_block_strangers

7 years agoMerge branch 'new_stream' of github.com:processone/ejabberd into new_stream
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

7 years agoAdd mod_block_strangers
Alexey Shchepin [Mon, 16 Jan 2017 15:13:48 +0000 (18:13 +0300)]
Add mod_block_strangers

7 years agoAdd script to check hook dependencies
Evgeniy Khramtsov [Mon, 16 Jan 2017 14:14:33 +0000 (17:14 +0300)]
Add script to check hook dependencies

7 years agoDon't allow raw elements in process_iq/3
Evgeniy Khramtsov [Mon, 16 Jan 2017 13:40:11 +0000 (16:40 +0300)]
Don't allow raw elements in process_iq/3

7 years agoImplement database backend interface for mod_proxy65
Evgeniy Khramtsov [Mon, 16 Jan 2017 12:28:11 +0000 (15:28 +0300)]
Implement database backend interface for mod_proxy65

7 years agoCorrectly set gen_server's name
Evgeniy Khramtsov [Mon, 16 Jan 2017 08:43:35 +0000 (11:43 +0300)]
Correctly set gen_server's name

7 years agoRemove handle_event/1 callback
Evgeniy Khramtsov [Mon, 16 Jan 2017 08:34:49 +0000 (11:34 +0300)]
Remove handle_event/1 callback

7 years agoAdd mod_sm and mod_s2s_dialback to example config
Evgeniy Khramtsov [Mon, 16 Jan 2017 07:12:46 +0000 (10:12 +0300)]
Add mod_sm and mod_s2s_dialback to example config

7 years agoAdd example api_permisions: definition to config template
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

7 years agoDecode message before checking for expiration (#1458)
Evgeniy Khramtsov [Fri, 13 Jan 2017 11:20:25 +0000 (14:20 +0300)]
Decode message before checking for expiration (#1458)

7 years agoUsable size for Shared rosters members textarea (EJAB-1753)
Badlop [Fri, 13 Jan 2017 11:16:23 +0000 (12:16 +0100)]
Usable size for Shared rosters members textarea (EJAB-1753)

7 years agoFix configuration commands (#1432)
Evgeniy Khramtsov [Fri, 13 Jan 2017 10:36:28 +0000 (13:36 +0300)]
Fix configuration commands (#1432)

7 years agoAdd forgotten -include_lib()
Evgeniy Khramtsov [Fri, 13 Jan 2017 10:28:55 +0000 (13:28 +0300)]
Add forgotten -include_lib()

7 years agoImplement database backend interface for MUC, BOSH and auth_anonyous
Evgeniy Khramtsov [Fri, 13 Jan 2017 09:03:39 +0000 (12:03 +0300)]
Implement database backend interface for MUC, BOSH and auth_anonyous

7 years agoFix some corner cases while re-reading RFC6120
Evgeniy Khramtsov [Fri, 13 Jan 2017 08:35:47 +0000 (11:35 +0300)]
Fix some corner cases while re-reading RFC6120

7 years agoIgnore unexpected events
Evgeniy Khramtsov [Wed, 11 Jan 2017 13:50:11 +0000 (16:50 +0300)]
Ignore unexpected events

7 years agoImplement database backend interface for ejabberd_router
Evgeniy Khramtsov [Wed, 11 Jan 2017 13:25:43 +0000 (16:25 +0300)]
Implement database backend interface for ejabberd_router

7 years agoFix attaching ejabberd_s2s_out process to a supervisor
Evgeniy Khramtsov [Wed, 11 Jan 2017 08:09:56 +0000 (11:09 +0300)]
Fix attaching ejabberd_s2s_out process to a supervisor

7 years agoAdd 'supervisor' listening option
Evgeniy Khramtsov [Wed, 11 Jan 2017 07:56:04 +0000 (10:56 +0300)]
Add 'supervisor' listening option

If set to 'true' (this is the default), new processes spawned by
ejabberd_listener will be attached to the corresponding supervisor.
No such processes will be attached to a supervisor otherwise.
Setting this to 'false' will improve performance of high loaded
systems where new C2S/S2S processes are spawned very rapidly.

7 years agoAdd SSL support for SQL connections
Evgeniy Khramtsov [Tue, 10 Jan 2017 14:40:38 +0000 (17:40 +0300)]
Add SSL support for SQL connections

Currently only PostgreSQL is supported.
This requires p1_pgsql-1.1.2 and higher.

7 years agoupdate deps
Christophe Romain [Tue, 10 Jan 2017 14:11:41 +0000 (15:11 +0100)]
update deps

7 years agopubsub_subscription may is not used (migration is optional)
Christophe Romain [Tue, 10 Jan 2017 12:52:58 +0000 (13:52 +0100)]
pubsub_subscription may is not used (migration is optional)

7 years agoFix migration of old pubsub database (#1409)
Christophe Romain [Tue, 10 Jan 2017 11:10:11 +0000 (12:10 +0100)]
Fix migration of old pubsub database (#1409)

7 years agoAllow old-stype mod_vcard_ldap in the config (#1410)
Evgeniy Khramtsov [Tue, 10 Jan 2017 08:29:01 +0000 (11:29 +0300)]
Allow old-stype mod_vcard_ldap in the config (#1410)

7 years agoDon't forget to advertise disco features
Evgeniy Khramtsov [Tue, 10 Jan 2017 08:25:12 +0000 (11:25 +0300)]
Don't forget to advertise disco features

7 years agoMake stream related calls module independent
Evgeniy Khramtsov [Mon, 9 Jan 2017 19:03:42 +0000 (22:03 +0300)]
Make stream related calls module independent

7 years agoFix typo in previous commit
Badlop [Mon, 9 Jan 2017 16:54:10 +0000 (17:54 +0100)]
Fix typo in previous commit

7 years agoSimplify setting allow_subscription (#1404)
Badlop [Mon, 9 Jan 2017 14:56:25 +0000 (15:56 +0100)]
Simplify setting allow_subscription (#1404)

7 years agoSet from/to in every routed packet
Evgeniy Khramtsov [Mon, 9 Jan 2017 14:51:08 +0000 (17:51 +0300)]
Set from/to in every routed packet

7 years agoRemove unused mod_ip_blacklist module
Evgeniy Khramtsov [Mon, 9 Jan 2017 14:22:31 +0000 (17:22 +0300)]
Remove unused mod_ip_blacklist module

7 years agoAdopt remaining code to support new hooks
Evgeniy Khramtsov [Mon, 9 Jan 2017 14:02:17 +0000 (17:02 +0300)]
Adopt remaining code to support new hooks

7 years agoFix problem with get_vcard command (#1447)
Badlop [Fri, 6 Jan 2017 15:13:57 +0000 (16:13 +0100)]
Fix problem with get_vcard command (#1447)

7 years agoGet nodes from ejabberd_cluster instead of mnesia
Christophe Romain [Tue, 3 Jan 2017 16:21:02 +0000 (17:21 +0100)]
Get nodes from ejabberd_cluster instead of mnesia

7 years agoCleanup file headers
Christophe Romain [Tue, 3 Jan 2017 14:58:52 +0000 (15:58 +0100)]
Cleanup file headers

8 years agoSpecify that process_rosteritems command works only with Mnesia storage
Badlop [Tue, 3 Jan 2017 00:38:56 +0000 (01:38 +0100)]
Specify that process_rosteritems command works only with Mnesia storage

8 years agoUpdate copyright date automatically (#1442)
Badlop [Mon, 2 Jan 2017 20:41:53 +0000 (21:41 +0100)]
Update copyright date automatically (#1442)

8 years agoRemove mod_http_bind and migration code to mod_bosh
Paweł Chmielowski [Mon, 2 Jan 2017 14:53:25 +0000 (15:53 +0100)]
Remove mod_http_bind and migration code to mod_bosh

8 years agoFix cyrsasl test after recent changes
Paweł Chmielowski [Mon, 2 Jan 2017 12:36:21 +0000 (13:36 +0100)]
Fix cyrsasl test after recent changes

8 years agoCorrectly process errors from new cyrsasl API
Evgeniy Khramtsov [Mon, 2 Jan 2017 12:02:03 +0000 (15:02 +0300)]
Correctly process errors from new cyrsasl API

8 years agoImprove return values in cyrsasl API
Evgeniy Khramtsov [Sat, 31 Dec 2016 10:47:35 +0000 (13:47 +0300)]
Improve return values in cyrsasl API

8 years agoGet rid of "jlib.hrl" header in some files
Evgeniy Khramtsov [Mon, 2 Jan 2017 11:45:52 +0000 (14:45 +0300)]
Get rid of "jlib.hrl" header in some files

8 years agoBetter cope with IPv6 domains
Evgeniy Khramtsov [Sat, 31 Dec 2016 14:43:40 +0000 (17:43 +0300)]
Better cope with IPv6 domains

8 years agoReflect cyrsasl API changes in remaining code
Evgeniy Khramtsov [Sat, 31 Dec 2016 10:48:55 +0000 (13:48 +0300)]
Reflect cyrsasl API changes in remaining code

8 years agoImprove return values in cyrsasl API
Evgeniy Khramtsov [Sat, 31 Dec 2016 10:47:35 +0000 (13:47 +0300)]
Improve return values in cyrsasl API

8 years agoMore refactoring on session management
Evgeniy Khramtsov [Thu, 29 Dec 2016 21:00:36 +0000 (00:00 +0300)]
More refactoring on session management

8 years agoFix case clauses when using compression (#1431)(thanks to Evgeniy Khramtsov)
Badlop [Thu, 29 Dec 2016 14:18:42 +0000 (15:18 +0100)]
Fix case clauses when using compression (#1431)(thanks to Evgeniy Khramtsov)

8 years agoAdd xmpp_stream_out behaviour and rewrite s2s/SM code
Evgeniy Khramtsov [Wed, 28 Dec 2016 06:47:11 +0000 (09:47 +0300)]
Add xmpp_stream_out behaviour and rewrite s2s/SM code

8 years agoCleanup file headers
Christophe Romain [Tue, 27 Dec 2016 09:44:07 +0000 (10:44 +0100)]
Cleanup file headers

8 years agoAllow subscriber to create room, then set allow_subscription=true (#1404)
Badlop [Mon, 26 Dec 2016 20:15:52 +0000 (21:15 +0100)]
Allow subscriber to create room, then set allow_subscription=true (#1404)

8 years agoRevert "Fix 'nodetree' configuration lookups for PEP"
Holger Weiss [Sun, 25 Dec 2016 00:24:40 +0000 (01:24 +0100)]
Revert "Fix 'nodetree' configuration lookups for PEP"

This reverts commit 7ef8dfb4e0d61f34ce07e7b65edcbe0cb164d2f5.

The config/3 function copes with the PEP case.

8 years agoFix 'nodetree' configuration lookups for PEP
Holger Weiss [Sat, 24 Dec 2016 23:58:20 +0000 (00:58 +0100)]
Fix 'nodetree' configuration lookups for PEP

8 years agoPrepare mix for 16.12 16.12
Christophe Romain [Thu, 22 Dec 2016 19:41:01 +0000 (20:41 +0100)]
Prepare mix for 16.12

8 years agoUpdate deps
Paweł Chmielowski [Thu, 22 Dec 2016 14:10:57 +0000 (15:10 +0100)]
Update deps

8 years agoExtract correctly the text from #stanza_error (#1425)
Badlop [Sat, 17 Dec 2016 10:45:28 +0000 (11:45 +0100)]
Extract correctly the text from #stanza_error (#1425)

8 years agoDescribe command arguments and results in ejabberd_admin
Badlop [Mon, 12 Dec 2016 12:18:31 +0000 (13:18 +0100)]
Describe command arguments and results in ejabberd_admin

8 years agoRewrite ejabberd_service to use new XMPP stream API
Evgeniy Khramtsov [Sun, 11 Dec 2016 15:24:51 +0000 (18:24 +0300)]
Rewrite ejabberd_service to use new XMPP stream API