24407 Commits

Author SHA1 Message Date
Mark Nelson
a63f98245c MDL-36941 core: added new messaging and notification tables 2018-03-23 09:27:56 +08:00
Andrew Nicols
618b223302 Merge branch 'MDL-61519-master' of https://github.com/andrewnicols/moodle 2018-03-21 09:09:03 +08:00
Andrew Nicols
b30b66c57e MDL-61519 coursecat: Reset the coursecat cache on enrolment 2018-03-21 09:06:51 +08:00
Andrew Nicols
c06c1a4428 Merge branch 'MDL-61519-master' of https://github.com/MartinGauk/moodle 2018-03-21 08:14:41 +08:00
Eloy Lafuente (stronk7)
4dca6ab54d Merge branch 'MDL-61589-master' of git://github.com/rezaies/moodle 2018-03-21 00:21:24 +01:00
Eloy Lafuente (stronk7)
9a79102a4c Merge branch 'MDL-61410-master' of git://github.com/lameze/moodle 2018-03-20 23:53:28 +01:00
Martin Gauk
ef780a0051 MDL-61519 coursecat: do not cache get_all_children_ids 2018-03-20 13:20:04 +00:00
Eloy Lafuente (stronk7)
f61c5f8a95 Merge branch 'MDL-61615-master' of git://github.com/rezaies/moodle 2018-03-20 10:20:11 +01:00
Shamim Rezaie
ae9f5a04b1 MDL-61615 Questions: Only move question categories if there is any 2018-03-20 17:30:21 +11:00
Andrew Nicols
3f6ede91aa Merge branch 'MDL-61519-master' of https://github.com/MartinGauk/moodle 2018-03-20 13:53:36 +08:00
Eloy Lafuente (stronk7)
b2d941c16f Merge branch 'MDL-61529-master' of https://github.com/bmbrands/moodle 2018-03-20 00:27:48 +01:00
Eloy Lafuente (stronk7)
0fe1ed29d9 Merge branch 'MDL-61615-master' of git://github.com/rezaies/moodle 2018-03-19 11:21:48 +01:00
Simey Lameze
2ee6e02e21 MDL-61410 question: unit tests for question_sort_tags 2018-03-19 11:45:55 +08:00
Simey Lameze
6307622b28 MDL-61410 question: move tag sorting logic to a new function 2018-03-19 11:45:55 +08:00
Martin Gauk
c4172077df MDL-61519 calendar: do not iterate through all categories
Replace calls to \coursecat::get_all() or cache the results.
2018-03-16 14:30:55 +00:00
Bas Brands
c8842113a7 MDL-61529 core: update lib scssphp to version 0.7.5 2018-03-16 10:36:40 +01:00
Eloy Lafuente (stronk7)
7394da46e2 Merge branch 'MDL-61571-master' of git://github.com/andrewnicols/moodle 2018-03-15 23:48:24 +01:00
Shamim Rezaie
c185e4fe21 MDL-61589 Questions: Top question category naming improvement
Display the context name next to the top question category name.
2018-03-15 18:47:25 +11: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
Eloy Lafuente (stronk7)
a2fc9a4772 Merge branch 'MDL-61600-master' of git://github.com/dpalou/moodle 2018-03-14 14:43:25 +01:00
Eloy Lafuente (stronk7)
30d1b7d1a7 Merge branch 'MDL-61620_master' of git://github.com/dmonllao/moodle 2018-03-14 13:39:17 +01:00
David Monllao
6dca3ddc71 MDL-61620 output: New action_menu options 2018-03-14 11:38:08 +01:00
Dani Palou
f72ca3ce29 MDL-61600 recaptcha: Create a script to display recaptcha 2018-03-14 10:31:09 +01:00
Andrew Nicols
04d6ba8638 Merge branch 'MDL-43362-master' of git://github.com/Kathrin84/moodle 2018-03-14 13:18:14 +08:00
Andrew Nicols
d7ff2fc28b Merge branch 'MDL-60398-master' of git://github.com/mihailges/moodle 2018-03-14 10:33:03 +08:00
Eloy Lafuente (stronk7)
dd9f60ee49 Merge branch 'MDL-61625_master' of git://github.com/dmonllao/moodle 2018-03-14 01:00:13 +01:00
Jake Dallimore
dfeeed062a Merge branch 'm35_MDL-61626_PgSQL_Table_Name_Could_Be_Schema_Qualified' of https://github.com/scara/moodle 2018-03-13 15:37:19 +08:00
Shamim Rezaie
bd94e16e95 MDL-61615 Questions: Fix multiple top cats when deleting a course cat
Prevent having multiple top question categories when deleting a course category.
This commit also fix the problem of question files' contexts not being updated when moving them.
2018-03-13 18:31:01 +11:00
Shamim Rezaie
15f80bf579 MDL-61615 Questions: unit test for question_delete_course_category 2018-03-13 18:30:51 +11:00
Eloy Lafuente (stronk7)
c3cb1ea063 Merge branch 'MDL-48501-master' of git://github.com/jswebster/moodle 2018-03-13 01:55:41 +01:00
Eloy Lafuente (stronk7)
bad062a992 Merge branch 'MDL-61619-master' of https://github.com/snake/moodle 2018-03-12 16:46:29 +01:00
Eloy Lafuente (stronk7)
417ec51bb6 Merge branch 'MDL-61622-master' of git://github.com/jleyva/moodle 2018-03-12 10:56:23 +01:00
Jake Dallimore
20e6024581 Merge branch 'master_MDL-49417' of https://github.com/danmarsden/moodle 2018-03-12 11:34:13 +08:00
Jake Dallimore
786f1270a5 MDL-61619 core: use empty string instead of null in xmlize 2018-03-12 11:12:00 +08:00
Jake Dallimore
0c23f4e6b6 MDL-61619 phpunit: phpunit test confirming bug in new xmlize code 2018-03-12 11:11:58 +08:00
Matteo Scaramuccia
bccbd3b4eb MDL-61626 core_dml: pgsql and schema qualification. 2018-03-11 22:56:36 +01:00
David Monllao
f5bc604de0 MDL-61625 persistent form: Add missing param to the constructor 2018-03-11 22:23:15 +01:00
Juan Leyva
1f7565c121 MDL-61622 auth: New WS is_age_digital_consent_verification_enabled 2018-03-09 17:54:58 +01:00
Kathrin Osswald
9d492637ec MDL-43362 outputrenderers: Add bootstrap classes to errorbox. 2018-03-09 11:29:44 +01:00
Andrew Nicols
0d7ab3f692 MDL-61571 atto: Implement null provider for atto plugins 2018-03-09 13:03:32 +08:00
Andrew Nicols
431a3bb674 MDL-61307 core: Add component_class_callback functionality 2018-03-09 10:01:18 +08:00
Andrew Nicols
dcc16e155d MDL-61307 core: Define a new privacy component 2018-03-09 09:59:36 +08:00
Jeff Webster
be41e4e518 MDL-48501 form/recaptcha: update to use reCAPTCHA v2 2018-03-08 14:48:35 -05:00
Jeff Webster
caae082025 MDL-48501 recaptchalib_v2: add new lib to support reCAPTCHA v2 2018-03-08 14:48:35 -05:00
Eloy Lafuente (stronk7)
03141d1ae2 NOBUG: Fixed file access permissions 2018-03-08 13:29:02 +01: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
Jake Dallimore
8525d8466a MDL-38829 core: fix whitespace in xmlize test 2018-03-08 11:39:42 +08:00
Jake Dallimore
f9628f871a Merge branch 'MDL-38829-master' of git://github.com/andrewnicols/moodle 2018-03-08 11:17:05 +08:00