Commit graph

112648 commits

Author SHA1 Message Date
info@eWallah.net
8e62bcd9aa MDL-80538 phpdoc: Incorrect dataformat type documentation in table lib 2024-01-30 15:22:53 +01:00
Paul Holden
0ac237d542
MDL-74500 user: method to determine whether to show profile fields.
The new API replaces identical behaviour in existing calling code, but
allows for profile field types to override/separate the logic used to
show the field and determine whether it's empty
2024-01-30 11:33:52 +00:00
Paul Holden
066cfa41a6
MDL-80485 tool_lp: consistent activity icon element styling. 2024-01-30 11:27:22 +00:00
Andrew Nicols
484da7c0e8
MDL-79003 js: Bump stylelint and components
Stylelint 15 deprecates a heap of rules which will be removed in 16.

We can't use 16 because it's ESM and requires a big restructure of our
build process.

We can temporarily silence the deprecations and then when we update our
build tooling we can make use of @stylistic/stylelint-plugin to add the
rules back.

This commit:
- bumps stylelint and related dependencies accordingly
- fixes issues identified with newer sniffs
- temporarily silences deprecation warnings
2024-01-30 12:19:53 +08:00
Andrew Nicols
d851f109ef
MDL-79003 js: Move rollup ratelimit to generateBundle
There are two phases of a build: Building, and then Outputting.

We were previously listening on the final event for the build phase, but
we should be listening to the final event of the output phase.
2024-01-30 12:19:53 +08:00
Andrew Nicols
516fb90a1f
MDL-79003 js: Move browserlist config to package.json 2024-01-30 12:19:52 +08:00
Andrew Nicols
32a39926a9
MDL-79003 js: Standard package bump - glob 2024-01-30 12:19:52 +08:00
Andrew Nicols
5094828180
MDL-79003 js: Standard package bump - async 2024-01-30 12:19:52 +08:00
Andrew Nicols
62242b66c7
MDL-79003 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.
2024-01-30 12:19:52 +08:00
Andrew Nicols
d7c7e8afaf
MDL-79003 js: Standard package bump - grunt 2024-01-30 12:19:52 +08:00
Andrew Nicols
00ffcd3a5b
MDL-79003 js: Standard package bump - watchman 2024-01-30 12:19:51 +08:00
Andrew Nicols
ea380da041
MDL-79003 js: Standard package bump - ajv 2024-01-30 12:19:51 +08:00
Andrew Nicols
f457725b3a
MDL-79003 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.

This commit also includes a fix for broken docs.
2024-01-30 12:19:51 +08:00
Andrew Nicols
f9bd195365
MDL-79003 core: Bump eslint 2024-01-30 12:19:51 +08:00
Andrew Nicols
075b0ebd4e
MDL-79003 core: Bump NodeJS to lts/iron (NodeJS 20) 2024-01-30 12:19:39 +08:00
Huong Nguyen
980040748c Merge branch 'MDL-80523' of https://github.com/paulholden/moodle 2024-01-30 09:41:35 +07:00
Huong Nguyen
917aba079b Merge branch 'MDL-73545' of https://github.com/paulholden/moodle 2024-01-30 09:38:38 +07:00
Laurent David
8ee075d871 MDL-71665 core_courseformat: Sync activity name in the page
* Changing the name of an activity should change the access restriction messages.
* Introduction of a marker as data-cm-name-for to be able to change any
occurence of a course module name in the page when this one changes.
2024-01-29 09:00:30 +01:00
Andrew Nicols
05964ef989
MDL-80753 tiny_premium: Load TinyMCE Premium for the current editor ver 2024-01-29 15:06:03 +08:00
Jun Pataleta
245edd9a11
Merge branch 'MDL-73008-master' of https://github.com/jleyva/moodle 2024-01-29 14:42:08 +08:00
Stefan Hanauska
1a744ccdfa MDL-80716 course: Fix group button position 2024-01-29 06:34:18 +01:00
Huong Nguyen
379e48c1fd MDL-74775 adhoc_task: Do not clear the timecreated of failed tasks 2024-01-29 09:57:33 +07:00
Jun Pataleta
659b219869
Merge branch 'MDL-69225-main' of https://github.com/sarjona/moodle 2024-01-29 10:20:22 +08:00
Jun Pataleta
5bbcc38502
Merge branch 'MDL-78311' of https://github.com/paulholden/moodle 2024-01-29 10:08:37 +08:00
Jun Pataleta
82e73cb8a6
Merge branch 'MDL-79930' of https://github.com/marcusboon/moodle 2024-01-29 10:04:43 +08:00
Marcus Boon
5b6ca13bd7 MDL-79930 mod_forum: Use MUC for forum count discussions 2024-01-29 08:33:18 +10:00
AMOS bot
09bdeabb58 Automatically generated installer lang files 2024-01-27 00:11:34 +00:00
Juan Leyva
94bc97a8b2 MDL-80724 webservice: Return whether competencies are enabled 2024-01-26 13:56:23 +01:00
Sara Arjona
9b83de8185
Merge branch 'MDL-80471-main' of https://github.com/roland04/moodle 2024-01-26 12:41:40 +01:00
Juan Leyva
9c38e28826 MDL-79295 quiz: Return total unasnwered questions via summary WS 2024-01-26 10:31:07 +01:00
Juan Leyva
d54086f838 MDL-79295 quiz: Return state class for questions via WS 2024-01-26 10:31:07 +01:00
Juan Leyva
30598cf2a0 MDL-79295 quiz: Add proper WS support for sequential nav. 2024-01-26 10:24:16 +01:00
Mikel Martín
bcc95cde2a MDL-80471 theme: Refactor Tags SCSS code 2024-01-26 07:52:43 +01:00
Paul Holden
a767e0a78c
MDL-78311 core: fix host parameter type cleaning by IPv4 address. 2024-01-25 23:36:06 +00:00
Paul Holden
4efe3927d8
MDL-80727 tool_task: replace hard-coded adhoc task runner strings. 2024-01-25 22:42:25 +00:00
Paul Holden
87091e7b7c
MDL-80124 admin: prevent deletion of pre-installed preset definitions. 2024-01-25 21:51:41 +00:00
Sara Arjona
6fb09beb86
MDL-69225 h5pactivity: Review when and which banners display
The UX team proposal is to display two different notifications, to avoid confusion:

