moodle.git
4 years agoMerge branch 'MDL-68444-39' of git://github.com/rezaies/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 17:15:13 +0000 (19:15 +0200)]
Merge branch 'MDL-68444-39' of git://github.com/rezaies/moodle into MOODLE_39_STABLE

4 years agoMDL-69475 backup: Proper handling of backup::RELEASE versions
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 10:22:59 +0000 (12:22 +0200)]
MDL-69475 backup: Proper handling of backup::RELEASE versions

1) Remove any floatval() casting. They are breaking / killing
   .10 versions (converting them to .1). Since Moodle 2.0 all the
   backup::RELEASE have been 100% numerical values.
2) Use version_compare() always to compare backup::RELEASE values.
   They are always versions and the function is aware of versions
   > .9, able to clean/ignore alpha chars... and everything else.

Note that I've also changed a couple of cases in formats (topics and
weeks) that were correct, but just added the same comment and used
the same version_compare() comparison parameters style, so all uses
in core are consistent (and safe to be copied out there).

4 years agoMerge branch 'MDL-69273-39' of git://github.com/andrewnicols/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 08:59:37 +0000 (10:59 +0200)]
Merge branch 'MDL-69273-39' of git://github.com/andrewnicols/moodle into MOODLE_39_STABLE

4 years agoMDL-68683 competencies: step to delete orphaned evidence files
Simey Lameze [Fri, 22 May 2020 08:20:53 +0000 (16:20 +0800)]
MDL-68683 competencies: step to delete orphaned evidence files

4 years agoMDL-68683 core: fix DML exception on upgrade step
Simey Lameze [Thu, 14 May 2020 05:02:29 +0000 (13:02 +0800)]
MDL-68683 core: fix DML exception on upgrade step

4 years agoMDL-69273 travis: Use exttests for https too
Andrew Nicols [Mon, 17 Aug 2020 23:47:59 +0000 (07:47 +0800)]
MDL-69273 travis: Use exttests for https too

4 years agoMDL-69273 travis: Move exttests check to after_script
Andrew Nicols [Tue, 14 Jul 2020 23:36:02 +0000 (07:36 +0800)]
MDL-69273 travis: Move exttests check to after_script

The result of the final command `script` phase determines the build
result.

The cleanup belongs in the `after_script` phase.

4 years agoMDL-69493 cohort: remove escaping of return URL params.
Paul Holden [Mon, 17 Aug 2020 20:14:57 +0000 (21:14 +0100)]
MDL-69493 cohort: remove escaping of return URL params.

4 years agoMDL-69089 core_contentbank: Tests for empty content names
Amaia Anabitarte [Mon, 20 Jul 2020 10:41:24 +0000 (12:41 +0200)]
MDL-69089 core_contentbank: Tests for empty content names

4 years agoMDL-69089 core_contentbank: Empty content names are not allowed
Amaia Anabitarte [Mon, 20 Jul 2020 10:41:04 +0000 (12:41 +0200)]
MDL-69089 core_contentbank: Empty content names are not allowed

4 years agoMerge branch 'MDL-69414_M39' of https://github.com/nadavkav/moodle into MOODLE_39_STABLE
Andrew Nicols [Mon, 17 Aug 2020 06:52:46 +0000 (14:52 +0800)]
Merge branch 'MDL-69414_M39' of https://github.com/nadavkav/moodle into MOODLE_39_STABLE

4 years agoMDL-69401 book: Limit character length in chapter title
Mihail Geshoski [Tue, 4 Aug 2020 01:50:25 +0000 (09:50 +0800)]
MDL-69401 book: Limit character length in chapter title

4 years agoMDL-69375 mod_lti: Fix Names and Roles Link header format
carlos [Wed, 5 Aug 2020 18:57:46 +0000 (15:57 -0300)]
MDL-69375 mod_lti: Fix Names and Roles Link header format

- Changed line 469 of memberships.php to build Link header according to the Web Linking specification RFC8288.

