1. 11 Apr, 2003 1 commit
    • Chad Barb's avatar
      · a0248828
      Chad Barb authored
      Added site variables ('sitevars').
      These are stored in the sitevariables database table.
      Each one has a name, a description (NOT OPTIONAL!), a
      default value, and a current value.
      If the current value is NULL, the default value is used.
      
      Soon, a mechanism will be added to the install process to
      ensure all needed site variables exist before installing;
      more on that when it is committed.
      
       - Added 'editsitevars.php3' page, accessable to admins
         via the 'Edit Site Variables' menu option.
      
       - Added 'setsitevar' script,
         an interface for listing, viewing in detail, and setting
         site variables.
      
       - Web interface now uses 'web/nologins' and 'web/message'
         instead of one-off database tables.
      
      NOTE that setting a variable to the default value and
      setting a variable to a value which is string-identical
      are NOT the same thing.
      (This doesn't matter yet, but when we push default values out to
       remote sites as part of our install, it will.)
      a0248828
  2. 04 Apr, 2003 2 commits
    • Chad Barb's avatar
      · c78d9503
      Chad Barb authored
      Added uid to generated date on pages, as per Leigh's request;
      
      When not logged in:
      "Generated <date>."
      
      When logged in:
      "Generated for <uid>, <date>."
      c78d9503
    • Chad Barb's avatar
      · 72996a4d
      Chad Barb authored
      One order of "prominent Request Account link" comin' up....
      72996a4d
  3. 03 Apr, 2003 1 commit
    • Chad Barb's avatar
      · fbf11432
      Chad Barb authored
      New 'blog-like news system.
      Should make it easier to keep up with news updates!
      Since:
        1. Doesn't require editing news.html in the CVS tree and
           recopying it/reinstalling just to add a news item.
        2. Doesn't involve editing menu.php3,
           since the modified date and "new" icon is automatic now.
        3. Looks nicer.
      
      Also, it is based off the db, so other sites can have other news,
      which they can maintain independently.
      
      There are of course, neat features that have been suggested that
      could go with this, such as message updates and automatic
      mailing list mailings of news, but those don't exist yet...
      fbf11432
  4. 26 Mar, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add "gid" slot to the images table for changing permission scheme from · 4c56daf6
      Leigh B. Stoller authored
      only pid, to pid/gid like most other things in the testbed. Also add a
      "global" slot to denote images that are globally available to all
      projects (system images). The older "shared" attribute is now used to
      denote images that are shared within a project (available to all
      subgroups in the project). The migration path for existing DBs is
      given in the migrate file. Be sure to run those commands on an
      existing testbed or things will break!
      
      www/newimageid, www/newimageid_ez: A bunch of changes for
      shared/global attributes. Added a group menu to the form so users can
      create images in subgroups. Beefed up the Java code that constructs
      the path name to use the gid, shared, and global attributes of the
      form to give the user the best possible path that we can. Improved the
      pathname checking code so that we do not allow just any old path in
      case the user elects to disregard the path we carefully constructed
      for them. Also check the proj/group membership, and setup defaults for
      users that have permission in just one pid/gid to create images.
      
      libdb.in: Changed permission check in TBImageIDAccessCheck() to
      reflect shared/global attribute changes.
      
      os_load: Get rid of test that checked path of the image. The path
      checking is done in the web interface anyway, so why duplicate in 4
      places. Other minor changes reflecting shared->global name change.
      Also note that images can come from the group directory now.
      
      create_image: Get rid of test that checked path of the image. The path
      checking is done in the web interface anyway, so why duplicate in 4
      places. Also note that images can come from the group directory now.
      
      www/dbdefs: Changed permission check in TBImageIDAccessCheck() to
      reflect shared/global attribute changes.
      
      www/showimageid_list, www/showstuff: Minor global/shared attribute
      changes.
      
      www/menu: Change osids/imageids pointer to point to the image list,
      not the osid list. This is more reasonable for mere users who have
      access to the EZ form, and thus never really need to concern
      themselves with osids.
      
      www/editimageid: Add proper pathname checking. There were no checks at
      all before!
      4c56daf6
  5. 25 Mar, 2003 1 commit
  6. 04 Mar, 2003 1 commit
    • Chad Barb's avatar
      · 155f7bfd
      Chad Barb authored
      De-"new!"-ification.
      Added a "COOL" menu option, which puts up a gold star, without
      lying. (e.g., for Join Netbed)
      155f7bfd
  7. 28 Feb, 2003 1 commit
    • Chad Barb's avatar
      · 4dda599c
      Chad Barb authored
      Added thumbnail (2x as large as the one which shows up in the list) to showexp page.
      Added heading to vis(shownsfile), showexp and showproj pages, to more readily identify what you're looking at.
      Added links from thumbnails to vis(shownsfile) page.
      Added submenu hackiness to menu.php3 to allow embedding of things into left panel below submenu.
      Removed "red letter" legend and PC  summary from bottom of thumbnail view.
      4dda599c
  8. 06 Feb, 2003 1 commit
  9. 16 Jan, 2003 1 commit
  10. 08 Jan, 2003 1 commit
  11. 28 Dec, 2002 1 commit
  12. 23 Dec, 2002 1 commit
  13. 09 Dec, 2002 1 commit
  14. 27 Nov, 2002 1 commit
  15. 22 Nov, 2002 1 commit
  16. 09 Sep, 2002 1 commit
    • Chad Barb's avatar
      · b7b80ddf
      Chad Barb authored
      Added way to differentiate different testbeds...
      overlay.emulab.net.gif is used for main emulab
      overlay.mini.emulab.net.gif is for mini (it makes it apparent you are on mini.)
      We'll make one for uky, too.
      b7b80ddf
  17. 26 Aug, 2002 3 commits
  18. 24 Aug, 2002 2 commits
  19. 22 Aug, 2002 2 commits
  20. 18 Aug, 2002 1 commit
  21. 17 Aug, 2002 1 commit
  22. 16 Aug, 2002 1 commit
    • Chad Barb's avatar
      · 60529980
      Chad Barb authored
      The big one.
      
      New look;
      most of the changes are in menu.php3.
      
      A lot of the changes in other files are s/<TD>/<TH>/
      for table headers.
      
      Also closed some tags, tweaked some table styles, etc..
      
      No actual functionality should have changed.
      
      Will be installing soon...
      60529980
  23. 15 Aug, 2002 1 commit
  24. 25 Jul, 2002 1 commit
  25. 17 Jul, 2002 1 commit
  26. 10 Jul, 2002 1 commit
  27. 09 Jul, 2002 1 commit
  28. 07 Jul, 2002 1 commit
  29. 27 Jun, 2002 1 commit
  30. 12 Jun, 2002 1 commit
  31. 07 Jun, 2002 1 commit
  32. 05 Jun, 2002 1 commit
  33. 04 Jun, 2002 1 commit
  34. 02 Jun, 2002 1 commit
    • Leigh B. Stoller's avatar
      Merge reserved.php3 functionality into nodecontrol_list.php3, · a34a1dd4
      Leigh B. Stoller authored
      conditionalized on isadmin() status. These pages were mostly
      overlapping anyway, and the nodecontrol_list.php3 page was done more
      cleanly. No point in all the duplication. Dropped the Node Control
      menu item from the list.
      Add explicit "widearea" view to get remote nodes in their own page,
      instead of listed after all the PCs. Also some minor formatting
      changes.
      a34a1dd4
  35. 29 May, 2002 1 commit
    • Leigh B. Stoller's avatar
      A couple of small changes to prevent the "No Data" errors that · 86c0ffa5
      Leigh B. Stoller authored
      netscape gives when logged in using another browser. Most of the
      problems stems from the desire to allow users to refer to the main
      page in http mode even when logged in. I want to draw the menu as if
      logged in, but have the actual pages demand https mode. I'm also
      trying to catch the case where users have turned off cookies. I think
      Mac's idea is the way to go, but I don't want to mess with it right
      now. These changes will avoid the worst problem.
      86c0ffa5