1. 20 Jan, 2017 1 commit
  2. 15 Nov, 2016 1 commit
  3. 14 Nov, 2016 1 commit
  4. 18 Oct, 2016 1 commit
  5. 24 Feb, 2014 1 commit
  6. 19 Jul, 2013 1 commit
  7. 09 Jul, 2013 1 commit
  8. 03 Apr, 2013 1 commit
  9. 28 Mar, 2013 1 commit
    • sam marshall's avatar
      MDL-26956 (1) Library: Move search SQL function to datalib · b2ec866f
      sam marshall authored
      This function used to be in the user selector, but it is useful in
      other areas where we want to search for users as it handles a number
      of search options (including extra fields, etc.) and returns SQL
      which can be included in a joined query.
      
      A unit test has been added to check the results of these searches.
      b2ec866f
  10. 16 Mar, 2013 1 commit
  11. 12 Mar, 2013 1 commit
  12. 07 Nov, 2012 1 commit
  13. 05 Oct, 2012 1 commit
  14. 04 Oct, 2012 1 commit
  15. 27 Sep, 2012 1 commit
    • Tim Hunt's avatar
      MDL-34657 user sorting: consistent sorting everywhere. · 9695ff81
      Tim Hunt authored
      This commit coverts everything in the codebase to use the new
      users_order_by_sql function when sorting lists of users. More details in
      the bug.
      
      Note that this does not change places where users are displayed in a
      sortable table, and the sort order comes from the table.
      9695ff81
  16. 24 Aug, 2012 1 commit
  17. 18 Aug, 2012 1 commit
  18. 26 Jul, 2012 1 commit
  19. 19 Jul, 2012 1 commit
  20. 06 Jul, 2012 1 commit
  21. 20 Jan, 2012 1 commit
    • Marina Glancy's avatar
      MDL-31072: Fixed bug causing memory overflow for many-user systems: · 037ef684
      Marina Glancy authored
      when function find_users was supposed to be used for user validation but no userids were passed to it, it retrieved all users in the system.
      This caused memory overflow on systems with too many users (like moodle.org).
      Now we make sure that find_users is not called for validation if there is nobody to validate.
      
      Also improved query inside find_users to make it work faster
      037ef684
  22. 13 Jan, 2012 1 commit
    • Marina Glancy's avatar
      MDL-31072: Fixed bug causing memory overflow for many-user systems: · 3c2ed2d7
      Marina Glancy authored
      when function find_users was supposed to be used for user validation but no userids were passed to it, it retrieved all users in the system.
      This caused memory overflow on systems with too many users (like moodle.org).
      Now we make sure that find_users is not called for validation if there is nobody to validate.
      
      Also improved query inside find_users to make it work faster
      3c2ed2d7
  23. 04 Nov, 2011 1 commit
    • sam marshall's avatar
      MDL-26647 (1) 'extrauserselectorfields' -> 'showuseridentity', add capability · 5c60a847
      sam marshall authored
      This change:
      - Renames the existing setting 'extrauserselectorfields' to 'showuseridentity'
        in preparation for using it in more places. (Upgrade change, new version.)
      - Adds a new capability moodle/site:viewuseridentity, now required in order
        to see the extra fields; if you don't have the capability, you don't see them
      - Slightly improves the display of extra fields in user selector list; it used
        to be like 'sam marshall, 01234567, email@address' and is now
        'sam marshall [01234567, email@address]' ie the fields are in square
        brackets
      - Turns feature on for the group selector - the feature was enabled for other
        user selectors but not for the group selector. Tim did the disable code, he
        thinks this may be to do with more people having access to group selector -
        probably not a problem now it is controlled by capability.
      5c60a847
  24. 05 Sep, 2011 1 commit
  25. 29 Aug, 2011 1 commit
  26. 18 Aug, 2011 1 commit
  27. 14 Apr, 2011 1 commit
  28. 22 Jan, 2011 1 commit
  29. 26 Oct, 2010 1 commit
  30. 20 Sep, 2010 1 commit
  31. 17 Sep, 2010 1 commit
  32. 04 Sep, 2010 1 commit
  33. 25 Aug, 2010 1 commit
  34. 30 Jul, 2010 1 commit
  35. 23 Jul, 2010 1 commit
  36. 21 Jun, 2010 1 commit
    • Petr Skoda's avatar
      MDL-21782 reworked enrolment framework, the core infrastructure is in place,... · df997f84
      Petr Skoda authored
      MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
      
      AMOS START
          MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
          MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
          MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
          MOV [enrolenddate,core],[enrolenddate,enrol_self]
          CPY [welcometocourse,core],[welcometocourse,enrol_self]
          CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
          MOV [notenrollable,core],[notenrollable,core_enrol]
          MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
          MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
          MOV [coursemanager,core_admin],[coursecontact,core_admin]
          MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
          MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
          MOV [enrolme,core],[enrolme,core_enrol]
          MOV [unenrol,core],[unenrol,core_enrol]
          MOV [unenrolme,core],[unenrolme,core_enrol]
          MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
          MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
          MOV [enrolments,core],[enrolments,core_enrol]
          MOV [enrolperiod,core],[enrolperiod,core_enrol]
          MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
      AMOS END
      df997f84
  37. 31 Mar, 2010 1 commit
  38. 23 Mar, 2010 1 commit
  39. 19 Jan, 2010 1 commit
  40. 21 Dec, 2009 1 commit