Scarab commit: svn commit: r11359 - branches/scarab_11079_legacy_with_ant_maven1

[email protected] Tue, 11 Apr 2017 11:20:41 -0700 (PDT)
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2017-04-11 11:20:40-0700
New Revision: 11359

Modified:
   branches/scarab_11079_legacy_with_ant_maven1/project.properties
   branches/scarab_11079_legacy_with_ant_maven1/project.xml
   branches/scarab_11079_legacy_with_ant_maven1/scarab_properties.xml

Log:
Add documentation for new autoclose properties

Modified: branches/scarab_11079_legacy_with_ant_maven1/project.properties
Url: http://scarab.tigris.org/source/browse/scarab/branches/scarab_11079_legacy_with_ant_maven1/project.properties?view=diff&pathrev=11359&r1=11358&r2=11359
==============================================================================
--- branches/scarab_11079_legacy_with_ant_maven1/project.properties	(original)
+++ branches/scarab_11079_legacy_with_ant_maven1/project.properties	2017-04-11 11:20:40-0700
@@ -521,6 +521,7 @@
 #   scarab.email.register.fromName
 #   scarab.email.forgotpassword.fromName
 #   scarab.email.archive.toAddress
+#   scarab.email.autoclose.fromAddress
 #   scarab.email.default.fromAddress
 #   scarab.email.register.fromAddress
 #   scarab.email.forgotpassword.fromAddress
@@ -641,6 +642,7 @@
 scarab.email.register.fromName=${scarab.email.default.fromName}
 scarab.email.forgotpassword.fromName=${scarab.email.register.fromName}@${scarab.email.domain}
 scarab.email.archive.toAddress=${scarab.email.default.fromName}@${scarab.email.domain}
+scarab.email.autoclose.fromAddress=${scarab.email.default.fromName}@${scarab.email.domain}
 
 # --------------------------------
 # scarab.email.default.fromAddress
@@ -959,6 +961,11 @@
 #   scarab.common.status.onhold
 #   scarab.common.status.onhold.dateProperty
 #   scarab.common.status.onhold.reminder.period
+#   scarab.common.autoclose.modules
+#   scarab.common.autoclose.states
+#   scarab.common.autoclose.periods
+#   scarab.common.autoclose.finals
+#   scarab.common.autoclose.user
 #   scarab.common.status.activity.reminder.exclude.states
 #   scarab.common.status.activity.reminder.include.states
 #   scarab.common.status.activity.reminder.period
@@ -1099,19 +1106,125 @@
 
 scarab.common.status.onhold.reminder.period=1440
 
