jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r905901 - in /incubator/jspwiki/trunk: ChangeLog src/java/org/apache/wiki/Release.java src/java/org/apache/wiki/auth/AuthenticationManager.java src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java
Date Wed, 03 Feb 2010 05:30:08 GMT
Author: ajaquith
Date: Wed Feb  3 05:30:07 2010
New Revision: 905901

URL: http://svn.apache.org/viewvc?rev=905901&view=rev
Log:
Miscellaneous cleanup.

Modified:
    incubator/jspwiki/trunk/ChangeLog
    incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java
    incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/AuthenticationManager.java
    incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java

Modified: incubator/jspwiki/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=905901&r1=905900&r2=905901&view=diff
==============================================================================
--- incubator/jspwiki/trunk/ChangeLog (original)
+++ incubator/jspwiki/trunk/ChangeLog Wed Feb  3 05:30:07 2010
@@ -1,3 +1,32 @@
+2010-02-02 Andrew Jaquith <ajaquith AT apache DOT org>
+
+        * 3.0.0-svn-202
+
+        * [JSPWIKI-578] Eliminated top-level JSPs for Edit.jsp,
+        Preview.jsp, CreateProfile.jsp, Login.jsp, LoginForm.jsp,
+        LostPassword.jsp, and UserPreferences.jsp and consolidated
+        the markup into the template JSPs.
+
+        * Preview is now a tab, and its contents refresh automatically
+        when it is clicked based on the editor's contents.
+        This replaces "live" or "sneak" preview. It looks good
+        and works well. Related: a new EventResolution class
+        now exists to help events methods return AJAX that
+        stripes-support.js understands.
+        
+        * TabbedSectionTag gains an onclick() attribute that
+        passes contents through to the underlying <div>. This
+        feature is super-useful and enables the new preview
+        functionality. Refactored TabTag to make it simpler.
+
+        * Moved injection of JSTL variables ${wikiEngine}
+        and ${wikiSession} to SessionMonitor, so that they
+        are always present even if Stripes isn't involved.
+
+        * Fixed a bug in TemplateManager that was preventing
+        resources underneath the top-level templates directory
+        from being found.
+
 2010-01-30 Andrew Jaquith <ajaquith AT apache DOT org>
 
         * 3.0.0-svn-201 aka the JSP Consolidation Checkin

Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=905901&r1=905900&r2=905901&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Wed Feb  3 05:30:07 2010
@@ -77,7 +77,7 @@
      *  <p>
      *  If the build identifier is empty, it is not added.
      */
-    public static final String     BUILD         = "201";
+    public static final String     BUILD         = "202";
 
     /**
      *  This is the generic version string you should use

Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/AuthenticationManager.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/AuthenticationManager.java?rev=905901&r1=905900&r2=905901&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/AuthenticationManager.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/auth/AuthenticationManager.java Wed Feb
 3 05:30:07 2010
@@ -639,6 +639,15 @@
     }
     
     /**
+     *  {@see #allowsCookieAuthentication()}
+     *  @return <code>true</code> if cookies are allowed for authentication
+     */
+    public boolean isCookieAuthenticated()
+    {
+        return m_allowsCookieAuthentication;
+    }
+    
+    /**
      * Determines whether the supplied Principal is a "role principal".
      * @param principal the principal to test
      * @return <code>true</code> if the Principal is of type

Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java?rev=905901&r1=905900&r2=905901&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java Wed Feb
 3 05:30:07 2010
@@ -132,9 +132,9 @@
      * creates a new {@link Inspection} that inspects each ActionBean property
      * indicated by the {@link SpamProtect#content()}. The
      * {@link InspectionPlan} for the Inspection is obtained by calling
-     * {@link SpamInspectionPlan#getInspectionPlan(WikiEngine)}
-     * . If any of the modifications are determined to be spam, a Stripes
-     * {@link ValidationError} is added to the ActionBeanContext.
+     * {@link SpamInspectionPlan#getInspectionPlan(WikiEngine)}.
+     * If any of the modifications are determined to be spam, a Stripes
+     * global {@link ValidationError} is added to the ActionBeanContext.
      * 
      * @return always returns {@code null}
      */
@@ -206,7 +206,8 @@
      * Retrieves the encrypted parameter {@link #CHALLENGE_REQUEST_PARAM} from
      * the HTTP request and returns its value. If the parameter is not found in
      * the request, we assume that the request was made by a spammer or other
-     * naughty person, and the method returns {@link org.apache.wiki.content.inspect.Challenge.State#MISSING_STATE}.
+     * naughty person, and the method returns
+     * {@link org.apache.wiki.content.inspect.Challenge.State#MISSING_STATE}.
      * Otherwise, the value of the parameter is decrypted and returned. This
      * method is guaranteed to return a non-{@code null} value.
      * 



Mime
View raw message