You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by mo...@apache.org on 2003/10/29 22:35:14 UTC

cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/navigations/html top.vm

morciuch    2003/10/29 13:35:14

  Modified:    .        README
               src/java/org/apache/jetspeed/modules/actions JLoginUser.java
               webapp/WEB-INF/templates/jsp/navigations/html
                        top_default.jsp
               webapp/WEB-INF/templates/vm/navigations/html top.vm
  Log:
  Applied patch by Stuart Belden for confirmation code for new user not saved on validation (see Bugzilla bug# 22603).
  
  Also, adjusted the top navigation templates to not show the Create New User link unless 'newuser.confirm.enable' is true.
  
  Revision  Changes    Path
  1.25      +8 -0      jakarta-jetspeed/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/README,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- README	13 Oct 2003 19:47:21 -0000	1.24
  +++ README	29 Oct 2003 21:35:14 -0000	1.25
  @@ -118,6 +118,14 @@
   
   5. Auto-login feature does not work when using localhost for the host name. A real domain name must be used or an alias must be created in hosts file (for example: 127.0.0.1 -> www.localhost.com).
   
  +6. The setAttribute does not work with no-cache option for dbpsml (see Bugzilla bug# 21063).
  +
  +7. You may get a compile error on BaseLDAPObject in Japanese enviroment (see Bugzilla bug# 19488).
  +
  +8. You may get schema violation on OpenLDAP 2.1.12 (see Bugzilla bug# 18694).
  +
  +9. XML encoding parsing in URLFetcher may fail if 'encoding="' uses a single quote or if there's space before or after '=' (see Bugzilla bug# 13255).
  +
   ==============================================
   Tested configurations for release 1.4b5
   ==============================================
  
  
  
  1.37      +1 -0      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/JLoginUser.java
  
  Index: JLoginUser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/JLoginUser.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- JLoginUser.java	23 Jul 2003 19:50:10 -0000	1.36
  +++ JLoginUser.java	29 Oct 2003 21:35:14 -0000	1.37
  @@ -243,6 +243,7 @@
                
               user.setConfirmed( JetspeedResources.CONFIRM_VALUE );
               data.setMessage (Localization.getString(rundata, "JLOGINUSER_WELCOME"));
  +            JetspeedSecurity.saveUser(user);
           }
           
           JetspeedUser user = null;
  
  
  
  1.3       +2 -1      jakarta-jetspeed/webapp/WEB-INF/templates/jsp/navigations/html/top_default.jsp
  
  Index: top_default.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/jsp/navigations/html/top_default.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- top_default.jsp	4 Dec 2002 15:40:24 -0000	1.2
  +++ top_default.jsp	29 Oct 2003 21:35:14 -0000	1.3
  @@ -50,7 +50,8 @@
               <%}%>
               <tr>
                 <td align="center" colspan="3">
  -                <%if( JetspeedResources.getBoolean("topnav.user_creation.enable") == true) { %>
  +                <%if( JetspeedResources.getBoolean("topnav.user_creation.enable") == true &&
  +                      JetspeedResources.getBoolean("newuser.confirm.enable") == true ) { %>
                   <a href="<jetspeed:link template="NewAccount"/>" style="font-size:10"><jetspeed:l10n key="TOP_CREATENEWACCOUNT"/></a>
                   &nbsp;|&nbsp;
                   <%}%>
  
  
  
  1.22      +1 -1      jakarta-jetspeed/webapp/WEB-INF/templates/vm/navigations/html/top.vm
  
  Index: top.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/navigations/html/top.vm,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- top.vm	5 Jun 2003 18:25:28 -0000	1.21
  +++ top.vm	29 Oct 2003 21:35:14 -0000	1.22
  @@ -128,7 +128,7 @@
               #end
               <tr>
                 <td align="center" colspan="3">
  -                #if( $config.getBoolean("topnav.user_creation.enable") == true)
  +                #if( $config.getBoolean("topnav.user_creation.enable") == true && $config.getBoolean("newuser.confirm.enable") == true)
                   <a href="$jslink.setTemplate("NewAccount")" style="font-size:10">$l10n.TOP_CREATENEWACCOUNT</a>
                   &nbsp;|&nbsp;
                   #end
  
  
  

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