continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r219522 - in /maven/continuum/trunk: continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/ continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notificatio...
Date Mon, 18 Jul 2005 15:58:38 GMT
Author: evenisse
Date: Mon Jul 18 08:57:57 2005
New Revision: 219522

URL: http://svn.apache.org/viewcvs?rev=219522&view=rev
Log:
o adding support to view and edit Jabber and MSN notification settings.

Added:
    maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationJabber.xml  
(with props)
    maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMsn.xml   (with
props)
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditJabberNotifier.vm
  (with props)
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditMsnNotifier.vm
  (with props)
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewJabberNotifier.vm
  (with props)
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewMsnNotifier.vm
  (with props)
Modified:
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
    maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMail.xml
    maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
    maven/continuum/trunk/continuum-web/src/main/resources/templates/CommonMacros.vm
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectNotifiers.vm
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/SelectNotifier.vm

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java?rev=219522&r1=219521&r2=219522&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
Mon Jul 18 08:57:57 2005
@@ -91,7 +91,7 @@
 
         if ( recipients.size() == 0 )
         {
-            getLogger().info( "No mail recipients for '" + project.getName() + "'." );
+            getLogger().info( "No jabber recipients for '" + project.getName() + "'." );
 
             return;
         }
