1. 06 Jun, 2008 2 commits
    • Nigel McNie's avatar
      Implement a cron job to delete old session files. Fixes #570. · 299c850a
      Nigel McNie authored
      We haven't been clearing out session files since I first chose to make us hash the session directory back in 2006. Talk about a timebomb...
      
      The cron job uses `find' and `xargs' to do the removing. These tools are required on debian (as part of findutils), and are installed in /usr/bin. I haven't bothered with a configuration directive for specifying a path to them for now, but that might be necessary later.
      (cherry picked from commit 335d66a7)
      299c850a
    • Nigel McNie's avatar
      Make usernames unique over their lowercase values, and put validation in... · 7c7ed40b
      Nigel McNie authored
      Make usernames unique over their lowercase values, and put validation in everywhere so two users can't do this again.
      
      Usernames _are_ meant to be case insensitive in the system. But at no point where users could be created (except for XMLRPC users), was this actually being enforced. So eventually someone actually did this, which caused login for both users to break.
      
      Now, all entry points for new users are checked to make sure users can't claim names whose lowercase value is the same as another user. And on postgres, we now have a unique index over LOWER(username). This isn't possible in MySQL, so MySQL users miss out (yet again).
      7c7ed40b
  2. 23 Mar, 2008 1 commit
  3. 04 Mar, 2008 1 commit
  4. 20 Feb, 2008 1 commit
  5. 16 Feb, 2008 2 commits
  6. 14 Feb, 2008 2 commits
  7. 12 Feb, 2008 1 commit
  8. 25 Jan, 2008 1 commit
  9. 24 Jan, 2008 2 commits
  10. 14 Jan, 2008 1 commit
  11. 21 Dec, 2007 1 commit
  12. 14 Dec, 2007 1 commit
  13. 09 Dec, 2007 1 commit
  14. 06 Dec, 2007 1 commit
  15. 04 Dec, 2007 2 commits
  16. 26 Nov, 2007 1 commit
  17. 25 Nov, 2007 1 commit
  18. 23 Nov, 2007 4 commits
  19. 22 Nov, 2007 2 commits
  20. 21 Nov, 2007 2 commits
    • Penny Leach's avatar
      8ee29cca
    • Nigel McNie's avatar
      A few changes: · 34d39a90
      Nigel McNie authored
       * Up the memory limit to 64M. The 16M limit was hit when migrating a 600 view Mahara, so I don't imagine 64M will be hit in the wild
       * Move the installation of the blockinstancecommit event to before the view migration. This is so that such events can be fired safely by blockinstances that are being committed
       * Install _all_ of the blocktypes when upgrading
      34d39a90
  21. 20 Nov, 2007 5 commits
  22. 19 Nov, 2007 1 commit
  23. 30 Oct, 2007 2 commits
  24. 26 Oct, 2007 1 commit
  25. 24 Oct, 2007 1 commit