Commit graph

112072 commits

Author SHA1 Message Date
Jun Pataleta
1d9f2dec58
Merge branch 'mdl64431' of https://github.com/danmarsden/moodle 2023-12-05 12:13:45 +08:00
Huong Nguyen
f1b276ca4c Merge branch 'main' of https://github.com/dragos5436/moodle 2023-12-05 10:40:10 +07:00
Ilya Tregubov
b43ccea792 MDL-68652 core_grades: Add a webservice to retrive only gradable users. 2023-12-05 09:37:24 +08:00
Ilya Tregubov
9f1b1eb427 Merge branch 'MDL-80043-main' of https://github.com/junpataleta/moodle 2023-12-05 09:10:37 +08:00
Ilya Tregubov
aefabc50f5 Merge branch 'MDL-80131-main' of https://github.com/junpataleta/moodle 2023-12-05 09:00:06 +08:00
Marina Glancy
aad5cd7c6a MDL-79761 navigation: fix default setting during web installation 2023-12-04 13:04:49 +00:00
Mikel Martín
cc8d4b1358 MDL-74778 course: Final removal of format.js
The format.js files in format weeks and format topic were deprecated
since 4.0.
Removing those files and code occurrences.
2023-12-04 12:40:39 +01:00
Juan Leyva
5b61a10040 MDL-80318 course: Always check provider when using comm API in WS 2023-12-04 12:04:04 +01:00
Sara Arjona
33ffa3b6a2
Merge branch 'MDL-80185' of https://github.com/paulholden/moodle 2023-12-04 11:00:38 +01:00
Paul Holden
176ed8e798
MDL-80254 reportbuilder: better handling of deleted users in schedules.
We should verify that schedule and audience users are active accounts,
and that we don't try to send report schedules either from/to them if
they aren't.
2023-12-04 09:48:39 +00:00
meirzamoodle
f456416318 MDL-80257 editory_tiny: Implement ui_mode: split
Since version 6.4 and later, TinyMCE had a feature `ui_mode: split`.

It enables support for editors in scrollable containers,
and Moodle has some pages, especially the course pages, that are using the scrollable containers.
Therefore, all workaround that is addressed should be replaced by the feature to avoid future problems
regarding the overflow and the z-index issues.
2023-12-04 16:27:47 +07:00
Paul Holden
70323bc04f
MDL-74466 repository: avoid passing around sesskey when not required. 2023-12-04 09:22:27 +00:00
meirzamoodle
c9517f2180 MDL-80257 editory_tiny: Remove tox-tinymce-aux z-index
Remove .tox-tinymce-aux from style.css because z-index is already defined in TinyMCE skin.css
2023-12-04 15:57:48 +07:00
Jun Pataleta
04bc690557
Merge branch 'MDL-80221-main-enfix' of https://github.com/mudrd8mz/moodle 2023-12-04 16:12:07 +08:00
Ilya Tregubov
01f6b2f988 MDL-50650 core_grades: Validate minimum grade when importing grades
Also add behat test for max and min grade validation.
2023-12-04 16:03:49 +08:00
Jun Pataleta
1d5ee36809
Merge branch 'MDL-79986-main' of https://github.com/sarjona/moodle 2023-12-04 16:01:37 +08:00
Kyle Matter
68ef883354 MDL-50650 core_grades: allow grade imports larger than 100 points 2023-12-04 12:34:44 +08:00
Jun Pataleta
e756edf18d
Merge branch 'MDL-79726-main' of https://github.com/sarjona/moodle 2023-12-04 12:09:26 +08:00
Ilya Tregubov
6c5e5bc564 Merge branch 'MDL-74417-manage-sesskeys' of https://github.com/bwalkerl/moodle 2023-12-04 11:35:41 +08:00
Huong Nguyen
7d08697fb9 Merge branch 'MDL-79784-master' of https://github.com/jleyva/moodle 2023-12-04 09:25:11 +07:00
Luca Bösch
f10d837fce MDL-79931 mod_glossary: Change edit entry icon from gear to pencil. 2023-12-02 15:57:09 +01:00
Jun Pataleta
5672927c28
MDL-80131 mod_data: Make page titles unique 2023-12-02 07:19:16 +08:00
dragos5436
78e3edf3ef MDL-60632 mod_quiz: Fix chart rendering fail in quiz report
If a quiz activity has negative grading enabled for incorrect answers,
students can achieve overall negative grades in this quiz. If at least
one student achieves a negative grade, the chart at the bottom of the
quiz 'Results' tab will fail to display. This patch add a search for
negative results, removes them from the band below 0 and adds them to
the 0 band. This will make the chart render correctly again.

Co-authored-by: Susana Leitão <sleitao@uporto.pt>
Co-authored-by: Matthias Opitz <m.opitz@ucl.ac.uk>

Removed whitespace at end of lines
2023-12-01 15:17:42 +00:00
Paul Holden
44199688e5
MDL-76719 mod_assign: don't try to load user if there are none. 2023-12-01 13:18:26 +00:00
Rodrigo Mady
5a7afb727e MDL-79296 auth_email: Add extendedusernamechars to get_signup_settings 2023-12-01 09:25:33 -03:00
Paul Holden
3f71011668
MDL-69497 mod_assign: amend preference definitions for current user.
Ensure they can always be updated when using the grader.
2023-12-01 10:34:35 +00:00
Sara Arjona
29b2204b02
Merge branch 'MDL-80238-main' of https://github.com/roland04/moodle 2023-12-01 11:07:57 +01:00
Sara Arjona
564031b183
Merge branch 'MDL-80209-main' of https://github.com/aanabit/moodle 2023-12-01 10:56:02 +01:00
Paul Holden
9c8323c932
MDL-79216 reportbuilder: standardize on filter field unit lang string.
Replace/deprecate specific string identifier with generic version that
was introduced in the commit prior.

