Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/admin Broadcast.java MessageManager.java OneHit.java OneHit.properties SiteStatus.java SiteStatus.properties TestURL.java TimingProfile.java TimingProfile.properties

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/admin Broadcast.java MessageManager.java OneHit.java OneHit.properties SiteStatus.java SiteStatus.properties TestURL.java TimingProfile.java TimingProfile.properties

Author commitlogger at hocus dot collab dot net
Full name commitlogger at hocus dot collab dot net
Date 2000-04-15 11:38:24 PDT
Message User: dlr
  Date: 00/04/15 11:38:24

  Modified: java/org/joist/admin Broadcast.java MessageManager.java
                        OneHit.java OneHit.properties SiteStatus.java
                        SiteStatus.properties TestURL.java
                        TimingProfile.java TimingProfile.properties
  Log:
  sourceXchange functionality merge.
  
  Revision Changes Path
  1.4 +5 -5 joist/java/org/joist​/admin/Broadcast.jav​a
  
  Index: Broadcast.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/Broadcas​t.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Broadcast.java 2000/02/29 01:23:56 1.3
  +++ Broadcast.java 2000/04/15 18:38:23 1.4
  @@ -63,7 +63,7 @@
     * Allows an administrator to enter a message to be broadcast to all users.
     *
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​,
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
    * Copyright (c) 1999, 2000 Collab.Net, Inc.
  @@ -115,12 +115,12 @@
           }
   
           // Display the timing profile information
  - if ((action.equals("View")) ||
  - (action.equals("none")))
  + if (action.equals("View") ||
  + action.equals("none"))
           {
           checkForViewPermissi​on(userPerms);
  - context.put("broadcastMessage",
  - mMgr.getBroadcastMes​sage(connection));
  + context.put("broadcastMessage",
  + mMgr.getBroadcastMes​sage(connection));
           }
       }
       catch (Exception e)
  
  
  
  1.4 +3 -2 joist/java/org/joist​/admin/MessageManage​r.java
  
  Index: MessageManager.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/MessageM​anager.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MessageManager.java 2000/02/29 01:23:56 1.3
  +++ MessageManager.java 2000/04/15 18:38:23 1.4
  @@ -62,7 +62,7 @@
     * Manages Messages, including adding, retrieving, updating, and deleting.
     *
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
    * Copyright (c) 1999, 2000 Collab.Net, Inc.
  @@ -180,7 +180,8 @@
   
       try
       {
  - stmt.executeUpdate( "delete from Message where messageID=" + messageID);
  + stmt.executeUpdate("delete from Message where messageID=" +
  + messageID);
       }
       catch (SQLException e)
       {
  
  
  
  1.4 +3 -4 joist/java/org/joist​/admin/OneHit.java
  
  Index: OneHit.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/OneHit.j​ava,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- OneHit.java 2000/02/29 01:23:56 1.3
  +++ OneHit.java 2000/04/15 18:38:23 1.4
  @@ -63,10 +63,10 @@
     * A servlet to test the minimum time to hit the database once.
     *
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​,
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
  - * Copyright (c) 1999, 2000 Collab.Net, Inc.
  + * Copyright (c) 1999, 2000 Collab.Net, Inc.
     */
   
   public class OneHit extends UnsecureServlet
  @@ -106,13 +106,12 @@
           if (stmt != null) stmt.close();
           }
       }
  - catch(SQLException e)
  + catch (SQLException e)
       {
           throw new HandlerException(e.g​etMessage());
       }
   
       context.put("ID", id);
  -
   
       if (debug) log.debug("OneHit: exit");
   
  
  
  
  1.3 +1 -0 joist/java/org/joist​/admin/OneHit.proper​ties
  
  Index: OneHit.properties
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/OneHit.p​roperties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- OneHit.properties 2000/01/30 13:00:34 1.2
  +++ OneHit.properties 2000/04/15 18:38:23 1.3
  @@ -1,3 +1,4 @@
   permission=NA
   servletTemplate=admin/OneHit.wm
   servletName=OneHit
  +displayName=One Hit
  
  
  
  1.4 +2 -3 joist/java/org/joist​/admin/SiteStatus.ja​va
  
  Index: SiteStatus.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/SiteStat​us.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SiteStatus.java 2000/02/29 01:23:56 1.3
  +++ SiteStatus.java 2000/04/15 18:38:23 1.4
  @@ -65,10 +65,10 @@
     * Displays current timing profiles
     *
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​,
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
  - * Copyright (c) 1999, 2000 Collab.Net, Inc.
  + * Copyright (c) 1999, 2000 Collab.Net, Inc.
     */
   
   public class SiteStatus extends SecureServlet
  @@ -95,7 +95,6 @@
       // Determine which button was pushed
       String action = (String) context.get("action");
       if (debug) log.debug("SiteStatus: action=" + action);
  -
   
       // Handle the button request
       try
  
  
  
  1.3 +1 -0 joist/java/org/joist​/admin/SiteStatus.pr​operties
  
  Index: SiteStatus.properties
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/SiteStat​us.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SiteStatus.properties 2000/01/30 13:00:34 1.2
  +++ SiteStatus.properties 2000/04/15 18:38:23 1.3
  @@ -1,3 +1,4 @@
   permission=OReilly Admin - Site Status
   servletTemplate=admi​n/SiteStatus.wm
   servletName=SiteStatus
  +displayName=Site Status
  
  
  
  1.4 +7 -6 joist/java/org/joist​/admin/TestURL.java
  
  Index: TestURL.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/TestURL.​java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestURL.java 2000/02/29 01:23:56 1.3
  +++ TestURL.java 2000/04/15 18:38:23 1.4
  @@ -65,10 +65,10 @@
     * Displays current timing profiles
     *
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​,
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
  - * Copyright (c) 1999, 2000 Collab.Net, Inc.
  + * Copyright (c) 1999, 2000 Collab.Net, Inc.
     */
   
   public class TestURL extends SecureServlet
  @@ -110,7 +110,8 @@
       while (pNames.hasMoreElements())
       {
           String pName = (String) pNames.nextElement();
  - log.debug("Parameter " + pName + ": " + req.getParameterValues(pName));
  + log.debug("Parameter " + pName + ": " +
  + req.getParameterValues(pName));
       }
       log.debug("getAuthType(): " + req.getAuthType());
       log.debug("getMethod(): " + req.getMethod());
  @@ -143,8 +144,8 @@
           }
   
           // Display the timing profile information
  - if ((action.equals("View")) ||
  - (action.equals("none")))
  + if (action.equals("View") ||
  + action.equals("none"))
           {
           checkForViewPermissi​on(userPerms);
           context.put("timingProfile", Trace.getFormattedTotals());
  @@ -153,7 +154,7 @@
       catch (Exception e)
       {
           log.exception(e);
  - String message ="TestURL: " + e.getMessage();
  + String message = "TestURL: " + e.getMessage();
           if (debug) log.debug(message);
           throw new HandlerException(message);
       }
  
  
  
  1.4 +8 -5 joist/java/org/joist​/admin/TimingProfile​.java
  
  Index: TimingProfile.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/TimingPr​ofile.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TimingProfile.java 2000/02/29 01:23:56 1.3
  +++ TimingProfile.java 2000/04/15 18:38:23 1.4
  @@ -65,10 +65,10 @@
     * Displays current timing profiles
     *
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​,
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
  - * Copyright (c) 1999, 2000 Collab.Net, Inc.
  + * Copyright (c) 1999, 2000 Collab.Net, Inc.
     */
   
   public class TimingProfile extends SecureServlet
  @@ -109,8 +109,8 @@
           }
   
           // Display the timing profile information
  - if ((action.equals("View")) ||
  - (action.equals("none")))
  + if (action.equals("View") ||
  + action.equals("none"))
           {
           checkForViewPermissi​on(userPerms);
           context.put("timingProfile", Trace.getFormattedTotals());
  @@ -119,7 +119,7 @@
       catch (Exception e)
       {
           log.exception(e);
  - String message ="TimingProfile: " + e.getMessage();
  + String message = "TimingProfile: " + e.getMessage();
           if (debug) log.debug(message);
           throw new HandlerException(message);
       }
  @@ -133,6 +133,9 @@
       /**
        * Checks for the permission required to reset Timing Profiles
        * If the permission is not granted, send to UnauthorizedAccess.
  + * <br>TODO: All (or most) of the classes in this package (admin) need to
  + * decend from a base class which has these permission checks for OReilly
  + * Admin status as methods.
        *
        * @exception RedirectException
        */
  
  
  
  1.3 +1 -0 joist/java/org/joist​/admin/TimingProfile​.properties
  
  Index: TimingProfile.properties
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/admin/TimingPr​ofile.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TimingProfile.properties 2000/01/30 13:00:34 1.2
  +++ TimingProfile.properties 2000/04/15 18:38:23 1.3
  @@ -1,3 +1,4 @@
   permission=OReilly Admin - Site Status
   servletTemplate=admi​n/TimingProfile.wm
   servletName=TimingProfile
  +displayName=Timing Profile

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/admin Broadcast.java MessageManager.java OneHit.java OneHit.properties SiteStatus.java SiteStatus.properties TestURL.java TimingProfile.java TimingProfile.properties commitlogger at hocus dot collab dot net commitlogger at hocus dot collab dot net 2000-04-15 11:38:24 PDT
Messages per page: