25016 Commits

Author SHA1 Message Date
Huong Nguyen
a9e293cac9 Merge branch 'MDL-80289-main' of https://github.com/call-learning/moodle 2024-02-01 08:55:09 +07:00
Ilya Tregubov
d93271063a Merge branch 'MDL-80575' of https://github.com/paulholden/moodle 2024-01-31 09:24:03 +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
Jun Pataleta
659b219869
Merge branch 'MDL-69225-main' of https://github.com/sarjona/moodle 2024-01-29 10:20:22 +08:00
Marcus Boon
5b6ca13bd7 MDL-79930 mod_forum: Use MUC for forum count discussions 2024-01-29 08:33:18 +10: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
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
aa545904da Merge branch 'MDL-80650' of https://github.com/timhunt/moodle 2024-01-25 09:23:27 +07:00
Ilya Tregubov
404b7078c0 Merge branch 'MDL-79159-master' of https://github.com/andelacruz/moodle 2024-01-25 09:35:28 +08:00
Sara Arjona
634e3594fe
Merge branch 'MDL-76723-main' of https://github.com/junpataleta/moodle 2024-01-24 13:12:15 +01:00
Sara Arjona
31d701b436
Merge branch 'MDL-79940-master' of https://github.com/andelacruz/moodle 2024-01-24 09:22:31 +01:00
Sara Arjona
8b36abdb9d
Merge branch 'MDL-80259-main' of https://github.com/roland04/moodle 2024-01-24 09:16:12 +01:00
Angelia Dela Cruz
ae3436f905 MDL-79159 mod_lesson: Behat coverage for lesson question max attempts 2024-01-24 16:13:50 +08:00
Simey Lameze
7e24913339 MDL-80656 behat: remove unnecessary activity duplication steps 2024-01-24 11:07:34 +08:00
Angelia Dela Cruz
bacba4d8f2 MDL-79940 mod_workshop: Behat to confirm review button for reviewers 2024-01-23 16:56:57 +08:00
Mikel Martín
a198884333 MDL-80259 theme_boost: Refactor badge helper classes for Bootstrap 5 2024-01-23 08:27:23 +01:00
Sara Arjona
a515bdaef8
Merge branch 'MDL-80339-main' of https://github.com/andelacruz/moodle 2024-01-23 07:48:20 +01:00
Angelia Dela Cruz
963723bc4d MDL-80339 mod_lesson: Behat to confirm grade visibility in lesson 2024-01-23 10:10:44 +08:00
Jun Pataleta
10744550e6
Merge branch 'MDL-79029-main' of https://github.com/ferranrecio/moodle 2024-01-23 09:26:30 +08:00
Sara Arjona
1643b2110e
Merge branch 'MDL-80418-main' of https://github.com/aanabit/moodle 2024-01-22 16:13:46 +01:00
Ferran Recio
f4adbc8a11 MDL-79029 behat: replace deprecated behat steps 2024-01-22 11:12:28 +01:00
Huong Nguyen
c8d21e63a4 Merge branch 'MDL-80499' of https://github.com/paulholden/moodle 2024-01-22 15:35:52 +07:00
Jun Pataleta
f526671228
Merge branch 'MDL-80377-main' of https://github.com/andelacruz/moodle 2024-01-22 16:32:51 +08:00
Jun Pataleta
412db652c7
Merge branch 'MDL-80461-main' of https://github.com/sarjona/moodle 2024-01-22 16:17:21 +08:00
Jun Pataleta
e7a947846d
Merge branch 'MDL-80248-main' of https://github.com/sarjona/moodle 2024-01-22 15:24:12 +08:00
Jun Pataleta
41e3797c66
Merge branch 'MDL-80232' of https://github.com/paulholden/moodle 2024-01-22 15:04:50 +08:00
Sara Arjona
e6f75b59a3
MDL-80248 course: Display only content for the General section 2024-01-19 12:03:36 +01:00
Sara Arjona
0c71612294
MDL-80461 courseformat: Deprecate unused strings for topics and weeks 2024-01-19 08:53:17 +01:00
Sara Arjona
785d3fd1e7
MDL-80461 courseformat: Replace topics and weeks with section
After UX research, the conclusion is that all formats should use "section"
and not try to use alternative terms such as topic or week.

