Dan Poltawski
9ebc67f4a2
Merge branch 'MDL-59172-master' of https://github.com/snake/moodle
2017-08-07 16:20:11 +01:00
Jun Pataleta
e004de157c
MDL-59727 core_user: Fix Behat tests for bulk enrolment test
2017-08-07 10:49:07 +08:00
Jake Dallimore
4d068a6708
MDL-59172 user: user_can_view_profile() now checks viewalldetails cap
2017-08-07 09:27:04 +08:00
Jun Pataleta
b29c2fad0b
MDL-59366 user: Be more specific on which autocomplete is being opened
...
* Specify that the autocomplete in the student's row in the
participants table is being opened
2017-08-04 09:15:50 +08:00
Jun Pataleta
cd3f250f32
MDL-59366 core_user: Disable sorting for roles and groups columns
2017-08-04 09:14:30 +08:00
Dan Poltawski
e3a2d7a473
Merge branch 'MDL-59366-master' of git://github.com/junpataleta/moodle
2017-08-01 10:36:14 +01:00
David Monllao
7190f330b4
Merge branch 'MDL-59602_coursenav' of https://github.com/mrmark/moodle
2017-07-31 13:21:09 +02:00
Jun Pataleta
9651e491d8
MDL-59366 user: Create a unified filter for participants page
...
Part of MDL-59290.
2017-07-31 13:04:06 +08:00
Andrew Nicols
722f67d5b2
MDL-59564 user: Whitespace fix
2017-07-31 11:35:45 +08:00
Damyon Wiese
5c734b0ce7
MDL-59564 user: Add behat for bulk enrolment
...
Cover bulk enrolment changes from the participants page with a behat.
2017-07-31 09:29:37 +08:00
Damyon Wiese
689ccae5f3
MDL-59564 users: Add bulk enrolment change
...
Add bulk change enrolments form to the participants page.
2017-07-31 09:29:37 +08:00
Damyon Wiese
e640eb5cc3
MDL-59367 behat: Close the autocomplete
...
Close the auto complete suggestions list so it does not obscure the save changes button in chrome
2017-07-26 13:48:16 +08:00
Damyon Wiese
0ae28fad3a
MDL-59367 participants: Reduce db queries
...
Fetch all role assignments for the course in a single query, instead of for each of the listed users.
More data but less queries.
2017-07-26 11:21:59 +08:00
Jun Pataleta
90ffcfa83a
MDL-59369 user: IR fixes
...
* Moved status_field to core_user\output namespace.
* Assigned status flags for the template context in order to determine
which label class to use for the given status.
Part of MDL-59290.
2017-07-26 09:44:33 +08:00
Jun Pataleta
4544451aff
MDL-59369 user: Render status as highlighted labels
2017-07-26 09:44:33 +08:00
Jun Pataleta
642bea179c
MDL-59369 user: Behat tests involving the Status column
2017-07-26 09:44:33 +08:00
Jun Pataleta
80d13bfe8d
MDL-59369 user: User enrolment status JS controls
...
* Add actions for editing user enrolment and unenrol
* Render user enrolment details in a modal
2017-07-26 09:44:33 +08:00
Jun Pataleta
fb7929677a
MDL-59369 user: Add status column to the participants table
2017-07-26 09:42:38 +08:00
Andrew Nicols
11b31ab857
MDL-59367 user: Documentation fix
2017-07-25 15:04:57 +08:00
Andrew Nicols
e18ebf3999
Merge branch 'MDL-59367-master' of git://github.com/damyon/moodle
2017-07-25 15:02:55 +08:00
Dan Poltawski
e3f17b9fdb
Merge branch 'MDL-59436-master' of git://github.com/junpataleta/moodle
2017-07-24 16:55:54 +01:00
Andrew Nicols
7b1c6374c9
Merge branch 'analytics-34' of git://github.com/dmonllao/moodle
2017-07-24 14:38:46 +08:00
David Monllao
413f19bc49
MDL-59211 analytics: Make cibot happy
...
Part of MDL-57791 epic.
2017-07-24 08:36:49 +02:00
Mark Nielsen
197e2bca5b
MDL-59602 behat: make use of new course nav steps
2017-07-21 13:50:47 -07:00
Damyon Wiese
73d0d56284
MDL-59367 user: Tests and coding style
...
Add a unit test for user_roles_editable.
Coding style fixes.
Don't show duplicate roles.
2017-07-21 10:25:25 +08:00
Damyon Wiese
5d0b4765d8
MDL-59367 roles: Add roles to participants page.
2017-07-21 09:52:14 +08:00
Jun Pataleta
f7cd3bc0e1
MDL-59436 user: Apply default sorting for participants table
2017-07-21 08:49:18 +08:00
Jun Pataleta
a9991533fa
MDL-59436 user: Render city and country based on $CFG->showuseridentity
...
* I also fixed the redundant generation of query fields in
user_get_participants_sql().
2017-07-21 08:46:23 +08:00
Jun Pataleta
c5d59db9a6
MDL-59528 user: Render user picture link with user's fullname
2017-07-21 08:45:31 +08:00
Andrew Nicols
abc25c01b8
MDL-50925 auth_imap: Remove from core and into plugins DB
2017-07-18 14:49:08 +08:00
Damyon Wiese
b7386d0034
MDL-59437 participants: Add sort/pagination behat
2017-07-13 11:48:43 +08:00
David Monllao
ed45119212
MDL-59368 users: Fix incorrect reference
2017-07-12 16:47:20 +02:00
David Monllao
eac6f51590
Merge branch 'MDL-59368-master' of git://github.com/damyon/moodle
2017-07-12 16:46:49 +02:00
Damyon Wiese
f3ecea3af4
MDL-59368 groups: Peer review fixes
...
* Fix coalesce on postgres.
* The edit icon's alt shows the HTML entities causing
* enrol/tests/behat/add_to_group.feature Contains a '@doit' tag which I assume is there from testing.
* group/classes/output/user_groups_editable.php
** Missing MOODLE_INTERNAL check.
** Unused variables context_system and moodle_exception.
** The PHPDocs for the constructors are wrong.
** export_for_template() returns an array, not stdClass (according to parent docs).
** Change moodle_exception to coding_exception at the beginning.
* group/lib.php
** Missing docs for core_group_inplace_editable().
* user/classes/participants_table.php
** The docs for the class variables $groups, $course and $context need a '\' beforehand as they are in a namespace.
** I would prefer $this->context = $context; and $this->groups = ... to be done at the end of the constructor with the other class variable assignments.
** You could get rid of the class variable courseid if we are setting course and use $this->course->id instead.
** The function col_groups has @param \stdclass $row but it should be $data
* lib/amd/src/form-autocomplete.js and lib/amd/src/inplace_editable.js
** Some issues here CiBot has pointed out.
* lib/classes/output/inplace_editable.php
** @see should be on a new line.
2017-07-12 10:09:09 +08:00
Damyon Wiese
2fa35b8d16
MDL-59368 groups: Inplace editing for users groups
2017-07-12 10:07:57 +08:00
Damyon Wiese
a78ed71c11
MDL-59365 enrol: enrol button participants page
2017-07-11 13:48:25 +01:00
Mark Nelson
a6a65da4f3
MDL-59395 core_user: removed unnecessary Behat javascript tags
...
1) Fixes a failing Behat test.
2) Speeds up two tests (including one fixed above).
Part of MDL-59290.
2017-07-06 21:26:02 +08:00
Mark Nelson
7a1c830b0b
MDL-59395 core_user: fixed random PHPUnit failure
...
Part of MDL-59290.
2017-07-06 14:54:41 +08:00
Mark Nelson
ba6645daa0
MDL-59395 core_user: added unit tests for new participation functions
...
Part of MDL-59290.
2017-07-05 14:51:41 +08:00
Mark Nelson
bc47b70667
MDL-59395 core_user: move participants table to own class
...
Removed the edit link variable which was used in the heading
'Users with the role ..' but was never displayed due to filters.
Other minor tidy ups as well.
Part of MDL-59290.
2017-07-05 14:51:41 +08:00
Mark Nelson
e727e91c38
MDL-59413 core_user: removed broken group information table
...
Part of MDL-59290.
2017-06-29 14:19:08 +08:00
Mark Nelson
a24c59b9b4
MDL-59396 core_user: removed 'My courses' select from participants page
...
Part of MDL-59290.
2017-06-27 16:44:41 +08:00
Mark Nelson
4c7593ff5b
MDL-59364 core_user: removed 'User details' option in participants page
...
Part of MDL-59290.
2017-06-27 13:13:07 +08:00
Juan Leyva
bef201c7e0
MDL-58712 core_user: Do not count the root directory
2017-06-22 16:09:58 +02:00
Dan Poltawski
214962f964
Merge branch 'MDL-26976-master' of git://github.com/jleyva/moodle
2017-06-19 14:55:55 +01:00
Dan Poltawski
6252f44d84
Merge branch 'MDL-58712-master' of git://github.com/jleyva/moodle
2017-06-19 14:20:06 +01:00
Juan Leyva
b5ef326c03
MDL-26976 files: Display space usage message in private files
2017-06-19 11:01:48 +01:00
Juan Leyva
f74ac6e704
MDL-58712 core_user: New WS core_user_get_private_files_info
2017-06-15 09:40:30 +01:00
Eloy Lafuente (stronk7)
8a55a41f88
Merge branch 'mdl58161-master' of https://github.com/tlock/moodle
2017-06-14 12:30:41 +01:00
Tim Lock
d621396fee
MDL-58161 user: tests: user_can_view_profile fails under certain cases
2017-06-13 08:12:08 +09:30