]> granicus.if.org Git - ejabberd/log
ejabberd
13 years agoupdate copyright up to 2011
Christophe Romain [Mon, 14 Feb 2011 12:50:55 +0000 (13:50 +0100)]
update copyright up to 2011

13 years agoProvide HTTPS URL in CAPTCHA form when listener has 'tls' option (EJAB-1406)
Badlop [Mon, 14 Feb 2011 11:58:33 +0000 (12:58 +0100)]
Provide HTTPS URL in CAPTCHA form when listener has 'tls' option (EJAB-1406)

13 years agoFix typo in French translation
Badlop [Fri, 11 Feb 2011 19:19:59 +0000 (20:19 +0100)]
Fix typo in French translation

13 years agoEscape output from ctlexec() to erl script (thanks to Dan Scott)(EJAB-1399)
Badlop [Wed, 9 Feb 2011 12:30:01 +0000 (13:30 +0100)]
Escape output from ctlexec() to erl script (thanks to Dan Scott)(EJAB-1399)

13 years agoRemove erroneous comment (EJAB-645)
Badlop [Thu, 3 Feb 2011 16:23:09 +0000 (17:23 +0100)]
Remove erroneous comment (EJAB-645)

13 years agoHandle Tigase's unexpected version=1.0 when ejabberd doesn't announce it (EJAB-1379)
Badlop [Tue, 11 Jan 2011 15:22:22 +0000 (16:22 +0100)]
Handle Tigase's unexpected version=1.0 when ejabberd doesn't announce it (EJAB-1379)

