From: Art Cancro Date: Fri, 20 Jan 2006 02:32:00 +0000 (+0000) Subject: * Added VIEW_WIKI to the available view types. EUID indexing is "on" for X-Git-Tag: v7.86~4299 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=45fee5335ada35b744ff78ade22c9adbf5cfe96f * Added VIEW_WIKI to the available view types. EUID indexing is "on" for this view. Everything else will be done in WebCit. --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 220acb244..84c697e19 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -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 diff --git a/citadel/citadel.h b/citadel/citadel.h index c6c14031c..3d964a3f2 100644 --- a/citadel/citadel.h +++ b/citadel/citadel.h @@ -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 } diff --git a/citadel/euidindex.c b/citadel/euidindex.c index 8813b9c2e..bd0da8929 100644 --- a/citadel/euidindex.c +++ b/citadel/euidindex.c @@ -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); diff --git a/citadel/techdoc/views.txt b/citadel/techdoc/views.txt index 3e9a1a0a9..167e163e3 100644 --- a/citadel/techdoc/views.txt +++ b/citadel/techdoc/views.txt @@ -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 */