james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [6/7] james-jdkim git commit: JAMES-1852 JDkim should also have a fancy menu
Date Thu, 04 May 2017 02:46:15 GMT
JAMES-1852 JDkim should also have a fancy menu


Project: http://git-wip-us.apache.org/repos/asf/james-jdkim/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-jdkim/commit/5a39c6e0
Tree: http://git-wip-us.apache.org/repos/asf/james-jdkim/tree/5a39c6e0
Diff: http://git-wip-us.apache.org/repos/asf/james-jdkim/diff/5a39c6e0

Branch: refs/heads/master
Commit: 5a39c6e079c85ee5109f4c4a6baaa4dec03272ca
Parents: feb3292
Author: benwa <btellier@linagora.com>
Authored: Thu Oct 27 13:17:21 2016 +0200
Committer: benwa <btellier@linagora.com>
Committed: Wed May 3 15:17:54 2017 +0700

----------------------------------------------------------------------
 .../site/resources/images/asf-logo-reduced.gif  | Bin 6636 -> 0 bytes
 .../site/resources/images/james-jdkim-logo.gif  | Bin 8111 -> 0 bytes
 mailets/src/site/site.xml                       |  30 ---------
 mailets/src/site/xdoc/index.xml                 |  64 -------------------
 .../site/resources/images/asf-logo-reduced.gif  | Bin 6636 -> 0 bytes
 .../site/resources/images/james-jdkim-logo.gif  | Bin 8111 -> 0 bytes
 main/src/site/site.xml                          |  30 ---------
 main/src/site/xdoc/index.xml                    |  43 -------------
 src/site/site.xml                               |  22 +++----
 src/site/xdoc/mailets/index.xml                 |  64 +++++++++++++++++++
 src/site/xdoc/main/index.xml                    |  43 +++++++++++++
 11 files changed, 118 insertions(+), 178 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/mailets/src/site/resources/images/asf-logo-reduced.gif
----------------------------------------------------------------------
diff --git a/mailets/src/site/resources/images/asf-logo-reduced.gif b/mailets/src/site/resources/images/asf-logo-reduced.gif
deleted file mode 100644
index 93cc102..0000000
Binary files a/mailets/src/site/resources/images/asf-logo-reduced.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/mailets/src/site/resources/images/james-jdkim-logo.gif
----------------------------------------------------------------------
diff --git a/mailets/src/site/resources/images/james-jdkim-logo.gif b/mailets/src/site/resources/images/james-jdkim-logo.gif
deleted file mode 100644
index 9855e02..0000000
Binary files a/mailets/src/site/resources/images/james-jdkim-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/mailets/src/site/site.xml
----------------------------------------------------------------------
diff --git a/mailets/src/site/site.xml b/mailets/src/site/site.xml
deleted file mode 100644
index d3f59bf..0000000
--- a/mailets/src/site/site.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.    
--->
-<project name="James jDKIM">
-  <body>
-    <!-- 
-    <menu name="jDKIM Mailets">
-      <item name="Overview" href="/index.html"/>
-    </menu>
-    -->
-    
-    <menu ref="reports" />
-  </body>
-</project>

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/mailets/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/mailets/src/site/xdoc/index.xml b/mailets/src/site/xdoc/index.xml
deleted file mode 100644
index 9487b45..0000000
--- a/mailets/src/site/xdoc/index.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!-- 
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
- -->
-<document>
-    <properties>
-        <title>jDKIM Mailets</title>
-    </properties>
-    <body>
-        <section name="Java DKIM Mailets">
-		<p>At the moment the mailet package includes 2 mailets: ConvertTo7Bit and DKIMSign</p>
-		<p>ConvertTo7Bit is simply required because when DKIM signing we have to make sure
that 
-		   the MTAs involved in the delivery of our message won't alter the byte stream of our
-		   signed message and 7bit messages are more likely to be transported without 
-		   further conversions. So, make sure to use ConvertTo7Bit just before DKIMSign mailet.</p>
-		<p>DKIMSign is the signing mailet. Make sure you use this one as the last mailet
before 
-		delivery otherwise further JavaMail interactions with a signed message would lead in a

