moodle.git
14 months agoMerge branch 'MDL-68635' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 6 Apr 2021 20:23:15 +0000 (22:23 +0200)]
Merge branch 'MDL-68635' of https://github.com/paulholden/moodle

14 months agoMerge branch 'MDL-71128' of git://github.com/paulholden/moodle
Víctor Déniz [Tue, 6 Apr 2021 18:41:04 +0000 (19:41 +0100)]
Merge branch 'MDL-71128' of git://github.com/paulholden/moodle

14 months agoweekly release 4.0dev
Sara Arjona [Tue, 6 Apr 2021 13:29:06 +0000 (15:29 +0200)]
weekly release 4.0dev

14 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Tue, 6 Apr 2021 13:29:02 +0000 (15:29 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

14 months agoMerge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Tue, 6 Apr 2021 13:13:16 +0000 (15:13 +0200)]
Merge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle

14 months agoMDL-71215 Acceptance test: Missing Behat for webservice service_users
sam marshall [Tue, 6 Apr 2021 09:41:40 +0000 (10:41 +0100)]
MDL-71215 Acceptance test: Missing Behat for webservice service_users

14 months agoMerge branch 'MDL-70817-master' of git://github.com/abgreeve/moodle
Adrian Greeve [Tue, 6 Apr 2021 08:35:17 +0000 (16:35 +0800)]
Merge branch 'MDL-70817-master' of git://github.com/abgreeve/moodle

14 months agoMDL-70817 lib: Update the install xml file to use the correct length.
Adrian Greeve [Tue, 6 Apr 2021 07:24:00 +0000 (15:24 +0800)]
MDL-70817 lib: Update the install xml file to use the correct length.

The showactivitydates field had the wrong length of 4. This changes
it to 1.

14 months agoMerge branch 'MDL-70817-master-8' of git://github.com/junpataleta/moodle
Adrian Greeve [Tue, 6 Apr 2021 05:00:53 +0000 (13:00 +0800)]
Merge branch 'MDL-70817-master-8' of git://github.com/junpataleta/moodle

14 months agoAutomatically generated installer lang files
AMOS bot [Tue, 6 Apr 2021 00:08:07 +0000 (00:08 +0000)]
Automatically generated installer lang files

14 months agoMerge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Sun, 4 Apr 2021 13:49:59 +0000 (15:49 +0200)]
Merge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle

14 months agoAutomatically generated installer lang files
AMOS bot [Sun, 4 Apr 2021 00:08:05 +0000 (00:08 +0000)]
Automatically generated installer lang files

14 months agoMDL-70817 admin: Remove heading for showcompletionconditions
Jun Pataleta [Tue, 16 Mar 2021 16:00:05 +0000 (00:00 +0800)]
MDL-70817 admin: Remove heading for showcompletionconditions

It should be under the "Completion tracking" subheading just like in
the course form.

14 months agoMDL-70781 completion: behat coverage for new setting
Simey Lameze [Fri, 26 Feb 2021 06:04:51 +0000 (14:04 +0800)]
MDL-70781 completion: behat coverage for new setting

Part of MDL-70817

14 months agoMDL-70781 course: setting for displaying completion conditions
Simey Lameze [Mon, 8 Mar 2021 22:42:09 +0000 (06:42 +0800)]
MDL-70781 course: setting for displaying completion conditions

Part of MDL-70817

14 months agoMDL-70782 course: behat coverage for new setting
Simey Lameze [Sat, 13 Mar 2021 02:34:15 +0000 (10:34 +0800)]
MDL-70782 course: behat coverage for new setting

Part of MDL-70817

14 months agoMDL-70782 course: add setting to show activity dates
Simey Lameze [Mon, 8 Mar 2021 12:46:52 +0000 (20:46 +0800)]
MDL-70782 course: add setting to show activity dates

Part of MDL-70817

14 months agoMDL-70817 mod_choice: Behat tests for the activity completion info
Jun Pataleta [Fri, 12 Mar 2021 06:17:38 +0000 (14:17 +0800)]
MDL-70817 mod_choice: Behat tests for the activity completion info

