moodle.git
8 months agoMerge branch 'MDL-69401-master' of git://github.com/mihailges/moodle
Andrew Nicols [Wed, 19 Aug 2020 23:00:55 +0000 (07:00 +0800)]
Merge branch 'MDL-69401-master' of git://github.com/mihailges/moodle

8 months agoMerge branch 'MDL-69297-master' of git://github.com/peterRd/moodle
Victor Deniz Falcon [Wed, 19 Aug 2020 22:28:34 +0000 (23:28 +0100)]
Merge branch 'MDL-69297-master' of git://github.com/peterRd/moodle

8 months agoMerge branch 'MDL-66665-master-POC2' of git://github.com/peterRd/moodle
Adrian Greeve [Wed, 19 Aug 2020 06:26:50 +0000 (14:26 +0800)]
Merge branch 'MDL-66665-master-POC2' of git://github.com/peterRd/moodle

8 months agoMDL-66665 assign: Check whether a modified user could actually grade
Peter Dias [Thu, 23 Jul 2020 12:00:36 +0000 (20:00 +0800)]
MDL-66665 assign: Check whether a modified user could actually grade

8 months agoMerge branch 'MDL-68683-master' of git://github.com/lameze/moodle
Adrian Greeve [Wed, 19 Aug 2020 04:51:23 +0000 (12:51 +0800)]
Merge branch 'MDL-68683-master' of git://github.com/lameze/moodle

8 months agoMDL-69297 assign: Check whether there is content for a submission
Peter Dias [Mon, 20 Jul 2020 02:07:31 +0000 (10:07 +0800)]
MDL-69297 assign: Check whether there is content for a submission

Confirm there is some content to be submitted for an assignment when processing it.

8 months agoMerge branch 'MDL-69475' of https://github.com/stronk7/moodle
Adrian Greeve [Wed, 19 Aug 2020 02:37:51 +0000 (10:37 +0800)]
Merge branch 'MDL-69475' of https://github.com/stronk7/moodle

8 months agoMerge branch 'MDL-26401-master' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 19 Aug 2020 00:50:37 +0000 (08:50 +0800)]
Merge branch 'MDL-26401-master' of git://github.com/lameze/moodle

8 months agoMDL-67735 theme_boost: Fix incorrect whitespace
Andrew Nicols [Wed, 19 Aug 2020 00:39:15 +0000 (08:39 +0800)]
MDL-67735 theme_boost: Fix incorrect whitespace

8 months agoMerge branch 'MDL-67735-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Wed, 19 Aug 2020 00:28:49 +0000 (08:28 +0800)]
Merge branch 'MDL-67735-master' of git://github.com/bmbrands/moodle

8 months agoMerge branch 'MDL-69089-master' of git://github.com/aanabit/moodle
Andrew Nicols [Wed, 19 Aug 2020 00:18:16 +0000 (08:18 +0800)]
Merge branch 'MDL-69089-master' of git://github.com/aanabit/moodle

8 months agoMerge branch 'MDL-65847-auth_db_error_handling' of git://github.com/leonstr/moodle...
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 22:35:18 +0000 (00:35 +0200)]
Merge branch 'MDL-65847-auth_db_error_handling' of git://github.com/leonstr/moodle into master

8 months agoMerge branch 'MDL-69095-master' of git://github.com/jleyva/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 22:19:43 +0000 (00:19 +0200)]
Merge branch 'MDL-69095-master' of git://github.com/jleyva/moodle into master

8 months agoMerge branch 'MDL-63375-master' of https://github.com/syxton/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 22:13:02 +0000 (00:13 +0200)]
Merge branch 'MDL-63375-master' of https://github.com/syxton/moodle into master

8 months agoMerge branch 'MDL-68444-master' of git://github.com/rezaies/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 17:12:59 +0000 (19:12 +0200)]
Merge branch 'MDL-68444-master' of git://github.com/rezaies/moodle into master

