24633 Commits

Author SHA1 Message Date
Andrew Nicols
05a8ac58db
Merge branch 'MDL-76717_master' of https://github.com/marxjohnson/moodle 2023-07-08 13:01:47 +08:00
Sara Arjona
aaa1520879
MDL-78676 mod_data: Check completion rules properly
The completion_rule_enabled() method was not checking all the fields
and, in some cases, it was returning false (because it was not checking
that "Count of entries" field was enabled).
2023-07-07 18:27:10 +02:00
Ilya Tregubov
94452ea194
Merge branch 'MDL-77375-master' of https://github.com/rezaies/moodle 2023-07-06 09:19:57 +08:00
Ilya Tregubov
048edee1e2
Merge branch 'MDL-74301-master' of https://github.com/kabalin/moodle 2023-07-06 09:06:31 +08:00
Paul Holden
8049fa2b17
Merge branch 'MDL-78542-master' of https://github.com/junpataleta/moodle 2023-07-05 17:13:20 +01:00
Andrew Nicols
545c7e3037
Merge branch 'MDL-77563-master' of https://github.com/rezaies/moodle 2023-07-05 22:06:21 +08:00
Andrew Nicols
cee81e21c1
Merge branch 'MDL-77599' of https://github.com/stronk7/moodle 2023-07-05 21:58:47 +08:00
Andrew Nicols
59d844b9cd
Merge branch 'MDL-78622' of https://github.com/timhunt/moodle 2023-07-05 21:55:54 +08:00
Rodrigo Mady
fcdd5bb53d MDL-78559 mod_chat: Fix chat report loading with TeX filter 2023-07-05 10:54:33 -03:00
Paul Holden
d9a379a1c3
MDL-78642 mod_assign: typecast portfolio button renderer return.
Internally the button return is nullable, which we need to account
for in the renderer.
2023-07-05 13:51:48 +01:00
Andrew Nicols
e1c9921d5d
Merge branch 'MDL-78614-master' of https://github.com/noeldemartin/moodle 2023-07-05 20:30:07 +08:00
Huong Nguyen
880fd8a253
Merge branch 'MDL-77055-master' of https://github.com/rmady/moodle 2023-07-05 15:00:37 +07:00
Andrew Nicols
2b19f23665
Merge branch 'MDL-78158-master' of https://github.com/andelacruz/moodle 2023-07-05 10:23:32 +08:00
Andrew Nicols
614514cdea
Merge branch 'MDL-77873-master' of https://github.com/lucaboesch/moodle 2023-07-05 09:55:13 +08:00
Luca Bösch
2c8b35dd23 MDL-77873 quiz: style the question number edit elements. 2023-07-04 23:25:16 +02:00
Sara Arjona
9c51739570
Merge branch 'MDL-40084-master' of https://github.com/phmemmel/moodle 2023-07-04 13:58:41 +02:00
Huong Nguyen
c2203091f3
Merge branch 'master_MDL77396_Fix' of https://github.com/Dineshdurai/moodle 2023-07-04 16:15:04 +07:00
Andrew Nicols
533e71a302
Merge branch 'MDL-76840' of https://github.com/uzimike/moodle 2023-07-04 13:20:51 +08:00
Angelia Dela Cruz
09d654b3fe MDL-78158 behat: Behat cleanup and optimisation 2023-07-04 07:01:27 +08:00
Sara Arjona
a3452bd17a
Merge branch 'MDL-77868' of https://github.com/paulholden/moodle 2023-07-03 17:29:29 +02:00
Sara Arjona
71aba52406
Merge branch 'MDL-76661' of https://github.com/paulholden/moodle 2023-07-03 17:26:15 +02:00
Ruslan Kabalin
80a111d25e MDL-74301 eslint: Address issues reported by eslint 2023-07-03 15:21:53 +01:00
Eloy Lafuente (stronk7)
d9f7fe9c3f
MDL-77599 coding-style: Replace forbidden @const tags by @var
@const is not a valid phpdoc tag and @var should be used to
document both classes properties and constants (no matter how
weird that may sound, heh).

Link to (draft right now) PHP-FIG:

https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#518-var

So, with this commit we are just replacing all uses by the correct
@var one. Note that the type is entirely optional, in fact I think
that there isn't much need of it for constants because it's obvious
for both humans and machines which the type is. But, as far as it's
also correct to specify it, we haven't modified that detail.

