* Added VIEW_WIKI to the available view types. EUID indexing is "on" for
authorArt Cancro <ajc@citadel.org>
Fri, 20 Jan 2006 02:32:00 +0000 (02:32 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 20 Jan 2006 02:32:00 +0000 (02:32 +0000)
  this view.  Everything else will be done in WebCit.

citadel/ChangeLog
citadel/citadel.h
citadel/euidindex.c
citadel/techdoc/views.txt

index 220acb244ee45926c35159fc8833fdb2e9d8c73e..84c697e19bb32027dad88af0f6f456cb82a752e8 100644 (file)
@@ -1,5 +1,9 @@
 $Id$
 
+Thu Jan 19 21:30:20 EST 2006 ajc
+* Added VIEW_WIKI to the available view types.  EUID indexing is "on" for
+  this view.  Everything else will be done in WebCit.
+
 Thu Jan 19 17:49:29 EST 2006 ajc
 * support SMTP-AUTH for outbound connection to smart-host
 
index c6c14031cc1aac40aed2821d0b2a9e17f959f421..3d964a3f2c9ba610ee58c45429cbaf5465239cd4 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
 /*
  * Text description of this software
  */
-#define CITADEL        "Citadel 6.70"
+#define CITADEL        "Citadel 6.71"
 
 /*
  * REV_LEVEL is the current version number (multiplied by 100 to avoid having
@@ -45,7 +45,7 @@ extern "C" {
  * usually more strict because you're not really supposed to dump/load and
  * upgrade at the same time.
  */
-#define REV_LEVEL      670             /* This version */
+#define REV_LEVEL      671             /* This version */
 #define REV_MIN                591             /* Oldest compatible database */
 #define EXPORT_REV_MIN 655             /* Oldest compatible export files */
 
@@ -252,6 +252,7 @@ enum {
 #define VIEW_CALENDAR          3       /* Calendar view */
 #define VIEW_TASKS             4       /* Tasks view */
 #define VIEW_NOTES             5       /* Notes view */
+#define        VIEW_WIKI               6       /* Wiki view */
 
 #ifdef __cplusplus
 }
index 8813b9c2e79a9c2e84c209182123fa7e623cc5ef..bd0da8929a69782d4df5f749949376561831dd36 100644 (file)
@@ -74,6 +74,7 @@ int DoesThisRoomNeedEuidIndexing(struct ctdlroom *qrbuf) {
                case VIEW_CALENDAR:     return(1);
                case VIEW_TASKS:        return(1);
                case VIEW_NOTES:        return(1);
+               case VIEW_WIKI:         return(1);
        }
        
        return(0);
index 3e9a1a0a9b1c7b0f6a33ad73dc32345a6a08b8d8..167e163e34459d7cfccb8c10a616151acf348f8b 100644 (file)
@@ -16,6 +16,10 @@ combination.  It is visit.v_view and is an integer.  Naturally, there also
 needs to be a default, for users who have never visited the room before.  This
 is in the room record as room.QRdefaultview (and is also an integer).
  
+ In recent versions of Citadel, the view for a room also defines when and how
+it is indexed.  For example, mailboxes and bulletin boards don't need to have
+an euid index, but address books and calendars do.
  The values currently defined are:
 
 #define        VIEW_BBS                0       /* Bulletin board view */
@@ -24,4 +28,5 @@ is in the room record as room.QRdefaultview (and is also an integer).
 #define VIEW_CALENDAR          3       /* Calendar view */
 #define VIEW_TASKS             4       /* Tasks view */
 #define VIEW_NOTES             5       /* Notes view */
+#define VIEW_WIKI              6       /* Wiki view */