1. 24 Aug, 2009 1 commit
  2. 02 Jul, 2009 2 commits
  3. 14 Jun, 2009 2 commits
  4. 12 Feb, 2009 1 commit
  5. 26 Aug, 2008 1 commit
  6. 06 Jun, 2008 1 commit
    • 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
  7. 04 Mar, 2008 1 commit
  8. 03 Mar, 2008 1 commit
  9. 16 Feb, 2008 2 commits
  10. 15 Feb, 2008 1 commit
  11. 13 Feb, 2008 1 commit
  12. 12 Feb, 2008 1 commit
  13. 30 Jan, 2008 1 commit
  14. 24 Jan, 2008 1 commit
  15. 22 Jan, 2008 1 commit
  16. 21 Dec, 2007 1 commit
  17. 10 Dec, 2007 2 commits
  18. 04 Dec, 2007 1 commit
  19. 03 Dec, 2007 1 commit
  20. 29 Nov, 2007 5 commits
  21. 26 Nov, 2007 1 commit
  22. 25 Nov, 2007 1 commit
  23. 21 Nov, 2007 1 commit
  24. 26 Oct, 2007 1 commit
  25. 17 Sep, 2007 1 commit
  26. 13 Sep, 2007 1 commit
  27. 25 Aug, 2007 1 commit
  28. 20 Aug, 2007 1 commit
  29. 17 Aug, 2007 1 commit
    • Nigel McNie's avatar
      Change to how table names are specified in SQL queries. · 250cf34d
      Nigel McNie authored
      Now, table names (and other identifiers that could be confused with SQL kewords), should be put into SQL like this:
      
      SELECT * FROM {artefact}
      
      The braces are matched and expanded by DML now to include the prefix and be properly quoted, which means that tables like 'view' and 'group' don't need renaming (and nor should they, there's little reason why we should rename tables to get around such constraints).
      
      This has removed a whole bunch of $prefix = ... and get_config('dbprefix') stuff, which makes things a little simpler yet again.
      250cf34d
  30. 22 Jun, 2007 1 commit
  31. 04 Jun, 2007 2 commits