+# -------------------------------
+# scarab.common.autoclose.modules
+# -------------------------------
+#
+# 
+#  This attribute tells the NotificationManager which Modules are enabled 
+#  for autoclose (see scarab.common.autoclose.states). The modules are
+#  given in a comma separated list, using the module prefixes.
+#  Leading/trailing whitespaces will be truncated.
+# 
+#  This attribute is global (valid for all issue types).
+#  By default no tickets will change their state automatically (this attribute is empty)
+# 
+
+scarab.common.autoclose.modules=
+
+# ------------------------------
+# scarab.common.autoclose.states
+# ------------------------------
+#
+# 
+#  This attribute tells the NotificationManager which Issue states are
+#  due to automatic closing after a specific period. The states are
+#  given in a comma separated list, leading/trailing whitespaces will be truncated
+# 
+#  This attribute is global (valid for all modules and all issue types).
+#  By default no tickets will change their state automatically (this attribute is empty)
+# 
+
+scarab.common.autoclose.states=
+
+# -------------------------------
+# scarab.common.autoclose.periods
+# -------------------------------
+#
+# 
+#  This attribute tells the NotificationManager how long to wait (in minutes)
+#  until Issues get automatically closed. Issues are only affected when 
+#  
+#  1.) they are assigned to a module listed in the property
+# 
+#      scarab.common.autoclose.modules
+# 
+#  2.) They are in a state listed in the property
+# 
+#      scarab.common.autoclose.states
+#      
+#  Note: This attribute may contain a comma separated list of numbers, where
+#  each of the numbers listed here correspond to the state listed at the same
+#  place in the autoclose.states property. If this list is smaller than
+#  the list of autoclose.states then the last entry in this list will be taken
+#  for all remaining entries in the autoclose.states list. If this list
+#  is longer than the autoclose.states list, then the unused entries
+#  are ignored.
+# 
+#  This attribute is global (valid for all modules and all issue types)
+#  By default this attribute is set to 20160 (14 days)
+# 
+
+scarab.common.autoclose.periods=20160
+
+# ------------------------------
+# scarab.common.autoclose.finals
+# ------------------------------
+#
+# 
+#  This attribute tells the NotificationManager to which state an issue 
+#  shall be propagated when it is eligible for getting autoclosed.
+#  This property must contain a comma separated list of states, 
+#  where each state listed corresponds to the state at the same index position 
+#  in the property
+#  
+#  scarab.common.autoclose.states
+#  
+#  Issues are only affected when:
+#  
+#  1.) they are assigned to a module listed in the property
+# 
+#      scarab.common.autoclose.modules
+# 
+#  2.) They are in a state listed in the property
+# 
+#      scarab.common.autoclose.states
+#      
+#  3.) The autoclose time is reached as determined in the property
+#  
+#      scarab.common.autoclose.periods
+#  
+#  Note: This attribute is global
+#  
+# 
+
+scarab.common.autoclose.finals=
+
+# ----------------------------
+# scarab.common.autoclose.user
+# ----------------------------
+#
+# 
+#  This attribute tells the NotificationManager which Scarab User it should assign
+#  when an autoclose is performed. When this option is empty or the configured user
+#  is not defined, then Scarab assignes the Issue creator to the autoclose event.
+# 
+
+scarab.common.autoclose.user=
+
 # -----------------------------------------------------
 # scarab.common.status.activity.reminder.exclude.states
 # -----------------------------------------------------
 #
 # 
 #  Whenever an issue hangs during the course of its processing, a reminder
-# ication shall be sent out to the participants. This property
-# es a comma separated list of $state values for which the reminder
-#  NOT be issued. By default we exclude "onhold" and "closed" for
-# wing reasons: "closed" issues are meant to keep idle forever. 
-# ere is no need to remind anybody of that!
-# ld" issues are handled elsewhere and again there is no reason to
-#  anybody either.
+#  notification shall be sent out to the participants. This property
+#  defines a comma separated list of $state values for which the reminder
+#  shall NOT be issued. By default we exclude "onhold" and "closed" for
+#  following reasons: "closed" issues are meant to keep idle forever. 
+#  So there is no need to remind anybody of that!
+#  "onhold" issues are handled elsewhere and again there is no reason to
+#  remind anybody either.
 # 
 
 scarab.common.status.activity.reminder.exclude.states=onhold,closed
@@ -1122,21 +1235,21 @@
 #
 # 
 #  Whenever an issue hangs during the course of its processing, a reminder
-# ication shall be sent out to the participants. This property
-# es a comma separated list of $state values for which the reminder
-# be performed. By default this property is empty. Hence we process
-# s in ANY state except those mentioned above in
-# 
-# b.common.status.activity.reminder.exclude.states. 
-# 
-# u want to explicitly define the states for which a reminder must be sent,
-# an create a comma separated list of state values here.
-# 
-# TANT: 
-# include.states AND exclude.states both are empty, then no reminder
-# nt out at all.
-# only one of the two properties is set then the according inclusion/exclusion
-#  place.
+#  notification shall be sent out to the participants. This property
+#  defines a comma separated list of $state values for which the reminder
+#  MUST be performed. By default this property is empty. Hence we process
+#  issues in ANY state except those mentioned above in
+# 
+#  scarab.common.status.activity.reminder.exclude.states. 
+# 
+#  If you want to explicitly define the states for which a reminder must be sent,
+#  you can create a comma separated list of state values here.
+# 
+#  IMPORTANT: 
+#  - If include.states AND exclude.states both are empty, then no reminder
+#  is sent out at all.
+#  - If only one of the two properties is set then the according inclusion/exclusion
+#  takes place.
 # both properties are set, then the exclusion property is ignored!
 # 
 