@@ -271,9 +271,9 @@
 
     private String getUsername( Map configuration )
     {
-        if ( configuration.containsKey( "address" ) )
+        if ( configuration.containsKey( "login" ) )
         {
-            String username = (String) configuration.get( "address" );
+            String username = (String) configuration.get( "login" );
 
             if ( username.indexOf( "@" ) > 0 )
             {

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java?rev=219522&r1=219521&r2=219522&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
Mon Jul 18 08:57:57 2005
@@ -85,7 +85,7 @@
 
         if ( recipients.size() == 0 )
         {
-            getLogger().info( "No mail recipients for '" + project.getName() + "'." );
+            getLogger().info( "No MSN recipients for '" + project.getName() + "'." );
 
             return;
         }
@@ -230,14 +230,9 @@
 
     private String getUsername( Map configuration )
     {
-        if ( configuration.containsKey( "address" ) )
+        if ( configuration.containsKey( "login" ) )
         {
-            String username = (String) configuration.get( "address" );
-
-            if ( username.indexOf( "@" ) > 0 )
-            {
-                username = username.substring( 0, username.indexOf( "@" ) );
-            }
+            String username = (String) configuration.get( "login" );
 
             return username;
         }

Added: maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationJabber.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationJabber.xml?rev=219522&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationJabber.xml (added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationJabber.xml Mon
Jul 18 08:57:57 2005
@@ -0,0 +1,92 @@
+<form>
+  <id>notificationJabber</id>
+  <source-role>org.apache.maven.continuum.Continuum</source-role>
+  <lookup-expression>getNotifier(#id,#notifierType)</lookup-expression>  
+  <elements>
+    <element>
+      <id>notifierType</id>
+      <default-value>jabber</default-value>
+      <immutable>true</immutable>
+    </element>
+    <element>
+      <id>host</id>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>url.error</error-message-key>
+        </validator>
+      </validators>
+      <type>text</type>
+      <label-key>jabber.host.label</label-key>
+      <message-key>jabber.host.message</message-key>
+    </element>
+    <element>
+      <id>login</id>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>empty.error</error-message-key>
+        </validator>
+      </validators>
+      <type>text</type>
+      <label-key>jabber.login.label</label-key>
+      <message-key>jabber.login.message</message-key>
+    </element>
+    <element>
+      <id>password</id>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>empty.error</error-message-key>
+        </validator>
+      </validators>
+      <type>password</type>
+      <label-key>jabber.password.label</label-key>
+      <message-key>jabber.password.message</message-key>
+    </element>
+    <element>
+      <id>address</id>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>empty.error</error-message-key>
+        </validator>
+      </validators>
+      <type>text</type>
+      <label-key>jabber.address.label</label-key>
+      <message-key>jabber.address.message</message-key>
+    </element>
+    <element>
+      <id>isGroup</id>
+      <type>checkbox</type>
+      <validators>
+        <validator>
+          <id>default</id>
+          <error-message-key>project.type.error</error-message-key>
+        </validator>
+      </validators>
+      <label-key>jabber.isGroup.label</label-key>
+      <message-key>jabber.isGroup.message</message-key>
+    </element>
+  </elements>
+
+  <!-- Add -->
+  <add>
+    <title-key>jabberNotificationTitle</title-key>
+    <action>callMethod</action>
+    <view>Summary.vm</view>
+    <view-on-failure>Add.vm</view-on-failure>
+    <fid-on-failure>notificationJabber</fid-on-failure>
+    <expression>addNotifier(#id,#notifierType,#parameters)</expression>
+  </add>
+
+  <!-- Update -->
+  <update>
+    <title-key>project.title.update</title-key>
+    <action>updateEntity</action>
+    <view>Summary.vm</view>
+    <view-on-failure>Edit.vm</view-on-failure>
+    <expression>updateAntProject(#entity)</expression>
+  </update>
+
+</form>

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationJabber.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationJabber.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMail.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMail.xml?rev=219522&r1=219521&r2=219522&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMail.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMail.xml Mon
Jul 18 08:57:57 2005
@@ -22,7 +22,7 @@
 
   <!-- Add -->
   <add>
-    <title-key>ircNotificationTitle</title-key>
+    <title-key>mailNotificationTitle</title-key>
     <action>callMethod</action>
     <view>Summary.vm</view>
     <view-on-failure>Add.vm</view-on-failure>

Added: maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMsn.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMsn.xml?rev=219522&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMsn.xml (added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMsn.xml Mon Jul
18 08:57:57 2005
@@ -0,0 +1,68 @@
+<form>
+  <id>notificationMsn</id>
+  <source-role>org.apache.maven.continuum.Continuum</source-role>
+  <lookup-expression>getNotifier(#id,#notifierType)</lookup-expression>  
+  <elements>
+    <element>
+      <id>notifierType</id>
+      <default-value>msn</default-value>
+      <immutable>true</immutable>
+    </element>
+    <element>
+      <id>login</id>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>empty.error</error-message-key>
+        </validator>
+      </validators>
+      <type>text</type>
+      <label-key>msn.login.label</label-key>
+      <message-key>msn.login.message</message-key>
+    </element>
+    <element>
+      <id>password</id>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>empty.error</error-message-key>
+        </validator>
+      </validators>
+      <type>password</type>
+      <label-key>msn.password.label</label-key>
+      <message-key>msn.password.message</message-key>
+    </element>
+    <element>
+      <id>address</id>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>empty.error</error-message-key>
+        </validator>
+      </validators>
+      <type>text</type>
+      <label-key>msn.address.label</label-key>
+      <message-key>msn.address.message</message-key>
+    </element>
+  </elements>
+
+  <!-- Add -->
+  <add>
+    <title-key>jabberNotificationTitle</title-key>
+    <action>callMethod</action>
+    <view>Summary.vm</view>
+    <view-on-failure>Add.vm</view-on-failure>
+    <fid-on-failure>notificationJabber</fid-on-failure>
+    <expression>addNotifier(#id,#notifierType,#parameters)</expression>
+  </add>
+
+  <!-- Update -->
+  <update>
+    <title-key>project.title.update</title-key>
+    <action>updateEntity</action>
+    <view>Summary.vm</view>
+    <view-on-failure>Edit.vm</view-on-failure>
+    <expression>updateAntProject(#entity)</expression>
+  </update>
+
+</form>

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMsn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/forms/notificationMsn.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties?rev=219522&r1=219521&r2=219522&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
Mon Jul 18 08:57:57 2005
@@ -119,6 +119,10 @@
 // Notification
 // ----------------------------------------------------------------------
 
+// Mail
+mailNotificationTitle = Mail Notification
+
+// IRC
 ircNotificationTitle = IRC Notification
 
 host.label = IRC Host
@@ -131,4 +135,34 @@
 
 channel.label = IRC Channel
 channel.error = You must enter an IRC channel
-channel.message = Enter an IRC channel i.e. #maven
\ No newline at end of file
+channel.message = Enter an IRC channel i.e. #maven
+
+// Jabber
+jabberNotificationTitle = Jabber Notification
+
+jabber.host.label = Jabber Host
+jabber.host.message = Enter the Jabber host
+
+jabber.login.label = Jabber Login
+jabber.login.message = Enter your login
+
+jabber.address.label = Jabber Recipient address
+jabber.address.message = Enter the recipient address
+
+jabber.password.label = Jabber Password
+jabber.password.message = Enter your password
+
+jabber.isGroup.label = Is it a Jabber group?
+jabber.isGroup.message = Check it if it's a Jabber group
+
+// MSN
+msnNotificationTitle = MSN Notification
+
+msn.login.label = MSN Login
+msn.login.message = Enter your login
+
+msn.address.label = MSN Recipient address
+msn.address.message = Enter the recipient address
+
+msn.password.label = MSN Password
+msn.password.message = Enter your password

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/CommonMacros.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/CommonMacros.vm?rev=219522&r1=219521&r2=219522&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/CommonMacros.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/CommonMacros.vm Mon Jul
18 08:57:57 2005
@@ -8,12 +8,25 @@
 #if ( $fvr && !$fvr.getElementResult( $element.getId()).valid() )
   #set ( $errorMsg = "&nbsp;&nbsp; [ $fvr.getElementResult( $element.getId() ).errorMessage
] " )
   #set ( $attr = 'style="background-color: #ffffcc"' )
+#else
+  #set ( $errorMsg = "" )
+  #set ( $attr = '' )
 #end
 
 <td $attr>
   #set ( $elementData = $formtool.getElementData( $form, $element, $item, $data ) )
   #if ( $element.type == "text" )
     #text( $element $elementData )
+  #elseif ( $element.type == "textarea" )
+    #textarea( $element $elementData )
+  #elseif ( $element.type == "checkbox" )
+    #checkbox( $element $elementData )
+  #elseif ( $element.type == "hidden" )
+    #hidden( $element $elementData )
+  #elseif ( $element.type == "password" )
+    #password( $element $elementData )
+  #elseif ( $element.type == "radio" )
+    #radio( $element $elementData )
   #elseif ( $element.type == "upload" )
     #upload( $element $elementData )
   #end
@@ -56,7 +69,7 @@
 #end
 
 #macro ( password $element $elementData )
-<input type="text" name="$element.id" value="$elementData" size="40"/>
+<input type="password" name="$element.id" value="$elementData" size="40"/>
 #end
 
 #macro ( radio $element $elementData )

Added: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditJabberNotifier.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditJabberNotifier.vm?rev=219522&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditJabberNotifier.vm
(added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditJabberNotifier.vm
Mon Jul 18 08:57:57 2005
@@ -0,0 +1,51 @@
+$page.setTitle( "Continuum - Jabber Notifier" )
+
+<div class="app">
+  <div id="axial" class="h3">
+    <h3>Edit Jabber Notifier</h3>
+    <form method="post" action="$link">
+      #hidden ( "action" "cam" )
+      #hidden ( "cid" "updateNotifier" )
+      #hidden ( "view" "ProjectNotifiers.vm" )
+      #hidden ( "id" $project.id )
+      #hidden ( "notifierType" "jabber" )
+      <div class="axial">
+        <table border="1" cellspacing="2" cellpadding="3" width="100%">
+          <tr>
+            <th>Jabber Host</th>
+            <td>
+              <input type="text" name="host" value="$notifier.configuration.host" size="40"/>
+            </td>
+          </tr>
+          <tr>
+            <th>Jabber Login</th>
+            <td>
+              <input type="text" name="port" value="$notifier.configuration.login" size="40"/>
+            </td>
+          </tr>
+          <tr>
+            <th>Jabber Password</th>
+            <td>
+              <input type="password" name="password" value="$notifier.configuration.password"
size="40"/>
+            </td>
+          </tr>
+          <tr>
+            <th>Jabber Recipient</th>
+            <td>
+              <input type="text" name="address" value="$notifier.configuration.address"
size="40"/>
+            </td>
+          </tr>
+          <tr>
+            <th>Is Jabber Group?</th>
+            <td>
+              <input type="check" name="isGroup" value="$notifier.configuration.isGroup"/>
+            </td>
+            ##field( $i18n $data $element $item $formtool )
+            ##validateField( $fvr $element )
+          </tr>
+        </table>
+        #submitBar( "Submit" )
+      </div>
+    </form>
+  </div>
+</div>

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditJabberNotifier.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditJabberNotifier.vm
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditMsnNotifier.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditMsnNotifier.vm?rev=219522&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditMsnNotifier.vm
(added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditMsnNotifier.vm
Mon Jul 18 08:57:57 2005
@@ -0,0 +1,39 @@
+$page.setTitle( "Continuum - MSN Notifier" )
+
+<div class="app">
+  <div id="axial" class="h3">
+    <h3>Edit MSN Notifier</h3>
+    <form method="post" action="$link">
+      #hidden ( "action" "cam" )
+      #hidden ( "cid" "updateNotifier" )
+      #hidden ( "view" "ProjectNotifiers.vm" )
+      #hidden ( "id" $project.id )
+      #hidden ( "notifierType" "jabber" )
+      <div class="axial">
+        <table border="1" cellspacing="2" cellpadding="3" width="100%">
+          <tr>
+            <th>MSN Login</th>
+            <td>
+              <input type="text" name="port" value="$notifier.configuration.login" size="40"/>
+            </td>
+          </tr>
+          <tr>
+            <th>MSN Password</th>
+            <td>
+              <input type="password" name="password" value="$notifier.configuration.password"
size="40"/>
+            </td>
+          </tr>
+          <tr>
+            <th>MSN Recipient</th>
+            <td>
+              <input type="text" name="address" value="$notifier.configuration.address"
size="40"/>
+            </td>
+            ##field( $i18n $data $element $item $formtool )
+            ##validateField( $fvr $element )
+          </tr>
+        </table>
+        #submitBar( "Submit" )
+      </div>
+    </form>
+  </div>
+</div>

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditMsnNotifier.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/EditMsnNotifier.vm
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectNotifiers.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectNotifiers.vm?rev=219522&r1=219521&r2=219522&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectNotifiers.vm
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectNotifiers.vm
Mon Jul 18 08:57:57 2005
@@ -15,18 +15,30 @@
         <td>IRC</td>
         #elseif ( $notifier.type == "mail" )
         <td>Mail</td>
+        #elseif ( $notifier.type == "msn" )
+        <td>MSN</td>
+        #elseif ( $notifier.type == "jabber" )
+        <td>Jabber</td>
         #end
 
         #if ( $notifier.type == "irc" )
         <td><a href="$link.setPage('ViewIrcNotifier.vm').addPathInfo('view','ViewIrcNotifier').addPathInfo('notifierType',
$notifier.type).addPathInfo('id', $project.id)">View</a></td>
         #elseif ( $notifier.type == "mail" )
         <td><a href="$link.setPage('ViewMailNotifier.vm').addPathInfo('view','ViewMailNotifier').addPathInfo('notifierType',
$notifier.type).addPathInfo('id', $project.id)">View</a></td>
+        #elseif ( $notifier.type == "msn" )
+        <td><a href="$link.setPage('ViewMsnNotifier.vm').addPathInfo('view','ViewMsnNotifier').addPathInfo('notifierType',
$notifier.type).addPathInfo('id', $project.id)">View</a></td>
+        #elseif ( $notifier.type == "jabber" )
+        <td><a href="$link.setPage('ViewJabberNotifier.vm').addPathInfo('view','ViewJabberNotifier').addPathInfo('notifierType',
$notifier.type).addPathInfo('id', $project.id)">View</a></td>
         #end
 
         #if ( $notifier.type == "irc" )
         <td><a href="$link.setPage('EditIrcNotifier.vm').addPathInfo('view','EditIrcNotifier').addPathInfo('notifierType',
$notifier.type).addPathInfo('id', $project.id)">Edit</a></td>
         #elseif ( $notifier.type == "mail" )
         <td><a href="$link.setPage('EditMailNotifier.vm').addPathInfo('view','EditMailNotifier').addPathInfo('notifierType',
$notifier.type).addPathInfo('id', $project.id)">Edit</a></td>
+        #elseif ( $notifier.type == "msn" )
+        <td><a href="$link.setPage('EditMsnNotifier.vm').addPathInfo('view','EditMsnNotifier').addPathInfo('notifierType',
$notifier.type).addPathInfo('id', $project.id)">Edit</a></td>
+        #elseif ( $notifier.type == "jabber" )
+        <td><a href="$link.setPage('EditJabberNotifier.vm').addPathInfo('view','EditJabberNotifier').addPathInfo('notifierType',
$notifier.type).addPathInfo('id', $project.id)">Edit</a></td>
         #end
 
         <td><a href="$link.setPage('ProjectNotifiers.vm').addPathInfo('notifierType',
$notifier.type).addPathInfo('action','cam').addPathInfo('cid','deleteNotifier').addPathInfo('id',
$project.id)">Delete</a></td>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/SelectNotifier.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/SelectNotifier.vm?rev=219522&r1=219521&r2=219522&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/SelectNotifier.vm
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/SelectNotifier.vm
Mon Jul 18 08:57:57 2005
@@ -9,6 +9,8 @@
       <select name="formicaRedirect">
         <option value="notificationMail:Add.vm">Mail
         <option value="notificationIrc:Add.vm">IRC
+        <option value="notificationJabber:Add.vm">Jabber
+        <option value="notificationJabber:Add.vm">MSN
       </select>
       <p/>
       <div class="axial">

Added: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewJabberNotifier.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewJabberNotifier.vm?rev=219522&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewJabberNotifier.vm
(added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewJabberNotifier.vm
Mon Jul 18 08:57:57 2005
@@ -0,0 +1,30 @@
+$page.setTitle( "Continuum - Jabber Notifier" )
+
+<div class="app">
+  <div id="axial" class="h3">
+    <h3>Jabber Notifier</h3>
+    <div class="axial">
+      <table border="1" cellspacing="2" cellpadding="3" width="100%">
+        <tr class="b">
+          <th>Jabber Host</th>
+          <td>$notifier.configuration.host</td>
+        </tr>
+        <tr class="b">
+          <th>Jabber Login</th>
+          <td>$notifier.configuration.address</td>
+        </tr>
+        <tr class="b">
+          <th>Jabber Password</th>
+          <td>**********</td>
+        </tr>
+        <tr class="b">
+          <th>Is Jabber Group?</th>
+          <td>$notifier.configuration.isGroup</td>
+        </tr>
+      </table>
+    </div>
+    <div class="functnbar3">
+      <a href="$link.setPage('ProjectNotifiers.vm').addPathInfo('view','ProjectNotifiers').addPathInfo('id',$data.parameters.getString("id"))">Back
to Notifiers</a>
+    </div>
+  </div>
+</div>
\ No newline at end of file

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewJabberNotifier.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewJabberNotifier.vm
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewMsnNotifier.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewMsnNotifier.vm?rev=219522&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewMsnNotifier.vm
(added)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewMsnNotifier.vm
Mon Jul 18 08:57:57 2005
@@ -0,0 +1,26 @@
+$page.setTitle( "Continuum - MSN Notifier" )
+
+<div class="app">
+  <div id="axial" class="h3">
+    <h3>MSN Notifier</h3>
+    <div class="axial">
+      <table border="1" cellspacing="2" cellpadding="3" width="100%">
+        <tr class="b">
+          <th>MSN Login</th>
+          <td>$notifier.configuration.login</td>
+        </tr>
+        <tr class="b">
+          <th>MSN Password</th>
+          <td>**********</td>
+        </tr>
+        <tr class="b">
+          <th>MSN Recipient</th>
+          <td>$notifier.configuration.address</td>
+        </tr>
+      </table>
+    </div>
+    <div class="functnbar3">
+      <a href="$link.setPage('ProjectNotifiers.vm').addPathInfo('view','ProjectNotifiers').addPathInfo('id',$data.parameters.getString("id"))">Back
to Notifiers</a>
+    </div>
+  </div>
+</div>
\ No newline at end of file

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewMsnNotifier.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ViewMsnNotifier.vm
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message