4 years agoMDL-42434 mod_chat: add again the usingchat help icon
Sara Arjona [Wed, 12 Aug 2020 10:54:00 +0000 (12:54 +0200)]
MDL-42434 mod_chat: add again the usingchat help icon

In Moodle 2.4 the help icon displayed in the chat window was
removed. It has been added to gui_ajax and gui_basic in order to help users.

4 years agoMDL-69055 core_badges: display password/oauth fields properly
Sara Arjona [Tue, 11 Aug 2020 10:36:58 +0000 (12:36 +0200)]
MDL-69055 core_badges: display password/oauth fields properly

4 years agoMDL-69054 core_badges: allow editing OBv1.0 backpacks
Sara Arjona [Tue, 11 Aug 2020 06:56:08 +0000 (08:56 +0200)]
MDL-69054 core_badges: allow editing OBv1.0 backpacks

4 years agoMDL-61215 core_user: use the new optimised_image filetype group
Sara Arjona [Tue, 11 Aug 2020 12:50:06 +0000 (14:50 +0200)]
MDL-61215 core_user: use the new optimised_image filetype group

For the user profile picture (instead of the web_image which includes
SVG files).

4 years agoMDL-61215 core_badges: use the new optimised_image filetype group
Sara Arjona [Tue, 11 Aug 2020 12:38:37 +0000 (14:38 +0200)]
MDL-61215 core_badges: use the new optimised_image filetype group

For the badge picture (instead of the web_image which includes
SVG files).

4 years agoMDL-61215 core_files: add new optimised_image group
Sara Arjona [Tue, 11 Aug 2020 10:59:59 +0000 (12:59 +0200)]
MDL-61215 core_files: add new optimised_image group

Currently, PHP getimagesize method doesn't support SVG images.
As some features, such as badges, processs and optimise the images
before using them, a new filetype group has been created to exclude
SVG from there: optimised_image.
SVG can't be removed from web_image because then users won't be
able to add SVG images to their courses using labels, pages...

4 years agoMDL-69271 auth_ldap: Don't assume any ordering, just verify matches
Eloy Lafuente (stronk7) [Sat, 25 Jul 2020 18:29:02 +0000 (20:29 +0200)]
MDL-69271 auth_ldap: Don't assume any ordering, just verify matches

Both ldap or the DB can return information in a non-consistent
ordering leading to events to be generated in different order.

And current tests are, right now, assuming a given order.

Note this is a rare random, but it's happening, so better
fix it, see the issue for some more details.

So we just do the tests ordering immune, verifying that all the
expected events have been triggered and done. Irrespectively of their order.

4 years agoMDL-69473 contentbank: change incorrect ref to size in type column
Sara Arjona [Fri, 14 Aug 2020 06:53:49 +0000 (08:53 +0200)]
MDL-69473 contentbank: change incorrect ref to size in type column

4 years agoweekly release 3.9.1+
Andrew Nicols [Fri, 14 Aug 2020 06:42:37 +0000 (14:42 +0800)]
weekly release 3.9.1+

4 years agoNOBUG: Fixed SVG browser compatibility
Andrew Nicols [Fri, 14 Aug 2020 06:42:35 +0000 (14:42 +0800)]
NOBUG: Fixed SVG browser compatibility

4 years agoMerge branch 'MDL-68666-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE
Andrew Nicols [Thu, 13 Aug 2020 07:21:28 +0000 (15:21 +0800)]
Merge branch 'MDL-68666-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE

4 years agoMDL-68666 core_pix: add missing fallback icons
Bas Brands [Thu, 14 May 2020 12:31:31 +0000 (14:31 +0200)]
MDL-68666 core_pix: add missing fallback icons