@@ -1148,9 +1261,9 @@
 #
 # 
 #  This attribute tells the NotificationManager how long to wait
-#  it sends a reminder notification for issues in any state found in the
-# des.state list or not found in the excludes.state list (see above).
-# efault setting is 1440 (1 day)
+#  until it sends a reminder notification for issues in any state found in the
+#  includes.state list or not found in the excludes.state list (see above).
+#  The default setting is 1440 (1 day)
 # 
 
 scarab.common.status.activity.reminder.period=1440

Modified: branches/scarab_11079_legacy_with_ant_maven1/project.xml
Url: http://scarab.tigris.org/source/browse/scarab/branches/scarab_11079_legacy_with_ant_maven1/project.xml?view=diff&pathrev=11359&r1=11358&r2=11359
==============================================================================
--- branches/scarab_11079_legacy_with_ant_maven1/project.xml	(original)
+++ branches/scarab_11079_legacy_with_ant_maven1/project.xml	2017-04-11 11:20:40-0700
@@ -233,10 +233,11 @@
       </properties>
       <url>http://jakarta.apache.org/commons/configuration/</url>
     </dependency>
+
     <dependency>
       <groupId>commons-digester</groupId>
       <artifactId>commons-digester</artifactId>
-      <version>1.5</version>
+      <version>1.8.1</version>
       <type>jar</type>
       <properties>
         <war.bundle>true</war.bundle>
@@ -283,22 +284,42 @@
     <dependency>
       <groupId>commons-lang</groupId>
       <artifactId>commons-lang</artifactId>
-      <version>2.3</version>
+      <version>2.6</version>
       <type>jar</type>
       <properties>
         <war.bundle>true</war.bundle>
       </properties>
     </dependency>
+
     <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging</artifactId>
-      <version>1.0.3</version>
+      <version>1.1.1</version>
+      <type>jar</type>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging-api</artifactId>
+      <version>1.1.1</version>
       <type>jar</type>
       <properties>
         <war.bundle>true</war.bundle>
       </properties>
     </dependency>
     <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.1.1-sources</version>
+      <type>jar</type>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+    </dependency>
+
+    <dependency>
       <groupId>commons-beanutils</groupId>
       <artifactId>commons-beanutils</artifactId>
       <version>1.6.1</version>
@@ -833,10 +854,19 @@
       <type>jar</type>
     </dependency>        
 
-	<dependency>
+    <dependency>
+      <groupId>commons-compress</groupId>
+      <artifactId>commons-compress</artifactId>
+      <version>1.8.1</version>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+    </dependency>
+
+    <dependency>
       <groupId>commons-httpclient</groupId>
       <artifactId>commons-httpclient</artifactId>
-      <version>2.0.2</version>
+      <version>3.1</version>
       <properties>
         <war.bundle>true</war.bundle>
       </properties>
@@ -905,6 +935,7 @@
        <war.bundle>true</war.bundle>
      </properties>      
    </dependency> 
+
    <dependency>
      <groupId>radeox</groupId>
      <artifactId>radeox-api</artifactId>
@@ -914,6 +945,49 @@
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
+
+
+   <dependency>
+     <groupId>bliki</groupId>
+     <artifactId>bliki-core</artifactId>
+     <version>3.1.01-SNAPSHOT</version>
+     <type>jar</type>
+     <properties>
+       <war.bundle>true</war.bundle>
+     </properties>
+   </dependency>
+
+   <dependency>
+     <groupId>bliki</groupId>
+     <artifactId>bliki-core</artifactId>
+     <version>3.1.01-SNAPSHOT-sources</version>
+     <type>jar</type>
+     <properties>
+       <war.bundle>true</war.bundle>
+     </properties>
+   </dependency>
+
+
+   <dependency>
+      <groupId>slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>1.7.7</version>
+      <type>jar</type>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+   </dependency>
+
+   <dependency>
+      <groupId>slf4j</groupId>
+      <artifactId>slf4j-simple</artifactId>
+      <version>1.7.7</version>
+      <type>jar</type>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+   </dependency>
+
   </dependencies>
 
   <build>

