7036 Commits

Author SHA1 Message Date
David Mudrák
0c98acefc1 MDL-61658 user: Fix displaying of user's country name
In these cases we want to use the method get_list_of_countries() to
obtain translated names of all potential country codes. The country code
is already there in the database. So it does not matter if the country
is among those whitelisted in $CFG->allcountrycodes - we want to see its
name anyway.
2018-03-21 18:17:47 +01:00
Eloy Lafuente (stronk7)
a717d5dc33 Merge branch 'MDL-61570-master' of git://github.com/andrewnicols/moodle 2018-03-16 01:15:16 +01:00
Marina Glancy
1727c939ba MDL-61477 admin: sitepolicy handler API
- Define sitepolicy handler manager class, base class and the core handler
- Allow to set a plugin as sitepolicyhandler that implements the sitepolicy API
- Modify web services to return information from the 3rd party handler instead of core if needed
2018-03-15 11:32:55 +08:00
David Mudrák
0bdc578567 MDL-61477 admin: Allow plugins to act as alternate policy handlers
The patch introduces a new site setting 'sitepolicyhandler' that can be
either empty or contain a plugin component name. If it is empty, the
site policy feature keeps working as before and the core keeps the
control over it.

If a plugin is specified, it is expected to implement the callback
'site_policy_handler' in its lib.php file. The callback should return a
URL to a script where the user can accept the site policies. The plugin
itself is responsible for setting the 'policyagreed' flag in the users
table. The callback may return an empty value, in which case the user
can continue using the site without being redirected.

The patch adds support for a new pre-config flag NO_SITEPOLICY_CHECK.
This constant should be defined and set to true if we should not check
the user's policyagreed status during the require_login().

This is for pages where the user actually accepts the site policies and
helps to avoid the redirect loop.
2018-03-15 09:31:41 +08:00
Andrew Nicols
04d6ba8638 Merge branch 'MDL-43362-master' of git://github.com/Kathrin84/moodle 2018-03-14 13:18:14 +08:00
Eloy Lafuente (stronk7)
417ec51bb6 Merge branch 'MDL-61622-master' of git://github.com/jleyva/moodle 2018-03-12 10:56:23 +01:00
Andrew Nicols
11838c6562 Merge branch 'MDL-61513-master' of git://github.com/junpataleta/moodle 2018-03-12 12:25:59 +08:00
Juan Leyva
8d9dc60b43 MDL-61622 auth: Return age verification settings in get_public_config 2018-03-09 17:55:31 +01:00
Kathrin Osswald
9d492637ec MDL-43362 outputrenderers: Add bootstrap classes to errorbox. 2018-03-09 11:29:44 +01:00
Andrew Nicols
d3c607178b MDL-61570 tool_usertours: Implement Privacy API 2018-03-09 12:55:44 +08:00
Andrew Nicols
1e9016d8d8 Merge branch 'MDL-61423-master' of git://github.com/mihailges/moodle 2018-03-08 15:26:30 +08:00
Mihail Geshoski
25dbbdf90b MDL-61423 authentication: Add digital minor verification upon signup 2018-03-08 15:01:25 +08:00
Eloy Lafuente (stronk7)
6d3f2f9036 Merge branch 'MDL-55153-master' of git://github.com/sarjona/moodle 2018-03-05 23:25:23 +01:00
Eloy Lafuente (stronk7)
20089fb594 Merge branch 'MDL-61533-master-enfix' of git://github.com/mudrd8mz/moodle 2018-03-02 01:42:45 +01:00
Helen Foster
ad5b7d26e7 MDL-61533 lang: Merge English strings from the en_fix language pack
Significant string change:

* typeoflogin_desc,tool_mobile - removing sentence about autologinguests
* gradepublishing_help, core_grades - updated explanation mentioning the
  manager role and grade export publishing settings