4 years agoMerge branch 'MDL-69253_39' of https://github.com/timhunt/moodle into MOODLE_39_STABLE
Andrew Nicols [Thu, 13 Aug 2020 03:52:32 +0000 (11:52 +0800)]
Merge branch 'MDL-69253_39' of https://github.com/timhunt/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-60492-tagcloud_html-39' of https://github.com/leonstr/moodle into...
Andrew Nicols [Thu, 13 Aug 2020 03:45:10 +0000 (11:45 +0800)]
Merge branch 'MDL-60492-tagcloud_html-39' of https://github.com/leonstr/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69381-39' of https://github.com/marinaglancy/moodle into MOODLE_39_...
Andrew Nicols [Thu, 13 Aug 2020 03:29:09 +0000 (11:29 +0800)]
Merge branch 'MDL-69381-39' of https://github.com/marinaglancy/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-68423-39' of git://github.com/ferranrecio/moodle into MOODLE_39_STABLE
Adrian Greeve [Thu, 13 Aug 2020 03:05:37 +0000 (11:05 +0800)]
Merge branch 'MDL-68423-39' of git://github.com/ferranrecio/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-68932-39' of git://github.com/rezaies/moodle into MOODLE_39_STABLE
Andrew Nicols [Thu, 13 Aug 2020 02:52:26 +0000 (10:52 +0800)]
Merge branch 'MDL-68932-39' of git://github.com/rezaies/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69421-39' of git://github.com/noeldemartin/moodle into MOODLE_39_STABLE
Andrew Nicols [Thu, 13 Aug 2020 01:35:59 +0000 (09:35 +0800)]
Merge branch 'MDL-69421-39' of git://github.com/noeldemartin/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-67991-39' of git://github.com/aanabit/moodle into MOODLE_39_STABLE
Andrew Nicols [Thu, 13 Aug 2020 01:04:15 +0000 (09:04 +0800)]
Merge branch 'MDL-67991-39' of git://github.com/aanabit/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69241-39' of git://github.com/mickhawkins/moodle into MOODLE_39_STABLE
Andrew Nicols [Thu, 13 Aug 2020 00:47:03 +0000 (08:47 +0800)]
Merge branch 'MDL-69241-39' of git://github.com/mickhawkins/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-60260-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Andrew Nicols [Wed, 12 Aug 2020 23:55:21 +0000 (07:55 +0800)]
Merge branch 'MDL-60260-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69143-39' of git://github.com/ferranrecio/moodle into MOODLE_39_STABLE
Andrew Nicols [Wed, 12 Aug 2020 23:45:44 +0000 (07:45 +0800)]
Merge branch 'MDL-69143-39' of git://github.com/ferranrecio/moodle into MOODLE_39_STABLE

4 years agoMDL-67415 environment: change requirements
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 23:22:44 +0000 (01:22 +0200)]
MDL-67415 environment: change requirements

- mysql requirement up to 5.7
- postgres requirement up to 9.6

4 years agoMDL-67415 environment: 3.10 base information
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 23:20:41 +0000 (01:20 +0200)]
MDL-67415 environment: 3.10 base information

This is a direct copy of the 3.9 branch to have
changes under control easier for next commits.

4 years agoMerge branch 'MDL-68860-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 23:08:32 +0000 (01:08 +0200)]
Merge branch 'MDL-68860-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-68558-39-plugindepscheckdeadend' of git://github.com/mudrd8mz/moodl...
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 22:40:17 +0000 (00:40 +0200)]
Merge branch 'MDL-68558-39-plugindepscheckdeadend' of git://github.com/mudrd8mz/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-67394-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 22:29:15 +0000 (00:29 +0200)]
Merge branch 'MDL-67394-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-67002_39' of https://github.com/timhunt/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 22:26:09 +0000 (00:26 +0200)]
Merge branch 'MDL-67002_39' of https://github.com/timhunt/moodle into MOODLE_39_STABLE

4 years agoMDL-68964 mod_chat: fix theme param
Ferran Recio [Wed, 29 Jul 2020 09:27:41 +0000 (11:27 +0200)]
MDL-68964 mod_chat: fix theme param

4 years agoMDL-69143 contentbank: catching Exception on file upload
Ferran Recio [Wed, 12 Aug 2020 14:57:17 +0000 (16:57 +0200)]
MDL-69143 contentbank: catching Exception on file upload

