Commit graph

108104 commits

Author SHA1 Message Date
Andrew Nicols
b90a48dd46 MDL-77559 js: Revert "MDL-75012 js: Bump node-sass"
This reverts commit 7c3db6d458.
2023-03-09 08:21:15 +08:00
Andrew Nicols
4b7fbb189b MDL-77559 js: Revert "MDL-75012 js: Audit fix"
This reverts commit 472fc27ab9.
2023-03-09 08:21:12 +08:00
Andrew Nicols
9d7929cc15 MDL-77559 js: Revert "MDL-75012 js: Use our own jsdoc wrapper"
This reverts commit 5d0631b6a1.
2023-03-09 08:21:07 +08:00
Andrew Nicols
73bc2604f0 MDL-77559 js: Revert "MDL-75012 js: Bump shifter to new version"
This reverts commit b3f7721cdd.
2023-03-09 08:21:03 +08:00
Andrew Nicols
551c058b08 MDL-77559 js: Revert "MDL-75012 js: Put shifter on a diet"
This reverts commit 784098fe9e.
2023-03-09 08:20:57 +08:00
Andrew Nicols
dde8111811 MDL-77559 js: Revert "MDL-75012 js: Drop support for modules built pre-babel"
This reverts commit 84c650489a.
2023-03-09 08:20:53 +08:00
Andrew Nicols
103892b3f0 MDL-77559 js: Revert "MDL-75012 js: Remove unused babel-preset-minify dependency"
This reverts commit ed3c951001.
2023-03-09 08:20:49 +08:00
Andrew Nicols
63cab4a560 MDL-77559 js: Revert "MDL-75012 js: Bump Babel dependencies"
This reverts commit ee0e2bcc8f.
2023-03-09 08:20:45 +08:00
Andrew Nicols
805d34f8c4 MDL-77559 js: Revert "MDL-75012 core: Fix upgrade.txt conflicts"
This reverts commit 8ce226081c.
2023-03-09 08:20:42 +08:00
Andrew Nicols
1e4a2f5dc8 MDL-77559 js: Revert "MDL-75012 js: Remove orphaned source maps"
This reverts commit baef734ef7.
2023-03-09 08:19:24 +08:00
Jake Dallimore
556208417d weekly release 4.2dev 2023-03-03 11:08:26 +08:00
Jake Dallimore
88978c38b9 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2023-03-03 11:08:24 +08:00
Jun Pataleta
baef734ef7 MDL-75012 js: Remove orphaned source maps 2023-03-02 13:04:55 +08:00
Jun Pataleta
8ce226081c MDL-75012 core: Fix upgrade.txt conflicts 2023-03-02 12:57:28 +08:00
Jun Pataleta
916503658d Merge branch 'MDL-75012-master-5' of https://github.com/andrewnicols/moodle 2023-03-02 12:34:34 +08:00
Andrew Nicols
abccd6ba40 Merge branch 'MDL-77386-master' of https://github.com/ferranrecio/moodle 2023-03-02 12:06:27 +08:00
Andrew Nicols
30d898cbe6 Merge branch 'MDL-76825-master' of https://github.com/meirzamoodle/moodle 2023-03-02 12:05:07 +08:00
Jun Pataleta
724f8b8cb9 Merge branch 'MDL-75719-master-4' of https://github.com/ilyatregubov/moodle 2023-03-02 12:03:19 +08:00
Andrew Nicols
33b1e41f13 MDL-75012 js: Full build of all grunt things 2023-03-02 11:55:32 +08:00
Andrew Nicols
ee0e2bcc8f MDL-75012 js: Bump Babel dependencies
Please note that whilst some dependencies have higher versions
available, these are not compatible at this time.
2023-03-02 11:55:32 +08:00
Andrew Nicols
ed3c951001 MDL-75012 js: Remove unused babel-preset-minify dependency 2023-03-02 11:55:31 +08:00
Andrew Nicols
84c650489a MDL-75012 js: Drop support for modules built pre-babel
We now include more polyfills than we have ever done, and some of these
cause false-positives on our code to address modules which do not have a
name.

We started adding module names to modules in Moodle 3.8 at _build_ time
and kept support for modules which were not transpiled using Babel
before that point.

We no longer need to support this as all pre-3.8 Moodle versions are
long out of support. The most recent to go out of support was Moodle
3.5, which went completely out of support in May 2021.