The only detail modified are the cases where the constant name was
specified in the phpdoc, that's not needed, hence, the names have
been removed from there when present (a couple of cases).
2023-07-03 15:58:16 +02:00
Tim Hunt
0f75a41fbf MDL-78622 quiz: add question query must include contextid
It is logically requried and necessary for the query to use the index
2023-07-03 11:50:42 +01:00
Paul Holden
9cd4040565
MDL-76661 mod_bigbluebuttonbn: fix meeting attendee role comparison. 2023-07-03 11:41:08 +01:00
Angelia Dela Cruz
9f101a30b2 MDL-78158 Behat: Use data generators to add blocks 2023-07-03 17:41:21 +08:00
Noel De Martin
68712853d9 MDL-78614 behat: Remove trailing quotes 2023-07-03 11:18:09 +02:00
Philipp Memmel
fc13869f5a MDL-40084 mod_data: Rename and move entries ex-/importer classes
Also:
- Extend test coverage
- Small bug fixes
- Codestyle
2023-07-01 20:42:01 +02:00
Shamim Rezaie
c99afc4bff MDL-77563 mod_assign: Improve how grader name is hidden 2023-07-02 01:33:32 +10:00
Shamim Rezaie
316d79d038 MDL-77375 core: Cleanup redundant set_constraint() calls
Also removed the 10rem bottom margin form the quiz editing page. It was
there to make sure that there is enough room for the 'add new question'
dropdown. But it's not needed anymore (hasn't been since long time ago).
2023-07-02 00:41:22 +10:00
Paul Holden
390d1c9c02
MDL-78564 mod_assign: ensure submission statement is present.
Don't require acceptance of statement, if no such statements exists,
during assignment submission.
2023-06-30 14:19:56 +01:00
Jun Pataleta
88e8e0a5ca
MDL-78542 mod_url: clicktoopen lang string fix
- Improve the grammatical structure of the lang string.
- Remove the mention of "link", for sighted users, it should already
be obvious that it's a link. For screen reader users, screen readers
already announce links. So it would be confusing for them to hear
something like "Click 'Moodle.org, link' link to open resource"
2023-06-30 17:26:57 +08:00
Jun Pataleta
e8b3a7e766
MDL-78542 mod_url: Add a help text for URL resource name field
Add a help text explaining that the URL resource's name field will be
used for the link text. Also add basic guidelines about naming links for
the benefit of screen reader users.
2023-06-30 17:26:44 +08:00
Jun Pataleta
8d8af19af0
MDL-78542 mod_url: Use the module name for the URL resource's link text 2023-06-30 17:26:44 +08:00
Jun Pataleta
bc78914b30
MDL-77690 mod_lesson: Lesson accessibility fixes
* Set the heading levels of lesson pages appropriately to avoid skipped
heading issues.
* Add appropriate labels for tertiary navigation select menus.
2023-06-30 17:00:38 +08:00
Jun Pataleta
08cb2fea89
Merge branch 'MDL-78068-master' of https://github.com/laurentdavid/moodle 2023-06-30 16:42:43 +08:00
Shamim Rezaie
3210652dee MDL-77375 mod_forum: set boundary of the dropdown
Also removed the unnecessary button role from the <button> element
2023-06-30 11:25:04 +10:00
Shamim Rezaie
23d3191684 MDL-77375 mod_assign: set overflow constraint boundary of the dropdowns 2023-06-30 11:25:04 +10:00
Rodrigo Mady
a75e81e6cf MDL-77055 mod_scorm: Add SCORM options to get_scorms_by_courses WS 2023-06-29 15:16:01 -03:00
Philipp Memmel
cf2c91dae2 MDL-40084 mod_data: Add file import support
Co-authored-by: Stefan Hanauska <stefan.hanauska@csg-in.de>
2023-06-29 19:18:15 +02:00
Philipp Memmel
e11b3867ae MDL-40084 mod_data: Harden picture conversion 2023-06-29 19:18:15 +02:00
Philipp Memmel
4003751163 MDL-40084 mod_data: Add file export support 2023-06-29 19:18:15 +02:00
Philipp Memmel
1296a2b868 MDL-40084 mod_data: Refactor importing data
Function data_import_csv has been deprecated.
2023-06-29 19:18:14 +02:00
Philipp Memmel
bdf02ec088 MDL-40084 mod_data: Refactor exporting data
Functions data_export_csv, data_export_ods, data_get_exportdata have been deprecated.
2023-06-29 19:18:14 +02:00
Philipp Memmel
ab09cf2b84 MDL-40084 mod_data: Remove xls export, deprecate data_export_xls 2023-06-29 19:18:14 +02:00
Jun Pataleta
a874a4fcdd
Merge branch 'MDL-77993' of https://github.com/paulholden/moodle 2023-06-29 11:27:51 +08:00
Jun Pataleta
bb59f98c81
Merge branch 'MDL-78432-master' of https://github.com/laurentdavid/moodle 2023-06-29 11:25:53 +08:00
Andrew Nicols
42c7c56c9f
Merge branch 'MDL-78018' of https://github.com/paulholden/moodle 2023-06-29 11:01:34 +08:00
Ilya Tregubov
c10e47b4be
Merge branch 'MDL-77286-master' of https://github.com/lameze/moodle 2023-06-29 09:45:20 +08:00
Dinesh Durai
bb57d1a266 MDL-77396 wiki: Fix print without background new 2023-06-27 18:10:12 +05:30