4 years agoMDL-68889 block_recentlyaccessedcourses: small viewport issues
Bas Brands [Tue, 2 Jun 2020 13:51:44 +0000 (15:51 +0200)]
MDL-68889 block_recentlyaccessedcourses: small viewport issues

- on small devices the recentlyaccessedcourses does not show any courses

4 years agoMDL-66900 course: don't clean category description when editing.
Paul Holden [Tue, 28 Apr 2020 23:25:45 +0000 (00:25 +0100)]
MDL-66900 course: don't clean category description when editing.

4 years agoMDL-26401 group: change import to use csv_import_reader class
Simey Lameze [Thu, 2 Apr 2020 02:27:04 +0000 (10:27 +0800)]
MDL-26401 group: change import to use csv_import_reader class

4 years agoMDL-26401 group: add delimiter and encoding fields to import
Simey Lameze [Thu, 30 Jul 2020 10:15:29 +0000 (18:15 +0800)]
MDL-26401 group: add delimiter and encoding fields to import

4 years agoMDL-69449 block_timeline: use dayslimit context data in template.
Paul Holden [Tue, 11 Aug 2020 22:33:20 +0000 (23:33 +0100)]
MDL-69449 block_timeline: use dayslimit context data in template.

Ensures the correct value is used when initially rendering the
course timeline.

4 years agoMerge branch 'MDL-68618-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Andrew Nicols [Wed, 12 Aug 2020 05:41:00 +0000 (13:41 +0800)]
Merge branch 'MDL-68618-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69353-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Andrew Nicols [Wed, 12 Aug 2020 03:22:40 +0000 (11:22 +0800)]
Merge branch 'MDL-69353-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-68334-39' of git://github.com/lucaboesch/moodle into MOODLE_39_STABLE
Andrew Nicols [Wed, 12 Aug 2020 03:14:05 +0000 (11:14 +0800)]
Merge branch 'MDL-68334-39' of git://github.com/lucaboesch/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69296-m39' of https://github.com/NeillM/moodle into MOODLE_39_STABLE
Andrew Nicols [Wed, 12 Aug 2020 02:29:58 +0000 (10:29 +0800)]
Merge branch 'MDL-69296-m39' of https://github.com/NeillM/moodle into MOODLE_39_STABLE

4 years agoMDL-69358 backup: Do not clean up records for incomplete adhoc tasks.
Mikhail Golenkov [Tue, 11 Aug 2020 11:01:44 +0000 (21:01 +1000)]
MDL-69358 backup: Do not clean up records for incomplete adhoc tasks.

Co-authored-by: Heena Agheda <heenaagheda@catalyst-au.net>
4 years agoMerge branch 'MDL-68731_39' of https://github.com/jonof/moodle into MOODLE_39_STABLE
Andrew Nicols [Wed, 12 Aug 2020 01:11:25 +0000 (09:11 +0800)]
Merge branch 'MDL-68731_39' of https://github.com/jonof/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69143-39' of git://github.com/ferranrecio/moodle into MOODLE_39_STABLE
Andrew Nicols [Tue, 11 Aug 2020 06:34:10 +0000 (14:34 +0800)]
Merge branch 'MDL-69143-39' of git://github.com/ferranrecio/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69168_recently-accessed-items-block-uses-stock-lti-icon__MOODLE_39_...
Andrew Nicols [Tue, 11 Aug 2020 05:00:36 +0000 (13:00 +0800)]
Merge branch 'MDL-69168_recently-accessed-items-block-uses-stock-lti-icon__MOODLE_39_STABLE' of https://github.com/stopfstedt/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69204-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Adrian Greeve [Tue, 11 Aug 2020 00:45:14 +0000 (08:45 +0800)]
Merge branch 'MDL-69204-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMDL-68618 mod_forum: stop reverting idnumber when updating instance.
Paul Holden [Tue, 5 May 2020 22:12:42 +0000 (23:12 +0100)]
MDL-68618 mod_forum: stop reverting idnumber when updating instance.

