Paul Holden
7455b741c9
MDL-66762 user: escape extra/email user fields.
2019-11-07 09:00:19 +08:00
Shamim Rezaie
151ef39cd8
MDL-66269 enrol: added search_users method to course_enrolment_manager
...
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Huong Nguyen
1f00fdb0d2
MDL-63938 Enrolments: course_enrolment_manager method improvement
...
course_enrolment_manager method should not always do a count_records and a get_records
2019-02-19 13:57:48 +07:00
Eloy Lafuente (stronk7)
8c46d204a1
MDL-60548 tests: Get tests passing
...
This includes:
- changing all usernames in feature to lowercase, for cross-db passing. Fixes:
- user/tests/behat/set_email_display.feature
- ensure that course_enrolment_manager::get_potential_users() and
external always returns user->maildisplay attribute, so email
visibility can be calculated by user_get_user_details(). Fixes:
- enrol/tests/behat/enrol_user.feature
- blocks/news_items/tests/behat/display_news.feature
- course/tests/behat/course_creation.feature
2018-04-11 17:15:38 +02:00
Igor Sazonov
358b10a337
MDL-58410 user: add support for alternative name search
...
The solution about searching all external names fields (middlename etc) from course enrolment page (enrolled and enrolling pages)
2018-01-24 11:15:45 +08:00
Andrew Hancox
a63cd3e2ca
MDL-50666 core: Add function get_viewable_roles to set role visibility
2017-12-19 13:53:23 +13:00
Jun Pataleta
4047fccba7
MDL-59811 enrol: Move get_user_enrolment_actions logic to parent class
...
* These duplicated implementations can be simplified where the logic
can be moved to enrol_plugin::get_user_enrolment_actions() method
itself.
2017-10-09 10:29:02 +08:00
Jun Pataleta
b26ce53776
Merge branch 'MDL-59823-master' of git://github.com/damyon/moodle
2017-08-29 15:49:24 +08:00
Damyon Wiese
f4ddc4ecd3
MDL-59823 users: Enrol bulk op course instance
...
The commit message above was my best attempt at meeting the very short restrictions on commit message first lines.
What it needed to say was: "Only show bulk enrolment operations for enrolment methods that have an instance in the course"
2017-08-17 12:03:52 +08:00
Damyon Wiese
4b50765bd5
MDL-59370 enrol: Kill the enrol/users page.
2017-08-14 11:06:16 +08:00
Jun Pataleta
445de896ef
MDL-59366 enrol: Add $onlyenabled param in enrol instances getters
...
* Add param in order allow flexibility for the methods to be able
to fetch only active enrol instances as well.
Part of MDL-59290.
2017-07-28 16:11:56 +08: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
Ruslan Kabalin
8292fa8184
MDL-55776 enrol: Optimise enrolled users listing.
...
Here we optimise SQL queries for enrolled users list. Expensive subquery is
replaced with faster LEFT JOIN and the whole groups filtering component is
aded on demand.
2016-09-19 23:46:28 +02:00
Rajneel Totaram
494fec0071
MDL-51923 enrol: Enrolment list filter 'No Group' shows incorrect count
...
With contributions from John Okely
2015-10-28 17:34:16 +08:00
John Okely
d5994d38c9
MDL-51586 enrol: Enrolment table displays fullname properly.
...
When the alternatefullnamedisplay was set to something that
didn't contain 'firstname' then nothing would be displayed
for the user's name.
2015-10-09 15:34:39 +08:00
Davo Smith
bf8f915abc
MDL-51341 enrolment: fix 'No group' enrolled user filter
2015-10-07 17:09:15 +01:00
Marina Glancy
afc6a26938
MDL-49746 course: sorting users by last access
2015-08-11 16:15:58 +08:00
Davo Smith
0c9d8172b5
MDL-48074 enrol: option to filter by users 'not in any group'
2015-07-03 09:35:57 +01:00
Nivedita Setru
b6772ac721
MDL-48073 enrol: Fixed group filter resetting erroneously.
2015-01-19 11:24:36 +08:00
Adrian Greeve
95065006c6
MDL-46921 lib: Sorting on additional fields, admin, enrolment pages.
2014-10-09 08:19:49 +08:00
Dave Cooper
e89682d822
MDL-32275 enrol: Last site access column now shows last course access
2014-09-26 10:51:47 +08:00
Damyon Wiese
9673c119f2
MDL-36334 JS: Only print deprecation notices for developers
2014-01-07 16:11:27 +08:00
Damyon Wiese
a66aea5c67
Merge branch 'MDL-36334-master' of https://github.com/andrewnicols/moodle
2014-01-07 16:10:05 +08:00
Andrew Nicols
6fc9488862
MDL-36334 JS: Deprecate YUI galleryversion in enrol
2014-01-07 16:12:55 +11:00
Tony Butler
2b6b37d4f9
MDL-43373 core_enrol: Display enrolments dimmed if outside of start or end times
2014-01-02 17:16:06 +00:00
Petr Škoda
529342bb9f
MDL-41002 fix typo causing fatal error on other users page
...
Credit goes to Bernhard Brandstetter, thanks!
2013-08-04 15:00:53 +02:00
Rajesh Taneja
117e94a050
MDL-40358 Enrolments: Fixed sql when user is suspended
2013-07-10 17:40:20 +10:00
Sam Hemelryk
d9734c91ee
MDL-40358 enrol: whitespace clean up
2013-07-10 10:07:10 +12:00
Sam Hemelryk
fc7e5a031e
Merge branch 'wip-mdl-40358' of git://github.com/rajeshtaneja/moodle
2013-07-10 09:54:38 +12:00
Frederic Massart
8e8891b76b
MDL-40403 libraries: Deprecate get_parent_contexts()
2013-07-09 13:34:44 +08:00
Rajesh Taneja
aa5132140b
MDL-40358 Administration: Added group and status filter on user enrolment page
2013-07-01 14:20:21 +08:00
Petr Škoda
31ac2aef26
MDL-39386 fix phpdocs packages in enrol
2013-04-27 13:41:32 +02:00
sam marshall
71638033eb
MDL-26956 (3) Enrol: Add filter options to enrolments screen
2013-03-28 10:46:36 +00:00
Rossiani Wijaya
4be3ed4b3d
MDL-37396 User Enrollment: fixed missing user from enrolment sub-menu
2013-02-18 10:28:23 +08:00
Petr Škoda
00c269db37
MDL-37559 fix display of multiple roles of other users
...
Credit goes to Tyron Delean, thanks.
2013-01-19 16:50:38 +01:00
Dan Poltawski
df0b14c3b5
Merge branch 'w51_MDL-37303_m25_enrolinstancestatus' of git://github.com/skodak/moodle
2013-01-08 14:22:11 +08:00
Petr Škoda
3a103fd806
MDL-xxxx show appropriate instance status on user enrolments page
2012-12-26 17:28:09 +01:00
Petr Škoda
e9ca9d3063
MDL-37302 allow admin to unassign any role on enrolment and other users pages
2012-12-26 12:02:08 +01:00
Petr Škoda
483e6f5cde
MDL-37302 allow removal of enrol roles if plugin allows it
2012-12-26 11:37:08 +01: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
Eloy Lafuente (stronk7)
c740703c18
Merge branch 'w40_MDL-31437_m24_cohortsync' of git://github.com/skodak/moodle
...
Conflicts:
lib/upgrade.txt
2012-10-02 22:00:12 +02:00
Dan Poltawski
f7b3ac9427
Merge branch 'w40_MDL-35619_m24_otheravatars' of git://github.com/skodak/moodle
2012-10-02 10:41:47 +08:00
Petr Škoda
e66827464a
MDL-35619 fix invalid avatars on other users page
2012-10-01 09:53:11 +02:00
Petr Škoda
7881024ec4
MDL-31437 add group sync option to enrol_cohort
...
This patch includes following changes and new features:
* Group sync in enrol_cohort plugin.
* Option for editing of role in existing cohort sync instance.
* Group memberships are now restored after enrolments.
* New enrol method for restore of protected group membership.
* New component callback 'restore_group_member' for restore of general plugin group membership.
* New component callback 'restore_role_assignment' for restore of general plugin role assignments.
* Implemented group membership protection in enrolment UI.
* Other minor fixes and cleanup.
Notes:
* The YUI base enrolment page is not reimplemented yet - see MDL-35618.
2012-09-28 21:00:00 +02:00
Tim Hunt
9695ff811b
MDL-34657 user sorting: consistent sorting everywhere.
...
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.
2012-09-27 12:41:42 +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
Petr Škoda
cb94adc252
MDL-34776 improve multiple "NOT IN" enrolment and role related queries
2012-08-18 09:56:25 +02:00
Petr Škoda
4389d18e74
MDL-34851 show enrolment date if there is no start and end of active enrolment
...
This should help when enrol plugin does not set any start or end of enrolment validity.
2012-08-12 20:46:00 +02:00
Frederic Massart
55bcef2954
MDL-34461 Librairies: Replaced deprecated get_context_instance()
2012-07-23 17:42:05 +08:00
Petr Skoda
c52551dc3c
MDL-8249 localise standard role names and descriptions if empty
2012-07-06 08:22:34 +02:00