Commit graph

111803 commits

Author SHA1 Message Date
Jun Pataleta
fdb78d6431
MDL-78425 admin: Point Clear theme caches to correct URL
* Plus remove unnecessary call to require_once() in theme/index.php
2023-11-08 10:16:35 +08:00
Jun Pataleta
1ad89120ab
Merge branch 'MDL-78425-master' of https://github.com/davewoloszyn/moodle 2023-11-08 10:14:11 +08:00
Ilya Tregubov
419c760967
Merge branch 'MDL-79858' of https://github.com/paulholden/moodle 2023-11-08 09:48:50 +08:00
David Woloszyn
103c2bb512 MDL-78425 core_theme: Theme selection now uses cards and modal 2023-11-08 11:10:41 +11:00
Paul Holden
34cc409680
MDL-79267 mod_forum: define report subplugin type language strings. 2023-11-07 09:49:49 +00:00
Huong Nguyen
1e256012a1 Merge branch 'MDL-78953' of https://github.com/pedrojordao/moodle 2023-11-07 15:33:29 +07:00
Andrew Nicols
2f0aac01fb
MDL-79981 core: Add ability to manually run and filter phpunit on GHA 2023-11-07 16:14:14 +08:00
Jun Pataleta
f5e4a1f487
MDL-80019 mod_bigbluebuttonbn: Use updated completion field names
Field names for the completion conditions have been updated since 4.3.
So the fields names should also be updated in the test.
2023-11-07 13:11:36 +08:00
Jun Pataleta
b72a0b28ec
Merge branch 'MDL-80019-master' of https://github.com/call-learning/moodle 2023-11-07 13:10:54 +08:00
Laurent David
11aa2dd086 MDL-80019 mod_bigbluebuttonbn: Completion form freeze fix
* When the completion is locked, we should not be able to edit the completion elements
2023-11-06 22:10:16 +01:00
Bruno Baudry
596539aa83 MDL-79620 admin: removed unused strings
In MDL-20204 the function that used 'smartpix' and
'configsmartpix' has been removed.
2023-11-06 16:45:05 +01:00
Paul Holden
fd3ae99540
MDL-79728 communication_matrix: deprecate refresh token config strings. 2023-11-06 13:37:11 +00:00
Sara Arjona
48c4fe03c1
Merge branch 'MDL-79646' of https://github.com/paulholden/moodle 2023-11-06 12:45:54 +01:00
Huong Nguyen
49a90873b0 Merge branch 'MDL-77805-master' of https://github.com/roland04/moodle 2023-11-06 16:21:38 +07:00
Sara Arjona
83525446ed
Merge branch 'mdl-78650-master-alt-fix' of https://github.com/Fragonite/moodle 2023-11-06 09:50:54 +01:00
Ilya Tregubov
44f1937c57
Merge branch 'MDL-71941-master' of https://github.com/lucaboesch/moodle 2023-11-06 13:43:43 +08:00
David Woloszyn
299b5748ea MDL-77325 core: Upgrades will make Tiny the default editor 2023-11-06 16:28:24 +11:00
Huong Nguyen
dfa2fd8445 Merge branch 'MDL-79062-master-2' of https://github.com/junpataleta/moodle 2023-11-06 10:51:05 +07:00
Ilya Tregubov
c53b560619
Merge branch 'MDL-79536' of https://github.com/paulholden/moodle 2023-11-06 09:17:14 +08:00
Ilya Tregubov
8d7511b230
Merge branch 'MDL-79446' of https://github.com/paulholden/moodle 2023-11-06 09:13:47 +08:00
Dan Marsden
2f6685dfc7 MDL-80004 scorm: add missing require locallib during course reset. 2023-11-06 11:57:10 +13:00
Andrew Nicols
eddae1808b
MDL-79974 core: Add Whoops when debugging
Whoops will only be used under the following conditions:

- Not an AJAX request
- Not a CLI usage
- debugdisplay is set
- composer dependencies are installed
- Whoops is available
- The configuration setting is enabled
2023-11-05 21:23:18 +08:00
Paola Maneggia
44d2db0de1 MDL-76555 mod_resource: Fix PHP8.0 type error (legacy resources) 2023-11-05 13:46:04 +01:00
Mikel Martín
e6a3598c59 MDL-80002 forumreport_summary: Fix summary report date filtering 2023-11-03 15:45:24 +01:00
Paul Holden
73143443b8
MDL-79996 communication: valid instance checks during user deletion. 2023-11-03 12:54:00 +00:00
Sara Arjona
78f239c890
MDL-79992 backup: Display course backups from activity restore
The Course backup area was not displaying the course backups when
accessing to the Restore page for an activity because the context
was not updated properly for this area.
2023-11-03 12:21:06 +01:00
Ilya Tregubov
e37eb30a09
MDL-76588 gradereport_summary: Summary report hack
This is a hack since average is not correct for summary report
when we have suspended users. But since we don't want to change
display to user - it is set to match 4.1 behavior.
2023-11-03 13:46:43 +08:00
Ilya Tregubov
4cae211e4a
MDL-76588 gradereport_user: Deprecate calculate_averages
Calculate_average is used instead.
2023-11-03 12:40:55 +08:00
Ilya Tregubov
4a0770d0ca
MDL-76588 gradereport_grader: Deprecate get_right_avg_row
Calculate_average is used instead.
2023-11-03 12:40:50 +08:00
Ilya Tregubov
d47c36b28b
MDL-76588 core_grades: Refactor calculate_average for hidden grades case.
On grader report we include hidden grades in averages calculations.
On user report we don't include hidden grades. So to allow using of
calculate_averages it needs to be refactored for this case.