-		broken signature.</p>
-		<p>Here is a sample configuration for DKIMSign</p>
-		<p><code><pre>
-&lt;mailet match=&quot;All&quot; class=&quot;DKIMSign&quot;&gt;
-  &lt;signatureTemplate&gt;v=1; s=selector; d=example.com; h=from:to:received:received;
a=rsa-sha256; bh=; b=;&lt;/signatureTemplate&gt;
-  &lt;privateKey&gt;
-    -----BEGIN RSA PRIVATE KEY-----
-    MIICXAIBAAKBgQDYDaYKXzwVYwqWbLhmuJ66aTAN8wmDR+rfHE8HfnkSOax0oIoT
-    M5zquZrTLo30870YMfYzxwfB6j/Nz3QdwrUD/t0YMYJiUKyWJnCKfZXHJBJ+yfRH
-    r7oW+UW3cVo9CG2bBfIxsInwYe175g9UjyntJpWueqdEIo1c2bhv9Mp66QIDAQAB
-    AoGBAI8XcwnZi0Sq5N89wF+gFNhnREFo3rsJDaCY8iqHdA5DDlnr3abb/yhipw0I
-    /1HlgC6fIG2oexXOXFWl+USgqRt1kTt9jXhVFExg8mNko2UelAwFtsl8CRjVcYQO
-    cedeH/WM/mXjg2wUqqZenBmlKlD6vNb70jFJeVaDJ/7n7j8BAkEA9NkH2D4Zgj/I
-    OAVYccZYH74+VgO0e7VkUjQk9wtJ2j6cGqJ6Pfj0roVIMUWzoBb8YfErR8l6JnVQ
-    bfy83gJeiQJBAOHk3ow7JjAn8XuOyZx24KcTaYWKUkAQfRWYDFFOYQF4KV9xLSEt
-    ycY0kjsdxGKDudWcsATllFzXDCQF6DTNIWECQEA52ePwTjKrVnLTfCLEG4OgHKvl
-    Zud4amthwDyJWoMEH2ChNB2je1N4JLrABOE+hk+OuoKnKAKEjWd8f3Jg/rkCQHj8
-    mQmogHqYWikgP/FSZl518jV48Tao3iXbqvU9Mo2T6yzYNCCqIoDLFWseNVnCTZ0Q
-    b+IfiEf1UeZVV5o4J+ECQDatNnS3V9qYUKjj/krNRD/U0+7eh8S2ylLqD3RlSn9K
-    tYGRMgAtUXtiOEizBH6bd/orzI9V9sw8yBz+ZqIH25Q=
-    -----END RSA PRIVATE KEY-----
-  &lt;/privateKey&gt;
-&lt;/mailet&gt;
- 		</pre></code></p>
- 		<p>If your PEM file is password encrypted then you can add a privateKeyPassword
argument
- 		to the mailet</p>
-        </section>
-    </body>
-</document>

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/main/src/site/resources/images/asf-logo-reduced.gif
----------------------------------------------------------------------
diff --git a/main/src/site/resources/images/asf-logo-reduced.gif b/main/src/site/resources/images/asf-logo-reduced.gif
deleted file mode 100644
index 93cc102..0000000
Binary files a/main/src/site/resources/images/asf-logo-reduced.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/main/src/site/resources/images/james-jdkim-logo.gif
----------------------------------------------------------------------
diff --git a/main/src/site/resources/images/james-jdkim-logo.gif b/main/src/site/resources/images/james-jdkim-logo.gif
deleted file mode 100644
index 9855e02..0000000
Binary files a/main/src/site/resources/images/james-jdkim-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/main/src/site/site.xml
----------------------------------------------------------------------
diff --git a/main/src/site/site.xml b/main/src/site/site.xml
deleted file mode 100644
index 2014bbf..0000000
--- a/main/src/site/site.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.    
--->
-<project name="James jDKIM">
-  <body>
-    <!-- 
-    <menu name="jDKIM library">
-      <item name="Overview" href="/index.html"/>
-    </menu> 
-    -->
-    
-    <menu ref="reports" />
-  </body>
-</project>

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/main/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/main/src/site/xdoc/index.xml b/main/src/site/xdoc/index.xml
deleted file mode 100644
index 94ac64e..0000000
--- a/main/src/site/xdoc/index.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!-- 
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
- -->
-<document>
-    <properties>
-        <title>jDKIM Library</title>
-    </properties>
-    <body>
-        <section name="Java DKIM Library">
-		<p>This is a DKIM implementation library written in Java.</p>
-		<p>The architecture is interface based and pluggable. You can tweak it almost in
every behaviour.</p>
-		<p>The architecture is thought to handle multiple signatures with performance in
mind: body hashing
-for multiple signatures is computed concurrently in a single stream run.
-		</p>
-		<p>The whole internal verification/signing is dove via OutputStream leaving much
more flexibility than
-the use of InputStream. As the InputStream approach is easier from the user side the default
-implementation simply prepare the OutputStream and copy the supplied InputStream to the OutputStream.</p>
-
-<p>In order to reduce depencencies and to not reinvent the wheel the resulting library
includes a
-"shaded" version of the commons-codec 1.4 classes needed to do Base64 encoding/decoding.</p>
-		
-        </section>
-    </body>
-</document>

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
index 5c1ecb2..3e0ff57 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -64,17 +64,17 @@
 
 
       <menu name="jDKIM" inherit="top">
