moodle.git
3 years agoMDL-63185 mod_quiz: add custom behat step to create user attempts
Simey Lameze [Thu, 27 Sep 2018 02:13:47 +0000 (10:13 +0800)]
MDL-63185 mod_quiz: add custom behat step to create user attempts

Thanks to Tim Hunt for all the help.

Part of MDL-62610

3 years agoMDL-63186 quiz_statistics: Highlight the summary row if is dubious
Shamim Rezaie [Thu, 30 Aug 2018 04:18:19 +0000 (14:18 +1000)]
MDL-63186 quiz_statistics: Highlight the summary row if is dubious

The summary row should be highlighted if any of the summarised rows are dubious.

Part of MDL-62610

3 years agoMDL-63186 quiz_statistics: Show each columns min,max in the summary row
Shamim Rezaie [Tue, 28 Aug 2018 14:21:28 +0000 (00:21 +1000)]
MDL-63186 quiz_statistics: Show each columns min,max in the summary row

The statistics table have been modified so that the summary row shows the minimum and maximum
values of each column for the set of questions that are being summarised.

Part of MDL-62610

3 years agoMDL-63186 workshopform_numerrors: Move percents lang string to core
Shamim Rezaie [Tue, 28 Aug 2018 14:19:43 +0000 (00:19 +1000)]
MDL-63186 workshopform_numerrors: Move percents lang string to core

Moved 'percents' lang string from workshopform_numerrors to core_moodle.

AMOS BEGIN
 MOV [percents,workshopform_numerrors],[percents,core_moodle]
AMOS END

Part of MDL-62610

3 years agoMDL-63186 question: Calculate extremums of summarised questions
Shamim Rezaie [Tue, 28 Aug 2018 08:15:20 +0000 (18:15 +1000)]
MDL-63186 question: Calculate extremums of summarised questions

Modified calculated_random_question_summary class so that it can return minimum and maximum
of each attribute of the sub questions it is summarising.

Part of MDL-62610

3 years agoMDL-63186 quiz_statistics: Remove q number from the summary row
Shamim Rezaie [Tue, 21 Aug 2018 05:05:26 +0000 (15:05 +1000)]
MDL-63186 quiz_statistics: Remove q number from the summary row

Part of MDL-62610

3 years agoMDL-63186 question: include random questions in statistics calculator
Ryan Wyllie [Thu, 12 Apr 2018 05:18:58 +0000 (13:18 +0800)]
MDL-63186 question: include random questions in statistics calculator

Part of MDL-62610

3 years agoweekly release 3.6dev
Eloy Lafuente (stronk7) [Thu, 27 Sep 2018 13:17:37 +0000 (15:17 +0200)]
weekly release 3.6dev

3 years agoMDL-63044 blocks_timeline: Remove old minified JS
Andrew Nicols [Thu, 27 Sep 2018 06:25:25 +0000 (14:25 +0800)]
MDL-63044 blocks_timeline: Remove old minified JS

3 years agoMDL-63044 blocks_timeline: Fixes in integration
Andrew Nicols [Thu, 27 Sep 2018 06:16:49 +0000 (14:16 +0800)]
MDL-63044 blocks_timeline: Fixes in integration

3 years agoMerge branch 'dashboard-split-overview-block' of https://github.com/ryanwyllie/moodle
Andrew Nicols [Thu, 27 Sep 2018 06:08:55 +0000 (14:08 +0800)]
Merge branch 'dashboard-split-overview-block' of https://github.com/ryanwyllie/moodle

3 years agoMDL-63044 block_timeline: add timeline block
Ryan Wyllie [Mon, 27 Aug 2018 08:53:44 +0000 (16:53 +0800)]
MDL-63044 block_timeline: add timeline block

3 years agoMDL-63044 block_myoverview: remove timeline view
Ryan Wyllie [Mon, 27 Aug 2018 08:41:27 +0000 (16:41 +0800)]
MDL-63044 block_myoverview: remove timeline view