Modified: branches/scarab_11079_legacy_with_ant_maven1/scarab_properties.xml
Url: http://scarab.tigris.org/source/browse/scarab/branches/scarab_11079_legacy_with_ant_maven1/scarab_properties.xml?view=diff&pathrev=11359&r1=11358&r2=11359
==============================================================================
--- branches/scarab_11079_legacy_with_ant_maven1/scarab_properties.xml	(original)
+++ branches/scarab_11079_legacy_with_ant_maven1/scarab_properties.xml	2017-04-11 11:20:40-0700
@@ -654,6 +654,13 @@
         <file/>
       </property>
       <property>
+        <name>scarab.email.autoclose.fromAddress</name>
+        <default>${scarab.email.default.fromName}@${scarab.email.domain}</default>
+        <type>Runtime</type>
+         <customization modification="required">advanced</customization>
+        <file/>
+      </property>      
+      <property>
         <name>scarab.email.default.fromAddress</name>
         <default>${scarab.email.default.fromName}@${scarab.email.domain}</default>
         <details>
@@ -1076,6 +1083,114 @@
       </property>
 
       <property>
+        <name>scarab.common.autoclose.modules</name>
+        <default></default>
+         <type>Runtime</type> 
+         <customization modification="optional">advanced</customization>
+        <file/>
+        <details>
+          This attribute tells the NotificationManager which Modules are enabled 
+          for autoclose (see scarab.common.autoclose.states). The modules are
+          given in a comma separated list, using the module prefixes.
+          Leading/trailing whitespaces will be truncated.
+
+          This attribute is global (valid for all issue types).
+          By default no tickets will change their state automatically (this attribute is empty)
+        </details>
+      </property>
+      <property>
+        <name>scarab.common.autoclose.states</name>
+        <default></default>
+         <type>Runtime</type> 
+         <customization modification="optional">advanced</customization>
+        <file/>
+        <details>
+          This attribute tells the NotificationManager which Issue states are
+          due to automatic closing after a specific period. The states are
+          given in a comma separated list, leading/trailing whitespaces will be truncated
+
+          This attribute is global (valid for all modules and all issue types).
+          By default no tickets will change their state automatically (this attribute is empty)
+        </details>
+      </property>
+      <property>
+        <name>scarab.common.autoclose.periods</name>
+        <default>20160</default>
+         <type>Runtime</type> 
+         <customization modification="optional">advanced</customization>
+        <file/>
+        <details>
+          This attribute tells the NotificationManager how long to wait (in minutes)
+          until Issues get automatically closed. Issues are only affected when 
+          
+          1.) they are assigned to a module listed in the property
+
+              scarab.common.autoclose.modules
+
+          2.) They are in a state listed in the property
+
+              scarab.common.autoclose.states
+              
+          Note: This attribute may contain a comma separated list of numbers, where
+          each of the numbers listed here correspond to the state listed at the same
+          place in the autoclose.states property. If this list is smaller than
+          the list of autoclose.states then the last entry in this list will be taken
+          for all remaining entries in the autoclose.states list. If this list
+          is longer than the autoclose.states list, then the unused entries
+          are ignored.
+
+          This attribute is global (valid for all modules and all issue types)
+          By default this attribute is set to 20160 (14 days)
+        </details>
+      </property>      
+      <property>
+        <name>scarab.common.autoclose.finals</name>
+        <default></default>
+         <type>Runtime</type> 
+         <customization modification="optional">advanced</customization>
+        <file/>
+        <details>
+          This attribute tells the NotificationManager to which state an issue 
+          shall be propagated when it is eligible for getting autoclosed.
+          This property must contain a comma separated list of states, 
+          where each state listed corresponds to the state at the same index position 
+          in the property
+          
+          scarab.common.autoclose.states
+          
+          Issues are only affected when:
+          
+          1.) they are assigned to a module listed in the property
+
+              scarab.common.autoclose.modules
+
+          2.) They are in a state listed in the property
+
+              scarab.common.autoclose.states
+              
+          3.) The autoclose time is reached as determined in the property
+          
+              scarab.common.autoclose.periods
+          
+          Note: This attribute is global
+          
+        </details>
+      </property>
+
+      <property>
+        <name>scarab.common.autoclose.user</name>
+        <default></default>
+         <type>Runtime</type> 
+         <customization modification="optional">advanced</customization>
+        <file/>
+        <details>
+          This attribute tells the NotificationManager which Scarab User it should assign
+          when an autoclose is performed. When this option is empty or the configured user
+          is not defined, then Scarab assignes the Issue creator to the autoclose event.
+        </details>
+      </property>
+
+      <property>
         <name>scarab.common.status.activity.reminder.exclude.states</name>
         <default>onhold,closed</default>
          <type>Runtime</type> 
