aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead code for NS_VCARD iq packets from ejabberd_c2sAndreas Köhler2010-11-101-12/+0
| | | | | | | | 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.
* Use ejabberd_c2s:privacy_check_packet/5 for all those hook folded runs in ↵Andreas Köhler2010-11-101-95/+16
| | | | the c2s module
* Use c2s state data as user and server in ejabberd_c2s:is_privacy_allowAndreas Köhler2010-11-101-15/+16
| | | | | | | | | | | | 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.
* Correct error responses of forbidden offline last activity queriesAndreas Köhler2010-11-102-4/+4
| | | | | | | According to XEP-0012 Last Activity, the server must return iq errors with forbidden instead of not-allowed. Fixes problem 1 of EJAB-1158.
* populate pubsub#roster_groups_allowed in node configuration options (thanks ↵Christophe Romain2010-11-101-2/+13
| | | | to Karim Gemayel)(EJAB-1344)
* fix bad plugin order issue injected in previous patch (EJAB-1286)Christophe Romain2010-11-091-1/+1
|
* Correct privacy check direction in mod_last (EJAB-1339)Andreas Köhler2010-11-092-4/+4
| | | | | | | 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.
* Change max restart strategy of ejabberd_odbc_sup to handle some SQL timeouts.Andreas Köhler2010-11-081-1/+1
|
* avoid node_call to break transaction (thanks to Karim Gemayel)(EJAB-1286)Christophe Romain2010-11-081-6/+11
|
* Re-raise exceptions caught in gen_mod:start_module/3 (EJAB-1335)Andreas Köhler2010-11-071-5/+5
| | | | | | | | | | 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.
* Take care of xml:lang attribute in unauthenticated stanzas as wellEvgeniy Khramtsov2010-11-061-1/+11
|
* New ip_access option restricts which IPs can register (thanks to Alexey ↵Badlop2010-11-053-7/+117
| | | | Shchepin)(EJAB-915)
* Disable mod_register_web in default config because by default captcha is ↵Badlop2010-11-051-3/+3
| | | | disabled
* Recompile the GuideBadlop2010-11-051-91/+124
|
* Added mod_register_web: web page for account registration (EJAB-471)Badlop2010-11-054-0/+671
|
* Disable LRU caching algorithm for LDAP shared rostersEvgeniy Khramtsov2010-11-052-53/+96
|
* Do not store long language tag to avoid possible DoS/flood attacksEvgeniy Khramtsov2010-11-051-1/+13
|
* LDAP shared roster support (thanks to Realloc and Marcin Owsiany)Evgeniy Khramtsov2010-11-051-0/+672
|
* Fixes a leak of ejabberd_receiver processes.Jonas Ådahl2010-11-031-1/+7
| | | | | | When a (non-frontend) socket module without any custom receiver fails to start, the newly created ejabberd_receiver process needs to be properly closed.
* Correct in the Guide the default mod_irc encodingBadlop2010-11-022-2/+2
| | | | | The default option value was last changed in EJAB-302, but the Guide was not properly updated yet.
* Implement the mod_irc option default_encoding, it was already documentedBadlop2010-11-021-6/+22
| | | | | | Related: http://www.ejabberd.im/node/4270#comment-56609 http://www.ejabberd.im/node/4270#comment-56780
* Fix crash in ejabberd_c2s when blacklist hook returned true (thanks to Jonas ↵Badlop2010-11-022-2/+5
| | | | | | | Ådahl) Cause of the crash jlib:ip_to_list/1 only supports IP tuples using the form {N1,N2,N3,N4} which is not the case when IPv6 is enabled.
* Merge branch '2.1.x' of ↵Evgeniy Khramtsov2010-11-011-3/+3
|\ | | | | | | git+ssh://gitorious.process-one.net/ejabberd/mainline into 2.1.x
| * Fix errors in EDoc commentsBadlop2010-10-281-3/+3
| |
* | Do not run set_last request inside a transactionEvgeniy Khramtsov2010-11-011-8/+20
|/
* Include a Required xml element in the captcha fieldBadlop2010-10-271-2/+4
|
* Ignore Length argument to tls:recv/[23] (EJAB-1327)Andreas Köhler2010-10-261-2/+4
| | | | | The Length argument cannot be used for gen_tcp:recv/3, because the compressed size does not equal the desired uncompressed one.
* Re-use the TLSSock argument in tls:send/2 (EJAB-1327)Andreas Köhler2010-10-261-2/+2
|
* * Add top-level instructions for x:data incompatible clientsEvgeniy Khramtsov2010-10-261-2/+7
| | | | * Remove trailing dot
* Changes in registration form to workaround client problems (EJAB-1262)Badlop2010-10-252-5/+13
| | | | | | | | Changes included: * Remove var in fixed field because Gajim and Tkabber display it to user * Add workaround for Psi's overlap fields * Add var=url attribute, required by Psi to display the field * Provide the image URL as a copy-able form field
* Workaround for Psi's wrong Type in form submissionBadlop2010-10-251-0/+2
|
* Recompile the guide.htmlBadlop2010-10-251-3/+9
|
* Add CAPTCHA example configurations to cfg (EJAB-1262)(EJAB-1326)Badlop2010-10-251-0/+10
|
* Provide image url in registration form when captcha is enabledEvgeniy Khramtsov2010-10-251-1/+7
|
* Add password entropy check (EJAB-1326)Evgeniy Khramtsov2010-10-243-31/+88
|
* * Rename option captcha to captcha_protected for consistency.Evgeniy Khramtsov2010-10-242-1/+3
| | | | * Document captcha_protected option
* Merge branch '2.1.x' of ↵Evgeniy Khramtsov2010-10-247-329/+443
|\ | | | | | | git+ssh://gitorious.process-one.net/ejabberd/mainline into 2.1.x
| * Improve example of outoging_s2s_optionsBadlop2010-10-222-4/+6
| |
| * improve documentation (thanks to Karim Gemayel)Christophe Romain2010-10-213-256/+325
| |
| * Change directory before any operation to one readable by INSTALLUSER (EJAB-1322)Peter Lemenkov2010-10-191-0/+4
| | | | | | | | | | | | | | | | | | | | This is required in order to suppress error messages like "File operation error: eacces" when ejabberd was started from directory, which is not readable by INSTALLUSER (/root, for example). See rhbz #564686: https://bugzilla.redhat.com/564686 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
| * Fix bug in mod_pubsub in_subscription return valueBadlop2010-10-191-4/+6
| |
| * documentation update (thanks to Karim Gemayel)Christophe Romain2010-10-181-102/+139
| |
* | CAPTCHA IBR support (EJAB-1262)Evgeniy Khramtsov2010-10-242-39/+179
|/
* When privacy list denies local user's outgoing stanza, try to return error ↵Badlop2010-10-161-0/+4
| | | | | | | | (EJAB-1320) See: http://xmpp.org/extensions/xep-0016.html#example-51 Example 51. Error: contact is blocked
* Check privacy of outgoing IQ stanzas (EJAB-1320)Badlop2010-10-161-2/+1
|
* Check privacy of incoming IQ stanzas (EJAB-1320)Badlop2010-10-162-5/+9
|
* Add support to ejabberd_ctl to handle anonymous command argumentsBadlop2010-10-151-0/+4
|
* Rename aclocal.m4 to acinclude.m4 (thanks to Andreas Köhler)Badlop2010-10-152-6/+7
| | | | | | | | | | Also fixed minor typos, added the compiled aclocal.m4 to gitignore. As the 2.1.x branch includes the 'configure' script, it isn't needed to document here how to build it, only in the master branch. Related documentation: http://www.gnu.org/software/hello/manual/automake/Local-Macros.html#Local-Macros http://www.gnu.org/software/hello/manual/automake/Invoking-aclocal.html#Invoking-aclocal
* Fix errors detected by DialyzerBadlop2010-10-153-8/+11
|
* Document ejabberd_loglevel using EDoc (EJAB-225)Badlop2010-10-151-0/+13
|