8 months agoMerge branch 'MDL-68928' of https://github.com/Chocolate-lightning/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 17:01:52 +0000 (19:01 +0200)]
Merge branch 'MDL-68928' of https://github.com/Chocolate-lightning/moodle into master

8 months agoMerge branch 'MDL-69477' of https://github.com/stronk7/moodle
Victor Deniz Falcon [Tue, 18 Aug 2020 12:03:40 +0000 (13:03 +0100)]
Merge branch 'MDL-69477' of https://github.com/stronk7/moodle

8 months 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).

8 months agoMerge branch 'MDL-69273-master-2' of git://github.com/andrewnicols/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 08:58:26 +0000 (10:58 +0200)]
Merge branch 'MDL-69273-master-2' of git://github.com/andrewnicols/moodle into master

8 months 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

8 months 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

8 months 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

8 months 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.

8 months agoMerge branch 'MDL-69414' of https://github.com/nadavkav/moodle
Andrew Nicols [Mon, 17 Aug 2020 04:58:13 +0000 (12:58 +0800)]
Merge branch 'MDL-69414' of https://github.com/nadavkav/moodle

8 months agoMerge branch 'MDL-67943-master-1' of git://github.com/mihailges/moodle
Andrew Nicols [Mon, 17 Aug 2020 02:35:08 +0000 (10:35 +0800)]
Merge branch 'MDL-67943-master-1' of git://github.com/mihailges/moodle

8 months agoMerge branch 'MDL-69475' of https://github.com/stronk7/moodle
Adrian Greeve [Mon, 17 Aug 2020 01:52:12 +0000 (09:52 +0800)]
Merge branch 'MDL-69475' of https://github.com/stronk7/moodle

8 months agoMDL-69475 versions: main version bump
Eloy Lafuente (stronk7) [Sun, 16 Aug 2020 19:08:54 +0000 (21:08 +0200)]
MDL-69475 versions: main version bump

8 months agoMDL-69475 versions: bump all versions and requires in master
Eloy Lafuente (stronk7) [Sun, 16 Aug 2020 18:51:40 +0000 (20:51 +0200)]
MDL-69475 versions: bump all versions and requires in master

version = 2021052500 release version
requires= 2021052500 same than version

Why 20210525? (25th May 2021) ?

Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:

- Moodle 3.10 to be released 9th November 2020. (2020110900)

  This version will be using versions from today to 2020110900
  (once it's released the YYYYMMDD part stops advancing).

- Moodle 3.11 to be released 10th May 2021. (2021051000)

  This version will be using versions from 3.10 release to 2021051000
  (once it's released the YYYYMMDD part stops advancing).

That means that all versions from today to 2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).

And we cannot use them in master, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).

So, get that 2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our 20210525.

8 months 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

8 months 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

8 months agoMDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css
Bas Brands [Mon, 27 Jan 2020 14:06:29 +0000 (15:06 +0100)]
MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css

8 months agoMDL-67943 core: Update timezone list in core_date
Mihail Geshoski [Fri, 24 Jul 2020 08:16:04 +0000 (16:16 +0800)]
MDL-67943 core: Update timezone list in core_date

8 months 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

8 months agoMDL-69475 versions: main version bump
Eloy Lafuente (stronk7) [Sun, 16 Aug 2020 19:08:54 +0000 (21:08 +0200)]
MDL-69475 versions: main version bump

8 months agoMDL-69475 versions: bump all versions and requires in master
Eloy Lafuente (stronk7) [Sun, 16 Aug 2020 18:51:40 +0000 (20:51 +0200)]
MDL-69475 versions: bump all versions and requires in master

version = 2021052500 release version
requires= 2021052500 same than version

Why 20210525? (25th May 2021) ?

Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:

- Moodle 3.10 to be released 9th November 2020. (2020110900)

  This version will be using versions from today to 2020110900
  (once it's released the YYYYMMDD part stops advancing).

- Moodle 3.11 to be released 10th May 2021. (2021051000)

  This version will be using versions from 3.10 release to 2021051000
  (once it's released the YYYYMMDD part stops advancing).

That means that all versions from today to 2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).

And we cannot use them in mater, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).