4 years agoMDL-68860 mod_lti: Oracle support for retrieving shared secrets.
Paul Holden [Thu, 28 May 2020 21:17:23 +0000 (22:17 +0100)]
MDL-68860 mod_lti: Oracle support for retrieving shared secrets.

Thanks to Mark van Hoek!

4 years agoMerge branch 'MDL-60493-grader_span_tag-39' of https://github.com/leonstr/moodle...
Adrian Greeve [Mon, 10 Aug 2020 01:22:18 +0000 (09:22 +0800)]
Merge branch 'MDL-60493-grader_span_tag-39' of https://github.com/leonstr/moodle into MOODLE_39_STABLE

4 years agoMDL-69414 qtype/ddimageortext: Fix dropzones display in RTL mode
Nadav Kavalerchik [Sun, 9 Aug 2020 08:45:21 +0000 (11:45 +0300)]
MDL-69414 qtype/ddimageortext: Fix dropzones display in RTL mode

4 years agoMDL-68334 user: Display name in footer as elsewhere.
Luca Bösch [Sat, 4 Apr 2020 08:29:29 +0000 (10:29 +0200)]
MDL-68334 user: Display name in footer as elsewhere.

4 years agoMDL-69168 block_recentlyaccesseditems: apply custom icon
Stefan Topfstedt [Mon, 27 Jul 2020 22:53:58 +0000 (15:53 -0700)]
MDL-69168 block_recentlyaccesseditems: apply custom icon

Overwrite the default mod icon with the configured icon url if
applicable.

4 years agoMDL-63375 workshop: fix rubric grid view
Matt Davidson [Fri, 24 Jul 2020 18:26:17 +0000 (14:26 -0400)]
MDL-63375 workshop: fix rubric grid view

4 years agoMDL-67991 availability: Fix access restrictions labels
Amaia Anabitarte [Thu, 23 Jul 2020 09:36:09 +0000 (11:36 +0200)]
MDL-67991 availability: Fix access restrictions labels

4 years agoMDL-69241 lib: Reset dynamic tables to page 1 when filtering or sorting
Michael Hawkins [Wed, 15 Jul 2020 11:58:23 +0000 (19:58 +0800)]
MDL-69241 lib: Reset dynamic tables to page 1 when filtering or sorting

This ensures consistency and that the page will always exist, which may
not be true for later pages if applying filters returns fewer results.

4 years agoweekly release 3.9.1+
Eloy Lafuente (stronk7) [Thu, 6 Aug 2020 18:51:32 +0000 (20:51 +0200)]
weekly release 3.9.1+

4 years agoMDL-69421 behat: Revert app behat navigation to call session visit
Noel De Martin [Thu, 6 Aug 2020 10:08:43 +0000 (12:08 +0200)]
MDL-69421 behat: Revert app behat navigation to call session visit

4 years agoMerge branch 'MDL-60501-h4_close_tag-39' of https://github.com/leonstr/moodle into...
Jun Pataleta [Thu, 6 Aug 2020 04:11:18 +0000 (12:11 +0800)]
Merge branch 'MDL-60501-h4_close_tag-39' of https://github.com/leonstr/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69111-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE
Jun Pataleta [Thu, 6 Aug 2020 03:36:48 +0000 (11:36 +0800)]
Merge branch 'MDL-69111-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-40227-39-1' of git://github.com/peterRd/moodle into MOODLE_39_STABLE
Adrian Greeve [Thu, 6 Aug 2020 03:28:34 +0000 (11:28 +0800)]
Merge branch 'MDL-40227-39-1' of git://github.com/peterRd/moodle into MOODLE_39_STABLE

4 years agoMDL-40227 mod_lesson: Use localised float formatting
Peter [Tue, 11 Dec 2018 03:39:21 +0000 (11:39 +0800)]
MDL-40227 mod_lesson: Use localised float formatting

