Evgeniy Khramtsov
8f3f74a6d7
Only migrate C2S processes with remote sockets
...
Conflicts:
src/ejabberd_c2s.erl
src/ejabberd_sm.erl
2012-11-16 20:36:40 +10:00
Evgeniy Khramtsov
ff2050b301
Clean tables from remote pids when their node goes down
...
Conflicts:
src/ejabberd_sm.erl
src/mod_muc/mod_muc.erl
src/web/mod_bosh.erl
2012-11-15 15:16:42 +10:00
Evgeniy Khramtsov
a70c72e50e
Move SM dispatchers code in a separate file
...
and make it more robust (EJABS-1845)
Conflicts:
src/ejabberd_sm.erl
src/ejabberd_sup.erl
2012-09-13 17:09:32 +10:00
Evgeniy Khramtsov
b82789f11d
Make gen_iq_handlers more robust (EJABS-1758)
...
Conflicts:
src/ejabberd_local.erl
src/ejabberd_sm.erl
src/gen_iq_handler.erl
2012-09-13 17:04:13 +10:00
Christophe Romain
011535f0de
binary refactoring
2012-09-11 15:45:59 +02:00
Christophe Romain
7d7c739cb3
Merge remote-tracking branch 'mainline/2.1.x' into 2.2.x
2012-02-23 16:59:22 +01:00
Alexey Shchepin
b1e2538488
Update copyright dates
2012-02-23 17:52:34 +02:00
Badlop
dd772404c5
Merge branch '2.1.x' into 2.2.x
...
Conflicts:
src/configure
src/ejabberd.app
src/ejabberd_auth_anonymous.erl
src/ejabberd_c2s.erl
src/ejabberd_sm.erl
2011-08-24 18:29:25 +02:00
Badlop
a0f8a2c3a4
New option resource_conflict defines server action (thanks to Lee Boynton)(EJAB-650)
2011-08-17 19:44:39 +02:00
Evgeniy Khramtsov
5bef1a8f77
Now it is possible to migrate C2S/BOSH/MUC sessions.
...
Example usage:
$ ejabberdctl stop_migrate 30
This will migrate c2s/bosh/muc processes smoothly within 30 seconds and stop ejabberd.
The commit also resolves EJABS-1661
2011-08-13 19:05:21 +10:00
Evgeniy Khramtsov
38693a670b
Process ejabberd_sm messages using several dispatchers (EJABS-1653)
2011-05-02 22:37:33 +10:00
Evgeniy Khramtsov
4a2f62062e
New migration procedure
2011-04-27 15:07:10 +10:00
Christophe Romain
f39ccd73c5
Merge remote branch 'mainline/2.1.x' into 2.2.x
2011-02-14 13:54:06 +01:00
Christophe Romain
fd52f2cb7d
update copyright up to 2011
2011-02-14 13:50:55 +01:00
Christophe Romain
f485109c39
refactor pubsub broadcast to allow big optimization
2011-02-08 17:14:19 +01:00
Evgeniy Khramtsov
191cd2af3c
different hooks should be called for session migration and session close
2010-09-21 03:17:52 +10:00
Christophe Romain
628571f8cf
merge from ekhramtsov-ejabberd, which is latest 2.1.x with consistent hash
2010-07-13 12:04:30 +02:00
Badlop
afa0f4d403
Fix for Erlang R12, that doesn't support: true andalso ok
2010-06-15 22:59:53 +02:00
Badlop
6ae1f62469
Don't store blocked messages in offline queue (thanks to Brian Acton)(EJAB-1224)
2010-04-27 13:30:00 +02:00
Badlop
1c00a9713d
Automatic vcard avatar addition in presence (thanks to Igor Goryachev)(EJAB-208)
2010-04-27 12:33:56 +02:00
Badlop
47ee65d101
Rewrite mnesia counter functions to use dirty_update_counter (EJAB-1177)
...
(thanks to Juan Pablo Carlino and Alexey Shchepin)
2010-02-15 23:38:17 +01:00
Badlop
7b76fdcde7
Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)
...
SVN Revision: 2891
2010-01-12 16:11:32 +00:00
Badlop
6ce660b9c2
IQ sent to resource not connected, return service-unavailable instead of recipient-unavailable (EJAB-1045)
...
SVN Revision: 2768
2009-12-01 20:00:33 +00:00
Badlop
08a72c1693
Store account number in internal auth of (EJAB-981)(thanks to Juan Pablo Carlino)
...
SVN Revision: 2365
2009-07-17 19:05:55 +00:00
Badlop
a93a3370ef
* src/ejabberd_sm.erl: Partially retract SVN r1976
...
EJAB-300 (EJAB-890). Check default privacy list when account, not
a specific session, receives a presence subscription
stanza (EJAB-300).
* src/ejabberd_c2s.erl: Likewise
SVN Revision: 1998
2009-03-24 16:22:33 +00:00
Badlop
787d225f1e
* src/ejabberd_c2s.erl: Enforce privacy rules also for
...
subscription requests (EJAB-300)
* src/ejabberd_sm.erl: Likewise
SVN Revision: 1976
2009-03-07 08:59:26 +00:00
Badlop
f09509502e
* doc/guide.tex: Update copyright date 2008 to 2009 (EJAB-842)
...
* doc/guide.html: Likewise
* src/*/*.erl: Likewise
* src/*/*.erl: Remove unneeded blankspaces in license text
SVN Revision: 1804
2009-01-12 14:44:42 +00:00
Badlop
3bfe585364
* src/ejabberd_sm.erl: Update from ctl to commands (EJAB-694)
...
* src/ejabberd_s2s.erl: Likewise
SVN Revision: 1639
2008-10-12 12:04:10 +00:00
Badlop
c3bda4aaee
* doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708)
...
* doc/guide.html: Likewise
* doc/api/overview.edoc: Likewise
* src/*/*.erl: Likewise
* src/*/*.hrl: Likewise
* src/*/*.c: Likewise
* src/odbc/*.sql: Likewise
SVN Revision: 1499
2008-07-31 11:18:49 +00:00
Christophe Romain
e0e7797e99
Rolled back the previous IP getting patch, and Report connection's IP address in ejabberd_http_poll
...
SVN Revision: 1450
2008-07-16 12:55:29 +00:00
Christophe Romain
35d25d3420
PubSub improvements, and solves (EJAB-453) (EJAB-608)
...
SVN Revision: 1408
2008-07-03 09:56:31 +00:00
Christophe Romain
b2bd9759c8
Rewrite io:format calls to loglevel macros (EJAB-555)
...
SVN Revision: 1239
2008-03-21 14:44:16 +00:00
Christophe Romain
04d688c1ba
Retreive connection type in sm_register_connection_hook
...
SVN Revision: 1194
2008-02-15 16:35:32 +00:00
Badlop
2d2fcc8210
* doc/guide.tex: Updated copyright dates to 2008
...
* src/*: Likewise
SVN Revision: 1153
2008-01-15 17:02:57 +00:00
Mickaël Rémond
56fe3579bb
* Applied copyright update patch 1.
...
SVN Revision: 1110
2007-12-24 11:41:41 +00:00
Christophe Romain
02eaf9eaec
several pubsub/pep bugfix
...
SVN Revision: 1096
2007-12-22 00:04:05 +00:00
Alexey Shchepin
d788bd1a27
* src/ejabberd_sm.erl: Bugfix
...
SVN Revision: 1050
2007-12-07 20:57:44 +00:00
Badlop
6342c258a7
* src/cyrsasl.erl: Fix compilation warnings: Part 1 (EJAB-290)
...
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_config.erl: Likewise
* src/ejabberd_hooks.erl: Likewise
* src/ejabberd_s2s_out.erl: Likewise
* src/ejabberd_sm.erl: Likewise
* src/idna.erl: Likewise
* src/jd2ejd.erl: Likewise
SVN Revision: 1045
2007-12-06 23:15:04 +00:00
Alexey Shchepin
c3c782d882
* src/mod_caps.erl: CAPS support (thanks to Magnus Henoch)
...
* src/ejabberd_local.erl: Support for IQ responses
* src/jlib.erl: Added iq_query_or_response_info/1 function
* src/jlib.hrl: Added NS_PUBSUB_ERRORS and NS_CAPS
* src/mod_pubsub/Makefile.in: New pubsub+pep implementation
(thanks to Christophe Romain and Magnus Henoch)
* src/ejabberd_sm.erl: Added get_session_pid/3 function
* src/ejabberd_c2s.erl: Added get_subscribed_and_online/1 function
SVN Revision: 1004
2007-12-01 05:16:30 +00:00
Alexey Shchepin
65a7bb7d2a
* src/ejabberd_sm.erl: Optimized check_max_sessions (thanks to
...
Christophe Romain)
SVN Revision: 975
2007-11-25 15:35:20 +00:00
Alexey Shchepin
38ad132ba2
* src/ejabberd_sm.erl: Removed check which denies resource to
...
receive its own presence
SVN Revision: 885
2007-08-24 03:54:42 +00:00
Alexey Shchepin
9a6e8e3c55
* src/ejabberd_sm.erl: Updated the session table to store
...
additional session info
* src/ejabberd_c2s.erl: Report IP address to ejabberd_sm (thanks
to Christophe Romain)
SVN Revision: 772
2007-05-21 03:21:34 +00:00
Alexey Shchepin
372944df6c
* src/ejabberd_sm.erl: Added set_presence_hook
...
* src/ejabberd_c2s.erl: Likewise
SVN Revision: 761
2007-05-03 15:45:24 +00:00
Alexey Shchepin
ab0d7b9151
* src/ejabberd_sm.erl: Added set_presence_hook
...
SVN Revision: 760
2007-05-03 07:41:16 +00:00
Alexey Shchepin
2ae5d13ab8
* src/ejabberd_sm.erl: Added check for existence of incoming
...
subscription destination
SVN Revision: 759
2007-05-03 05:15:12 +00:00
Alexey Shchepin
c65e1e7ae0
* src/ejabberd_sm.erl: Minor optimisation
...
* src/ejabberd_system_monitor.erl: Experimental watchdog
* src/ejabberd_sup.erl: Likewise
* src/ejabberd_config.erl: Likewise
SVN Revision: 750
2007-04-12 05:31:53 +00:00
Alexey Shchepin
661a34ccfc
* src/eldap/eldap.erl: Bugfix (thanks to Evgeniy Khramtsov)
...
* src/ejabberd_sm.erl: The max_user_sessions option is now
configured via access rule
* src/ejabberd.cfg.example: Likewise
SVN Revision: 680
2006-11-23 06:34:05 +00:00
Mickaël Rémond
9b8dcac5a7
* src/ejabberd_c2s.erl: Bugfix: added a missing catch and fixed
...
the error code used on unknown namespace.
* src/ejabberd_s2s_out.erl: Improved s2s connection negociation
(dialback namespace usage) when using tls.
* src/ejabberd_sm.erl: Fixed the error code used on unknown
namespace.
* src/mod_register.erl: ejabberd now sends iq result and stream
end on user remove.
SVN Revision: 590
2006-07-28 16:18:50 +00:00
Alexey Shchepin
c737ce1b8c
* src/odbc/pg.sql: Updated
...
* src/mod_shared_roster.erl: Updated
* src/ejabberd_sm.erl: Bugfix
* src/mod_roster.erl: Bugfix
* src/mod_roster_odbc.erl: Likewise
SVN Revision: 570
2006-05-26 00:00:32 +00:00
Mickaël Rémond
42cdf80cd4
* src/mod_roster.erl: The subscribe request are now resend at
...
login as long as they have not been answered. mod_roster do no more
depends on mod_offline.
* src/ejabberd_sm.erl: Likewise.
* src/ejabberd_c2s.erl: Likewise.
* src/mod_roster_odbc.erl: Likewise (The ODBC/relational support
has not yet been tested).
* src/mod_roster.hrl: Likewise.
* src/mod_offline.erl: Likewise.
* src/mod_offline_odbc.erl: Likewise.
* odbc/pg.sql: Likewise.
* odbc/mysql.sql: Likewise.
SVN Revision: 569
2006-05-23 20:19:37 +00:00