2009-02-06 Jean-Sébastien Pédron * src/web/ejabberd_web.erl, src/web/ejabberd_http.erl: Add documentation stub for some types. This will be filled later. * src/jlib.erl: Document the short JID type. * src/mod_roster.erl: Document the type of the argument(s) and the returned type of every functions. Add guardians expression to exported functions to ensure at an early stage that we were given the right arguments. Fix table conversion to exmpp; many fields were left as string(), preventing matching from working correctly. (user_roster_item_parse_query/4): Fix a bug where the same variable was used for two distinct purpose. Fix a bad usage of exmpp_jid:jid_to_list/1. 2009-02-05 Jean-Sébastien Pédron * src/ejabberd_auth.erl, src/ejabberd_auth_anonymous.erl, src/ejabberd_auth_external.erl, src/ejabberd_auth_internal.erl, src/ejabberd_auth_ldap.erl, src/ejabberd_auth_odbc.erl, src/ejabberd_auth_pam.erl: Document the type of the argument(s) and the returned type of every functions. * src/ejabberd_auth.erl, src/ejabberd_auth_anonymous.erl: Add guardians expression to many functions to ensure at an early stage that we were given the right arguments. Other modules are not changed because they are only used by ejabberd_auth which already does the check. 2009-01-30 Jean-Sébastien Pédron * doc/api/Makefile: Disable "TODO:" interpretation in eDoc because usually, the following text isn't in eDoc format. 2009-01-23 Jean-Sébastien Pédron * src/cyrsasl.erl, src/cyrsasl_plain.erl, src/cyrsasl_anonymous.erl, src/cyrsasl_digest.erl: Document every functions to clarify the types to give and returned. * src/ejabberd_c2s.erl: exmpp_server_sasl:next_step/1 returns the mechanism as list() again, so the call to binary_to_list/1 isn't necessary anymore. 2009-01-23 Badlop * src/odbc/mysql.sql: Fix complain about comment syntax * src/odbc/pg.sql: Likewise 2009-01-22 Pablo Polvorin * src/ejabberd_sm.erl: Fix typo (node -> lnode). * src/ejabberd_c2s.erl: Reuse the domain in binary() format to make the jid. 2009-01-22 Jean-Sébastien Pédron * src/web/ejabberd_web_admin.erl, src/ejabberd_listener.erl: Fix some eDoc @spec directives. * src/ejabberd_sm.erl (get_vh_session_list/1): Remove a bad list_to_binary/1; now that exmpp_stringprep return the correct type, it was used on a binary(). * src/acl.erl: Document every functions to clarify the types to give and returned. 2009-01-21 Jean-Sébastien Pédron * src/acl.erl (match_acl/3): Use string() version of User/Server/Resource to match an ACL. * src/cyrsasl.erl: Return invalid-mechanism when a mechanism isn't supported instead of no-mechanism, which wasn't standard-compliant. * src/mod_pubsub/nodetree_virtual.erl (create_node/5): Use string() version of UserName and UserHost. * src/mod_private.erl (process_iq_get/3, process_iq_set/3): Use binary() version of LUser and LServer. (convert_to_exmpp2/2): User and server are stored as binary(). * src/adhoc.erl, src/ejabberd_c2s.erl, src/ejabberd_s2s.erl, src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl, src/ejabberd_service.erl, src/ejabberd_sm.erl, src/ejabberd_system_monitor.erl, src/jd2ejd.erl, src/jlib.erl, src/mod_adhoc.erl, src/mod_announce.erl, src/mod_caps.erl, src/mod_configure.erl, src/mod_configure2.erl, src/mod_disco.erl, src/mod_irc/mod_irc.erl, src/mod_irc/mod_irc_connection.erl, src/mod_last.erl, src/mod_last_odbc.erl, src/mod_muc/mod_muc.erl, src/mod_muc/mod_muc_log.erl, src/mod_muc/mod_muc_room.erl, src/mod_offline.erl, src/mod_offline_odbc.erl, src/mod_privacy.erl, src/mod_privacy_odbc.erl, src/mod_proxy65/mod_proxy65_service.erl, src/mod_pubsub/mod_pubsub.erl, src/mod_register.erl, src/mod_roster.erl, src/mod_roster_odbc.erl, src/mod_service_log.erl, src/mod_shared_roster.erl, src/mod_stats.erl, src/mod_vcard.erl, src/mod_vcard_ldap.erl, src/mod_vcard_odbc.erl, src/web/ejabberd_http_poll.erl, src/web/ejabberd_web.erl, src/web/ejabberd_web_admin.erl: Now that #jid{} isn't part of the API of Exmppp anymore, replace remaining direct usages by calls to exmpp_jid. Replace exmpp_jid:make_bare_jid() by exmpp_jid:make_jid(). Replace exmpp_jid:*_to_jid/1 by exmpp_jid:parse_jid/1. Instead creating #xmlattr directly, use the new ?XMLATTR macro; it'll take care of the anything-to-binary() conversion. * src/adhoc.erl, src/mod_caps.erl (read_caps/2), src/mod_offline.erl (find_x_expire/2), src/mod_offline_odbc.erl, src/jd2ejd.erl, src/mod_muc/mod_muc.erl, src/mod_irc/mod_irc_connection.erl, src/mod_privacy_odbc.erl, src/mod_privacy.erl, src/jlib.erl, src/mod_pubsub/mod_pubsub.erl, src/mod_stats.erl: Fix some bugs by getting attributes as list() instead of binary(). * src/mod_muc/mod_muc.erl (terminate/2): Fix a bug where binary_to_list/1 was called on a list(). * src/ejabberd_s2s_in.erl (is_packet_key/1): Fix a bug where recipient and sender were used as binary() instead of list(), which is required by the rest of the S2S code. 2009-01-19 Pablo Polvorin * src/cyrsasl_digest.erl: Typo (prolists -> proplists). 2009-01-19 Jean-Sébastien Pédron * src/cyrsasl_digest.erl: Replace hijacked usage of xml:get_attr_s/2 by proper calls to proplists:get_value/3. Replace a call to stringprep:tolower/1 by exmpp_stringprep:to_lower/1. * src/ejabberd_service.erl: Replace a call to xml:crypt/1 by exmpp_xml:escape_using_entities/1. 2009-01-19 Jean-Sébastien Pédron Merge from trunk (r1804 to r1829). 2009-01-19 Jean-Sébastien Pédron Merge from trunk (r1752 to r1804). Note: this merge doesn't include the following revisions because it was made by previous commits: r1766, r1768, r1781, r1783, r1794, r1797, r1799, r1802. 2009-01-19 Pablo Polvorin * src/translate.erl: Bugfix, ?MYLANG macro returns a list(). 2009-01-19 Jean-Sébastien Pédron * src/ejabberd_auth_anonymous.erl: Fix accesses to the new #jid opaque type. 2009-01-17 Mickael Remond * src/ejabberd_c2s.erl: Added comments. 2009-01-16 Jean-Sébastien Pédron Merge from trunk (r1734 to r1752). Note: this merge doesn't include the following revisions because it was made by previous commits: r1737, r1740, r1745, r1747, r1748. * src/jlib.hrl: Any deprecated content was removed from jlib.hrl. This leaves only the new RSM records. 2009-01-16 Badlop * src/mod_privacy.erl: Privacy list items must be processed in the specified order (EJAB-848) * src/mod_privacy_odbc.erl: Likewise 2009-01-15 Pablo Polvorin * src/mod_muc/mod_muc.erl, src/mod_muc/mod_muc_room.erl: Store registered nicknames, rooms and domains as binary(). Use document_to_iolist/1 and iolist_size/1 instead of document_to_list/1. 2009-01-13 Badlop * doc/release_notes_2.0.3.txt: Add release notes 2009-01-13 Mickael Remond * src/tls/Makefile.win32: Windows compilation support. * src/tls/tls_drv.c: Likewise. * src/tls/stdint.h: Likewise. * doc/guide.tex: Update Erlang version in Windows compilation documentation. 2009-01-13 Badlop * src/msgs/pl.po: Fix typo (thanks to Apag0r)(EJAB-844) 2009-01-12 Badlop * src/web/ejabberd_web_admin.erl: Use textareas for large input like ejabberd module options and listening port options. Show result of POST more clearly. Ensure access rules are shown with some minimum separation. Improve menu headers. (EJAB-562) * src/web/ejabberd_web_admin.hrl: Likewise * src/mod_offline.erl: Likewise * src/mod_offline_odbc.erl: Likewise * src/mod_roster.erl: Likewise * src/mod_roster_odbc.erl: Likewise * src/mod_shared_roster.erl: Likewise * src/ejabberd_listener.erl: New way to configure IP address and IP version of listener. Support for definition of IP address in string format, and implicit definition of IP version (EJAB-388). Support for defining several listeners: all with same port number but different IP addresses (EJAB-389)(thanks to Fabrice Colliot and Sergei Golovan). Better report in WebAdmin of problem when starting a listener. The old configuration method of ip tuple and inet6 is fully supported for backwards compatibility, but is not documented in the Guide anymore. * src/ejabberd_config.erl: Likewise * src/mod_proxy65/mod_proxy65_stream.erl: Likewise * src/mod_proxy65/mod_proxy65_service.erl: Likewise * src/web/ejabberd_web_admin.erl: Likewise * doc/guide.tex: Document the new way to configure IP address and IP version of listener, undocument options ip and inet6 * doc/guide.html: Likewise * src/web/ejabberd_web_admin.erl: New appearance of WebAdmin logo, fixed logo-fill. * doc/guide.tex: Fix some English strings: JID -> Jabber ID; jabberd 1.4 -> jabberd14; commited -> committed * src/*/*.erl: Likewise * src/msgs/*.msg: Likewise * src/msgs/*.po: Likewise 2009-01-12 Alexey Shchepin * src/odbc/ejabberd_odbc.erl: Fixed processing of UPDATE results with pgsql 2009-01-12 Badlop * 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 2009-01-11 Pablo Polvorin * src/mod_pubsub/mod_pubsub.erl: Fix typo, initial update to new hooks API (using binaries). mod_pubsub is still unusable with exmpp. * src/mod_caps.erl, src/ejabberd_c2s.erl: Apply commit 1212 (caps handling fix), was incorrectly overwritten on 1770. 2009-01-11 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: fix owners cache and fix unsubscribe permissions (thanks to Andy Skelton)(EJAB-840) * src/mod_pubsub/node_default.erl: Likewise 2009-01-10 Pablo Polvorin * src/mod_vcard_odbc.erl: Fix bug in user search. * src/mod_vcard_ldap.erl, src/mod_vcard.erl, src/mod_configure.erl, src/ejabberd_sm.erl, src/mod_privacy_odbc.erl, src/ejabberd_c2s.erl, src/ejabberd_local.erl, src/mod_privacy.erl, src/mod_adhoc.erl, src/mod_pubsub/mod_pubsub.erl, src/mod_vcard_odbc.erl, src/mod_stats.erl, src/mod_last.erl, src/mod_private.erl, src/mod_roster.erl, src/mod_disco.erl, src/mod_private_odbc.erl, src/mod_configure2.erl, src/mod_roster_odbc.erl, src/mod_register.erl, src/mod_version.erl, src/mod_caps.erl, src/mod_last_odbc.erl, src/mod_time.erl: Update gen_iq_handler API, require the 'Host' argument to be in binary() format. 2009-01-10 Christophe Romain * src/mod_pubsub/node_default.erl: fix unsubscription of full jid subscribed node (thanks to Andy Skelton)(EJAB-839) 2009-01-09 Pablo Polvorin * src/mod_muc/mod_muc_room.erl, src/mod_muc/mod_muc.erl src/mod_offline_odbc.erl, src/mod_irc/mod_irc_connection.erl, src/mod_irc/mod_irc.erl, src/ejabberd_c2s.erl, src/ejabberd_local.erl, src/mod_pubsub/mod_pubsub.erl, src/ejabberd_s2s.erl, src/mod_roster.erl, src/mod_roster_odbc.erl, src/ejabberd_s2s_out.erl, src/mod_offline.erl, src/translate.erl: Adapt to new exmpp API where get_id/1, get_lang/1, get_initiating_entity/1, get_receiving_entity/1 and get_type/1 return binary(). * src/mod_pubsub/node_default.erl: Fix typo in variable name. * src/ejabberd_c2s.erl: Fix bug in handle_info/3 when dealing with VCARD requests: convert to IQ struct before invoking gen_iq_handler. 2009-01-09 Badlop * doc/guide.tex: Improve explanation of backup commands (EJAB-832) * doc/guide.html: Likewise * src/web/ejabberd_web_admin.erl: New appearance of WebAdmin logo, fixed logo-fill. * src/mod_configure.erl: Fix access check for vhost configuration 2009-01-08 Mickael Remond * src/ejabberd_listener.erl: Define send timeout option to avoid blocking on socket send (EJAB-746). * src/ejabberd_s2s_out.erl: Likewise. 2009-01-08 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: completely support subscription using full JID (EJAB-701) * src/mod_pubsub/node_default.erl: Likewise * src/mod_pubsub/node_default.erl: any entity can retrieve item when node access model is "open" (thanks to Myers Carpenter)(EJAB-836) * src/mod_pubsub/node_default.erl: use of del_items * src/mod_pubsub/node.template: apply delete-any feature * src/mod_pubsub/node_mb.erl: Likewise * src/mod_pubsub/node_buddy.erl: Likewise * src/mod_pubsub/node_private.erl: Likewise * src/mod_pubsub/node_public.erl: Likewise * src/mod_pubsub/node_pep.erl: Likewise * src/mod_pubsub/node_default.erl: Likewise * src/mod_pubsub/node_club.erl: Likewise 2009-01-08 Pablo Polvorin * src/mod_vcard_ldap.erl, src/mod_muc/mod_muc.erl, src/mod_roster.hrl, src/mod_offline_odbc.erl, src/ejabberd_s2s_in.erl, src/adhoc.erl, src/mod_configure.erl, src/mod_irc/mod_irc_connection.erl, src/mod_irc/mod_irc.erl, src/web/ejabberd_http_poll.erl, src/mod_privacy_odbc.erl, src/ejabberd_c2s.erl, src/mod_announce.erl, src/mod_privacy.erl, src/mod_adhoc.erl, src/mod_pubsub/mod_pubsub.erl, src/mod_vcard_odbc.erl, src/mod_stats.erl, src/mod_last.erl, src/mod_roster.erl, src/ejabberd_service.erl, src/mod_disco.erl, src/mod_configure2.erl, src/mod_roster_odbc.erl, src/ejabberd_s2s_out.erl, src/mod_last_odbc.erl: XML attributes as binary(). Change Node argument to binary in the following hooks: disco_local_items, disco_local_features, disco_local_identity, disco_sm_items and disco_sm_identity. 2009-01-07 Badlop * src/mod_roster.erl: Show hyperlinks to local contacts when browsing roster of account in Web Admin (EJAB-480) * src/mod_roster_odbc.erl: Likewise * src/web/ejabberd_web_admin.erl: WebAdmin serves Guide and links to related sections; the path to guide.html can be configured with option doc_path (EJAB-837) * src/web/ejabberd_web_admin.hrl: Likewise * src/mod_shared_roster.erl: Likewise * doc/guide.tex: Likewise * doc/guide.html: Likewise 2009-01-06 Badlop * src/msgs/ru.po: Fix typo (thanks to Dominges) * src/msgs/ru.msg: Likewise 2009-01-05 Pablo Polvorin * src/mod_roster.erl: Fix typo. 2009-01-05 Alexey Shchepin * src/tls/tls_drv.c: Added a flag to avoid certificate validation * src/tls/tls.erl: Likewise * src/ejabberd_c2s.erl: Likewise 2009-01-03 Pablo Polvorin * src/mod_pubsub_node_default.erl: Fix typo. * src/mod_vcard.erl, src/mod_vcard_ldap.erl, src/ejabberd_hooks.erl, src/mod_muc/mod_muc_room.erl, src/mod_muc/mod_muc.erl, src/mod_muc/mod_muc_log.erl, src/mod_shared_roster.erl, src/ejabberd_auth_odbc.erl, src/mod_offline_odbc.erl, src/ejabberd_system_monitor.erl, src/ejabberd_s2s_in.erl, src/mod_configure.erl, src/ejabberd_receiver.erl, src/mod_irc/mod_irc.erl, src/ejabberd_sm.erl, src/mod_privacy_odbc.erl, src/ejabberd_c2s.erl, src/mod_announce.erl, src/ejabberd_local.erl, src/mod_privacy.erl, src/ejabberd_auth_internal.erl, src/mod_adhoc.erl, src/mod_echo.erl, src/jlib.erl, src/mod_vcard_odbc.erl, src/ejabberd_s2s.erl, src/mod_stats.erl, src/ejabberd_router.erl, src/mod_last.erl, src/mod_private.erl, src/mod_roster.erl, src/ejabberd_service.erl, src/mod_disco.erl, src/mod_private_odbc.erl, src/mod_service_log.erl, src/mod_configure2.erl, src/mod_roster_odbc.erl, src/mod_offline.erl, src/mod_register.erl, src/mod_version.erl, src/mod_caps.erl, src/mod_last_odbc.erl: Use exmpp API to access JID fields. Keep #jid fields in binary format when possible. Change all 'user' and 'server' arguments in all hooks to binary. Change internal tables of ejabberd_sm, ejabberd_router, ejabberd_hooks, mod_last, mod_roster to use binary() storage. 2009-01-03 Badlop * src/*.erl: Fix EDoc comments 2009-01-03 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: deliver notification depending on presence-based-delivery configuration (EJAB-827). notification code rewrite. * src/mod_pubsub/mod_pubsub.erl: code cleanning, minor bugfixes * src/mod_pubsub/node_default.erl: Likewise * src/mod_pubsub/node_pep.erl: Likewise * src/mod_pubsub/pubsub.hrl: Likewise * src/mod_pubsub/mod_pubsub.erl: prevent subscribing with full jid, waiting for full jid support (EJAB-701) * src/mod_pubsub/mod_pubsub.erl: use of delete-any feature instead of delete-nodes for delete item use case (fix from erroneous definition in XEP-0060) * src/mod_pubsub/mod_pubsub.erl: Added "access-whitelist" and "member-affiliation" features (thanks to Andy Skelton)(EJAB-780) 2008-12-29 Alexey Shchepin * src/ejabberd_c2s.erl: Bugfix in "from" attribute checking 2008-12-29 Evgeniy Khramtsov * src/odbc/ejabberd_odbc.erl: Print meaningful error message when an SQL transaction exceeds number of restarts. Also rollbacks this transaction to prevent deadlocks. * src/odbc/odbc_queries.erl: replaced string:join/2 function. Removed ugly "catch" statement from update_t/4. WARNING: this change requires last version of mysql driver. You can update it from ejabberd-modules repository. 2008-12-28 Mickael Remond * src/ejabberd_c2s.erl: We should allow use of bare resource in from by the client (partially revert r1727) (EJAB-812). 2008-12-26 Badlop * src/web/ejabberd_web_admin.erl: Show in ejabberd Web Admin the connection method and connected node of Jabber clients (thanks to Oleg Palij)(EJAB-319) * src/ejabberd_config.erl: Option outgoing_s2s_options to define s2s outgoing behaviour: IPv4, IPv6 and timeout (thanks to Stephan Maka)(EJAB-665) * src/ejabberd_s2s_out.erl: Likewise * src/ejabberd_socket.erl: Likewise * src/ejabberd.cfg.example: Likewise * doc/guide.tex: Likewise * doc/guide.html: Likewise 2008-12-26 Evgeniy Khramtsov * src/odbc/ejabberd_odbc.erl: get rid of SERIALIZABLE isolation level on MySQL connections. * src/odbc/odbc_queries.erl: replaces all delete->insert chains with update->insert. * src/mod_privacy_odbc.erl: moved sql queries to odbc_queries.erl. * src/mod_roster_odbc.erl: changed interface for odbc_queries.erl. 2008-12-24 Badlop * src/aclocal.m4: Fixes in configure script: fix disable-ejabberd_zlib and disable-pam; in case of problems, PAM verification aborts with error instead of warning. (EJAB-787) * src/configure.ac: Likewise * src/configure: Likewise 2008-12-23 Badlop * src/acl.erl: New ACL: shared_group (thanks to Maxim Ryazanov) * doc/guide.tex: Likewise * src/mod_shared_roster.erl: Push new group members when registered or manually added to group: EJAB-730 EJAB-731 EJAB-732 EJAB-767 EJAB-794. When user is added to group, push it to other members, and other members to it. When user is removed from group, push deletion to other members, and other members to it. When user is registered, push him to members of group @all@. When user is deleted, push deletion to members of group @all@. Document several functions in mod_shared_roster. * src/ejabberd_auth.erl: Rename hook user_registered to register_user, for name consistency with the widely used hook remove_user. Run hook register_user in ejabberd_auth, so it's run when account is created with any method. Run hook remove_user in ejabberd_auth, so it's run when account is deleted with any method. * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth_ldap.erl: Likewise * src/ejabberd_auth_odbc.erl: Likewise * src/ejabberd_auth_pam.erl: Likewise * src/mod_register.erl: Likewise * src/jlib.erl: Implementation of XEP-0059 Result Set Management (thanks to Eric Cestari)(EJAB-807) * src/jlib.hrl: Likewise * src/mod_muc/mod_muc.erl: Likewise 2008-12-23 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Improve handling of PEP sent to external contacts (EJAB-825) * src/mod_caps.erl: Likewise 2008-12-23 Badlop * src/mod_last.erl: Implement workaround for uptime statistic in 32 bit machines, so it can show uptime greater than 50 days (EJAB-610) * src/mod_last_odbc.erl: Likewise * src/ejabberd_config.erl: Store start time in local_config table * src/cyrsasl_digest.erl: Check digest-uri in SASL digest authentication (thanks to Paul Guyot)(EJAB-569) * src/odbc/odbc_queries.erl: Fix removal of private_storage of an account when the account is removed * src/mod_privacy.erl: Remove privacy lists of an account when the account is removed (EJAB-720) * src/mod_privacy_odbc.erl: Likewise 2008-12-19 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Fix send_last_published_item issue when running on clustered table (thanks to Vincent Barat)(EJAB-793) 2008-12-18 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Check option of the nodetree instead of checking configuration (thanks to Eric Cestari)(EJAB-737) 2008-12-17 Pablo Polvorin * src/mod_muc/mod_muc_room.erl: Fix bug in MUC invite. 2008-12-17 Jean-Sébastien Pédron Merge from trunk (r1730 to r1734). 2008-12-16 Badlop * src/mod_pubsub/mod_pubsub.erl: Fix update pubsub tables from ejabberd 1.x to 2.x (EJAB-817) * doc/guide.tex: Fix capitalization of some section titles * doc/guide.tex: Mention as optional Requirements: mysql, pgsql and pam * src/ejabberd_admin.erl: Command reopen-log must also rotate sasl.log (thanks to Alexander Tsvyashchenko)(EJAB-711) * src/ejabberd_logger_h.erl: Export the function rotate_log/1 * doc/guide.tex: Improve explanation of log files rotation * doc/guide.tex: Improve explanation of watchdog admins option: only useful for developers (EJAB-816) * src/ejabberd.cfg.example: Likewise * doc/guide.tex: Say 'higher' instead of 'newer' in requirements * README: Likewise * doc/guide.tex: Simplify example mod_muc configuration 2008-12-16 Jean-Sébastien Pédron Merge from trunk (r1709 to r1730). Ejabberd should be usable again. 2008-12-16 Jean-Sébastien Pédron * src/mod_pubsub/mod_pubsub.erl: Convert to exmpp the parts recently merged from trunk. Warning: Ejabberd is unusable because the rest of trunk hasn't been merged yet! 2008-12-15 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Fix get_item_name deadlock on transaction 2008-12-12 Alexey Shchepin * src/ejabberd_c2s.erl: Bugfix in "from" attribute checking 2008-12-10 Jean-Sébastien Pédron * src/eldap/eldap_utils.erl (case_insensitive_match/2): Replace stringprep by exmpp_stringprep. 2008-12-09 Christophe Romain * src/mod_pubsub: Merge from latest trunk (r1716). 2008-12-09 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: prevent publish items with invalid XML schema bugfix (EJAB-699) (previous commit was uncomplete) and fix bug injected in previous commit 2008-12-08 Christophe Romain * src/ejabberd_c2s.erl: Reduce memory consumption due to caps handling * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_caps.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: ignore unknown configuration fields (EJAB-762) (thanks to Jack Moffitt) * src/mod_pubsub/mod_pubsub.erl: fix node authorization bug (EJAB-798) send authorization update event (EJAB-799) (thanks to Brian Cully) * src/mod_pubsub/mod_pubsub.erl: add nodetree filtering and authorization (EJAB-813) (thanks to Brian Cully) * src/mod_pubsub/nodetree_default.erl: Likewise * src/mod_pubsub/nodetree_virtual.erl: Likewise * src/mod_pubsub/gen_pubsub_nodetree.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: prevent publish items with invalid XML schema (EJAB-699) * src/mod_pubsub/pubsub.hrl: remove unused pubsub_presence record * src/mod_pubsub/node_flat.erl: renamed from node_zoo * src/mod_pubsub/mod_pubsub.erl: reply to suscriptions options queries with unsupported feature error (EJAB-713) * src/mod_pubsub/node_default.erl: remove pubsub_state record when unsubscribing node without affiliation (EJAB-776) 2008-12-08 Jean-Sébastien Pédron Merge from trunk (r1692 to r1709). 2008-12-08 Jean-Sébastien Pédron * src/mod_pubsub/node_default.erl, src/mod_pubsub/node_pep.erl: Fix acl:match_rule/3 call. It takes a #jid record, not a short JID. * src/mod_pubsub/node_buddy.erl, src/mod_pubsub/node_club.erl, src/mod_pubsub/node_dispatch.erl, src/mod_pubsub/node_mb.erl, src/mod_pubsub/node_private.erl, src/mod_pubsub/node_public.erl, src/mod_pubsub/node_zoo.erl, src/mod_pubsub/nodetree_default.erl, src/mod_pubsub/nodetree_virtual.erl: Finish the conversion of mod_pubsub to Exmpp. 2008-12-08 Mickael Remond * src/ejabberd_c2s.erl: Enforce client stanza from attribute (EJAB-812). * src/jlib.erl: Likewise. 2008-12-05 Jean-Sébastien Pédron * src/ejabberd_receiver.erl, src/mod_offline_odbc.erl, src/mod_vcard_odbc.erl, src/mod_private_odbc.erl, src/jd2ejd.erl: Update Exmpp XML parser options. * src/gen_iq_handler.erl: Add the module and function names to the error message, when a module crash. * src/mod_pubsub/mod_pubsub.erl, src/mod_pubsub/nodetree_default.erl, src/mod_pubsub/node_default.erl, src/mod_pubsub/node_pep.erl: First pass of Exmpp conversion for mod_pubsub. Several modules aren't converted yet. Existent Mnesia tables written to disc are not updated. There must be bugs, mostly because of the mix between #jid record and short JIDs. 2008-12-03 Jean-Sébastien Pédron * src/mod_proxy65/mod_proxy65_stream.erl, src/mod_proxy65/mod_proxy65_service.erl: Convert mod_proxy65 to exmpp. 2008-12-02 Badlop * src/mod_muc/mod_muc_room.erl: Move definitions to header file * src/mod_muc/mod_muc_room.hrl: New header file * src/Makefile.in: Likewise 2008-12-01 Jean-Sébastien Pédron Merge from trunk (r1649 to r1692). * src/ejabberd_frontend_socket.erl: Fix two warnings about unused variables. 2008-12-01 Badlop * doc/guide.tex: New subsection Database Connection * doc/guide.html: Likewise 2008-11-28 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Clean user activity after timeout (EJAB-804) 2008-11-26 Badlop * src/ejabberdctl.template: Fix detection of ejabberdctl.cfg path * src/mod_irc/mod_irc.erl: Announce disco#info (thanks to Spike) * src/mod_muc/mod_muc.erl: Announce disco#info disco#items * src/mod_proxy65/mod_proxy65_service.erl: No announce disco#items * src/mod_pubsub/mod_pubsub.erl: Announce disco#info disco#items * src/mod_vcard.erl: Announce disco#info * src/gen_mod.erl: First store module options in ETS and Mnesia, then start the module. In case of failure, remove options from ETS. Until now the module was started before the options were stored in database, and some modules started incorrectly because they couldn't access the options from database; for instance mod_muc_room required this for reading max_users option. * src/mod_muc/mod_muc_room.erl: Include the value of max_users service option and the current max_users room option in the list of allowed room limit values. 2008-10-17 Christophe Romain * src/mod_pubsub/node_pep.erl: Fix get_node_affiliations resultset to owner (Thanks to Michal Schmidt) 2008-11-24 Evgeniy Khramtsov * src/eldap/Makefile.in: added +optimize and +driver compilation options * src/eldap/Makefile.win32: Likewise 2008-11-23 Alexey Shchepin * src/ejabberd_receiver.erl: Hibernate after timeout * src/ejabberd_frontend_socket.erl: Likewise 2008-11-12 Badlop * src/web/ejabberd_http.erl: Include recognized headers in request_headers as atoms, and others as strings (EJAB-778). URL path should be tokenized by / and then decoded (EJAB-786). * doc/guide.tex: Improve legibility of mod_irc example config 2008-11-10 Alexey Shchepin * src/tls/tls_drv.c: Don't create a SSL context on every connection and disable SSLv2 on outgoing connections (EJAB-781) 2008-11-08 Mickael Remond * src/ejabberd_s2s_out.erl: exports the DNS resolution function. 2008-11-06 Badlop * src/extauth.erl: When the extauth call fails or timeouts, deny authorization. Use two timeouts: 60s for script initialization and 10s for regular calls. (thanks to Kevin Crosbie from Ravenpack) (EJAB-627) 2008-11-04 Pablo Polvorin * src/mod_muc/mod_muc_log.erl: Convert to exmpp, fix recursive directory creation. * src/mod_muc/mod_muc_room.erl: Default values as binary() instead of list(). 2008-11-03 Pablo Polvorin * src/ejabberd_app.erl: Start the exmpp application. * src/mod_muc/mod_muc.erl, src/mod_muc/mod_muc_room.erl: Convert to exmpp. 2008-11-03 Alexey Shchepin * src/ejabberd_c2s.erl: Disable zlib when STARTTLS is required 2008-10-31 Jean-Sébastien Pédron * src/mod_last_odbc.erl (store_last_info/4): Fix a bug where the status was not converted to list before calling ejabberd_odbc:escape/1. (get_last_info/2): Fix a bug where the status was returned as a list instead of a binary. 2008-10-27 Badlop * src/Makefile.in (clean-local): Delete also ejabberdctl.example 2008-10-25 Badlop * src/translate.erl: When a translation file can't be loaded, show detailed error message * src/ejabberd_ctl.erl: If ejabberd didn't start correctly: 'ejabberdctl status' suggests to look in log files; any other ejabberdctl command shows 'status'. * src/ejabberd_app.erl: Open ejabberd.log sooner, so errors during ejabberd initialization are logged in that file (EJAB-777). Write a log message when ejabberd finishes the start or stop. 2008-10-24 Badlop * src/ejabberd_c2s.erl: Ensure unique ID in roster push (EJAB-721) * src/mod_roster.erl: Likewise * src/mod_roster_odbc.erl: Likewise * src/mod_shared_roster.erl: Likewise * src/ejabberd_listener.erl: Fix listeners * src/ejabberd_sup.erl: Likewise * src/gen_mod.erl: Likewise 2008-10-23 Alexey Shchepin * src/ejabberd_frontend_socket.erl: Fixed SSL sockets 2008-10-20 Jean-Sébastien Pédron * src/mod_irc/mod_irc.erl, src/mod_irc/mod_irc_connection.erl: Convert to exmpp. 2008-10-17 Badlop * src/Makefile.in: docdir should be prefixed with DESTDIR (thanks to Jack Moffitt)(EJAB-775) 2008-10-17 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: fix badarg issue on get_roster_info when allowed roster groups is not defined * src/mod_pubsub/mod_pubsub.erl: fix remove_user not unsubscribing user (EJAB-684) * src/mod_pubsub/node_default.erl: does not write item when max_items set to 0 (solves EJAB-768) 2008-10-14 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: fix pubsub_publish_item hook ServerHost parameter (EJAB-772) 2008-10-13 Jean-Sébastien Pédron * src/web/ejabberd_http.erl, src/web/ejabberd_http_poll.erl, src/web/ejabberd_web.erl, src/web/ejabberd_web_admin.erl, src/web/ejabberd_web_admin.hrl: Convert to exmpp. The admin web interface is working but HTTP polling seems broken in the trunk. 2008-10-13 Jean-Sébastien Pédron Merge from trunk (r1613 to r1649). * src/jlib.erl: Remove all deprecated functions. 2008-10-13 Jean-Sébastien Pédron * src/extauth.erl (call_port/2): Replace jlib:nameprep/1 by exmpp_stringprep:nameprep/1. * src/gen_iq_handler.erl: Remove the deprecated list of converted modules. * src/ejd2odbc.erl, src/jd2ejd.erl: Convert to exmpp. 2008-10-13 Jerome Sautret * src/odbc/ejabberd_odbc.erl: log MySQL driver messages. 2008-10-13 Badlop * src/web/ejabberd_web_admin.erl: When requesting page of nonexistent user, show 'Not Found' page (EJAB-771) 2008-10-12 Badlop * src/web/ejabberd_web_admin.erl: Run new hook webadmin_user_parse_query when POST in web admin user page (thanks to Oleg Palij)(EJAB-747) * src/mod_offline.erl: Add button "Remove All Offline Messages" in a user page (thanks to Oleg Palij)(EJAB-747) * src/mod_offline_odbc.erl: Likewise * src/web/ejabberd_web_admin.erl: Improve Web Admin navigation menu for vhosts and nodes (EJAB-734) * doc/guide.tex: Explain the new ejabberdctl command 'help' * doc/guide.html: Likewise * src/mod_configure.erl: Update calls from ctl to commands (EJAB-694) * src/web/ejabberd_web_admin.erl: Likewise * src/ejabberd_sm.erl: Update from ctl to commands (EJAB-694) * src/ejabberd_s2s.erl: Likewise * src/ejabberd_auth.erl: Update from ctl to commands (EJAB-694) * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth_ldap.erl: Likewise * src/ejabberd_auth_odbc.erl: Likewise * src/ejabberdctl.template: Move help print to a separate function (EJAB-694) * src/ejabberd_ctl.erl: Add frontend support for commands (EJAB-694). Categorization and sorting of commands in ejabberd_ctl help (EJAB-313). Lines in command line help of length 80, and text formatting (EJAB-473) * src/ejabberd_app.erl: Initialize ejabberd_commands and start ejabbed_admin (EJAB-694) * src/ejabberd_admin.erl: Implement commands from old ejabberd_ctl (EJAB-694) * src/ejabberd_commands.erl: New 'ejabberd commands': separate command definition and calling interface (EJAB-694) * src/ejabberd_commands.hrl: Likewise * src/mod_proxy65/mod_proxy65.erl: Update so the listener starts correctly (EJAB-303) * src/mod_proxy65/mod_proxy65_service.erl: Likewise * src/ejabberd_app.erl: Start listeners explicitely at server start after everything else (EJAB-303). Implement support in ejabberd for 'independent listeners', which handle their connections themselves: gen_tcp:listen, etc. * src/ejabberd_listener.erl: Likewise * src/ejabberd_socket.erl: Likewise * src/ejabberd_sup.erl: Likewise 2008-10-10 Jean-Sébastien Pédron * src/ejabberd_c2s.erl (is_auth_packet/1): Fix a bug where legacy authentication informations were not search among the query children but among the IQ children. Thanks to Pablo Polvorin! * src/mod_privacy_odbc.erl (item_to_raw/1): Fix a buf where a tuple was passed to exmpp_jid:jid_to_list/1 instead of a #jid. Now we use exmpp_jid:jid_to_list/3. Thanks to Pablo Polvorin! * src/ejabberd_s2s_in.erl (wait_for_feature_request/2), src/ejabberd_router.erl (register_route/2, unregister_route/1), src/ejabberd_ctl.erl (process/1), src/ejabberd_rdbms.erl (needs_odbc/1): Replace jlib:nameprep/1 by exmpp_stringprep:nameprep/1 and change the error handling. * src/ejabberd_config.erl (normalize_hosts/2): Replace jlib:nodeprep/1 by exmpp_stringprep:nodeprep/1 and change the error handling. * src/ejabberd_c2s.erl (handle_sync_event/4): Remove a remaining jlib:jid_remove_resource/1 call. * src/ejabberd_auth_internal.erl: Replace jlib:*prep/1 by exmpp_stringprep:*prep/1 and change the error handling. * src/mod_vcard_odbc.erl (do_route/4): Replace jlib:iq_to_xml/1 by exmpp_iq:iq_to_xmlel/1. * src/mod_roster_odbc.erl (user_roster_subscribe_jid/3): Fix a bug where the wrong module was called (jlib instead of exmpp_jid). * src/ejabberd_app.erl (start/2): Don't start stringprep_sup. * src/ejabberd_system_monitor.erl: Convert to exmpp. 2008-10-09 Jean-Sébastien Pédron * src/ejabberd_c2s.erl: Fix handling of unauthenticated stanzas which are not request IQ. Thanks to Pablo Polvorin! 2008-10-08 Jean-Sébastien Pédron Merge from trunk (r1563 to r1613). 2008-10-07 Jean-Sébastien Pédron * src/ejabberd_local.erl: Fix a bug where an error stanza was not created correctly, leading to ejabberd_c2s crash. * src/mod_stats.erl, src/mod_service_log.erl, src/mod_time.erl: Convert to exmpp. * src/mod_private.erl, src/mod_private_odbc.erl, src/mod_version.erl: Convert to exmpp. Thanks to Pablo Polvorin! 2008-10-07 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: uncomment pubsub_publish_item hook call (EJAB-765) 2008-10-07 Jerome Sautret * src/mod_roster_odbc.erl: fix MySQL multiple requests issue. 2008-10-06 Jean-Sébastien Pédron * src/ejabberd_sm.erl (process_iq/3): Fix a bug where we were matching on #iq.type instead of #iq.kind, resulting in bad-request sent to the client. * src/ejabberd_c2s.erl (process_privacy_iq/4): mod_privacy & friends may return an empty list. Thanks to Pablo Polvorin! * src/mod_roster_odbc.erl (get_jid_info/4): Fix a confusion between #jid and tuples. Thanks to Pablo Polvorin! * src/mod_privacy.erl, src/mod_privacy_odbc.erl: Convert to exmpp. Thanks to Pablo Polvorin! * src/mod_privacy.erl: The Mnesia table wasn't updated when converting from an old schema. * src/ejabberd_sm.erl, src/mod_roster.erl, src/mod_roster_odbc.erl: Fix status handling by always using binaries: until now, we were mixing lists and binaries in a non-working way. Thanks to Pablo Polvorin! 2008-10-06 Badlop * doc/guide.html: Regenerated 2008-10-06 Jerome Sautret * src/ejabberd_rdbms.erl: fix SQL database reconnection issues (EJAB-764) and add odbc_start_interval configuration directive (default to 30 seconds). * src/odbc/ejabberd_odbc.erl: likewise. * src/odbc/ejabberd_odbc_sup.erl: likewise. * doc/guide.tex: likewise. 2008-10-03 Jerome Sautret * src/odbc/odbc_queries.erl: Fix empty query that fail on MySQL. 2008-10-03 Jerome Sautret * src/mod_vcard_odbc: added vCard support for MS SQL Server 2005. * src/odbc/odbc_queries.erl: likewise. * src/odbc/mssql2005.sql: likewise. 2008-10-02 Jean-Sébastien Pédron * src/mod_roster_odbc.erl: Fix a bug where a JID represented as a tuple was used in a function expecting a #jid; thanks to Pablo Polvorin again! * src/mod_announce.erl (get_stored_motd): exmpp_xml:get_element_by_name/2 is deprecated; use exmpp_xml:get_element/2 instead. * src/mod_echo.erl: In #jid, when the node isn't specified, it defaults to the atom "undefined", not an empty binary. Fix a bug where we expected an #xmlelement to have only one #xmlcdata child. * src/mod_last_odbc.erl (start/2, stop/1): The IQ registration must use a namespace as atom, not list. (process_local_iq/3, process_sm_iq/3, get_last/3): These functions receive an #iq, not an #xmlel. (store_last_info/4, remove_user/2): Add try/catch block around exmpp_stringprep:*prep/1 uses. 2008-10-01 Jean-Sébastien Pédron * src/mod_offline_odbc.erl, src/mod_vcard_odbc.erl, src/mod_roster_odbc.erl: Fix multiple bugs in ODBC mods, thanks to Pablo Polvorin! 2008-10-01 Mickael Remond * src/mod_shared_roster.erl: Correct roster push when changing a shared roster entry name (EJAB-738). 2008-09-30 Badlop * src/*/Makefile.win32: Provide explicit beam filenames because nmake does not accept wildcards (thanks to Attila Vangel)(EJAB-543) 2008-09-29 Jean-Sébastien Pédron * src/jlib.erl (parse_xdata_submit, parse_xdata_fields): Fix a bug where exmpp_xml:get_attribute_from_list/3 was called with only 2 arguments; this code has not been updated when exmpp_xml's API changed... * src/mod_disco.erl: Remove compatilibity code. * src/ejabberd_c2s.erl: When the status is not specified in a presence stanza, default to an empty binary, not an empty string; this is what mod_last expects. * src/mod_last.erl: Add try/catch block around exmpp_stringprep:*prep/1 uses. Add table conversion. (get_last): Do not convert status to binary because it's already one. * src/mod_adhoc.erl: Remove compatibility code (not tested yet). * src/mod_shared_roster.erl: Convert to exmpp (not tested yet). * src/mod_roster.erl (push_item), src/mod_roster_odbc.erl (push_item): Fix a bug in #xmlel construction: children must be a list. * src/ejabberd_receiver.erl: Add the {autoload_known, true} flag to the XML parser options. This allows modules to extend the known nss/names/attrs with their own data. * src/mod_configure2.erl: Fill exmpp_xml known list with the nss/names/attrs used by this module. 2008-09-25 Jean-Sébastien Pédron * src/jlib.erl (timestamp_to_xml): Create an #xmlel element, not an old #xmlelement. * src/mod_offline.erl: Remove any compatibility code: the core of Ejabberd expects new structures. Add table conversion. Add try/catch block around exmpp_stringprep:*prep/1 uses. 2008-09-24 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Allow PEP node type to be mapped with namespace (EJAB-739). Change get_items to use From (EJAB-751). (Thanks to Eric Cestari) * src/mod_pubsub/gen_pubsub_node.erl: Likewise * src/mod_pubsub/node_dispatch.erl: Likewise * src/mod_pubsub/node_buddy.erl: Likewise * src/mod_pubsub/node_zoo.erl: Likewise * src/mod_pubsub/node.template: Likewise * src/mod_pubsub/node_private.erl: Likewise * src/mod_pubsub/node_public.erl: Likewise * src/mod_pubsub/node_default.erl: Likewise * src/mod_pubsub/node_pep.erl: Likewise * src/mod_pubsub/node_club.erl: Likewise * src/mod_pubsub/node_mb.erl: Added PEP microglobing node (Thanks to Eric Cestari) 2008-09-23 Jean-Sébastien Pédron * src/mod_vcard.erl (process_sm_iq): Fix a bug where a badmatch exception was raised when the user didn't have a vCard. (remove_user): Fix a bug where the exmpp_jid module was use instead of exmpp_stringprep. * src/ejabberd_auth_odbc.erl (check_password), src/mod_roster.erl (remove_user): Fix a typo in the exmpp_stringprep module name. * src/ejabberd_c2s.erl: Fix a misuse of exmpp_stanza:error/2: the namespace argument (the first one) was missing. (process_privacy_iq): Fix a bug where the #iq record was not converted back to an #xmlel before calling ejabberd_router:route/3. * src/mod_register.erl: Convert to exmpp. 2008-09-22 Jean-Sébastien Pédron * src/mod_vcard.erl (get_sm_features): Remove unappropriate comments. (do_route): Use the '_s' variants of NS_* macros instead of a call to atom_to_list/1. (filter_fields): A call to the stringprep module was left. * src/mod_vcard_ldap.erl, src/mod_vcard_odbc.erl: Convert to exmpp. 2008-09-22 Mickael Remond * src/mod_configure.erl: Fix adhoc commands reply types for "get-online-users-num" and "get-registered-users-num" (EJAB-756). 2008-09-18 Jean-Sébastien Pédron * src/mod_roster_odbc.erl: Convert to exmpp. * src/mod_roster.erl (get_in_pending_subscriptions): Fix a bug where the type of the presence stanza was lost. (user_roster): Reorganize a few lines to match mod_roster_odbc. 2008-09-16 Jean-Sébastien Pédron Merge from trunk (r1457 to r1563). 2008-09-15 Badlop * doc/guide.tex: Fix explanation of mod_muc's anonymous option. Make clear that an ejabberd_service can only serve a single external component. Provide Mnesia directory when setting clustering (thanks to Matthew Reilly) 2008-09-12 Badlop * src/web/ejabberd_http.hrl: Provide Host, Port, Headers and Transfer Protocol in request (thanks to Eric Cestari)(EJAB-560) * src/web/ejabberd_http.erl: Likewise 2008-09-02 Badlop * doc/guide.tex: Fix mod_proxy configuration example * doc/guide.html: Likewise 2008-09-02 Mickael Remond * src/odbc/mssql2000.sql: Script for MSSQL 2000 * src/odbc/mssql2005.sql: Script for MSSQL 2005 (EJAB-535) * src/odbc/mssql.sql: removed 2008-08-27 Jean-Sébastien Pédron * src/mod_roster.erl: Remove a debugging io:format/2. * src/mod_caps.erl: handle_cast({disco_response, ...}, ...) now receives an #iq record: update the code to handle this. * src/mod_vcard.erl: VCards are now stored as #xmlel. Mnesia tables are converted during startup. 2008-08-27 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: send last published events now supports PEP events from unavailable users nodes (EJAB-698) * src/ejabberd_c2s.erl: Likewise 2008-08-26 Jean-Sébastien Pédron * src/jlib.erl: short_jid/1 and short_bare_jid/1 now produce a short JID from the user-provided JID parts. To obtain a short JID from the STRINGPREP'd parts, use the new short_prepd_jid/1 and short_prepd_bare_jid/1 functions. Remove commented-out code and use proper variable names. Those functions use the atom 'undefined' and NOT the empty string anymore! * src/acl.erl, src/ejabberd_router.erl: Use the new functions from jlib. * src/ejabberd_router.erl, src/ejabberd_local.erl, src/ejabberd_sm.erl, src/ejabberd_s2s.erl, src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl, src/ejabberd_c2s.erl: Remove the compatibility code. It's becoming confusing to handle every case every where. Also, in JIDs (normal and short), the atom "undefined' is expected, not the empty string anymore! * src/mod_roster.hrl, src/mod_roster.erl: Remove compatibility code. Use the atom 'undefined' in JIDs (normal and short). Add try/catch blocks where Exmpp can raise exceptions. Remove some unused code. Convert on-disk Mnesia database: JIDs, extra XML elements and askmessage are concerned. By default, 'askmessage' is now an empty binary instead of an empty string, for consistency's sake. Fix some bugs. 2008-08-26 Badlop * doc/release_notes_2.0.2.txt: Update for final release * doc/guide.tex: Windows binary installer requires MSVC++ 5 * doc/guide.html: Likewise 2008-08-26 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: get_items bugfix (EJAB-716) 2008-08-25 Christophe Romain * src/mod_privacy_odbc.erl: Prevent case_clause error when ejabber_odbc:sql_query returns {error, Reason} * src/mod_vcard_odbc.erl: Likewise * src/mod_last_odbc.erl: Likewise * src/mod_offline_odbc.erl: Likewise 2008-08-25 Badlop * src/ejabberd_check.erl: Detect correctly MSSQL and ODBC configuration (EJAB-710) 2008-08-24 Geoff Cant * src/mod_mud/mod_muc_room.erl: is_visitor/2 fix - use get_role not get_affiliation 2008-08-22 Badlop * src/ejabberd_router.erl: Fix call to mnesia match_object 2008-08-21 Badlop * doc/guide.tex: Fix names of chatroom to room, user to occupant * doc/guide.html: Likewise 2008-08-18 Badlop * src/mod_muc/mod_muc_log.erl: MUC log files options: plaintext format; filename with only room name (EJAB-596) * doc/guide.tex: Document both options * doc/guide.html: Likewise * src/mod_register.erl: Change password using mod_register always returns success regardless of real result (EJAB-723) * src/ejabberd_auth.erl: Likewise * src/ejabberd_auth_external.erl: Likewise * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth_odbc.erl: Likewise 2008-08-18 Christophe Romain * src/mod_pubsub/node_dispatch.erl: Fix call to unexported function nodetree_default:get_subnodes/2 2008-08-17 Badlop * contrib/extract_translations/extract_translations.erl: Use Gettext PO for translators, export to ejabberd MSG (EJAB-648) * contrib/extract_translations/prepare-translation.sh: Likewise * doc/guide.tex: Likewise * doc/guide.html: Likewise * src/Makefile.in: New option 'make translations' * src/msgs/ejabberd.pot: Template translation file * src/msgs/*.po: Generated from old MSG files * src/msgs/*.msg: Automatic exported from PO files 2008-08-16 Badlop * src/msgs/sv.msg: Fixed formatting typos * src/gen_mod.erl: Export stop_module_keep_config/2 (EJAB-706) 2008-08-14 Jean-Sébastien Pédron * translate.erl (ascii_tolower): Accept 'undefined' as a language and treat it as the empty string. * src/gen_iq_handler.erl, src/ejabberd_local.erl, src/ejabberd_sm.erl: Remove the compatibility layer and always call modules with the new #iq record from Exmpp. * src/mod_roster.erl, src/mod_vcard.erl, src/adhoc.erl, src/mod_adhoc.erl, src/mod_configure.erl, src/mod_configure2.erl, src/mod_disco.erl, src/mod_last.erl: Convert to the new #iq record from Exmpp. 2008-08-13 Badlop * doc/guide.tex: Explain that LDAP is read-only storage (thanks to Evgeniy Khramtsov) * doc/guide.html: Likewise 2008-08-10 Badlop * src/msgs/eo.msg: Updated (thanks to Andreas van Cranenburgh) * src/msgs/nl.msg: Updated (thanks to Andreas van Cranenburgh) * src/msgs/sk.msg: Updated (thanks to Marek Becka) * src/msgs/sv.msg: Updated (thanks to Thore Alstromer and Heysan) 2008-08-09 Badlop * src/ejabberd_service.erl: Fix XEP-0114 compliance: define xmlns in header of error response; include in response the JID of served component not server (thanks to Sergei Golovan)(EJAB-717) 2008-08-06 Jean-Sébastien Pédron * src/mod_offline.erl, src/mod_offline_odbc.erl, src/mod_echo.erl, src/mod_last.erl, src/mod_configure2.erl, src/mod_last_odbc.erl, src/gen_iq_handler.erl: Convert to exmpp. * src/adhoc.erl, src/mod_configure.erl, src/mod_roster.erl, src/mod_disco.erl, src/mod_caps.erl: Update to use the new exmpp_xml:get_attribute/{3,4} API. * src/ejabberd_c2s.erl, src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl, src/ejabberd_service.erl, src/mod_adhoc.erl, src/mod_caps.erl, src/mod_configure.erl, src/mod_disco.erl, src/mod_echo.erl, src/mod_offline.erl, src/mod_roster.erl, src/mod_vcard.erl: Update to use the new names used in exmpp_jid. 2008-08-04 Jerome Sautret * src/odbc/ejabberd_odbc.erl: Restart the database connection when it's lost or it reaches timeout with MySQL. Set transaction isolation level to SERIALIZABLE when establishing connection to MySQL. 2008-08-01 Badlop * doc/release_notes_2.0.2.txt: Added for ejabberd 2.0.2-beta1 * src/web/ejabberd_http.erl: Temporary solution for check of packet size when HTTPS (EJAB-611)(EJAB-507)(EJAB-574) 2008-07-31 Badlop * src/msgs/uk.msg: Fix: each string in a single line * src/msgs/wa.msg: Likewise * src/msgs/es.msg: Fix typo * src/msgs/gl.msg: Likewise * src/msgs/pt-br.msg: Likewise * src/msgs/zh.msg: Fix some translations (thanks to Zhan Caibao) * src/msgs/ca.msg: Updated (thanks to Badlop) * src/msgs/cs.msg: Updated (thanks to Lukas Poliuvk) * src/msgs/de.msg: Updated (thanks to Nikolaus Polak) * src/msgs/es.msg: Updated (thanks to Badlop) * src/msgs/fr.msg: Updated (thanks to Christophe Romain) * src/msgs/it.msg: Updated (thanks to Luca Brivio) * src/msgs/ja.msg: Updated (thanks to Tsukasa Hamano) * src/msgs/no.msg: Updated (thanks to Stian B. Barmen) * src/msgs/pl.msg: Updated (thanks to Zbyszek Zolkiewski) * src/msgs/pt-br.msg: Updated (thanks to Otavio Fernandes) * src/msgs/ru.msg: Updated (thanks to Evgeniy Khramtsov) * src/msgs/tr.msg: Updated (thanks to Doruk Fisek) * src/msgs/uk.msg: Updated (thanks to Ruslan Rakhmanin) * src/msgs/wa.msg: Updated (thanks to Pablo Saratxaga) * src/msgs/zh.msg: Updated (thanks to Shelley Shyan) * README: Update location where mnesia, ebin and priv directories are installed; install headers and doc (EJAB-696) * 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 2008-07-30 Badlop * src/mod_muc/mod_muc_room.erl: Support Reasons for all affiliation and role changes (EJAB-306) * src/gen_mod.erl: When ejabberd is kindly stopped, don't forget modules configuration (EJAB-706) * src/ejabberd_app.erl: Likewise 2008-07-28 Badlop * doc/guide.tex: Document how to get error message when ejabberd crash dumps at start (EJAB-660) * doc/guide.html: Likewise 2008-07-25 Jean-Sébastien Pédron * src/adhoc.erl, src/mod_configure.erl, src/mod_announce.erl, src/mod_adhoc.erl, src/gen_iq_handler.erl: Convert to exmpp. 2008-07-25 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Speedup startup with many pubsub nodes (EJAB-669) * src/mod_pubsub/nodetree_default.erl: Likewise 2008-07-24 Badlop * doc/guide.tex: Include example PAM configuration file ejabberd.pam (thanks to Evgeniy Khramtsov)(EJAB-704) * doc/guide.html: Likewise * src/mod_proxy65/mod_proxy65_lib.erl: Send protocol compliant SOCKS5 reply; this breaks support of uncompliant Psi<0.10 (thanks to Felix Geyer)(EJAB-632) * src/mod_proxy65/mod_proxy65_stream.erl: Likewise * src/mod_register.erl: When a registration is blocked due to IP limitation, return description in error stanza (EJAB-692) 2008-07-24 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Allow owner to subscribe/get its own node (EJAB-705) 2008-07-24 Badlop * doc/guide.tex: Document room options allow_visitor_nickchange and allow_visitor_status (EJAB-624) * doc/guide.html: Likewise 2008-07-23 Geoff Cant * src/mod_muc/mod_muc_room.erl: new room options, allow_visitor_presence and allow_visitor_nickchange to block/enable visitors to broadcast presence updates to the room (EJAB-624). * src/mod_muc/mod_muc_room.erl: renaming allow_visitor_presence to allow_visitor_status and altering effect (when false) to remove custom status tags in presence broadcasts to muc rooms by visitors. 2008-07-23 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: remove_user hook removes subscriptions (EJAB-684), send the last published and not the first published item (EJAB-675), remove the pubsub/nodes tree, subscribing to a node sends only last items (EJAB-700) * src/mod_pubsub/node_pep.erl: added acl and jid match on node creation permission (EJAB-663) * src/mod_pubsub/node_default.erl: fix node creation permission issue for service * src/mod_pubsub/node_zoo.erl: Likewise 2008-07-22 Jean-Sébastien Pédron * src/mod_disco.erl, src/gen_iq_handler.erl: Convert to exmpp. * src/mod_caps.erl, src/gen_iq_handler.erl: Finish conversion to exmpp. * src/ejabberd_local.erl (process_iq_reply): IQ handler are now always called with arguments in the new format. 2008-07-22 Badlop * src/ejabberd_config.erl: If syntax mistake in config file, show specific error message (EJAB-616) 2008-07-22 Alexey Shchepin * src/odbc/odbc_queries.erl: Fixed a typo 2008-07-21 Jean-Sébastien Pédron * src/gen_iq_handler.erl: Prepare gen_iq_handler to pass arguments in the new format to a built-in list of modules known to support them. Other modules will still receive arguments in the old format. * src/mod_roster.erl, src/mod_vcard.erl, src/gen_iq_handler.erl: Convert to exmpp. * src/mod_vcard.erl: One call to jlib:jid_to_string/1 was remaining. * src/jlib.erl: Add support for #xmlel to parse_xdata_submit/1 and friends. This fixes the user search in mod_vcard. 2008-07-03 Jerome Sautret * src/ejabberd_ctl.erl: Call reopen_log_hook for each virtual host. 2008-07-17 Badlop * src/mod_muc/mod_muc_room.erl: Fix to allow a server admin to add himself as owner of a room (EJAB-687) 2008-07-17 Jean-Sébastien Pédron Merge revisions from 1444 to revision 1457 from trunk. 2008-07-17 Jean-Sébastien Pédron * src/mod_caps.erl, src/ejabberd_c2s.erl: Start conversion to exmpp. For now, only direct calls from ejabberd_c2s are done. Calls through gen_iq_handler aren't. 2008-07-17 Christophe Romain * src/web/Makefile.in: use -DSSL39 if compiling with R12 2008-07-16 Badlop * src/ejabberd_c2s.erl: Put auth_module in Info always (EJAB-549) * src/*.hrl: Get back all ejabberd header files to their original placement in src/ subdirectories (EJAB-696) * src/*/*.erl: Likewise * src/*/Makefile.in: Likewise * src/Makefile.in: Install header files in system include/ dir, reproducing the subdirectory structure of src/ * src/ejabberdctl.template: Update environment variable names 2008-07-15 Badlop * src/ejabberdctl.template: Small fix so arguments of the command are also passed to erl * doc/guide.tex: Improve explanation of option 'hosts' in ejabberd_service * doc/guide.html: Likewise 2008-07-15 Alexey Shchepin * src/web/ejabberd_http_poll.erl: Report connection's IP address * src/ejabberd_c2s.erl: Rolled back the previous IP getting patch * src/ejabberd_sm.erl: Likewise * src/ejabberd_receiver.erl: Likewise * src/web/ejabberd_http_poll.erl: Likewise 2008-07-15 Jean-Sébastien Pédron Merge revisions from 1434 to revision 1444 from trunk. * configure: Recreated with autoconf(1) after merge. 2008-07-14 Badlop * doc/guide.tex: Update what permissions does enable-user grant * doc/guide.html: Likewise * src/configure.ac: Don't explicitely put root privileges when a user is not explicitely enabled * src/configure: Likewise * src/Makefile.in: Likewise * src/Makefile.in: Fix docdir so it recognizes prefix. If sbin dir does not exist, create it. Fix cookiefile permission check. (EJAB-696) 2008-07-13 Badlop * src/configure.ac: Update installation permissions (EJAB-402) * src/configure: Likewise * src/Makefile.in: The mnesia, ebin and priv dirs are now installed in different locations. Install header files and documentation (EJAB-696) * doc/guide.tex: Likewise * doc/guide.html: Likewise * include/*.hrl: Place for all ejabberd header files (EJAB-696) * src/*/*.erl: Update references to header files * src/*/Makefile.in: Include the include/ dir * src/configure.ac: Allow to execute ejabberd with a normal system user (thanks to Viq)(EJAB-402) * src/configure: Likewise * src/ejabberdctl.template: Likewise * src/Makefile.in: Likewise * doc/guide.tex: Likewise * doc/guide.html: Likewise 2008-07-12 Badlop * src/configure.ac: Improve legibility * src/aclocal.m4: Likewise * src/configure: Likewise * src/ejabberdctl.template: Remove garbage variable. Document node option * doc/guide.tex: Add references to sections. * doc/guide.html: Likewise 2008-07-11 Badlop * src/mod_register.erl: Revert support for io_lib newline, since there is a standard character that representes newline (EJAB-501) * doc/guide.tex: Update documentation to explain newline character * doc/guide.html: Likewise * src/ejabberd.cfg.example: Likewise 2008-07-11 Jean-Sébastien Pédron Merge revisions from 1362 to revision 1434 from trunk. 2008-07-11 Jean-Sébastien Pédron * src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl, src/ejabberd_c2s.erl: Exmpp now takes care of stanza serialization and compatible namespaces. * src/ejabberd_service.erl: Convert to exmpp. Note that this module hasn't been tested yet! 2008-07-10 Badlop * src/configure.ac: Don't check for erlang header file (EJAB-232) * src/configure: Likewise 2008-07-09 Jean-Sébastien Pédron * src/ejabberd_c2s.erl: Convert #xmlelement returned by the 'c2s_stream_features' hook to #xmlel. * src/ejabberd_auth.erl, src/ejabberd_auth_internal.erl, src/ejabberd_auth_odbc.erl, src/ejabberd_auth_ldap.erl, src/ejabberd_auth_anonymous.erl: Convert to exmpp. 2008-07-09 Badlop * src/configure.ac: Check for erlang header files (EJAB-232) * src/configure: Likewise * src/mod_pubsub/mod_pubsub.erl: Fix compilation warnings * src/mod_pubsub/node_zoo.erl: Likewise * src/mod_shared_roster.erl: Allow to get subscribed to a contact that is already in the roster by means of a shared roster group: add it to another roster group and it gets subscribed automatically (EJAB-407) * src/mod_roster.erl: Likewise * src/mod_muc/mod_muc_log.erl: Fix XHTML compliance: ensure some language is set, include ID attribute in each message, add microseconds to ensure unique value (EJAB-497) * src/mod_register.erl: Support for io_lib newline character in the body of welcome_message (EJAB-501) * doc/guide.tex: Document the newline character * src/ejabberd.cfg.example: Example usage of newline character * src/ejabberd_config.erl (load_file): error message on sasl.log is not flattened (EJAB-616) * doc/guide.tex: mod_muc_log XMPP URI supports the updated version RFC 5122 (EJAB-631) * doc/guide.html: Likewise 2008-07-08 Jean-Sébastien Pédron * src/cyrsasl.erl, src/cyrsasl_anonymous.erl, src/cyrsasl_digest.erl, src/cyrsasl_plain.erl, src/ejabberd_c2s.erl: Errors are now atoms, not strings anymore. 2008-07-08 Badlop * tools/ejabberdctl: Work also when 'which' is unavailable 2008-07-08 Christophe Romain * src/web/ejabberd_http_poll.erl: improve ip fetching patch 2008-07-07 Badlop * src/Makefile.in: Spool, config and log dirs: writtable by owner, readable by group, nothing by others (EJAB-686) * doc/guide.tex: New section Securing sensible files * doc/guide.html: Likewise * doc/guide.tex: Solaris Makefile install: use ginstall (thanks to Jonathan Auer)(EJAB-649) * doc/guide.html: Likewise 2008-07-03 Jerome Sautret * src/mod_privacy_odbc.erl: Support for privacy lists in MySQL (thanks to Igor Goryachev)(EJAB-538) 2008-07-03 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Fix permission control on item retrieve (EJAB-453) * src/mod_pubsub/node_dispatch.erl: Likewise * src/mod_pubsub/node_buddy.erl: Likewise * src/mod_pubsub/node_private.erl: Likewise * src/mod_pubsub/node_public.erl: Likewise * src/mod_pubsub/node_default.erl: Likewise * src/mod_pubsub/node_pep.erl: Likewise * src/mod_pubsub/node_club.erl: Likewise * src/mod_pubsub/gen_pubsub_node.erl: Likewise * src/mod_pubsub/node.template: Likewise * src/mod_pubsub/mod_pubsub.erl: Allow subscriber to request specific items by ItemID; Allow to retrieve pubsub#title configuration (thanks to Kevin Crosbie); Fix forbidden result on setting affiliation/subscription * src/mod_pubsub/node_zoo.erl: Add node type without home// constraint * src/ejabberd_local.erl: prevent iq_response table overload (EJAB-608) * src/mod_caps.erl: Likewise * src/web/ejabberd_http.erl: Retrieve correct IP from http connection * src/web/ejabberd_http_poll.erl: Likewise * src/ejabberd_receiver.erl: Likewise * src/ejabberd_sm.erl: Likewise * src/ejabberd_c2s.erl: Likewise 2008-07-01 Jean-Sébastien Pédron * src/ejabberd_sm.erl: Convert to exmpp. * src/ejabberd_c2s.erl, src/ejabberd_s2s.erl, src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl: Use the new clause of exmpp_stanza:reply_with_error/2, exmpp_iq:error/2, exmpp_iq:error_without_original/2 and the new exmpp_jid:make_bare_jid/1. * src/jlib.erl: Add function short_bare_jid/1. * src/ejabberd_sm.erl: Forgot to convert a from the new to the old record. * src/ejabberd_c2s.erl: Use jlib:short_bare_jid/1. Rewrite is_auth_packet/1 to use new formats. Don't convert before calling ejabberd_sm:set_presence/7. Don't convert broadcast children, because it's an internal special element. * src/acl.erl: Convert to exmpp. * src/ejabberd_c2s.erl, src/ejabberd_s2s_in.erl: acl doesn't require conversion anymore. * src/ejabberd_router.erl: Use a function to convert to old structures instead of duplicating code inside the module. * src/gen_iq_handler.erl: Convert to exmpp. * src/ejabberd_sm.erl, src/ejabberd_c2s.erl: Don't convert before calling gen_iq_handler:handle/7. * src/ejabberd_local.erl: Convert to exmpp. * src/jlib.erl: Accept new #xmlel in functions that create #iq. A warning is printed when these functions are called with an old #xmlelement. * src/ejabberd_router.erl: Change warning message. * src/ejabberd_sm.erl, src/ejabberd_c2s.erl, src/ejabberd_local.erl, src/gen_iq_handler.erl: Do not use the #iq record anymore internally. However it's still created and passed to other modules. * src/ejabberd_router.erl, src/ejabberd_sm.erl, src/ejabberd_local.erl, src/ejabberd_s2s.erl: Routing is now done with #xmlel. A warning is printed if those modules have to route an old #xmlelement. 2008-06-30 Jean-Sébastien Pédron * src/Makefile.in: Remove the -I flag for exmpp includes; the -include_lib pragma is a better solution. * src/ejabberd_c2s.erl, src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl: Use -include_lib instead of -include to include exmpp.hrl. * src/ejabberd_s2s.erl: Convert to exmpp. * src/jlib.erl: Add function to convert to and from old ejabberd #jid record. Move function short_jid/1 from ejabberd_c2s. * src/ejabberd_c2s.erl, src/ejabberd_s2s.erl, src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl: Use the new functions from jlib. Use the new exmpp_xml:node_to_list/3. * src/ejabberd_router.erl: Before doing any routing, the router print a warning if old structures are used. Then it converts the structures to the old format and route them. The router doesn't care about the structures format but the conversion is necesary for code called from this module. * src/ejabberd_c2s.erl, src/ejabberd_s2s.erl, src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl: No conversion is done before calling ejabberd_router:route/3. 2008-06-29 Badlop * src/ejabberd_ctl.erl: Web Admin and Ad-hoc admin: dump only persistent tables (EJAB-678) * src/mod_pubsub/node_pep.erl: Complain if mod_caps disabled and mod_pubsub has PEP plugin enabled (EJAB-677) 2008-06-28 Badlop * src/mod_muc/mod_muc_room.erl: Allow to store room description (thanks to Christopher Dupont)(EJAB-670) 2008-06-27 Jean-Sébastien Pédron * src/ejabberd_c2s.erl, src/ejabberd_s2s_out.erl, src/ejabberd_s2s_in.erl: Use the new exmpp namespace macro names. Update send_element/2 to use exmpp new to_list functions. 2008-06-26 Jean-Sébastien Pédron * src/ejabberd_c2s.erl: Use a macro in ?DEFAULT_NS instead of the namespace atom directly. Comment DBGFSM our again. Remove macro ERR_SERVICE_UNAVAILABLE. (wait_for_auth, is_auth_packet): An empty resource is returned as 'undefined', not the empty string in the {auth, ...} tuple. (handle_sync_event): Remove a debugging printf. (handle_info/{route, ...}): Use macro IS_PRESENCE & friends instead of direct matching with NS_JABBER_CLIENT and name. This way, the S2S doesn't have to change the namespace of all its incoming stanzas to NS_JABBER_CLIENT. (send_element): For stanzas under the NS_JABBER_SERVER namespace, lie to exmpp_xml by telling it that this namespace is the default one. * src/ejabberd_s2s_in.erl, src/ejabberd_s2s_out.erl: Convert to exmpp. 2008-06-25 Jean-Sébastien Pédron * src/ejabberd_c2s.erl: Finish ejabberd_c2s conversion with the functions related to offline stanzas. * src/ejabberd_c2s.erl (get_subscribed_and_online): Fix short JID comparison; it was using 'undefined' instead of empty strings. 2008-06-24 Jean-Sébastien Pédron * src/ejabberd_c2s.erl: The handle_info clause that treats routing order is now converted. In-memory sets and dict still use the short JID form with empty strings for unspecified fields. Users are able to connect to ejabberd but some features don't seem to work proprerly. * src/ejabberd_c2s.erl: Use the new exmpp_stream:opening_reply/3 function in wait_for_stream/2. The function terminate/3 is converted to exmpp. * src/ejabberd_c2s.erl: Convert all presence-related functions. 2008-06-23 Jean-Sébastien Pédron * src/ejabberd_c2s.erl (session_established): Convert JID to the expected form outside of the C2S (empty fields must be set to the empty string). This fixes the broken routing. 2008-06-21 Badlop * src/web/ejabberd_http.erl: Support PUT and DELETE methods in ejabberd_http (thanks to Eric Cestari)(EJAB-662) * doc/guide.tex: Explain that S2S outgoing first tries IPv4 and if that fails then tries IPv6 * doc/guide.html: Likewise 2008-06-20 Jean-Sébastien Pédron * src/configure, src/aclocal.m4, src/Makefile.in: Add exmpp detection. * src/ejabberd_receiver.erl: Enable the new #xmlel record. * src/ejabberd_c2s.erl: First bunch of modifications to use exmpp. All FSM state function are updated. But other functions are not for now. Users are able to connect to ejabberd but some features may not work. * src/ejabberd_c2s.erl: Change the usage of #state.lang somewhat. Fix value of DefaultLang: it doesn't contain the whole serialized attribute. Use exmpp_jid:make_bare_jid/2 more. 2008-06-19 Jean-Sébastien Pédron * src/ejabberd_receiver.erl: Replace the use of xml_stream by exmpp_xmlstream. exmpp_xml is configured to produce old #xmlelement records. exmpp_xmlstream is configured to send old xmlstreamstart tuple. Users are able to connect to ejabberd. Next step: ejabberd_c2s. 2008-06-19 Jean-Sébastien Pédron Start the transition to exmpp. 2008-06-18 Badlop * src/ejabberd.app: The ejabberd version number is defined in the OTP application resource file, in the key 'vsn' (EJAB-657) * src/ejabberd.hrl: The macro VERSION now consults the ejabberd application key vsn * src/configure.erl: Load the ejabberd application description * doc/Makefile: Read ejabberd version from ejabberd.app vsn * doc/api/Makefile: Likewise 2008-06-18 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: get_default bugfix (EJAB-656) 2008-06-13 Badlop * src/mod_muc/mod_muc_room.erl: Allow admins to send messages to rooms even if not joined (EJAB-645) * doc/guide.tex: Likewise * doc/guide.html: Likewise * src/ejabberd.cfg.example: Add registration_timeout (EJAB-653) * doc/guide.tex: Table of listener modules converted to description. Table of modules overview simplified, and module names link to their sections. Document ldap_local_filter (EJAB-179). Title in HTML is shorter. Update several external URIs. * doc/guide.html: Regenerated with all the latest changes 2008-06-12 Badlop * doc/guide.tex: Permanent reference URL for sections (EJAB-651). Changes in CSS: verbatim text is indented and has grey background; descriptions are indented; table borders are softer. Fix indentation of verbatim text. 2008-06-10 Badlop * src/ejabberd_c2s.erl: Bugfix: deliver messages when first presence is Invisible (thanks to Dariusz Markowicz)(EJAB-262) 2008-06-08 Badlop * doc/guide.tex: Small fixes (thanks to Christoph Anton Mitterer) * doc/introduction.tex: Likewise * doc/guide.html: Likewise 2008-06-05 Badlop * doc/guide.tex: Document ejabberdctl status code (EJAB-633) * doc/guide.html: Likewise 2008-06-04 Badlop * src/msgs/pl.msg: Bugfix in arguments of translated string that could crash the room (thanks to Anastasia Gornostaeva) 2008-05-31 Badlop * src/web/ejabberd_web.erl (make_xhtml/2): Allow to include elements in the HTTP header * src/odbc/odbc_queries.erl (del_user_return_password): Return password (thanks to Oleg Palij) 2008-05-22 Mickael Remond * src/ejabberd_s2s.erl: Added s2s_send_packet and s2s_receive_packet hooks (EJAB-635). * src/ejabberd_s2s_in.erl: Likewise. * src/ejabberd_c2s.erl: user_send_packet hook now called on all packets including presence packets (EJAB-634) 2008-05-22 Badlop * README: R12 support: remove compilation warning (EJAB-630) 2008-05-19 Badlop * doc/guide.html: Update * src/configure.ac: R12 support: remove compilation warning (EJAB-630) * src/configure: Likewise * doc/guide.tex: Likewise * doc/guide.tex: Describe how to disable registration limitation (EJAB-614) 2008-05-19 Mickael Remond * src/ejabberd_s2s_out.erl: Avoid an harmless error (function clause in logs) 2008-05-17 Badlop * src/extauth.erl: Log strange responses from extauth script. Use timeout (EJAB-627) 2008-05-16 Badlop * src/mod_muc/mod_muc_room.erl: Allow change_state of a room 2008-05-16 Christophe Romain * src/ejabberd_s2s_out.erl: Change FSMTIMEOUT to 30s 2008-05-12 Badlop * src/mod_muc/mod_muc_room.erl: Return Forbidden error message when user sends private message in a room that disallows it (EJAB-595) * src/web/ejabberd_http.erl (parse_auth): Allow password that include colon character (EJAB-622) 2008-05-09 Mickael Remond * src/mod_ip_blacklist.erl: Better error handling (EJAB-625). 2008-05-05 Mickael Remond * src/ejabberd_c2s.erl: Added C2S blacklist support (EJAB-625). * src/mod_ip_blacklist.erl: Likewise. * src/jlib.erl: Added IP format tuple to string function. * src/ejabberd_socket.erl: Properly handled c2s start failure (happen for blacklisted IP). 2008-05-04 Alexey Shchepin * src/ejabberd_receiver.erl: Don't activate a socket untill its receiver process is controlling it 2008-04-30 Christophe Romain * src/mod_caps.erl: XEP-0115 patch (EJAB-618) 2008-04-29 Badlop * src/ejabberd_s2s_out.erl: Improve confusing log message in s2s connection: wait_for_validation connect timeout (EJAB-617) * src/ejabberd.cfg.example: Small improvements in explanations * doc/guide.tex: Document MUC room options (EJAB-619) 2008-04-28 Badlop * doc/guide.tex: Document the option max_s2s_connections 2008-04-28 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: remove unused served_hosts option and make init message be debug and not info 2008-04-27 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Fixed room shaper processing 2008-04-26 Badlop * src/mod_shared_roster.erl: Fix for new registered accounts not being immediately shown in an 'all' special shared roster group (thanks to Alexey Shchepin) (EJAB-71) * src/mod_register.erl: New vhost event user_registered * doc/guide.tex: Document option registration_timeout (EJAB-614) 2008-04-25 Badlop * src/ejabberd_c2s.erl: Added forbidden_session_hook * src/acl.erl: New access types: resource, resource_regexp and resource_glob * doc/guide.tex: Likewise 2008-04-23 Alexey Shchepin * src/treap.erl: Bugfix * src/mod_register.erl: Fixed table creation, timeout isn't activated when registration fails * src/mod_register.erl: Restrict registration frequency per IP or user (EJAB-614) * src/ejabberd_c2s.erl: Pass IP to the c2s_unauthenticated_iq hook * src/ejabberd_config.erl: Added registration_timeout option * src/treap.erl: Treaps implementation 2008-04-22 Badlop * src/ejabberd_auth.erl: Improve anonymous authentication to not remove rosters accidentally (EJAB-549). New functions in ejabberd_auth to get/check password and know which module accepted the authentication. New element 'auth_module' in ejabberd_c2s record 'statedata'. Cyrsasl provides a new property in the response: {auth_module, AuthModule}. * src/ejabberd_auth_anonymous.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/cyrsasl_anonymous.erl: Likewise * src/cyrsasl_digest.erl: Likewise * src/cyrsasl_plain.erl: Likewise 2008-04-18 Badlop * src/ejabberd_s2s_out.erl: Fix long timeout when reconnecting s2s after a remote server crash (EJAB-540) * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_s2s.erl: Likewise * doc/guide.tex: Likewise 2008-04-16 Badlop * doc/guide.tex: Clarification: PEP is enabled in default config 2008-04-14 Christophe Romain * src/mod_caps.erl: Cache negative response (EJAB-474) 2008-04-12 Badlop * src/web/ejabberd_web_admin.erl: Include Last-Modified HTTP header in responses to allow caching (EJAB-546) 2008-04-11 Badlop * src/Makefile.in: Improved indentation of GCC call * src/ejabberd_zlib/Makefile.in: Likewise * src/mod_irc/Makefile.in: Likewise * src/stringprep/Makefile.in: Likewise * src/tls/Makefile.in: Likewise * src/ejabberd_listener.erl (start_listener): Revert SVN r1260. 2008-04-11 Alexey Shchepin * src/ejabberd_config.erl: Removed a dependency on string:to_upper * src/tls/tls_drv.c: Fixed gcc signedness warnings (EJAB-447) * src/ejabberd_zlib/ejabberd_zlib_drv.c: Likewise * src/expat_erl.c: Removed R9B workaround (EJAB-447) 2008-04-10 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: fix identity and database update bugfix * src/mod_pubsub/nodetree_default.erl: Likewise 2008-04-10 Mickael Remond * src/ejabberd_c2s.erl: Uniform default value for empty privacy list. Fixes (EJAB-603). 2008-04-08 Badlop * src/ejabberd_auth_ldap.erl: LDAP function to get the number of registered users is too slow (EJAB-331): set timeout in LDAP search queries (thanks to Evgeniy Khramtsov) and return the number of registered users. 2008-04-07 Mickael Remond * doc/guide.tex: Documented the IQ discipline {queue, N}. * doc/guide.html: Likewise. 2008-04-05 Badlop * doc/guide.tex: Fix default_room_opts with default_room_options * doc/guide.html: Likewise 2008-04-04 Badlop * src/ejabberd_auth_ldap.erl (get_vh_registered_users_number): New function that returns 0 registered users (EJAB-331). * src/ejabberd_c2s.erl (process_presence_probe): Don't route a presence probe to oneself (EJAB-498) 2008-04-02 Badlop * src/ejabberd_config.erl: Add support to include additional configuration files. Add support for macro definition and usage. (EJAB-593) * doc/guide.tex: Likewise * doc/guide.html: Likewise 2008-04-02 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: add condition inclusion of pep in disco identity (EJAB-564) * src/Makefile.in: Do not ignore values passed from configure (thanks to Justin Boffemmyer)(EJAB-592) 2008-04-01 Badlop * doc/guide.tex: Updated command line parameters, epmd section * doc/guide.html: Likewise * doc/api/Makefile: Report the correct ejabberd version. When cleaning, remove also erlang.png * src/mod_muc/mod_muc_room.erl: Update source code to prevent warning messages from EDoc * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_pubsub/node_default.erl: Likewise * src/mod_pubsub/nodetree_default.erl: Likewise * src/mod_pubsub/nodetree_virtual.erl: Likewise * src/mod_pubsub/pubsub.hrl: Likewise 2008-04-01 Christophe Romain * src/ejabberdctl.template: Add firewalling port range definition * src/ejabberdctl.cfg.example: Likewise 2008-03-31 Badlop * src/ejabberd_listener.erl: Remove code of the unused listening socket option 'ssl' (EJAB-159) * src/ejabberd_app.erl: Likewise * doc/webadmmain.png: Updated to ejabberd 2.0.0 * doc/webadmmainru.png: Likewise * doc/disco.png: Removed because not used * doc/guide.tex: Fix Latex reference to webadmin section. Update explanation of screenshots. Update xmpp addresses of Mickael Remond and Sander Devrieze. * doc/guide.html: Likewise * doc/Makefile: Remove the Hevea deprecated option -noiso * doc/guide.html: Likewise * doc/dev.html: Likewise * doc/features.html: Likewise * src/ejabberd_listener.erl (start_listener): Start also the supervisor of the module 2008-03-27 Badlop * doc/guide.tex: Fix epam location (thanks to Evgeniy Khramtsov) * doc/guide.html: Likewise 2008-03-26 Badlop * src/Makefile.in: Support for parallel compilation with 'make -j' in multi core CPUs: fix compilation dependencies; compile behaviors before other source code. (thanks to Jonathan Schleifer) * src/mod_pubsub/Makefile.in: Likewise * src/eldap/Makefile.in: Likewise 2008-03-26 Alexey Shchepin * src/ejabberd_local.erl: The iq_response table wasn't cloned automatically on all nodes which resulted in a single point of failure 2008-03-25 Badlop * src/Makefile.in: Failure to install epam is not critical (EJAB-573). Only try to install epam if pam was enabled in configure script (thanks to Etan Reisner)(EJAB-586) 2008-03-24 Badlop * doc/guide.tex: mod_vcard_ldap replace NICK with NICKNAME (thanks to Andreas Ntaflos) * doc/guide.html: Likewise * src/msgs/de.msg: Fix irc typo (thanks to Jonathan Schleifer) * src/msgs/cs.msg: Likewise * src/msgs/pl.msg: Likewise * src/msgs/sk.msg: Likewise 2008-03-22 Mickael Remond * src/eldap/Makefile.in: Generate ELDAPv3.beam during first Makefile pass (EJAB-583). 2008-03-22 Badlop * doc/guide.tex: Document service_check_from (EJAB-576) * doc/guide.html: Likewise 2008-03-21 Badlop * src/mod_caps.erl: Move two log calls ERROR_MSG to DEBUG * src/shaper.erl: Move log call INFO_MSG to DEBUG * doc/guide.tex: Document s2s_default_policy and s2s_host (EJAB-575) * doc/guide.html: Likewise 2008-03-21 Christophe Romain * src/pam/epam.erl: Seek epam binary into priv/bin (EJAB-573) * src/ejabberd.erl: Likewise * src/Makefile.in: Likewise * src/ejabberdctl.template: Likewise * tools/ejabberdctl: Likewise * src/mod_pubsub/mod_pubsub.erl: Pubsub subscription is now wrapped in pubsub tags (EJAB-580) 2008-03-21 Badlop * src/cyrsasl_digest.erl: Rewrite io:format calls to loglevel macros (EJAB-555) * src/ejabberd_auth.erl: Likewise * src/ejabberd_ctl.erl: Likewise * src/ejabberd_loglevel.erl: Likewise * src/ejabberd_s2s.erl: Likewise * src/ejabberd_sm.erl: Likewise * src/ejabberd_update.erl: Likewise * src/extauth.erl: Likewise * src/mod_irc/mod_irc.erl: Likewise * src/shaper.erl: Likewise * src/tls/tls.erl: Likewise * src/web/ejabberd_http_poll.erl: Likewise * src/ejabberd.hrl: New macro ?PRINT(Format, Args) to print in standard output 2008-03-20 Badlop * doc/guide.tex: Improve explanation of how to start ejabberd when binary installer. Don't recommend R12 in Windows compilation. Describe what happens if maxrate shaper is exceeded. * doc/guide.html: Likewise 2008-03-20 Mickael Remond * src/eldap.erl: Improved logging. We now use ejabberd logging framework (EJAB-582). * src/eldap.erl: Faster LDAP reconnection (Thanks to Christophe Romain) (EJAB-581) 2008-03-17 Mickael Remond * src/ejabberd_s2s.erl: Only trigger s2s_connect_hook on successful connection (EJAB-566) * src/ejabberd_s2s_out.erl: Likewise 2008-03-15 Mickael Remond * src/ejabberd_ctl.erl: API improvement: Added reopen_log_hook (EJAB-565) * src/ejabberd_s2s.erl: API improvement: Added s2s_connect_hook (EJAB-566). 2008-03-13 Badlop * src/odbc/ejabberd_odbc.erl: Start ODBC explicitely because Erlang R12 doesn't start automatically like in R11 and older (thanks to Sergei Golovan)(EJAB-541) * src/ejabberd.hrl: Removed unused ejabberd_debug and PRIVACY_SUPPORT. Reordered the remaining options * doc/guide.tex: Describe option Matches in mod_vcard_ldap (thanks to Evgeniy Khramtsov)(EJAB-530). Fix typo in the description of ldap_server option. * doc/guide.html: Likewise * src/mod_echo.erl: Small change to avoid a compilation warning of unused function 2008-03-12 Badlop * src/web/ejabberd_web_admin.erl (term_to_string): Show Erlang terms in one line in Erlang R12 (EJAB-503) 2008-03-11 Badlop * src/ejabberd_s2s_in.erl (get_cert_domains): When compiling with Erlang R12, replace the calls to deprecated module PKIX1Explicit88 with OTP-PKIX (EJAB-556) 2008-03-10 Badlop * src/ejabberd_update.erl: Fix crash when browsing the Update page in Erlang R12 (EJAB-552) 2008-03-09 Alexey Shchepin * src/web/ejabberd_http_poll.erl: Fixed HTTP headers when a requested session doesn't exist 2008-03-09 Badlop * src/mod_proxy65/mod_proxy65_service.erl: Implement alternative to the deprecated function inet:ip_to_bytes (thanks to Evgeniy Khramtsov)(EJAB-542) 2008-03-07 Mickael Remond * src/eldap/eldap_pool.erl: Improved logging 2008-03-04 Badlop * doc/guide.tex: Improve documentation of host_config add (EJAB-544) * doc/guide.html: Likewise * src/ejabberd.cfg.example: Likewise * src/ejabberd_config.erl: Likewise * doc/guide.tex: mod_announce recommends, but doesn't require mod_adhoc (thanks to Anastasia Gornostaeva) * doc/guide.html: Likewise * src/ejabberd.cfg.example: Likewise 2008-03-03 Alexey Shchepin * src/tls/tls.erl: recv_data/2 doesn't throw exceptions now * src/ejabberd_zlib/ejabberd_zlib.erl: Likewise 2008-02-29 Alexey Shchepin * src/mod_roster.erl: Fixed "from" attribute in roster pushes * src/mod_roster_odbc.erl: Likewise 2008-02-28 Badlop * src/ejabberd_app.erl (prep_stop): Stop modules when stopping ejabberd (EJAB-536) * src/mod_caps.erl (stop): Probably not needed to stop supervisor child (EJAB-536) * src/mod_muc/mod_muc.erl (room_destroyed): Catch message sending (EJAB-536) * src/mod_muc/mod_muc_room.erl (init): Ensure rooms are called when the process dies due to a linked die (EJAB-536) 2008-02-27 Mickael Remond * src/ejabberd_check.erl: Separate config loading from configuration sanity checks (EJAB-533) * src/src/ejabberd_app.erl: Likewise * src/ejabberd_app.erl: Likewise 2008-02-26 Badlop * src/msgs/it.msg: Updated (thanks to Smart2128) 2008-02-21 Badlop * doc/release_notes_2.0.0.txt: Small fixes and update date 2008-02-20 Badlop * README: Updated to match the content of the ejabberd Guide * doc/release_notes_2.0.0.txt: Updated version number and date * doc/guide.tex: Mentioned the problems about Windows service * doc/guide.html: Likewise * src/msgs/ru.msg: Updated (thanks to Konstantin Khomoutov) * src/msgs/zh.msg: Updated (thanks to Mike Wang and Zhan Caibao) 2008-02-19 Badlop * src/msgs/ca.msg: Updated (thanks to Vicent Alberola Canet) * src/msgs/cs.msg: Updated (thanks to Lukas Polivka) * src/msgs/de.msg: Updated (thanks to Cord Beermann and Nikolaus Polak) * src/msgs/eo.msg: Updated (thanks to Andreas van Cranenburgh) * src/msgs/es.msg: Updated * src/msgs/fr.msg: Updated (thanks to Christophe Romain) * src/msgs/gl.msg: Updated (thanks to Carlos E. Lopez) * src/msgs/nl.msg: Updated (thanks to Andreas van Cranenburgh) * src/msgs/no.msg: Updated (thanks to Stian B. Barmen) * src/msgs/pt-br.msg: Updated (thanks to Otavio Fernandes) * src/msgs/uk.msg: Updated (thanks to Stoune and Ruslan Rakhmanin) 2008-02-19 Christophe Romain * src/odbc/ejabberd_odbc.erl: add pgsql driver monitoring 2008-02-19 Mickael Remond * src/ejabberd_config.erl: dirty_get_registered_users now correctly returns all users for all vhosts no matter which back-end is used (EJAB-527) * src/ejabberd_auth_odbc.erl: Likewise * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth.erl: Likewise * src/ejabberd_auth_external.erl: Likewise * src/ejabberd_auth_ldap.erl: Likewise 2008-02-18 Christophe Romain * src/ejabberd_c2s.erl: Bug in get_conn_type since SVN r1194 crashes http-bind and http-poll (thanks to Brian Cully) (EJAB-526) 2008-02-15 Badlop * doc/release_notes_2.0.0.txt: Describe in the Release Notes the upgrade instructions (EJAB-522) 2008-02-15 Christophe Romain * src/ejabberd_sm.erl: Retreive connection type in sm_register_connection_hook * src/ejabberd_c2s.erl: Likewise * src/ejabberd_auth_anonymous.erl: Likewise 2008-02-14 Badlop * src/mod_muc/mod_muc_room.erl: Allow unmoderated rooms (EJAB-437) * src/msgs/*: Recover old translations to several languages from ejabberd 1.1.4 2008-02-14 Alexey Shchepin * src/cyrsasl_digest.erl: Unquote backslash in DIGEST-MD5 quoted strings (EJAB-304) * src/mod_roster.erl: Removed the ancient Psi roster workaround * src/mod_roster_odbc.erl: Likewise 2008-02-12 Badlop * src/web/ejabberd_web_admin.erl: Fixed native support for all the ACL types (EJAB-253) * src/acl.erl: Normalize ACL before adding to the configuration tables (EJAB-521) 2008-02-11 Mickael Remond * src/ejabberd_auth.erl: Do not allow empty password at creation. On authent, check in all cases that password is not empty. * src/ejabberd_auth_odbc.erl: Likewise * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth_external.erl: Likewise * src/ejabberd_receiver.erl: Avoid crash to appear in log, when trying to close a stream with an undefined state. 2008-02-11 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Bugfix: event used in place of x when xmlns is pubsub#event (EJAB-518) 2008-02-11 Badlop * src/mod_muc/mod_muc_room.erl: Bugfix: local message stanza may not have an attribute From (EJAB-515) 2008-02-08 Badlop * src/mod_muc/mod_muc_room.erl: Include the error condition in the presence status when kicking a participant due to an error stanza (EJAB-496) * src/ejabberd.cfg.example: Document options to SQL keep alive interval and pool size (EJAB-206) * doc/guide.tex: Likewise * doc/guide.html: Likewise 2008-02-06 Badlop * src/mod_muc/mod_muc_room.erl: Support for decline of invitation to MUC room (EJAB-515) 2008-02-06 Mickael Remond * src/mod_pubsub/node_buddy.erl: Fixed typo * src/mod_pubsub/node_club.erl: Likewise * src/mod_pubsub/node_dispatch.erl: Likewise * src/mod_pubsub/node_pep.erl: Likewise * src/mod_pubsub/node_private.erl: Likewise * src/mod_pubsub/node.template: Likewise * src/mod_pubsub/gen_pubsub_node.erl: API improvement: Added a way to generate custom item name * src/mod_pubsub/node_dispatch.erl: Likewise * src/mod_pubsub/node_buddy.erl: Likewise * src/mod_pubsub/node_private.erl: Likewise * src/mod_pubsub/node_club.erl: Likewise * src/mod_pubsub/node_public.erl: Likewise * src/mod_pubsub/node_default.erl: Likewise * src/mod_pubsub/node_pep.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Small API improvements and refactoring 2008-02-04 Badlop * src/ejabberd.hrl: Updated version to 2.1.0-alpha * doc/dev.html: Likewise * doc/features.html: Likewise * doc/guide.html: Likewise * doc/version.tex: Likewise 2008-02-04 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Append "(n/a)" to disco room descriptions when a number of occupants is not available 2008-02-02 Mickael Remond * src/mod_pubsub/nodetree_virtual.erl: Fixed error report at startup. * src/mod_pubsub/mod_pubsub.erl: Added the from field in the get_subnodes pubsub plugin API function. This is usefull to write plugins to generate the pubsub hierarchy dynamically, based on who is doing the browsing request. * src/mod_pubsub/gen_pubsub_nodetree.erl: Likewise * src/mod_pubsub/nodetree_default.erl: Likewise * src/mod_pubsub/nodetree_virtual.erl: Likewise 2008-01-30 Badlop * doc/guide.tex: Removed the option served_hosts in mod_pubsub because it does not work correctly yet (EJAB-504) * doc/guide.html: Likewise * src/mod_echo.erl: Put in comments the call to the educational function do_client_version 2008-01-29 Badlop * src/mod_muc/mod_muc_room.erl: MUC kicks a participant if sends a private message with type=error (EJAB-496) 2008-01-25 Badlop * doc/introduction.tex: Updated list of languages * doc/release_notes_2.0.0.txt: Likewise * src/msgs/eo.msg: New Esperanto translation (thanks to Andreas van Cranenburgh) * src/msgs/no.msg: New Norwegian translation (thanks to Stian B. Barmen) * doc/Makefile: Fixed small problem with contributed_modules.tex 2008-01-25 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Setting boolean node configuration fixed (EJAB-509) * src/mod_pubsub/node_default.erl: Use roster_groups_allowed instead of access_roster_groups (EJAB-508) * src/mod_pubsub/node_pep.erl: Likewise * src/mod_pubsub/node_buddy.erl: Likewise * src/mod_pubsub/node_club.erl: Likewise * src/mod_pubsub/node_dispatch.erl: Likewise * src/mod_pubsub/node_private.erl: Likewise * src/mod_pubsub/node_public.erl: Likewise 2008-01-16 Badlop * doc/guide.tex: Updated the names of log files. * doc/guide.html: Likewise * src/mod_muc/mod_muc_room.erl: Added log messages for room destroy * src/mod_caps.erl: Small beautify of log error messages 2008-01-15 Badlop * doc/guide.tex: Improved the documentation of Binary installer. Updated the requirements, specifically: Erlang R10B-9 is required as minimum, and R12 is not yet supported. Added section Upgrading ejabberd. Improved documentation about Erlang runtime system environment variables and command-line parameters. * doc/guide.html: Likewise * doc/release_notes_2.0.0.txt: Updated to RC1 * doc/version.tex: Likewise * src/ejabberd.hrl: Likewise * doc/introduction.tex: Updated to 22 languages * doc/Makefile: Ensure that Bash is used * doc/guide.tex: Updated copyright dates to 2008. * src/*: Likewise 2008-01-15 Jerome Sautret * src/Makefile.in: Allow compilation with Erlang R12 (EJAB-446) (thanks to Sergei Golovan and Maxim Treskin). Erlang R12 version is not supported and not recommended for production servers. * src/aclocal.m4: Likewise * src/configure.ac: Likewise * src/configure: Likewise * src/ejabberd_s2s_in.erl: Likewise 2008-01-13 Badlop * src/ejabberdctl.template: Instead of using the Erlang kernel variable 'inetrc', use the ERL_INETRC environment variable that is available since Erlang/OTP R10B-5. 2008-01-12 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: set_subscription fix (EJAB-494) 2008-01-11 Christophe Romain * src/mod_caps.erl: don't ask capabilities to MUC room participants (EJAB-478) 2008-01-10 Christophe Romain * src/mod_pubsub/nodetree_default: Force PEP parent node to be [] * src/mod_pubsub/mod_pubsub.erl: Send last published PEP event now checks the correct peer caps (EJAB-491) * src/ejabberd_c2s.erl: Likewise 2008-01-09 Badlop * src/mod_muc/mod_muc_room.erl: MUC kicks a participant if sends a private message with type=error (EJAB-496) 2008-01-08 Badlop * src/ejabberdctl.template: Removed the option ERL_FULLSWEEP_AFTER because it is almost useless regarding ejabberd's performance. * src/ejabberdctl.cfg.example: Likewise 2008-01-08 Christophe Romain * doc/Makefile: fix version.tex generation bug 2008-01-01 Badlop * src/web/ejabberd_web_admin.erl: Uniformize the name of ejabberd's web admin to: 'Web Admin' (EJAB-472) * doc/guide.tex: Likewise * doc/introduction.tex: Likewise * src/web/ejabberd_web_admin.erl: Uniformize ejabberd name in the text using the Latex command * src/mod_muc/mod_muc_room.erl: Resend 'continue' elements in muc room invitations (EJAB-490) * src/ejabberdctl.template: Create logs_dir if doesn't exist. New parameters --config, --ctl-config, --logs, --spool. Crash dump renamed to erl_crash_DATETIME.dump. * src/ejabberdctl.template: Backport improvements from binary installer (EJAB-488): options are simple values; enable Kernel Poll by default, set SMP to auto, set max ports to 32000, max processes to 250000. * src/ejabberdctl.cfg.example: Likewise * src/ejabberd.inetrc: Renamed ejabberd.inetrc to inetrc * src/inetrc: Likewise * src/Makefile.in: Likewise * doc/guide.tex: Likewise 2007-12-31 Badlop * src/msgs/ca.msg: Updated (thanks to Vicent Alberola Canet) 2007-12-29 Alexey Shchepin * src/ejabberd_s2s_out.erl: Fixed behavior when outgoing_s2s_port option is not defined (EJAB-487) 2007-12-27 Badlop * src/mod_vcard_ldap.erl: Fix some field names (EJAB-483) 2007-12-26 Badlop * src/web/ejabberd_web_admin.erl: Translate menu items of webadmin hooks in each module (EJAB-485) * src/mod_shared_roster.erl: Likewise * src/web/ejabberd_web_admin.erl: max_user_sessions access rule contains an integer, but webadmin always expects atoms (EJAB-482) 2007-12-25 Badlop * src/mod_configure.erl: Bugfix, update to match changes in mod_announce SVN r1099 2007-12-24 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: remove useless get_roster_info call in presence_probe handling when access rule is presence 2007-12-24 Mickael Remond * doc/release_notes_2.0.0.txt: ejabberd 2.0.0 beta 1 release notes. 2007-12-23 Badlop * src/msgs/vi.msg: New Vietnamese translation (thanks to EQHO Communications) * src/msgs/th.msg: New Thai translation (thanks to EQHO Communications) * src/msgs/gl.msg: Updated (thanks to Carlos E. Lopez) * src/mod_muc/mod_muc_room.erl: Log room creation and destruction. Ensure JID of owners of MUC room are user, not server (EJAB-435) 2007-12-22 Badlop * src/ejabberd.app: Update ejabberd.app: add new erlang modules (EJAB-466) * doc/introduction.tex: Small updates * doc/guide.tex: Small fixes in Install. Added http_bind to Listening Ports. * src/web/ejabberd_http.erl: Add 'http_bind' option for easy configuration of HTTP-Binding * src/mod_announce.erl: Fixed unnoticeable bug related to Node matching. Renamed some nonstandard node names according to XEP-0133. Small reordering of clauses. When editing MOTD, display current value (EJAB-475) 2007-12-22 Christophe Romain * src/ejabberd_sm.erl: change incoming_presence_hook to presence_probe_hook * src/ejabberd_c2s.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: send last pep item bugfix and broadcast optimization (EJAB-468) (EJAB-467) (EJAB-460) (EJAB-469) * src/mod_pubsub/pubsub.hrl: Likewise * src/mod_pubsub/node_default.erl: Likewise 2007-12-22 Badlop * src/mod_caps.erl: Bugfix in timeout checking. Check for timeout when an error response is received, and also before querying 2007-12-21 Badlop * src/ejabberd_ctl.erl: Added new command: mnesia (thanks to Tsukasa Hamano) 2007-12-21 Mickael Remond * src/msgs/fr.msg: Updated French translation (EJAB-295) 2007-12-21 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: disco#items bugfix (EJAB-465) 2007-12-21 Badlop * src/msgs/uk.msg: Updated (thanks to Ruslan Rakhmanin) * src/msgs/de.msg: Updated (thanks to Nikolaus Polak and Cord Beermann) * contrib/extract_translations/prepare-translation.sh: Small fix 2007-12-20 Badlop * src/mod_caps.erl: Don't include the Node attribute from C element in the disco#info query 2007-12-20 Christophe Romain * doc/guide.tex: Explain how to launch installer and improve ejabberdctl usage example (EJAB-420) * doc/guide.html: Likewise * src/mod_pubsub/mod_pubsub.erl: PEP notification bugfix * src/odbc/odbc_queries.erl: User count performance improvements (EJAB-239) 2007-12-20 Badlop * src/msgs/zh.msg: Small update (thanks to Shelley Shyan) * src/msgs/ru.msg: Small update (thanks to Konstantin Khomoutov) 2007-12-19 Badlop * src/msgs/pl.msg: Updated (thanks to Andrzej Smyk)(EJAB-463) * src/msgs/de.msg: Updated (thanks to Cord Beermann) * src/msgs/es.msg: Small update (thanks to Badlop) * src/msgs/cs.msg: Small update (thanks to Lukas Polivka alias Spike411) * src/web/ejabberd_web_admin.erl: No need to translate copyright notice 2007-12-18 Badlop * src/mod_muc/mod_muc_log.erl: Add handling of kicks 321, 322, 332 * doc/guide.tex: Document mod_privacy_odbc * doc/Makefile: Support for conditional inclusion of documentation from contributed modules * doc/guide.tex: Likewise 2007-12-18 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: Purge related pep nodes at remove_user * src/mod_pubsub/node_pep.erl: Likewise 2007-12-17 Badlop * src/ejabberd_zlib/Makefile.in: Compile all erl files found in the directory, so it isn't needed to provide an explicit list of target files * src/eldap/Makefile.in: Likewise * src/mod_irc/Makefile.in: Likewise * src/mod_muc/Makefile.in: Likewise * src/mod_proxy65/Makefile.in: Likewise * src/mod_pubsub/Makefile.in: Likewise * src/odbc/Makefile.in: Likewise * src/pam/Makefile.in: Likewise * src/stringprep/Makefile.in: Likewise * src/tls/Makefile.in: Likewise * src/web/Makefile.in: Likewise * src/ejabberd_zlib/Makefile.win32: Likewise * src/eldap/Makefile.win32: Likewise * src/mod_irc/Makefile.win32: Likewise * src/mod_muc/Makefile.win32: Likewise * src/mod_proxy65/Makefile.win32: Likewise * src/mod_pubsub/Makefile.win32: Likewise * src/odbc/Makefile.win32: Likewise * src/stringprep/Makefile.win32: Likewise * src/tls/Makefile.win32: Likewise * src/web/Makefile.win32: Likewise * doc/guide.tex: Remove 'ssl' option from documentation and configuration load (EJAB-461) * src/ejabberd_listener.erl: Likewise * src/msgs/cs.msg: Small typo (thanks to Lukas Polivka alias Spike411) * src/ejabberd.cfg.example: Small change in order of options 2007-12-15 Badlop * src/mod_irc/iconv.erl: Changed order of handle_info clause (EJAB-290) * src/stringprep/stringprep.erl: Likewise * src/eldap/eldap.erl: Removed handle_sync_event clause because it is never called (EJAB-290) * src/mod_irc/mod_irc.erl: No need to translate copyright notice * src/mod_muc/mod_muc.erl: Likewise * src/mod_proxy65/mod_proxy65_service.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_vcard.erl: Likewise * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard_odbc.erl: Likewise * src/msgs/*.msg: Likewise * contrib/extract_translations/prepare-translation.sh: Bugfix 2007-12-14 Badlop * src/msgs/*: Unified file format: First line is SVN Id tag. Second is Language name. Next lines are authors, adding the new ones on top. Each string must be in a single line (to facilitate the automatic removal of unused strings). Last four lines report file format for Emacs and Vim. * contrib/extract_translations/prepare-translation.sh: New features: extract all translations, include explanation for translators in the file, remove unused strings from file, include unused strings in a section for reference, provide information about current translation and number of missing strings, compress the files to a zip * contrib/extract_translations/extract_translations.erl: Reverted to the original version 2007-12-14 Alexey Shchepin * src/ejabberd_s2s_out.erl: Bugfix 2007-12-12 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: presence handler bugfix * src/mod_pubsub/node_default.erl: Allow send last item on presence 2007-12-12 Badlop * src/msgs/it.msg: Updated (thanks to Luca Brivio) 2007-12-11 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: notification broadcast bugfix * src/jlib.hrl: add pubsub namespace 2007-12-11 Badlop * src/msgs/tr.msg: New translation (thanks to Doruk Fisek) * src/msgs/zh.msg: Updated (thanks to Shelley Shyan) 2007-12-10 Badlop * src/msgs/ja.msg: Updated (thanks to Tsukasa Hamano) * doc/guide.tex: Small improvement in mod_shared_roster * src/mod_irc/mod_irc.erl: Bugfix in ACL check (thanks to Sergei Golovan) 2007-12-10 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: database upgrade and auto-create pep node bugfix 2007-12-09 Mickael Remond * src/web/ejabberd_http.erl: Fixed URL decoding code (EJAB-450) * src/msg/fr.msg: Added missing space. 2007-12-09 Badlop * src/msgs/ru.msg: Updated (thanks to Konstantin Khomoutov) 2007-12-08 Badlop * src/msgs/ja.msg: New translation (thanks to Tsukasa Hamano) * src/msgs/nl.msg: Updated (thanks to Andreas van Cranenburgh) * src/ejabberd_config.erl: Report human-readable message when Mnesia spool files are not readable. 2007-12-08 Mickael Remond * src/ejabberd_s2s_out.erl: Increase dialback timeout as dialback can sometimes take longer than expected. 2007-12-08 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: disco_sm_items bugfix 2007-12-07 Alexey Shchepin * src/ejabberd_sm.erl: Bugfix 2007-12-07 Badlop * src/Makefile.in: Fix compilation warnings: Part 5: To fix a warning about behaviour undefined, the erlang module that implements the behaviour must be compiled before the module that uses such behaviour (EJAB-290) * src/eldap/eldap.erl: Fix compilation warnings: Part 4 (EJAB-290) * src/web/ejabberd_web_admin.erl: Likewise * src/mod_irc/iconv.erl: Fix compilation warnings: 3 (EJAB-290) * src/mod_irc/mod_irc.erl: Likewise * src/mod_irc/mod_irc_connection.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/stringprep/stringprep.erl: Likewise * src/web/ejabberd_http.erl: Likewise * src/web/ejabberd_http_poll.erl: Likewise * src/mod_caps.erl: Fix compilation warnings: Part 2 (EJAB-290) * src/mod_configure.erl: Likewise * src/mod_configure2.erl: Likewise * src/mod_offline_odbc.erl: Likewise * src/mod_shared_roster.erl: Likewise * src/mod_stats.erl: Likewise * src/mod_version.erl: Likewise * 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 2007-12-06 Badlop * src/**/*.erl: Remove Erlang module attribute 'vsn' because it doesn't provide any worth feature, and it difficults hot code update (EJAB-440) * src/ejabberdctl.cfg.example: Explain that each connection uses two or three ports (thanks to Max Loparyev) * src/configure: Regenerated * doc/dev.html: Likewise * doc/features.html: Likewise * doc/guide.html: Likewise * doc/version.tex: Likewise * doc/introduction.tex: Updated number of translated languages * src/web/ejabberd_web_admin.erl: Support more native acl_type on web interface (EJAB-253) * src/ejabberd_c2s.erl: Increase the timeout of open socket without authentication to 60 seconds because many Jabber clients are not yet capable of handling this correctly (EJAB-355) * src/Makefile.in: Allow compilation with HiPE, disabled by default, undocumented and unrecommended because it is experimental and doesn't seem to provide meaningful gains currently (thanks to Samuel Tardieu) (EJAB-412) * src/configure.ac: Likewise * src/msgs/cs.msg: Updated (thanks to Lukas Polivka alias Spike411) * src/mod_muc/mod_muc.erl: Catch creation of table muc_online_users: it may be already created by other mod_muc instance * doc/Makefile: Remove bashism * doc/guide.tex: Document how to change computer hostname (EJAB-320) * src/web/ejabberd_http.erl: Change loglevel for http queries (EJAB-363) * src/web/ejabberd_web_admin.erl: Likewise * doc/guide.tex: Add mod_caps and improve mod_pubsub documentation * src/ejabberd.cfg.example: Added mod_caps enabled by default 2007-12-06 Christophe Romain * src/mod_pubsub/node_dispatch.erl: Correct syntax issue * src/mod_pubsub/Makefile.in: include example plugins * src/mod_pubsub/Makefile.win32: likewise * src/ejabberd.cfg.example: use default and pep pubsub plugins * doc/guide.tex: add nodetree and plugins pubsub option * doc/guite.html: likewise 2007-12-06 Badlop * doc/guide.tex: Document the Debug Console (EJAB-395) * src/ejabberdctl.template: The parameter 'kernel inetrc' is used even with -sname to guarantee the same behaviour that when using -name (EJAB-317) * doc/guide.tex: Improvements in sections: Start, Creating Initial Account, Module Overview, Managing an ejabberd server, and Debugging 2007-12-05 Badlop * doc/guide.tex: Added explanations about epmd, cookie and node name (EJAB-251) * src/msgs/zh.msg: Updated (thanks to Shelley Shyan) * src/mod_muc/mod_muc_room.erl: Rephrase the invitation sentence to make more natural * src/msgs/es.msg: Updated * src/ejabberd.hrl: Set more proper version number * contrib/extract_translations/extract_translations.erl: Don't report [] to be translated. Identify unusued strings. 2007-12-04 Badlop * .gitignore: Removed (EJAB-441) * src/.cvsignore: Likewise * src/mod_pubsub/mod_pubsub.erl: Bugfix: don't report the Jabber server as a pubsub service. Fixed URI. 2007-12-03 Mickael Remond * src/mod_muc.erl: Added option to limit the number of room a user is allowed to connect to (EJAB-445). * src/mod_muc_room.erl: Likewise. * doc/guide.tex: Likewise.:ChangeLog 2007-12-02 Badlop * src/ejabberdctl.cfg.example: Bugfix in kernel poll. Added SMP option. Reorganization of options * src/ejabberdctl.template: Added SMP option * src/Makefile.in: New options make uninstall and uninstall-all (EJAB-293) 2007-12-01 Mickael Remond * doc/Makefile: echo seems to interpret \n and \v under MacOSX Leopard. I fixed the problem but let me know if it breaks build chain in other contexts. * Doc/guide.tex: Updated Windows compilation instructions. * src/configure.erl: Likewise. * doc/ejabberd.hrl: Preparing ejabberd 2.0.0 beta release. * doc/version.tex: Likewise. * src/tls/Makefile.win32: Updated for latest Win32 OpenSSL library. * src/odbc_queries.erl: Added a default define value so that we can recompile the file manually with a simple erlc command (with the default generic value). 2007-12-01 Alexey Shchepin * src/mod_pubsub/Makefile.in: Removed mod_pubsub_old mentioning * src/mod_pubsub/Makefile.win32: Likewise * src/odbc/odbc_queries.erl: Reverted the previous patch because it produces "redefining macro 'generic'" compilation error * 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 2007-11-30 Mickael Remond * src/odbc_queries.erl: Added a default define value so that we can recompile the file manually with a simple erlc command. 2007-11-29 Badlop * src/mod_vcard.erl: Add type of x:data field to search results (thanks to Robin Redeker) (EJAB-327) * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard_odbc.erl: Likewise * src/aclocal.m4: Fix autoconf caching for SSL libraries (thanks to Michael Shields) (EJAB-439) * src/configure.ac: Don't hardcode gcc and gcc options in Makefiles (thanks to Etan Reisner) (EJAB-436) * src/Makefile.in: Likewise * src/ejabberd_zlib/Makefile.in: Likewise * src/eldap/Makefile.in: Likewise * src/mod_irc/Makefile.in: Likewise * src/mod_muc/Makefile.in: Likewise * src/mod_proxy65/Makefile.in: Likewise * src/mod_pubsub/Makefile.in: Likewise * src/odbc/Makefile.in: Likewise * src/pam/Makefile.in: Likewise * src/stringprep/Makefile.in: Likewise * src/tls/Makefile.in: Likewise * src/web/Makefile.in: Likewise * src/mod_muc/mod_muc_room.erl: Hide the option 'Make room moderated' because it isn't implemented, and set the default value of 'moderated' to true because that is the behaviour implemented (EJAB-419) 2007-11-28 Badlop * doc/guide.tex: It should be made more clear that domain_certfile works for both s2s and c2s connections (EJAB-212). Added another example of listening ports. * doc/guide.tex: Update URI of ejabberd official home page, URI of ejabberd.jabber.ru, and copyright dates (EJAB-366) * doc/introduction.tex: Likewise * src/ejabberd.hrl: Likewise * src/ejabberd_admin.erl: Likewise * src/mod_irc/mod_irc.erl: Likewise * src/mod_irc/mod_irc_connection.erl: Likewise * src/mod_muc/mod_muc.erl: Likewise * src/mod_muc/mod_muc_log.erl: Likewise * src/mod_proxy65/mod_proxy65_service.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_vcard.erl: Likewise * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard_odbc.erl: Likewise * src/msgs/*.msg: Updated * src/web/ejabberd_web_admin.erl: Likewise 2007-11-27 Badlop * src/gen_mod.erl: Update in database the configuration changes in modules (EJAB-330) * src/mod_configure.erl: The command get-user-lastlogin is now compatible with both Mnesia and ODBC (EJAB-383) * src/mod_last.erl: Likewise * src/mod_last_odbc.erl: Likewise * doc/guide.tex: Document ejabberd_http's request_handlers (EJAB-372). Fixed small Latex problems. Sort options of listening sockets. 2007-11-27 Alexey Shchepin * src/mod_announce.erl: Bugfix (thanks to Christophe Romain) 2007-11-27 Badlop * doc/guide.tex: Added clarification about LDAP default port (thanks to Christophe Romain). * src/mod_vcard.erl: Ensure mod_vcard to respect FORM_TYPE registry (EJAB-328). * src/mod_vcard_ldap.erl: Likewise. * src/mod_vcard_odbc.erl: Likewise. * doc/guide.tex: Updated documentation. * src/mod_muc/mod_muc_room.erl: Don't show the room name as the room description (EJAB-382). 2007-11-26 Badlop * src/ejabberd.cfg.example: Added example configuration of databases. * doc/guide.tex: Fixed several typos. * src/ejabberd_config.erl: Print error when the configuration requires ODBC, MySQL or PostgreSQL libraries but are not installed (EJAB-210). * src/web/ejabberd_web_admin.erl: Added a favicon (EJAB-379). * src/msgs/wa.msg: New Walon translation (thanks to Pablo Saratxaga) (EJAB-374). * doc/guide.tex: Describe how ejabberd treats ejabberd.cfg file (EJAB-384). * src/ejabberd.cfg.example: Huge reorganization and grouping of options (EJAB-392). * doc/guide.tex: Describe in mod_muc: nick register and service admin message (EJAB-400). * src/mod_echo.erl: Example function that demonstrates how to receive XMPP packets using Erlang's message passing mechanism (EJAB-247). * src/ejabberdctl.template: Removed bashisms (EJAB-399). Set environment variables instead of passing parameters when calling erl (EJAB-421). Write erl_crash.dump in the log/ directory, with unique filename (EJAB-433). * src/ejabberd_ctl.erl: Improvements in the help messages (EJAB-399). * doc/guide.tex: Improvements in sections ejabberdctl, and Install from Source (EJAB-399). 2007-11-25 Alexey Shchepin * src/ejabberd_router.erl: Bugfix * src/ejabberd_s2s_out.erl: Bugfix * src/ejabberd_sm.erl: Optimized check_max_sessions (thanks to Christophe Romain) 2007-11-22 Mickael Remond * src/ejabberd_config.erl: Improved error message when ejabberd config file is not found. 2007-11-16 Christophe Romain * src/ejabberd_auth_internal.erl: Better count management and batch users retrieval internal database 2007-11-14 Mickael Remond * examples/extauth/check_pass_null.pl: Fixed external authentication example script (EJAB-404) 2007-11-05 Mickael Remond * src/ejabberd_config.erl: Refactoring: Move internal data structure to an include file. * src/ejabberd_config.hrl: Likewise. 2007-11-03 Mickael Remond * src/ejabberd_auth.erl: Better count management and batch users retrieval for relational database (Thanks to Massimiliano Mirra). * src/ejabberd_auth_odbc.erl: Likewise. * src/odbc/odbc_queries.erl: Likewise. 2007-11-02 Mickael Remond * src/web/ejabberd_http_poll.erl: Refactoring. Moved c2s limits acquisition to a separate module. * src/ejabberd_c2s_config.erl: Likewise. 2007-11-01 Mickael Remond * src/web/ejabberd_http_poll.erl: Support for c2s ACL access, max_stanza and shaper on http_poll connections (EJAB-243, EJAB-415, EJAB-416) 2007-10-30 Jerome Sautret * src/ejabberd_s2s.erl: don't use the resource of the sender to choose a s2s connection to ensure that a muc room always uses the same connection (EJAB-360) 2007-10-23 Christophe Romain * doc/dev.tex: Added extauth script details (EJAB-334) 2007-10-17 Christophe Romain * src/ejabberdctl.template: Bugfix on previous change (EJAB-380) 2007-10-17 Alexey Shchepin * src/ejabberdctl.template: Several improvements (EJAB-380) (thanks to Sander Devrieze, Sergei Golovan, Torsten Werner and Badlop) * src/ejabberdctl.cfg.example: Likewise * src/ejabberd.inetrc: Likewise * src/Makefile.in: Likewise * src/mod_privacy.erl: Bugfix 2007-10-07 Alexey Shchepin * src/mod_vcard_odbc.erl: Reverted previous change 2007-10-06 Alexey Shchepin * src/mod_vcard_odbc.erl: Bugfix * src/mod_offline_odbc.erl: Bugfix 2007-10-01 Alexey Shchepin * src/ejabberd_auth_pam.erl: Support for PAM authentication (EJAB-307) (thanks to Evgeniy Khramtsov) * src/ejabberd.cfg.example: Likewise * src/configure.ac: Likewise * src/aclocal.m4: Likewise * src/Makefile.in: Likewise * examples/ejabberd.pam: Likewise * doc/guide.tex: Likewise 2007-09-28 Christophe Romain * src/odbc/mysql.sql: Added some missing NOT NULL restrictions * src/odbc/mssql.sql: Likewise * src/odbc/pg.sql: Likewise 2007-09-27 Christophe Romain * src/ejabberdctl.template: apply rootdir patch from Badlop (EJAB-385) * tools/ejabberdctl: define EJABBERD_EBIN as from ejabberdctl.template 2007-09-25 Alexey Shchepin * src/ejabberd_s2s.erl: Max number of connections and max number of connections per node now can be specified via max_s2s_connections and max_s2s_connections_per_node acl rules 2007-09-14 Mickael Remond * src/ejabberd_s2s_out.erl: Changed to actual p1_fsm behaviour. It was working correctly as the API of p1_fsm and gen_fsm is strictly the same. * src/ejabberd_s2s_in.erl: Added debug hook for s2s loop (EJAB-358). * src/ejabberd_c2s.erl: Added debug hook for c2s loop (EJAB-358). * src/ejabberd_s2s.erl: open all missing connections if needed (Jerome Sautret). * src/ejabberd_s2s.erl: don't check blacklist for services (Jerome Sautret). * src/ejabberd_s2s.erl: Try to open all s2s connections at the same time, to guarantee the right order of the packets (Jerome Sautret). * src/ejabberd_s2s.erl: max_s2s_connexions_number local parameter added (Jerome Sautret). * src/ejabberd_s2s_out.erl: Implements s2s negociation timeouts and s2s connection retrial interval (EJAB-357, EJAB-294). * src/ejabberd_c2s.erl: Implements timeouts during session opening negociation (EJAB-355). * doc/guide.tex: Documentation for new configure option --disable-transient-supersisors (EJAB-354). * src/ejabberd_c2s.erl: Option to prevent the use of Erlang OTP supervisor for transient processes (EJAB-354). * src/ejabberd_s2s_in.erl: Likewise. * src/ejabberd_s2s_out.erl: Likewise. * src/mod_muc/mod_muc_room.erl: Likewise. * src/configure.ac: Likewise. * src/configure: Likewise. * src/Makefile.in: Likewise. * src/mod_muc/Makefile.in: Likewise. * src/ejabberd_s2s_out.erl: Moved s2s connexion information from INFO level to DEBUG level and more human readable information explai * src/ejabberd_s2s_in.erl: Moved s2s connexion information from INFO level to DEBUG level (EJAB-353). * src/ejabberd_s2s_out.erl: open up to 3 s2s outgoing connection per domain pair (Jerome Sautret). * src/ejabberd_s2s.erl: Likewise. 2007-09-11 Alexey Shchepin * src/gen_mod.erl: Added get_module_opt_host/3 (thanks to Badlop) 2007-09-10 Mickael Remond * src/guide.tex: Fix: user_regexp acls are valid for all local users (all vhosts). 2007-09-06 Mickael Remond * src/guide.tex: Improved documentation for adding a vhost specific option (EJAB-297). * src/mod_configure.erl: Virtual host support for mod_configure (Thanks to Badlop) (EJAB-285). 2007-09-05 Alexey Shchepin * src/mod_offline_odbc.erl: Bugfix 2007-09-04 Mickael Remond * src/mod_register.erl: update ejabberd commands to support XEP-0133 (initial patch by Badlop) (EJAB-325). * src/mod_configure.erl: Likewise. * src/mod_announce.erl: Likewise. * src/jlib.hrl: Likewise. * src/ejabberd.cfg.example: Likewise. * doc/guide.tex: Likewise. 2007-09-03 Mickael Remond * examples/extauth/check_pass_null.pl: Perl is generally available as a default in most Linux distributions. 2007-09-02 Alexey Shchepin * src/jlib.erl: Removed http_base_64:decode call * src/mod_muc/mod_muc_room.erl: Added logging of MUC admin/owner queries 2007-09-01 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Added user_message_shaper and room_shaper options * src/mod_muc/mod_muc.erl: Likewise 2007-08-31 Mickael Remond * doc/guide.tex: Minor examples improvement in LDAP example (Thanks to Badlop) (EJAB-272). * doc/guide.tex: Documentation for mod_muc option for server-wide limitation of the maximum number of users per room (EJAB-344). * doc/guide.tex: Documentation for mod_muc option to allow admin to enter room even if the maximum number of users reached (EJAB-345). * src/web/ejabberd_web_admin.erl: Make the web interface pages "translatable" (Thanks to Badlop) (EJAB-11). 2007-08-29 Alexey Shchepin * src/ejabberd.cfg.example: Updated mod_muc 'host' option default value (thanks to Badlop) * src/mod_muc/mod_muc_room.erl: The mod_muc option max_users now limits max number of users in rooms and max_users_admin_threshold sets a number of admin or owner accounts allowd to join after max_users occupants 2007-08-29 Mickael Remond * doc/guide.tex: Documentation for XML based optimisation build time option (EJAB-298) 2007-08-29 Alexey Shchepin * src/mod_muc/mod_muc_log.erl: Added missed HTMLization in a nickname change logging (thanks to Badlop) 2007-08-28 Mickael Remond * src/mod_muc/mod_muc_room.erl: Changed default max number of user in a room to 200 (EJAB-248) * src/mod_offline_odbc.erl: Implements quota for offline messages in relational database (EJAB-314) * src/odbc/odbc_queries.erl: Likewise 2007-08-28 Alexey Shchepin * doc/guide.tex: Described @HOST@ feature (thanks to Badlop) 2007-08-26 Mickael Remond * src/mod_muc/mod_muc_room.erl: Implements muc max users option from XEP-0045 (Thanks to Jerome Sautret) (EJAB-248). 2007-08-26 Alexey Shchepin * doc/guide.tex: Removed mentions of unexistent 'hosts' modules option (thanks to Badlop) 2007-08-25 Alexey Shchepin * src/gen_mod.erl: Substitute @HOST@ with hostname in the 'host' option (thanks to Badlop) * src/mod_vcard.erl: Likewise * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard_odbc.erl: Likewise * src/mod_muc/mod_muc.erl: Likewise * src/mod_irc/mod_irc.erl: Likewise * src/mod_echo.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_proxy65/mod_proxy65_service.erl: Likewise 2007-08-24 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Moved roster stuff to mod_roster* * src/mod_roster.erl: Likewise * src/mod_roster_odbc.erl: Likewise 2007-08-23 Alexey Shchepin * src/ejabberd_sm.erl: Removed check which denies resource to receive its own presence * src/web/ejabberd_web_admin.erl: Added hooks to allow plugins to add their pages without modifying ejabberd_web_admin.erl (thanks to Badlop) * src/web/ejabberd_web_admin.hrl: Macro definitions moved here * src/mod_shared_roster.erl: Updated * src/mod_offline.erl: Likewise * src/mod_offline_odbc.erl: Likewise 2007-08-22 Alexey Shchepin * src/jlib.erl: Use http_base_64:decode if available 2007-08-20 Alexey Shchepin * src/mod_roster.erl: Don't send roster push when unsubscribing in "None + Pending In" state * src/mod_roster_odbc.erl: Likewise * src/mod_offline.erl: Renamed MAX_OFFLINE_MSGS to MaxOfflineMsgs 2007-08-16 Jerome Sautret * src/odbc/ejabberd_odbc_sup.erl: Add an odbc_pool_size config file option to choose the number of SQL connection in each pool (EJAB-58). * src/odbc/ejabberd_odbc.erl: Add an odbc_keepalive_interval config file option to perform a keep alive query at given interval (EJAB-206). 2007-08-13 Mickael Remond * src/mod_offline.erl: Added a config option to define the maximum number of offline messages per user (EJAB-314). * doc/guide.tex: Added documentation for the mod_offline quota (EJAB-314). * doc/guide.tex: Remove release notes (EJAB-323). * src/mod_offline.erl: Returns an error message to sender when message is discarded due to quota (EJAB-314). 2007-08-12 Mickael Remond * src/odbc/ejabberd_odbc.erl: UTF-8 support for MySQL5 (EJAB-318). 2007-08-09 Alexey Shchepin * doc/guide.tex: Minor update (thanks to Sergei Golovan) 2007-08-08 Mickael Remond * src/mod_offline.erl: Only count messages if a quota has been actually set (EJAB-314). * src/p1_mnesia.erl: Minor coding style change. 2007-08-07 Mickael Remond * src/mod_offline.erl: Started implementation of mod_offline quota. For now, it require change in code. Will be turn into a config file parameter soon. (EJAB-314). * src/p1_mnesia.erl: Added memory efficient record count in Mnesia. 2007-08-03 Mickael Remond * src/mod_announce.erl: Added support to all the announce features described in documentation. Access to all announce features through command line, adhoc commands and disco (Thanks to Badlop) (EJAB-18). * src/gen_mod.erl: Likewise. * doc/guide.tex: Likewise. 2007-08-02 Alexey Shchepin * src/mod_muc/mod_muc.erl: Added default_room_options option (thanks to Etan Reisner and Badlop) * src/mod_muc/mod_muc_room.erl: Likewise * doc/guide.tex: Updated 2007-08-01 Mickael Remond * doc/guide.tex: Front page table formatting that render correctly in HTML and update mentionning CEAN as a way to install ejabberd (Thanks to Badlop) (EJAB-272). * src/ejabberd_s2s_out.erl: Avoid bouncing messages twice if terminate happens during open_socket. * src/ejabberd_s2s_out.erl: On terminate, bounce internal process queue and Erlang message queue. * src/mod_private.erl: Reduce memory consumption on user private storage removal (EJAB-299). 2007-07-31 Mickael Remond * src/xml.erl: Making use of CDATA escaping optional through with a compile time option (EJAB-298). * src/Makefile.in: Likewise. * src/configure.ac: Likewise. 2007-07-31 Alexey Shchepin * src/mod_version.erl: Added option to hide OS version (thanks to Badlop) * doc/guide.tex: Updated * src/msgs/zh.msg: Updated (thanks to Shelley Shyan) * src/msgs/es.msg: Updated (thanks to Badlop) * src/msgs/gl.msg: New galician translation (thanks to Carlos E. Lopez) * src/ejabberd_config.erl: Added possibility for appending values to config options (thanks to Badlop) * doc/guide.tex: Updated 2007-07-30 Mickael Remond * src/xml.erl: Better escaping management with CDATA. We only add CDATA enclosure when needed. CDATA end token is properly escaped. * src/xml.erl: Only wrap xmldata nodes in xml cdata "tag" if bigger than 50 bytes. Shorter xmlcdata nodes will be escaped. * src/tls/tls_drv.c: Sends the entire certificate chain (EJAB-209). * src/acl.erl: Remove compilation warnings (EJAB-290). * src/xml_stream.erl: Group CDATA on a single xmlcdata node (splitting is not relevant as dependant on TCP/IP packet fragmentation) (EJAB-292). * src/xml.erl: Remove compilation warnings (EJAB-290). * src/xml.erl: Do not crypt binary CData, but enclose the value in XML CDATA "tag". * src/xml.erl: Code clean-up: removed old code in comments. 2007-07-28 Mickael Remond * src/mod_roster_odbc.erl: Better error management when bad JID in roster table (EJAB-289). 2007-07-26 Mickael Remond * src/web/ejabberd_web_admin.erl: Code clean-up. * src/mod_offline.erl: Code clean-up. * src/gen_mod.erl: Throw error more cleanly. * src/mod_configure.erl: One ACL call was not virtual host compliant. * src/ejabberd_auth_odbc.erl: Fixed wrong call preventing user removal with relational databases. * src/mod_last_odbc.erl: Adapted to mod_privacy changes. * src/mod_privacy_odbc.erl: Refactoring to extract records in include file. * src/mod_last.erl: Adapted to mod_privacy changes. * src/mod_privacy.erl: Refactoring to extract records in include file. * src/mod_privacy.hrl: Likewise. * src/mod_roster_odbc.erl: Fixed wrong call. 2007-07-24 Mickael Remond * doc/guide.tex: Added recommandations on max_stanza options usage. * src/ejabberd_s2s_out.erl: Autodisconnect s2s connections which are overloaded (EJAB-287). * src/p1_fsm.erl: Likewise. 2007-07-19 Mickael Remond * src/ejabberd_s2s_in.erl: Add s2s whitelist / blacklist support on incoming s2s connections (EJAB-283) * src/ejabberd_s2s.erl: Likewise 2007-07-18 Mickael Remond * src/ejabberd_s2s.erl: Fixed typos. * src/ejabberd_s2s.erl: Implements s2s hosts whitelist / blacklist * src/ejabberd.cfg.example: Likewise * src/ejabberd_s2s_out.erl: Make s2s connections more robust * src/ejabberd_s2s.erl: Likewise 2007-07-17 Mickael Remond * src/mod_configure.erl: Bugfix: Show only virtual host users on admin disco for all users (EJAB-268) (Thanks to Badlop). * src/mod_muc/mod_muc_log.erl: Recognise more URI schemes in logged HTML (EJAB-279) (Thanks to qu1j0t3). * src/ejabberd_s2s_out.erl: Improved place of the INFO / DEBUG printout. * src/odbc/ejabberd_odbc.erl: Better error handling for MySQL native driver (EJAB-224). 2007-07-15 Alexey Shchepin * src/ejabberd_s2s.erl: Added remove_connection/3 * src/ejabberd_s2s_out.erl: Bugfix: remove only own s2s record 2007-07-11 Alexey Shchepin * src/ejabberd_s2s_out.erl: Bounce packets after unregistering s2s connection, not before 2007-07-11 Mickael Remond * src/mod_echo.erl: mod_echo does not reply to other components. This is to make sure that a component will not discover its own capabilities (Thanks to Badlop) (EJAB-281). * src/ejabberd.cfg.example: disable mod_echo in the example config file. mod_echo is mainly a development/test module. 2007-07-09 Mickael Remond * src/odbc/mssql.sql: Nickname cannot be null in rosterusers table (MSSQL) * src/odbc/mysql.sql: Likewise * src/odbc/pg.sql: Likewise 2007-06-29 Mickael Remond * src/ejabberd_config.erl: Normalize hostnames in config file. If mixed case is used, the hostname will be now useable (EJAB-277). * src/stringprep/stringprep_sup.erl: Likewise * src/stringprep/Makefile.in: Likewise * src/stringprep/Makefile.win32: Likewise * src/ejabberd_app.erl: Likewise 2007-06-28 Mickael Remond * src/ejabberd_auth_anonymous.erl: Do not purge non anonymous accounts when using anonymous authentication with another type of auth. * src/ejabberd_service.erl: Added an option to disable from attribute checks in packets coming from an external component (EJAB-275) * doc/guide.tex: Likewise * doc/guide.tex: Documentation rework started (EJAB-272) * doc/introduction.tex: Likewise 2007-06-28 Christophe Romain * src/web/ejabberd_web_admin.erl: corrects (EJAB-273), remove obsolete OnlineUsers calculation 2007-06-26 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Include in MUC invitations for older clients (thanks to Michael Scherer) 2007-06-25 Mickael Remond * doc/guide.tex: Typos * src/mod_muc/mod_muc_room.erl: New anti-abuse options: min_presence_interval and min_message_interval * doc/guide.tex: Likewise * doc/guide.tex: Documentation improvements on watchdog * doc/guide.tex: No need to escape underscore in Latex verbatim sections * doc/guide.tex: Watchdog alert documentation * src/ejabberd.cfg.example: Likewise 2007-06-22 Alexey Shchepin * src/mod_irc/mod_irc.erl: Added an option for default IRC encoding (thanks to Badlop) (EJAB-452) * doc/guide.tex: Updated * src/mod_disco.erl: Don't override accumulated value in get_local_identity/5 (thanks to Magnus Henoch and Badlop) * src/web/ejabberd_web_admin.erl: Added links to server and virtual host homes (thanks to Badlop) 2007-06-20 Mickael Remond * src/mod_muc/mod_muc_room.erl: It is now possible to limit who is allowed to create persistent MUC rooms (Thanks to Badlop) (EJAB-257) * src/mod_muc/mod_muc.erl: Likewise * doc/guide.tex: Likewise * src/ejabberd.cfg.example: Likewise 2007-06-18 Mickael Remond * src/odbc/odbc_queries.erl: Added missing users_number/1 for MSSQL (EJAB-239). 2007-06-12 Alexey Shchepin * src/mod_roster_odbc.erl: Fixed typo 2007-06-10 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Show IP address of connected resources on user info page (thanks to Oleg Palij) 2007-06-07 Alexey Shchepin * src/ejabberd_config.erl: Fixed "language" option processing (thanks to Badlop) * src/msgs/zh.msg: Updated (thanks to Shelley Shyan) * src/msgs/ca.msg: New Catalan translation (thanks to Vicent Alberola) 2007-06-05 Mickael Remond * src/xml.erl: Add new helper function get_subtag_cdata/2. 2007-05-31 Alexey Shchepin * src/mod_vcard_odbc.erl: Fix for previous commit (thanks to Badlop) 2007-05-29 Mickael Remond * src/mod_vcard_odbc.erl: Make service description translatable in discovery (EJAB-236) * src/mod_vcard_ldap.erl: Likewise * src/Makefile.in: Added Dialyzer target (EJAB-189 - Thanks to Geoff Cant) * src/Makefile.in: Build XmppAddr.beam in a single pass * src/mod_muc/Makefile.in: +debug_info directive support * src/stringprep/Makefile.in: Likewise * src/mod_irc/Makefile.in: Likewise * src/web/Makefile.in: Likewise * src/eldap/Makefile.in: Likewise * src/mod_pubsub/Makefile.in: Likewise * src/ejabberd_zlib/Makefile.in: Likewise * src/mod_proxy65/Makefile.in: Likewise * src/tls/Makefile.in: Likewise * src/odbc/Makefile.in: Likewise * src/mod_vcard.erl: Make services description translatable in discovery (EJAB-236 - thanks to Badlop) * src/mod_muc/mod_muc.erl: Likewise * src/mod_irc/mod_irc.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_proxy65/mod_proxy65_service.erl: Likewise * src/msgs/fr.msg: Added service description translation 2007-05-21 Alexey Shchepin * src/ejabberdctl.template: Updated version of ejabberdctl (thanks to Christophe Romain) * tools/ejabberdctl: Likewise * src/Makefile.in: Updated * 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) 2007-05-18 Alexey Shchepin * src/msgs/zh.msg: New chinese translation (thanks to Shelley Shyan) 2007-05-16 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Corrected error messages when trying to join members-only room (thanks to Badlop) * src/ejabberd_c2s.erl: Added c2s_update_presence hook 2007-05-14 Alexey Shchepin * src/ejd2odbc.erl: Bugfix (thanks to Badlop) 2007-05-12 Alexey Shchepin * src/ejabberd_auth.erl: Added get_vh_registered_users_number/1 function * src/ejabberd_auth_odbc.erl: Likewise * src/odbc/odbc_queries.erl: Added users_number/1 function * src/ejabberd.cfg.example: Added an example for pgsql_users_number_estimate option * src/mod_stats.erl: Updated * src/web/ejabberd_web_admin.erl: Likewise * src/ejabberd_auth_anonymous.erl: Added anonymous_purge_hook (thanks to Christophe Romain and Mickael Remond) * src/mod_offline.erl: Likewise * src/mod_offline_odbc.erl: Likewise * src/mod_roster.erl: Likewise * src/mod_roster_odbc.erl: Likewise 2007-05-09 Alexey Shchepin * src/mod_muc/mod_muc.erl: Bugfix 2007-05-07 Alexey Shchepin * src/ejabberd_receiver.erl: Workaround for inet_drv bug * src/web/ejabberd_http_poll.erl: Added sockname/1 and peername/1 stubs * src/web/ejabberd_http.hrl: Added "ip" field in the "request" record (thanks to Jerome Sautret and Mickael Remond) * src/web/ejabberd_http.erl: Likewise 2007-05-03 Alexey Shchepin * src/ejabberd_sm.erl: Added set_presence_hook * src/ejabberd_c2s.erl: Likewise * src/ejabberd_sm.erl: Added check for existence of incoming subscription destination * src/msgs/it.msg: Added italian translation (thanks to Luca Brivio) * src/mod_muc/mod_muc_room.erl: More accurate invitation errors (thanks to Magnus Henoch) 2007-04-26 Alexey Shchepin * src/mod_roster_odbc.erl: Don't deliver roster items in "None + Pending In" state * src/mod_roster.erl: Likewise 2007-04-12 Alexey Shchepin * src/ejabberd_socket.erl: Added API for monitoring socket processes * src/ejabberd_frontend_socket.erl: Likewise * src/ejabberd_c2s.erl: Added socket monitoring * src/mod_muc/mod_muc_room.erl: Fixed the stop reason for the destroy event 2007-04-09 Alexey Shchepin * src/ejabberd_sm.erl: Minor optimisation * src/ejabberd_system_monitor.erl: Experimental watchdog * src/ejabberd_sup.erl: Likewise * src/ejabberd_config.erl: Likewise 2007-03-22 Mickael Remond * src/guide.tex: Fixed typo. 2007-03-22 Alexey Shchepin * src/mod_muc/mod_muc.erl: Better behaviour under high load 2007-03-18 Alexey Shchepin * src/ejabberd_s2s.erl: Don't bounce packets with "error" and "result" type * src/ejabberd_s2s.erl: Fixed spelling * src/ejabberd_s2s.erl: Don't start s2s process for existing connection in case of race condition 2007-03-13 Alexey Shchepin * src/ejabberd_service.erl: Added shaper_rule option, changed service connection log message 2007-03-13 Mickael Remond * src/ejabberd_service.erl: Add extra info in the log about which components is connected and which Erlang process is handling it. This is usefull in context where many types of components are used (Thanks to Jerome Sautret) (EJAB-211). 2007-03-10 Mickael Remond * src/web/ejabberd_http.erl: Support for binaries in ejabberd HTTP server (Thanks to Massimiliano Mirra) (EJAB-197). * src/configure.ac: autoconf improvements (thanks to Tony Finch) (EJAB-204). * src/aclocal.m4: Likewise. * src/odbc/ejabberd_odbc.erl: ejabberd admin can now choose the relational database port to use from ejabberd configuration file (EJAB-195). * src/doc/guide.tex: Likewise. 2007-03-02 Mickael Remond * src/mod_muc/mod_muc_log.erl: Fix wrong return on check access log. 2007-03-01 Alexey Shchepin * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise 2007-02-22 Alexey Shchepin * src/mod_pubsub/mod_pubsub.erl: Bugfix * src/mod_proxy65/mod_proxy65_sm.erl: Cluster support (thanks to Evgeniy Khramtsov) * src/mod_proxy65/mod_proxy65_stream.erl: Code cleanup (thanks to Evgeniy Khramtsov) * src/mod_proxy65/mod_proxy65.hrl: Fixed typo (thanks to Evgeniy Khramtsov) 2007-02-20 Alexey Shchepin * src/ejabberd_c2s.erl: Init shaper with a default value first after stream opening * src/ejabberd_c2s.erl: Log failed SASL login attempts * src/cyrsasl.erl: Updated API * src/cyrsasl_plain.erl: Likewise * src/cyrsasl_digest.erl: Likewise 2007-02-19 Mickael Remond * src/mod_muc/mod_muc_room.erl: Added an option set affiliations. * doc/api/*: Added Erlang documentation generation script (EJAB-188). * doc/version.tex: Updated. * src/ejabberd.app: Updated. * src/odbc/pg.sql: last table, state column cannot be NULL (EJAB-191). * src/odbc/mysql.sql: likewise. * src/odbc/mssql.sql: likewise. * src/ejabberd_auth_ldap.erl: prevent anonymous bind on LDAP servers as ejabberd is providing other anonymous authentication mechanism (EJAB-190). * src/cyrsasl_plain.erl: bad-auth error code replaced by not-authorized (EJAB-187). * src/aclocal.m4: configure --with-erlang option is now working (Thanks to Jerome Sautret) (EJAB-186). * src/mod_muc/mod_muc_log.erl: Spam prevention: The default behaviour is now to use the nofollow rel attributes for links that are submitted by users (EJAB-185). * doc/guide.tex: Likewise. * src/mod_muc/mod_muc_room.erl: API improvement: Implementation of an event to destroy MUC room from an external application (Thanks to Massimiliano Mirra) (EJAB-184). 2007-02-18 Alexey Shchepin * src/ejabberd_s2s.erl: Confirm to RFC3920 section 10.3 (thanks to Jerome Sautret) 2007-02-18 Mickael Remond * src/mod_muc/mod_muc.erl: Node now try to clean its own online room when restarting (EJAB-182). 2007-02-13 Alexey Shchepin * src/mod_muc/mod_muc.erl: Clean online room table on cluster node restart 2007-02-13 Mickael Remond * src/ejabberd_auth_ldap.erl: Added ldap_local_filter option. This option provide an optimisation to reduce LDAP directory load when using attribute-based filters. 2007-02-04 Alexey Shchepin * src/web/ejabberd_http.erl: Added separate version of element_to_string for HTML encoding * src/xml.erl: Reverted previous change 2007-02-04 Mickael Remond * src/xml.erl: ' entity replaced by ' Should work more universaly (in HTML and XML). 2007-01-30 Alexey Shchepin * src/mod_roster_odbc.erl: Bugfix (thanks to asdx ) * src/ejd2odbc.erl: Likewise 2007-01-27 Mickael Remond * src/mod_vcard_ldap.erl: LDAP server pool support (thanks to Evgeniy Khramtsov) * src/eldap/Makefile.in: Likewise * src/ejabberd_auth_ldap.erl: Likewise * src/eldap_pool.erl: Likewise * src/eldap/eldap_utils.erl: Implemented LDAP domain substitution * src/eldap/eldap.erl: Implemented queue to avoid bind deadlock under heavy load (thanks to Evgeniy Khramtsov) * src/eldap/eldap.hrl: Likewise 2007-01-26 Mickael Remond * doc/guide.tex: Fixed typos in labels. 2007-01-25 Mickael Remond * src/eldap/Makefile.win32: fix build error on Windows. 2007-01-25 Alexey Shchepin * src/web/*: Plugin architecture for HTTP modules (thanks to Massimiliano Mirra) 2007-01-24 Mickael Remond * doc/guide.tex: Documentation for the domain_balancing_component_number option. * doc/guide.tex: Documentation for domain balancing. * doc/guide.tex: mod_muc now supports cluster. * doc/guide.tex: Updated the max_user_sessions section. 2007-01-19 Alexey Shchepin * src/mod_muc/mod_muc.erl: Now mod_muc can be distributed on several nodes * src/mod_muc/mod_muc_room.erl: Likewise * src/ejabberd_router.erl: Added bare_source and bare_destination service balancing options and domain_balancing_component_number option for specifying the number of connected components for the domain * src/ejabberd_config.erl: Likewise 2007-01-11 Mickael Remond * doc/guide.tex: Latex / Hevea related improvements for documentation generation (thanks to Sander Devrieze). * doc/introduction.tex: Likewise. * doc/dev.tex: Likewise. * doc/features.tex: Likewise. 2007-01-08 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: add presence_based_delivery cluster support 2007-01-05 Alexey Shchepin * src/mod_muc/mod_muc_log.erl: Remove 'right-to-left override' unicode character (thanks to Badlop) 2006-12-31 Alexey Shchepin * src/ejabberd_s2s_out.erl: Bugfix 2006-12-21 Mickael Remond * src/mod_private_odbc: Bugfix: an internal error was returned instead of the actual private data. This is now working as expected. 2006-12-21 Alexey Shchepin * src/ejd2odbc.erl: Bugfix 2006-12-16 Mickael Remond * README: Added this file as a quickstart guide. 2006-12-15 Mickael Remond * src/mod_echo.erl: The mod_echo can now be stopped without errors. This is not a major issue, but can mislead other developers learning from this example and test module (Thanks to Magnus Henoch). * TODO: Removed. The roadmap is managed on: http://support.process-one.net/browse/EJAB * src/ejabberd_ctl.erl: Bugfix: Now display all register commands for a vhost and not only one (Thanks to Badlop). * src/ejabberd.cfg.example: Fixed typo. 2006-12-14 Mickael Remond * src/ejabberd_config.erl: Added loglevel option. It is now possible to configure ejabberd dynamic loglevel from the config file. 2006-12-08 Alexey Shchepin * src/ejabberd_receiver.erl: Bugfix * src/ejabberd_c2s.erl: Bugfix 2006-12-05 Alexey Shchepin * src/mod_roster_odbc.erl: Better error handling * src/web/ejabberd_http_poll.erl: Minor fix 2006-12-04 Mickael Remond * src/ejabberd_loglevel.erl: Preliminary dynamic loglevel support. Debug can be enabled with the command "ejabberd_loglevel:set(5)". * src/ejabberd_app.erl: Likewise. * src/ejabberd.hrl: Likewise (More log levels are now supported). * src/ram_file_io_server.erl: Likewise (Needed to dynamically recompile the error logger). 2006-12-01 Alexey Shchepin * src/ejabberd_receiver.erl: Bugfix 2006-11-30 Mickael Remond * src/mod_proxy65/mod_proxy65_services.erl: We now try to get the address of the component (if registered in DNS) or otherwise get the IP of the XMPP domain. 2006-11-29 Mickael Remond * src/ejabberd_logger_h.erl: Removed useless comments. 2006-11-28 Mickael Remond * src/mod_proxy65/mod_proxy65_services.erl: Now using all interfaces as default value for proxy listen parameter. * src/ejabberd_c2s.erl: User login in with negative priority must not receive offline messages (Thanks to Badlop). 2006-11-24 Mickael Remond * doc/guide.tex: Fixed regexp ACL configuration examples (Thanks to Massimiliano Mirra). * src/muc/mod_muc_room.erl: API improvement. It is now possible to read and write a room config from a developer module (Thanks to Massimiliano Mirra). 2006-11-23 Alexey Shchepin * 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 2006-11-20 Mickael Remond * src/ejd2odbc.erl: Copy mod_private data from Mnesia to relational database. * src/odbc/odbc_queries.erl: Refactoring. * src/odbc/mssql.sql: Likewise. * doc/guide.tex: Doc updated to mention mod_private_odbc. * src/odbc/mysql.sql: Started integration of mod_privacy_odbc for MySQL and MSSQL. * src/odbc/mssql.sql: Likewise. 2006-11-15 Mickael Remond * src/mod_muc/mod_muc_room.erl: API improvement: It is now easier to extract data from the MUC room process. 2006-11-07 Alexey Shchepin * src/ejabberd_node_groups.erl: Support for node tagging * src/ejabberd_sup.erl: Likewise * src/ejabberd_frontend_socket.erl: Use node tags to determine backend nodes * src/ejabberd_config.erl: Added node_type and cluster_nodes options * src/ejabberd_app.erl: Establish connections to the nodes from the cluster_nodes option * src/ejabberd_router.erl: Added balancing method option * src/ejabberd_config.erl: Likewise 2006-11-05 Mickael Remond * src/mod_private_odbc.erl: Support for MySQL and MSSQL. * src/odbc/odbc_queries.erl: Likewise. * src/odbc/mysql.sql: Likewise. * src/odbc/mssql.sql: Likewise. 2006-11-04 Mickael Remond * src/eldap_utils.erl: Fixed missing export. * src/odbc/pg.sql: Database scripts consistency. * src/odbc/mysql.sql: Likewise. * src/odbc/mssql.sql: Likewise. * src/odbc/mysql: Database creation script should now be compliant with MySQL 4.0.x. 2006-10-29 Mickael Remond * doc/guide.tex: XEP-0065 proxy documentation (thanks to Evgeniy Khramtsov). 2006-10-28 Mickael Remond * src/ejabberd.cfg.example: Changed the anonymous example a bit to work in most cases. * doc/guide.tex: Likewise. 2006-10-28 Alexey Shchepin * src/mod_proxy65/: XEP-0065 proxy (thanks to Evgeniy Khramtsov) * src/Makefile.win32: Likewise * src/Makefile.in: Likewise * src/configure.ac: Likewise * src/jlib.hrl: Likewise * src/ejabberd.hrl: Added the ejabberd URL 2006-10-27 Mickael Remond * src/guide.tex: Fixed typos. 2006-10-25 Mickael Remond * src/ejabberd_rdbms.erl: It is now possible to use ldap or internal authentication with some other modules using relationnal database storage. Refactored relational databases connections initialisation. * src/ejabberd_auth_odbc.erl: Likewise. odbc supervisor startup is now delegated to the ejabberd rdbms module. * src/ejabberd_app.erl: Likewise. 2006-10-17 Alexey Shchepin * src/ejabberd_socket.erl: Added sockname/1 and peername/1 functions * src/ejabberd_frontend_socket.erl: Likewise * src/tls/tls.erl: Likewise * src/ejabberd_zlib/ejabberd_zlib.erl: Likewise * src/mod_private_odbc.erl: Private storage support using odbc * src/odbc/pg.sql: Likewise 1999-11-30 Mickael Remond * src/ejabberd_auth_ldap.erl: LDAP authentication now allows to match on several alternative attributes (thanks to Evgeniy Khramtsov). * src/mod_vcard_ldap.erl: Likewise. * doc/guide.tex: Updated. * eldap_utils.erl: Refactoring. * src/eldap/Makefile.in: Likewise. 2006-10-09 Alexey Shchepin * src/mod_privacy_odbc.erl: Privacy rules support using odbc * src/odbc/pg.sql: Likewise 2006-10-06 Alexey Shchepin * src/web/ejabberd_http_poll.erl: Bugfix 2006-10-05 Alexey Shchepin * src/mod_privacy.erl: Use hooks instead of direct function calls * src/ejabberd_c2s.erl: Updated 2006-10-01 Alexey Shchepin * src/shaper.erl: Bugfix * src/ejabberd_config.erl: Likewise * src/ejabberd_frontend_socket.erl: Support for frontend connection manager * src/ejabberd_c2s.erl: Likewise * src/ejabberd_listener.erl: Likewise * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_service.erl: Likewise * src/ejabberd_socket.erl: Likewise * src/web/ejabberd_http_poll.erl: Likewise 2006-09-27 Mickael Remond * doc/release_notes_1.1.2.txt: Minor fixes. * doc/guide.tex: Fixed Latexish typos. 2006-09-26 Mickael Remond * doc/release_notes_1.1.2.txt: Draft release notes. * src/msgs/pl.msg: Updated (thanks to Andrzej Smyk). * src/ejabberd_s2s.erl: More precise message for the new s2s statistic command. * src/mod_muc/mod_muc_room.erl: Minor english update. * src/msgs/pl.msg: Likewise. * src/msgs/uk.msg: Likewise. * src/msgs/pt-br.msg: Likewise. * src/msgs/cs.msg: Likewise. * src/msgs/ru.msg: Likewise. * src/msgs/es.msg: Likewise. * src/msgs/fr.msg: Likewise. * src/msgs/de.msg: Likewise. * src/msgs/nl.msg: Likewise. * src/msgs/pt-br.msg: Updated Brazilian translation (thanks to Renato Botelho) and clean-up. 2006-09-25 Mickael Remond * src/msgs/de.msg: Updated German translation (thanks to Nikolaus Polak). * src/ejabberd.app: Version update for ejabberd 1.1.2. * src/msgs/pl.msg: Updated Polish translation (thanks to Zbyszek Zolkiewski). * src/msgs/de.msg: Updated German translation (thanks to Marvin Preuss). * src/msgs/nl.msg: Updated Dutch translation (thanks to Sander Devrieze). * src/msgs/cs.msg: Updated Czech translation and removed unused strings. * doc/introduction.tex: Minor doc updates for release 1.1.2. 2006-09-25 Alexey Shchepin * src/ejabberd_s2s.erl: Added incoming-s2s-number and outgoing-s2s-number ejabberdctl commands * src/ejabberd_socket.erl: Support for non-xml sockets * src/ejabberd_c2s.erl: Likewise * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_service.erl: Likewise * src/web/ejabberd_http.erl: Likewise 2006-09-24 Mickael Remond * src/msgs/es.msg: Updated Spanish translation (thanks to Badlop). * src/mod_muc/mod_muc_room.erl: Strings update (thanks to Sergei Golovan). * src/msgs/ru.msg: Updated Russian translation (thanks to Sergei Golovan). * src/msgs/uk.msg: Updated Ukrainian translation (thanks to Sergei Golovan). * src/msgs/fr.msg: Update French translation. * src/doc/guide.html: Minor W3C compliance fix in an Hevea generated URL. * src/doc/features.html: Added to be consistent (guide.html is in the repository to make Latex optional, but still allow access to the doc). 2006-09-23 Mickael Remond * src/ejabberd.hrl: Updated to version 1.1.2 2006-09-23 Alexey Shchepin * src/eldap/eldap.erl: Enable the keepalive socket option (thanks to Evgeniy Khramtsov) * src/ejabberd_auth_ldap.erl: Now uses two LDAP connections (thanks to Evgeniy Khramtsov) * src/eldap/eldap_filter.erl: Bugfix (thanks to Evgeniy Khramtsov) * src/mod_vcard_ldap.erl: Likewise 2006-09-22 Mickael Remond * src/msgs/cs.msg: Added Czech translation (thanks to Milos Svasek). * src/mod_muc/mod_muc.erl: Component name is now more user friendly (thanks to Badlop). * src/mod_irc/mod_irc.erl: Likewise. * src/mod_pubsub/mod_pubsub.erl: Likewise. * src/msgs/fr.msg: updated French translation. * doc/guide.tex: Large improvements for ejabberd 1.1.2 (thanks to Sander Devrieze) * doc/version.tex: Likewise. * doc/features.tex: Likewise. * doc/Makefile: Likewise. * doc/dev.tex: Likewise. 2006-09-14 Mickael Remond * doc/guide.tex: Minor fix on index generation. 2006-09-14 Alexey Shchepin * doc/guide.tex: Updated (thanks to Evgeniy Khramtsov) * src/ejabberd_auth_ldap.erl: Better LDAP support (thanks to Evgeniy Khramtsov) * src/mod_vcard_ldap.erl: Likewise * src/eldap/eldap_filter.erl: Likewise 2006-09-11 Mickael Remond * src/odbc/mssql.sql: Removed unused fields. 2006-09-10 Alexey Shchepin * src/ejd2odbc.erl: Updated * src/mod_muc/mod_muc_log.erl: Fixed html special characters escaping, added new image buttons, chatroom titles now point to xmpp: URIs (thanks to Badlop) * src/ejabberd_listener.erl: Bugfix 2006-09-05 Mickael Remond * src/mod_muc/mod_muc.erl: It is now possible to configure the MUC room history feature. A new option has been added in ejabberd muc module configuration (history_size) to define the size of the history. 0 is used to disable the feature. * src/mod_muc/mod_muc_room.erl: Likewise. * doc/guide.tex: Likewise. 2006-09-05 Alexey Shchepin * src/ejabberd_socket.erl: All XML socket operations moved here * src/ejabberd_listener.erl: Updated * src/ejabberd_receiver.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_s2s_out.erl: Likewise * src/ejabberd_service.erl: Likewise * src/mod_shared_roster.erl: Bugfix * src/mod_roster_odbc.erl: Bugfix 2006-09-03 Mickael Remond * src/odbc/odbc_queries.erl: Support for Microsoft SQL Server as a database backend (via ODBC). * src/odbc/ejabberd_odbc.erl: Likewise. * src/odbc/mssql.sql: Likewise. * src/odbc/Makefile.in: Likewise. * src/ejabberd_auth_odbc.erl: Likewise. * src/mod_offline_odbc.erl: Likewise. * src/mod_roster_odbc.erl: Likewise. * src/mod_last_odbc.erl: Likewise. * src/configure.ac: Likewise * doc/guide.tex: Likewise. * doc/introduction.tex: Likewise. * src/odbc/pg.sql: Minor fix. 2006-08-28 Mickael Remond * Makefile.in: Fix for MacOSX compilation. * ejabberd_zlib/Makefile.in: Likewise. * mod_irc/Makefile.in: Likewise. * stringprep/Makefile.in: Likewise. * tls/Makefile.in: Likewise. * src/ejabberd.app: Updated to the current version. 2006-08-27 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Fixed logging configuring permission check 2006-08-14 Alexey Shchepin * src/ejabberd_router.erl: Now filter_packet hook works in 'global' context 2006-08-04 Alexey Shchepin * src/tls/tls_drv.c: Report OpenSSL error messages (thanks to Magnus Henoch) * src/mod_muc/mod_muc_room.erl: Use standardized MUC room configuration fields (thanks to Magnus Henoch and Andy Turner) 2006-08-02 Alexey Shchepin * src/mod_roster_odbc.erl: Bugfix 2006-07-28 Mickael Remond * 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. 2006-07-16 Mickael Remond * src/acl.erl: The server does not crash anymore on wrong acl rule. Add rule error message in log file. 2006-07-07 Mickael Remond * src/web/ejabberd_web_admin.erl: User creation form now creates the user for the current virual host only and does not require to type the hostname. * src/jlib.erl: String to JID conversion now returns an error if the JID string contains two arobases. 2006-07-06 Mickael Remond * src/mod_shared_roster.erl: Shared roster entries can now be moved or rename from a client without breaking current presence status. * src/mod_roster.erl: Likewise. * src/mod_roster_odbc.erl: Likewise. * src/mod_muc/mod_muc_room.erl: Fixed the order in which room presence packets are sent (First existing presence to new occupant, then new occupant presence to existing users. 2006-07-05 Mickael Remond * src/web/ejabberd_web_admin.erl: More flexible parsing the shared roster members list from the configuration form. * src/mod_shared_roster.erl: Deletng a shared roster group now correctly deletes its user entries. * src/mod_shared_roster.erl: The logged user (self) is now removed from the shared roster list. * src/ejabberd_auth.erl: Better handling of errors when the server for authentication is unknown. 2006-06-19 Alexey Shchepin * src/ejabberd_s2s_in.erl: Removed needless check for xmlns:db when starttls is enabled 2006-06-15 Mickael Remond * src/web/ejabberd_http_poll.erl: Bugfix: using tuple instead of a Pid to send Erlang messages in a rarely used case. 2006-06-13 Mickael Remond * src/ejabberd_auth.erl: Fixed broken multiple connection with anonymous login problem. * src/ejabberd_auth_anonymous.erl: Likewise. 2006-06-07 Mickael Remond * src/mod_pubsub/mod_pubsub.erl: Support for pubsub node creation ACL. It is now possible to limit the node creation rights using an ACL from ejabberd config file (Thanks to Christophe Romain). * doc/guide.tex: Likewise. * src/ejabberd.cfg.example. * src/mod_pubsub/mod_pubsub.erl: Discovery query on an item does no more return an "item not found error". Discovery stop correctly at the item level (Thanks to Christophe Romain). 2006-06-02 Mickael Remond * src/web/ejabberd_http_poll.erl: Messages polled between the the last client request and the polling timeout were lost. Those messages are now resent using ejabberd routing mechanisms. * src/web/ejabberd_http.erl: The web module now accepts HTTP absolute URL (used behind a proxy). This apply to HTTP polling and to the web interface (Thanks to Jean-Sebastien Pedron). 2006-05-29 Mickael Remond * src/mod_roster.erl: According to RFC3921 section 9.2, outbound subscribe presence packets must be sent, even if the user has already asked for subcription previously (subscription: none and pending: out). The mod_roster now conforms to this behaviour. * src/mod_roster_odbc.erl: Likewise. 2006-05-27 Mickael Remond * src/configure.ac: Added an optional check for krb5.h in configure. ejabberd can now be build directly on RedHat and OpenBSD. 2006-05-27 Alexey Shchepin * src/msgs/sk.msg: Slovak translation (thanks to Juraj Michalek and SkLUG) 2006-05-26 Alexey Shchepin * 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 2006-05-23 Mickael Remond * 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. 2006-05-22 Mickael Remond * src/ejabberd_sm.erl: The max_user_sessions has been moved to host configuration. * src/ejabberd.cfg.example: Likewise. * doc/guide.tex: Likewise. 2006-05-21 Mickael Remond * src/ejabberd_sm.erl: An option to limit the number of opened sessions for a given user have been added. As a default, a given user can only log in 10 times with different resources. After that, new connections replace the older ones. * src/ejabberd.cfg.example: Likewise. * doc/guide.tex: Likewise. 2006-05-15 Mickael Remond * src/web/ejabberd_http_poll.erl: Timeout disconnection were not properly handled after "active once" migration. This is now fixed. 2006-05-07 Mickael Remond * src/mod_configure.erl: Unknown tables or tables from now unused modules are ignored during restore. The restore can now be performed in such case. * src/web/ejabberd_web_admin.erl: Likewise. * src/ejabberd_admin.erl: Code refactoring. Common Mnesia database restore function. * src/ejabberd_ctl.erl: Now prints a user-friendly when trying to restore a backup from a non-existent file. * src/ejabberd_ctl.erl: Added a way to delete the older message from the offline message table. This function is only available if offline message queue is stored in Mnesia internal database. The function delete_old_messages is not available in mod_offline_odbc. 2006-05-01 Mickael Remond * src/ejabberd_ctl.erl: Unknown tables or tables from now unused modules are ignored during restore. The restore can now be performed in such case. 2006-04-28 Mickael Remond * src/ejabberd.hrl: release 1.1.1 * doc/version.tex: Likewise * doc/guide.tex: Likewise 2006-04-28 Alexey Shchepin * src/cyrsasl.erl: Bugfix: anonymous authentication was always enabled 2006-04-27 Mickael Remond * src/ejabberd_ctl.erl: The status now only returns "started" if ejabberd is started and ready to accept requests. 2006-04-24 Alexey Shchepin * doc/guide.tex: Added a documentation for max_stanza_size option 2006-04-24 Mickael Remond * src/ejabberd.hrl: Updated for version 1.1.0. 2006-04-23 Alexey Shchepin * src/configure: Removed '==' bashism (thanks to Magnus Henoch) * src/aclocal.m4: Likewise * src/ejabberd_c2s.erl: Resend messages when leaving negative presence state (thanks to Magnus Henoch) 2006-04-23 Mickael Remond * src/msgs/fr.msg: Updated * src/msgs/de.msg: Updated (thanks to Nikolaus Polak) * src/ejabberd_sm.erl: Now delivering messages to all resources with max equal priority when this priority is non-negative. * src/guide.tex: Added documentation for native database configuration. 2006-04-22 Alexey Shchepin * src/msgs/pt-br.msg: Updated (thanks to Lucius Curado) * src/xml_stream.erl: Support for stanza size limit (thanks to Igor Goryachev) * src/ejabberd_receiver.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd.cfg.example: Updated * src/ejabberd_auth.erl: Fixed try_register/3 behaviour 2006-04-20 Mickael Remond * src/ejabberd.cfg.example: Update of the example for anonymous. Removed unnecessary parameter. * src/ejabberd_auth_anonymous.erl: Removed unnecessary parameter / bugfix. * src/ejabberd_auth.erl: Bugfix: We now are forced to check is an anonymous user is log under a given user name before trying to register it. * doc/guide.tex: Updated (SASL anonymous and anonymous login). 2006-04-19 Alexey Shchepin * src/msgs/pl.msg: Updated (thanks to Andrzej Smyk) 2006-04-13 Alexey Shchepin * src/xml_stream.erl: Cleanup * src/ejabberd_service.erl: Updated to use ejabberd_receiver 2006-04-12 Alexey Shchepin * src/ejabberd_c2s.erl: Minor fix * src/ejabberd_c2s.erl: Bugfix (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) * src/msgs/nl.msg: Updated (thanks to Sander Devrieze) 2006-04-11 Alexey Shchepin * src/msgs/es.msg: Updated (thanks to Badlop) * src/ejabberd.cfg.example: Updated (thanks to Badlop) * doc/guide.tex: Updated (thanks to Badlop) 2006-04-07 Mickael Remond * src/mod_pubsub/mod_pubsub.erl: Fixed pubsub root node creation (conflict error was send on node creation) 2006-04-07 Alexey Shchepin * src/ejabberd_sm.erl: SASL Anonymous + Anonymous login support (thanks to Mickael Remond and Magnus Henoch) * src/ejabberd_c2s.erl: Likewise * src/ejabberd_auth.erl: Likewise * src/ejabberd_auth_anonymous.erl: Likewise * src/cyrsasl.erl: Likewise * src/cyrsasl_anonymous.erl: Likewise * src/ejabberd.cfg.example: Likewise 2006-04-06 Alexey Shchepin * src/expat_erl.c: Use binaries for CDATA * src/xml.erl: Likewise 2006-04-02 Alexey Shchepin * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise * src/mod_configure.erl: Updated translation strings (thanks to Sergei Golovan) * src/web/ejabberd_web_admin.erl: Likewise * src/ejabberd_s2s_in.erl: Changed a path to PKIX includes (thanks to Sergei Golovan) 2006-04-01 Mickael Remond * src/Makefile.in: Added an option to compile ejabberd with debug print-out (make ejabberd_debug=true). * src/ejabberd_c2s.erl: Added a new debug printout: We can now print the XML packets send by the server. 2006-03-31 Alexey Shchepin * src/ejabberd_c2s.erl: Bugfix 2006-03-25 Alexey Shchepin * src/ejabberd_c2s.erl: Enable zlib only over TCP 2006-03-18 Alexey Shchepin * src/ejabberd_c2s.erl: Bugfix (thanks to Sergei Golovan) 2006-03-17 Alexey Shchepin * src/mod_privacy.erl: Fixed privacy list pushing (thanks to Sergei Golovan) * src/ejabberd_c2s.erl: Likewise 2006-03-16 Mickael Remond * src/ejabberd_sm.erl: Remove unnecessary use delete_object, which can, in some context break indexes, when used on non bag table. 2006-03-16 Alexey Shchepin * src/ejabberd_c2s.erl: Bugfix 2006-03-14 Alexey Shchepin * src/xml_stream.erl: Added catching of gen_fsm:send_event errors * src/ejabberd_s2s_out.erl: Better support for multiple SRV records (thanks to Sergei Golovan) * src/mod_muc/mod_muc_log.erl: Support for chatroom logging (thanks to Badlop) * src/mod_muc/mod_muc_room.erl: Likewise * src/mod_muc/Makefile.in: Likewise * src/mod_muc/Makefile.win32: Likewise 2006-03-11 Alexey Shchepin * src/gen_iq_handler.erl: Added support for {queues, N} IQ handler type 2006-03-06 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Bugfix 2006-03-05 Alexey Shchepin * src/ejabberd_c2s.erl: Bugfix * src/ejabberd_auth_odbc.erl: Bugfix 2006-03-04 Mickael Remond * src/ejabberd_logger_h.erl: reopen-log function now rename the log file if it has not been already renamed by a logrotate process. This change allow ejabberd administrators to rotate log files on Windows (EJAB-52). 2006-02-27 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Added a interface for node updating * src/ejabberd_update.erl: Added function update_info/0 2006-02-25 Alexey Shchepin * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise * contrib/extract_translations/extract_translations.erl: Minor update (thanks to Sergei Golovan) * src/ejabberd_zlib/Makefile.win32: Zlib support for Windows build (thanks to Sergei Golovan) * src/Makefile.win32: Likewise * src/configure.erl: Likewise 2006-02-20 Alexey Shchepin * src/ejabberd_ctl.erl: Added API for virtual host specific commands, removed registered-users command * src/ejabberd_auth.erl: Added processing of registered-users command * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth_ldap.erl: Likewise * src/ejabberd_auth_odbc.erl: Likewise * src/ejabberd_app.erl: Added inititalization of ejabberd_ctl * src/ejabberd_sm.erl: Minor update 2006-02-18 Alexey Shchepin * src/mod_irc/mod_irc_connection.erl: Added handling for "%", "&" and "~" prefixes in IRC nicknames (thanks to Vladimir Kulev) * src/mod_irc/mod_irc_connection.erl: Added /msg and /ctcp commands, improved handling of channel topic and kick, mirc colors now filtered, other minor improvements (thanks to Oleg V. Motienko and Magnus Henoch) * src/mod_configure.erl: Improved strings (thanks to Sander Devrieze) * src/mod_vcard.erl: Likewise * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard_odbc.erl: Likewise * src/web/ejabberd_web_admin.erl: Likewise 2006-02-15 Alexey Shchepin * src/mod_service_log.erl: Bugfix (thanks to Badlop) * src/jd2ejd.erl: Use mod_vcard_odbc if it is loaded (thanks to Tomasz Sterna) 2006-02-14 Alexey Shchepin * src/ejabberd_sm.erl: Added a few ejabberdctl commands * src/ejabberd_ctl.erl: New interface for command registration 2006-02-13 Alexey Shchepin * src/ejabberd_ctl.erl: Partially rewritten * src/ejabberd_ctl.hrl: Definitions of exit status codes moved here 2006-02-12 Alexey Shchepin * src/mod_roster_odbc.erl: Bugfix 2006-02-08 Alexey Shchepin * src/odbc/ejabberd_odbc.erl: Reconnect on ODBC connection closing 2006-02-07 Mickael Remond * src/ejabberd_auth.erl: plugin authentication modules can now be used in the configuration file: {auth_method, module} will now use the module ejabberd_auth_module.erl for authentication. 2006-02-05 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Kick non-members when room reconfigured to be member-only or when membership is revoked in member-only room, allowed "true" and "false" in x:data forms (thanks to Sergei Golovan) * src/mod_configure.erl: Added "Host" parameter to get_form and set_form functions (thanks to Sergei Golovan) * src/ejabberd_s2s_out.erl: Bugfix * src/msgs/es.msg: Updated (thanks to Badlop) * src/web/ejabberd_web.erl: Bugfix (thanks to Badlop) * src/mod_irc/mod_irc.erl: Updated copyright dates * src/mod_muc/mod_muc.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_vcard.erl: Likewise * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard_odbc.erl: Likewise * src/web/ejabberd_web_admin.erl: Likewise 2006-02-03 Alexey Shchepin * src/ejabberd_auth_odbc.erl: Added ejabberd_odbc_sup to ejabberd supervision tree * src/web/ejabberd_http.erl: Authentication check moved to ejabberd_web.erl * src/web/ejabberd_web.erl: Likewise * src/web/Makefile.in: Added ejabberd_http.hrl dependency * src/web/ejabberd_http_poll.erl: Updated to use {active, once} socket mode * src/mod_irc/mod_irc.erl: Updated to use gen_server behaviour and ejabberd supervision tree * src/mod_irc/mod_irc_connection.erl: Likewise 2006-02-02 Mickael Remond * src/configure.ac: --prefix option can now override the default install dir * src/configure: Likewise * src/Makefile.in: Likewise 2006-02-02 Alexey Shchepin * src/mod_pubsub/mod_pubsub.erl: Updated to use gen_server behaviour and ejabberd supervision tree * src/mod_echo.erl: Likewise 2006-02-01 Alexey Shchepin * src/mod_muc/mod_muc.erl: Added a supervisor for conference room processes * src/mod_muc/mod_muc_room.erl: Likewise 2006-01-29 Alexey Shchepin * src/odbc/pg.sql: Fixed syntax error 2006-01-28 Alexey Shchepin * src/ejabberd_router.erl: Updated to use gen_server behaviour * src/ejabberd_sm.erl: Likewise * src/ejabberd_s2s.erl: Likewise * src/gen_iq_handler.erl: Likewise * src/ejabberd_sup.erl: Added supervisor for ejabberd_receiver * src/ejabberd_receiver.erl: Updated 2006-01-27 Alexey Shchepin * src/ejabberd_update.erl: Support for run-time ejabberd updating (not completed) * src/ejabberd_c2s.erl: Added 'update_info' module attribute for testing ejabberd_update 2006-01-25 Alexey Shchepin * src/ejabberd_c2s.erl: Remove top-level xmlns from incoming stanzas * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_service.erl: Likewise * src/ejabberd_c2s.erl: Better error handling for stream compression support (thanks to Sergei Golovan) 2006-01-24 Alexey Shchepin * src/mod_roster_odbc.erl: Bugfix 2006-01-23 Alexey Shchepin * src/ejabberd_sm.erl: Partially rewritten to work more efficiently and avoid race conditions * src/ejabberd_c2s.erl: Likewise 2006-01-21 Alexey Shchepin * src/mod_irc/mod_irc_connection.erl: Cleanup 2006-01-20 Mickael Remond * src/ejabberd_receiver.erl: Added new debugging trace: It is now possible to dump the XML stream received from a client (usefull for client debugging). 2006-01-19 Alexey Shchepin * src/aclocal.m4: Updated for zlib support * src/configure.ac: Likewise * src/mod_muc/mod_muc_room.erl: Weakened presence filtering, added warning in non-anonymous rooms, room destroying updated to latest JEP-0045, added a number of occupants and room name in room's disco#info reply, miscellaneous internal changes (thanks to Sergei Golovan) * src/mod_muc/mod_muc.erl: Better support for nick unregistration (thanks to Sergei Golovan) * src/ejabberd_zlib/ejabberd_zlib.erl: Zlib support (thanks to Sergei Golovan) * src/ejabberd_zlib/ejabberd_zlib_drv.c: Likewise * src/ejabberd_zlib/Makefile.in: Likewise * src/ejabberd_c2s.erl: Stream compression support (JEP-0138) * src/ejabberd_receiver.erl: Likewise * src/mod_disco.erl: Don't split node name before calling hooks (thanks to Sergei Golovan) * src/mod_configure.erl: Support for configuration using ad-hoc commands (thanks to Sergei Golovan) * src/mod_announce.erl: Support for sending announce messages using ad-hoc commands (thanks to Sergei Golovan) * src/mod_adhoc.erl: Ad-hoc support (JEP-0050) (thanks to Magnus Henoch) * src/adhoc.erl: Likewise * src/adhoc.hrl: Likewise * src/jlib.hrl: Updated (thanks to Sergei Golovan) * src/gen_mod.erl: Added function is_loaded/2 (thanks to Sergei Golovan) * src/ejabberd_service.erl: Changed error message on handshake error (thanks to Sergei Golovan) * src/ejabberd.cfg.example: Updated (thanks to Sergei Golovan) 2006-01-13 Mickael Remond * src/odbc/ejabberd_odbc.erl: underscore and percent are now only escaped in like queries. MySQL where not escaping those escaped characters in other context. * src/mod_vcard_odbc.erl: likewise. * src/odbc/mysql.sql: Fixed MySQL database creation script: Was not properly working with all MySQL version. * src/odbc/ejabberd_odbc.erl: Added a way to retry database connection connect for 5 minutes when the connection is lost. No further connection is retry after. * src/odbc/ejabberd_odbc_sup.erl: likewise. 2006-01-13 Alexey Shchepin * src/ejabberd_service.erl: Bugfix * src/ejabberd_receiver.erl: Rewritten to use {active, once} mode for socket * src/ejabberd_c2s.erl: Update * src/ejabberd_listener.erl: Likewise * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_s2s_out.erl: Likewise * src/ejabberd_service.erl: Likewise * src/shaper.erl: Likewise * src/tls/tls.erl: Likewise * src/web/ejabberd_http.erl: Likewise 2006-01-02 Mickael Remond * src/odbc/ejabberd_odbc.erl: Native MySQL support 2005-12-24 Alexey Shchepin * src/ejabberd_logger_h.erl: Speed optimizations 2005-12-22 Alexey Shchepin * src/Makefile.in: Clean results of ASN.1 compiler (thanks to Sergei Golovan) * src/win32/ejabberd.nsh: Removed (thanks to Sergei Golovan) 2005-12-22 Mickael Remond * src/odbc/ejabberd_odbc.erl: Added error message on ODBC connection to help ODBC configuration troubleshooting. 2005-12-22 Alexey Shchepin * src/Makefile.win32: Updated (thanks to Sergei Golovan) * src/configure.erl: Likewise * src/win32/CheckReqs.ini: Likewise * src/win32/CheckReqs1.ini: Likewise * src/win32/CheckReqs1H.ini: Likewise * src/win32/ejabberd.nsh: Likewise * src/win32/ejabberd.nsi: Likewise * src/odbc/ejabberd_odbc.erl: Bugfix 2005-12-21 Mickael Remond * src/odbc/mysql.sql: Database description for MySQL Database 4.1 (Max version, with Innodb) * src/ejabberd_auth_odbc.erl: MySQL ODBC support * src/mod_offline_odbc.erl: Likewise * src/mod_vcard_odbc.erl: Likewsie * src/mod_roster_odbc.erl: Likewise * src/odbc/ejabberd_odbc.erl: Likewise * src/mod_last_odbc.erl: Likewise 2005-12-16 Mickael Remond * doc/Makefile: Added helper to generate the docs (Thanks to Sander Devrieze) * doc/guide.tex: Added ejabberd 1.0.0 release notes. * doc/dev.tex: Code clean-up (Thanks to Sander Devrieze) 2005-12-16 Alexey Shchepin * doc/features.tex: Added feature sheet (Thanks to Sander Devrieze) 2005-12-14 Alexey Shchepin * src/mod_irc/iconv_erl.c: Bugfix (thanks to Tomas Janousek) 2005-12-13 Alexey Shchepin * src/win32/ejabberd.nsi: Updated (thanks to Maxim Ryazanov) * src/ejabberd.hrl: Updated version * src/ejabberd.app: Likewise * doc/version.tex: Likewise 2005-12-13 Mickael Remond * doc/release_notes_1.0.0.txt: Added preliminary version of ejabberd 1.0.0 release notes. * doc/guide.html: Generated the updated HTML version of the documentation. 2005-12-11 Alexey Shchepin * src/mod_roster.erl: Workaround for gateway subscriptions now should be enabled with --enable-roster-gateway-workaround * src/mod_roster_odbc.erl: Likewise * src/configure.ac: Likewise * src/Makefile.in: Likewise 2005-12-10 Alexey Shchepin * src/ejabberd_service.erl: Added logging of termination * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise * src/msgs/*.msg: Updated (thanks to Badlop) 2005-12-08 Mickael Remond * contribs/contrib/extract_translations/prepare-translation.sh: Small improvements. * src/msgs/fr.msg: Updated 2005-12-07 Alexey Shchepin * src/msgs/pl.msg: Fixed syntax error * src/mod_offline.erl: Don't store headline messages * src/mod_offline_odbc.erl: Likewise 2005-12-06 Alexey Shchepin * doc/guide.tex: Updated 2005-12-06 Mickael Remond * src/ejabberd.cfg.example: Updated * src/Makefile.*: Can now be build when the Erlang environment is not Erlang/OTP but the Erlang REPOS CDROM. Still compatible with standard Erlang/OTP install * aclocal.m4: Likewise * src/Makefile.*: Can now be build with Erlang debug_info with 'make debug=true' 2005-12-06 Alexey Shchepin * src/msgs/pt-br.msg: Updated (thanks to Victor Hugo dos Santos) * src/msgs/pl.msg: Updated (thanks to Andrzej Smyk) * src/msgs/sv.msg: Updated (thanks to Magnus Henoch) * src/msgs/de.msg: Updated (thanks to Patrick Dreker) 2005-11-30 Mickael Remond * doc/yozhikheader.png: Added feature sheet header (Thanks to Sander Devrieze) 2005-11-28 Mickael Remond * doc/guide.tex: Improved and updated documentation (Thanks to Sander Devrieze) * doc/guide.html: Likewise * doc/features.tex: Likewise * doc/introduction.tex: Likewise * doc/version.tex: Likewise * doc/logo.png: New logo for ejabberd doc (Thanks to Sander Devrieze) 2005-11-26 Alexey Shchepin * src/web/ejabberd_http.erl: Now web interface is compliant to XHTML 1.0 Transitional (thanks to Sander Devrieze) * src/web/ejabberd_web_admin.erl: Likewise 2005-11-25 Alexey Shchepin * doc/Makefile: Now really added 2005-11-22 Alexey Shchepin * src/mod_roster.erl: The "id" attribute of roster push packet was missed (thanks to Maxim Ryazanov) * src/mod_roster_odbc.erl: Likewise * src/web/ejabberd_web_admin.erl: Fixed encoding of user names in URLs * src/web/ejabberd_http.erl: Added url_encode function from yaws * src/ejabberd_c2s.erl: Send stream error when connection is replaced (thanks to Maxim Ryazanov) 2005-11-19 Mickael Remond * contrib/extract_translations/prepare-translation.sh: Added wrapper to extract_translation.erl (thanks to Badlop) 2005-11-19 Alexey Shchepin * src/mod_vcard.erl: Fixed xmlns in disco items replies (thanks to Maxim Ryazanov) * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard_odbc.erl: Likewise * src/tls/Makefile.in: Use CPPFLAGS (thanks to Magnus Henoch) 2005-11-17 Alexey Shchepin * src/ejabberd_s2s_in.erl: Support for dNSName certificate field and DNS name matching * src/XmppAddr.asn1: Moved here from src/tls/XmppAddr.asn1 * src/tls/XmppAddr.asn1: Likewise * src/Makefile.in: Updated * src/tls/Makefile.in: Updated 2005-11-16 Alexey Shchepin * src/odbc/ejabberd_odbc.erl: Support for mnesia-like transaction interface * src/mod_roster_odbc.erl: Updated to use ejabberd_odbc:sql_transaction/2 2005-11-12 Alexey Shchepin * src/ejabberd_s2s_out.erl: Fixed invalid behaviour upon connecting to host with invalid domain * src/ejabberd_s2s.erl: Likewise 2005-11-05 Alexey Shchepin * src/ejabberd_config.erl: Support for per host certificates * src/ejabberd_c2s.erl: Likewise * src/ejabberd_s2s_out.erl: Likewise * src/ejabberd.cfg.example: Updated * src/ejabberd_s2s_in.erl: Fixed id-on-xmppAddr processing 2005-11-03 Alexey Shchepin * src/mod_disco.erl: Fixed extra_domains option processing * src/ejabberd_s2s_out.erl: Support for STARTTLS+SASL EXTERNAL (not well-tested yet) * src/ejabberd_s2s_in.erl: Likewise * src/tls/tls.erl: Likewise * src/tls/tls_drv.c: Likewise * src/tls/XmppAddr.asn1: Likewise * src/tls/Makefile.in: Likewise 2005-10-30 Alexey Shchepin * src/mod_disco.erl: Minor fix 2005-10-29 Alexey Shchepin * src/mod_roster_odbc.erl: Bugfix 2005-10-25 Alexey Shchepin * src/tls/tls.erl: Accept {error,already_loaded} from erl_ddll:load_driver/2 * src/stringprep/stringprep.erl: Likewise * src/mod_irc/iconv.erl: Likewise * src/ejabberd_app.erl: Likewise * src/tls/tls_drv.c: Support for "connect" method * src/tls/tls.erl: Likewise * src/ejabberd_s2s_in.erl: Support for STARTTLS+Dialback * src/ejabberd_s2s_out.erl: Likewise * src/ejabberd_receiver.erl: Added a few hacks ({active,once} mode should be used instead of recv/3 call to avoid them) * src/ejabberd_config.erl: Added s2s_use_starttls and s2s_certfile options * src/ejabberd.cfg.example: Likewise 2005-10-22 Alexey Shchepin * src/ejabberd_app.erl: Try to load tls_drv at startup to avoid unloading of libssl (thanks to Brian Campbell) 2005-10-20 Alexey Shchepin * src/odbc/pg.sql: Added spool.seq field for offline messages sorting * src/mod_offline_odbc.erl: Likewise 2005-10-18 Alexey Shchepin * src/mod_roster_odbc.erl: Bugfix 2005-10-16 Alexey Shchepin * src/gen_iq_handler.erl: Bugfix 2005-10-15 Alexey Shchepin * src/ejabberd_auth_odbc.erl: Minor fix * src/odbc/ejabberd_odbc.erl: Updated pgsql support * src/mod_roster_odbc.erl: Bugfix * src/ejabberd_c2s.erl: Updated to work correctly with mod_vcard_odbc 2005-10-13 Alexey Shchepin * src/odbc/ejabberd_odbc.erl: Experimental support for pgsql library * src/ejabberd_auth_odbc.erl: Bugfix * src/mod_roster_odbc.erl: Bugfix 2005-10-07 Alexey Shchepin * src/ejd2odbc.erl: Added vCard converter * src/mod_vcard_odbc.erl: vCard support via ODBC * src/odbc/pg.sql: Updated 2005-09-18 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Updated API for better integration with J-EAI web interface * src/mod_shared_roster.erl: Now possible to specify all users on virtual host in group * src/web/ejabberd_web_admin.erl: Likewise 2005-09-15 Alexey Shchepin * src/jlib.erl: Bugfix 2005-09-10 Alexey Shchepin * src/ejd2odbc.erl: Updated 2005-09-04 Alexey Shchepin * src/mod_disco.erl: Disco publishing support (thanks to Magnus Henoch) * src/mod_disco.erl: Functions register_sm_feature and register_sm_node replaced with hooks (thanks to Sergei Golovan) * src/mod_vcard.erl: Updated * src/mod_vcard_ldap.erl: Likewise * src/mod_disco.erl: Now mod_disco doesn't depend on mod_configure (thanks to Sergei Golovan) * src/mod_configure.erl: Likewise 2005-08-29 Alexey Shchepin * src/ejd2odbc.erl: Converter from mnesia to ODBC * src/mod_offline_odbc.erl: Minor fix 2005-08-25 Alexey Shchepin * src/mod_vcard_ldap.erl: Bugfix * src/mod_vcard.erl: Bugfix 2005-08-23 Alexey Shchepin * src/ejabberd_auth_odbc.erl: Bugfix 2005-08-21 Alexey Shchepin * doc/dev.tex: Updated 2005-08-11 Alexey Shchepin * src/cyrsasl_digest.erl: Fixed challenge/response parsing (thanks to Martin Pokorny) 2005-08-07 Alexey Shchepin * src/msgs/pl.msg: Updated (thanks to Andrew Smyk) * src/web/ejabberd_web_admin.erl: Bugfix (thanks to Badlop) 2005-08-05 Alexey Shchepin * src/win32/inetrc: Added (thanks to Sergei Golovan) * src/Makefile.win32: Updated (thanks to Sergei Golovan) * src/win32/ejabberd.cfg: Likewise * src/win32/ejabberd.nsi: Likewise * doc/guide.tex: Updated * src/ejabberd.hrl: Updated version 2005-08-01 Alexey Shchepin * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise * src/msgs/es.msg: Updated (thanks to Badlop) * src/msgs/nl.msg: Updated (thanks to Sander Devrieze) 2005-08-01 Mickael Remond * (all): ejabberd-0.9.8 released * src/msgs/fr.msg: Updated 2005-07-31 Alexey Shchepin * src/ejabberd_config.erl: Added host_config option * doc/guide.tex: Updated * src/ejabberd_auth_ldap.erl: Bugfix * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise * src/msgs/de.msg: Updated (thanks to Torsten Werner) * src/web/ejabberd_web_admin.erl: Fixed CSS style sheet to be standards compliant (thanks to Sander Devrieze) 2005-07-29 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Added "Virtual Hosts" page 2005-07-27 Alexey Shchepin * src/ejabberd_router.erl: Added filter_packet hook 2005-07-26 Alexey Shchepin * src/jd2ejd.erl: Updated to work with ODBC * src/mod_roster_odbc.erl: Updated 2005-07-22 Alexey Shchepin * src/mod_offline_odbc.erl: Bugfix * src/mod_last_odbc.erl: Bugfix 2005-07-20 Alexey Shchepin * src/mod_pubsub/mod_pubsub.erl: Updated to J-EAI version 2005-07-15 Alexey Shchepin * src/acl.erl: Slightly changed "access" option processing * src/mod_disco.erl: Fixed processing of host features and extra_domains option * src/ejabberd_c2s.erl: Processing of jabber:iq:register totally moved to mod_register.erl (thanks to Sergei Golovan) * src/mod_register.erl: Likewise * src/win32/ejabberd.nsi: Added two pictures in installer (thanks to Maxim Ryazanov) * src/win32/ejabberd_header.bmp: Likewise * src/win32/ejabberd_intro.bmp: Likewise * src/web/ejabberd_web_admin.erl: Fixed spelling of word "authentication" * src/ejabberd_c2s.erl: Likewise 2005-07-13 Alexey Shchepin * src/mod_register.erl: Bugfix * src/mod_vcard.erl: Bugfix * src/ejabberd_app.erl: Updated to allow different authentication methods for different virtual hosts * src/ejabberd_auth.erl: Likewise * src/ejabberd_auth_external.erl: Likewise * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth_ldap.erl: Likewise * src/ejabberd_auth_odbc.erl: Likewise * src/cyrsasl.erl: Likewise * src/cyrsasl_digest.erl: Likewise * src/cyrsasl_plain.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/ejabberd_config.erl: Likewise * src/extauth.erl: Likewise * src/mod_last_odbc.erl: Likewise * src/mod_offline_odbc.erl: Likewise * src/mod_roster_odbc.erl: Likewise * src/odbc/ejabberd_odbc.erl: Likewise * src/odbc/ejabberd_odbc_sup.erl: Likewise 2005-07-03 Alexey Shchepin * src/ejabberd_app.erl: Bugfix * src/ejabberd_config.erl: Bugfix 2005-06-30 Alexey Shchepin * src/mod_offline.erl: Bugfix 2005-06-20 Alexey Shchepin * (all): Enhanced virtual hosting support 2005-05-28 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Bugfix 2005-05-25 Alexey Shchepin * src/msgs/pt-br.msg: New Brazilian Portuguese translation (thanks to Felipe Brito Vasconcellos) 2005-05-23 Alexey Shchepin * (all): ejabberd-0.9.1 released * src/msgs/fr.msg: Updated (thanks to Mickael Remond) * src/odbc/Makefile.in: Added * src/configure.ac: Updated for odbc support * src/Makefile.in: Likewise * src/aclocal.m4: Bugfix * src/mod_last_odbc.erl: Added store_last_info/4 function (thanks to Sergei Golovan) * src/mod_last.erl: Likewise * src/jd2ejd.erl: Support for exporting iq:last information, better error handling (thanks to Sergei Golovan) * src/ejabberd_ctl.erl: Added "import-file" and "import-dir" commands (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) * doc/dev.tex: Likewise * doc/disco.png: Likewise * doc/discorus.png: Likewise * doc/webadmin.png: Likewise * doc/webadminru.png: Likewise * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise * src/web/ejabberd_web_admin.erl: Updated CSS, added modules management, fixed bug with configuring of listened ports on different nodes (thanks to Sergei Golovan) * src/gen_mod.erl: Added function loaded_modules_with_opts/0, new API for module stopping (thanks to Sergei Golovan) * src/mod_muc/mod_muc.erl: Moved a process name to a macros, updated module stopping (thanks to Sergei Golovan) * src/mod_irc/mod_irc.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_announce.erl: Updated module stopping (thanks to Sergei Golovan) * src/mod_echo.erl: Likewise * src/mod_offline.erl: Likewise * src/web/ejabberd_http.erl: "Connection:" header value now matched case-insensitive, and returned to client, replaced duplicate is_space($\r) with is_space($\t) (thanks to Maxim Ryazanov) 2005-05-21 Alexey Shchepin * src/mod_pubsub/mod_pubsub.erl: Fixed XML element name for pubsub#event namespace (thanks to Magnus Henoch) * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise * src/msgs/es.msg: Updated (thanks to Badlop) 2005-05-19 Alexey Shchepin * src/mod_pubsub/mod_pubsub.erl: Now possible to subscribe to a pubsub node with a JID that includes a resource (thanks to Martijn van Beers) * src/stringprep/uni_parse2.tcl: Bugfix * src/stringprep/stringprep_drv.c: Likewise * src/stringprep/uni_norm.c: Regenerated 2005-05-18 Alexey Shchepin * src/mod_irc/mod_irc_connection.erl: Added support for WHOIS requests and reply to USERINFO (thanks to Oleg V. Motienko) 2005-05-17 Alexey Shchepin * src/stringprep/stringprep_drv.c: Bugfix 2005-05-16 Alexey Shchepin * src/win32/ejabberd.cfg: Updated (thanks to Sergei Golovan) * src/odbc/Makefile.win32: Added (thanks to Sergei Golovan) * src/Makefile.win32: Updated (thanks to Sergei Golovan) 2005-05-15 Alexey Shchepin * src/jd2ejd.erl: Fixed private xml setting * src/mod_last.erl: Bugfix * src/mod_last_odbc.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Fixed service stopping 2005-05-09 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Fixed bug with storing affiliations of invited users in members-only room (thanks to Sergei Golovan) * src/ejabberd_c2s.erl: Fixed starttls_required behaviour for legacy connections (thanks to Brian Campbell) * src/web/ejabberd_web_admin.erl: Images now specified via CSS, design slightly updated, added last activity statistics (thanks to Sergei Golovan) 2005-05-07 Alexey Shchepin * src/stringprep/stringprep_drv.c: Added check for bidi * src/stringprep/uni_parse.tcl: Now handle all Unicode code points up to U+10FFFF * src/stringprep/uni_parse2.tcl: Likewise * src/stringprep/uni_data.c: Regenerated * src/stringprep/uni_norm.c: Likewise 2005-05-06 Alexey Shchepin * src/stringprep/uni_norm.c: Regenerated with Unicode 3.2 tables as required by RFC3454 * src/stringprep/uni_parse2.tcl: Bugfixes * src/stringprep/stringprep_drv.c: Bugfixes, added hangul composition 2005-05-05 Mickael Remond * src/msgs/fr.msg: Added missing version 0.9 fields and removed unused ones. 2005-05-04 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Store ban reasons for outcast items, updated affiliation matching rules to latest JEP-0045 2005-05-02 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Updated changing roles and affiliations tables to latest JEP-0045 2005-05-01 Mickael Remond * src/msgs/fr.msg: Updated 2005-05-01 Alexey Shchepin * src/msgs/sw.msg: Renamed to sv.msg * src/msgs/sv.msg: Likewise * src/msgs/pl.msg: Updated (thanks to Andrew Smyk) * contrib/extract_translations/README: Better phrasing (thanks to Sergei Golovan) * contrib/extract_translations/extract_translations.erl: Fix to avoid duplication of lines (thanks to Sergei Golovan) * src/msgs/sw.msg: New Swedish translation (thanks to Magnus Henoch) * src/msgs/pt.msg: New Portuguese translation (thanks to iceburn) * src/msgs/es.msg: Updated (thanks to Badlop) * src/msgs/nl.msg: Updated (thanks to Sander Devrieze) 2005-04-27 Alexey Shchepin * src/ejabberd_auth_ldap.erl: Added listing of users support * src/ejabberd.cfg.example: Updated LDAP options * src/ejabberd_ctl.erl: Better spelling, now prints full file paths, fixed checking of mnesia:install_fallback result, now "dump" command dumps only persistent tables * contrib/extract_translations/: A tool for extracting of translation strings from ejabberd code (thanks to Sergei Golovan) 2005-04-26 Alexey Shchepin * src/mod_vcard_ldap.erl: Bugfix (thanks to Mickael Remond) 2005-04-24 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Added translation to submit button and "shared roster groups" header (thanks to iceburn and Sergei Golovan) * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/uk.msg: Likewise * src/mod_muc/mod_muc_room.erl: Minor update to simplify translation (thanks to Sergei Golovan) * src/tls/tls_drv.c: Reverted previous patch 2005-04-22 Alexey Shchepin * doc/guide.tex: Added mod_shared_roster documentation * src/ejabberd.hrl: Updated version 2005-04-21 Alexey Shchepin * src/jd2ejd.erl: Bugfix 2005-04-20 Alexey Shchepin * src/ejabberd_auth.erl: Added check for domain of registered user * src/web/ejabberd_web_admin.erl: Fixed user registration via web interface, fixed path to user's offline messages (thanks to Mickael Remond) * src/mod_disco.erl: Fixed domain listing when one virtual host is a subdomain of another 2005-04-18 Alexey Shchepin * (all): ejabberd-0.9 released * src/web/ejabberd_web_admin.erl: Added link to shared roster page * src/odbc/ejabberd_odbc.erl: ODBC connection string can be specified via odbc_server option now * src/ejabberd.cfg.example: Added ODBC usage example * doc/guide.tex: Updated * src/msgs/pl.msg: New Polish translation (thanks to Andrew Smyk) 2005-04-17 Alexey Shchepin * (all): Merged virtual hosting support 2005-04-09 Alexey Shchepin * src/ejabberd_c2s.erl: Send new id for each new stream inside one session (thanks to Maxim Ryazanov) * src/tls/tls_drv.c: Now reads all certificates from certificate file instead of reading only first one (thanks to Karl-Johan Karlsson) 2005-04-06 Alexey Shchepin * examples/transport-configs/init-scripts/jabber-gg-transport: Fixed typo (thanks to Sander Devrieze) 2005-04-05 Alexey Shchepin * examples/transport-configs/configs/msn-transport.xml: Fixed typo (thanks to Sander Devrieze) 2005-04-02 Alexey Shchepin * examples/transport-configs/: Updated (thanks to Sander Devrieze) 2005-03-31 Alexey Shchepin * src/ejabberd_ctl.erl: Bugfix 2005-03-17 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Bugfix 2005-03-15 Alexey Shchepin * src/ejabberd_sm.erl: Bugfix 2005-03-12 Alexey Shchepin * src/ejabberd_router.erl: Bugfix 2005-01-14 Alexey Shchepin * src/mod_irc/mod_irc_connection.erl: Added filtering of quit status 2005-01-04 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Copyright update * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_muc/mod_muc.erl: Likewise * src/mod_irc/mod_irc.erl: Likewise 2004-12-30 Alexey Shchepin * src/odbc/ejabberd_odbc.erl: Load-balance ODBC requests between several connections * src/odbc/ejabberd_odbc_sup.erl: Supervisor for ODBC connections * src/mod_muc/mod_muc_room.erl: Added missed type='form' attribute in room configuration response (thanks to Badlop) 2004-12-19 Alexey Shchepin * src/mod_roster_odbc.erl: Roster support via ODBC (not completed) * src/ejabberd_auth_internal.erl: Added remove_user hook * src/ejabberd_auth_odbc.erl: Likewise * src/mod_roster.erl: Use remove_user hook * src/mod_offline.erl: Likewise * src/mod_offline_odbc.erl: Likewise * src/mod_last.erl: Likewise * src/mod_last_odbc.erl: Likewise * src/mod_vcard.erl: Likewise * src/mod_private.erl: Likewise * src/mod_roster.erl: Added hooks for functions exported by mod_roster * src/ejabberd_c2s.erl: Likewise * src/ejabberd_sm.erl: Likewise * src/mod_privacy.erl: Likewise * src/mod_last.erl: Likewise * src/mod_last_odbc.erl: Likewise 2004-12-14 Alexey Shchepin * src/ejabberd_sm.erl: Updated missed message passing from previous patch 2004-12-13 Alexey Shchepin * src/odbc/pg.sql: DB creation script for postgres * src/odbc/ejabberd_odbc.erl: Experimental support for ODBC * src/mod_last_odbc.erl: Likewise * src/mod_offline_odbc.erl: Likewise * src/ejabberd_auth_odbc.erl: Likewise * src/ejabberd_auth.erl: Likewise 2004-12-12 Alexey Shchepin * src/mod_stats.erl: Minor optimizations * src/ejabberd_sm.erl: Added unset_presence_hook * src/mod_last.erl: Use unset_presence_hook instead of direct call * src/ejabberd_auth.erl: Splitted into ejabberd_auth_internal.erl, ejabberd_auth_ldap.erl, and ejabberd_auth_external.erl, * src/ejabberd_auth_internal.erl: Likewise * src/ejabberd_auth_ldap.erl: Likewise * src/ejabberd_auth_external.erl: Likewise 2004-12-05 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Changed type of password field to "password" * src/jlib.hrl: More stream error defines (thanks to Sergei Golovan) * src/ejabberd_c2s.erl: Support for starttls_required option (thanks to Sergei Golovan) * src/mod_muc/mod_muc_room.erl: Fixed mistake in case condition (thanks to Sergei Golovan) * src/xml_stream.erl: Added function parse_element/1 * src/expat_erl.c: Added PARSE_FINAL_COMMAND 2004-12-03 Alexey Shchepin * src/ejabberd_listener.erl: Enable keepalive option * src/xml_stream.erl: Added API for managing xml streams without creating process * src/ejabberd_receiver.erl: Use this API, now 2 processes are created per C2S connection 2004-12-01 Alexey Shchepin * src/expat_erl.c: Now uses port control instead of port output * src/xml_stream.erl: Likewise 2004-11-30 Alexey Shchepin * src/stringprep/stringprep.erl: Now register port instead of storing it in ets table 2004-11-28 Alexey Shchepin * doc/guide.tex: Updated URLs to R10C release 2004-11-20 Alexey Shchepin * src/mod_vcard.erl: Added missed index 2004-11-08 Alexey Shchepin * doc/guide.tex: Updated (thanks to Sander Devrieze) 2004-11-05 Alexey Shchepin * src/aclocal.m4: Fixed headers detecting in AM_WITH_OPENSSL (thanks to Leif Johansson) * src/ejabberd_auth.erl: Added support for ldap_rootdn and ldap_password options (thanks to Stefan de Konink) * src/mod_vcard_ldap.erl: Likewise * src/ejabberd_router.erl: Now possible to route packet via function call instead of message sending * src/ejabberd_sm.erl: Added function route/3, use it in route table * src/ejabberd_local.erl: Likewise * src/ejabberd_s2s.erl: Likewise 2004-10-23 Alexey Shchepin * (all): Fixed spelling of word "authentication" * src/*/Makefile.in: Replaced erlc with @ERLC@ 2004-10-15 Alexey Shchepin * src/ejabberd_s2s.erl: Added remove_connection/1 * src/ejabberd_s2s_out.erl: Use ejabberd_s2s:remove_connection/1 * src/ejabberd_s2s_in.erl: Minor cleanup * examples/transport-configs/: Transport config examples (thanks to Sander Devrieze) * src/msgs/de.msg: German translation (thanks to Marina Hahn) 2004-10-12 Alexey Shchepin * src/win32/: Updated (thanks to Sergei Golovan) * src/msgs/es.msg: Updated (thanks to Badlop) * src/mod_irc/iconv_erl.c: Bugfix (thanks to Jacek Konieczny) 2004-10-10 Alexey Shchepin * (all): ejabberd-0.7.5 released * src/tls/Makefile.win32: Added (thanks to Sergei Golovan) * src/win32/: Updated (thanks to Sergei Golovan) 2004-10-09 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Fixed user listing * src/msgs/uk.msg: Updated (thanks to Sergei Golovan) * src/msgs/nl.msg: Updated (thanks to Sander Devrieze) * src/msgs/ua.msg: Renamed to uk.msg * COPYING: Added permission to link with OpenSSL 2004-10-08 Alexey Shchepin * src/msgs/ua.msg: Updated (thanks to Sergei Golovan) * src/mod_muc/mod_muc_room.erl: Fixed room destroying * src/ejabberd.cfg.example: Updated * src/ejabberd_sm.erl: Fixed message routing when all resources have negative priority * src/msgs/*.msg: Updated (thanks to Sergei Golovan) * src/web/ejabberd_web_admin.erl: Table titles now bold (thanks to Sergei Golovan) 2004-10-06 Alexey Shchepin * doc/guide.tex: Updated * src/ejabberd_s2s_out.erl: Fixed socket closing condition 2004-10-05 Alexey Shchepin * src/web/ejabberd_http_poll.erl: Properly handle bad requests * src/web/ejabberd_web_admin.erl: Ported features from J-EAI 2004-09-30 Alexey Shchepin * src/web/ejabberd_http.erl: Fixed processing of POST body for HTTP Polling * src/web/ejabberd_http.erl: Support for "Connection" HTTP header (thanks to Sergei Golovan) * src/translate.erl: Much better handling of xml:lang (thanks to Sergei Golovan) 2004-09-29 Alexey Shchepin * src/ejabberd_listener.erl: Check result of controlling_process * src/web/ejabberd_http.erl: Bugfix 2004-09-27 Alexey Shchepin * src/Makefile.in: Updated (thanks to Badlop) 2004-09-26 Alexey Shchepin * src/aclocal.m4: Better expat and openssl detection (thanks to Anton Vanin) * src/**/Makefile.in: Updated (thanks to Anton Vanin) * src/configure.ac: Likewise 2004-09-25 Alexey Shchepin * src/jlib.hrl: Added namespace for iq-register stream feature * src/ejabberd_c2s.erl: Send iq-register feature * src/ejabberd_config.erl: Config file can be configured via environment variable (thanks to Mickael Remond) * src/web/ejabberd_http.erl: Added SSL support (thanks to Sergei Golovan) * src/msgs/*.msg: Updated (thanks to Sergei Golovan) * src/jlib.hrl: Updated error codes (thanks to Sergei Golovan) * src/ejabberd_c2s.erl: Likewise 2004-09-17 Alexey Shchepin * src/mod_muc/mod_muc_room.erl: Send password in room invitation (thanks to Sergei Golovan) * src/mod_disco.erl: Added registration of sm features and nodes (thanks to Sergei Golovan) * src/mod_vcard.erl: Register vcard-temp feature (thanks to Sergei Golovan) * src/jlib.erl: Added functions now_to_utc_string/1, now_to_local_string/1, and datetime_string_to_timestamp/1 (thanks to Sergei Golovan) * src/mod_muc/mod_muc_room.erl: Use time parsing functions from jlib (thanks to Sergei Golovan) 2004-09-16 Alexey Shchepin * ejabberd/src/mod_pubsub/mod_pubsub.erl: Bugfix (thanks to Mickael Remond) 2004-09-15 Alexey Shchepin * src/mod_pubsub/mod_pubsub.erl: Bugfix 2004-09-10 Alexey Shchepin * tools/ejabberdctl: Added call to "exec" (thanks to Sergei Golovan) * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/mod_vcard.erl: Support for searching of prefix substring and limiting of result items (thanks to Sergei Golovan) * src/mod_offline.erl: Support for message expiration (JEP-0023) (thanks to Sergei Golovan) * src/jlib.hrl: Added NS_EXPIRE macros (thanks to Sergei Golovan) * src/ejabberd_logger_h.erl: Added reopen_log/0 (thanks to Sergei Golovan) * src/ejabberd_ctl.erl: Added return codes, updated "reopen-log" command, added "delete-expired-messages" and "status" commands (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) 2004-09-04 Alexey Shchepin * src/mod_roster.erl: Removed useless transactions 2004-08-28 Alexey Shchepin * doc/guide.tex: Fix (thanks to Sander Devrieze) 2004-08-27 Alexey Shchepin * src/xml_stream.erl: Few optimizations 2004-08-24 Alexey Shchepin * src/mod_service_log.erl: Support for logging of user packets via external service (e.g. bandersnatch) * doc/guide.tex: Updated 2004-08-23 Alexey Shchepin * src/mod_offline.erl: Added entire table locking on large message queue * src/ejabberd_sm.erl: Added offline_subscription_hook * src/mod_offline.erl: Use offline_subscription_hook * src/configure.erl: Updated (thanks to Sergei Golovan) * src/Makefile.win32: Likewise * src/tls/Makefile.win32: Likewise * src/win32/: Likewise * src/mod_announce.erl: Added announce to all users (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) 2004-08-14 Alexey Shchepin * src/msgs/nl.msg: Updated (thanks to Sander Devrieze) * src/web/ejabberd_http_poll.erl: Fixed sending of Set-Cookie header 2004-08-12 Alexey Shchepin * src/ejabberd_c2s.erl: Bugfix in resend_offline_messages/1 * src/mod_announce.erl: New module to manage announce messages (thanks to Sergei Golovan) * src/ejabberd_local.erl: Moved processing of announce messages to mod_announce (thanks to Sergei Golovan) * src/ejabberd_c2s.erl: Added several hooks * src/ejabberd_hooks.erl: Fixed run_fold (thanks to Sergei Golovan) * src/ejabberd.cfg.example: Updated (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) 2004-08-08 Alexey Shchepin * src/ejabberd_c2s.erl: Use resend_offline_messages_hook to fetch offline messages * src/mod_offline.erl: Likewise * src/mod_offline.erl: Added table locking in remove_old_messages/1 * src/ejabberd_sm.erl: Use offline_message_hook to store offline messages * src/mod_offline.erl: Likewise * src/ejabberd_hooks.erl: Hooks support * src/ejabberd_sup.erl: Added ejabberd_hooks * doc/guide.tex: Updated * src/ejabberd.cfg.example: Updated * src/ejabberd_c2s.erl: Changed TLS options (thanks to Sergei Golovan) 2004-08-05 Alexey Shchepin * src/aclocal.m4: Updated to check for openssl library (thanks to AV) * src/configure.ac: Likewise * src/configure: Likewise * src/Makefile.in: Likewise * src/tls/Makefile.in: Likewise 2004-08-03 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Added user's roster page * src/mod_irc/mod_irc_connection.erl: Bugfix 2004-08-01 Alexey Shchepin * src/tls/tls.erl: Added recv_data/2 function * src/jlib.erl: Added NS_TLS macro * src/ejabberd_receiver.erl: Support for STARTTLS * src/ejabberd_c2s.erl: Likewise 2004-07-30 Alexey Shchepin * examples/extauth/check_pass_null.pl: A reference "null" implementation of external authentication script (thanks to Leif Johansson) * src/extauth.erl: Support for external authentication (thanks to Leif Johansson) * src/ejabberd_auth.erl: Likewise * src/mod_vcard_ldap.erl: A drop-in replacement for mod_vcard.erl which uses ldap for JUD and vCard (thanks to Leif Johansson) 2004-07-28 Alexey Shchepin * src/tls/tls_drv.c: Added freeing of SSL stuff * src/xml_stream.erl: Added start/2 function * src/ejabberd_receiver.erl: Now using xml_stream:start/2 2004-07-27 Alexey Shchepin * src/ejabberd_c2s.erl: Support for TLS library (not completed) * src/tls/tls_drv.c: Updated to return binaries instead of lists * src/tls/tls.erl: Likewise 2004-07-26 Alexey Shchepin * src/tls/tls.erl: Updated 2004-07-25 Alexey Shchepin * src/tls/: Library for TLS support (not completed) * src/ejabberd_auth.erl: Now uses two LDAP connections * src/ejabberd_c2s.erl: Return resource on get_presence request (thanks to Mickael Remond) * src/mod_configure2.erl: Bugfix (thanks to Sergei Golovan) * src/msgs/ua.msg: New Ukrainian translation (thanks to usercard) * src/msgs/nl.msg: Updated (thanks to Sander Devrieze) 2004-07-23 Alexey Shchepin * src/eldap/eldap.erl: Bugfix 2004-07-13 Alexey Shchepin * (all): ejabberd-0.7 released * src/web/ejabberd_web_admin.erl: Better i18n support (thanks to Sergei Golovan) * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/fr.msg: Added missed entries (thanks to Sergei Golovan) * src/msgs/nl.msg: Likewise * src/msgs/es.msg: New spanish translation (thanks to Badlop) 2004-07-11 Alexey Shchepin * src/mod_last.erl: Supprot for storing status from latest unavailable presence (thanks to Sergei Golovan) * src/ejabberd_sm.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/mod_vcard.erl: Minor update (thanks to Sergei Golovan) * src/mod_register.erl: Added "access" option (thanks to Sergei Golovan) * src/mod_irc/mod_irc.erl: Likewise * src/ejabberd.cfg.example: Updated * src/win32/ejabberd.cfg: Likewise * src/mod_privacy.erl: Fixed module stopping (thanks to Sergei Golovan) * src/mod_private.erl: Likewise * src/gen_mod.erl: Added function get_module_opt/3 (thanks to Sergei Golovan) * src/ejabberd_local.erl: Minor fix (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) 2004-07-10 Alexey Shchepin * src/mod_roster.erl: Removed superfluous include_lib line * doc/guide.tex: Updated * src/msgs/fr.msg: Updated (thanks to Sergei Golovan) * src/mod_irc/mod_irc.erl: Added handler for disco items requests (thanks to Sergei Golovan) * src/mod_vcard.erl: Added option for JUD disabling (thanks to Sergei Golovan) * src/mod_configure2.erl: Fixed module stopping (thanks to Sergei Golovan) * src/mod_last.erl: Likewise * src/mod_privacy.erl: Likewise * src/mod_register.erl: Likewise * src/mod_roster.erl: Likewise * src/mod_vcard.erl: Likewise * src/jd2ejd.erl: Added emergency catches (thanks to Sergei Golovan) * src/mod_last.erl: Likewise * src/ejabberd_sm.erl: Removed needless call to mod_disco:unregister_feature (thanks to Sergei Golovan) * src/ejabberd_local.erl: Better support for mod_disco (thanks to Sergei Golovan) * src/mod_disco.erl: Likewise * src/translate.erl: Suport for "default language" option (thanks to Sergei Golovan) * src/ejabberd_config.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/ejabberd.hrl: Added 'MYLANG' macros * src/ejabberd.cfg.example: Updated (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) 2004-07-09 Alexey Shchepin * src/win32/ejabberd.cfg: Updated (thanks to Sergei Golovan) 2004-07-07 Alexey Shchepin * src/Makefile.win32: Updated (thanks to Sergei Golovan) * src/Makefile.in: Added installation of ejabberd.cfg (thanks to Sergei Golovan) * src/web/ejabberd_http.erl: Fixed support for HTTP/1.0 clients 2004-07-06 Alexey Shchepin * doc/guide.tex: Updated (thanks to Sergei Golovan) * src/ejabberd_auth.erl: Minor fix * src/ejabberd_c2s.erl: Fixed sending of presence to own resources 2004-06-18 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Added configuration of listened ports * src/ejabberd_listener.erl: Added API for configuration of port listeners * src/web/ejabberd_web_admin.erl: Fixed "Stop" button on node management page 2004-05-22 Alexey Shchepin * src/msgs/nl.msg: Dutch translation (thanks to Sander Devrieze) * src/web/ejabberd_http.erl: Added options for enabling HTTP polling and admin interface * src/web/ejabberd_web.erl: Likewise * src/ejabberd.cfg.example: Updated * src/web/ejabberd_web_admin.erl: Updated * doc/guide.tex: Updated 2004-05-17 Alexey Shchepin * src/mod_muc/mod_muc.erl: Added access rules for using serveice and creating rooms (thanks to Sergei Golovan) * src/win32/ejabberd.nsi: Updated (thanks to Sergei Golovan) * src/win32/CheckUserH.ini: Likewise * src/translate.erl: Search translations in priv_dir instead of lib_dir (thanks to Sergei Golovan) * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/ejabberd.cfg.example: Updated (thanks to Sergei Golovan) * src/**/Makefile.in: Updated (thanks to Sergei Golovan) * src/**/Makefile.win32: Likewise 2004-05-16 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Updated 2004-05-14 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Updated 2004-05-09 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Updated * src/ejabberd_listener.erl: Added API for adding/removing listeners 2004-05-08 Alexey Shchepin * doc/guide.tex: Updated * src/ejabberd_listener.erl: Now possible to specify interface on which one socket will be listened, also added another way to specify SSL options * src/ejabberd.cfg.example: Updated 2004-05-07 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Updated (thanks to Andrey Zamaraev) 2004-05-05 Alexey Shchepin * src/ejabberd_ctl.erl: Added command for listing all registered users * src/ejabberd_ctl.erl: Bugfix, support for text-load and restore (thanks to Leif Johansson) 2004-05-04 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Updated 2004-05-01 Alexey Shchepin * src/web/ejabberd_http.erl: 'Accept-Language' header support * src/web/ejabberd_web_admin.erl: Likewise * src/msgs/ru.msg: Updated * src/mod_muc/mod_muc_room.erl: Send status code "201" on room creation 2004-04-27 Alexey Shchepin * src/translate.erl: Search translations directory in priv_dir instead of lib_dir (thanks to Sergei Golovan) * src/**/Makefile.in: Updated (thanks to Sergei Golovan) * src/win32/: Win32 installer stuff (thanks to Sergei Golovan) * src/**/Makefile.win32: Updated (thanks to Sergei Golovan) * src/configure.bat: Likewise * src/configure.erl: Likewise * doc/guide.tex: Updated (thanks to Sergei Golovan) 2004-04-26 Alexey Shchepin * src/web/ejabberd_web_admin.erl: Better design for administration interface (not completed) (thanks to Andrey Zamaraev) * src/web/ejabberd_http.erl: Updated * src/web/ejabberd_web.erl: Likewise 2004-04-17 Alexey Shchepin * src/web/ejabberd_http.erl: Increased receive buffer * src/mod_irc/mod_irc_connection.erl: Support for "/quote" command 2004-04-15 Alexey Shchepin * src/ejabberd.erl: Added searching of files in code:priv_lib (thanks to Sergei Golovan) * src/translate.erl: Likewise * src/ejabberd_app.erl: Added "log_path" configuration parameter (thanks to Sergei Golovan) * src/**/Makefile.win32: Updated (thanks to Sergei Golovan) * src/**/*.c: Updated (thanks to Sergei Golovan) * src/configure.erl: Added writing of version to Makefile.inc (thanks to Sergei Golovan) * doc/guide.tex: Updated link to expat (thanks to Sergei Golovan) 2004-04-10 Alexey Shchepin * src/idna.erl: Support for IDNA (RFC3490) * src/ejabberd_s2s_out.erl: Likewise 2004-04-03 Alexey Shchepin * src/xml.erl: element_to_string/1 and crypt/1 now returns deep list * src/mod_muc/mod_muc_room.erl (add_message_to_history): Replaced string:len with lists:flatlength 2004-03-21 Alexey Shchepin * (all): Updated win32 stuff (thanks to Sergei Golovan) * src/web/ejabberd_web.erl: Added interface for access rules configuration 2004-03-20 Alexey Shchepin * doc/guide.tex: Updated * src/web/ejabberd_web.erl: Updated * src/web/ejabberd_http.erl: Bugfix 2004-03-16 Alexey Shchepin * src/mod_roster.erl: Bugfix * src/ejabberd_s2s.erl: More verbose error handling 2004-03-15 Alexey Shchepin * src/web/ejabberd_web.erl: Minor update 2004-03-14 Alexey Shchepin * src/web/ejabberd_web.erl: Added interface for users listsing and statistics 2004-03-13 Alexey Shchepin * src/web/ejabberd_web.erl: New interface for ACLs editing * src/web/ejabberd_http_poll.erl: Fixed "Content-Type" header, "Set-Cookie" is included only in first response in session, added missed behaviour definition * src/web/ejabberd_http.erl: "Content-Type" header now can be changed 2004-03-12 Alexey Shchepin * src/web/ejabberd_web.erl: Experiments with web-interface * src/configure.ac: Updated * src/Makefile.in: Likewise 2004-03-10 Alexey Shchepin * src/web/ejabberd_http.erl: Removed debugging output * src/ejabberd_c2s.erl: Fixed processing of get_presence request (thanks to Mickael Remond) 2004-03-08 Alexey Shchepin * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/mod_muc/mod_muc_room.erl: Now private conferences are visible to admins and owners of this conference (thanks to Sergei Golovan) * src/mod_muc/mod_muc.erl: More xml:lang support (thanks to Sergei Golovan) * src/mod_vcard.erl: Better processing of EMAIL tag (thanks to Sergei Golovan) * src/ejabberd_s2s_out.erl: Added "catch" to "open_socket" (thanks to Sergei Golovan) 2004-03-07 Alexey Shchepin * src/web/ejabberd_http_poll.erl: Completed 2004-03-06 Alexey Shchepin * src/web/: Support for HTTP Polling (JEP-0025) (almost complete) 2004-03-04 Alexey Shchepin * src/web/: Updated 2004-03-03 Alexey Shchepin * src/web/: Minor update 2004-03-02 Alexey Shchepin * src/web/: Small HTTP server and admin web-interface to ejabberd (not completed yet) * src/ejabberd_sup.erl: Added HTTP processes supervisor * src/ejabberd_c2s.erl: Added API to ask presence (thanks to Mickael Remond) * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/mod_muc/mod_muc_room.erl: Updated date parser (thanks to Sergei Golovan) * src/mod_muc/mod_muc.erl: Added error descriptions (thanks to Sergei Golovan) * src/mod_muc/mod_muc_room.erl: Likewise * src/mod_vcard.erl: Fixed vCard tag (thanks to Sergei Golovan) * src/mod_irc/mod_irc.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/jlib.hrl: Added macros for errors with (thanks to Sergei Golovan) 2004-02-26 Alexey Shchepin * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/mod_muc/mod_muc_room.erl: Updated error codes, removed trailing "-" in history. updated subject sending, added in configuration form (thanks to Sergei Golovan) * src/mod_irc/mod_irc.erl: Added vCard, ejabberd:configure replaced with jabber:iq:register (thanks to Sergei Golovan) * src/mod_configure.erl: Updated "xml:lang" usage, updated some messages (thanks to Sergei Golovan) * src/mod_configure2.erl: Likewise * src/mod_disco.erl: Likewise * src/mod_register.erl: Likewise * src/mod_vcard.erl: Likewise * src/mod_irc/mod_irc.erl: Likewise * src/mod_muc/mod_muc.erl: Likewise * src/mod_muc/mod_muc_room.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/jlib.hrl: Added "lang" field in "iq" record (thanks to Sergei Golovan) * src/jlib.erl: Likewise * src/ejabberd_c2s.erl: Updated to latest JEP-0078 (thanks to Sergei Golovan) 2004-02-18 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_sm.erl: Bugfix 2004-02-15 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc_room.erl: Support for history management (thanks to Sergei Golovan) * src/mod_stats.erl: Updated error codes (thanks to Sergei Golovan) * src/mod_irc/mod_irc.erl: Likewise * src/mod_configure.erl: "jabber:iq:data" replaced with "ejabberd:config" namespace (thanks to Sergei Golovan) * src/mod_disco.erl: Likewise 2004-02-12 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Added <session/> to stream features 2004-02-10 Alexey Shchepin <alexey@sevcom.net> * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/mod_irc/mod_irc.erl: Now uses "ejabberd:config" namespace (thanks to Sergei Golovan) * src/mod_disco.erl: Fixed disco category and type (thanks to Sergei Golovan) * src/mod_pubsub/mod_pubsub.erl: Likewise * src/jlib.hrl: Added "ejabberd:config" namespace (thanks to Sergei Golovan) 2004-01-27 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_ctl.erl: Added command for log reopening 2004-01-18 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_ctl.erl: Added commands for backup processing * src/ejabberd_c2s.erl: Added processing of xml:lang according to latest XMPP-IM draft * src/xml.erl: Added replace_tag_attr/3 function * src/mod_roster.erl: Added auto-reply on incoming subscription request according to latest XMPP-IM draft * src/mod_offline.erl: Added pop_offline_messages/1 function * src/ejabberd_c2s.erl: Updated sending of offline messages 2004-01-17 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc_room.erl: Bugfix, updated error codes (thanks to Sergei Golovan) * src/jlib.hrl: Updated error codes (thanks to Sergei Golovan) 2004-01-11 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Fixed bind namespace * src/ejabberd_ctl.erl: New module for ejabberd administration * tools/ejabberdctl: Shell script for ejabberd administration * src/mod_vcard.erl: Copyright update * src/ejabberd_service.erl: Now possible to specify access rules for service * src/ejabberd.cfg.example: Updated 2004-01-06 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_router.erl: Added monitoring of processess that serve domains * src/ejabberd_app.erl: Bugfix 2004-01-03 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_router.erl (do_route/3): Slightly changed behaviour 2004-01-01 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_sm.erl (do_route/3): Minor fix * src/ejabberd_sm.erl (route_message/3): Minor changes 2003-12-28 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_app.erl: Now possible to specify path to log file via "EJABBERD_LOG_PATH" environment variable * src/translate.erl: Now possible to specify path to "msgs" directory via "EJABBERD_MSGS_PATH" environment variable * src/ejabberd.erl: Added get_so_path/0 function * src/ejabberd_app.erl: Use ejabberd:get_so_path/0 to load .so * src/mod_irc/iconv.erl: Likewise * src/stringprep/stringprep.erl: Likewise 2003-12-24 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Presence probe now sended from full JID * src/mod_roster.erl: Bugfix 2003-12-23 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Bugfix 2003-12-21 Alexey Shchepin <alexey@sevcom.net> * src/mod_roster.erl: Added workaround for legacy gateways (passing of "subscribed" presence) * src/ejabberd_sm.erl: Minor fix in subscription processing 2003-12-17 Alexey Shchepin <alexey@sevcom.net> * src/jlib.hrl: Added declaration of "iq" record * (all): Updated to use "iq" record 2003-12-14 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_local.erl: Replaced register_local_route to register_route * src/ejabberd_service.erl: Likewise * src/mod_echo.erl: Likewise * src/mod_vcard.erl: Likewise * src/ejabberd_router.erl: Partially rewrited * src/ejabberd_sm.erl: Likewise 2003-12-13 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s.erl: Partially rewrited * src/mod_roster.erl: Removed debugging code 2003-12-12 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s_out.erl: Bugfix 2003-12-11 Alexey Shchepin <alexey@sevcom.net> * src/mod_roster.erl: Updated subscription handling to latest XMPP-IM draft 2003-12-06 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s_in.erl: Changed timeout processing, bugfix * src/ejabberd_s2s_out.erl: Changed timeout processing * src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/mod_muc/mod_muc.erl: Better i18n support, added support for <registered/> field in iq:register replies (thanks to Sergei Golovan) * src/mod_register.erl: More i18n support (thanks to Sergei Golovan) 2003-12-02 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Bugfix in processing of connection replacement 2003-11-28 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Added workaround for some Java clients 2003-11-27 Alexey Shchepin <alexey@sevcom.net> * examples/mtr/ejabberd.cfg: Updated (thanks to Marshall T. Rose) * src/ejabberd_auth.erl: LDAP attribute that holds user ID now configurable * src/ejabberd.cfg.example: Updated 2003-11-26 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Fixed processing of presence probe from client 2003-11-23 Alexey Shchepin <alexey@sevcom.net> * src/cyrsasl_digest.erl: Bugfix (thanks to Sergei Golovan) * src/ejabberd.cfg.example: Updated * src/ejabberd_auth.erl: Support for LDAP authentication * src/cyrsasl_digest.erl: Likewise * src/mod_register.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/eldap/: Imported "eldap" package * src/ejabberd_sm.erl: Bugfix 2003-11-16 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc_room.erl: Bugfixes * (all): Version 0.5 released 2003-11-13 Alexey Shchepin <alexey@sevcom.net> * examples/mtr/ejabberd: Updated (thanks to Marshall T. Rose) * src/Makefile.in: Added installation of msgs/ directory 2003-11-11 Alexey Shchepin <alexey@sevcom.net> * doc/dev.tex: Developers documentation (not completed) * src/ejabberd_c2s.erl: Better handling of malformed JIDs * src/mod_register.erl (try_register/2): Now returns "jid malformed" error if user name is invalid 2003-11-10 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd.cfg.example: Updated * src/ejabberd_s2s_in.erl: Added support for shapers * src/ejabberd_c2s.erl: Moved receiver functions to ejabberd_receiver module * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_receiver.erl: Likewise * src/mod_muc/mod_muc_room.erl: Bugfix * src/ejabberd_sm.erl (route_message/3): Bugfix 2003-11-09 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_sm.erl: Bugfix for previous resource handling change * src/mod_configure.erl: Password changing now implemented 2003-11-07 Alexey Shchepin <alexey@sevcom.net> * src/cyrsasl.erl: Updated SASL authentication * src/ejabberd_c2s.erl: Likewise * src/ejabberd_sm.erl: Better resource handling * src/jlib.hrl: Added NS_BIND macros 2003-11-06 Alexey Shchepin <alexey@sevcom.net> * src/mod_configure2.erl: Added reporting of outgoing S2S connections number * src/mod_disco.erl (get_outgoing_s2s): Minor fix 2003-11-02 Alexey Shchepin <alexey@sevcom.net> * src/mod_configure2.erl: Yet another configure interface (not completed yet) 2003-11-01 Alexey Shchepin <alexey@sevcom.net> * src/mod_last.erl: Added remove_user/1 function * src/mod_configure.erl: Removing of user's stuff moved to ejabberd_auth * src/ejabberd_auth.erl: Likewise 2003-10-31 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/mod_irc_connection.erl: Updated to work more correctly with latest jlib 2003-10-30 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: More strong check for authenticated JID * src/mod_roster.erl: Bugfix 2003-10-29 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_listener.erl: Fixed starting of SSL connection * src/ejabberd_s2s_in.erl: Partially rewriten * src/ejabberd_router.erl: More verbose error report * src/ejabberd_local.erl: Likewise * src/ejabberd_sm.erl: Likewise * src/ejabberd_s2s_out.erl: Updated to be compatible with R9C * src/ejabberd_c2s.erl: Minor fix 2003-10-28 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_listener.erl: Added handling of accept errors, added timeout value to ssl:accept * src/mod_vcard.erl: Added checks for all empty input fields * src/mod_offline.erl: More strong checks for stored packets * src/ejabberd_sm.erl: Bugfix 2003-10-27 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_auth.erl: Minor change in check_password/4 * src/mod_roster.erl: Workaround for PSI bug with roster * src/ejabberd_logger_h.erl: Added support for log rotation 2003-10-24 Alexey Shchepin <alexey@sevcom.net> * src/mod_offline.erl: Added function remove_old_messages/1 * src/mod_last.erl: jabber:iq:last support (JEP-0012) * src/ejabberd_sm.erl: Likewise * src/jlib.hrl: Added NS_LAST macros 2003-10-23 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_logger_h.erl: New error_logger handler * src/ejabberd_app.erl: Now uses ejabberd_logger_h.erl 2003-10-21 Alexey Shchepin <alexey@sevcom.net> * src/Makefile.in: Added install rule * src/jlib.erl: Added checks for JID parts length 2003-10-20 Alexey Shchepin <alexey@sevcom.net> * src/mod_vcard.erl: Added checks for stringprep results * src/expat_erl.c: Workaround for EI encode_string bug * src/xml_stream.erl: Slightly changed protocol to expat driver * src/expat_erl.c: Likewise * src/mod_configure.erl: Minor fix 2003-10-19 Alexey Shchepin <alexey@sevcom.net> * doc/guide.tex: Fixed typo * src/ejabberd_local.erl: Added support for announce/online messages * src/ejabberd.cfg.example: Updated * src/mod_register.erl: Added support for sending registration notifications 2003-10-18 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_service.erl: Added supports for multiple hosts per service * src/Makefile.in: Minor fix 2003-10-17 Alexey Shchepin <alexey@sevcom.net> * src/configure.ac: Build system now done using autoconf (thanks to Balabanov Dmitry) * src/aclocal.m4: Likewise * src/**/Makefile.in: Likewise * src/mod_roster.erl (process_item_set_t): Slightly improved performance * src/jd2ejd.erl: Added missed closing of XML stream process, removed timeout value from import_file/1 * src/ejabberd_auth.erl: Added checks for invalid user name 2003-10-16 Alexey Shchepin <alexey@sevcom.net> * src/mod_configure.erl: Fixed some error codes * src/cyrsasl_digest.erl: Bugfix (thanks to Justin Karneges) 2003-10-14 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_local.erl: Bugfix * src/mod_register.erl: Added support for sending of "welcome" message * src/ejabberd.cfg.example: Updated * src/ejabberd_s2s_out.erl: Replaced "_jabber-server" with "_xmpp-server" 2003-10-12 Alexey Shchepin <alexey@sevcom.net> * doc/guide.tex: Updated * src/ejabberd_s2s_out.erl: Added support for IPv6 and "_jabber-server.tcp" lookups * src/jlib.erl (string_to_jid1): Bugfix * src/ejabberd_config.erl: Now possible to specify path to config file in command line 2003-10-11 Alexey Shchepin <alexey@sevcom.net> * doc/guide.tex: Updated * src/ejabberd.cfg: Added "register" rule, added some comments, this file renamed to ejabberd.cfg.example * src/mod_register.erl (try_register): Fixed error reply, added check for "register" access rule 2003-10-10 Alexey Shchepin <alexey@sevcom.net> * src/stringprep/Makefile.win32: Added Makefile for Win32 (thanks to Sergei Golovan) * src/stringprep/stringprep_drv.c: Removed needless iconv.h include * src/ejabberd_c2s.erl: Added filtering of presence packets with privacy rules * src/mod_roster.erl (get_jid_info): Bugfix * src/ejabberd_app.erl: Removed periodical dumping of opened ports 2003-10-09 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Added authentication logging * src/ejabberd_listener.erl: Added logging of accepted connections * src/stringprep/stringprep_drv.c: Cleanup * src/jd2ejd.erl: Added support for iq:private importing * src/mod_configure.erl: Fixed user removal * src/mod_private.erl: Added remove_user/1 * doc/guide.tex: Updated * src/mod_disco.erl: Added "extra_domains" option 2003-10-08 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Added support for "jid-malformed" error * src/stringprep/stringprep_drv.c: Bugfix 2003-10-07 Alexey Shchepin <alexey@sevcom.net> * (all): Changed JID storage format, added support for stringprep * src/stringprep/: Added support for Unicode normalization form KC 2003-10-05 Alexey Shchepin <alexey@sevcom.net> * src/stringprep/: Added support for case convertion to multiple characters * src/cyrsasl_digest.erl: Temporary removed "auth-int" QOP 2003-09-28 Alexey Shchepin <alexey@sevcom.net> * src/stringprep/stringprep_drv.c: Added support for nameprep, nodeprep and resourceprep * src/stringprep/stringprep.erl: Likewise * src/ejabberd_sup.erl: Added loading of stringprep * src/ejabberd_sm.erl: Cleanup 2003-09-26 Alexey Shchepin <alexey@sevcom.net> * src/stringprep/: Support for stringprep (not completed yet) 2003-09-24 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc.erl: Replaced io:format calls to ?DEBUG ones 2003-09-19 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc_room.erl: Debug output switched off * src/mod_disco.erl: Server identity changed to "service/im" * src/mod_register.erl: Fixed jabber:iq:register handler registration, fixed registration removal processing 2003-09-16 Alexey Shchepin <alexey@sevcom.net> * src/mod_disco.erl: Now only admin can discovery some nodes, fixed "node" attribute in replies 2003-09-10 Alexey Shchepin <alexey@sevcom.net> * examples/mtr/ejabberd.cfg: Updated (thanks to Marshall T. Rose) * examples/mtr/ejabberd: Likewise 2003-09-06 Alexey Shchepin <alexey@sevcom.net> * examples/mtr/ejabberd.cfg: Updated (thanks to Marshall T. Rose) 2003-09-04 Alexey Shchepin <alexey@sevcom.net> * examples/mtr/*: Example config and scripts for NetBSD (thanks to Marshall T. Rose) 2003-09-03 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s_in.erl: Fixed "id" attribute processing * src/ejabberd_s2s_out.erl: Likewise * src/ejabberd_c2s.erl: Added sending of empty <stream:features/> element after opening of authenticated stream 2003-09-02 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s_in.erl: Temporary hack for "id" attribute processing * src/ejabberd_s2s_out.erl: Likewise 2003-08-30 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_listener.erl: Fixed SSL options 2003-08-18 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Support for filtering of incoming messages and IQs, presence filtering will be after some xmpp-im clarifications 2003-08-15 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc.erl: Fixed handling of room names with uppercase letters * src/mod_muc/mod_muc_room.erl: Added support for password-protected rooms 2003-08-12 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/mod_irc_connection.erl: Added handling for jabber:iq:version and jabber:iq:time requests, participant address now added to presence status 2003-08-03 Alexey Shchepin <alexey@sevcom.net> * src/mod_privacy.erl: Privacy rules support (not completed yet) * src/ejabberd_c2s.erl: Likewise * src/mod_roster.erl: Likewise 2003-07-27 Alexey Shchepin <alexey@sevcom.net> * src/mod_pubsub/mod_pubsub.erl (create_new_node): Bugfix 2003-07-21 Alexey Shchepin <alexey@sevcom.net> * src/mod_vcard.erl: Bugfix * src/mod_roster.erl: Bugfix * src/jlib.hrl: Added iq:privacy namespace * src/mod_irc/mod_irc_connection.erl: Added support for NOTICE and CODEPAGE commands, better support for QUIT and PART commands (thanks to Oleg V. Motienko) 2003-07-20 Alexey Shchepin <alexey@sevcom.net> * (all): Reorganized supervision tree 2003-07-19 Alexey Shchepin <alexey@sevcom.net> * src/mod_register.erl: Bugfix 2003-07-14 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s_out.erl: Close connection after key verification * src/ejabberd_c2s.erl: start replaced with start_link * src/ejabberd_s2s_in.erl: Likewise * src/ejabberd_s2s_out.erl: Likewise * src/ejabberd_service.erl: Likewise * src/ejabberd_listener.erl: Now uses proc_lib to spawn listeners, removed 3rd parameter in listener configuration (assumed to equal start_link) * src/ejabberd.rel: Updated * doc/guide.tex: Small changes * doc/Makefile: Added implicit charset specification to hevea 2003-07-12 Alexey Shchepin <alexey@sevcom.net> * doc/guide.tex: Updated (thanks to Sergei Golovan) * src/expat_erl.c: Added #ifdef for WIN32 (thanks to Sergei Golovan) * src/mod_irc/iconv_erl.c: Likewise * src/configure.erl: Defines ERLANG_DIR variable (thanks to Sergei Golovan) * **/Makefile: Use ERLANG_DIR (thanks to Sergei Golovan) * **/Makefile.win32: Makefiles for windows build (thanks to Sergei Golovan) * src/configure.bat: Configuration script for windows (thanks to Sergei Golovan) 2003-07-09 Alexey Shchepin <alexey@sevcom.net> * src/mod_pubsub/mod_pubsub.erl: Added suport for meta-node "pubsub/nodes" 2003-07-08 Alexey Shchepin <alexey@sevcom.net> * src/mod_pubsub/mod_pubsub.erl: Most of functions now works 2003-07-07 Alexey Shchepin <alexey@sevcom.net> * src/mod_pubsub/mod_pubsub.erl: Pub/sub implementation (not completed yet) 2003-07-05 Alexey Shchepin <alexey@sevcom.net> * src/jlib.hrl: Added pub/sub namespaces 2003-07-03 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/iconv_erl.c (iconv_erl_control): Bugfix 2003-06-30 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc_room.erl: Fixed room destroying * src/mod_muc/mod_muc.erl: Likewise 2003-06-29 Alexey Shchepin <alexey@sevcom.net> * src/jlib.hrl: Error stanzas updated to confirm latest xmpp-core 2003-06-20 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Returned stream restarting 2003-06-10 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Removed stream restarting 2003-06-07 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: SASL support updated to xmpp-core-13 2003-06-06 Alexey Shchepin <alexey@sevcom.net> * src/cyrsasl*.erl: Support for authzid 2003-06-03 Alexey Shchepin <alexey@sevcom.net> * src/msgs/fr.msg: New french translation (thanks to Vincent Ricard) 2003-05-31 Alexey Shchepin <alexey@sevcom.net> * src/jlib.hrl: Updated SASL namespace 2003-05-29 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_service.erl: Proper handling of bad XML * src/mod_muc/mod_muc_room.erl: Append number of participants in disco replies if requester allowed to see participant list * src/mod_muc/mod_muc.erl (iq_disco_items): Pass requester JID to room process * src/mod_irc/mod_irc_connection.erl: Exit on receiving of presence or message error * src/mod_irc/mod_irc_connection.erl (handle_info): Return "feature not implemented" on iq request with unknown namespace 2003-05-18 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc.erl: Now body of message from admin to MUC service is broadcasted to all conferences * src/mod_muc/mod_muc_room.erl: Likewise 2003-05-15 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s.erl: Added error catching for do_route/3 * src/ejabberd_local.erl: Likewise for do_route/4 * src/msgs/ru.msg: Updated * src/mod_muc/mod_muc_room.erl: New option to allow to view list of participants for non-ones via disco#items * src/mod_muc/mod_muc_room.erl: Store room subject with configuration options 2003-05-14 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc_room.erl: Remove user from room on receiving of message or presence error from him 2003-05-12 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s_out.erl: Fixed error replies, added timeouts * src/ejabberd_s2s_in.erl: Likewise 2003-05-09 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_local.erl: Updated missed errors to new style * src/mod_register.erl: Likewise * src/mod_version.erl: Likewise * src/mod_time.erl: Likewise * src/mod_stats.erl: Likewise * src/mod_register.erl: Likewise * src/mod_private.erl: Likewise * src/mod_configure.erl: Likewise * src/ejabberd_sm.erl: Likewise * src/ejabberd_service.erl: Likewise * src/ejabberd_c2s.erl: Likewise * src/ejabberd_s2s_out.erl: Likewise * src/mod_vcard.erl: Likewise * src/mod_roster.erl: Likewise * src/mod_muc/mod_muc.erl: Added vcard to mod_muc module * src/ejabberd_app.erl: Dump list of opened ports every hour * src/ejabberd.hrl: Added INFO_MSG macros, ERROR_LOG_PATH renamed to LOG_PATH 2003-05-08 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc.erl: Denied usage of empty nick 2003-05-07 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc.erl: Return bad-request if no x:data form submited with nick registration * src/mod_muc/mod_muc_room.erl: Don't check permissions on disco info query processing 2003-04-29 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Workaround to make SSL work properly 2003-04-28 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/mod_irc_connection.erl: Fixed URL to ejabberd 2003-04-17 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc.erl: Support for nick registration 2003-04-15 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Some fixes in work with socket 2003-04-13 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc_room.erl: Support for members-only conferences, invitations. Bugfix in affiliation change processing * src/jlib.hrl: Added jabber:x:conference namespace definition 2003-04-07 Alexey Shchepin <alexey@sevcom.net> * src/jlib.hrl: Added jaber:iq:auth:error namespace and appropriate errors * src/ejabberd_c2s.erl: Use auth:error in appropriate places * src/jlib.hrl: Changed stream error and stanza error namespace names due to last XMPP Core changes 2003-03-28 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/mod_muc_room.erl: Added support for grant/revoke administrative/owner priveledges, fixed work with affiliations 2003-03-27 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd.cfg: Updated * src/mod_muc/mod_muc_room.erl: Support for service admin, kick/ban reasons, more options * src/msgs/ru.msg: Added translations for MUC messages * src/ejabberd_s2s_in.erl: Bugfix * src/mod_muc/: Small fixes in discovering 2003-03-26 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/: Support for discovering service and more configuration options 2003-03-25 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/: Support for more configuration options and persistent rooms 2003-03-23 Alexey Shchepin <alexey@sevcom.net> * src/mod_muc/: MUC support (not completed yet) 2003-03-15 Alexey Shchepin <alexey@sevcom.net> * src/xml_stream.erl: Removed "link" which cause not improper closing of xml connections 2003-03-14 Alexey Shchepin <alexey@sevcom.net> * src/jlib.hrl: Added "invalid-namespace" error * src/ejabberd_c2s.erl: Likewise 2003-03-12 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_s2s_out.erl: Fixed ports leak * src/ejabberd_listener.erl: Likewise * src/ejabberd_c2s.erl: Fixes for SASL support * src/cyrsasl.erl: Fixes * src/cyrsasl_digest.erl: DIGEST-MD5 SASL mechanism support 2003-03-09 Alexey Shchepin <alexey@sevcom.net> * src/cyrsasl*.erl: SASL support (currently support only PLAIN mechanism) * src/ejabberd_c2s.erl: Likewise (all): Support for new-style error elements (except old errors "Not Acceptable", "Not Found", "Invalid Namespace" and "Server Connect Failed", so ejabberd may work unstable) 2003-03-02 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: More correct stream closing 2003-02-27 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/mod_irc_connection.erl: Support for topic changes 2003-02-24 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/mod_irc_connection.erl: /kick support 2003-02-23 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/: Added configuration interface * src/mod_configure.erl: Use jabber:iq:data instead of jabber:x:data * src/mod_disco.erl: Likewise 2003-02-22 Alexey Shchepin <alexey@sevcom.net> * src/mod_configure.erl: Backup management support * src/mod_disco.erl: Likewise 2003-02-21 Alexey Shchepin <alexey@sevcom.net> * src/mod_offline.erl: Now possible to unload this module * src/ejabberd_sm.erl: Added checks to work correctly when mod_offline not loaded * src/ejabberd_c2s.erl: Likewise * src/mod_register.erl: Added support for users removal * src/ejabberd_auth.erl: Added function to remove user only if specified password correct * src/mod_irc/mod_irc_connection.erl: Fixed bug with changing availability status, added processing of "QUIT" message 2003-02-20 Alexey Shchepin <alexey@sevcom.net> * src/mod_roster.erl: Fixed bug with handling of roster set stanzas which contains CDATA * src/mod_irc/mod_irc_connection.erl (handle_info/3): Fixed parsing of string that have "\n" line separators (not "\r\n") 2003-02-18 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/: Added support for private chats, nicks changes and error handling 2003-02-17 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/: Still not completed... 2003-02-16 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/: New IRC transport (not completed yet) 2003-02-14 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_service.erl: Answer "Bad Request" on unknown tags 2003-02-13 Alexey Shchepin <alexey@sevcom.net> * src/ejabberd_c2s.erl: Bugfix: close socket when stream is closed * src/mod_offline.erl: Now all offline packets processed in separate queue to avoid delaying of other packets transmission. Also all packets in queue processed in one transaction. 2003-02-11 Alexey Shchepin <alexey@sevcom.net> * (all): Version 0.1-alpha released