1. 04 Apr, 2003 2 commits
  2. 03 Apr, 2003 6 commits
    • Chad Barb's avatar
      · 7052d029
      Chad Barb authored
      Did some editing,
      and incorporated recent changes in group mechanism.
      7052d029
    • Robert Ricci's avatar
      Oops, forgot some vertical whitespace. · 1e967eed
      Robert Ricci authored
      1e967eed
    • Robert Ricci's avatar
      28f8bc6b
    • 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
    • Chad Barb's avatar
      · 765de560
      Chad Barb authored
      Added new feature 'Experiment Modify'.
      Now available (to admins only for now) from the showexp page.
      
      Warning! doing a modify which alters the topology will probably
      require a "reboot all nodes" afterwards.
      (There will be a checkbox soon in the modify experiment page.)
      
      Adding/removing delay nodes seems to work fine without reboots, though.
      
      Warning! If the new version of the experiment cannot be mapped
       (not enough nodes available, for instance) the experiment will be
       swapped out! This will get fixed later.
      
      Prerun backs up the experiment topology, so using a bad NS
      file doesn't result in experiment termination.
      
      As part of this, added library functions to libdb to
      delete, backup, and restore both virtual and physical experiment state.
      765de560
    • Leigh B. Stoller's avatar
      Commit more text. · 950c0048
      Leigh B. Stoller authored
      950c0048
  3. 02 Apr, 2003 5 commits
    • Chad Barb's avatar
      · 12f70d03
      Chad Barb authored
      Site-specific header graphic for gatech.
      12f70d03
    • Mac Newbold's avatar
      Massive reworking of our structure for defs files. · 09eb5852
      Mac Newbold authored
      Before:
      The main defs file (ie for configure) had an entry for WWWDEFS that
      pointed to a <@WWWDEFS@>-defs.php3 file in the www/ directory. The www
      defs file loaded some values about web pages, URLs, and some web
      configuration parameters.
      
      Problem:
      Anything that was only in the www defs file was not accessible in the rest
      of the universe (ie perl, C, and any other non-web-page scripts). For
      instance, you couldn't have a perl script send an email to a user with a
      link to the web site.
      
      Solution:
      Nuke all the www-defs files, move any important values into the main
      configure, and change the web defs infrastructure to respect that. This
      also meant adding about 3 lines each to all of the configure defs files.
      (There really are about 10 new values you can change in your defs file,
      but in almost all cases, the default values are the right thing.)
      
      Upgrading:
      External sites will need to move a few variables from their www-defs file
      into their configure defs file. The example file should make it pretty
      obvious. They may also want to customize some of the other vars that are
      mentioned in configure.in and www/defs.php3.in .
      09eb5852
    • Mac Newbold's avatar
      When we show an expt that has gotten swap requests, show how many its had · 4e4bee51
      Mac Newbold authored
      and when the last one was sent.
      4e4bee51
    • Mac Newbold's avatar
      Fix the subject line. Now we get something like this: · b5993a43
      Mac Newbold authored
      Subject: EMULAB.NET: 5 PCs idle 3 hours: gtecho/bar
      b5993a43
    • Leigh B. Stoller's avatar
  4. 01 Apr, 2003 1 commit
  5. 29 Mar, 2003 2 commits
    • Mac Newbold's avatar
      5d808cca
    • Leigh B. Stoller's avatar
      Add target_pid,target_gid arguments to joinproject page so that · 26bccd9e
      Leigh B. Stoller authored
      we can send links that cause those fields to be filled in for people.
      Add those links to email generated by newproject and newgroup pages
      so that they can be saved by the leaders.
      
      Add a bit of referrer magic to login page. When clicked from the join
      or new project pages, tell login page to pass along the referrer page
      so that when login is complete, user is zapped back to the original
      page. This is especially nice when combined with the above change to
      joinproject, whereby we send along the target pid/gid, but the user
      has not yet logged in and remembers to do so via the link at the top
      of the page.
      26bccd9e
  6. 28 Mar, 2003 2 commits
  7. 27 Mar, 2003 7 commits
  8. 26 Mar, 2003 5 commits
    • Mac Newbold's avatar
      Fix up the swap request message to use the new slothd info. Now it says · 3556ab99
      Mac Newbold authored
      how long they've been idle and what the time of last activity was on their
      nodes. And now do proper wordwrapping on the message instead of static
      apriori newline placement.
      
      Also add the ability to do some formatting on the idle time to those
      functions, and use it to make the swap request message a little better.
      ("H hours, M minutes" instead of "X.Y hours").
      3556ab99
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Minor fix to the pid/gid default code. · bbfdfbc4
      Leigh B. Stoller authored
      bbfdfbc4
    • 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
    • Mac Newbold's avatar
      First big commit/checkpoint of web changes for new slothd. · 52396569
      Mac Newbold authored
       - Added a bunch of functions to get time of last activity, hours idle,
         and staleness for nodes and experiments.
       - Fixed the showexp_list page to use the new idle measures, including
         idle view. Idle view now runs in about 1.3 seconds instead of 13.
       - Changed all the "show" functions for nodes and expts to show idleness.
      
      More changes will be coming, but I wanted to commit this before I install
      it for real.
      52396569
  9. 25 Mar, 2003 5 commits
  10. 24 Mar, 2003 3 commits
    • Mac Newbold's avatar
      Fix redundant X-NetBed header. · 16107959
      Mac Newbold authored
      16107959
    • Leigh B. Stoller's avatar
      Fix some broken links. · ff5c6af8
      Leigh B. Stoller authored
      ff5c6af8
    • Mac Newbold's avatar
      Remove a check that no longer works right. Before, if slothd said it was · a8636777
      Mac Newbold authored
      idle but someone logged in sometime today, it meant that someone had
      logged in since the most recent slothd report (up to an hour ago). Now
      that our time of idleness is much lower than 24 hours, it is easy for
      someone to have logged in today and still have it be idle. So remove the
      check.
      
      This means that you should wait at least an hour from the time you send a
      message before you swap it out, to make sure that your data was correct
      when you sent the message. Not optimal, but fixed with the new slothd that
      goes in this week.
      a8636777
  11. 23 Mar, 2003 1 commit
  12. 22 Mar, 2003 1 commit