-    	<item name="Project" href="http://james.apache.org/jdkim/index.html" />
-    	<item name="Library" href="http://james.apache.org/jdkim/main/index.html" />
-    	<item name="Mailets" href="http://james.apache.org/jdkim/mailets/index.html" />
-    </menu>
-    
-    <menu ref="reports" />
-    
-    <menu name="Related Projects">
-    	<item name="jSPF" href="http://james.apache.org/jspf/index.html" />
-    	<item name="DKIM Javamail" href="http://dkim-javamail.sourceforge.net" />
-    	<item name="JavaDKIM" href="http://www.badpenguin.co.uk/dkim/" />
+    	<item name="Overview" href="/index.html" />
+    	<item name="Library" href="/main/index.html" />
+    	<item name="Mailets" href="/mailets/index.html" />
+        <item name="Issue Tracker" href="https://issues.apache.org/jira/browse/JDKIM"
/>
+        <item name="Related Projects" href="/index.html" collapse="true">
+          <item name="jSPF" href="http://james.apache.org/jspf/index.html" />
+          <item name="DKIM Javamail" href="http://dkim-javamail.sourceforge.net" />
+          <item name="JavaDKIM" href="http://www.badpenguin.co.uk/dkim/" />
+        </item>
+        <item name="Download Releases" href="http://james.apache.org/download.cgi#Apache_jDKIM"/>
     </menu>
+
   </body>
 </project>

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/src/site/xdoc/mailets/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/mailets/index.xml b/src/site/xdoc/mailets/index.xml
new file mode 100644
index 0000000..9487b45
--- /dev/null
+++ b/src/site/xdoc/mailets/index.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- 
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+ -->
+<document>
+    <properties>
+        <title>jDKIM Mailets</title>
+    </properties>
+    <body>
+        <section name="Java DKIM Mailets">
+		<p>At the moment the mailet package includes 2 mailets: ConvertTo7Bit and DKIMSign</p>
+		<p>ConvertTo7Bit is simply required because when DKIM signing we have to make sure
that 
+		   the MTAs involved in the delivery of our message won't alter the byte stream of our
+		   signed message and 7bit messages are more likely to be transported without 
+		   further conversions. So, make sure to use ConvertTo7Bit just before DKIMSign mailet.</p>
+		<p>DKIMSign is the signing mailet. Make sure you use this one as the last mailet
before 
+		delivery otherwise further JavaMail interactions with a signed message would lead in a

