1. 22 May, 2002 12 commits
    • Leigh B. Stoller's avatar
      A large set of authorization changes. · d2360b6d
      Leigh B. Stoller authored
      * Cleanup! A lot of the structure derived from the early frame days,
        which had a noticable (and bad) effect on how I wrote the stuff.  I
        cleaned up most of that yuckyness.
      * In process, optimize a little bit on the queries. The old code did
        about 9 queries just to write out the menu options, and then
        repeated most of those queries again in the page guts. I've
        consolidated the queries as much as possible (to 3) and cache all
        the results.
      * Fix up problem with users who forget their passwords before
        verification. Basically, I fixed the more general problem of not
        being able to update your user info before verification/approval;
        users now get that menu option no matter their status.
      * Fix up problem of users being able to access pages before
        verification (but after approval) by going around the menu options.
        The page level check (after the menu is drawn) now checks all
        conditions (password expired, unverified, unapproved, timedout, and
        also nologins()).
      * Minor change in approveuser; do not show the new account to the
        project leader until the new user has verified his account.
      * Change verification method, as reqwuested by Dave.  In addition to
        providing the key, also provide a web link to take the user straight
        to verification. I actually take them direct to the login page, and
        pass the key in as an argument. If the user is already logged in,
        bypass and go directly to the verify page (not the form page of
        course).  If the user is not logged in, let him log in, and then
        forward the key onward to the verify page. Basically, bypass the
        form all the time, and just do the verification.
      * Minor change in showuser; Do not show pid/groups not approved in,
        and if the count is zero, do not draw the table headings.
    • Kirk Webb's avatar
      This commit includes a script to clean old idle data from the emulab · 3bfcfe9f
      Kirk Webb authored
      database (iddata_clean), and a script to generate fake idle entries for
      testing scripts on the minibed (idloadup.pl).
      iddata_clean, by default, removes all idle entries older than 36 hours.
      This can be changed by providing -m <maxage> (in seconds) to it.
      idloadup.pl adds random idle data at time offsets from now, to 5 days
      prior (1 sec granularity).  It adds anywhere from 1 to 10 entries per
      PC to the node_idlestats page, and from 1 - 10 x # interfaces to
      the iface_counters table.
    • Leigh B. Stoller's avatar
      Commit my big TODO list. · 30fa4cb7
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Two performance additions. 1) Use the -e option to mysqldump to turn · c2602c3e
      Leigh B. Stoller authored
      of "fast insert" mode. That option plus a couple of others makes
      duplicating the DB 3-4x faster.
      Add a DB table of tables to prune out of the copy before creating the
      clean DB. There is a lot of stuff in the DB that is not needed for the
      testsuite, and the constant copies churn the DB for little reason.
    • Leigh B. Stoller's avatar
      Delete nsfiles in tbend. Need to remove the deletion from other · 2af54eb9
      Leigh B. Stoller authored
      various redundant spots though.
    • Robert Ricci's avatar
      Add some robustness: Be more paranoid about trusing the switch's · ef75095f
      Robert Ricci authored
      return value on VLAN creation. If it reports success, we look for the
      VLAN with findVlan(), to make sure it's really there. We retry a
      couple times if it didn't work. This will add a small (sub-second)
      time penalty per VLAN created.
      We ran into one instance, that we've noticed, where the switch
      reported that VLAN creation succeeded, but the VLAN did not actually
      get created on the switch.
    • Mac Newbold's avatar
      Change default idledays from 3 to 2, and don't show the swap request button if... · d6547f36
      Mac Newbold authored
      Change default idledays from 3 to 2, and don't show the swap request button if the expt is marked unswappable. (I'll mark things unswappable as necessary for special expts, even if the original creator doesn't.
    • Leigh B. Stoller's avatar
      A table of tables to preen in the testsuite to cut down on the db · 6d53addf
      Leigh B. Stoller authored
      size. Works nicely!
    • Leigh B. Stoller's avatar
    • Chad Barb's avatar
      Added report of CPU time, from getrusage(), when running with "-v -v". · 6d881a09
      Chad Barb authored
      (Added for my timing tests.)
    • Mike Hibler's avatar
  2. 21 May, 2002 8 commits
  3. 20 May, 2002 2 commits
  4. 17 May, 2002 6 commits
  5. 16 May, 2002 12 commits