3 years agoMDL-63044 block_myoverview: remove tab preference
Ryan Wyllie [Mon, 27 Aug 2018 08:39:24 +0000 (16:39 +0800)]
MDL-63044 block_myoverview: remove tab preference

3 years agoMDL-63044 javascript: improve paged content widget
Ryan Wyllie [Tue, 17 Jul 2018 07:04:37 +0000 (15:04 +0800)]
MDL-63044 javascript: improve paged content widget

3 years agoMDL-63044 course: add get_enrolled_courses_by_timeline_classification
Ryan Wyllie [Mon, 27 Aug 2018 08:43:56 +0000 (16:43 +0800)]
MDL-63044 course: add get_enrolled_courses_by_timeline_classification

3 years agoMDL-63044 theme_boost: add dir-ltr-hide and dir-rtl-hide classes
Ryan Wyllie [Tue, 4 Sep 2018 05:05:01 +0000 (13:05 +0800)]
MDL-63044 theme_boost: add dir-ltr-hide and dir-rtl-hide classes

3 years agoMDL-63044 theme_boost: fix secondary outline button styling
Ryan Wyllie [Mon, 27 Aug 2018 09:01:56 +0000 (17:01 +0800)]
MDL-63044 theme_boost: fix secondary outline button styling

3 years agoMDL-63044 theme_boost: add line-height classes
Ryan Wyllie [Mon, 27 Aug 2018 08:51:59 +0000 (16:51 +0800)]
MDL-63044 theme_boost: add line-height classes

3 years agoMDL-63044 theme: add background pulse grey class
Ryan Wyllie [Mon, 27 Aug 2018 09:01:31 +0000 (17:01 +0800)]
MDL-63044 theme: add background pulse grey class

3 years agoMDL-63044 theme_boost: add icon class
Ryan Wyllie [Mon, 27 Aug 2018 09:00:49 +0000 (17:00 +0800)]
MDL-63044 theme_boost: add icon class

3 years agoMDL-63044 icon: add next and previous icons
Ryan Wyllie [Tue, 17 Jul 2018 07:02:21 +0000 (15:02 +0800)]
MDL-63044 icon: add next and previous icons

3 years agoMDL-63044 javascript: add getUserMidnightForTimestamp to user_date
Ryan Wyllie [Thu, 27 Sep 2018 02:13:55 +0000 (10:13 +0800)]
MDL-63044 javascript: add getUserMidnightForTimestamp to user_date

3 years agoMDL-63044 javascript: add global helper for dropdowns
Ryan Wyllie [Tue, 17 Jul 2018 07:00:30 +0000 (15:00 +0800)]
MDL-63044 javascript: add global helper for dropdowns

3 years agoMDL-63044 javascript: add simple pubsub implementation
Ryan Wyllie [Tue, 17 Jul 2018 06:50:00 +0000 (14:50 +0800)]
MDL-63044 javascript: add simple pubsub implementation

3 years agoMerge branch 'MDL-54035_master-fix' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Wed, 26 Sep 2018 21:28:34 +0000 (23:28 +0200)]
Merge branch 'MDL-54035_master-fix' of git://github.com/dmonllao/moodle

3 years agoMerge branch 'MDL-63013-master-prioritypolicy' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 26 Sep 2018 21:21:09 +0000 (23:21 +0200)]
Merge branch 'MDL-63013-master-prioritypolicy' of git://github.com/mudrd8mz/moodle

3 years agoMDL-54035 accesslib: Check if the user can switch role before switching
David Monllao [Wed, 26 Sep 2018 11:03:08 +0000 (13:03 +0200)]
MDL-54035 accesslib: Check if the user can switch role before switching

3 years agoMerge branch 'MDL-63113-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Wed, 26 Sep 2018 08:57:20 +0000 (10:57 +0200)]
Merge branch 'MDL-63113-master' of git://github.com/bmbrands/moodle

3 years agoMerge branch 'MDL-61161-master' of https://github.com/mackensen/moodle
David Monllao [Wed, 26 Sep 2018 08:23:39 +0000 (10:23 +0200)]
Merge branch 'MDL-61161-master' of https://github.com/mackensen/moodle