We should not support code written and minified without a transpilation
phase from this time any longer.
2023-03-02 11:55:31 +08:00
Andrew Nicols
b604b474d4 MDL-77141 gradereport_user: Adjust course name to fix test 2023-03-02 11:49:38 +08:00
Andrew Nicols
c7c6573378 Merge branch 'MDL-77141-master' of https://github.com/lucaboesch/moodle 2023-03-02 11:49:00 +08:00
Jake Dallimore
32fd742690 Merge branch 'MDL-77461-master' of https://github.com/andrewnicols/moodle 2023-03-02 11:42:23 +08:00
Jake Dallimore
ee3922a10f Merge branch 'MDL-77400-master' of https://github.com/dpalou/moodle 2023-03-02 11:27:04 +08:00
Andrew Nicols
9e8532058f Merge branch 'MDL-77368' of https://github.com/paulholden/moodle 2023-03-02 11:18:34 +08:00
Andrew Nicols
4946bb1bb0 Merge branch 'MDL-61458' of https://github.com/paulholden/moodle 2023-03-02 11:16:57 +08:00
Andrew Nicols
220191eca5 MDL-77461 behat: Use get_course_id instead of DB fetch 2023-03-02 11:06:28 +08:00
Ilya Tregubov
bc87c5b391 MDL-75719 completion: Add Behat scenario for completion states. 2023-03-02 11:03:02 +08:00
Ilya Tregubov
9f062f1379 MDL-75719 completion: Fix unit tests and Behat tests.
Fix tests since we changed behavior of completions (completion
state an UI).
2023-03-02 11:03:02 +08:00
Ilya Tregubov
11a9bf7fd6 MDL-75719 completion: Fix viewed criteria.
When we unlock completion criteria and save changes 'viewed' criteria
still should be completed if user has viewed activity before. Seems
that that was broken by recent changes. Fixing here.
2023-03-02 11:03:02 +08:00
Ilya Tregubov
fbb01b4724 MDL-75719 completion: Fix completion state for hidden grade items.
For hidden grade items we used to mark students as completed if
they have any grade. But this was not working correctly when we
also set pass grade for activity and completion criteria based
on pass grade. So we will have these completion states

Competion criteria 'Receive grade':
No grade - COMPLETION_INCOMPLETE
Grade visible, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade visible, failed passing grade - COMPLETION_COMPLETE_FAIL
Grade hidden - COMPLETION_COMPLETE

Completion criteris 'Receive passing grade'
No grade - COMPLETION_INCOMPLETE
Grade visible, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade visible, failed passing grade - COMPLETION_COMPLETE_FAIL
Grade hidden, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade hidden, failed passing grade - COMPLETION_COMPLETE_FAIL_HIDDEN
2023-03-02 11:03:02 +08:00
Jake Dallimore
2520d8b099 Merge branch 'MDL-77318-master' of https://github.com/Utdanningsdirektoratet/moodle 2023-03-02 10:55:45 +08:00
Andrew Nicols
b517dc7c88 Merge branch 'MDL-77150' of https://github.com/roland04/moodle 2023-03-02 10:46:49 +08:00
Andrew Nicols
e258534b3f Merge branch 'MDL-75534-master-forum-usermodified-zero' of https://github.com/mudrd8mz/moodle 2023-03-02 10:38:15 +08:00
Jake Dallimore
9abd366ab7 Merge branch 'MDL-76298' of https://github.com/timhunt/moodle 2023-03-02 10:12:43 +08:00
Jun Pataleta
9533281da6 Merge branch 'MDL-77413-master' of https://github.com/andelacruz/moodle 2023-03-02 09:46:02 +08:00
Andrew Nicols
64e7cfabe6 Merge branch 'MDL-77391' of https://github.com/jrchamp/moodle 2023-03-02 09:26:13 +08:00
Andrew Nicols
5c1707e598 Merge branch 'MDL-77321' of https://github.com/paulholden/moodle 2023-03-02 09:24:44 +08:00
Andrew Nicols
832e7cba0d Merge branch 'MDL-77412' of https://github.com/sumaiyamannan/moodle 2023-03-02 09:23:49 +08:00
Andrew Nicols
0c8b3749f2 Merge branch 'MDL-40600-master-duplicate_section' of https://github.com/alexmorrisnz/moodle 2023-03-02 09:23:05 +08:00
Andrew Nicols
6a36f59497 Merge branch 'MDL-77135-master' of https://github.com/aanabit/moodle 2023-03-02 09:19:14 +08:00
Andrew Nicols
0fd0dff885 Merge branch 'MDL-75753-master' of https://github.com/call-learning/moodle 2023-03-02 09:14:06 +08:00
Andrew Nicols
f6e53500d9 MDL-77277 theme_boost: Add reference to CL update 2023-03-02 09:13:09 +08:00
Andrew Nicols
54ac0ae079 Merge branch 'MDL-77277-master' of https://github.com/skodak/moodle 2023-03-02 09:11:22 +08:00
Jun Pataleta
1cbf445628 Merge branch 'MDL-74586-master-sqlrss' of https://github.com/mudrd8mz/moodle 2023-03-02 08:58:28 +08:00
Jun Pataleta
6802f6b7f4 Merge branch 'MDL-76938_restore_comments' of https://github.com/davosmith/moodle 2023-03-02 08:42:15 +08:00
AMOS bot
9829bff032 Automatically generated installer lang files 2023-03-02 00:07:51 +00:00
Jun Pataleta
675dadaf55 Merge branch 'MDL-77430' of https://github.com/stronk7/moodle 2023-03-01 23:59:40 +08:00