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
784098fe9e
MDL-75012 js: Put shifter on a diet
...
This commit switches to a new custom version of Shifter which sees it
put on a massive diet.
Many of the standard Shifter features are totally unused by Moodle, but
they add dependency spaghetti. Some of those dependencies will start to
cause us issues as they have not been updated for a very long time, are
no longer maintained, and are no longer compatible with anything
resembling a recent version of NodeJS.
2023-02-28 10:22:45 +08:00
Andrew Nicols
b3f7721cdd
MDL-75012 js: Bump shifter to new version
...
This resolves an issue identified in 77083 which identified that GitHub
hashes shouldn't be treated as repeatable.
Whilst GitHub have reverted this change, it's still worth making this
change.
2023-02-28 10:19:51 +08:00
Andrew Nicols
5d0631b6a1
MDL-75012 js: Use our own jsdoc wrapper
...
grunt-jsdoc is abandoned and only works with an older version of jsdoc.
This is a very simple wrapper around jsdoc itself.
2023-02-28 10:19:51 +08:00
Andrew Nicols
472fc27ab9
MDL-75012 js: Audit fix
2023-02-28 10:19:51 +08:00
Andrew Nicols
7c3db6d458
MDL-75012 js: Bump node-sass
2023-02-28 10:19:51 +08:00
Andrew Nicols
19f5ffb28a
MDL-75012 js: Update browserslist
...
To avoid build changes we exclude older versions of Android browser
2023-02-28 10:19:51 +08:00
Andrew Nicols
1c73373b3d
MDL-75012 js: Bump stylelint and components
2023-02-28 10:19:50 +08:00
Andrew Nicols
abb6877596
MDL-75012 js: Remove grunt-contrib-uglify
...
We stopped using this when we updated our processes to support ESMs in
MDL-62497. Removal of the dependency was missed at the time.
2023-02-28 10:19:50 +08:00
Andrew Nicols
f70d9a3eef
MDL-75012 js: Bump standard dependencies
...
This change bumps dependencies which have no impact upon the build
process
2023-02-28 10:19:50 +08:00
Andrew Nicols
6d0fdd8fd8
MDL-75012 core: Bump NodeJS version requirements
2023-02-28 10:19:50 +08:00
Jun Pataleta
9ee4f8db8b
weekly release 4.2dev
2023-02-24 15:43:16 +08:00
Jun Pataleta
5be89588f8
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2023-02-24 15:43:13 +08:00
Andrew Nicols
c1456aad07
Merge branch 'master_MDL-77376' of https://github.com/mattporritt/moodle
2023-02-24 12:31:48 +08:00
Andrew Nicols
9dff6e9c27
Merge branch 'MDL-76611' of https://github.com/paulholden/moodle
2023-02-23 19:04:29 +01:00
Andrew Nicols
d8f6c76400
Merge branch 'MDL-76843' of https://github.com/timhunt/moodle
2023-02-23 19:04:29 +01:00
Andrew Nicols
8a27d2c082
Merge branch 'MDL-77271-master' of https://github.com/lameze/moodle
2023-02-23 19:04:29 +01:00
Ilya Tregubov
8773ff3f56
MDL-74433 mod_assign: Fix version.php
2023-02-23 19:04:29 +01:00
Andrew Nicols
9b82570918
Merge branch 'MDL-77290-master' of https://github.com/HuongNV13/moodle
2023-02-23 19:04:29 +01:00
Andrew Nicols
157387832b
Merge branch 'MDL-76735-master' of https://github.com/HuongNV13/moodle
2023-02-23 19:04:29 +01:00
Ilya Tregubov
4a76af27df
Merge branch 'MDL-74433' of https://github.com/larsbonczek/moodle
2023-02-23 19:04:29 +01:00
Andrew Nicols
e515c15cfa
Merge branch 'MDL-77352' of https://github.com/paulholden/moodle
2023-02-23 19:04:29 +01:00
Matt Porritt
dd753f67e3
MDL-77376 Licensing: Update trademark.txt
...
Update Trademark policy in TRADEMARK.txt to
be in line with advice from the Moodle HQ
legal team
2023-02-23 15:35:25 +11:00
Andrew Nicols
d174cf3f85
Merge branch 'MDL-76412-master' of https://github.com/raortegar/moodle
2023-02-23 11:04:07 +08:00
Andrew Nicols
7839d62111
Merge branch 'MDL-77354-master' of https://github.com/HuongNV13/moodle
2023-02-23 10:49:09 +08:00
Ilya Tregubov
bb4633c967
Merge branch 'MDL-31235-master' of https://github.com/srobotta/moodle
2023-02-23 10:48:11 +08:00
Andrew Nicols
2b3baeb174
Merge branch 'MDL-76577/402' of https://github.com/skodak/moodle
2023-02-23 10:46:15 +08:00
Andrew Nicols
35f8c81d6f
Merge branch 'MDL-77278-master' of https://github.com/ferranrecio/moodle
2023-02-23 10:43:50 +08:00
Andrew Nicols
a95f9fc1fb
Merge branch 'MDL-69838' of https://github.com/paulholden/moodle
2023-02-23 10:39:42 +08:00
Andrew Nicols
0af94c6bb7
Merge branch 'MDL-75005_42' of https://github.com/skodak/moodle
2023-02-23 10:29:15 +08:00
Andrew Nicols
82e035955c
Merge branch 'MDL-76804-master' of https://github.com/lucaboesch/moodle
2023-02-23 10:13:31 +08:00
Ilya Tregubov
d6c9b9eaed
Merge branch 'MDL-77182-master' of https://github.com/ferranrecio/moodle
2023-02-23 10:09:51 +08:00
Andrew Nicols
baae0cd2d6
MDL-77230 mod_feedback: Coding style violation fixes
2023-02-23 10:05:47 +08:00
Andrew Nicols
42fcac25e2
Merge branch 'MDL-77230-master' of https://github.com/sarjona/moodle
2023-02-23 10:05:33 +08:00
Ilya Tregubov
07053e8140
Merge branch 'MDL-76873' of https://github.com/paulholden/moodle
2023-02-23 09:57:45 +08:00
Andrew Nicols
d7d5b417b6
Merge branch 'MDL-77210' of https://github.com/timhunt/moodle
2023-02-23 09:22:40 +08:00
Andrew Nicols
58820e2e56
Merge branch 'MDL-77149-master' of https://github.com/sammarshallou/moodle
2023-02-23 09:20:15 +08:00
Andrew Nicols
5a896a722c
Merge branch 'MDL-76815' of https://github.com/paulholden/moodle
2023-02-23 09:14:03 +08:00
Tim Hunt
dd1385b80d
MDL-76843 quiz: add test to verify random essay stats now work
2023-02-22 14:30:23 +00:00
Tim Hunt
4484757021
MDL-76843 quiz: fix statistics questions for missing questions
2023-02-22 14:30:23 +00:00
Tim Hunt
837d1cbf52
MDL-76843 questions behat: enhancements requried to test this issue
...
* New steps to set up certian sorts of broken test data.
* Fix qtype_essay_question::un_summarise_response().
2023-02-22 14:30:22 +00:00
Ilya Tregubov
9f31d4cd5f
Merge branch 'MDL-77285-master' of https://github.com/lameze/moodle
2023-02-22 12:26:33 +08:00
Huong Nguyen
0703ba8a51
MDL-77354 tool_behat: Fix deprecated strlen() of null in PHP 8.1
2023-02-22 11:07:49 +07:00
Ilya Tregubov
6138e692ca
Merge branch 'MDL-76784-master' of https://github.com/sammarshallou/moodle
2023-02-22 10:51:41 +08:00
Huong Nguyen
3fbe7ace06
MDL-77290 tiny_media: Fix cannot update the created media
...
Including in this commit:
- Changed the button text to Update media when the user is updating the media
- Added new Behat tests
2023-02-22 09:33:31 +07:00
Ilya Tregubov
9fcb71d5ff
Merge branch 'MDL-76850-master' of https://github.com/ferranrecio/moodle
2023-02-22 09:26:49 +08:00
Paul Holden
d58b28d97e
MDL-77352 javascript: declare debouncer outside the event handler.
...
It needs to be declared as such, otherwise each time the event is
triggered a new debouncer is created.
2023-02-21 22:38:59 +00:00