2328 Commits

Author SHA1 Message Date
David Monllao
85d4b77cd3 Merge branch 'MDL-61967-master' of git://github.com/sarjona/moodle 2018-09-25 11:08:53 +02:00
Sara Arjona
5290d0604b MDL-61967 core_user: Allow filtering by No groups on participants page
A new optional parameter $context has been added to the
core_group::groups_get_members_join() function.
Besides, some core_group methods now accept -1 (USERSWITHOUTHGROUP) for
the groupid field.
2018-09-24 18:33:45 +02:00
David Monllao
bac1731614 Merge branch 'MDL-61573-master' of https://github.com/Kathrin84/moodle 2018-09-24 11:24:49 +02:00
Jonathan Champ
b2f349a433 MDL-54035 accesslib: separate role definition cache clear
Thanks to MDL-49398, we can separate the combined user session and role
definition cache clearing function into two separate functions. At the
same time, we want to identify and remove mark_dirty() calls that were
added for role definition changes but were incorrectly left behind.

Change highlights:
 - Remove unnecessary mark_dirty() calls performed after
   assign_capability(), unassign_capability(), delete_role(),
   deleted contexts, brand new contexts
 - Move role definition cache clear from the user-centric
   accesslib_clear_all_caches() to the newly created,
   role-dedicated accesslib_reset_role_cache()
2018-09-21 09:17:42 -04:00
Kathrin Osswald
df8eec5206 MDL-61573 user: Changes to pix path for better support of fa mapping 2018-09-18 08:28:23 +02:00
Jun Pataleta
8420b61c25 MDL-63379 user: Fix Behat tests for participants filtering 2018-09-17 11:25:37 +08:00
Jun Pataleta
f239f97d34 Merge branch 'wip-MDL-62520_MASTER' of https://github.com/jason-platts/moodle 2018-09-10 16:22:48 +08:00
Eloy Lafuente (stronk7)
f6cafe495e Merge branch 'MDL-63249-master-enfix' of git://github.com/mudrd8mz/moodle 2018-09-04 22:34:51 +02:00
Helen Foster
24a29d720c MDL-63249 lang: Merge English strings from the en_fix language pack
Significant string changes:

* completionpass_help, gradetopassnotset in mod_quiz - grade to pass set
  in quiz settings not gradebook
* namecolumnmissing,core_cohort - fixing incorrect message about adding
  users to a cohort
2018-09-04 08:40:48 +02:00
Víctor Déniz Falcón
b93767f3ee MDL-63255 core_user: fix harcoded sql table aliases 2018-09-03 06:53:40 +01:00
Jake Dallimore
8981ac0197 Merge branch 'MDL-62657-master' of git://github.com/junpataleta/moodle 2018-08-29 09:30:07 +08:00
Andrew Nicols
e36019c2f3 Merge branch 'wip-MDL-62742-master' of git://github.com/marinaglancy/moodle 2018-08-29 08:31:08 +08:00
Marina Glancy
442f12f81a MDL-62742 core: rename coursecat->core_course_category
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
David Monllao
76e9e2f9c0 Merge branch 'MDL-63174-master-emptyusername' of git://github.com/mudrd8mz/moodle 2018-08-27 15:06:55 +02:00
Jun Pataleta
69781cdae1 MDL-62657 user: More users fields for creation/update WS functions 2018-08-21 12:08:20 +08:00
Víctor Déniz Falcón
02fda279ed MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
David Mudrák
784883e1ee MDL-63174 user: user_create_user to throw exception on empty username
The core API function user_create_user() did not check the case when the
given username was empty.