3 years agoMDL-63113 theme boost: initialsbar wrapping
Bas Brands [Wed, 26 Sep 2018 08:18:11 +0000 (10:18 +0200)]
MDL-63113 theme boost: initialsbar wrapping

3 years agoMerge branch 'MDL-61981-master_nestedmath' of git://github.com/Mankro/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 21:36:17 +0000 (23:36 +0200)]
Merge branch 'MDL-61981-master_nestedmath' of git://github.com/Mankro/moodle

3 years agoMerge branch 'MDL-62279-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 21:25:10 +0000 (23:25 +0200)]
Merge branch 'MDL-62279-master' of git://github.com/damyon/moodle

3 years agoMerge branch 'MDL-62714-boost_course_visibility_in_navbar' of https://github.com...
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 21:17:52 +0000 (23:17 +0200)]
Merge branch 'MDL-62714-boost_course_visibility_in_navbar' of https://github.com/fskandalis/moodle

3 years agoMerge branch 'MDL-63253-master-adminsearchresults' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 20:56:11 +0000 (22:56 +0200)]
Merge branch 'MDL-63253-master-adminsearchresults' of git://github.com/mudrd8mz/moodle

3 years agoMerge branch 'MDL-62334-master' of https://github.com/danielneis/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 20:50:41 +0000 (22:50 +0200)]
Merge branch 'MDL-62334-master' of https://github.com/danielneis/moodle

3 years agoMDL-61161 course: grace period for classifying in progress courses
Charles Fulton [Thu, 11 Jan 2018 00:35:02 +0000 (16:35 -0800)]
MDL-61161 course: grace period for classifying in progress courses

3 years agoMDL-62334 admin: add a new course link on admin/search
Daniel Neis Araujo [Tue, 25 Sep 2018 17:31:50 +0000 (14:31 -0300)]
MDL-62334 admin: add a new course link on admin/search

3 years agoMerge branch 'MDL-60028' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 14:57:58 +0000 (16:57 +0200)]
Merge branch 'MDL-60028' of https://github.com/paulholden/moodle

3 years agoMerge branch 'wip-MDL-62708-master' of https://github.com/Beedell/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 14:52:50 +0000 (16:52 +0200)]
Merge branch 'wip-MDL-62708-master' of https://github.com/Beedell/moodle

3 years agoMDL-57610 assignfeedback_editpdf: add missing UK to install.xml
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 13:21:42 +0000 (15:21 +0200)]
MDL-57610 assignfeedback_editpdf: add missing UK to install.xml

3 years agoMerge branch 'MDL-57610' of git://github.com/aolley/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 10:28:47 +0000 (12:28 +0200)]
Merge branch 'MDL-57610' of git://github.com/aolley/moodle

3 years agoMerge branch 'MDL-63119-master' of git://github.com/lameze/moodle
David Monllao [Tue, 25 Sep 2018 10:36:08 +0000 (12:36 +0200)]
Merge branch 'MDL-63119-master' of git://github.com/lameze/moodle

3 years agoMerge branch 'MDL-62930-master' of git://github.com/damyon/moodle
David Monllao [Tue, 25 Sep 2018 10:28:10 +0000 (12:28 +0200)]
Merge branch 'MDL-62930-master' of git://github.com/damyon/moodle

3 years agoMerge branch 'MDL-62717-master' of https://github.com/lucaboesch/moodle
David Monllao [Tue, 25 Sep 2018 10:18:36 +0000 (12:18 +0200)]
Merge branch 'MDL-62717-master' of https://github.com/lucaboesch/moodle

3 years agoMerge branch 'MDL-61967-master' of git://github.com/sarjona/moodle
David Monllao [Tue, 25 Sep 2018 09:08:53 +0000 (11:08 +0200)]
Merge branch 'MDL-61967-master' of git://github.com/sarjona/moodle

