3.1.0 changes:
[BackupPC.git] / lib / BackupPC / Config / Meta.pm
index 280b67e..133ddd0 100644 (file)
@@ -10,7 +10,7 @@
 #   Craig Barratt  <cbarratt@users.sourceforge.net>
 #
 # COPYRIGHT
-#   Copyright (C) 2004  Craig Barratt
+#   Copyright (C) 2004-2007  Craig Barratt
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@
 #
 #========================================================================
 #
-# Version 3.0.0alpha, released 23 Jan 2006.
+# Version 3.1.0, released 25 Nov 2007.
 #
 # See http://backuppc.sourceforge.net.
 #
@@ -139,7 +139,12 @@ use vars qw(%ConfigMeta);
     IncrKeepCnt                => "integer",
     IncrKeepCntMin     => "integer",
     IncrAgeMax         => "float",
+    IncrLevels          => {
+           type   => "shortlist",
+           child  => "integer",
+    },
     PartialAgeMax      => "float",
+    BackupsDisable      => "integer",
     IncrFill           => "boolean",
     RestoreInfoKeepCnt => "integer",
     ArchiveInfoKeepCnt => "integer",
@@ -194,6 +199,7 @@ use vars qw(%ConfigMeta);
     XferLogLevel       => "integer",
 
     ClientCharset       => "string",
+    ClientCharsetLegacy => "string",
 
     SmbShareName       => {
            type   => "list",
@@ -201,10 +207,10 @@ use vars qw(%ConfigMeta);
     },
     SmbShareUserName   => "string",
     SmbSharePasswd     => "string",
-    SmbClientPath      => {type => "string", undefIfEmpty => 1},
+    SmbClientPath      => {type => "execPath", undefIfEmpty => 1},
     SmbClientFullCmd   => "string",
     SmbClientIncrCmd   => "string",