@@ -1083,16 +1198,16 @@
         <file/>
         <details>
           Whenever an issue hangs during the course of its processing, a reminder
-		  notification shall be sent out to the participants. This property
-		  defines a comma separated list of $state values for which the reminder
-		  shall NOT be issued. By default we exclude "onhold" and "closed" for
-		  following reasons: "closed" issues are meant to keep idle forever. 
-		  So there is no need to remind anybody of that!
-		  "onhold" issues are handled elsewhere and again there is no reason to
-		  reind anybody either.
+          notification shall be sent out to the participants. This property
+          defines a comma separated list of $state values for which the reminder
+          shall NOT be issued. By default we exclude "onhold" and "closed" for
+          following reasons: "closed" issues are meant to keep idle forever. 
+          So there is no need to remind anybody of that!
+          "onhold" issues are handled elsewhere and again there is no reason to
+          remind anybody either.
         </details>
       </property>
-	  	  	  	  
+
       <property>
         <name>scarab.common.status.activity.reminder.include.states</name>
         <default></default>
@@ -1101,25 +1216,25 @@
         <file/>
         <details>
           Whenever an issue hangs during the course of its processing, a reminder
-		  notification shall be sent out to the participants. This property
-		  defines a comma separated list of $state values for which the reminder
-		  MUST be performed. By default this property is empty. Hence we process
-		  issues in ANY state except those mentioned above in
-		  
-		  scarab.common.status.activity.reminder.exclude.states. 
-		  
-		  If you want to explicitly define the states for which a reminder must be sent,
-		  you can create a comma separated list of state values here.
-
-		  IMPORTANT: 
-		  - If include.states AND exclude.states both are empty, then no reminder
-		  is sent out at all.
-		  - If only one of the two properties is set then the according inclusion/exclusion
-		  takes place.
+          notification shall be sent out to the participants. This property
+          defines a comma separated list of $state values for which the reminder
+          MUST be performed. By default this property is empty. Hence we process
+          issues in ANY state except those mentioned above in
+
+          scarab.common.status.activity.reminder.exclude.states. 
+
+          If you want to explicitly define the states for which a reminder must be sent,
+          you can create a comma separated list of state values here.
+
+          IMPORTANT: 
+          - If include.states AND exclude.states both are empty, then no reminder
+          is sent out at all.
+          - If only one of the two properties is set then the according inclusion/exclusion
+          takes place.
 		  - If both properties are set, then the exclusion property is ignored!
         </details>
       </property>
-	  	  	  	  
+
       <property>
         <name>scarab.common.status.activity.reminder.period</name>
         <default>1440</default>
@@ -1128,9 +1243,9 @@
         <file/>
         <details>
           This attribute tells the NotificationManager how long to wait
-		  utnil it sends a reminder notification for issues in any state found in the
-		  includes.state list or not found in the excludes.state list (see above).
-		  The default setting is 1440 (1 day)
+          until it sends a reminder notification for issues in any state found in the
+          includes.state list or not found in the excludes.state list (see above).
+          The default setting is 1440 (1 day)
         </details>
       </property>

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=3228457