3 years agoMerge branch 'MDL-63346' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 25 Sep 2018 00:35:08 +0000 (08:35 +0800)]
Merge branch 'MDL-63346' of https://github.com/stronk7/moodle

3 years agoMDL-57610 assignfeedback_editpdf: integration cleanup
Adam Olley [Tue, 25 Sep 2018 00:22:17 +0000 (09:52 +0930)]
MDL-57610 assignfeedback_editpdf: integration cleanup

* Add a note to upgrade.php to notify devs/admins of the new setting.
* Replace update_record with set_field.
* Add missing phpdoc.

3 years agoMDL-61967 core_user: Allow filtering by No groups on participants page
Sara Arjona [Fri, 13 Jul 2018 09:28:59 +0000 (11:28 +0200)]
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.

3 years agoMDL-63020 tests: ensure that searching for is null values also works ok
Eloy Lafuente (stronk7) [Mon, 24 Sep 2018 15:38:10 +0000 (17:38 +0200)]
MDL-63020 tests: ensure that searching for is null values also works ok

3 years agoMerge branch 'MDL-63020' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 24 Sep 2018 14:01:21 +0000 (16:01 +0200)]
Merge branch 'MDL-63020' of git://github.com/timhunt/moodle

3 years agoMDL-63020 dml: improve the unit tests
Tim Hunt [Mon, 24 Sep 2018 10:41:25 +0000 (11:41 +0100)]
MDL-63020 dml: improve the unit tests

3 years agoMerge branch 'MDL-61573-master' of https://github.com/Kathrin84/moodle
David Monllao [Mon, 24 Sep 2018 09:24:49 +0000 (11:24 +0200)]
Merge branch 'MDL-61573-master' of https://github.com/Kathrin84/moodle

3 years agoMDL-62708 qformat_xml: phpunit test correction.
John Beedell [Mon, 24 Sep 2018 08:37:12 +0000 (09:37 +0100)]
MDL-62708 qformat_xml: phpunit test correction.

3 years agoMDL-47962 upgrade.txt: Update commit reference
David Monllao [Mon, 24 Sep 2018 07:50:05 +0000 (09:50 +0200)]
MDL-47962 upgrade.txt: Update commit reference

3 years agoMerge branch 'MDL-47962' of git://github.com/timhunt/moodle
David Monllao [Mon, 24 Sep 2018 07:45:47 +0000 (09:45 +0200)]
Merge branch 'MDL-47962' of git://github.com/timhunt/moodle

3 years agoMDL-54035 upgrade.txt: Limit comments to relevant info for upgrades
David Monllao [Mon, 24 Sep 2018 07:41:18 +0000 (09:41 +0200)]
MDL-54035 upgrade.txt: Limit comments to relevant info for upgrades

3 years agoMDL-54035 course: Test reset roles in reset_course_userdata()
Jonathan Champ [Wed, 20 Jun 2018 14:31:25 +0000 (10:31 -0400)]
MDL-54035 course: Test reset roles in reset_course_userdata()

Previously, reset_course_userdata() was deleting the role_capabilities
directly, but has_capability() checks the local capabilities cache
which was still returning the previous value.

3 years agoMDL-54035 accesslib: Add context->get_parent_context_paths()
Jonathan Champ [Thu, 21 Jun 2018 17:23:03 +0000 (13:23 -0400)]
MDL-54035 accesslib: Add context->get_parent_context_paths()

Returns full context paths for parent contexts. Useful for exact
matches, such as when checking dirtycontexts.

3 years agoMDL-54035 accesslib: add mark_user_dirty helper
Jonathan Champ [Tue, 5 Jun 2018 20:37:25 +0000 (16:37 -0400)]
MDL-54035 accesslib: add mark_user_dirty helper

Instead of marking an entire context dirty and affecting all users
of those contexts, mark the user as dirty when the change only
affects that user.

3 years agoMDL-54035 accesslib: only modify role_capabilities in accesslib
Jonathan Champ [Fri, 22 Jun 2018 21:16:14 +0000 (17:16 -0400)]
MDL-54035 accesslib: only modify role_capabilities in accesslib

