aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-11-08Change max restart strategy of ejabberd_odbc_sup to handle some SQL timeouts.Andreas Köhler1-1/+1
2010-11-08avoid node_call to break transaction (thanks to Karim Gemayel)(EJAB-1286)Christophe Romain1-6/+11
2010-11-07Re-raise exceptions caught in gen_mod:start_module/3 (EJAB-1335)Andreas Köhler1-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.
2010-11-06Take care of xml:lang attribute in unauthenticated stanzas as wellEvgeniy Khramtsov1-1/+11
2010-11-05New ip_access option restricts which IPs can register (thanks to Alexey ↵Badlop2-5/+105
Shchepin)(EJAB-915)
2010-11-05Disable mod_register_web in default config because by default captcha is ↵Badlop1-3/+3
disabled
2010-11-05Added mod_register_web: web page for account registration (EJAB-471)Badlop3-0/+626
2010-11-05Disable LRU caching algorithm for LDAP shared rostersEvgeniy Khramtsov2-53/+96
2010-11-05Do not store long language tag to avoid possible DoS/flood attacksEvgeniy Khramtsov1-1/+13
2010-11-05LDAP shared roster support (thanks to Realloc and Marcin Owsiany)Evgeniy Khramtsov1-0/+672
2010-11-03Fixes a leak of ejabberd_receiver processes.Jonas Ådahl1-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.
2010-11-02Implement the mod_irc option default_encoding, it was already documentedBadlop1-6/+22
Related: http://www.ejabberd.im/node/4270#comment-56609 http://www.ejabberd.im/node/4270#comment-56780
2010-11-02Fix crash in ejabberd_c2s when blacklist hook returned true (thanks to Jonas ↵Badlop2-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.
2010-11-01Do not run set_last request inside a transactionEvgeniy Khramtsov1-8/+20
2010-10-28Fix errors in EDoc commentsBadlop1-3/+3
2010-10-27Include a Required xml element in the captcha fieldBadlop1-2/+4
2010-10-26Ignore Length argument to tls:recv/[23] (EJAB-1327)Andreas Köhler1-2/+4
The Length argument cannot be used for gen_tcp:recv/3, because the compressed size does not equal the desired uncompressed one.
2010-10-26Re-use the TLSSock argument in tls:send/2 (EJAB-1327)Andreas Köhler1-2/+2
2010-10-26* Add top-level instructions for x:data incompatible clientsEvgeniy Khramtsov1-2/+7
* Remove trailing dot
2010-10-25Changes in registration form to workaround client problems (EJAB-1262)Badlop2-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
2010-10-25Workaround for Psi's wrong Type in form submissionBadlop1-0/+2
2010-10-25Add CAPTCHA example configurations to cfg (EJAB-1262)(EJAB-1326)Badlop1-0/+10
2010-10-25Provide image url in registration form when captcha is enabledEvgeniy Khramtsov1-1/+7
2010-10-24Add password entropy check (EJAB-1326)Evgeniy Khramtsov2-31/+84
2010-10-24* Rename option captcha to captcha_protected for consistency.Evgeniy Khramtsov1-1/+1
* Document captcha_protected option
2010-10-24CAPTCHA IBR support (EJAB-1262)Evgeniy Khramtsov2-39/+179
2010-10-21improve documentation (thanks to Karim Gemayel)Christophe Romain3-256/+325
2010-10-19Change directory before any operation to one readable by INSTALLUSER (EJAB-1322)Peter Lemenkov1-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>
2010-10-19Fix bug in mod_pubsub in_subscription return valueBadlop1-4/+6
2010-10-18documentation update (thanks to Karim Gemayel)Christophe Romain1-102/+139
2010-10-16When privacy list denies local user's outgoing stanza, try to return error ↵Badlop1-0/+4
(EJAB-1320) See: http://xmpp.org/extensions/xep-0016.html#example-51 Example 51. Error: contact is blocked
2010-10-16Check privacy of outgoing IQ stanzas (EJAB-1320)Badlop1-2/+1
2010-10-16Check privacy of incoming IQ stanzas (EJAB-1320)Badlop2-5/+9
2010-10-15Add support to ejabberd_ctl to handle anonymous command argumentsBadlop1-0/+4
2010-10-15Rename aclocal.m4 to acinclude.m4 (thanks to Andreas Köhler)Badlop1-6/+6
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
2010-10-15Fix errors detected by DialyzerBadlop3-8/+11
2010-10-15Document ejabberd_loglevel using EDoc (EJAB-225)Badlop1-0/+13
2010-10-15Fix unused variable warning in ejabberd_loglevelAndreas Köhler1-1/+1
2010-10-15Add set_custom/2, clear_custom/0 and clear_custom/1 to ejabberd_loglevelAndreas Köhler1-1/+29
2010-10-15Add support for changing the loglevels for given modules (EJAB-225)Andreas Köhler1-18/+38
ejabberd_loglevel:set/1 now understands more input formats: set(Param) -> {module, ejabberd_logger} Param = Level | {Level, CustomLevels} CustomLevels = [CustomLevel] CustomLevel = {Module, Level} Module = atom() Level = integer() | atom() set(Level) is equivalent to set({Level, []}), so it clears all module level customizations. log_src/2 adds additional function heads for those _msg function and module combinations that need non-default behavior, i.e. add or filter logging. ejabberd_loglevel:get/0 only returns the default log level. To retrieve the complete setting use ejabberd_logger:get/0 instead.
2010-10-15Use warning_msg event type for warning log level.Andreas Köhler1-1/+1
2010-10-15Add warning message and report handlers to ejabberd_logger_h.erl.Andreas Köhler1-0/+13
2010-10-15Improve ejabberd_logger code generationAndreas Köhler1-41/+40
Split the monolithic function ejabberd_loglevel:ejabberd_logger_src/1 into separate functions returning deep lists. log_src/2 now returns the code for any of *_msg/4. Its parameters are the current loglevel (integer()) and a loglevel specification (#loglevel{}), with added information in #loglevel: - function: The api function enabled by this level, may be no_log - event_type: The type of the event sent to the error_logger - msg_prefix: One character used in the message (one of "DIWEC") If the current loglevel is too low for logging, the api function is optimized at compile time.
2010-10-15Use records for encoding static loglevel information.Andreas Köhler1-12/+18
2010-10-14Speed up ejabberd_s2s:is_service/2, allow_host/2 (thanks to Andreas ↵Badlop1-18/+18
Köhler)(EJAB-1319) Iterating through the list of possible parent domains of a given domain and comparing with the list of hosts or routes is almost always faster than doing it the other way around. It naturally returns the shortest or longest parent domain satisfying a predicate, whereas the possibly long list compared with would need to be sorted by length first.
2010-10-13make http-bind restartable (thanks to Andreas Köhler)(EJAB-1318)Christophe Romain1-2/+8
2010-10-11add find_s2s_bridge hookEvgeniy Khramtsov1-2/+37
2010-10-05use one_queue IQ discipline by defaultEvgeniy Khramtsov1-1/+1
2010-09-28fixes typo in stop_connection/1Evgeniy Khramtsov1-1/+1
2010-09-21fixes default value for cache_life_timeEvgeniy Khramtsov1-1/+1