14 months agoMDL-70817 mod_choice: Show choice activity info
Jun Pataleta [Sun, 7 Feb 2021 05:44:02 +0000 (13:44 +0800)]
MDL-70817 mod_choice: Show choice activity info

14 months agoMDL-70817 core_course: Create an activity information output component
Jun Pataleta [Fri, 5 Feb 2021 17:18:24 +0000 (01:18 +0800)]
MDL-70817 core_course: Create an activity information output component

The activity information output component displays information about
an activity module that can contain:
1. Activity dates
2. Completion information
   a. A manual completion button; or
   b. A list of automatic completion conditions and their statuses.

This patch also includes a new JS module called
core_course/manual_completion_toggle for toggling the
completion state of activities that support manual completion.

14 months agoMDL-70817 core_course: Add manual completion toggle to repository
Jun Pataleta [Fri, 5 Mar 2021 09:40:26 +0000 (17:40 +0800)]
MDL-70817 core_course: Add manual completion toggle to repository

Add the functionality of toggling the completion state of an
activity with manual completion to the core_course/repository
JS module.

14 months agoMDL-70817 core_course: Convert core_course/repository to ES6
Jun Pataleta [Fri, 5 Mar 2021 09:37:58 +0000 (17:37 +0800)]
MDL-70817 core_course: Convert core_course/repository to ES6

14 months agoMDL-70817 core: Allow the manual completion update WS function for AJAX
Jun Pataleta [Wed, 17 Feb 2021 16:07:02 +0000 (00:07 +0800)]
MDL-70817 core: Allow the manual completion update WS function for AJAX

Allow the core_completion_update_activity_completion_status_manually
web service function to be called from AJAX as well. This is needed
by the new manual completion toggle button in the
core_course/completion_manual template.

14 months agoMDL-70817 core_completion: Unit tests for cm_completion_details
Jun Pataleta [Mon, 15 Feb 2021 14:20:23 +0000 (22:20 +0800)]
MDL-70817 core_completion: Unit tests for cm_completion_details

14 months agoMDL-70817 core_completion: Course module completion details
Jun Pataleta [Tue, 16 Feb 2021 02:07:25 +0000 (10:07 +0800)]
MDL-70817 core_completion: Course module completion details

* Class cm_completion_details builds the custom completion details
for an activity module.

14 months agoAutomatically generated installer lang files
AMOS bot [Fri, 2 Apr 2021 00:07:49 +0000 (00:07 +0000)]
Automatically generated installer lang files

14 months agoAutomatically generated installer lang files
AMOS bot [Thu, 1 Apr 2021 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files

14 months agoMerge branch 'MDL-70895' of https://github.com/mkassaei/moodle
Jun Pataleta [Wed, 31 Mar 2021 13:26:39 +0000 (21:26 +0800)]
Merge branch 'MDL-70895' of https://github.com/mkassaei/moodle

14 months agoMDL-71215 core_user: User fields - remaining deprecated functions
sam marshall [Mon, 29 Mar 2021 12:59:49 +0000 (13:59 +0100)]
MDL-71215 core_user: User fields - remaining deprecated functions

This change removes references in code and comments to a few
deprecated functions that were accidentally missed in the larger
change.

The code changes only affect service_users.php. I made it support
custom user profile fields in this query, because it was easy
enough, rather than adding another TODO to fix later.

14 months agoMDL-70895 Questions: Default options when creating a question
Mahmoud Kassaei [Mon, 22 Feb 2021 08:25:11 +0000 (08:25 +0000)]
MDL-70895 Questions: Default options when creating a question

14 months agoMerge branch 'MDL-37655' of https://github.com/stronk7/moodle
Adrian Greeve [Wed, 31 Mar 2021 07:46:51 +0000 (15:46 +0800)]
Merge branch 'MDL-37655' of https://github.com/stronk7/moodle

14 months agoMDL-37655 phpunit: Avoid having multiple testcase classes in 1 file
Eloy Lafuente (stronk7) [Sun, 14 Mar 2021 22:42:49 +0000 (23:42 +0100)]
MDL-37655 phpunit: Avoid having multiple testcase classes in 1 file

Note that there wasn't any case of multiple testcase classes in
1 file. All the cases reported in the issue were false positives
caused but other "mock/fixture" files being named _test.

So all this issue does is:

1) rename any _test suffixed class in test files, because we are
   going to start renaming a lot of test classes to _test.