So, get that 2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our 20210525.

8 months agoMDL-69475 install: Version, env. and minimal changes before branching
Eloy Lafuente (stronk7) [Mon, 3 Aug 2020 10:21:37 +0000 (12:21 +0200)]
MDL-69475 install: Version, env. and minimal changes before branching

Note this doesn't aim to be a complete change-set, but just the
minimum to switch to 3-digit $branches and keep installation, checks
and tests running and passing.

8 months agoMDL-69477 install: Ensure CFG variables are set before using them
Eloy Lafuente (stronk7) [Fri, 14 Aug 2020 15:48:57 +0000 (17:48 +0200)]
MDL-69477 install: Ensure CFG variables are set before using them

On installation (or also phpunit/behat unit) some CFG variables
were being used (on setting validation) before being set.

So this commit just verifies they are set before using them. Note that,
strictly speaking, only one of them ($CFG->searchenginequeryonly)
required the extra check, but I think it's better to apply it to all
them, as a reference and in case validations are run in any other order.

8 months agoweekly release 4.0dev
Andrew Nicols [Fri, 14 Aug 2020 06:42:18 +0000 (14:42 +0800)]
weekly release 4.0dev

8 months agoNOBUG: Fixed SVG browser compatibility
Andrew Nicols [Fri, 14 Aug 2020 06:42:17 +0000 (14:42 +0800)]
NOBUG: Fixed SVG browser compatibility

8 months agoMerge branch 'MDL-68666-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Thu, 13 Aug 2020 07:20:03 +0000 (15:20 +0800)]
Merge branch 'MDL-68666-master' of git://github.com/bmbrands/moodle

8 months 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

8 months agoMerge branch 'MDL-69253' of https://github.com/timhunt/moodle
Andrew Nicols [Thu, 13 Aug 2020 03:50:09 +0000 (11:50 +0800)]
Merge branch 'MDL-69253' of https://github.com/timhunt/moodle

8 months agoMerge branch 'MDL-60492-tagcloud_html' of https://github.com/leonstr/moodle
Andrew Nicols [Thu, 13 Aug 2020 03:44:13 +0000 (11:44 +0800)]
Merge branch 'MDL-60492-tagcloud_html' of https://github.com/leonstr/moodle

8 months agoMerge branch 'MDL-69381' of https://github.com/marinaglancy/moodle
Andrew Nicols [Thu, 13 Aug 2020 03:28:09 +0000 (11:28 +0800)]
Merge branch 'MDL-69381' of https://github.com/marinaglancy/moodle

8 months agoMerge branch 'MDL-68423-master' of git://github.com/ferranrecio/moodle
Adrian Greeve [Thu, 13 Aug 2020 03:02:04 +0000 (11:02 +0800)]
Merge branch 'MDL-68423-master' of git://github.com/ferranrecio/moodle

8 months agoMerge branch 'MDL-68932-master' of git://github.com/rezaies/moodle
Andrew Nicols [Thu, 13 Aug 2020 02:51:59 +0000 (10:51 +0800)]
Merge branch 'MDL-68932-master' of git://github.com/rezaies/moodle

8 months agoMerge branch 'MDL-69421-master' of git://github.com/noeldemartin/moodle
Andrew Nicols [Thu, 13 Aug 2020 01:35:37 +0000 (09:35 +0800)]
Merge branch 'MDL-69421-master' of git://github.com/noeldemartin/moodle

8 months agoMerge branch 'MDL-67991-master' of git://github.com/aanabit/moodle
Andrew Nicols [Thu, 13 Aug 2020 00:54:35 +0000 (08:54 +0800)]
Merge branch 'MDL-67991-master' of git://github.com/aanabit/moodle

8 months agoMerge branch 'MDL-69241-master' of git://github.com/mickhawkins/moodle
Andrew Nicols [Thu, 13 Aug 2020 00:27:01 +0000 (08:27 +0800)]
Merge branch 'MDL-69241-master' of git://github.com/mickhawkins/moodle