-    SmbClientRestoreCmd => "string",
+    SmbClientRestoreCmd => {type => "string", undefIfEmpty => 1},
 
     TarShareName       => {
            type   => "list",
@@ -213,7 +219,7 @@ use vars qw(%ConfigMeta);
     TarClientCmd       => "string",
     TarFullArgs        => "string",
     TarIncrArgs                => "string",
-    TarClientRestoreCmd        => "string",
+    TarClientRestoreCmd        => {type => "string", undefIfEmpty => 1},
     TarClientPath      => {type => "string", undefIfEmpty => 1},
 
     RsyncShareName     => {
@@ -225,21 +231,28 @@ use vars qw(%ConfigMeta);
     RsyncClientRestoreCmd => "string",
 
     RsyncdClientPort   => "integer",
+    RsyncdUserName     => "string",
     RsyncdPasswd       => "string",
     RsyncdAuthRequired => "boolean",
 
     RsyncCsumCacheVerifyProb => "float",
     RsyncArgs          => {
-           type   => "list",
-           emptyOk => 1,
-           child  => "string",
+           type         => "list",
+           emptyOk      => 1,
+           child        => "string",
     },
     RsyncRestoreArgs   => {
-           type   => "list",
-           emptyOk => 1,
-           child  => "string",
+           type         => "list",
+           emptyOk      => 1,
+            undefIfEmpty => 1,
+           child        => "string",
     },
 
+    BackupPCdCmd        => "string",
+    BackupPCdPath       => "string",
+    BackupPCdShareName  => "string",
+    BackupPCdRestoreCmd => "string",
+
     ArchiveDest        => "string",
     ArchiveComp                => {
            type   => "select",
@@ -270,6 +283,7 @@ use vars qw(%ConfigMeta);
     RestorePostUserCmd => {type => "string", undefIfEmpty => 1},
     ArchivePreUserCmd  => {type => "string", undefIfEmpty => 1},
     ArchivePostUserCmd => {type => "string", undefIfEmpty => 1},
+    UserCmdCheckStatus  => "boolean",
 
     ClientNameAlias    => {type => "string", undefIfEmpty => 1},
 
@@ -300,11 +314,11 @@ use vars qw(%ConfigMeta);
     CgiURL             => "string",
     Language           => {
            type   => "select",
-           values => [qw(de en es fr it nl pt_br)],
+           values => [qw(de en es fr it nl pl pt_br zh_CN)],
     },
     CgiUserHomePageCheck => "string",
     CgiUserUrlCreate    => "string",
-    CgiDateFormatMMDD  => "boolean",
+    CgiDateFormatMMDD  => "integer",
     CgiNavBarAdminAllHosts => "boolean",
     CgiSearchBoxEnable         => "boolean",
     CgiNavBarLinks     => {
@@ -329,6 +343,8 @@ use vars qw(%ConfigMeta);
                Reason_no_ping                 => "string",
                Reason_backup_canceled_by_user => "string",
                Status_backup_in_progress      => "string",
+                Disabled_OnlyManualBackups     => "string", 
+                Disabled_AllBackupsDisabled    => "string",  
            },
     },
     CgiHeaders         => "bigstring",
@@ -353,12 +369,14 @@ use vars qw(%ConfigMeta);
                 IncrKeepCnt               => "boolean",
                 IncrKeepCntMin            => "boolean",
                 IncrAgeMax                => "boolean",
+                IncrLevels                => "boolean",
                 PartialAgeMax             => "boolean",
                 IncrFill                  => "boolean",
                 RestoreInfoKeepCnt        => "boolean",
                 ArchiveInfoKeepCnt        => "boolean",
                 BackupFilesOnly           => "boolean",
                 BackupFilesExclude        => "boolean",
+                BackupsDisable            => "boolean",
                 BlackoutBadPingLimit      => "boolean",
                 BlackoutGoodCnt           => "boolean",
                 BlackoutPeriods           => "boolean",
@@ -366,6 +384,7 @@ use vars qw(%ConfigMeta);
                 XferMethod                => "boolean",
                 XferLogLevel              => "boolean",
                 ClientCharset             => "boolean",
+                ClientCharsetLegacy       => "boolean",
                 SmbShareName              => "boolean",
                 SmbShareUserName          => "boolean",
                 SmbSharePasswd            => "boolean",
@@ -376,15 +395,18 @@ use vars qw(%ConfigMeta);
                 TarFullArgs               => "boolean",
                 TarIncrArgs               => "boolean",
                 TarClientCmd              => "boolean",
+                TarClientPath             => "boolean",
                 TarClientRestoreCmd       => "boolean",
                 RsyncShareName            => "boolean",
                 RsyncdClientPort          => "boolean",
+                RsyncdUserName            => "boolean",
                 RsyncdPasswd              => "boolean",
                 RsyncdAuthRequired        => "boolean",
                 RsyncCsumCacheVerifyProb  => "boolean",
                 RsyncArgs                 => "boolean",
                 RsyncRestoreArgs          => "boolean",
                 RsyncClientCmd            => "boolean",
+                RsyncClientPath           => "boolean",
                 RsyncClientRestoreCmd     => "boolean",
                 ArchiveDest               => "boolean",
                 ArchiveComp               => "boolean",
@@ -408,6 +430,7 @@ use vars qw(%ConfigMeta);
                 ArchivePostUserCmd        => "boolean",
                 DumpPostShareCmd          => "boolean",
                 DumpPreShareCmd           => "boolean",
+                UserCmdCheckStatus        => "boolean",
                 EMailNotifyMinDays        => "boolean",
                 EMailFromUserName         => "boolean",
                 EMailAdminUserName        => "boolean",
@@ -420,6 +443,7 @@ use vars qw(%ConfigMeta);
                 EMailNotifyOldOutlookDays => "boolean",
                 EMailOutlookBackupSubj    => "boolean",
                 EMailOutlookBackupMesg    => "boolean",
+                EMailHeaders              => "boolean",
            },
     },