You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by cb...@apache.org on 2020/05/30 13:18:46 UTC

[velocity-site] branch asf-site updated: [site/prod] Push minor fixes

This is an automated email from the ASF dual-hosted git repository.

cbrisson pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/velocity-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new f7ea488  [site/prod] Push minor fixes
f7ea488 is described below

commit f7ea4880747963293021a2bdbc2de0803c46cca0
Author: Claude Brisson <cl...@renegat.net>
AuthorDate: Sat May 30 15:18:39 2020 +0200

    [site/prod] Push minor fixes
---
 .htaccess               |  26 ++++++++++++
 engine/2.1/changes.html | 103 +-----------------------------------------------
 index.html              |   7 +++-
 tools/3.0/changes.html  |  26 +-----------
 4 files changed, 35 insertions(+), 127 deletions(-)

diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..3896f1a
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,26 @@
+Options +FollowSymLinks
+RewriteEngine on
+
+Redirect 301 /anakia/devel/ /anakia/
+Redirect 301 /devel/ /
+Redirect 301 /dvsl/devel/ /dvsl/
+Redirect 301 /engine/1.7/changes-report.html /engine/1.7/changes.html
+Redirect 301 /engine/1.7/jar-dependencies.html /engine/1.7/dependencies.html
+Redirect 301 /engine/1.7/javadoc /engine/1.7/apidocs
+Redirect 301 /engine/1.7/vtl-reference-guide.html /engine/1.7/vtl-reference.html
+Redirect 301 /engine/devel/changes-report.html /engine/devel/changes.html
+Redirect 301 /engine/devel/jar-dependencies.html /engine/devel/dependencies.html
+Redirect 301 /engine/devel/javadoc /engine/devel/apidocs
+Redirect 301 /engine/devel/vtl-reference-guide.html /engine/devel/vtl-reference.html
+Redirect 301 /engine/releases/velocity-1.7/ /engine/1.7/
+Redirect 301 /team-list.html /who-we-are.html
+Redirect 301 /texen/devel/ /texen/
+Redirect 301 /tools/releases/2.0/ /tools/2.0/
+Redirect 301 /tools/2.0/javadoc /tools/2.0/apidocs
+Redirect 301 /tools/2.0/view.servlet.html /tools/2.0/view-servlet.html
+Redirect 301 /tools/devel/javadoc /tools/devel/apidocs
+Redirect 301 /tools/devel/view.servlet.html /tools/devel/view-servlet.html
+
+<FilesMatch "\.rss$">
+  ForceType application/rss+xml
+</FilesMatch>
diff --git a/engine/2.1/changes.html b/engine/2.1/changes.html
index ce97a9f..68f7386 100644
--- a/engine/2.1/changes.html
+++ b/engine/2.1/changes.html
@@ -236,11 +236,6 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
     </thead>
     <tbody>
       <tr>
-        <td>2.2</td>
-        <td>2020-02-02</td>
-        <td/>
-      </tr>
-      <tr>
         <td>2.1</td>
         <td>2019-03-15</td>
         <td/>
@@ -313,101 +308,7 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
     </tbody>
   </table>
 </p>