8 months agoMerge branch 'MDL-67708-master' of git://github.com/vmdef/moodle
Andrew Nicols [Thu, 13 Aug 2020 00:11:09 +0000 (08:11 +0800)]
Merge branch 'MDL-67708-master' of git://github.com/vmdef/moodle

8 months agoMerge branch 'MDL-60260' of https://github.com/paulholden/moodle
Andrew Nicols [Wed, 12 Aug 2020 23:54:26 +0000 (07:54 +0800)]
Merge branch 'MDL-60260' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-69143-master' of git://github.com/ferranrecio/moodle
Andrew Nicols [Wed, 12 Aug 2020 23:45:16 +0000 (07:45 +0800)]
Merge branch 'MDL-69143-master' of git://github.com/ferranrecio/moodle

8 months agoMerge branch 'MDL-69265-email-headers' of https://github.com/brendanheywood/moodle
Andrew Nicols [Wed, 12 Aug 2020 23:28:27 +0000 (07:28 +0800)]
Merge branch 'MDL-69265-email-headers' of https://github.com/brendanheywood/moodle

8 months agoMerge branch 'MDL-68860' of https://github.com/paulholden/moodle into master
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 22:55:09 +0000 (00:55 +0200)]
Merge branch 'MDL-68860' of https://github.com/paulholden/moodle into master

8 months agoMerge branch 'MDL-68558-master-plugindepscheckdeadend' of git://github.com/mudrd8mz...
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 22:40:10 +0000 (00:40 +0200)]
Merge branch 'MDL-68558-master-plugindepscheckdeadend' of git://github.com/mudrd8mz/moodle into master

8 months agoMerge branch 'MDL-67394' of https://github.com/paulholden/moodle into master
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 22:28:51 +0000 (00:28 +0200)]
Merge branch 'MDL-67394' of https://github.com/paulholden/moodle into master

8 months agoMerge branch 'MDL-67002' of https://github.com/timhunt/moodle into master
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 22:08:17 +0000 (00:08 +0200)]
Merge branch 'MDL-67002' of https://github.com/timhunt/moodle into master

8 months agoMerge branch 'master-MDL-66716' of https://github.com/golenkovm/moodle into master
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 18:09:40 +0000 (20:09 +0200)]
Merge branch 'master-MDL-66716' of https://github.com/golenkovm/moodle into master

8 months 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

8 months agoMDL-69265 email: Add admin setting for email headers
Brendan Heywood [Tue, 14 Jul 2020 07:43:45 +0000 (17:43 +1000)]
MDL-69265 email: Add admin setting for email headers

8 months 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

8 months agoMerge branch 'MDL-69356' of https://github.com/stronk7/moodle
Andrew Nicols [Wed, 12 Aug 2020 06:00:44 +0000 (14:00 +0800)]
Merge branch 'MDL-69356' of https://github.com/stronk7/moodle

8 months agoMerge branch 'MDL-68618' of https://github.com/paulholden/moodle
Andrew Nicols [Wed, 12 Aug 2020 05:39:20 +0000 (13:39 +0800)]
Merge branch 'MDL-68618' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-69353' of https://github.com/paulholden/moodle
Andrew Nicols [Wed, 12 Aug 2020 03:21:48 +0000 (11:21 +0800)]
Merge branch 'MDL-69353' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-68334-master' of git://github.com/lucaboesch/moodle
Andrew Nicols [Wed, 12 Aug 2020 03:05:54 +0000 (11:05 +0800)]
Merge branch 'MDL-68334-master' of git://github.com/lucaboesch/moodle

8 months agoMerge branch 'MDL-69296' of https://github.com/NeillM/moodle
Andrew Nicols [Wed, 12 Aug 2020 02:27:55 +0000 (10:27 +0800)]
Merge branch 'MDL-69296' of https://github.com/NeillM/moodle