We also have to add group id param to calculate_average since for
grader report we calculate both overall average and group average
2023-11-03 12:40:46 +08:00
Jake Dallimore
832e394322
MDL-76694 core_comment: exit the js init if the element cannot be found
In pages which result in the theme_boost/embedded template being used,
blocks may be rendered and the resulting HTML ignored, leaving any JS
they may have added to run without a corresponding DOM element to act
on. This fixes that case for comments, making sure we exit gracefully
during the init if the element can't be found.
2023-11-03 10:04:32 +08:00
Ilya Tregubov
bf51836399
MDL-73852 enrol_meta: Enable meta enrolment for course upload. 2023-11-03 08:52:15 +08:00
Pedro Jordao
2d73818742 MDL-78953 autocomplete: Add only one empty option when deselecting item.
Each option that was deselected was prepending an empty option in the select.
2023-11-02 18:35:21 -03:00
Mikel Martín
136fa1ef0c MDL-77805 reportbuilder: Improve filter dropdown UI
- Modify the filters dropdown UI to have a fixed height and inner scroll.
This will improve displaying long filter dropdowns.
- Modify the filters dropdown buttons to be always displayed sticked to the bottom.
- Clean unused styles in filters dropdown
2023-11-02 18:08:05 +01:00
Juan Carrera
63a7ce5108 MDL-66546 caching: Add support to unix:// connections to redis. 2023-11-02 16:04:54 +01:00
Luca Bösch
9593d46512 MDL-71941 quiz_grading: use 'gradeverb' core string 2023-11-02 16:02:32 +01:00
Luca Bösch
1e2300fbd6 MDL-71941 core_grades: use 'gradenoun' core string 2023-11-02 16:02:32 +01:00
Luca Bösch
2c9d117574 MDL-71941 mod_lesson: Deprecate 'Grade' string 2023-11-02 16:02:32 +01:00
Luca Bösch
628cb13e87 MDL-71941 mod_quiz: use 'gradenoun' core string 2023-11-02 16:02:32 +01:00
Paul Holden
07bf09c063
MDL-79646 reportbuilder: transition effect after drag/drop in editor. 2023-11-02 14:58:52 +00:00
Paul Holden
4fff2059b8
MDL-79646 javascript: add class to dropped item after drag/drop. 2023-11-02 14:56:26 +00:00
Paul Holden
aa304792f9
MDL-79629 reportbuilder: enhance condition/filter selection in editor.
Enhance the select element used for each with the autocomplete module.

Co-authored-by: Mikel Martín <mikel@moodle.com>
2023-11-02 14:50:10 +00:00
Mikel Martín
2ea44fb45e
MDL-79629 core_question: Improve autocomplete categories UI 2023-11-02 14:50:10 +00:00
Mikel Martín
e9afd7f072
MDL-79629 forms: Improvements to autocomplete form element
- Preserve autocomplete input options classes to the autocomplete suggestions
- Add new styles for suggestions headings
- Add a new class selector form-autocomplete-input so input can be easily selected
  for styling.

Various improvements to make the module more re-usable elsewhere:
change event bubbling, promise argument support when enhancing.

Co-authored-by: Paul Holden <paulh@moodle.com>
2023-11-02 14:50:10 +00:00
Paul Holden
96fc3577f4
MDL-79975 tool_task: correct class attribute table cell property. 2023-11-02 13:15:05 +00:00
Sara Arjona
e4d1369475
weekly release 4.4dev 2023-11-02 13:40:38 +01:00
Paul Holden
6b712f5b46
MDL-79536 blog: clarify language around published report column/filter.
Avoid the use of "Yourself" when refering to the draft state of a blog
post, as it can mistakenly be interpreted as referring to the current
user (rather than the user who authored the blog post).
2023-11-02 10:48:11 +00:00
Jun Pataleta
99bcfc1cdb
MDL-79062 grade: Behat test fixes
* Feature: We can use a minimum grade different than zero
  - Use correct minimum input values.
  - Use data generators for faster test execution.
* Scenario: Disable category overriding
  - Use the field name to ensure that the correct field is being tested.
2023-11-02 17:33:31 +08:00
Jun Pataleta
a8dcfdcbce
MDL-79062 grades: Sort-by-name menu item accessibility fixes
* <h6> tags cannot be in table cells. Replace them with <div> tags.
* Group the ascending/descending sort menu items to better indicate
where they belong to.
2023-11-02 17:33:31 +08:00
Jun Pataleta
8b39ae9369
MDL-79062 gradereport_grader: Set numeric type for grade value inputs
* Set grade inputs for grade items with type set to GRADE_VALUE to
number and add min and max input attributes, where necessary.
2023-11-02 17:33:31 +08:00