-<h3>Release 2.2 - 2020-02-02</h3><p>
-  <table class="standard">
-    <thead>
-      <tr>
-        <th>Type</th>
-        <th>Changes</th>
-        <th>Bye</th>
-      </tr>
-    </thead>
-    <tbody>
-      <tr>
-        <td/>
-        <td> Deprecated 2.1 flag <code> velocimacro.arguments.preserve_literals </code> in favor of the new <code> valocimacro_enable_bc_mode </code> flag, which will also, like 1.7 does, use global context values as defaults for missing macro arguments which do not have an explicit default value. . </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/fix.png"/>
-        </td>
-        <td> Fixed regression: Macro arguments names cannot collide with external references names . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-926">VELOCITY-926</a>. </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/fix.png"/>
-        </td>
-        <td> Fixed macro calls without parenthesis eating the following newline in BC mode . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-925">VELOCITY-925</a>. </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/fix.png"/>
-        </td>
-        <td> Fixed bad cache handling for java.lang.Class methods . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-924">VELOCITY-924</a>. </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/fix.png"/>
-        </td>
-        <td> Fixed parser regression when || follow a Velocity expression . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-923">VELOCITY-923</a>. </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/add.png"/>
-        </td>
-        <td> Added BigInteger and BigDecimal implicit conversions . </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/fix.png"/>
-        </td>
-        <td> Fixed abnormal suppression of zero-width whitespaces . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-919">VELOCITY-919</a>. </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/add.png"/>
-        </td>
-        <td> Added an example of how to build a customized parser where the '#', '$', '*' and '@' can be replaced by any character . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-917">VELOCITY-917</a>. </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/add.png"/>
-        </td>
-        <td> Added the <code> runtime.log.track_locations </code> debugging flag (disabled by default), which: <ul>  <li> display a VTL stack trace on any error </li>  <li> Implement template location tracking with slf4j MDC tags: Once activated, an MDC-aware logger will be able to display the <code> file </code> , <code> line </code> and <code> column </code> MDC tags </li>  </ul>  . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-916">VELOCITY-916</a>. </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/add.png"/>
-        </td>
-        <td> Added the following 1.7.x backward compatibility flags: <ul>  <li><code> event_handler.invalid_references.quiet </code> - warn on invalid quiet references </li>  <li><code> event_handler.invalid_references.null </code> - warn on null references </li>  <li><code> event_handler.invalid_references.tested </code> - warn on invalid references tested with <code> #if() </code></li>  </ul> Those three flags are false by default, but can be set to true to mimic 1.7.x behavior . Fixes [...]
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/fix.png"/>
-        </td>
-        <td> Introspection: favor non-vararg methods on ambiguities as does the Java compiler . </td>
-        <td>cbrisson</td>
-      </tr>
-      <tr>
-        <td>
-          <img src="images/fix.png"/>
-        </td>
-        <td> Also allow hyphen in subproperties when the corresponding backward compatibility flag is on . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-912">VELOCITY-912</a>. </td>
-        <td>cbrisson</td>
-      </tr>
-    </tbody>
-  </table>
-</p><h3>Release 2.1 - 2019-03-15</h3><p>
+<h3>Release 2.1 - 2019-03-15</h3><p>
   <table class="standard">
     <thead>
       <tr>
@@ -421,7 +322,7 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
         <td>
           <img src="images/fix.png"/>
         </td>
-        <td> Reorganization of configuration properties key names, for clarity and consistency, see the <a href="configuration-property-changes-in-2.1.html"> table of correspondance </a>  . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-909">VELOCITY-909</a>. </td>
+        <td> Reorganization of configuration properties key names, for clarity and consistency, see the <a href="configuration-property-changes-in-2.1.html"> table of correspondance </a> . . Fixes <a href="https://issues.apache.org/jira/browse/VELOCITY-909">VELOCITY-909</a>. </td>
         <td>cbrisson</td>
       </tr>
       <tr>
diff --git a/index.html b/index.html
index 22e9580..45032fc 100644
--- a/index.html
+++ b/index.html
@@ -24,7 +24,12 @@
     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
     <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
 
-    <link rel="stylesheet" type="text/css" href="/css/site.css">    
+    <link rel="stylesheet" type="text/css" href="/css/site.css">
+
+    
+
+    
+    
   </head>
 
   <body>
diff --git a/tools/3.0/changes.html b/tools/3.0/changes.html
index 6532611..1895683 100644
--- a/tools/3.0/changes.html
+++ b/tools/3.0/changes.html
@@ -221,11 +221,6 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
     </thead>
     <tbody>
       <tr>
-        <td>3.1</td>
-        <td>Not yet released</td>
-        <td/>
-      </tr>
-      <tr>
         <td>3.0</td>
         <td>2018-10-01</td>
         <td/>
@@ -273,26 +268,7 @@ h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
     </tbody>
   </table>
 </p>
-<h3>Release 3.1 - Not yet released</h3><p>
-  <table class="standard">
-    <thead>
-      <tr>
-        <th>Type</th>
-        <th>Changes</th>
-        <th>Bye</th>
-      </tr>
-    </thead>
-    <tbody>
-      <tr>
-        <td>
-          <img src="images/add.png"/>
-        </td>
-        <td> Added an optional 'factory' attribute to tools with the classname of a factory for creating new tools instances . </td>
-        <td>cbrisson</td>
-      </tr>
-    </tbody>
-  </table>
-</p><h3>Release 3.0 - 2018-10-01</h3><p>
+<h3>Release 3.0 - 2018-10-01</h3><p>
   <table class="standard">
     <thead>
       <tr>