Updated the importer/exporter to include new config items
authorArt Cancro <ajc@citadel.org>
Tue, 5 Sep 2006 16:32:57 +0000 (16:32 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 5 Sep 2006 16:32:57 +0000 (16:32 +0000)
citadel/citadel.h
citadel/citadel.nsi
citadel/citadel.spec
citadel/serv_vandelay.c

index c12b99ecc76137b57b26186eb857fd5ed08161e1..de4ded2ff0a8ab0a947f8eeee2b110d6fd994aa9 100644 (file)
@@ -47,7 +47,7 @@ extern "C" {
  */
 #define REV_LEVEL      684             /* This version */
 #define REV_MIN                591             /* Oldest compatible database */
-#define EXPORT_REV_MIN 655             /* Oldest compatible export files */
+#define EXPORT_REV_MIN 684             /* Oldest compatible export files */
 
 #define SERVER_TYPE 0  /* zero for stock Citadel; other developers please
                           obtain SERVER_TYPE codes for your implementations */
index b0593f81f3da0d65636776969a6109052d919c3c..d9d4924a42a4af2910720cc9f9b2e2cd05bb66dd 100644 (file)
@@ -4,7 +4,7 @@
 
 !include "${NSISDIR}\Contrib\Modern UI\System.nsh"
 !define MUI_PRODUCT "Citadel"
-!define MUI_VERSION "6.83"
+!define MUI_VERSION "6.84"
 !define MUI_WELCOMEPAGE
 !define MUI_LICENSEPAGE
 !define MUI_COMPONENTSPAGE
@@ -18,7 +18,7 @@
 ;!define MUI_ICON "${NSISDIR}\Contrib\Icons\modern-install.ico"
 ;!define MUI_UNICON "${NSISDIR}\Contrib\Icons\modern-uninstall.ico"
 
-OutFile "citadel-6.83.exe"
+OutFile "citadel-6.84.exe"
 BGGradient off
 
 LangString DESC_Citadel ${LANG_ENGLISH} "Citadel client and core libraries (required)"
index 969a3f49051af23d1c6e59f460ad511cdf1c7e19..95247a5f22a4d642c917de1806ee69b1d90cc9a6 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 Summary: Citadel, the flexible, powerful way to build online communities
 Name: citadel
-Version: 6.83
+Version: 6.84
 Release: 1
 Copyright: GPL
 Group: Applications/Communications
index 730eee13ce20f02dc82aa75d191360998da0748c..0627187a6b4c1fc1768a45b3336d4c699eb2d8e2 100644 (file)
@@ -313,6 +313,11 @@ void artv_do_export(void) {
        cprintf("%d\n", config.c_auto_cull);
        cprintf("%d\n", config.c_instant_expunge);
        cprintf("%d\n", config.c_allow_spoofing);
+       cprintf("%d\n", config.c_journal_email);
+       cprintf("%d\n", config.c_journal_pubmsgs);
+       cprintf("%s\n", config.c_journal_dest);
+       cprintf("%s\n", config.c_default_cal_zone);
+       cprintf("%d\n", config.c_pftcpdict_port);
 
        /* Export the control file */
        get_control();
@@ -390,6 +395,11 @@ void artv_import_config(void) {
        client_getln(buf, sizeof buf);  config.c_auto_cull = atoi(buf);
        client_getln(buf, sizeof buf);  config.c_instant_expunge = atoi(buf);
        client_getln(buf, sizeof buf);  config.c_allow_spoofing = atoi(buf);
+       client_getln(buf, sizeof buf);  config.c_journal_email = atoi(buf);
+       client_getln(buf, sizeof buf);  config.c_journal_pubmsgs = atoi(buf);
+       client_getln(config.c_journal_dest, sizeof config.c_journal_dest);
+       client_getln(config.c_default_cal_zone, sizeof config.c_default_cal_zone);
+       client_getln(buf, sizeof buf);  config.c_pftcpdict_port = atoi(buf);
        config.c_enable_fulltext = 0;   /* always disable */
        put_config();
        lprintf(CTDL_INFO, "Imported config file\n");