* Leverage PARAM_LOCALISEDFLOAT
* Store all numbers with standard '.' dec formatting
* Show all numbers based on locale settings
* Behat test to cover different cases using numeric questions and modified locale setting

4 years agoMerge branch 'MDL-69311-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Adrian Greeve [Thu, 6 Aug 2020 01:49:32 +0000 (09:49 +0800)]
Merge branch 'MDL-69311-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MOODLE_39_MDL-66626' of https://github.com/golenkovm/moodle into MOODLE...
Adrian Greeve [Thu, 6 Aug 2020 01:07:26 +0000 (09:07 +0800)]
Merge branch 'MOODLE_39_MDL-66626' of https://github.com/golenkovm/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-66670-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Wed, 5 Aug 2020 22:58:26 +0000 (00:58 +0200)]
Merge branch 'MDL-66670-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE

4 years agoMDL-60492 core_tag: Fix title attribute
Leon Stringer [Wed, 5 Aug 2020 11:55:02 +0000 (12:55 +0100)]
MDL-60492 core_tag: Fix title attribute

Attribute 'title' was specified inside a condition but closing `"` was
outside condition possibly resulting in <a href="..." class="..." ">.
Also moved </a> outside of condition to match <a>.

4 years agoMDL-68932 core: showhidesettings to work with multiple hideIf()s
Shamim Rezaie [Fri, 12 Jun 2020 07:40:10 +0000 (17:40 +1000)]
MDL-68932 core: showhidesettings to work with multiple hideIf()s

4 years agoMerge branch 'MDL-68647-39-forumprivacysql' of git://github.com/mudrd8mz/moodle into...
Adrian Greeve [Wed, 5 Aug 2020 06:22:22 +0000 (14:22 +0800)]
Merge branch 'MDL-68647-39-forumprivacysql' of git://github.com/mudrd8mz/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-60932-39' of git://github.com/aanabit/moodle into MOODLE_39_STABLE
Adrian Greeve [Wed, 5 Aug 2020 02:08:50 +0000 (10:08 +0800)]
Merge branch 'MDL-60932-39' of git://github.com/aanabit/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-67831-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Tue, 4 Aug 2020 22:47:33 +0000 (00:47 +0200)]
Merge branch 'MDL-67831-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE

4 years agoMDL-69253 mod_quiz: unit test for the last commit
Tim Hunt [Tue, 4 Aug 2020 13:00:30 +0000 (14:00 +0100)]
MDL-69253 mod_quiz: unit test for the last commit

4 years agoMDL-69253 mod_quiz: Fix timecreated is 0 when creating a quiz activity
Josh Ebarvia [Sat, 11 Jul 2020 05:32:12 +0000 (15:02 +0930)]
MDL-69253 mod_quiz: Fix timecreated is 0 when creating a quiz activity

4 years agoMerge branch 'MDL-60574_39' of https://github.com/t-schroeder/moodle into MOODLE_39_S...
Jun Pataleta [Tue, 4 Aug 2020 11:51:20 +0000 (19:51 +0800)]
Merge branch 'MDL-60574_39' of https://github.com/t-schroeder/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-55299-39' of git://github.com/ferranrecio/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Tue, 4 Aug 2020 10:34:06 +0000 (12:34 +0200)]
Merge branch 'MDL-55299-39' of git://github.com/ferranrecio/moodle into MOODLE_39_STABLE

4 years agoMerge branch 'MDL-69336-39' of git://github.com/mickhawkins/moodle into MOODLE_39_STABLE
Jun Pataleta [Tue, 4 Aug 2020 08:54:21 +0000 (16:54 +0800)]
Merge branch 'MDL-69336-39' of git://github.com/mickhawkins/moodle into MOODLE_39_STABLE

4 years agoMDL-60574 atto_undo: fixed redo erasing content
Tim Schroeder [Thu, 16 Jul 2020 15:22:30 +0000 (17:22 +0200)]
MDL-60574 atto_undo: fixed redo erasing content

When you'd hit ctrl-y with nothing on the redo stack the entire
content of Atto would get deleted with no way of getting it back.

