Ilya Tregubov
4355e38e88
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle
2023-09-15 16:56:22 +08:00
hieuvu
a3da58a9cb
MDL-78312 core_user: add an 'exact match only' option
2023-09-13 20:22:22 +07:00
sam marshall
5e72715e4f
MDL-71099 Lib: Move new user_fields class from core to core_user
...
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.
Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:47:23 +00:00
sam marshall
558cc1b85e
MDL-45242 Lib: Replace calls to deprecated functions
...
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Janek Lasocki-Biczysko
0bb7f79d31
MDL-51401 enrol: ensures correct order of roles in UI components
...
Role sort order was not available in the UI (in JavaScript) due to
the use of PHP assoc arrays and JSON encoding/decoding. This patch
addresses this by sending the roles in a json array, rather than
json object.
2016-10-07 08:30:25 +01:00
Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Petr Škoda
31ac2aef26
MDL-39386 fix phpdocs packages in enrol
2013-04-27 13:41:32 +02:00
Petr Škoda
d2f3c5c58d
MDL-38180 do not add links for enrol and other users candidates
2013-03-17 22:21:27 +01:00
Aparup Banerjee
84c04ff295
Merge branch 'MDL-35776' of git://github.com/timhunt/moodle
2012-10-09 11:53:12 +08:00
Tim Hunt
e059c033d9
MDL-35802 enrol other users: should use Show user identity setting.
...
As part of fixing this, I refactored some common code out of
get_potential_users and search_other_users. Previously, only one of
those bits of code had been updated.
2012-10-05 12:07:26 +01:00
Tim Hunt
13bd955e65
MDL-35776 user ajax: fix sort order in chrome.
...
It seems that Chrome orders fields of objects in order of array key.
Therefore we must stop using user.id in the PHP arrays, and instead
ensure that we use sequential numbers.
This commit fixes the enrol UI.
2012-10-03 19:06:17 +01:00
Petr Škoda
005e57a225
MDL-35052 show all enrolled users in enrol UI included those enrolled via disabled plugins
2012-08-26 16:28:18 +02:00
Dan Poltawski
18d3e39072
Merge branch 'MDL-34461-master-integration' of git://github.com/FMCorz/moodle
2012-07-24 17:08:13 +08:00
Frederic Massart
55bcef2954
MDL-34461 Librairies: Replaced deprecated get_context_instance()
2012-07-23 17:42:05 +08:00
Rajesh Taneja
405aca3532
MDL-32942 libraries: Replaced deprecated PARAM_ACTION and PARAM_FORMAT with PARAM_ALPHANUMEXT
2012-07-19 15:46:10 +08:00
Petr Skoda
282b5cc7e3
MDL-30945 add support for unenrolling of individual users + code cleanup
2011-12-28 16:56:46 +01:00
Sam Hemelryk
076995bf91
MDL-23532 enrol - fixed regressions after latest weekly and improved moodle_page handling
2011-04-21 10:02:54 +08:00
Sam Hemelryk
cf855c0b7a
MDL-23532 enrol - separated AJAX functions from enrol/ajax.php to their respective enrol plugins
2011-04-21 10:02:54 +08:00
Andrew Davis (andyjdavis)
13ba903634
enrol MDL-25718 added ability to recover user grades from grade history
2011-04-08 15:06:27 +08:00
Sam Hemelryk
9fc9de91be
enrol-users MDL-24618 Enrol users search now concats firstname and lastname as requested and searches email.
2010-11-11 01:49:58 +00:00
Sam Hemelryk
25c55fe563
enrol-ajax MDL-24397 Removed unneeded header call
2010-09-28 01:50:19 +00:00
Petr Skoda
88cf740d6a
MDL-24280 first step to proper default cohort role ui; reversing order of roles
2010-09-19 10:59:32 +00:00
Petr Skoda
965ccba9f4
MDL-23184 no need to clean searches, we use bound params now and we do not print it anywhere
2010-09-02 18:35:44 +00:00
Petr Skoda
bce08d9a37
MDL-23739 improved ajax headers - now using application/json with the exception of YUI upload
2010-08-10 08:50:08 +00:00
Petr Skoda
5379726a09
MDL-23502 fixed package info
2010-07-31 13:48:27 +00:00
Sam Hemelryk
9f15347e2c
enrol MDL-23447 Others users page now only lists roles that have moodle/course:view
2010-07-23 08:21:42 +00:00
Sam Hemelryk
6db3eee02b
enrol MDL-23117 Implements the other users UI for users with roles in a course but not enrolled.
...
At the same time this commit introduces a standardised dialogue YUI module to enrol and implements it across the board.
This commit also addresses MDL-23292 and MDL-23319.
2010-07-16 08:30:06 +00:00
Petr Skoda
2a6dcb72a2
MDL-23237 new timecreated field in user_emrolments and adding timestart to enrol plugins that know it
2010-07-13 20:58:17 +00:00
Sam Hemelryk
823a807e01
enrol MDL-23232 Added validation of role when assigning
2010-07-13 03:54:21 +00:00
Sam Hemelryk
c41f920004
enrol MDL-23232 Fixed regression in ajax.php
2010-07-13 03:50:23 +00:00
Sam Hemelryk
a3c7198453
enrol MDL-23232 Added missing caps and plugins checks and copied both sets from the manager to implementing scripts
2010-07-13 03:43:41 +00:00
Sam Hemelryk
2ec702c999
enrol MDL-22867 Added functionality to add cohort sycn or preform a one off member enrolment on the enrolled users screen.
2010-07-12 08:28:13 +00:00
Sam Hemelryk
a70eb30fa9
enrol MDL-22854 New ajaxified enrolment interface
2010-07-07 02:46:34 +00:00