Commit graph

109898 commits

Author SHA1 Message Date
Jun Pataleta
71216a0b1d Merge branch 'MDL-78092-master' of https://github.com/sammarshallou/moodle 2023-06-01 11:36:44 +08:00
Ilya Tregubov
9d6e83274a
Merge branch 'MDL-78317-master' of https://github.com/andrewnicols/moodle 2023-06-01 11:17:31 +08:00
Andrew Nicols
74c7959f22
Merge branch 'master' of git.in.moodle.com:moodle/integration; branch 'MDL-78383' of https://github.com/jrchamp/moodle 2023-06-01 11:12:10 +08:00
Andrew Nicols
d60ce4c575
Merge branch 'MDL-78146-master' of https://github.com/meirzamoodle/moodle 2023-06-01 11:01:34 +08:00
Andrew Nicols
a1e6cc6747
Merge branch 'MDL-76397-master' of https://github.com/stevandoMoodle/moodle 2023-06-01 10:57:14 +08:00
Andrew Nicols
08dab39234
Merge branch 'MDL-78327' of https://github.com/timhunt/moodle 2023-06-01 10:52:22 +08:00
Ilya Tregubov
8ab87b3fc4
Merge branch 'MDL-78196-master' of https://github.com/jleyva/moodle 2023-06-01 10:39:30 +08:00
Andrew Nicols
8d1a2c960a
MDL-78019 core: Whitespace fixes 2023-06-01 10:20:06 +08:00
Andrew Nicols
e60843f355
Merge branch 'MDL-78019' of https://github.com/AnupamaSarjoshi/moodle 2023-06-01 10:14:18 +08:00
Ilya Tregubov
59cd47c02f
Merge branch 'MDL-62859' of https://github.com/paulholden/moodle 2023-06-01 10:12:14 +08:00
Andrew Nicols
64dbf7c1f2
Merge branch 'MDL-78142-master' of https://github.com/meirzamoodle/moodle 2023-06-01 09:51:22 +08:00
Ilya Tregubov
d0012c7e3f
Merge branch 'MDL-77259' of https://github.com/paulholden/moodle 2023-06-01 09:29:12 +08:00
Ilya Tregubov
e453be7198
Merge branch 'MDL-75961-master' of https://github.com/lameze/moodle 2023-06-01 09:07:27 +08:00
Ilya Tregubov
f245db464f
Merge branch 'MDL-71067' of https://github.com/paulholden/moodle 2023-06-01 08:55:36 +08:00
AMOS bot
331781c504 Automatically generated installer lang files 2023-06-01 00:11:09 +00:00
mkassaei
cc880cabf5 MDL-77564 Quiz display options: Hide or show the grade information
Allow settings to show Max marks and Marks, Max marks only, or hide the grade information completely.
2023-05-31 17:15:29 +01:00
Sara Arjona
9d158408ae Merge branch 'MDL-76693-master' of https://github.com/roland04/moodle 2023-05-31 17:08:50 +02:00
Safat
5fc1dedeae MDL-77357 communication_matrix: Implement dynamic form fields 2023-06-01 00:42:53 +10:00
Safat
982938fa04 MDL-77357 core_course: Api call for dynamic form fields 2023-06-01 00:39:03 +10:00
Safat
04b7c496f0 MDL-77357 core_communication: Add api for provider form fields 2023-06-01 00:39:03 +10:00
Simey Lameze
89b0b04333 MDL-77547 behat: run recalculate task before checking values 2023-05-31 15:04:54 +02:00
Sara Arjona
ca1996a013 Merge branch 'MDL-77547-master' of https://github.com/andelacruz/moodle 2023-05-31 12:51:13 +02:00
Sara Arjona
db4a3d9455 Merge branch 'MDL-77907-master' of https://github.com/andelacruz/moodle 2023-05-31 12:17:59 +02:00
Sara Arjona
6a27e5f8a7 Merge branch 'MDL-78145-master' of https://github.com/meirzamoodle/moodle 2023-05-31 12:09:17 +02:00
Sara Arjona
f0dd54e7fd Merge branch 'MDL-78148-master' of https://github.com/ferranrecio/moodle 2023-05-31 11:42:07 +02:00
Tim Hunt
ddd1ce66fd MDL-78327 question stats: store same timestamp for all question stats 2023-05-31 10:41:34 +01:00
Sara Arjona
1cbd91fe47 Merge branch 'MDL-73648' of https://github.com/paulholden/moodle 2023-05-31 11:38:04 +02:00
Ilya Tregubov
b85df60331
Merge branch 'MDL-77654-master' of https://github.com/HuongNV13/moodle 2023-05-31 14:28:38 +08:00
Ilya Tregubov
accddabca3
Merge branch 'MDL-77168-master' of https://github.com/andrewnicols/moodle 2023-05-31 10:22:02 +08:00
Jonathan Champ
e32cf94b9b MDL-78383 cache: Remove unused class property configlockmappings 2023-05-30 19:46:03 -04:00
Ilya Tregubov
9bc2c51e4a
Merge branch 'MDL-73138' of https://github.com/paulholden/moodle 2023-05-30 12:53:47 +08:00
Ilya Tregubov
88f0bd7675
Merge branch 'MDL-77723' of https://github.com/paulholden/moodle 2023-05-30 12:43:53 +08:00
AMOS bot
fb770828cc Automatically generated installer lang files 2023-05-30 00:10:43 +00:00
Jun Pataleta
3dfd0b73fe Merge branch 'MDL-78314-master' of https://github.com/lucaboesch/moodle 2023-05-29 17:35:26 +08:00
Jun Pataleta
c0bca499df Merge branch 'MDL-78266-master' of https://github.com/andrewnicols/moodle 2023-05-29 17:16:03 +08:00
Mikel Martín
ab66e73a5b MDL-76693 core_course: Fix activity chooser summary overlap
In activity chooser modal, there is an overlap issue in the information "sub-page".
Changing some classes in the layout solves the problem.
2023-05-29 09:43:39 +02:00
Ferran Recio
0eaaf40f10 MDL-78175 output: new paragraph renderer method
Many main php files still uses html_writer('p...) to render a simple
paragraphs below or under other elements like forms. In many cases those
texts could be part of a template but there are may scenarios were
creating a full template for a simple paragraph is too much. However,
the html_writer is too limiting as plugins cannot provide their own
implementation. This new method in the renderer is a good in between
solution.
2023-05-29 09:26:04 +02:00
Ferran Recio
0ad8fd077c MDL-78175 course: move role renaming to participants 2023-05-29 09:25:18 +02:00
Ferran Recio
268e82b005 MDL-77814 core_xapi: add itemid check to state store
The xAPI state standard allow any type of activity ID, not only
integers. However, the default state store uses itemid to identify the
component instance so the activity id is limited to numerics. The store
base calls should use string as activityid as this is how xAPI specs
describe it. However, if a plugin want to use non numeric activity ids
it must implement it's own state store.
2023-05-29 08:57:24 +02:00
Ferran Recio
c07bbf8d76 MDL-78148 core_courseformat: reduce the use of uniqid in templates 2023-05-29 08:38:40 +02:00
Jun Pataleta
fb3ab6ae94 Merge branch 'MDL-77532' of https://github.com/paulholden/moodle 2023-05-29 11:09:49 +08:00
Jun Pataleta
42f930ecf0 Merge branch 'MDL-76471' of https://github.com/paulholden/moodle 2023-05-29 11:08:13 +08:00
Angelia Dela Cruz
c95ef35b60 MDL-70152 behat: Forum behat generators use UI
Behat cleanup and optimisation
2023-05-29 10:32:20 +08:00
Angelia Dela Cruz
640db57c0e MDL-70152 behat: Forum behat generators use UI
Replace steps that manually add forum and forum post instances
via the UI and use Behat generators. This improves the speed of
Behat test runs.
2023-05-29 10:32:12 +08:00
Andrew Nicols
505940f91e MDL-70152 forum: Create behat data generator
* Convert track_read_posts.feature to use activity and discussion
data generators as exmaple.

Co-authored-by: Jun Pataleta <jun@moodle.com>
2023-05-29 10:32:11 +08:00
Huong Nguyen
8c03232b02
MDL-77654 Libraries: Upgrade ogv.js tech plugin for VideoJS to 0.2.1 2023-05-29 09:30:07 +07:00
Meirza
6be248016f MDL-76673 atto: Check color contrast only on elements that have text
If the content in Atto is wrapped by an element with only a background color, without text color,
the accessibility checker will use the parent text-color as the foreground color, which is owned by form-control,
it becomes a problem if the wrapped element background using #34274f and the parent text-color is #495057 then
the low contrast as a result.

To avoid such a situation, the patch will only calculate color contrast if only the element has text,
so it will give results per element if the accessibility checker is unsatisfied.
2023-05-27 13:56:18 +07:00
Meirza
ff22a6e221 MDL-76673 tiny: Check color contrast only on elements that have text
If the content in Tiny is wrapped by an element with only a background color, without text color,
the accessibility checker will use the parent text-color as the foreground color, which is owned by form-control,
it becomes a problem if the wrapped element background using #34274f and the parent text-color is #495057 then
the low contrast as a result.

To avoid such a situation, the patch will only calculate color contrast if only the element has text,
so it will give results per element if the accessibility checker is unsatisfied.

The patch also changes the selected element from 'body > *' to 'body *',
so it will return all elements (parents and children) in the content instead of parents only.

And minor modifications on the warning_content.mustache to fix the numbering format.
2023-05-27 13:56:18 +07:00
Meirza
4c2d560fc7 MDL-78146 lib: Added missing class properties in phpmailer
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-05-27 11:25:38 +07:00
Meirza
928b300bc7 MDL-78145 lib: Added missing class properties in pear
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-05-27 11:11:12 +07:00