13 years agomod_pres_counter prevents subscription flood (thanks to Ahmed Omar and Alexey Shchepi...
Badlop [Mon, 31 Jan 2011 17:50:49 +0000 (18:50 +0100)]
mod_pres_counter prevents subscription flood (thanks to Ahmed Omar and Alexey Shchepin)(EJAB-1388)

14 years agoAdd to example config file access_from comment
Badlop [Fri, 28 Jan 2011 16:13:44 +0000 (17:13 +0100)]
Add to example config file access_from comment

14 years agoUpdate exmpp version to 0.9.6
Badlop [Fri, 28 Jan 2011 11:46:09 +0000 (12:46 +0100)]
Update exmpp version to 0.9.6

14 years agoComment unused code
Badlop [Fri, 28 Jan 2011 11:11:34 +0000 (12:11 +0100)]
Comment unused code

14 years agoDon't let presence-in privacy rule block a presence subscription using ODBC (EJAB...
Badlop [Wed, 19 Jan 2011 19:58:51 +0000 (20:58 +0100)]
Don't let presence-in privacy rule block a presence subscription using ODBC (EJAB-255)

14 years agoFix delayed response of a timeout call was reused for next login (EJAB-1385)
Badlop [Wed, 19 Jan 2011 18:06:46 +0000 (19:06 +0100)]
Fix delayed response of a timeout call was reused for next login (EJAB-1385)

14 years agoClarify more the expected content of welcome_message mod_register option
Badlop [Mon, 17 Jan 2011 22:42:51 +0000 (23:42 +0100)]
Clarify more the expected content of welcome_message mod_register option

14 years agoClarify error message when BOSH query is sent to non-running module
Badlop [Wed, 12 Jan 2011 20:22:43 +0000 (21:22 +0100)]
Clarify error message when BOSH query is sent to non-running module

14 years agoUse route instead of send_element to go through standard workflow Offline messages...
Mickaël Rémond [Tue, 4 Jan 2011 11:18:14 +0000 (11:18 +0000)]
Use route instead of send_element to go through standard workflow Offline messages should thus be tracked for ack if needed (TEXTO-226).

Signed-off-by: Evgeniy Khramtsov <ekhramtsov@process-one.net>
14 years agoKeep the order of stanzas when BOSH sends several (EJAB-1374)
Badlop [Thu, 30 Dec 2010 12:42:53 +0000 (13:42 +0100)]
Keep the order of stanzas when BOSH sends several (EJAB-1374)

14 years agoChange c2s state before offline messages resending
Evgeniy Khramtsov [Tue, 28 Dec 2010 12:09:15 +0000 (21:09 +0900)]
Change c2s state before offline messages resending

14 years agoMake jlib:ip_to_list safe to use
Alexey Shchepin [Mon, 20 Dec 2010 15:56:24 +0000 (17:56 +0200)]
Make jlib:ip_to_list safe to use

14 years agoRevert branch name back to 2.1.x
Badlop [Thu, 16 Dec 2010 12:33:30 +0000 (13:33 +0100)]
Revert branch name back to 2.1.x

14 years agoMake sure 'closed' event is correctly processed on every state
Evgeniy Khramtsov [Fri, 17 Dec 2010 08:26:20 +0000 (17:26 +0900)]
Make sure 'closed' event is correctly processed on every state

14 years agoIgnore OS X libraries.
W. Andrew Loe III [Fri, 3 Dec 2010 21:53:38 +0000 (13:53 -0800)]
Ignore OS X libraries.

14 years agoRemove Type and Spec, backport list comprehensions, so R12B-5 can compile
Badlop [Mon, 13 Dec 2010 11:17:28 +0000 (12:17 +0100)]
Remove Type and Spec, backport list comprehensions, so R12B-5 can compile

14 years agoRecompile the Guide v2.1.6
Badlop [Mon, 13 Dec 2010 10:12:43 +0000 (11:12 +0100)]
Recompile the Guide

14 years agoUpdate ejabberd version number to 2.1.6
Badlop [Mon, 13 Dec 2010 10:12:13 +0000 (11:12 +0100)]
Update ejabberd version number to 2.1.6

14 years agoRecompile translations
Badlop [Mon, 13 Dec 2010 10:11:49 +0000 (11:11 +0100)]
Recompile translations

14 years agoAdd release notes for ejabberd 2.1.6
Badlop [Sat, 11 Dec 2010 12:55:29 +0000 (13:55 +0100)]
Add release notes for ejabberd 2.1.6

14 years agoFix warning about unused variables
Badlop [Mon, 13 Dec 2010 10:08:53 +0000 (11:08 +0100)]
Fix warning about unused variables

14 years agoOption to reject S2S connection if untrusted certificate (EJAB-464)
Badlop [Sat, 11 Dec 2010 01:28:50 +0000 (02:28 +0100)]
Option to reject S2S connection if untrusted certificate (EJAB-464)

14 years agoInclude From attribute in the stream header of outgoing S2S connections
Badlop [Fri, 10 Dec 2010 16:26:21 +0000 (17:26 +0100)]
Include From attribute in the stream header of outgoing S2S connections

14 years agoWhen TLS is required in s2s, add subelement to stream:features starttls
Badlop [Fri, 10 Dec 2010 16:27:15 +0000 (17:27 +0100)]
When TLS is required in s2s, add subelement to stream:features starttls

14 years agoAdd option to require encryption in S2S connections (EJAB-495)
Badlop [Wed, 8 Dec 2010 19:02:31 +0000 (20:02 +0100)]
Add option to require encryption in S2S connections (EJAB-495)

14 years agoSupport for X-Forwarded-For HTTP header (EJAB-1356)
Badlop [Tue, 7 Dec 2010 15:47:32 +0000 (16:47 +0100)]
Support for X-Forwarded-For HTTP header (EJAB-1356)

14 years agoupdate pubsub_odbc patch
Christophe Romain [Tue, 7 Dec 2010 13:00:40 +0000 (14:00 +0100)]
update pubsub_odbc patch

14 years agoadd node attribute to pubsub subscribe event (EJAB-1361)
Christophe Romain [Tue, 7 Dec 2010 12:51:10 +0000 (13:51 +0100)]
add node attribute to pubsub subscribe event (EJAB-1361)

14 years agoUpdate Czech Translation (thanks to Lukáš Polívka)
Badlop [Mon, 6 Dec 2010 11:03:52 +0000 (12:03 +0100)]
Update Czech Translation (thanks to Lukáš Polívka)

14 years agoFix detection of mod_last at server start (EJAB-641)
Badlop [Fri, 3 Dec 2010 16:23:24 +0000 (17:23 +0100)]
Fix detection of mod_last at server start (EJAB-641)

14 years agoUpdate example extauth script with tryregister, removeuser and removeuser3 (EJAB...
Badlop [Fri, 3 Dec 2010 16:21:50 +0000 (17:21 +0100)]
Update example extauth script with tryregister, removeuser and removeuser3 (EJAB-641)

14 years agoRevert "Fix cyrsasl_digest RFC-2831 2.1.2.1 (EJAB-476)"
Pablo Polvorin [Fri, 3 Dec 2010 14:12:43 +0000 (11:12 -0300)]
Revert "Fix cyrsasl_digest RFC-2831 2.1.2.1 (EJAB-476)"

This reverts commit c890b17834f2593a9af56e093523653102349989.
This change made ejabberd more strict in protocol compliance, which breaks Psi 0.14 and other clients.
We must grant a grace period to client developers to fix their clients. So this isn't going to be included
in 2.1.x.

14 years agoSupport PostgreSQL 9.0 (EJAB-1359)(thanks to Stephen Gibberd and Konstantin Nikiforov)
Badlop [Fri, 3 Dec 2010 11:43:05 +0000 (12:43 +0100)]
Support PostgreSQL 9.0 (EJAB-1359)(thanks to Stephen Gibberd and Konstantin Nikiforov)

14 years agoFix cyrsasl_digest RFC-2831 2.1.2.1 (EJAB-476)
Pablo Polvorin [Wed, 1 Dec 2010 18:54:58 +0000 (15:54 -0300)]
Fix cyrsasl_digest RFC-2831 2.1.2.1 (EJAB-476)

Fix sasl digest bug when username|password|resource strings had
all characters <= U+00FF and at least one character >= U+0080.

Warnning:
Note that by fixing the bug, we may be broking compatibility with clients
that "implements" it.
See comments on https://support.process-one.net/browse/EJAB-476

14 years agofix pubsub cross domain eventing (EJAB-1340)
Christophe Romain [Thu, 2 Dec 2010 12:56:45 +0000 (13:56 +0100)]
fix pubsub cross domain eventing (EJAB-1340)

14 years agoUpdate Greek translation (thanks to James Iakovos Mandelis)
Badlop [Wed, 1 Dec 2010 12:27:56 +0000 (13:27 +0100)]
Update Greek translation (thanks to James Iakovos Mandelis)

14 years agoIncrease maximum restart strategy of the ODBC supervisor. Do not brutally kill ODBC...
Evgeniy Khramtsov [Wed, 1 Dec 2010 05:24:51 +0000 (14:24 +0900)]
Increase maximum restart strategy of the ODBC supervisor. Do not brutally kill ODBC processes on supervisor shutdown to avoid polution of the mnesia table

14 years agoWhen the Password attribute is missing in PIEFXIS file, don't check account auth.
Badlop [Tue, 30 Nov 2010 22:55:33 +0000 (23:55 +0100)]
When the Password attribute is missing in PIEFXIS file, don't check account auth.

14 years agoCorrections on pt_BR translations.
Otavio Fernandes [Tue, 30 Nov 2010 19:00:38 +0000 (20:00 +0100)]
Corrections on pt_BR translations.

14 years agoUpdate Ukrainian translation (thanks to Ruslan Rakhmanin)
Badlop [Mon, 29 Nov 2010 10:43:23 +0000 (11:43 +0100)]
Update Ukrainian translation (thanks to Ruslan Rakhmanin)

14 years agoexpose find_connection for routing in other modules (if needed)
Christopher tofu Zorn [Fri, 11 Jun 2010 17:28:15 +0000 (13:28 -0400)]
expose find_connection for routing in other modules (if needed)

14 years agoadd the ability to send raw xml packets over http bind
Christopher tofu Zorn [Tue, 1 Jun 2010 18:52:15 +0000 (14:52 -0400)]
add the ability to send raw xml packets over http bind

14 years agoUpdate mod_register_web string in PO files
Badlop [Mon, 29 Nov 2010 18:35:18 +0000 (19:35 +0100)]
Update mod_register_web string in PO files

14 years agoFix characters not allowed in username. Don't include that in translatable string.
Badlop [Mon, 29 Nov 2010 18:34:26 +0000 (19:34 +0100)]
Fix characters not allowed in username. Don't include that in translatable string.

List mentioned in:
http://xmpp.org/rfcs/rfc3920.html#nodeprep-prohibited

14 years agoSupport negative part-hour TZ values (thanks to Alexander Zhukov)(EJAB-1301)
Badlop [Mon, 29 Nov 2010 12:33:56 +0000 (13:33 +0100)]
Support negative part-hour TZ values (thanks to Alexander Zhukov)(EJAB-1301)

14 years agoDon't loop when there is nothing after a stream start
Alexey Shchepin [Thu, 25 Nov 2010 18:30:40 +0000 (20:30 +0200)]
Don't loop when there is nothing after a stream start

14 years agoCorrect domain_certfile tlsopts modifications for s2s connections (EJAB-1086)
Andreas Köhler [Sat, 6 Nov 2010 19:09:33 +0000 (20:09 +0100)]
Correct domain_certfile tlsopts modifications for s2s connections (EJAB-1086)

* In ejabberd_s2s_out:wait_for_feature_request/2, the domain to use for
  looking up domain_certfile options is #state.myname and not
  #state.server

* If s2s_certfile is not specified, connect should still be part of the
  tls options used by ejabberd_s2s_out

* Add #state.server to ejabberd_s2s_in processes and store the to
  attribute in :wait_for_stream/2. Then use that server in
  :wait_for_feature_request/2 to change the tls options like in
  ejabberd_s2s_out.

Fixes EJAB-1086.

14 years agoUpdate French translation (thanks to Nicolas Vérité)
Badlop [Thu, 25 Nov 2010 20:30:54 +0000 (21:30 +0100)]
Update French translation (thanks to Nicolas Vérité)

14 years agoUpdate German translation (thanks to Nikolaus Polak)
Badlop [Thu, 25 Nov 2010 20:22:06 +0000 (21:22 +0100)]
Update German translation (thanks to Nikolaus Polak)

14 years agoUpdate Japanese translation (thanks to Tsukasa Hamano)
Badlop [Wed, 24 Nov 2010 16:09:13 +0000 (17:09 +0100)]
Update Japanese translation (thanks to Tsukasa Hamano)

14 years agoUpdate Chinese translation (thanks to Shelley Shyan)
Badlop [Wed, 24 Nov 2010 12:40:08 +0000 (13:40 +0100)]
Update Chinese translation (thanks to Shelley Shyan)

14 years agoMerge branch 'caps' into 2.1.x
Evgeniy Khramtsov [Wed, 24 Nov 2010 07:45:05 +0000 (16:45 +0900)]
Merge branch 'caps' into 2.1.x

Conflicts:
src/ejabberd_c2s.erl

14 years agoUpdating Brazilian Portuguese (pt_BR) translations for v2.1.6
Otavio Fernandes [Tue, 23 Nov 2010 13:35:09 +0000 (14:35 +0100)]
Updating Brazilian Portuguese (pt_BR) translations for v2.1.6

14 years agoUpdate Polish translation (thanks to Zbyszek Żółkiewski)
Badlop [Tue, 23 Nov 2010 11:44:40 +0000 (12:44 +0100)]
Update Polish translation (thanks to Zbyszek Żółkiewski)

14 years agoUse pg2 from R14B in systems with older versions (EJAB-1349)
Badlop [Mon, 22 Nov 2010 15:01:39 +0000 (16:01 +0100)]
Use pg2 from R14B in systems with older versions (EJAB-1349)

pg2_backport.erl is a copy of pg2.erl from Erlang/OTP R14B.
That module is used in ejabberd installations where an OTP
previous to R14 is installed.

14 years agoRevert "populate pubsub#roster_groups_allowed in node configuration options (EJAB...
Christophe Romain [Mon, 22 Nov 2010 10:15:04 +0000 (11:15 +0100)]
Revert "populate pubsub#roster_groups_allowed in node configuration options (EJAB-1344)"

This reverts commit dfaeb3bc888ba59d563a5b11d2582c0f62fee968.

14 years agoDisapprove the use of R14A and R14B due to the rwlock bug.
Badlop [Fri, 19 Nov 2010 14:33:48 +0000 (15:33 +0100)]
Disapprove the use of R14A and R14B due to the rwlock bug.

14 years agoUpdate Russian translation (thanks to Evgeniy Khramtsov)
Badlop [Fri, 19 Nov 2010 14:14:38 +0000 (15:14 +0100)]
Update Russian translation (thanks to Evgeniy Khramtsov)

14 years agoUpdate translate files
Badlop [Fri, 19 Nov 2010 12:47:24 +0000 (13:47 +0100)]
Update translate files

14 years agoUpdate the Spanish translation
Badlop [Fri, 19 Nov 2010 12:45:32 +0000 (13:45 +0100)]
Update the Spanish translation

14 years agoFix some English strings
Badlop [Fri, 19 Nov 2010 12:44:30 +0000 (13:44 +0100)]
Fix some English strings

14 years agoTranslate mod_register_web to Ukrainian (thanks to Rain)
Badlop [Thu, 18 Nov 2010 22:34:35 +0000 (23:34 +0100)]
Translate mod_register_web to Ukrainian (thanks to Rain)

14 years agoDocument mod_shared_roster_ldap (thanks to Marcin Owsiany)
Evgeniy Khramtsov [Thu, 18 Nov 2010 07:59:35 +0000 (16:59 +0900)]
Document mod_shared_roster_ldap (thanks to Marcin Owsiany)

14 years agoTranslate mod_register_web to Spanish
Badlop [Wed, 17 Nov 2010 22:16:46 +0000 (23:16 +0100)]
Translate mod_register_web to Spanish

14 years agoTranslate mod_register_web to Russian (thanks to Rain)
Badlop [Wed, 17 Nov 2010 21:42:43 +0000 (22:42 +0100)]
Translate mod_register_web to Russian (thanks to Rain)

14 years agoUpdate strings to translate
Badlop [Wed, 17 Nov 2010 21:36:56 +0000 (22:36 +0100)]
Update strings to translate

14 years agoAdd extract_translations.beam to gitignore
Badlop [Wed, 17 Nov 2010 20:26:40 +0000 (21:26 +0100)]
Add extract_translations.beam to gitignore

14 years agoFix http-bind supervisor to support multiple vhosts (EJAB-1321)
Badlop [Wed, 17 Nov 2010 19:14:59 +0000 (20:14 +0100)]
Fix http-bind supervisor to support multiple vhosts (EJAB-1321)

14 years agoFix R12B5 compatibility in ejabberd_http_bind.erl (EJAB-1343)
Andreas Köhler [Tue, 9 Nov 2010 13:11:38 +0000 (14:11 +0100)]
Fix R12B5 compatibility in ejabberd_http_bind.erl (EJAB-1343)

erlang:max/2 and :min/2 are new functions

14 years agoUse LFrom and LTo consistently in ejabberd_s2s_in:stream_established/2 (EJAB-1342)
Andreas Köhler [Mon, 8 Nov 2010 22:09:14 +0000 (23:09 +0100)]
Use LFrom and LTo consistently in ejabberd_s2s_in:stream_established/2 (EJAB-1342)

14 years agoDo not start mod_proxy65 if it is unable to bind an address (EJAB-1336)
Evgeniy Khramtsov [Wed, 17 Nov 2010 09:13:19 +0000 (18:13 +0900)]
Do not start mod_proxy65 if it is unable to bind an address (EJAB-1336)

14 years agoUse MEDIUMTEXT type for vcard avatars in MySQL schema (EJAB-1252)
Evgeniy Khramtsov [Wed, 17 Nov 2010 08:36:51 +0000 (17:36 +0900)]
Use MEDIUMTEXT type for vcard avatars in MySQL schema (EJAB-1252)

14 years agoDo not print full error message when LDAP timeout occurs (EJAB-1324)
Evgeniy Khramtsov [Wed, 17 Nov 2010 08:14:47 +0000 (17:14 +0900)]
Do not print full error message when LDAP timeout occurs (EJAB-1324)

14 years agoSet SSL_MODE_RELEASE_BUFFERS mode when available (EJAB-1351)
Evgeniy Khramtsov [Wed, 17 Nov 2010 04:54:27 +0000 (13:54 +0900)]
Set SSL_MODE_RELEASE_BUFFERS mode when available (EJAB-1351)

14 years agoProvide new, not old, affiliation in kick/ban presence with codes 321 and 301
Badlop [Mon, 15 Nov 2010 23:03:09 +0000 (00:03 +0100)]
Provide new, not old, affiliation in kick/ban presence with codes 321 and 301

14 years agoStrip status when needed in presence-unavailable as well
Evgeniy Khramtsov [Mon, 15 Nov 2010 04:47:31 +0000 (13:47 +0900)]
Strip status when needed in presence-unavailable as well

14 years agoFix typos in the example configuration file
Badlop [Fri, 12 Nov 2010 20:24:01 +0000 (21:24 +0100)]
Fix typos in the example configuration file

14 years agoBefore binding tcp ports, checks the socket type and listener options
Andreas Köhler [Mon, 8 Nov 2010 12:46:56 +0000 (13:46 +0100)]
Before binding tcp ports, checks the socket type and listener options

If the callback module has a socket type of independent and needs to
create the listener itself, do not pre-bind the port. The same holds if
there are errors in the listener configuration.

14 years agoBind listener ports early and start accepting connections later
Andreas Köhler [Tue, 2 Nov 2010 13:43:03 +0000 (14:43 +0100)]
Bind listener ports early and start accepting connections later

It may happen that auth or rdbms client tcp connections bind a local
socket to a port number required by a configered listener. The ejabberd
applications fails to start up and needs to be restarted.

In plain C you would bind(2) the listener port and listen(2) later on.
gen_tcp:listen/2 does not allow to separate these two steps though, so
another way is not to accept connections while start up. OTOH, the
kernel will syn/ack incoming connections and receive data, leaving them
in a buffer for the ejabberd to read from. If this is unwanted, a load
balancer would need to receive data from the ejabberd server before
adding the node to its pool.

This patch binds tcp ports while initializing the ejabberd_listener
process, storing ListenSockets in an ets table. start_listeners/0 will
reuse these ports later on.

14 years agoIn mod_last*:get_last_iq/4, check for user resources first to return 0 seconds if...
Andreas Köhler [Fri, 5 Nov 2010 17:38:42 +0000 (18:38 +0100)]
In mod_last*:get_last_iq/4, check for user resources first to return 0 seconds if there is one

Fixes problem 2 of EJAB-1158.

14 years agoRefactor mod_last to use the same core get_last/2 functionality, but keep api stable
Andreas Köhler [Fri, 5 Nov 2010 17:32:25 +0000 (18:32 +0100)]
Refactor mod_last to use the same core get_last/2 functionality, but keep api stable

The local function get_last/4 has been renamed to get_last_iq/4, since
it converts the result of get_last/2 (typically {ok, TimeStamp, Status})
to an iq packet.

14 years agoBefore forwarding last activity requests to a user, check that the user's presence...
Andreas Köhler [Fri, 5 Nov 2010 14:44:22 +0000 (15:44 +0100)]
Before forwarding last activity requests to a user, check that the user's presence is visible for From

According to XEP-0012, 4. Online User Query, "if the requesting entity
is not authorized to view the user's presence information (normally via
a presence subscription as defined in XMPP IM), the user's server MUST
NOT deliver the IQ-get to an available resource but instead MUST return
a <forbidden/> error in response to the last activity request."

So check for a subscription of from of the jid and bare jid and whether
outgoing presences to From are allowed.

Fixes problem 3 of EJAB-1158.

14 years agoRemove dead code for NS_VCARD iq packets from ejabberd_c2s
Andreas Köhler [Fri, 5 Nov 2010 02:54:56 +0000 (03:54 +0100)]
Remove dead code for NS_VCARD iq packets from ejabberd_c2s

For EJAB-1045, the special NS_VCARD block for handling incoming vcard
iqs on behalf of clients has already been restricted to cases where the
user or resource part of the recipient is empty. But then the packets
should not have been routed to the c2s process anyway. This patch
completely removes it.

14 years agoUse ejabberd_c2s:privacy_check_packet/5 for all those hook folded runs in the c2s...
Andreas Köhler [Fri, 5 Nov 2010 02:48:13 +0000 (03:48 +0100)]
Use ejabberd_c2s:privacy_check_packet/5 for all those hook folded runs in the c2s module

14 years agoUse c2s state data as user and server in ejabberd_c2s:is_privacy_allow
Andreas Köhler [Fri, 5 Nov 2010 02:29:32 +0000 (03:29 +0100)]
Use c2s state data as user and server in ejabberd_c2s:is_privacy_allow

is_privacy_allow is only used in ejabberd_c2s:handle_info/3 to determine
for a few presence types whether the packet is allowed to be forwarded
to the user's client. This only makes sense if To#jid.user and
To#jid.server match StateData#state.user and StateData#state.server.

Also, add the atom in as parameter to a new argument Dir of
is_privacy_allow and extract from that function
privacy_check_packet(StateData, From, To, Packet, Dir) which runs the
privavcy check without converting allow/deny to true/false.

14 years agoCorrect error responses of forbidden offline last activity queries
Andreas Köhler [Fri, 5 Nov 2010 01:38:15 +0000 (02:38 +0100)]
Correct error responses of forbidden offline last activity queries

According to XEP-0012 Last Activity, the server must return iq errors
with forbidden instead of not-allowed.

Fixes problem 1 of EJAB-1158.

14 years agopopulate pubsub#roster_groups_allowed in node configuration options (thanks to Karim...
Christophe Romain [Wed, 10 Nov 2010 14:15:03 +0000 (15:15 +0100)]
populate pubsub#roster_groups_allowed in node configuration options (thanks to Karim Gemayel)(EJAB-1344)

14 years agofix bad plugin order issue injected in previous patch (EJAB-1286)
Christophe Romain [Tue, 9 Nov 2010 13:32:40 +0000 (14:32 +0100)]
fix bad plugin order issue injected in previous patch (EJAB-1286)

14 years agoCorrect privacy check direction in mod_last (EJAB-1339)
Andreas Köhler [Fri, 5 Nov 2010 10:42:32 +0000 (11:42 +0100)]
Correct privacy check direction in mod_last (EJAB-1339)

The change for EJAB-1271 to change the direction of the privacy check
from out to in violates the idea that the check should imitate a
subscription state check of from. Rather correct the order of the From
and To parameters.

14 years agoChange max restart strategy of ejabberd_odbc_sup to handle some SQL timeouts.
Andreas Köhler [Fri, 17 Sep 2010 14:48:44 +0000 (16:48 +0200)]
Change max restart strategy of ejabberd_odbc_sup to handle some SQL timeouts.

14 years agoavoid node_call to break transaction (thanks to Karim Gemayel)(EJAB-1286)
Christophe Romain [Mon, 8 Nov 2010 10:16:51 +0000 (11:16 +0100)]
avoid node_call to break transaction (thanks to Karim Gemayel)(EJAB-1286)

14 years agoRe-raise exceptions caught in gen_mod:start_module/3 (EJAB-1335)
Andreas Köhler [Tue, 2 Nov 2010 15:18:16 +0000 (16:18 +0100)]
Re-raise exceptions caught in gen_mod:start_module/3 (EJAB-1335)

Modules configured by the administrator normally should not be treated
as optional, so a exception (error, exit, throw) to start them should not
be caught and logged only.

This patch re-raises a caught exception instead of ignoring the
exception and inserting the module's opts on success. That way
gen_mod:get_module_opt/4 should work while calling Module:start/2.

14 years agoTake care of xml:lang attribute in unauthenticated stanzas as well
Evgeniy Khramtsov [Sat, 6 Nov 2010 04:58:52 +0000 (13:58 +0900)]
Take care of xml:lang attribute in unauthenticated stanzas as well

14 years agoNew ip_access option restricts which IPs can register (thanks to Alexey Shchepin...
Badlop [Fri, 5 Nov 2010 18:00:16 +0000 (19:00 +0100)]
New ip_access option restricts which IPs can register (thanks to Alexey Shchepin)(EJAB-915)