AMOS BEGIN
 CPY [filterdurationunit,core_reportbuilder],[filterfieldunit,core_reportbuilder]
AMOS END
2023-12-01 09:39:01 +00:00
Paul Holden
0d9b79fb20
MDL-79216 files: new report filter type for filesize data. 2023-12-01 09:39:01 +00:00
Benjamin Walker
b833927648 MDL-74417 admin: Remove sesskey from test settings links 2023-12-01 18:41:50 +10:00
Sara Arjona
032f39aeef
MDL-79726 completion: Overall should consider pass/fail states too
In MDL-78744, when the overallcompletion state was added to be displayed
in the activity card, only COMPLETE/INCOMPLETE status were considered.
However, depending on the activity completion settings, there are a
couple of states more that should also be included (COMPLETE_FAIL and
COMPLETE_PASS).

A new method has been added to the cm_completion_details class to
calculate whether a module should be considered or not completed,
based on their completion options and the current value for the
overall complete state.
2023-12-01 09:18:36 +01:00
Sara Arjona
dd723bae71
MDL-79986 course: Remove $CFG->linkcoursesections setting
Currently, the $CFG->linkcoursesections setting was only used
for the Classic theme, to let admins decide whether the section
names in the Navigation block would be linked or not.

Now that the course/section.php page has been created to display
the content of any single section, and a link to this section page
has been added from the main course page to help users to focus
on the section content, it has been decided to remove the setting
$CFG->linkcoursesections because it's not required anymore.
2023-12-01 09:17:17 +01:00
Sara Arjona
6792a40924
MDL-79986 course: Create new course/section.php page
The page course/section.php has been created, to display the content of a
single section. This page will only accept sectionid (to get rid of the
legacy sectionnumber).

Some features of this page:
- The General section won't be displayed anymore above the selected
section.
- In the main course page content, regardless of the Course layout ("All
sections on one page" vs "One section per page"), all the section names
will link to the new page (except when editing mode is on).
2023-12-01 09:15:48 +01:00
Sara Arjona
d53dc05e9e
MDL-79986 output: Add view section action 2023-12-01 09:15:48 +01:00
David Mudrák
7f67a96521 MDL-80221 lang: Use fixed strings in the tests, too 2023-12-01 06:27:36 +01:00
Ilya Tregubov
abba174fe1 weekly release 4.4dev 2023-12-01 13:12:19 +08:00
Jun Pataleta
9de014bff1
MDL-80043 grade: Add upgrade.txt notes 2023-12-01 09:07:31 +08:00
Jun Pataleta
87c950e0d0
MDL-80043 gradereport_grader: Define editingmode_title lang string 2023-12-01 09:07:30 +08:00
Jun Pataleta
4b4ced22b5
MDL-80043 grade: editingmode_title support for grade report plugins
* Add support for grade report plugins that define an
`editingmode_title` lang string. If the grade report plugin defines this
 language string, it will be used for the page title's unique
 identifying information when editing mode is turned on.
2023-12-01 09:07:30 +08:00
Jun Pataleta
3f75abcb8d
MDL-80043 gradereport_singleview: Improve heading wordings
* Make the headings for the single view easier to read and understand
* When on editing mode, update the heading for the grade and user
screens to convey to the user that the page is currently on editing
mode. This is helpful for screen reader users as they can immediately
know the current display mode of the single view report page when this
gets read via the page title.
2023-12-01 09:07:30 +08:00
Jun Pataleta
7c0eece4c6
MDL-80043 grade: Use heading parameter for the page title if provided 2023-12-01 09:02:00 +08:00
sam marshall
2077ae03f8 MDL-55640 setuplib: test_localcachedir fails sporadically 2023-11-30 13:56:11 +00:00
Paul Holden
4ae66c58fd
MDL-80286 datafield_date: cast field content to real when sorting.
This ensures we don't under/overflow the size of an integer in DB.
2023-11-30 10:03:04 +00:00
Amaia Anabitarte
1a0a86c1c9 MDL-80209 mod_scorm: Save minimum score completion 2023-11-30 10:37:52 +01:00
Mark Johnson
d1a4268839 MDL-79806 quiz_statistics: Queue recalculation on attempt_deleted 2023-11-30 08:54:14 +00:00
Mark Johnson
3fd2fefb5f MDL-79806 mod_quiz: Implement new quiz_attempt_deleted callback 2023-11-30 08:51:51 +00:00
Huong Nguyen
e65882f706 Merge branch 'MDL-79616-master' of https://github.com/brunobaudry/moodle 2023-11-30 10:50:58 +07:00
Huong Nguyen
a86e4ab133 Merge branch 'MDL-79816-main' of https://github.com/rmady/moodle 2023-11-30 10:40:06 +07:00
Meirza
84b053f088 MDL-76109 core: Don't check password policy for guest user
Besides adding the is_guest() check in the check_password_policy() condition,
I also changed the temporary user ID because the temporary user and
the guest must not share the same ID. Otherwise, it will raise an error.

Co-authored-by: Andrei Bautu <abautu@gmail.com>
2023-11-30 10:35:04 +07:00