Whenever the role_capabilities table is changed, we need to remember
to clear the cache for the role(s) being modified. This is far simpler
when all of those changes happen in a single file, i.e. accesslib.php,
allowing other parts of the application to use the public functions
without requiring knowledge of the cache internals.

3 years agoMDL-54035 accesslib: separate role definition cache clear
Jonathan Champ [Tue, 5 Jun 2018 19:13:02 +0000 (15:13 -0400)]
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()

3 years agoMDL-62708 question: Add idnumbers to question and question category
John Beedell [Wed, 4 Jul 2018 11:21:44 +0000 (12:21 +0100)]
MDL-62708 question: Add idnumbers to question and question category

3 years agoMDL-60028 enrol: fix counting of enrolled users in a given context.
Paul Holden [Fri, 7 Sep 2018 13:18:45 +0000 (14:18 +0100)]
MDL-60028 enrol: fix counting of enrolled users in a given context.

Previously users enrolled in a course via multiple enrolment methods
would be counted multiple times.

3 years agoMDL-61981 filter_mathjaxloader: add unit tests
Markku Riekkinen [Thu, 20 Sep 2018 12:00:52 +0000 (15:00 +0300)]
MDL-61981 filter_mathjaxloader: add unit tests

3 years agoMDL-61981 filter_mathjaxloader: nested math environments
Markku Riekkinen [Wed, 19 Sep 2018 09:04:23 +0000 (12:04 +0300)]
MDL-61981 filter_mathjaxloader: nested math environments

The MathJax filter used to break mathematics if inline math was
used inside display math. Nolink spans were added around
the inline math even though it was nested inside another math
environment. This fix is aware of the nesting so that the spans
may be inserted only at the outer math environment. No regular
expressions are used because they do not support detecting
arbitrary, unlimited nesting of parentheses in the text, which
is now needed.

3 years agoMDL-47962 filter_glossary: changes made during integration review
Tim Hunt [Wed, 19 Sep 2018 13:54:52 +0000 (14:54 +0100)]
MDL-47962 filter_glossary: changes made during integration review

3 years agoMDL-47962 filter_glossary: only create replacement HTML if needed
Tim Hunt [Thu, 13 Sep 2018 17:42:14 +0000 (18:42 +0100)]
MDL-47962 filter_glossary: only create replacement HTML if needed

3 years agoMDL-47962 filter_glossary: only prepare the replacement if used
Tim Hunt [Thu, 13 Sep 2018 17:03:35 +0000 (18:03 +0100)]
MDL-47962 filter_glossary: only prepare the replacement if used

3 years agoMDL-47962 filter_glossary: clean up filterobject class
Tim Hunt [Thu, 13 Sep 2018 16:53:10 +0000 (17:53 +0100)]
MDL-47962 filter_glossary: clean up filterobject class

This is another preliminary commit, rationalising the ->work... fields
and also moving the code that sets them up into a separate function.
This is also to prepare for the next commit.

3 years agoMDL-47962 filter_glossary: only prepare_phrases_for_filtering once
Tim Hunt [Thu, 13 Sep 2018 16:21:02 +0000 (17:21 +0100)]
MDL-47962 filter_glossary: only prepare_phrases_for_filtering once

3 years agoMDL-47962 filter_glossary: use preg features for fullmatch
Tim Hunt [Thu, 13 Sep 2018 16:08:28 +0000 (17:08 +0100)]
MDL-47962 filter_glossary: use preg features for fullmatch

This eliminates a lot of necessary string manipulation for something
that preg can just do with the \b assertion.

The change also extracts all the work to prepare ->work_phrase (renamed
->regexp) into a separate function. This is to pave the way for future
efficiency gains, but for now I have not done them, so it is easier to
verify by inspection that this commit does not change behaviour.

Also, some tidy-ups to the filterobject structure, to eliminate some
redundant fields.

