1. 05 Jan, 2007 1 commit
    • Leigh B. Stoller's avatar
      Several fixes/changes: · 54705b2b
      Leigh B. Stoller authored
      * The unix group and gid are actuallt part of the group structure, not
        the project. So, when we load a project, load its default group as
        well, and have the routines for the name/gid hand off to the group.
      * Change Lookup() to allow either a new idx or an old pid by looking
        at the format of the token. This will make it easier to transition
        to the new order of things.
      * Part of the uncommitted uid changes is the addition of head_idx to
        replace head_uid. This code change is okay to commit now, since for
        the time being idx will shadow uid in all tables.
  2. 03 Nov, 2006 1 commit
    • Leigh B. Stoller's avatar
      Big set of changes intended to solve a couple of problems with long · ff9061d4
      Leigh B. Stoller authored
      term archiving of firstclass objects like users, projects, and of
      course templates.
      * Projects, Users, and Groups are now uniquely identified inside the
        DB by a index value that will not be reused. If necessary, this
        could easily be a globally unique identifier, but without federation
        there is no reason to do that yet.
      * Currently, pid, gid, and uid still need to be locally unique until
        all of the changes are in place (which is going to take a fairly
        long time since the entire system operates in terms of those, except
        for the few places that I had to change to get the ball rolling).
      * We currently archive deleted users to the deleted_users table (their
        user_stats are kept forever since they are indexed by the new index
        column). Eventually do the same with projects (not sure about
        groups) but since we rarely if ever delete a project, there is no
        rush on this one.
      * At the same time, I have started a large reorg of the code, to move
        all of the user, group, project code into modules, both in php and
        perl, turning them into first class "objects" (as far as that goes
        in php and perl). Eventually, the number of query statements
        scattered around the code will be manageable, or so I hope.
      * Another related part of this reorg is to make it easier to move the
        new user/project/group code in the perl backend so that it can be
        made available via the xmlrpc interface (without duplication of the
  3. 26 Oct, 2006 1 commit