1. When the user is in preview mode:
Message: 'You are in preview mode.'
Notification Type: Information (blue), with the information permanently visible and not dismissible,
ensuring continuous awareness.

2. When activity tracking is disabled:
Message: 'Attempt tracking is not enabled for this activity. You can enable it in Settings.'
Notification Type: Warning (yellow) with a close icon for dismissal if tracking is intentionally disabled.

These notifications should only be visible to teachers and content creators, not students.
If a teacher also has a student role, this information should not appear when logged in as a student.

That's why the pre-existing is_tracking_enabled() function has been updated to only check if tracking
is on for an activity, without considering user capabilities (that's why the $user parameter has been
removed from this function too). Besides, a new function called can_submit() has been created to find
out if users are allowed to submit an activity.
2024-01-25 17:46:36 +01:00
Sara Arjona
f30110b5eb
weekly release 4.4dev 2024-01-25 16:48:23 +01:00
Paul Holden
6f00e3a460
MDL-80660 user: preserve return URL upon role switch from frontpage. 2024-01-25 15:40:52 +00:00
Dani Palou
d638bb10cb MDL-80718 quiz: Apply overrides in mod_quiz_get_combined_review_options 2024-01-25 10:03:45 +01:00
Jun Pataleta
8795b5745b
Merge branch 'MDL-80656-main' of https://github.com/lameze/moodle 2024-01-25 12:14:05 +08:00
Jun Pataleta
22cccb52d6
Merge branch 'MDL-80673-main' of https://github.com/snake/moodle 2024-01-25 12:06:14 +08:00
Jake Dallimore
9921d5f5ef
MDL-80673 mod_forum: fix modal creation when viewing student grades
Fixes a regression caused by MDL-78324.
2024-01-25 12:01:22 +08:00
Huong Nguyen
ff96c6f05c Merge branch 'MDL-80224' of https://github.com/paulholden/moodle 2024-01-25 11:01:09 +07:00
Huong Nguyen
d6254da301 Merge branch 'MDL-80516' of https://github.com/paulholden/moodle 2024-01-25 10:44:47 +07:00
Huong Nguyen
ccc9bf6b60 Merge branch 'MDL-76671-master' of https://github.com/jleyva/moodle 2024-01-25 10:23:56 +07:00
Huong Nguyen
aa545904da Merge branch 'MDL-80650' of https://github.com/timhunt/moodle 2024-01-25 09:23:27 +07:00
Ilya Tregubov
32fe5a74ed Merge branch 'MDL-80098' of https://github.com/paulholden/moodle 2024-01-25 10:20:05 +08:00
Huong Nguyen
854ba5dc20 Merge branch 'MDL-80676-main' of https://github.com/junpataleta/moodle 2024-01-25 09:07:25 +07:00
Ilya Tregubov
59cac76dc1 Merge branch 'MDL-79927' of https://github.com/paulholden/moodle 2024-01-25 09:53:21 +08:00