+		broken signature.</p>
+		<p>Here is a sample configuration for DKIMSign</p>
+		<p><code><pre>
+&lt;mailet match=&quot;All&quot; class=&quot;DKIMSign&quot;&gt;
+  &lt;signatureTemplate&gt;v=1; s=selector; d=example.com; h=from:to:received:received;
a=rsa-sha256; bh=; b=;&lt;/signatureTemplate&gt;
+  &lt;privateKey&gt;
+    -----BEGIN RSA PRIVATE KEY-----
+    MIICXAIBAAKBgQDYDaYKXzwVYwqWbLhmuJ66aTAN8wmDR+rfHE8HfnkSOax0oIoT
+    M5zquZrTLo30870YMfYzxwfB6j/Nz3QdwrUD/t0YMYJiUKyWJnCKfZXHJBJ+yfRH
+    r7oW+UW3cVo9CG2bBfIxsInwYe175g9UjyntJpWueqdEIo1c2bhv9Mp66QIDAQAB
+    AoGBAI8XcwnZi0Sq5N89wF+gFNhnREFo3rsJDaCY8iqHdA5DDlnr3abb/yhipw0I
+    /1HlgC6fIG2oexXOXFWl+USgqRt1kTt9jXhVFExg8mNko2UelAwFtsl8CRjVcYQO
+    cedeH/WM/mXjg2wUqqZenBmlKlD6vNb70jFJeVaDJ/7n7j8BAkEA9NkH2D4Zgj/I
+    OAVYccZYH74+VgO0e7VkUjQk9wtJ2j6cGqJ6Pfj0roVIMUWzoBb8YfErR8l6JnVQ
+    bfy83gJeiQJBAOHk3ow7JjAn8XuOyZx24KcTaYWKUkAQfRWYDFFOYQF4KV9xLSEt
+    ycY0kjsdxGKDudWcsATllFzXDCQF6DTNIWECQEA52ePwTjKrVnLTfCLEG4OgHKvl
+    Zud4amthwDyJWoMEH2ChNB2je1N4JLrABOE+hk+OuoKnKAKEjWd8f3Jg/rkCQHj8
+    mQmogHqYWikgP/FSZl518jV48Tao3iXbqvU9Mo2T6yzYNCCqIoDLFWseNVnCTZ0Q
+    b+IfiEf1UeZVV5o4J+ECQDatNnS3V9qYUKjj/krNRD/U0+7eh8S2ylLqD3RlSn9K
+    tYGRMgAtUXtiOEizBH6bd/orzI9V9sw8yBz+ZqIH25Q=
+    -----END RSA PRIVATE KEY-----
+  &lt;/privateKey&gt;
+&lt;/mailet&gt;
+ 		</pre></code></p>
+ 		<p>If your PEM file is password encrypted then you can add a privateKeyPassword
argument
+ 		to the mailet</p>
+        </section>
+    </body>
+</document>

http://git-wip-us.apache.org/repos/asf/james-jdkim/blob/5a39c6e0/src/site/xdoc/main/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/main/index.xml b/src/site/xdoc/main/index.xml
new file mode 100644
index 0000000..2d2f1d5
--- /dev/null
+++ b/src/site/xdoc/main/index.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- 
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+ -->
+<document>
+    <properties>
+        <title>jDKIM Library</title>
+    </properties>
+    <body>
+        <section name="Java DKIM Library">
+            <p>This is a DKIM implementation library written in Java.</p>
+            <p>The architecture is interface based and pluggable. You can tweak it
almost in every behaviour.</p>
+            <p>The architecture is thought to handle multiple signatures with performance
in mind: body hashing
+                for multiple signatures is computed concurrently in a single stream run.
+            </p>
+            <p>The whole internal verification/signing is dove via OutputStream leaving
much more flexibility than
+                the use of InputStream. As the InputStream approach is easier from the user
side the default
+                implementation simply prepare the OutputStream and copy the supplied InputStream
to the OutputStream.</p>
+
+            <p>In order to reduce depencencies and to not reinvent the wheel the resulting
library includes a
+                "shaded" version of the commons-codec 1.4 classes needed to do Base64 encoding/decoding.</p>
+
+        </section>
+    </body>
+</document>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message