2) ensure that the 2 test case classes modified in this issue,
   are already observing the filename = classname rule that will
   be implemented soon (and verigy it works).

14 months agoweekly release 4.0dev
Víctor Déniz [Tue, 30 Mar 2021 14:37:25 +0000 (15:37 +0100)]
weekly release 4.0dev

14 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Víctor Déniz [Tue, 30 Mar 2021 14:37:18 +0000 (15:37 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

14 months agoMDL-68635 tool_cohortroles: observe user initial table filter.
Paul Holden [Thu, 7 May 2020 21:07:04 +0000 (22:07 +0100)]
MDL-68635 tool_cohortroles: observe user initial table filter.

14 months agoMerge branch 'MDL-70963-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Mon, 29 Mar 2021 10:39:32 +0000 (12:39 +0200)]
Merge branch 'MDL-70963-master' of git://github.com/sarjona/moodle

14 months agoMDL-70963 core_badges: Use expected JSON format for OBv2.1
Sara Arjona [Mon, 22 Feb 2021 15:20:49 +0000 (16:20 +0100)]
MDL-70963 core_badges: Use expected JSON format for OBv2.1

This patch adds some changes to guarantee that OpenBadges 2.1 (OBv2.1)
will return always the same JSON format that OBv2.0 (because the only
difference between both versions it's the BadgeConnect API).

14 months agoMerge branch 'MDL-70962' of git://github.com/paulholden/moodle
Andrew Nicols [Mon, 29 Mar 2021 03:58:05 +0000 (11:58 +0800)]
Merge branch 'MDL-70962' of git://github.com/paulholden/moodle

14 months agoMerge branch 'MDL-71004' of https://github.com/stronk7/moodle
Andrew Nicols [Mon, 29 Mar 2021 03:53:43 +0000 (11:53 +0800)]
Merge branch 'MDL-71004' of https://github.com/stronk7/moodle

14 months agoAutomatically generated installer lang files
AMOS bot [Mon, 29 Mar 2021 00:07:49 +0000 (00:07 +0000)]
Automatically generated installer lang files

14 months agoMerge branch 'MDL-68496-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Sun, 28 Mar 2021 21:48:14 +0000 (23:48 +0200)]
Merge branch 'MDL-68496-master' of git://github.com/andrewnicols/moodle

14 months agoMerge branch 'MDL-71131-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Sun, 28 Mar 2021 21:21:33 +0000 (23:21 +0200)]
Merge branch 'MDL-71131-master' of https://github.com/sammarshallou/moodle

14 months agoAutomatically generated installer lang files
AMOS bot [Sun, 28 Mar 2021 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files

14 months agoMerge branch 'MDL-71099-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Sat, 27 Mar 2021 09:17:43 +0000 (10:17 +0100)]
Merge branch 'MDL-71099-master' of https://github.com/sammarshallou/moodle

14 months agoMerge branch 'MDL-70537-master' of https://github.com/sammarshallou/moodle
Víctor Déniz [Fri, 26 Mar 2021 20:14:19 +0000 (20:14 +0000)]
Merge branch 'MDL-70537-master' of https://github.com/sammarshallou/moodle

15 months agoMDL-70962 forms: catch modal exceptions when getting body content.
Paul Holden [Mon, 22 Feb 2021 11:23:28 +0000 (11:23 +0000)]
MDL-70962 forms: catch modal exceptions when getting body content.

They are thrown in the following circumstances:

 * The dynamic form class doesn't exist;
 * It does exist but it's `check_access` method throws exception

Co-Authored-By: Andrew Nicols <andrew@nicols.co.uk>
15 months agoMerge branch 'MDL-71194-master' of git://github.com/NoelDeMartin/moodle
Víctor Déniz [Thu, 25 Mar 2021 15:06:48 +0000 (15:06 +0000)]
Merge branch 'MDL-71194-master' of git://github.com/NoelDeMartin/moodle

15 months agoMDL-71131 Admin: Users page incorrectly showing all name fields
sam marshall [Thu, 18 Mar 2021 13:00:20 +0000 (13:00 +0000)]
MDL-71131 Admin: Users page incorrectly showing all name fields

15 months agoMDL-71099 Lib: Move new user_fields class from core to core_user
sam marshall [Mon, 15 Mar 2021 15:36:32 +0000 (15:36 +0000)]
MDL-71099 Lib: Move new user_fields class from core to core_user

This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.

Since the class has only just been added to Moodle, now is a good
time to move it.

15 months agoMerge branch 'MDL-70842_master_v3' of https://github.com/TomoTsuyuki/moodle
Víctor Déniz [Thu, 25 Mar 2021 12:57:18 +0000 (12:57 +0000)]
Merge branch 'MDL-70842_master_v3' of https://github.com/TomoTsuyuki/moodle

15 months agoMDL-71194 behat: Fix app tests
Noel De Martin [Thu, 25 Mar 2021 12:50:27 +0000 (13:50 +0100)]
MDL-71194 behat: Fix app tests

15 months agoMerge branch 'MDL-70318-master' of https://github.com/ilyatregubov/moodle
Andrew Nicols [Thu, 25 Mar 2021 04:32:41 +0000 (12:32 +0800)]
Merge branch 'MDL-70318-master' of https://github.com/ilyatregubov/moodle

15 months agoMerge branch 'MDL-65776-master' of git://github.com/sarjona/moodle
Andrew Nicols [Thu, 25 Mar 2021 03:03:32 +0000 (11:03 +0800)]
Merge branch 'MDL-65776-master' of git://github.com/sarjona/moodle

15 months agoMerge branch 'MDL-70844-master' of git://github.com/peterRd/moodle
Andrew Nicols [Thu, 25 Mar 2021 02:22:51 +0000 (10:22 +0800)]
Merge branch 'MDL-70844-master' of git://github.com/peterRd/moodle

15 months agoMDL-70844 core: Pass anchors instead of URL for siteadmin tabs.
Peter Dias [Tue, 16 Feb 2021 01:22:54 +0000 (09:22 +0800)]
MDL-70844 core: Pass anchors instead of URL for siteadmin tabs.

15 months agoMerge branch 'MDL-70871-master' of git://github.com/roland04/moodle
Andrew Nicols [Thu, 25 Mar 2021 00:10:14 +0000 (08:10 +0800)]
Merge branch 'MDL-70871-master' of git://github.com/roland04/moodle

15 months agoAutomatically generated installer lang files
AMOS bot [Thu, 25 Mar 2021 00:07:58 +0000 (00:07 +0000)]
Automatically generated installer lang files

15 months agoMerge branch 'MDL-70980-master' of git://github.com/ferranrecio/moodle
Andrew Nicols [Thu, 25 Mar 2021 00:06:14 +0000 (08:06 +0800)]
Merge branch 'MDL-70980-master' of git://github.com/ferranrecio/moodle

15 months agoMDL-71004 git: Ignore moodle-plugin-ci.phar in any directory
Eloy Lafuente (stronk7) [Sun, 21 Mar 2021 22:21:28 +0000 (23:21 +0100)]
MDL-71004 git: Ignore moodle-plugin-ci.phar in any directory

15 months agoweekly release 4.0dev
Víctor Déniz [Wed, 24 Mar 2021 14:20:33 +0000 (14:20 +0000)]
weekly release 4.0dev

15 months agoMerge branch 'MDL-71182-master-2' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Wed, 24 Mar 2021 09:48:37 +0000 (10:48 +0100)]
Merge branch 'MDL-71182-master-2' of git://github.com/lameze/moodle

15 months agoMDL-71182 calendar: add logic for category events in get_context
Simey Lameze [Mon, 24 Aug 2020 03:08:00 +0000 (11:08 +0800)]
MDL-71182 calendar: add logic for category events in get_context

This commit adds the missing logic for category events in
get_context() method. Without this fix, users will get errors
if they have category events with userid set to 0.

15 months agoMDL-70842 mod_assign: Add more cases to add file to archive
Tomo Tsuyuki [Wed, 24 Mar 2021 05:00:00 +0000 (16:00 +1100)]
MDL-70842 mod_assign: Add more cases to add file to archive

15 months agoMDL-71182 calendar: Revert "Merge branch 'MDL-67494-master' of git://github.com/lamez...
Simey Lameze [Tue, 23 Mar 2021 11:26:50 +0000 (19:26 +0800)]
MDL-71182 calendar: Revert "Merge branch 'MDL-67494-master' of git://github.com/lameze/moodle"

This reverts commit 9d58d4de46e9415eb4ac405a340381de44c510c1, reversing
changes made to 535c0277de3547f02d94959fbe103e44a6706d4e.

15 months agoMerge branch 'MDL-71022' of git://github.com/paulholden/moodle
Víctor Déniz [Tue, 23 Mar 2021 22:49:55 +0000 (22:49 +0000)]
Merge branch 'MDL-71022' of git://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-70727-master' of https://github.com/NashTechOpenUniversity/moodle
Víctor Déniz [Tue, 23 Mar 2021 16:52:46 +0000 (16:52 +0000)]
Merge branch 'MDL-70727-master' of https://github.com/NashTechOpenUniversity/moodle

15 months agoMDL-70871 user: Move 'Show all X' functionality to dynamic_table
Mikel Martín [Mon, 15 Feb 2021 11:09:28 +0000 (12:09 +0100)]
MDL-70871 user: Move 'Show all X' functionality to dynamic_table

15 months agoMDL-70871 table: Add 'Show all X' functionality to dynamic_table
Mikel Martín [Mon, 15 Feb 2021 10:36:59 +0000 (11:36 +0100)]
MDL-70871 table: Add 'Show all X' functionality to dynamic_table

15 months agoMerge branch 'MDL-71149' of https://github.com/stronk7/moodle
Travis CI [Tue, 23 Mar 2021 07:56:00 +0000 (15:56 +0800)]
Merge branch 'MDL-71149' of https://github.com/stronk7/moodle

15 months agoMerge branch 'MDL-71084-master' of git://github.com/peterRd/moodle
Travis CI [Tue, 23 Mar 2021 05:57:13 +0000 (13:57 +0800)]
Merge branch 'MDL-71084-master' of git://github.com/peterRd/moodle

15 months agoMDL-71084 core_navigation: Move secondary_test to proper location with namespace
Peter Dias [Tue, 23 Mar 2021 03:41:16 +0000 (11:41 +0800)]
MDL-71084 core_navigation: Move secondary_test to proper location with namespace

15 months agoMDL-71084 core_navigation: Provide a header title and active node text
Peter Dias [Thu, 18 Mar 2021 00:53:32 +0000 (08:53 +0800)]
MDL-71084 core_navigation: Provide a header title and active node text

15 months agoMerge branch 'MDL-69792-master' of git://github.com/sarjona/moodle
Travis CI [Tue, 23 Mar 2021 05:53:01 +0000 (13:53 +0800)]
Merge branch 'MDL-69792-master' of git://github.com/sarjona/moodle

15 months agoMerge branch 'MDL-71104-master-2' of git://github.com/mickhawkins/moodle
Travis CI [Tue, 23 Mar 2021 05:46:20 +0000 (13:46 +0800)]
Merge branch 'MDL-71104-master-2' of git://github.com/mickhawkins/moodle

15 months agoMDL-71104 core_completion: Fix fetching of grade completion status
Michael Hawkins [Thu, 18 Mar 2021 06:27:36 +0000 (14:27 +0800)]
MDL-71104 core_completion: Fix fetching of grade completion status

We should be able to fetch the grade completion status for modules
that do not have custom completion configured. This also improves
unit testing coverage.

15 months agoMDL-71104 completion: Fix completion_info::get_data() unit tests
Jun Pataleta [Mon, 15 Mar 2021 06:39:08 +0000 (14:39 +0800)]
MDL-71104 completion: Fix completion_info::get_data() unit tests

* Fixed inverted $sameuser test data.
* Fixed caching expectation check. Caching only relies on whether the
user accessing the completion data is the same user or not.
* Fixed checking for the caching of other modules. Should have been
checking cm ID and not instance ID.
* Additional test case when whole course parameter is passed as
true, but the requesting user is different from the target user.

15 months agoMerge branch 'MDL-71039-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Tue, 23 Mar 2021 03:17:44 +0000 (11:17 +0800)]
Merge branch 'MDL-71039-master' of git://github.com/marinaglancy/moodle

15 months agoMerge branch 'MDL-70313-master' of git://github.com/peterRd/moodle
Andrew Nicols [Tue, 23 Mar 2021 01:58:57 +0000 (09:58 +0800)]
Merge branch 'MDL-70313-master' of git://github.com/peterRd/moodle

15 months agoMerge branch 'MDL-69036' of git://github.com/paulholden/moodle
Andrew Nicols [Tue, 23 Mar 2021 01:51:39 +0000 (09:51 +0800)]
Merge branch 'MDL-69036' of git://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-67870-master' of git://github.com/mihailges/moodle
Andrew Nicols [Tue, 23 Mar 2021 01:16:28 +0000 (09:16 +0800)]
Merge branch 'MDL-67870-master' of git://github.com/mihailges/moodle

15 months agoMDL-70980 mod_h5pactivity: fix review mode
Ferran Recio [Tue, 23 Feb 2021 14:33:57 +0000 (15:33 +0100)]
MDL-70980 mod_h5pactivity: fix review mode

15 months agoMDL-67870 backup: Skip value change if setting is locked by hierarchy
Mihail Geshoski [Wed, 10 Mar 2021 03:08:48 +0000 (11:08 +0800)]
MDL-67870 backup: Skip value change if setting is locked by hierarchy

The given condition in the if statement did not take into account cases
when the setting is locked by hierarchy. Settings which are locked by
hierarchy should should keep their current values which were inherited
from the parent.

15 months agoMDL-68496 Grunt: Stylelint should only lint relevant component files
Andrew Nicols [Thu, 18 Mar 2021 23:47:02 +0000 (07:47 +0800)]
MDL-68496 Grunt: Stylelint should only lint relevant component files

Prior to this change the Grunt stylelint command was too greedy when
determining which files hsould be linted.

This change modifies the watch command to only watch relevant files and
subdirectories of each component directories. This means that unrelated
CSS and SCSS files are no longer watched for changes, and has the added
benefit of significantly increaseing the startup speed of grunt.

Without this patch applied the watch tasks were checking for matches in
the node_modules, and vendor directories.

15 months agoMerge branch 'MDL-70816-master-4' of git://github.com/rezaies/moodle
Andrew Nicols [Mon, 22 Mar 2021 05:29:09 +0000 (13:29 +0800)]
Merge branch 'MDL-70816-master-4' of git://github.com/rezaies/moodle

15 months agoMDL-70816 mod_choice: activity_dates implementation
Shamim Rezaie [Thu, 18 Feb 2021 16:25:57 +0000 (03:25 +1100)]
MDL-70816 mod_choice: activity_dates implementation

15 months agoMDL-70816 core: Activity date details base class
Shamim Rezaie [Thu, 18 Feb 2021 15:43:30 +0000 (02:43 +1100)]
MDL-70816 core: Activity date details base class

* Base class for fetching an activity module's important date for a user

15 months agoMerge branch 'MDL-71139-master-trademark' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Mon, 22 Mar 2021 03:58:31 +0000 (11:58 +0800)]
Merge branch 'MDL-71139-master-trademark' of git://github.com/mudrd8mz/moodle

15 months agoMerge branch 'MDL-70919-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Sun, 21 Mar 2021 23:44:26 +0000 (07:44 +0800)]
Merge branch 'MDL-70919-master' of git://github.com/marinaglancy/moodle

15 months agoMDL-71149 install: update the list of stale files for 3.11
Eloy Lafuente (stronk7) [Fri, 19 Mar 2021 12:00:27 +0000 (13:00 +0100)]
MDL-71149 install: update the list of stale files for 3.11

15 months agoMDL-65776 libraries: Set moodle files after jsbeautify upgrade
Sara Arjona [Wed, 17 Mar 2021 09:54:10 +0000 (10:54 +0100)]
MDL-65776 libraries: Set moodle files after jsbeautify upgrade

15 months agoMDL-65776 libraries: Upgrade jsbeautify to 1.13
Sara Arjona [Wed, 17 Mar 2021 09:52:47 +0000 (10:52 +0100)]
MDL-65776 libraries: Upgrade jsbeautify to 1.13

15 months agoMDL-69792 core_badges: deprecated backpack.js and BADGE_BACKPACKURL
Sara Arjona [Tue, 23 Feb 2021 11:01:55 +0000 (12:01 +0100)]
MDL-69792 core_badges: deprecated backpack.js and BADGE_BACKPACKURL

Final deprecation for constant BADGE_BACKPACKURL (it has been removed)
and badges/backpack.js file (it has been removed too).
Besides, some methods have started the deprecation process too:
 - badges_check_backpack_accessibility
 - badges_setup_backpack_js()
 - badges_local_backpack_js()

Apart from that, string 'addbackpack' has been deprecated here
because it's not used anywhere.

15 months agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Fri, 19 Mar 2021 13:06:19 +0000 (14:06 +0100)]
weekly release 4.0dev

15 months agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Fri, 19 Mar 2021 13:06:19 +0000 (14:06 +0100)]
NOBUG: Fixed file access permissions