4 years agoMDL-69336 lib: Correctly return promises when table show/hide columns
Michael Hawkins [Thu, 23 Jul 2020 04:45:19 +0000 (12:45 +0800)]
MDL-69336 lib: Correctly return promises when table show/hide columns

Previously showColumn and HideColumn were returning nothing, so
attempts to catch exceptions were themselves throwing errors in the
browser console.

4 years agoMDL-69336 lib: Reinstating tablelib column show/hide functionality
Michael Hawkins [Tue, 21 Jul 2020 10:42:25 +0000 (18:42 +0800)]
MDL-69336 lib: Reinstating tablelib column show/hide functionality

Also added behat testing for hide/show columns in participants table.

4 years agoMerge branch 'MDL-69367-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Aug 2020 14:29:09 +0000 (16:29 +0200)]
Merge branch 'MDL-69367-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMDL-65847 auth_db: user_update() handle errors
Leon Stringer [Mon, 3 Aug 2020 10:49:55 +0000 (11:49 +0100)]
MDL-65847 auth_db: user_update() handle errors

The external database authentication plugin (auth_db) can update the
external database if mapped fields are set to Update external: On
update.  This change adds error handling in case this update fails.

4 years agoMerge branch 'MDL-62980-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Aug 2020 10:38:25 +0000 (12:38 +0200)]
Merge branch 'MDL-62980-39' of https://github.com/paulholden/moodle into MOODLE_39_STABLE

4 years agoMDL-69114 theme_boost: improve the color contrast for .*-info classes
Bas Brands [Mon, 3 Aug 2020 09:33:53 +0000 (11:33 +0200)]
MDL-69114 theme_boost: improve the color contrast for .*-info classes

4 years agoMDL-69112 assign: Improve parsing of uploaded feedback names
Eric Merrill [Fri, 31 Jul 2020 23:06:49 +0000 (19:06 -0400)]
MDL-69112 assign: Improve parsing of uploaded feedback names

4 years agoMDL-69381 core_backup: make progressbar selector more specific
Marina Glancy [Fri, 31 Jul 2020 11:28:24 +0000 (13:28 +0200)]
MDL-69381 core_backup: make progressbar selector more specific

4 years agoMDL-60932 core_user: Fix docs link for participants page
Amaia Anabitarte [Fri, 24 Jul 2020 11:37:29 +0000 (13:37 +0200)]
MDL-60932 core_user: Fix docs link for participants page

Co-authored by: David Mudrák <david@moodle.com>

4 years agoMDL-69296 resource: Pressing cancel should always exit settings form
Neill Magill [Thu, 16 Jul 2020 09:00:14 +0000 (10:00 +0100)]
MDL-69296 resource: Pressing cancel should always exit settings form

Before this change if a user used navigated to a resource activity
from another activity and then edited the settings it was likely
that using the cancel button would result in file downloading,
rather than being returned to their last page.

After this change the user will be back on the page they came from.

4 years agoMDL-67394 dml: improve thrown exception when Oracle can't parse query.
Paul Holden [Tue, 21 Jul 2020 22:49:03 +0000 (23:49 +0100)]
MDL-67394 dml: improve thrown exception when Oracle can't parse query.

4 years agoweekly release 3.9.1+
Victor Deniz Falcon [Thu, 30 Jul 2020 11:54:18 +0000 (12:54 +0100)]
weekly release 3.9.1+

4 years agoMerge branch 'install_39_STABLE' of https://git.in.moodle.com/amosbot/moodle-install...
Victor Deniz Falcon [Thu, 30 Jul 2020 11:54:12 +0000 (12:54 +0100)]
Merge branch 'install_39_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_39_STABLE

4 years agoMDL-62980 tool_dataprivacy: show persistent errors inside form.
Paul Holden [Wed, 27 Nov 2019 07:23:35 +0000 (07:23 +0000)]
MDL-62980 tool_dataprivacy: show persistent errors inside form.