This commit replaces topic and week references with section. A couple of
considerations:

- Most of the strings in topics and weeks formats have been removed. In that
particular case it's not required to follow the deprecation process because
they will be using the generic ones defined in moodle or courseformat.
- The sectionname will be renamed from "Topic"/"Week" to "New section" in
MDL-80460.
2024-01-19 08:53:16 +01:00
Angelia Dela Cruz
61e8bed77f MDL-80377 block: Behat confirming folder file in recent activity block 2024-01-19 14:26:52 +08:00
Tim Hunt
f4fc795642 MDL-80650 quiz restore: restore of max marks review option from pre 4.2 2024-01-18 09:25:08 +00:00
Jun Pataleta
f76362e0dc
Merge branch 'MDL-80325' of https://github.com/dravek/moodle 2024-01-18 12:00:16 +08:00
Jun Pataleta
82c9578e36
Merge branch 'MDL-72308' of https://github.com/paulholden/moodle 2024-01-18 11:31:09 +08:00
Sara Arjona
a09551b174
Merge branch 'MDL-80255-main' of https://github.com/aanabit/moodle 2024-01-17 11:51:02 +01:00
Jun Pataleta
06146da7cb
Merge branch 'MDL-80005-main-squashed' of https://github.com/andrewnicols/moodle 2024-01-17 16:52:33 +08:00
Andrew Nicols
b05fc42db9
MDL-80005 core: Emit deprecation notices for params
Most params are formally deprecated here. This was originally planned
for MDL-80042, but I realised that having an emit, and final param is a
very useful option going forward.

This patch also moves the is_deprecated(), and related methods to the
\core\deprecated attribute.
2024-01-17 12:19:45 +08:00
Amaia Anabitarte
c40d85da65 MDL-80255 mod_scorm: Remove 'Completed' as default completion 2024-01-16 16:40:26 +01:00
Sara Arjona
583cd6377e
Merge branch 'MDL-80266-main' of https://github.com/andrewnicols/moodle 2024-01-16 07:20:04 +01:00
Andrew Nicols
232e705f60
MDL-80266 mod_forum: Reset subscription caches between behat tests 2024-01-16 13:34:16 +08:00
Paul Holden
2ac0df331c
MDL-72308 mod_forum: update legacy uses of formchangechecker module. 2024-01-15 14:24:17 +00:00
Amaia Anabitarte
4e6d39f539 MDL-80418 core_course: Homogenize titles in modedit 2024-01-15 12:56:16 +01:00
David Carrillo
10d2b5864b
MDL-80325 reportbuilder: Update 'Delete' links to red color
- Update all 'Delete' links on RB system report actions to red color
2024-01-12 15:38:19 +01:00
Mikel Martín
a8b5044920 MDL-80244 theme_boost: Refactor navbar for Bootstrap 5 2024-01-12 08:46:43 +01:00
Paul Holden
bf34adae73
MDL-80575 mod_forum: correct field name for "Notify students" setting. 2024-01-11 11:43:15 +00:00
Huong Nguyen
92f38b9cb5 Merge branch 'MDL-80452-main' of https://github.com/andelacruz/moodle 2024-01-11 10:44:01 +07:00
Jun Pataleta
d077ba647d
Merge branch 'MDL-80313' of https://github.com/stronk7/moodle 2024-01-11 11:32:40 +08:00
Angelia Dela Cruz
e27de1d44d MDL-80452 mod_h5pactivity: Behat for H5Pactivity duplication and delete 2024-01-11 11:17:51 +08:00