8 months agoMerge branch 'MDL-68731' of https://github.com/jonof/moodle
Andrew Nicols [Wed, 12 Aug 2020 00:32:00 +0000 (08:32 +0800)]
Merge branch 'MDL-68731' of https://github.com/jonof/moodle

8 months agoMerge branch 'MDL-68729-master' of https://github.com/sammarshallou/moodle into master
Eloy Lafuente (stronk7) [Tue, 11 Aug 2020 23:28:51 +0000 (01:28 +0200)]
Merge branch 'MDL-68729-master' of https://github.com/sammarshallou/moodle into master

8 months agoMerge branch 'MDL-69143-master' of git://github.com/ferranrecio/moodle
Andrew Nicols [Tue, 11 Aug 2020 06:33:44 +0000 (14:33 +0800)]
Merge branch 'MDL-69143-master' of git://github.com/ferranrecio/moodle

8 months agoMerge branch 'MDL-69168_recently-accessed-items-block-uses-stock-lti-icon__master...
Andrew Nicols [Tue, 11 Aug 2020 04:59:49 +0000 (12:59 +0800)]
Merge branch 'MDL-69168_recently-accessed-items-block-uses-stock-lti-icon__master' of https://github.com/stopfstedt/moodle

8 months agoMDL-68928 core_course: Select activity chooser footer
Mathew May [Fri, 7 Aug 2020 08:27:24 +0000 (16:27 +0800)]
MDL-68928 core_course: Select activity chooser footer

8 months agoMerge branch 'MDL-69204' of https://github.com/paulholden/moodle
Adrian Greeve [Tue, 11 Aug 2020 00:42:02 +0000 (08:42 +0800)]
Merge branch 'MDL-69204' of https://github.com/paulholden/moodle

8 months 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

8 months agoMerge branch 'MDL-64818_master' of git://github.com/gjb2048/moodle
Andrew Nicols [Mon, 10 Aug 2020 10:54:30 +0000 (18:54 +0800)]
Merge branch 'MDL-64818_master' of git://github.com/gjb2048/moodle

8 months 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.

8 months 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!

8 months agoMDL-66716 block_timeline: Group events by usermidnight event property.
Mikhail Golenkov [Thu, 23 Jul 2020 04:54:35 +0000 (14:54 +1000)]
MDL-66716 block_timeline: Group events by usermidnight event property.

8 months agoMDL-66716 calendar: Add usermidnight property for events.
Mikhail Golenkov [Thu, 23 Jul 2020 04:53:49 +0000 (14:53 +1000)]
MDL-66716 calendar: Add usermidnight property for events.

8 months agoMerge branch 'MDL-60493-grader_span_tag' of https://github.com/leonstr/moodle
Adrian Greeve [Mon, 10 Aug 2020 01:20:50 +0000 (09:20 +0800)]
Merge branch 'MDL-60493-grader_span_tag' of https://github.com/leonstr/moodle

8 months agoMDL-69414 qtype/ddimageortext: Fix dropzones display in RTL mode
Nadav Kavalerchik [Sat, 8 Aug 2020 17:46:34 +0000 (20:46 +0300)]
MDL-69414 qtype/ddimageortext: Fix dropzones display in RTL mode

8 months 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.

8 months agoMDL-69168 block_recentlyaccesseditems: apply custom icon
Stefan Topfstedt [Mon, 27 Jul 2020 23:05:33 +0000 (16:05 -0700)]
MDL-69168 block_recentlyaccesseditems: apply custom icon

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

8 months agoMDL-64818 blocks: blocks_for_region() is inefficient.
Gareth Barnard [Fri, 1 Mar 2019 18:44:57 +0000 (18:44 +0000)]
MDL-64818 blocks: blocks_for_region() is inefficient.

8 months agoMDL-63375 workshop: fix rubric grid view
Matt Davidson [Fri, 24 Jul 2020 18:27:20 +0000 (14:27 -0400)]
MDL-63375 workshop: fix rubric grid view

8 months 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

8 months 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.