15 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Fri, 19 Mar 2021 13:06:15 +0000 (14:06 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

15 months agoMDL-70318 core: Moodle customisations.
Ilya Tregubov [Fri, 19 Mar 2021 08:18:30 +0000 (10:18 +0200)]
MDL-70318 core: Moodle customisations.

15 months agoMDL-70318 core: Upgrade CFPropertyList to 2.0.2.
Ilya Tregubov [Mon, 15 Mar 2021 09:27:43 +0000 (11:27 +0200)]
MDL-70318 core: Upgrade CFPropertyList to 2.0.2.

15 months agoMDL-68496 grunt: Restructure grunt tasks into subdirectories
Andrew Nicols [Fri, 19 Mar 2021 00:14:11 +0000 (08:14 +0800)]
MDL-68496 grunt: Restructure grunt tasks into subdirectories

Prior to this change all Grunt features were in a single Gruntfile.js
but this has become difficult to manage and maintain.

This commit moves the existing dependencies for component calculation
and babel moduel definition into a new .grunt directory, and
restructures the existing tasks in Gruntfile.js into separate task
configuration files.

This improves the maintainability of the Grunt build system and allows
for easier future expansion.

15 months agoMDL-70537 Availability: Avoid recursive calls to $cm->name
sam marshall [Tue, 2 Feb 2021 11:51:25 +0000 (11:51 +0000)]
MDL-70537 Availability: Avoid recursive calls to $cm->name

These recursive calls didn't work in PHP 7.3 and below, but in PHP
7.4 they also cause a fatal error which means if you have invalid
availability data, the whole page might die.

15 months agoMDL-70919 core_form: non-static method can not be called statically
Marina Glancy [Thu, 18 Mar 2021 11:15:49 +0000 (12:15 +0100)]
MDL-70919 core_form: non-static method can not be called statically