3 years agoMDL-47962 filter_glossary: cache concept list in a MUC static cache
Tim Hunt [Tue, 11 Sep 2018 16:36:29 +0000 (17:36 +0100)]
MDL-47962 filter_glossary: cache concept list in a MUC static cache

This is a slight improvement on a suggestion by David Monllaó

3 years agoMDL-47962 filter_glossary: Fix lang string concatenation
Tim Hunt [Tue, 11 Sep 2018 15:49:10 +0000 (16:49 +0100)]
MDL-47962 filter_glossary: Fix lang string concatenation

3 years agoMDL-47962 filter_glossary: $GLOSSARY_EXCLUDEENTRY shouldn't stop caching
Tim Hunt [Tue, 20 Jan 2015 18:14:29 +0000 (18:14 +0000)]
MDL-47962 filter_glossary: $GLOSSARY_EXCLUDEENTRY shouldn't stop caching

Also, greatly improved unit tests, to test more cases of how the filter
should work.

3 years agoMDL-47962 filterlib: Fix lots of coding style
Tim Hunt [Tue, 20 Jan 2015 18:05:23 +0000 (18:05 +0000)]
MDL-47962 filterlib: Fix lots of coding style

3 years agoMDL-63020 ddl: fix nullable unique indexes in OCI and MS SQL
Tim Hunt [Fri, 7 Sep 2018 14:32:33 +0000 (15:32 +0100)]
MDL-63020 ddl: fix nullable unique indexes in OCI and MS SQL

This works-around the default non-standard behaviour of these DB engines.

3 years agoMDL-63020 xmldb: Improve PHPdoc comments for better IDE autocomplete
Tim Hunt [Fri, 7 Sep 2018 14:30:50 +0000 (15:30 +0100)]
MDL-63020 xmldb: Improve PHPdoc comments for better IDE autocomplete

3 years agoMDL-62717 forum: Create announcements forum with HTML format intro.
Luca Bösch [Thu, 30 Aug 2018 08:22:43 +0000 (10:22 +0200)]
MDL-62717 forum: Create announcements forum with HTML format intro.

3 years agoweekly release 3.6dev
Eloy Lafuente (stronk7) [Thu, 20 Sep 2018 10:11:53 +0000 (12:11 +0200)]
weekly release 3.6dev

3 years agoMDL-63346 nodejs: Bump to created from scratch shrinkwrap file
Eloy Lafuente (stronk7) [Fri, 14 Sep 2018 10:34:02 +0000 (12:34 +0200)]
MDL-63346 nodejs: Bump to created from scratch shrinkwrap file

Steps:

- remove node_modules & npm-shrinkwrap.json
- npm cache clear --force
- npm install
- npm shrinkwrap

3 years agoMDL-23545 question: fix remaining sizes leading to failures
Eloy Lafuente (stronk7) [Wed, 19 Sep 2018 21:07:20 +0000 (23:07 +0200)]
MDL-23545 question: fix remaining sizes leading to failures

3 years agoMerge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 19 Sep 2018 16:10:37 +0000 (18:10 +0200)]
Merge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle

3 years agoMDL-59227 course: Use low level early renaming to avoid dupes
Eloy Lafuente (stronk7) [Wed, 19 Sep 2018 14:55:20 +0000 (16:55 +0200)]
MDL-59227 course: Use low level early renaming to avoid dupes

Instead of using set_coursemodule_name() to proceed with the name
change we perform the change earlier in the process, both to avoid
duplicate events caused by the renaming function and also to get the new
name used by all proper generated events.

3 years agoMerge branch 'MDL-63140-master' of git://github.com/rezaies/moodle
David Monllao [Wed, 19 Sep 2018 11:30:43 +0000 (13:30 +0200)]
Merge branch 'MDL-63140-master' of git://github.com/rezaies/moodle

3 years agoMDL-23545 qformat_xml: fix another Behat test
Tim Hunt [Tue, 18 Sep 2018 12:52:51 +0000 (13:52 +0100)]
MDL-23545 qformat_xml: fix another Behat test

