From 3d1ff452cb2c0b9a7bcff4938767e92732f362d4 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Sun, 21 Nov 2004 21:35:51 +0000 Subject: [PATCH] * src/mod_vcard.erl: Added missed index * doc/guide.tex: Updated (thanks to Sander Devrieze) SVN Revision: 286 --- ChangeLog | 8 ++++++++ doc/guide.html | 34 ++++++++++++++++------------------ doc/guide.tex | 12 +++++------- src/mod_vcard.erl | 1 + 4 files changed, 30 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index dfc7f490b..f64537fbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +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 diff --git a/doc/guide.html b/doc/guide.html index 5fb302219..e112b16af 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -36,7 +36,7 @@
  • 1  Introduction -
  • 2  Installation +
  • 2  Installation from Source -
  • 4  Distribution +
  • 4  Clustering
    • 4.1  How it works
      • @@ -83,8 +83,8 @@
        • A.1  Common Options
        • A.2  mod_announce
        • A.3  mod_configure @@ -134,7 +134,7 @@ Works on most of popular platforms: *nix (tested on Linux, FreeBSD and
        • Built-in web-based administration interface
        • Built-in HTTP Polling service
        • SSL support -
        • Support for LDAP authentification +
        • Support for LDAP authentication
        • Ability to interface with external components (JIT, MSN-t, Yahoo-t, etc.)
        • Migration from jabberd14 is possible
        • Mostly XMPP-compliant @@ -145,11 +145,11 @@ Works on most of popular platforms: *nix (tested on Linux, FreeBSD and The misfeatures of ejabberd are:
          • No support for virtual domains -
          • No support for authentification and STARTTLS in S2S connections +
          • No support for authentication and STARTTLS in S2S connections
          - + -

          2  Installation

          +

          2  Installation from Source

          @@ -653,7 +653,7 @@ with such config: ] }. you should enter URL http://example.org:5280/admin/. After -authentification you should see something like in figure 1. +authentication you should see something like in figure 1.

          @@ -695,11 +695,11 @@ Available commands: Example: ejabberdctl ejabberd@host restart - + -

          4  Distribution

          +

          4  Clustering

          - +

          4.1  How it works

          @@ -842,9 +842,9 @@ domain.
          The following options are used by many modules, so they are described in separate section.

          - + -

          A.1.1  Option iqdisc

          +

          A.1.1  iqdisc

          Many modules define handlers for processing IQ queries of different namespaces @@ -875,9 +875,9 @@ Example: ... ]}. - + -

          A.1.2  Option host

          +

          A.1.2  host

          This option explicitly defines hostname for the module which acts as a service.
          @@ -1190,8 +1190,6 @@ Options: iqdisc
          http://jabber.org/protocol/stats IQ queries processing discipline (see A.1.1). -TBD about access.
          -

          A.17  mod_time

          diff --git a/doc/guide.tex b/doc/guide.tex index 7a4e08f08..0dc0f7e34 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -132,7 +132,7 @@ The misfeatures of \ejabberd{} are: \end{itemize} -\section{Installation} +\section{Installation from Source} \label{sec:installation} \subsection{Installation Requirements} @@ -695,8 +695,8 @@ Example: -\section{Distribution} -\label{sec:distribution} +\section{Clustering} +\label{sec:clustering} \subsection{How it works} @@ -846,7 +846,7 @@ domain. The following options are used by many modules, so they are described in separate section. -\subsubsection{Option \option{iqdisc}} +\subsubsection{\option{iqdisc}} \label{sec:modiqdiscoption} Many modules define handlers for processing IQ queries of different namespaces @@ -879,7 +879,7 @@ Example: ]}. \end{verbatim} -\subsubsection{Option \option{host}} +\subsubsection{\option{host}} \label{sec:modhostoption} This option explicitly defines hostname for the module which acts as a service. @@ -1184,8 +1184,6 @@ Options: \iqdiscitem{\ns{http://jabber.org/protocol/stats}} \end{description} -TBD about access. - \subsection{\modtime{}} \label{sec:modtime} diff --git a/src/mod_vcard.erl b/src/mod_vcard.erl index 49c0728dc..786bca78b 100644 --- a/src/mod_vcard.erl +++ b/src/mod_vcard.erl @@ -47,6 +47,7 @@ start(Opts) -> mnesia:create_table(vcard_search, [{disc_copies, [node()]}, {attributes, record_info(fields, vcard_search)}]), + mnesia:add_table_index(vcard_search, luser), mnesia:add_table_index(vcard_search, lfn), mnesia:add_table_index(vcard_search, lfamily), mnesia:add_table_index(vcard_search, lgiven),