8 months agoMDL-69356 unit tests: make some assertions dir separator agnostic
Eloy Lafuente (stronk7) [Sun, 26 Jul 2020 15:13:36 +0000 (17:13 +0200)]
MDL-69356 unit tests: make some assertions dir separator agnostic

8 months agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Thu, 6 Aug 2020 18:51:18 +0000 (20:51 +0200)]
weekly release 4.0dev

9 months agoMDL-68729 Search: Allow query on one server while indexing another
sam marshall [Fri, 15 May 2020 16:20:28 +0000 (17:20 +0100)]
MDL-68729 Search: Allow query on one server while indexing another

To support transitions from one search engine to a different one, or
to a different installation of the same kind, this feature allows for
queries to use a different search engine from indexing. So you can
reindex (and do all other search operation) on one server, while
user queries are unaffected on a different server.

This feature supports changing between search engine types, and also
between two Solr installations.

9 months agoMDL-68729 Admin: Allow validation of admin_setting_configselect
sam marshall [Thu, 6 Aug 2020 10:24:45 +0000 (11:24 +0100)]
MDL-68729 Admin: Allow validation of admin_setting_configselect

The admin_setting_configselect admin setting did not support validation.
It was possible to validate only by using a subclass.

This change allows validation by a callback function. It also makes it
slightly easier to handle validation in a subclass if you want to do
that.

The main advantage is for cases where a setting is not generic but
is only ever going to be required in one place, and it creates
unnecessary clutter to make a new subclass.

9 months 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

9 months agoMDL-68729 Admin: Allow lazy-load of admin_setting_configselect
sam marshall [Fri, 15 May 2020 16:19:59 +0000 (17:19 +0100)]
MDL-68729 Admin: Allow lazy-load of admin_setting_configselect

The admin_setting_configselect admin setting already supported lazy
loading, but this was only available for subclasses. This change
means you can use it directly within the admin setting.

The main advantage is for cases where a setting is not generic but
is only ever going to be required in one place, and it creates
unnecessary clutter to make a new subclass.

9 months agoMerge branch 'MDL-60501-h4_close_tag' of https://github.com/leonstr/moodle
Jun Pataleta [Thu, 6 Aug 2020 04:11:26 +0000 (12:11 +0800)]
Merge branch 'MDL-60501-h4_close_tag' of https://github.com/leonstr/moodle

9 months agoMerge branch 'MDL-69111-master' of git://github.com/bmbrands/moodle
Jun Pataleta [Thu, 6 Aug 2020 03:37:12 +0000 (11:37 +0800)]
Merge branch 'MDL-69111-master' of git://github.com/bmbrands/moodle

9 months agoMerge branch 'MDL-40227-master-1' of git://github.com/peterRd/moodle
Adrian Greeve [Thu, 6 Aug 2020 03:25:58 +0000 (11:25 +0800)]
Merge branch 'MDL-40227-master-1' of git://github.com/peterRd/moodle

9 months 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

9 months agoMerge branch 'MDL-69311' of https://github.com/paulholden/moodle
Adrian Greeve [Thu, 6 Aug 2020 01:47:48 +0000 (09:47 +0800)]
Merge branch 'MDL-69311' of https://github.com/paulholden/moodle

9 months agoMDL-69207 core_h5p: Add muc cache support for h5p library files
Jordan Tomkinson [Mon, 6 Jul 2020 07:00:37 +0000 (09:00 +0200)]
MDL-69207 core_h5p: Add muc cache support for h5p library files

9 months agoMerge branch 'master-MDL-66626' of https://github.com/golenkovm/moodle
Adrian Greeve [Thu, 6 Aug 2020 01:05:57 +0000 (09:05 +0800)]
Merge branch 'master-MDL-66626' of https://github.com/golenkovm/moodle

9 months agoMerge branch 'MDL-67687-master-2' of git://github.com/andrewnicols/moodle into master
Eloy Lafuente (stronk7) [Wed, 5 Aug 2020 22:59:15 +0000 (00:59 +0200)]
Merge branch 'MDL-67687-master-2' of git://github.com/andrewnicols/moodle into master