1. 07 Nov, 2011 1 commit
  2. 05 Oct, 2011 1 commit
  3. 31 Aug, 2011 1 commit
  4. 30 Aug, 2011 1 commit
  5. 14 Oct, 2010 1 commit
  6. 01 Feb, 2007 1 commit
  7. 23 Jan, 2007 1 commit
  8. 03 Nov, 2006 1 commit
    • Leigh Stoller's avatar
      Big set of changes intended to solve a couple of problems with long · ff9061d4
      Leigh 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
        code).
      ff9061d4
  9. 23 Jan, 2006 1 commit
  10. 14 Oct, 2005 1 commit
    • Leigh Stoller's avatar
      Noticed that users were not being removed from per-project mailing · 4d7dd46b
      Leigh Stoller authored
      lists.  This (harmless) bug has been around a while; needed to move
      the call to genelists up a level from setgroups to modgroups, since
      that is where we have the information about what groups a user has
      been deleted from, and so can tell genelists to regen those project
      mailing lists.
      4d7dd46b
  11. 30 Sep, 2005 2 commits
  12. 27 Sep, 2005 1 commit
  13. 22 Sep, 2005 1 commit
  14. 20 Sep, 2005 1 commit
    • Leigh Stoller's avatar
      Move all modification of the group_membership table to the backend, · 113bacef
      Leigh 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 ...
      113bacef