Also adding a missing string 'usernamelowercase' for the existing lower
case check and unit tests.
2018-08-17 13:24:31 +02:00
David Mudrák
0e99d58c35 MDL-63174 user: core_user_create_users to throw exception on empty names
To be consistent with the web administration UI, we should not allow to
create invalid user records with empty username, lastname or firstname
via the web services.
2018-08-17 13:24:31 +02:00
Andrew Nicols
f89f6cf04e Merge branch 'MDL-62899-search-icons-master' of https://github.com/dmitriim/moodle 2018-08-08 13:17:34 +08:00
Andrew Nicols
03655bb050 Merge branch 'MDL-50225_master' of git://github.com/markn86/moodle 2018-08-08 08:14:55 +08:00
Dmitrii Metelkin
66f145efd1 MDL-62899 search: add document icons 2018-08-07 17:40:57 +10:00
Jason Platts
e52856bc9a MDL-62520 user: User identity fields not searchable in Participants list 2018-08-03 10:35:24 +01:00
Andrew Nicols
aa75f70280 Merge branch 'MDL-59847-master' of https://github.com/snake/moodle 2018-08-02 11:39:50 +08:00
Andrew Nicols
d7978b1740 Merge branch 'MDL-62983-master' of git://github.com/sarjona/moodle 2018-08-02 11:17:13 +08:00
David Mudrák
afa3e0ff32 MDL-59847 core: Stop supporting custom identity fields in user selectors
The user_selector classes supported custom list of extra identity
fields. But they should obey the configured user policy and respect the
privacy setting made by site administrators. So the list of user
identifiers should never be hard-coded, but the setting
$CFG->showuseridentity should be always respected.
2018-08-02 10:22:07 +08:00
David Mudrák
ef65e09af0 MDL-59847 core: Fix display of hidden identity fields in user selectors
User selectors now respect the user's permission to view other users'
hidden profile fields.
2018-08-02 10:22:05 +08:00
Eloy Lafuente (stronk7)
bac049773f Merge branch 'MDL-62965-master-userprofilesignup' of git://github.com/mudrd8mz/moodle 2018-08-02 00:37:40 +02:00
Jonathon Fowler
89e27d9999 MDL-62983 core_user: Hold multiple filters when clicking any link 2018-08-01 09:33:34 +02:00
Eloy Lafuente (stronk7)
c121e849c1 Merge branch 'MDL-41847-master' of git://github.com/sarjona/moodle 2018-07-31 23:50:43 +02:00
Eloy Lafuente (stronk7)
060277a401 Merge branch 'MDL-57977-master' of git://github.com/vmdef/moodle 2018-07-30 21:09:55 +02:00
David Monllao
c5c618fe10 Merge branch 'MDL-54858-master' of git://github.com/mihailges/moodle 2018-07-30 17:41:06 +02:00
Mark Nelson
dc4dea0e40 MDL-50225 core: removed unused message bulk action files
In core we now use a modal to perform these actions. I
initially thought these were kept because they were a fall
back if JS was disabled. However, the functionality is
broken and doesn't work. Since we do not have to support
non-JS anymore these files have simply been removed as well
as relevant strings deprecated.
2018-07-30 09:57:01 +08:00
Mihail Geshoski
f6094cd9f7 MDL-54858 user: Final deprecation of useredit_update_picture
Credit to Ankit Agarwal.
2018-07-30 09:13:20 +08:00
David Mudrák
06db58b787 MDL-62965 core_user: Fix missing user profile fields on signup page 2018-07-27 10:37:03 +02:00
Jun Pataleta
1d4eecffc6 Merge branch 'MDL-62950-master' of git://github.com/andrewnicols/moodle 2018-07-27 16:19:22 +08:00
Sara Arjona
b6e594b1b9 MDL-41847 core_user: Add preferred lang field to the user creation form
The preferred language has been added only to the user creation form.
For existing users, you should access to the user profile, click over
Preferences and go to the Preferred language page.
2018-07-27 09:01:33 +02:00
Andrew Nicols
49f427de13 MDL-62950 behat: Correct use of nav 2018-07-26 14:56:35 +08:00
Jun Pataleta
07249cbb3a Merge branch 'MDL-62939-master-cleanhtmluserdesc' of git://github.com/mudrd8mz/moodle 2018-07-24 11:58:38 +08:00
Victor Deniz
10505522fc MDL-57977 search: GlobalSearch by alternate name fields
Enable support for searching all name fields in search
2018-07-23 10:10:05 +01:00
Mihail Geshoski
204178d646 MDL-61707 authentication: Remove presignup session upon user signup 2018-07-23 09:33:08 +08:00
David Monllao
a02f330b5d Merge branch 'MDL-62663' of https://github.com/andrewhancox/moodle 2018-07-19 08:46:43 +08:00
David Mudrák
067d0efe85 MDL-62939 user: Fix field type of the user profile description
As this is an editor element field, the it is supposed to be PARAM_RAW.
Otherwise it cleans-up certain non-HTML syntax such as Markdown
blockquote characters.
2018-07-18 14:27:14 +02:00
sarjona
7fde83584f MDL-60924 core_user: Hold participant filters when clicking some link 2018-07-16 18:03:12 +02:00
Andrew Hancox
7068dd3990 MDL-62663 core_user: Enforce viewalldetails capability when editing user 2018-07-10 13:28:24 +01:00
Michael Hawkins
c157e137ee MDL-62618 user: Display full names consistently on users page 2018-07-05 10:08:33 +08:00
Luca Bösch
78f6d02b8c MDL-44646 administration: Users can be filtered by course enrollment 2018-06-20 06:48:59 +02:00
David Monllao
a7fb68f27f Merge branch 'MDL-62273-master' of https://github.com/sammarshallou/moodle 2018-06-06 11:16:41 +02:00
Luca Bösch
4a42d3decd MDL-62605 core_user: course name filter in unenrol modal. 2018-06-05 07:55:58 +02:00
sam marshall
bef86c669c MDL-62273 Profile: Callback allows plugins to control profile access
Adds a new callback, <plugin>_control_view_profile. Plugins may
return core_user::VIEWPROFILE_PREVENT to prevent access,
core_user::VIEWPROFILE_DO_NOT_PREVENT to make no change, or
core_user::VIEWPROFILE_FORCE_ALLOW to allow access even when Moodle
would normally prevent it.

This allows third-party plugins to restrict (or allow) access to
profile pages in response to arbitrary business logic.
2018-06-01 09:59:01 +01:00
Tim Hunt
5359c517d0 MDL-62440 participants: out-of-memory is many site-wide role assigns 2018-05-17 10:42:31 +01:00