3 years agoMerge branch 'MDL-63135-master' of git://github.com/rezaies/moodle
David Monllao [Wed, 19 Sep 2018 11:12:40 +0000 (13:12 +0200)]
Merge branch 'MDL-63135-master' of git://github.com/rezaies/moodle

3 years agoMDL-63013 tool_policy: Add Behat tests for the new style of agreements
David Mudrák [Thu, 30 Aug 2018 16:39:09 +0000 (18:39 +0200)]
MDL-63013 tool_policy: Add Behat tests for the new style of agreements

The tests make sure that both existing users as well as signing up users
can accept policies with "on their own page" style of agreement prior
reaching the consent page.

3 years agoMDL-63013 tool_policy: Change acceptance flow for policies with own page
David Mudrák [Wed, 29 Aug 2018 21:43:57 +0000 (23:43 +0200)]
MDL-63013 tool_policy: Change acceptance flow for policies with own page

The idea of the patch is to check the list of policies that are shown
before and on the consent page. If that list contains a policy that is
supposed to be accepted on its own page, the existing flow is
interrupted and the user is redirected to a view.php to display that
particular policy.

The view template for such a policy contains a button for getting the
user agreement. When pressed, the policy is marked as accepted and we
can go to start again.

To make this working during the signup, we need to extend the existing
logic and start tracking which particular policies the visitor accepted
prior reaching the signup form. Similarly, we need to start track which
particular policies were displayed and use that list when evaluating
which policies were unchecked on the consent page.

3 years agoMDL-63013 tool_policy: Policy agreement style can be defined now
David Mudrák [Wed, 29 Aug 2018 16:00:00 +0000 (18:00 +0200)]
MDL-63013 tool_policy: Policy agreement style can be defined now

The patch introduces a new property of a policy document called
"Agreement style". It allows the admin to define if the policy should be
accepted together with all others on the consent page (legacy and
default behaviour) or on its page before the consent page is reached
(the new optional behaviour).

3 years agoMerge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 22:26:25 +0000 (00:26 +0200)]
Merge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle

3 years agoMerge branch 'MDL-63116-master-1' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 21:26:51 +0000 (23:26 +0200)]
Merge branch 'MDL-63116-master-1' of git://github.com/mihailges/moodle

3 years agoMerge branch 'MDL-59227' of https://github.com/rlorenzo/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 21:11:34 +0000 (23:11 +0200)]
Merge branch 'MDL-59227' of https://github.com/rlorenzo/moodle

3 years agoMDL-61908 privacy: Fix heading in data privacy pages
Mihail Geshoski [Thu, 13 Sep 2018 06:44:26 +0000 (14:44 +0800)]
MDL-61908 privacy: Fix heading in data privacy pages

3 years agoMerge branch 'MDL-63109-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 15:50:13 +0000 (17:50 +0200)]
Merge branch 'MDL-63109-master' of git://github.com/mihailges/moodle

3 years agoMerge branch 'MDL-63138-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:39:58 +0000 (16:39 +0200)]
Merge branch 'MDL-63138-master' of git://github.com/rezaies/moodle

3 years agoMerge branch 'MDL-63139-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:36:55 +0000 (16:36 +0200)]
Merge branch 'MDL-63139-master' of git://github.com/rezaies/moodle

3 years agoMerge branch 'MDL-63117-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:32:58 +0000 (16:32 +0200)]
Merge branch 'MDL-63117-master' of git://github.com/rezaies/moodle

3 years agoMDL-23545 qformat_xml: don't allow irrelevant DB differences to break tests
Tim Hunt [Tue, 18 Sep 2018 12:52:51 +0000 (13:52 +0100)]
MDL-23545 qformat_xml: don't allow irrelevant DB differences to break tests

Also slightly improve formatting of the exported file.

3 years agoMerge branch 'MDL-63333_master' of git://github.com/markn86/moodle
David Monllao [Tue, 18 Sep 2018 10:17:46 +0000 (12:17 +0200)]
Merge branch 'MDL-63333_master' of git://github.com/markn86/moodle