2018-03-01 17:17:16 +01:00
Andrew Nicols
9f4e81a81b Merge branch 'MDL-61453-master-userpicturefiletype' of git://github.com/mudrd8mz/moodle 2018-03-01 08:45:47 +08:00
Andrew Nicols
8fe48ac366 Merge branch 'MDL-61462-master' of git://github.com/junpataleta/moodle 2018-02-26 10:10:27 +08:00
Jun Pataleta
e5818c7d09 MDL-61513 admin: Fix undefined $buttons variable 2018-02-22 10:22:06 +08:00
Andrew Nicols
54fd1bb3fa MDL-61394 admin: Set valid default for pathtosassc 2018-02-22 08:30:55 +08:00
Andrew Nicols
2b32b1fea8 Merge branch 'MDL-61394-master' of git://git.cameron1729.xyz/moodle 2018-02-22 08:30:53 +08:00
Andrew Nicols
c482497d52 Merge branch 'MDL-61421-master' of git://github.com/sarjona/moodle 2018-02-22 08:30:50 +08:00
Sara Arjona
efa66e0597 MDL-55153 customlang: Remove local DB entries when deleting local file 2018-02-21 22:00:15 +01:00
Cameron Ball
4658220b2d
MDL-61394 Administration: Add experimental feature to use SassC 2018-02-19 14:39:11 +08:00
Jun Pataleta
6a51b279ec MDL-61462 admin_roles: Point back to roles link to the correct URL 2018-02-16 10:32:44 +08:00
David Mudrák
26c1c01629 MDL-61453 user: Fix accepted file type when uploading user pictures
Not all archives are supported, only ZIP files are.
2018-02-14 18:06:45 +01:00
Sara Arjona
bfea8655f7 MDL-61421 cohort: Fix cohort_role_sync when a user is in two cohorts 2018-02-12 08:55:38 +01:00
Marina Glancy
015e612a5f MDL-61150 xmldb: correct path to schema in install.xml 2018-02-11 23:07:18 +01:00
Eloy Lafuente (stronk7)
dd9368b43d MDL-61150 xmldb: Fix wrong PATH attributes in core 2018-02-11 22:53:58 +01:00
David Monllao
24d8485ea6 Merge branch 'master_MDL-60421' of https://github.com/danmarsden/moodle 2018-02-06 10:46:35 +01:00
David Monllao
d3e54578ea Merge branch 'MDL-52811_prevent_forcelang' of git://github.com/davosmith/moodle 2018-02-06 08:00:11 +01:00
Davo Smith
4ee8ec310a MDL-52811 course: moodle/course:setforcedlanguage integration fixes 2018-02-05 13:20:42 +00:00
Davo Smith
4a9624af21 MDL-52811 course: fix unit tests broken by setforcedlanguage 2018-02-01 17:07:23 +00:00
Davo Smith
1433a07881 MDL-52811 course: prevent setting of 'lang' without permission 2018-02-01 17:07:12 +00:00
Dan Marsden
3e080111f9 MDL-60421 tool_cohortroles: fix deprecated call. 2018-02-01 20:58:31 +13:00
Andrew Nicols
826f61e500 MDL-60077 tool_usertours: Pull v0.12.2 of usertours for triangle fix 2018-02-01 14:28:13 +08:00
Huong Nguyen
0c2ecefc45 MDL-60077 User tours: pop-up triangle look bad next to the corners 2018-01-29 10:31:31 +07:00
Andrew Nicols
dd4ac3d2ce MDL-60078 tool_usertours: Adjust accessibility checks for all themes 2018-01-25 12:45:56 +08:00
Andrew Nicols
0b048da8c0 MDL-61234 tool_usertours: Rewrite feature to work with all themes 2018-01-24 10:05:42 +08:00
Andrew Nicols
60ce5848f6 Merge branch 'MDL-60078-master' of https://github.com/nashtechdev01/moodle 2018-01-22 11:08:19 +08:00
Eloy Lafuente (stronk7)
df4e047944 Merge branch 'MDL-61234-master' of git://github.com/andrewnicols/moodle 2018-01-22 01:37:44 +01:00
Eloy Lafuente (stronk7)
b0bb30e2e7 Merge branch 'MDL-61224_master' of git://github.com/markn86/moodle 2018-01-22 01:22:22 +01:00
Andrew Nicols
64c9b4046c MDL-61234 tool_usertours: Wrap library calls in pendingjs 2018-01-19 15:06:45 +08:00
KietLy
26872a8006 MDL-60078 User tours accessibility: Tab should go back into the pop-up 2018-01-16 17:36:25 +07:00
Mark Nelson
e4d9eff640 MDL-61224 core_role: prevent short name from exceeding 100 chars 2018-01-16 18:14:42 +08:00
sam marshall
470d59d31f MDL-61063 Scheduled tasks: Add link to clear fail delay 2018-01-12 11:10:29 +00:00
David Monllao
1679485693 Merge branch 'MDL-60079-master' of https://github.com/nashtechdev01/moodle 2018-01-09 08:09:15 +01:00
Thinh Pham
48a9fd89e0 MDL-60079 User tours: leave unnecessary aria tags in the page 2018-01-09 11:26:14 +07:00
Andrew Nicols
61f56fd5f9 Merge branch 'MDL-43648_m35v2' of https://github.com/sbourget/moodle 2018-01-09 11:43:33 +08:00
Eloy Lafuente (stronk7)
7110a3eed6 Merge branch 'MDL-61046-master-enfix' of git://github.com/mudrd8mz/moodle 2018-01-08 10:05:39 +01:00
Helen Foster
700522badd MDL-61046 lang: Merge English strings from the en_fix language pack
Significant string changes:

* pluginname_desc, enrol_category - improved explanation
* pathtopythondesc, core_admin - mentioning Python version
* configdeleteunconfirmed, core_admin - setting applies to more than
  just email-based self-registration
2018-01-04 11:30:54 +01:00