1. 19 Sep, 2005 1 commit
    • Leigh B. Stoller's avatar
      Move all modification of the group_membership table to the backend, · cfba1ac7
      Leigh B. Stoller authored
      into a single new script call modgroups. Usage:
      
      	modgroups [-a pid:gid:trust[,pid:gid:trust]...]
                        [-m pid:gid:trust[,pid:gid:trust]...]
                        [-r pid:gid[,pid:gid]...] user
      
      So, -a to add groups, -r to remove groups, and -m to modify the trust
      value for a member of a group.
      
      The reason for doing this is that previously, we had no idea in the
      backend what group changes actually happened; we just knew what the
      current groups are. This make it hard to add and remove users from
      mailing lists, chat server buddy lists, etc. This is cleaner ...
      cfba1ac7
  2. 31 May, 2005 1 commit
  3. 04 Mar, 2004 1 commit
  4. 30 Sep, 2003 1 commit
  5. 12 May, 2003 1 commit
  6. 05 May, 2003 1 commit
  7. 28 Apr, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add support for new {user,group,project,experiment}_stats tables. · 5e5508bf
      Leigh B. Stoller authored
      The first three are aggregate tables, while the experiment stats table
      gets a record for each new experiment, and is updated when an
      experiment is swapped in/out/modify or terminated. Look at the table
      to see what is tracked. Once the experiment_stats record is updated,
      the aggregate tables are updated as necessary. There are a bunch of
      ugly changes to assign_wrapper to get the stats. Note that pnodes is
      not incremented until an experiment sucessfully swaps in. This is in
      leu of getting status codes; I'm not tracking failed operations yet,
      nor creating the log file that Jay wants. I'll do that in the next
      round of changes when we see how useful these numbers are.
      
      Most of the changes are to create/delete table entries where
      appropriate, and to display the records. Display is only under admin
      mode, and the display is raw; just a dump of the assoc tables in php.
      The last 100 experiment stats records are available via the Experiment
      List page, using the "Stats" show option at the top. Bad place, but
      will do for now.
      5e5508bf
  8. 13 Feb, 2003 1 commit
  9. 24 Jan, 2003 1 commit
    • Leigh B. Stoller's avatar
      Proper rmuser script. Dump the old rmacct-ctrl (finally!) and replace · 6f56ae18
      Leigh B. Stoller authored
      with script to delete a user, either from a single project or from
      the entire testbed. All of the DB stuff is done in the script; the web
      interface no longer does anything but error checks. This is because
      removing a user requires some finess in when things are removed, and
      if there are any failures I wanted to make sure that the script could
      be rerun on a user, without barfing. Generally though, this is part of
      my trend to moving DB work from the web interface into the backend.
      6f56ae18