Jun Pataleta
ee91c6536f
Moodle release 4.4
2024-04-20 15:58:15 +08:00
Huong Nguyen
7cbed34833
Moodle release 4.4rc2
2024-04-19 17:06:31 +07:00
Jun Pataleta
94f5e7e66f
Merge branch 'MDL-81584-main' of https://github.com/mihailges/moodle
2024-04-19 11:03:19 +08:00
Huong Nguyen
c021a83998
Merge branch 'MDL-81595-main' of https://github.com/safatshahin/moodle
2024-04-19 09:48:56 +07:00
Huong Nguyen
56ea31a508
Merge branch 'MDL-81553' of https://github.com/aolley/moodle
2024-04-18 22:36:20 +07:00
Safat
f070a165e3
MDL-81595 core_communication: Fix provider switching active flag update
2024-04-18 22:21:00 +10:00
Mihail Geshoski
907a7c5786
MDL-81584 gradereport_grader: Pin the last row only when necessary
...
Fixes the current behavior where the last row in the grader report is
always 'pinned', ensuring it is pinned only when necessary.
2024-04-18 16:06:28 +08:00
Sara Arjona
9cec6a933c
Merge branch 'MDL-81591' of https://github.com/stronk7/moodle
2024-04-18 08:27:37 +02:00
Huong Nguyen
978f3d42e5
Merge branch 'MDL-81512-main' of https://github.com/mickhawkins/moodle
2024-04-18 09:26:36 +07:00
Eloy Lafuente (stronk7)
aa53092e4a
MDL-81591 composer: Reconcile the lock file with json contents
2024-04-17 18:33:59 +02:00
Jun Pataleta
9966241efb
Merge branch 'MDL-81525-main' of https://github.com/andrewnicols/moodle
2024-04-17 23:42:22 +08:00
Jun Pataleta
9e2a8c6945
Merge branch 'MDL-81574-main' of https://github.com/ilyatregubov/moodle
2024-04-17 16:36:33 +08:00
Laurent David
ba9b291c03
MDL-81267 mod_data: Additional tests
2024-04-17 10:33:08 +02:00
Laurent David
ffa045e099
MDL-81267 mod_data: Clean field type before inclusion
...
* Filter out wrong field types when restoring or creating a field.
2024-04-17 10:33:08 +02:00
Ilya Tregubov
603a648d0a
MDL-81574 mod_forum: Fix deprecated usage of format_text
2024-04-17 15:48:14 +08:00
Paul Holden
dadffe8989
MDL-80878 tool_mfa: safely retrieve the referrer URL.
2024-04-17 03:44:22 +00:00
Stevani Andolo
66da939499
MDL-81354 core: Escape string of fullname
2024-04-17 03:44:22 +00:00
Paul Holden
f739ebe6db
MDL-81463 auth: ensure login recaptcha always checked if configured.
2024-04-17 03:44:22 +00:00
Paul Holden
4c966677de
MDL-81062 mod_lesson: escape identity fields in overview report.
2024-04-17 03:44:22 +00:00
Paul Holden
e870bc01fc
MDL-80712 mod_workshop: stricter cleaning of sub-plugin values.
2024-04-17 03:44:22 +00:00
Paul Holden
03e93da556
MDL-81058 admin: fix sesskey checks for admin preset actions.
2024-04-17 03:44:22 +00:00
Paul Holden
498a766263
MDL-81059 tool_analytics: fix sesskey checks for model actions.
2024-04-17 03:44:22 +00:00
Laurent David
d5a99b1f33
MDL-81284 mod_wiki: Add stricter cleaning of contentformat
...
* When restoring backup we clean the contentformat and defaultformat
to avoid issue with invalid value.
* Add tests for format and defaultformat so to check that we
filter out invalid formats
* Remove private $basepath variable as it was used one and not always
initialised correctly.
2024-04-17 03:44:22 +00:00
meirzamoodle
25b1b643c8
MDL-81352 filter: Ensure equation safety prior to filtering
2024-04-17 03:44:22 +00:00
Paul Holden
5a18d94dcb
MDL-81135 mod_feedback: stricter cleaning of item type parameter.
2024-04-17 03:44:22 +00:00
Huong Nguyen
d1514be1bc
MDL-81247 calendar: Extra validation for webservices
2024-04-17 03:44:21 +00:00
Paul Holden
ab817ef330
MDL-80877 tool_mfa: protect logout process with sesskey check.
2024-04-17 03:44:21 +00:00
Paul Holden
53e8a62003
MDL-81247 calendar: freeze event type if "user" only allowed.
2024-04-17 03:44:21 +00:00
Leon Stringer
cd85e090f3
MDL-80585 report_log: sanitize descriptions
...
Strip any HTML tags from values in the "Description" column.
2024-04-17 03:44:21 +00:00
Huong Nguyen
8e682899cc
Merge branch 'MDL-81549-main' of https://github.com/junpataleta/moodle
2024-04-17 10:33:28 +07:00
Huong Nguyen
e566c520de
Merge branch 'MDL-81552-main' of https://github.com/junpataleta/moodle
2024-04-17 10:13:15 +07:00
Ilya Tregubov
053506035a
Merge branch 'MDL-81569' of https://github.com/marinaglancy/moodle
2024-04-17 11:11:21 +08:00
Jun Pataleta
2e13c434b9
MDL-81549 qtype_ordering: Remove $plugin->requires reference to 3.11
2024-04-17 00:17:01 +08:00
Jun Pataleta
4c233afa6a
MDL-81549 versions: Main version bump
2024-04-17 00:17:01 +08:00
Jun Pataleta
a180dba314
MDL-81549 versions: bump all versions and requires near release
2024-04-17 00:03:29 +08:00
Sara Arjona
b276772f25
Merge branch 'MDL-81556-main' of https://github.com/junpataleta/moodle
2024-04-16 16:58:32 +02:00
Marina Glancy
f78de9e614
MDL-81569 tool_uploadcourse: unittests - custom plugins may add roles
2024-04-16 15:43:27 +01:00
Marina Glancy
cad4c4a9ab
MDL-81569 repository_equela: do not hardcode list of roles in tests
2024-04-16 15:13:43 +01:00
raortegar
40aed04ae1
MDL-81512 core_theme: Use admin_settingpage for theme settings
...
This also moves any theme settings pages to the themes category instead
of "appearance", so they remain where expected, and avoids adding to
that section if the theme is hidden (so if there are no custom theme
settings, that section will not appear on the page).
Co-authored-by: Michael Hawkins <michaelh@moodle.com >
2024-04-16 17:43:46 +08:00
raortegar
57df4a1dbb
MDL-81512 core_theme: Reinstate theme category as custom theme settings
2024-04-16 17:43:46 +08:00
Ilya Tregubov
b798633ae0
Moodle release 4.4rc1
2024-04-16 17:14:27 +08:00
Jun Pataleta
e69f1b21dc
MDL-81556 core: Fix parameter ordering for prefetchString()
2024-04-16 17:05:23 +08:00
Jun Pataleta
548796db50
MDL-81556 tiny_media: Remove unnecessary labels
...
* Remove usage of label tags that are not associated with any
form elements.
* Remove setting of title for the label tags. This is not necessary
as the title text is the same as the text showed in the label.
2024-04-16 17:05:22 +08:00
Jun Pataleta
561d48da39
MDL-81552 core: Assign proper webdav_client class variables
2024-04-16 12:54:00 +08:00
Huong Nguyen
7cb20672a7
MDL-81238 quiz: Fix maximum grade alignment
2024-04-16 10:18:33 +07:00
Huong Nguyen
272dd474f9
Merge branch 'MDL-81238-main' of https://github.com/lucaboesch/moodle
2024-04-16 10:16:27 +07:00
Jun Pataleta
9f081d8328
Merge branch 'MDL-80426-main-2' of https://github.com/rezaies/moodle
2024-04-16 11:07:06 +08:00
Adam Olley
4fa4bb7f72
MDL-81553 phpunit: Move controller->destroy() to after its needed
...
We need to cleanup the controller _after_ we're using the step related
to it. Destroying it before reintroduces the original issue from
MDL-80553.
2024-04-16 11:50:14 +09:30
Andrew Nicols
40e9fa2863
MDL-81525 core: Update column name for replaced hooks
2024-04-15 21:11:30 +08:00
Shamim Rezaie
b32617e346
MDL-80426 qtype_ordering: An announcement region to announce reorders
2024-04-15 20:07:11 +10:00
Shamim Rezaie
eccfb73839
MDL-80426 qtype_ordering: Remove the unintuitive keyboard handling code
...
Users can now rearrange options using the move buttons that each option
have, therefore there is no need for the current unintuitive keyboard
interaction implementation in the ordering question type plugin.
2024-04-15 20:07:11 +10:00
Shamim Rezaie
84034c62f0
MDL-80426 qtype_ordering: Move options by single pointer
...
Each option has a couple of buttons to move the option's position. This
allows moving options by single pointer without dragging to address WCAG
Success Criterion 2.5.7.
Having the buttons also addresses WCAG Success Criterion 2.1.1 as it
provides an intuitive way to move options using keyboard.
2024-04-15 20:07:11 +10:00
Andrew Nicols
b8d4d3ff94
MDL-81525 tool_mfa: Coding style fixups
2024-04-15 13:05:12 +08:00
Andrew Nicols
0428b0ed52
MDL-81525 tool_mfa: Add missing user tag to hook
2024-04-15 13:05:12 +08:00
Andrew Nicols
532be67b73
MDL-81525 mod_quiz: Add missing docs
2024-04-15 13:05:11 +08:00
Andrew Nicols
ae48b9525a
MDL-81525 core_group: Hook style fixes
2024-04-15 13:05:11 +08:00
Andrew Nicols
d8b1156e5b
MDL-81525 core_user: Add missing docs
2024-04-15 13:05:11 +08:00
Andrew Nicols
b32fb636c5
MDL-81525 core_user: Use stoppable trait for consistency
2024-04-15 13:05:10 +08:00
Andrew Nicols
6db4285eaa
MDL-81525 core_user: Move after_complete_login to correct NS
2024-04-15 13:05:10 +08:00
Andrew Nicols
27a6eb0126
MDL-81525 coer_enrol: Use stoppable trait for consistency
2024-04-15 13:05:10 +08:00
Andrew Nicols
d602b7d3e3
MDL-81525 core_enrol: Add missing docs
2024-04-15 13:05:10 +08:00
Andrew Nicols
a3036b79e1
MDL-81525 core_enrol: Add missing user tag to hook
2024-04-15 13:05:10 +08:00
Andrew Nicols
a7aedc7c2f
MDL-81525 core_enrol: Correct hook name tense
2024-04-15 13:05:09 +08:00
Andrew Nicols
d2dddb715d
MDL-81525 core_communication: Correct hook name tense
2024-04-15 13:05:09 +08:00
Andrew Nicols
93619ca6ac
MDL-81525 core_course: Add missing docs
2024-04-15 13:05:09 +08:00
Andrew Nicols
4d12330d4b
MDL-81525 core_course: Use stoppable trait for consistency
2024-04-15 13:05:09 +08:00
Andrew Nicols
fd63e35dd1
MDL-81525 core_course: Correct hook name tense
2024-04-15 13:05:08 +08:00
Andrew Nicols
eb2c2117a0
MDL-81525 core: Improve hook docs
2024-04-15 13:05:08 +08:00
Andrew Nicols
613f933442
Merge branch 'MDL-80820' of https://github.com/marinaglancy/moodle
2024-04-15 10:42:22 +08:00
Luca Bösch
444a1acf63
MDL-81238 mod_data: Align search form with BS5 correctly again.
2024-04-14 20:26:51 +02:00
Luca Bösch
a3a9a48374
MDL-81238 quiz: Align maximum grade with BS5 correctly again.
2024-04-14 20:26:51 +02:00
Andrew Nicols
8be87eb633
MDL-81525 core: Coding style fixes
2024-04-14 21:49:33 +08:00
Andrew Nicols
6b0793d480
MDL-81525 core: Correct deprecated hook docs
2024-04-14 21:44:07 +08:00
Andrew Nicols
1e36531d0d
MDL-81525 core: Tidy up hook tags
2024-04-14 14:45:09 +08:00
Sara Arjona
8cf14f6e70
Moodle release 4.4beta
2024-04-12 13:23:54 +02:00
Huong Nguyen
cc7763b59f
Merge branch 'MDL-77015' of https://github.com/paulholden/moodle
2024-04-12 11:45:40 +07:00
Jun Pataleta
3856addfdd
Merge branch 'MDL-67667-main' of https://github.com/andrewnicols/moodle
2024-04-12 12:41:39 +08:00
Andrew Nicols
6f1df841f7
MDL-67667 core: Deprecate and removal task blocking
...
There are inherent issues with task blocking which mean that it has
never worked properly. It is also very buggy and can lead to massive
performance issues with task processing.
It is almost impossible to deprecate this in a staged fashion because
various APIs use the methods and it is not possible to determine which
are API uses and which are other valid uses.
In reality there has been little-to-no uptake on the use of this feature
and it should just be removed.
2024-04-12 12:34:20 +08:00
Andrew Nicols
a1b0fe9b9c
MDL-67667 core: Deprecate task blocking
2024-04-12 12:15:44 +08:00
Shamim Rezaie
e370220f37
Merge branch 'MDL-81500-main' of https://github.com/mihailges/moodle
2024-04-12 14:12:50 +10:00
Huong Nguyen
f9871d914a
Merge branch 'MDL-65381-master' of https://github.com/jleyva/moodle
2024-04-12 11:11:04 +07:00
Andrew Nicols
8acda4e048
Merge branch 'MDL-70829-main' of https://github.com/junpataleta/moodle
2024-04-12 11:58:32 +08:00
Huong Nguyen
b9ddcba44c
MDL-79174 availability: Behat cleanups
2024-04-12 10:56:13 +07:00
Huong Nguyen
b5cf1ff886
Merge branch 'MDL-79174_master' of https://github.com/marxjohnson/moodle
2024-04-12 10:54:54 +07:00
Andrew Nicols
601ef0f72d
Merge branch 'MDL-81192_main' of https://github.com/marxjohnson/moodle
2024-04-12 11:48:06 +08:00
Jun Pataleta
1c4f896883
MDL-70829 output: Remove the presentation role for html_writer::img()
...
* A presentation role is not necessary for the img tag.
- If a non-empty alt text is provided, the presentation role will
conflict with the alt text.
- An empty alt text denotes a decorative image. The presence of a
presentation role is redundant.
* Make sure that the alt text is set to an empty string. Otherwise,
an img tag without an alt attribute will be produced which is an
invalid markup.
2024-04-12 11:44:22 +08:00
Ilya Tregubov
da1528c1f6
Merge branch 'MDL-80638-main' of https://github.com/laurentdavid/moodle
2024-04-12 11:29:16 +08:00
Jun Pataleta
371f59c20b
MDL-70829 core: Set the icon of action icons as a decorative image
...
* When text is rendered for the action icon, set the icon as a
decorative image by setting empty alt and title attributes and adding
the aria-hidden attribute as well. Otherwise, assistive technologies
will read the action name twice.
2024-04-12 11:21:03 +08:00
Jun Pataleta
f17285be09
MDL-70829 block_recentlyaccesseditems: Move listitem role out of <a>
...
* Axe DevTools flags an error on the recently accessed items block that
the listitem role is not allowed for <a> tags. This is because the
"listitem" role will override the native semantic meaning of the course
links. So the solution is to move the course links within a <div> tag
with the listitem role instead.
2024-04-12 11:21:03 +08:00
Jun Pataleta
da52f35637
MDL-70829 tool_lp: Add empty alt text for decorative image
...
* The decorative image for the course modules in the user competency
summary modal is missing an empty alt text.
2024-04-12 11:21:03 +08:00
Jun Pataleta
49a37d198e
MDL-70829 theme_boost: Make context header icons decorative
...
The non-empty alt text for the icons of the context header buttons like
the "Message" and the "Add contact" buttons cause redundant information
to be read twice by screen readers when the buttons are rendered with
the icon and the button name. The icons need to be set as decorative by
setting an empty alt text for them.
* The presentation role is also unnecessary.
* The alt text is needed when the button gets rendered without the
button name text.
2024-04-12 11:21:03 +08:00
Andrew Nicols
dbb8155b15
Merge branch 'MDL-78902' of https://github.com/timhunt/moodle
2024-04-12 11:18:28 +08:00
Huong Nguyen
9bb1463024
Merge branch 'MDL-81320' of https://github.com/paulholden/moodle
2024-04-12 10:11:12 +07:00
Jun Pataleta
b353535c0e
MDL-70829 core_search: Mark up decorative image properly
...
* An empty alt text is enough for decorative images. There's no need
to set a presentation role.
2024-04-12 10:42:11 +08:00
Jun Pataleta
0234499035
MDL-70829 enrol_manual: Mark up decorative image properly
...
* An empty alt text is enough for decorative images. There's no need
to set a presentation role.
2024-04-12 10:42:11 +08:00
Jun Pataleta
013d68a7ad
MDL-70829 mod_workshop: Mark up decorative images properly
...
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
2024-04-12 10:42:11 +08:00
Jun Pataleta
020756e0f1
MDL-70829 mod_quiz: Mark up decorative images properly
...
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes
2024-04-12 10:42:11 +08:00
Jun Pataleta
04ec43be5e
MDL-70829 mod_data: Mark up decorative images properly
...
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes
2024-04-12 10:42:10 +08:00
Jun Pataleta
91837d0553
MDL-70829 course: Mark up decorative images properly
...
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes:
- block_starredcourses uses the core_course/no-courses template
- core_completion tests changes in core_course/activity instance and
core_course/editdefaultcompletion
2024-04-12 10:42:10 +08:00
Jun Pataleta
eb38033024
MDL-70829 block_recentlyaccesseditems: Mark up decorative image properly
...
* The zero state image is purely decorative so there's no need to
set a non-empty alt text for it.
* The presentation role is also unnecessary for decorative image with
empty alt.
* Accessibility Behat tests added to cover changes
2024-04-12 10:42:10 +08:00
Jun Pataleta
cfcf79499b
MDL-70829 block_myoverview: Mark up decorative image properly
...
* The zero state image is purely decorative so there's no need to
set a non-empty alt text for it.
* The presentation role is also unnecessary for decorative image with
empty alt.
* Accessibility Behat tests added to cover changes
2024-04-12 10:42:10 +08:00
Jun Pataleta
31b4e4c7a0
MDL-70829 tool_lp: Remove presentation role for decorative images
...
* Behat tests in report_competency added to test the user summary
display in the user competency summary modal.
2024-04-12 10:42:10 +08:00
Jun Pataleta
5289581d06
MDL-70829 core: Remove presentation role for decorative images
...
* An image with non-empty alt text should not have a presentation role.
* An empty alt attribute is sufficient for decorative images. No need to
add a presentation role for them.
* Additionally, if there is already text that is present for an image,
there's no need to add an alt text with the same text. Such images are
decorative and should just have an empty alt text.
2024-04-12 10:42:09 +08:00
Huong Nguyen
eea6ff96e0
Merge branch 'MDL-81256' of https://github.com/marinaglancy/moodle
2024-04-12 08:58:03 +07:00
Shamim Rezaie
363c593cbb
Merge branch 'MDL-81306-main' of https://github.com/andrewnicols/moodle
2024-04-12 11:45:25 +10:00
Huong Nguyen
64780d8f4c
Merge branch 'MDL-81316-main' of https://github.com/andrewnicols/moodle
2024-04-12 08:36:29 +07:00
Huong Nguyen
c9a26138a2
Merge branch 'MDL-81420-main' of https://github.com/sarjona/moodle
2024-04-12 08:33:47 +07:00
Andrew Nicols
1d25d54e2c
Merge branch 'MDL-74610-mysql-fix' of https://github.com/timhunt/moodle
2024-04-12 08:57:17 +08:00
Ilya Tregubov
1addf36711
Merge branch 'MDL-80160-main-siteadminsconfigphp' of https://github.com/mudrd8mz/moodle
2024-04-12 08:47:59 +08:00
Shamim Rezaie
3b1874aba7
Merge branch 'MDL-81482' of https://github.com/AnupamaSarjoshi/moodle
2024-04-12 09:30:38 +10:00
Shamim Rezaie
54561aacec
Merge branch 'MDL-80203-main' of https://github.com/sarjona/moodle
2024-04-12 09:23:05 +10:00
Tomo Tsuyuki
f119c5a3fe
MDL-78902 quiz restore: fix restore of 3.x backups with random questions
...
... where the random questions come from the quiz module context.
Co-authored-by: Tim Hunt <T.J.Hunt@open.ac.uk >
2024-04-11 22:09:28 +01:00
Sara Arjona
efe4caa8b2
Merge branch 'MDL-81472' of https://github.com/paulholden/moodle
2024-04-11 17:35:38 +02:00
Andrew Nicols
d26c40db26
Merge branch 'MDL-81114' of https://github.com/timhunt/moodle
2024-04-11 23:25:22 +08:00
Tim Hunt
ee80a41dd5
MDL-74610 quiz: fix grade items query for MySQL
2024-04-11 13:55:19 +01:00
Sara Arjona
54960f8e15
Merge branch 'MDL-81383' of https://github.com/timhunt/moodle
2024-04-11 12:49:29 +02:00
Tim Hunt
0b8c6bd64d
MDL-81383 questions: get_filtered_questions order should be predictable
...
This method supports $limit and $offset paramters. The query must have
a predictable ORDER BY for that to make sense.
2024-04-11 10:25:50 +01:00
Sara Arjona
e8aee4a120
Merge branch 'MDL-80195' of https://github.com/pedrojordao/moodle
2024-04-11 11:03:21 +02:00
Mihail Geshoski
5c970e790e
MDL-81500 tool_lp: Fix misaligned search button in competency picker
2024-04-11 16:43:09 +08:00
Mark Johnson
337a0ee705
MDL-81192 sessions: Prevent false positive session change errors
...
If $CFG->enable_read_only_sessions_debug was not enabled, debugging could be
enabled part-way through a request when restart_with_write_lock was
called. This meant that a diff between the initial and final session
would be made during write_close(), although the intial session state
was never captured. This generated false positives in the logs, and it
thought any variable set in the session was a change from the original
value.
This ensures that debugging is enabled before the debug flag is allowed
to change, preventing false positives.
2024-04-11 08:55:11 +01:00
Ilya Tregubov
c9eab29d37
Merge branch 'MDL-81480-main' of https://github.com/meirzamoodle/moodle
2024-04-11 15:48:07 +08:00
Andrew Nicols
64aedb9b24
MDL-77967 core_user: Coding style fixes in tests
2024-04-11 14:00:46 +08:00
Andrew Nicols
b64dff686e
Merge branch 'MDL-77967-main' of https://github.com/rmady/moodle
2024-04-11 13:56:54 +08:00
Huong Nguyen
3ec5b464d2
Merge branch 'MDL-81362-master' of https://github.com/ssj365/moodle
2024-04-11 12:49:32 +08:00
Huong Nguyen
7e2da937d5
Merge branch 'MDL-81327-main' of https://github.com/laurentdavid/moodle
2024-04-11 12:49:32 +08:00
Andrew Nicols
4c4594e2ac
Merge branch 'MDL-81227' of https://github.com/timhunt/moodle
2024-04-11 12:49:31 +08:00
Andrew Nicols
1ec7174072
MDL-80985 core: Whitespace fixes
2024-04-11 12:49:27 +08:00
Andrew Nicols
5c16854483
Merge branch 'MDL-80985-add-purge-course-caches-option-main' of https://github.com/jwcatau/moodle
2024-04-11 10:41:13 +08:00
Ilya Tregubov
160277d17c
Merge branch 'MDL-81491-main' of https://github.com/snake/moodle
2024-04-11 09:52:04 +08:00
Huong Nguyen
ef2b329fef
Merge branch 'MDL-81476-main' of https://github.com/stevandoMoodle/moodle
2024-04-11 08:50:30 +07:00
Ilya Tregubov
dd364a04a0
Merge branch 'MDL-81494-main' of https://github.com/HuongNV13/moodle
2024-04-11 09:19:54 +08:00
Shamiso.Jaravaza
b4f9582938
MDL-81362 mod_bigbluebuttonbn: Fix content type
2024-04-10 12:12:00 -06:00
Sara Arjona
c42ca73e11
Merge branch 'MDL-74977-main' of https://github.com/HuongNV13/moodle
2024-04-10 15:50:50 +02:00
Paul Holden
17fd4fe8f5
Merge branch 'MDL-81489' of https://github.com/lostrogit/moodle into main
2024-04-10 14:03:10 +01:00
Paul Holden
ea81c5457d
Merge branch 'MDL-81488' of https://github.com/dravek/moodle into main
2024-04-10 13:57:09 +01:00
Huong Nguyen
6d40f11806
MDL-74977 core_courseformat: add expanded section update actions
...
This also fix the Random "Course content preferences" Behat failure
2024-04-10 18:11:00 +07:00
meirzamoodle
c9cb89323c
MDL-81480 core: Sets user-level session storage functions
...
Also added @runInSeparateProcess on each session Redis cluster test to let the test run
in a separate process to avoid the error "the headers are not already sent" by PHPUnit.
2024-04-10 17:27:20 +07:00
Sara Arjona
fa7eece0f3
Merge branch 'MDL-80633-main' of https://github.com/laurentdavid/moodle
2024-04-10 12:21:41 +02:00
Huong Nguyen
6012fa0af6
MDL-81494 adhoc_task: Added missing space for query condition
2024-04-10 17:15:55 +07:00
Sara Arjona
0ea5aee08a
Merge branch 'MDL-81458-main-1' of https://github.com/mihailges/moodle
2024-04-10 12:12:55 +02:00
Jake Dallimore
1826c5e1d4
MDL-81491 enrol_lti: fix incorrect login_hint parameter type validation
...
This was always bad, but since we only used it to verify the existence
of the param, and let library code take $_REQUEST for the real
validation, it was ok. Now, since we're redirecting to self during
necessary cookie checks added by MDL-80835, we lose the real value
originally stored in $_REQUEST. This patch just fixes the param type,
setting it to raw, which is what it should have used originally. The
raw value won't be cast from a string to an int as part of the
require_param call, so the value won't be lost any more.
2024-04-10 17:41:50 +08:00
Carlos Castillo
92211f291f
MDL-81489 reportbuilder: Optional tags when create/update reports
...
Make tags property optional when create/update report.
2024-04-10 10:17:22 +02:00
David Carrillo
45d366d463
MDL-81488 reportbuilder: Fix incorrect string in report number filter
2024-04-10 09:23:10 +02:00
Laurent David
45816d40b2
MDL-80633 lib: Modify moodle files after codemirror upgrade
2024-04-10 09:22:45 +02:00
Laurent David
e37bd90064
MDL-80633 lib: Upgrade beautify to 1.15.1
2024-04-10 09:22:45 +02:00
Huong Nguyen
ca449af186
Merge branch 'MDL-81351-main-enfix' of https://github.com/mudrd8mz/moodle
2024-04-10 13:54:56 +07:00
Ilya Tregubov
a7d9658d55
Merge branch 'MDL-81063-main' of https://github.com/andrewnicols/moodle
2024-04-10 14:30:31 +08:00
Andrew Nicols
dd94dea8c2
MDL-81063 tool_usertours: Allow hooks to manage usertour filters
...
Two new hooks are introduced to allow plugins to add their own user tour
filters.
Separate hooks are identified for both clientside, and serverside
filters.
2024-04-10 12:41:32 +08:00
Andrew Nicols
dae36f6cfa
MDL-81063 core: Add helper to get component name from classname
2024-04-10 12:41:31 +08:00
Andrew Nicols
29fc61c2a5
MDL-81063 core: Add option to get core in list of components
2024-04-10 12:41:31 +08:00
Huong Nguyen
27ada55bab
Merge branch 'MDL-81391-main' of https://github.com/davewoloszyn/moodle
2024-04-10 11:30:51 +07:00
Huong Nguyen
dbc6a5798f
Merge branch 'MDL-81182' of https://github.com/aolley/moodle
2024-04-10 11:24:02 +07:00
Huong Nguyen
7f3c0f2d31
Merge branch 'MDL-81459-main' of https://github.com/andrewnicols/moodle
2024-04-10 08:53:20 +07:00
Anupama Sarjoshi
6f0fde1fe3
MDL-81482 Questions: Fix questionlib_test PHPUnit tests
2024-04-09 16:43:07 +01:00
Mihail Geshoski
4b1dfe6a40
MDL-81458 qtype_ordering: Address failing unit tests
...
Fixes the failing unit tests in the ordering question type by
implementing the following adjustments and corrections:
- Ensure the missing required files are imported in
questionhint_test.php and questiontype_test.php.
- Modify the expected fraction values in testexport.moodle.xml to
accurately reflect the recent changes, specifically the type
casting of the fraction value stored for each answer into the
question object.
- Reorder the items in the answers array within the failing scenario
in specific_grade_detail_feedback_test.php to guarantee that, in
accordance with the randomly generated subset of correct answers,
the question attempt will consistently be incorrect as required.
- Pass the answer codes in the order of the defined response when
calling the process_submission() function in feedback_test.php
to ensure the response in the current question attempt is properly
set, rather than relying on random generation of the response which
may result in random test failures.
2024-04-09 23:18:14 +08:00
Mihail Geshoski
72e9a1bbd9
MDL-81458 question: Cast the fraction value to a float
...
When retrieving the answer data from the database, it's essential to
cast the value of the answer's fraction to a float before storing it
into the question object. This step is crucial for ensuring consistency,
as some database engines return floats as strings like '1.0000000'.
2024-04-09 23:18:14 +08:00
Andrew Nicols
99de5dae2b
Merge branch 'MDL-74610' of https://github.com/timhunt/moodle
2024-04-09 22:23:03 +08:00
Sara Arjona
d84f466062
Merge branch 'MDL-81307-main' of https://github.com/roland04/moodle
2024-04-09 16:18:26 +02:00
Tim Hunt
d55e486a7e
MDL-74610 quiz: multiple grades - UI improvements
2024-04-09 15:11:45 +01:00
Tim Hunt
2ad60df93d
MDL-74610 quiz: multiple grades - summarise feature in upgrade.txt
2024-04-09 15:11:44 +01:00
Tim Hunt
0b7805199f
MDL-74610 quiz: add extra grades to web services the mobile app uses
2024-04-09 15:11:44 +01:00
Tim Hunt
e6e427073c
MDL-74610 quiz: multiple grades - fix display on quiz intro page
2024-04-09 15:11:44 +01:00
Tim Hunt
b77d6b1450
MDL-74610 quiz: multiple grades - show in quiz reports
2024-04-09 15:11:43 +01:00
Stevani Andolo
c9e0a29eba
MDL-81476 admin_reportbuilder: Fixed user list page
...
This is basically just bringing back the same check done prior to
MDL-79270 where if there is no data being returned the default value for
the accessctr would be "allow".
2024-04-09 22:04:40 +08:00
Tim Hunt
48304bd2f8
MDL-74610 quiz: multiple grades - setup for sections button
2024-04-09 14:59:49 +01:00
Tim Hunt
9a1b85aa4c
MDL-74610 quiz: multiple grades - reset all button
2024-04-09 14:59:49 +01:00
Tim Hunt
a65260daa8
MDL-74610 quiz: multiple grades - show mark info when editing
2024-04-09 14:59:48 +01:00
Tim Hunt
b4467adf52
MDL-74610 quiz: multiple grades - display grades to student
2024-04-09 14:59:47 +01:00
Tim Hunt
ba40067746
MDL-74610 quiz: refactor rendering of '6.00 out of 10.00' into a helper
2024-04-09 14:59:45 +01:00
Tim Hunt
81495189fc
MDL-74610 quiz: update the grade setup page without reloads
2024-04-09 14:59:45 +01:00
Tim Hunt
bbe11e1cea
MDL-74610 quiz: multiple grades - update slot grade items
2024-04-09 14:59:44 +01:00
Tim Hunt
a47705c09e
MDL-74610 quiz: multiple grades - show grade items
2024-04-09 14:59:44 +01:00
Tim Hunt
be49319a87
MDL-74610 quiz: multiple grades - rename grade item
2024-04-09 14:59:43 +01:00
Tim Hunt
6794f1293f
MDL-74610 quiz: multiple grades - add grade item
2024-04-09 14:59:42 +01:00
Tim Hunt
e3f3416400
MDL-74610 quiz: multiple grades - delete grade item UI
2024-04-09 14:59:41 +01:00
Tim Hunt
d4d66c2e28
MDL-74610 quiz mulitple grades: display the grade items that exist
...
AMOS BEGIN
CPY [gradeitems,core_grades],[gradeitems,mod_quiz]
AMOS END
2024-04-09 14:59:41 +01:00
Tim Hunt
e499098838
MDL-74610 quiz multiple grades: backup and restore of the new data
2024-04-09 14:59:40 +01:00
Tim Hunt
857681092a
MDL-74610 quiz: web services for crud on quiz grade items
2024-04-09 14:59:39 +01:00
Tim Hunt
3dfd7b9b38
MDL-74610 quiz: web service to update grade item for a slot
2024-04-09 14:59:39 +01:00
Tim Hunt
952c6d52c4
MDL-74610 quiz: multiple grades - test generators
2024-04-09 14:59:38 +01:00
Tim Hunt
4f60c198b7
MDL-74610 quiz: multiple grades - new DB schema
2024-04-09 14:59:38 +01:00
Tim Hunt
dfb3de1eb3
MDL-74610 quiz: multiple grades - UI mockup and nav
2024-04-09 14:59:37 +01:00
Sara Arjona
c26797f315
Merge branch 'MDL-81451-main' of https://github.com/lucaboesch/moodle
2024-04-09 15:31:05 +02:00
Sara Arjona
e188a28add
MDL-80203 courseformat: Set action menu for delegated sections
...
Co-authored by: Ferran Recio <ferran@moodle.com >
2024-04-09 15:28:16 +02:00
Sara Arjona
dfb6a3ce16
MDL-80203 courseformat: Fix some typos and PHPDoc
2024-04-09 15:28:16 +02:00
Sara Arjona
e42e16d8ba
MDL-81420 enrol: Remove duplicated header in editing form
2024-04-09 15:27:51 +02:00
Laurent David
5de9585114
MDL-80638 lib: Update Webauthn Moodle related files
2024-04-09 15:12:04 +02:00
Laurent David
428221829d
MDL-80638 lib: Update WebAuthn to 2.1.1
2024-04-09 15:12:04 +02:00
Laurent David
aea57c9f1e
MDL-80633 lib: Adjust build.sh to new version
...
* Repository beautifier-web/js-beautify has moved to beautifier/js-beautify
* Display version for codemirror and beautify so to easily add them in thirdpartylibs.xml
2024-04-09 15:11:31 +02:00
Laurent David
59e63c2081
MDL-81327 report_loglive: Apply the same fixes to loglive
...
* Additional fix: take into account selected group (filter)
2024-04-09 15:10:37 +02:00
Andrew Nicols
a1ee9cdbdb
MDL-81327 report_log: Make group filtering logstore agnostic
...
The original implementation of group filtering introduced in MDL-80565
assumed that the log table existed in Moodle's own database. This is not
the case of the database logstore, or any similar logstore implemetning
the database \core\log\sql_reader interface.
Furthermore this check was also applying the SQL when the user had the
`accessallgroups` capability, or when the course was not in SEPARATE
groups mode (no groupmode and/or visible groups).
Co-authored: Laurent David <laurent.david@moodle.com >
2024-04-09 15:10:37 +02:00
Laurent David
b418eff39d
MDL-81327 report_log: Fix col_fullusername
...
* Avoid calling get_user_fullname too many times and
deal with the case that $event->userid is empty
2024-04-09 15:10:37 +02:00
Andrew Nicols
ab70c74a04
MDL-81327 core: Remove unnecessary table filter
...
The \Traversable interface does not define the `valid` method.
Furthermore, the `valid` method actually checks that there is a _next_
value, which requires the value already be fetched and waiting. This is
not the case for all Iterators. For example the CallbackFilterIterator
does not load the initial value until it is requested.
It is completely unnecessary to do this check anyway as an invalid
Iterator will just not return any values.
2024-04-09 15:10:37 +02:00
Mikel Martín
a4c611febb
MDL-81307 core_courseformat: Add bulk styles for small devices
2024-04-09 13:23:01 +02:00
Paul Holden
4157d3672b
MDL-81472 mod_scorm: add missing library require to privacy class.
2024-04-09 11:36:52 +01:00
Sara Arjona
b621a7e4b3
on-demand release 4.4dev+
2024-04-09 12:08:35 +02:00
Sara Arjona
3c5de1940b
Merge branch 'MDL-81456-main' of https://github.com/andrewnicols/moodle
2024-04-09 10:18:01 +02:00
Andrew Nicols
62c560dff2
MDL-81456 core: Correct namespace imports
2024-04-09 16:13:42 +08:00
Huong Nguyen
e168c1d089
MDL-81333 core_communication: Coding style fixups
...
- Remove superflous coverage information
- Use language string for group room name format
2024-04-09 10:24:09 +07:00
Huong Nguyen
2ec967e12b
Merge branch 'MDL-81333-main' of https://github.com/davewoloszyn/moodle
2024-04-09 10:22:34 +07:00
Jake Dallimore
b34930bfe6
Merge branch 'MDL-81060-main-fix' of https://github.com/meirzamoodle/moodle
2024-04-09 10:13:25 +08:00
Ilya Tregubov
9c53b229f2
Merge branch 'MDL-81337-main-behat-fix' of https://github.com/lameze/moodle
2024-04-09 09:21:58 +08:00
Simey Lameze
27b14a64b5
MDL-81337 behat: use new step to open add activity dialogue
2024-04-09 09:05:01 +08:00
Pedro Jordao
942868a1a6
MDL-80195 forms: Keep dropdown menu open when tabbing into datepicker
...
When accessing a datepicker that is within a dropdown menu using the tab
key, the navigation sequence was changed since the datepicker code is
not rendered within the dropdown menu element, thus the dropdown was
closed as it was understood that we were not more inside it.
Furthermore, when exiting the datepicker by pressing tab, as the
dropdown was closed, the navigation jumped to the first element on the
page, which is the link to Skip to main content.
To resolve this, a validation was added that keeps the dropdown menu
open if the datepicker is open and accessed via the tab key.
2024-04-08 12:57:18 -03:00
Luca Bösch
775e4ae79f
MDL-81451 qtype_missingtype: adopt icon size to other.
2024-04-08 17:26:41 +02:00
Sara Arjona
b3ef3ecb8d
Merge branch 'MDL-81298-main' of https://github.com/vithushau/moodle
2024-04-08 17:11:49 +02:00
Didier 'OdyX' Raboud
74a582c502
MDL-65381 grade_report: fix empty separate groups own grades access
...
On separate groups' courses, users without groups could not access
their own grade items.
2024-04-08 17:01:07 +02:00
Sara Arjona
411180831e
Merge branch 'MDL-78457' of https://github.com/paulholden/moodle
2024-04-08 16:54:38 +02:00
Sara Arjona
6b9667f2b8
Merge branch 'MDL-81449-main' of https://github.com/lucaboesch/moodle
2024-04-08 16:27:55 +02:00
Sara Arjona
099ceb42a0
Merge branch 'MDL-81456-main' of https://github.com/andrewnicols/moodle
2024-04-08 16:11:26 +02:00
Sara Arjona
44d3549a4b
Merge branch 'MDL-78096-main-alt' of https://github.com/meirzamoodle/moodle
2024-04-08 13:13:38 +02:00
Sara Arjona
1f76843f25
MDL-81337 behat: Fix behat failures
...
A tooltip has been added to the + icons in between activities with the
same text as the "Add an activity or resource" button.
The easiest way to fix the behat failures is to click this
button in empty sections (that way, the button is unique).
2024-04-08 12:44:40 +02:00
Sara Arjona
20475ec9a5
Merge branch 'MDL-81462' of https://github.com/stronk7/moodle
2024-04-08 11:34:20 +02:00
Marina Glancy
42c76b711a
MDL-80820 lib/pear: phpdoc corrections
2024-04-08 10:13:39 +01:00
Marina Glancy
ef1759da74
MDL-80820 various: fix incorrect phpdocs
2024-04-08 10:13:10 +01:00
Huong Nguyen
21c0470541
Merge branch 'MDL-75037' of https://github.com/paulholden/moodle
2024-04-08 16:06:00 +07:00
Marina Glancy
33c528aaec
MDL-81256 lib: fix rounding of thumbnail image size
2024-04-08 10:01:04 +01:00
James Williams
5e05ad570f
MDL-80985 core: Add --courses argument to purge_caches.php
2024-04-08 18:34:13 +10:00
Huong Nguyen
53024802bc
Merge branch 'MDL-81446-main' of https://github.com/andrewnicols/moodle
2024-04-08 15:32:19 +07:00
Jake Dallimore
4c2b9f55f0
Merge branch 'MDL-81405-master' of https://github.com/jleyva/moodle
2024-04-08 15:35:00 +08:00
David Woloszyn
07ffa049a9
MDL-81391 core_communication: Check processor before using its methods
2024-04-08 17:08:05 +10:00
Eloy Lafuente (stronk7)
ed84111010
MDL-81462 phpunit: Add missing controller->destroy()
...
So we ensure that all file descriptors and backup temp structures
are properly closed and cleaned up.
2024-04-08 08:57:31 +02:00
Ilya Tregubov
84b1cbd474
Merge branch 'MDL-81409-main' of https://github.com/snake/moodle
2024-04-08 12:44:45 +08:00
Andrew Nicols
5ff5cf8203
MDL-81459 core: Correct order of legacy callback processing
2024-04-08 12:10:41 +08:00
Andrew Nicols
666e830b25
MDL-81459 core: Add missing legacy callback for header hook
2024-04-08 12:10:28 +08:00
Huong Nguyen
def6f6ee87
Merge branch 'MDL-81337-main' of https://github.com/lucaboesch/moodle
2024-04-08 10:38:06 +07:00
Huong Nguyen
28adb1e462
Merge branch 'MDL-80934-main' of https://github.com/laurentdavid/moodle
2024-04-08 09:12:57 +07:00
Jake Dallimore
e5fca6909e
MDL-81060 core: fix incorrect userquota usage in zip_packer
...
This change reverts much of MDL-74641, removing the erroneous userquota
checks from zip_packer. Now, during extraction, the zip_packer will exit
with an error status when it encounters a file which is larger than its
advertised size, and NOT when it determines the size of the extracted
files have exceeded the userquota (which only applies to private files
and which was used incorrectly here). It also reverts changes to the
draftfiles_ajax.php file, restoring the original (pre-MDL-74641) error
handling.
2024-04-08 09:08:24 +07:00
Huong Nguyen
6b7d9b5e8a
Merge branch 'MDL-81402-main' of https://github.com/sh-csg/moodle
2024-04-08 09:02:40 +07:00
Andrew Nicols
4475617583
MDL-81456 core: Provide info about mocking hooks
2024-04-08 09:39:18 +08:00
Andrew Nicols
4a1752781f
MDL-81456 core: Coding style fixups
2024-04-08 09:36:22 +08:00
Andrew Nicols
3cc3511fa2
MDL-81456 core: Remove superflous coverage information
2024-04-08 09:36:22 +08:00
Andrew Nicols
71e8387a96
MDL-81456 core: Move hook fixtures to more appropriate location
2024-04-08 09:36:22 +08:00
Andrew Nicols
d7e1f2cef7
MDL-81456 core: Run tests modifying core_component in a separate process
2024-04-08 09:36:21 +08:00
Andrew Nicols
fa2e11105a
MDL-81456 core: Stop injecting test data into real hook manager
2024-04-08 09:36:21 +08:00
Andrew Nicols
2b49ad42f5
MDL-81456 core: Use DI for all hook access
...
Using DI for all hook access means that it becomes significantly easier
to mock hooks and callbacks for unit testing without fundamentally
altering the structure of the code purely for the purposes of unit
testing.
2024-04-08 09:35:41 +08:00
Juan Leyva
8ed83886f3
MDL-81405 tool_mobile: Set Partitioned cookie for the mobile app
2024-04-06 12:21:00 +02:00
Juan Leyva
e09930bab6
MDL-81405 session: New core cookie helper utility class
2024-04-06 12:20:59 +02:00
Paul Holden
52aa6bbe12
MDL-81320 datafield_checkbox: account for empty field content.
2024-04-05 15:16:34 +01:00
Luca Bösch
d3c4345d81
MDL-81451 qtype_gapfill: adopt icon size to other.
2024-04-05 16:00:29 +02:00
Luca Bösch
f6b396012f
MDL-81449 qtype_ordering: adopt icon size to other.
2024-04-05 15:35:03 +02:00
Luca Bösch
5af261d8f5
MDL-81337 core_courseformat: Add 'Add section' / 'Add content' tooltips.
2024-04-05 15:09:22 +02:00
Sara Arjona
26649f5750
on-demand release 4.4dev+
2024-04-05 13:23:37 +02:00
Sara Arjona
852ef9cbfc
NOBUG: Fixed SVG browser compatibility
2024-04-05 13:23:32 +02:00
Sara Arjona
6f3bf87f41
Merge branch 'MDL-79863-patch' of https://github.com/ilyatregubov/moodle
2024-04-05 10:07:40 +02:00
Ilya Tregubov
4243d21377
MDL-79863 qtype_ordering: Fix Behat test for backup and restore
...
We recently started to turn on async backup by default.
2024-04-05 16:00:11 +08:00
Huong Nguyen
c11e160812
MDL-79920 tool_mfa: Minor updates
...
- String deprecation
- Use Prefetch for language strings
2024-04-05 11:29:20 +07:00
Huong Nguyen
8a5022a5e7
Merge branch 'MDL-79920-main' of https://github.com/davewoloszyn/moodle
2024-04-05 11:28:26 +07:00
Andrew Nicols
554e491b6f
Merge branch 'MDL-80028-h5p_caps' of https://github.com/leonstr/moodle
2024-04-05 11:55:54 +08:00
Ilya Tregubov
313479e29f
Merge branch 'MDL-81358' of https://github.com/paulholden/moodle
2024-04-05 11:37:11 +08:00
Ilya Tregubov
e5592f4c14
Merge branch 'MDL-81400-main' of https://github.com/roland04/moodle
2024-04-05 11:29:52 +08:00
Andrew Nicols
27c42aad0f
MDL-79863 qtype_ordering: Correctly order langstrings
2024-04-05 10:47:04 +08:00
Andrew Nicols
606158ca81
Merge branch 'MDL-79863-ordering' of https://github.com/Chocolate-lightning/moodle
2024-04-05 10:07:23 +08:00
Andrew Nicols
443ad94a77
MDL-81446 core: Bump absolute minimum PHP version supported
2024-04-05 10:04:29 +08:00
Mathew May
135ed5b145
MDL-79863 qtype_ordering: Include required qtype function
2024-04-05 09:47:58 +08:00
Mathew May
178bed033a
MDL-79863 qtype_ordering: Remove PHPDocs from overridden blocks
2024-04-05 09:47:58 +08:00
Mathew May
460e3b5a61
MDL-79863 question: Update docblocks
2024-04-05 09:47:58 +08:00
Ilya Tregubov
fedeefa784
Merge branch 'MDL-81406' of https://github.com/paulholden/moodle
2024-04-05 09:27:04 +08:00
Mathew May
7dda680e06
MDL-79863 qtype_ordering: Update comments and remove unused functions
2024-04-05 09:24:02 +08:00
Mihail Geshoski
d0a9505cee
MDL-79863 qtype_ordering: Fix access control to files
...
The implementation of the check_file_access() method needs to be added
in the qtype_ordering_question class in order to ensure the users have
the appropriate access rights to a particular file.
2024-04-05 09:24:02 +08:00
Mathew May
881107a977
MDL-79863 qtype_ordering: Unit test updates
2024-04-05 09:24:02 +08:00
Mathew May
fbfbb7272a
MDL-79863 format_gift: Set ID & tags from comment
...
Previously, third party imports could not add tags or the self defined ID numbers.
This is because if the plugin defines an import it just returns after completing skipping this non specific function.
2024-04-05 09:24:02 +08:00
Mathew May
3d68bd3fa7
MDL-79863 qtype_ordering: Core changes
2024-04-05 09:24:02 +08:00
Mathew May
385d40dfe1
MDL-79863 qtype_ordering: Remove third party files
2024-04-05 09:24:02 +08:00
Mathew May
db7abb51cb
MDL-79863 qtype_ordering: Code checker & behat
...
Part of: MDL-79863
2024-04-05 09:24:02 +08:00
Mathew May
aa2ef1fe9c
MDL-80416 qtype_ordering: Tests for reuse functionality
...
Part of: MDL-79863
2024-04-05 09:24:02 +08:00
Mihail Geshoski
6631b37eca
MDL-79879 qtype_ordering: Improve the settings page
...
Part of: MDL-79863
2024-04-05 09:23:59 +08:00
David Woloszyn
5662d6a619
MDL-79920 tool_mfa: Tests for new MFA methods and layout
2024-04-05 10:10:09 +11:00
David Woloszyn
c415eed491
MDL-79920 factor_email: String changes for email factor
2024-04-05 10:10:09 +11:00
David Woloszyn
a64b26cb86
MDL-79920 factor_sms: Improvements to the sms setup
...
Unlike other configurable factors, sms factor is not yet compatible
with the newly introduced replace action.
2024-04-05 10:10:09 +11:00
David Woloszyn
dbef09ab19
MDL-79920 factor_totp: Improvements to the totp setup
2024-04-05 10:10:09 +11:00
David Woloszyn
71a5622c71
MDL-79920 factor_webauthn: Improvements to the webauthn setup
2024-04-05 10:10:09 +11:00
David Woloszyn
34bc9a2e9f
MDL-79920 tool_mfa: Improve MFA management for users
...
Includes the ability to replace/update a factor. Major changes to
classes and strings were performed to allow for these improvements.
2024-04-05 10:10:09 +11:00
David Woloszyn
b2ed67eb43
MDL-79920 theme: Introduced new icon circle css class
2024-04-05 10:10:09 +11:00
Andrew Nicols
91cacf6319
MDL-81084 core: Correct | to ||
2024-04-05 07:02:35 +08:00
Sara Arjona
5949ac50f6
Merge branch 'MDL-81084-main' of https://github.com/andrewnicols/moodle
2024-04-04 17:55:48 +02:00
Sara Arjona
0447aa9144
Merge branch 'MDL-4188-main-2' of https://github.com/HuongNV13/moodle
2024-04-04 17:40:57 +02:00
Huong Nguyen
41f76c86ea
MDL-4188 core: Version bump
2024-04-04 22:19:56 +07:00
Leon Stringer
29c92d976d
MDL-80028 mod_h5pactivity: teacher reviewattempts
...
By default grant mod/h5pactivity:reviewattempts to non-editing teacher
role. This is already granted to this role's archetype.
PHPUnit test also updated as presumably non-editing teachers should
not be returned by get_active_users_join() if they have
mod/h5pactivity:reviewattempts.
2024-04-04 16:19:24 +01:00
Sara Arjona
744c1c8a5a
Merge branch 'MDL-81359-main' of https://github.com/sammarshallou/moodle
2024-04-04 17:02:51 +02:00
Huong Nguyen
6d196e73bb
Merge branch 'MDL-81386-main' of https://github.com/sarjona/moodle
2024-04-04 21:56:11 +07:00
Huong Nguyen
f64fda43d5
MDL-4188 behat: Turn off course welcome message
...
Turn off the course welcome message,
so we can easily test other messages.
2024-04-04 20:13:47 +07:00
Huong Nguyen
66e8bf76f9
MDL-4188 core: Modify PHPUnit to use the new sink method
2024-04-04 20:13:47 +07:00
Huong Nguyen
ad4f35f5a3
MDL-4188 core_course: Modify PHPUnit to use the new sink method
2024-04-04 20:13:47 +07:00
Huong Nguyen
c4e07686ea
MDL-4188 core_message: Modify PHPUnit to turn off course welcome message
2024-04-04 20:13:47 +07:00
Huong Nguyen
70f85b92e3
MDL-4188 mod_bigbluebuttonbn: Modify PHPUnit to use the new sink method
2024-04-04 20:13:47 +07:00
Huong Nguyen
b68a89a4da
MDL-4188 mod_forum: Modify PHPUnit to use the new sink method
2024-04-04 20:13:47 +07:00
Huong Nguyen
097a6d46e0
MDL-4188 enrol_self: Send course welcome message on enrolment
...
Including in this commit:
- Use language strings from core_enrol to match with enrol_manual
- Minor update for UI so Custom welcome message text area
will not be shown if the Send course welcome message is
set to No
- enrol_self now using Hook API to send the welcome message
- enrol_self_plugin::email_welcome_message() has been deprecated
- Added Behat test to test the welcome message
2024-04-04 20:13:46 +07:00
Huong Nguyen
b6af21bec0
MDL-4188 enrol_manual: Send course welcome message on enrolment
...
AMOS BEGIN
CPY [customwelcomemessage,enrol_self],[customwelcomemessage,core_enrol]
CPY [customwelcomemessage_help,enrol_self],[customwelcomemessage_help,core_enrol]
AMOS END
2024-04-04 20:13:46 +07:00
Huong Nguyen
1593f02492
MDL-4188 core: Added course welcome message notification
2024-04-04 19:45:18 +07:00
Huong Nguyen
f53b0b84d2
MDL-4188 core_enrol: Added enrol_plugin::get_welcome_message_contact()
...
Including in this commit
- enrol_self_plugin::get_welcome_email_contact() has been deprecated
2024-04-04 19:45:17 +07:00
Stefan Hanauska
a1c8337800
MDL-81402 course: Add sectionnum to cm export
2024-04-04 12:59:53 +02:00
Sara Arjona
2f2eaf44c5
Merge branch 'MDL-80220-main' of https://github.com/laurentdavid/moodle
2024-04-04 12:47:53 +02:00
Sara Arjona
1ce75e7278
Merge branch 'MDL-80754-main' of https://github.com/laurentdavid/moodle
2024-04-04 12:44:40 +02:00
Sara Arjona
1c660c4f2a
Merge branch 'MDL-15594-main' of https://github.com/kevpercy/moodle
2024-04-04 12:38:08 +02:00
Huong Nguyen
35a9c9609a
Merge branch 'MDL-81413-main' of https://github.com/lameze/moodle
2024-04-04 17:31:15 +07:00
Laurent David
adb141ee12
MDL-80220 core_courseformat: Add tests for section visibility
2024-04-04 10:58:06 +02:00
Laurent David
27a681c6fe
MDL-80220 core_courseformat: Add section badge template
...
* Adjust badge style to look similar to the one in the activity
* Add visibility selection dropdown to section
2024-04-04 10:58:06 +02:00
Laurent David
73bdbf6437
MDL-80934 core_courseformat: Expand section when selected
...
* Sections in the course content must be expanded when an item
from this section is selected in the course index
2024-04-04 10:41:22 +02:00
Huong Nguyen
fd38ce1210
MDL-78096 Javascript: core/dropzone improvement
...
core/dropzone now accepts custom label to display in the Dropzone
2024-04-04 15:31:08 +07:00
meirzamoodle
2d67005f21
MDL-78096 tiny_media: Handle repositories if none is active
2024-04-04 15:31:08 +07:00
meirzamoodle
cbbc87c7f4
MDL-78096 editor_tiny: Convert error to JSON and send the accepted types
2024-04-04 15:31:08 +07:00
meirzamoodle
1927c6f668
MDL-78096 editor_tiny: Scenario updates for TinyMCE image enhancements
2024-04-04 15:31:08 +07:00
meirzamoodle
7fda4d6f63
MDL-78096 tiny_media: Add a new details image
2024-04-04 15:31:07 +07:00
meirzamoodle
4d3c8e895e
MDL-78096 tiny_media: Implement drag-drop to upload an image
2024-04-04 15:30:53 +07:00
Laurent David
03f84bdaba
MDL-80754 mod_h5pactivity: Improve attempt report
...
* Show the total number of attempts in the column header
* Display a simplified link label to view the actual attempts
2024-04-04 10:30:45 +02:00
Ilya Tregubov
272c8976fe
MDL-79863 qtype_ordering: Ensure qtype_ordering is compatible with PHP 8.2
...
Co-authored by: Mathew May <mathewm@hotmail.co.nz >
2024-04-04 16:21:07 +08:00
Mathew May
63ed08c050
MDL-79905 qtype_ordering: Improve test coverage for question ordering
...
Part of: MDL-79863
2024-04-04 16:21:07 +08:00
Ilya Tregubov
ec320c2e49
MDL-79873 qtype_ordering: Template to output formulation and controls.
...
Part of: MDL-79863
2024-04-04 16:21:07 +08:00
Mathew May
9d060922ae
MDL-79874 qtype_ordering: Move feedback into exporter
...
Part of: MDL-79863
2024-04-04 16:21:07 +08:00
Kevin Percy
e1357ee51c
MDL-79863 qtype_ordering: Coding style improvements part 2
...
Co-authored by: Tim Hunt <T.J.Hunt@open.ac.uk >
2024-04-04 16:20:50 +08:00
Andrew Nicols
f9404ba6c1
MDL-81316 core: Encode anchor fragments properly to RFC 3986
2024-04-04 16:05:18 +08:00
Ilya Tregubov
d00061da26
MDL-79877 qtype_ordering: Template to output correct parts
...
Part of: MDL-79863
Creates an exporter class and a template to output the correct
part to a given question attempt.
2024-04-04 16:00:52 +08:00
Mathew May
36822f0c0a
MDL-79870 qtype_ordering: Remove unused code
...
Part of: MDL-79863
2024-04-04 16:00:51 +08:00
Mathew May
cf1bcfce18
MDL-79884 qtype_ordering: Add unit coverage and exemptions
...
Part of: MDL-79863
2024-04-04 16:00:51 +08:00
Ilya Tregubov
de5fc46b41
MDL-79875 qtype_ordering: Template to output grade detail
...
Part of: MDL-79863
Creates an exporter class and a template to output the grade
detail to a given question attempt.
2024-04-04 16:00:51 +08:00
Shamim Rezaie
31fc5161c9
MDL-79863 qtype_ordering: Coding style improvements part 1
...
Co-authored by: Ilya Tregubov <ilya@moodle.com >
Co-authored by: Mihail Geshoski <mihail@moodle.com >
Co-authored by: Shamim Rezaie <shamim@moodle.com >
2024-04-04 16:00:51 +08:00
Mathew May
18182c30e6
MDL-79871 qtype_ordering: Further changes for readability
...
Part of: MDL-79863
- Reduce usage of jQuery to only a couple of variables. These are left as is due to how heavy the usage is and how the base dnd seems to assume jQuery objects here and there.
- Templated the proxy string so we dont have to pull it in and replace tokens on the fly.
- Moved around functionality a bit to make for more concise reading and obvious delegation of responsibility
2024-04-04 15:26:44 +08:00
Mathew May
646f1c75d1
MDL-79871 qtype_ordering: Improve typing and documentation
...
Part of: MDL-79863
2024-04-04 15:26:44 +08:00
Mathew May
0136414cd8
MDL-79871 qtype_ordering: Move functions out of constructor
...
Part of: MDL-79863
- Alot of functionality was bound to the constructor, this has been picked out into various methods for easier debug.
2024-04-04 15:26:44 +08:00
Mathew May
d70277d050
MDL-79871 qtype_ordering: Move existing modules into class
...
Part of: MDL-79863
- Taken the existing module and done the bare minimum to make it work within one class that gets called.
2024-04-04 15:26:44 +08:00
Mathew May
416ffeed36
MDL-79871 qtype_ordering: Remove shipped core libs
...
Part of: MDL-79863
2024-04-04 15:26:44 +08:00
Mihail Geshoski
bc2bfead5c
MDL-79876 qtype_ordering: Template to output the correct response
...
Part of: MDL-79863
Creates an exporter class and a template to output the correct
response to a given question attempt.
2024-04-04 15:26:44 +08:00
Mihail Geshoski
6531fa70d7
MDL-79876 qtype_ordering: Create an abstract class for the renderables
...
Part of: MDL-79863
Creates an abstract class in qtype_ordering/output that implements the
renderable interface. Each renderable that is used to output a given
component of the ordering question should extend this abstract class.
2024-04-04 15:26:43 +08:00
Mihail Geshoski
532c361386
MDL-79876 qtype_ordering: get_response() in qtype_ordering_test_helper
...
Part of: MDL-79863
Previously, get_response() was implemented in almost every PHPUnit
testing class in qtype_ordering and these implementations were
idenical. In order to avoid code duplication a new static method
get_response() has been created within the qtype_ordering_test_helper
class.
Also, each individual implementation within the PHPUnit testing
classes has been removed/modified and all related calls had been
replaced by qtype_ordering_test_helper::get_response().
2024-04-04 15:26:43 +08:00
Mathew May
377dc97590
MDL-79863 qtype_ordering: Version bump for core
2024-04-04 15:26:41 +08:00
Ilya Tregubov
b47c590e10
Merge branch 'MDL-78370-main' of https://github.com/junpataleta/moodle
2024-04-04 14:17:15 +08:00
Kevin Percy
a7cb6a8de6
MDL-15594 url: Add setting to enable parameters for URL
2024-04-04 12:35:30 +08:00
Gordon Bateson
82bca92947
MDL-79863 qtype_ordering: qtype_ordering small fix to download URLs in readme.txt
2024-04-04 10:59:31 +08:00
Tim Hunt
cca146e8b0
MDL-79863 qtype_ordering: Save hints as the question author wants them ( #75 )
...
There was some old code that forced all questions to have
at least 2 hints, but we have teachers who want exactly one hint
for a question in their exams.
Also, the hint-saving code was duplicating a lot of core code,
so I cleaned it up.
2024-04-04 10:59:31 +08:00
Anupama Sarjoshi
4e825f2960
MDL-79863 qtype_ordering: Ordering M4.2: Changes to export_to_xml - remove unused answerfiles ( #74 )
...
Thanks Anupama!
2024-04-04 10:59:31 +08:00
Gordon Bateson
4b80d7b6e0
MDL-79863 qtype_ordering: * Fix Behat failure following button change in Moodle master branch
2024-04-04 10:59:31 +08:00
Tim Hunt
ed8147a556
MDL-79863 qtype_ordering: Ordering: fix stats calculations when items longer than 100 characters ( #73 )
...
* Ordering: fix stats calculations when items longer than 100 characters
* Fix Behat failure following button change in Moodle master branch
2024-04-04 10:59:31 +08:00
Gordon Bateson
44c4676fc4
MDL-79863 qtype_ordering: Co-authored-by: Anupama Sarjoshi <anupama.sarjoshi@open.ac.uk>
2024-04-04 10:59:31 +08:00
Tim Hunt
ba23a42edd
MDL-79863 qtype_ordering: Ordering question type. Upgrade to work with Moodle 4.0, 4.1 and 4.2 ( #72 )
...
* Add moodle-plugin-ci github actions configuration
* Rebuild JavaScript
* Fix behat test failing in Moodle 4.0
* Ordering: better define 'rows' for items in horizontal list #401861 #55
* Ordering: Option to show number of correct choices/highlight correct and incorrect placement.
* Ordering: Improper alignment of feedback with Horizontal layout of items
* Ordering: make M4-compatible (including behat etc.) #606639
* M4: Behat: question/type/ordering tests failing #598659
* Fix grunt errors
* Fix unreliability in the preview Behat tests
* Fix Moodle 4.0-style regrading
Also, correctly initialise all parts of the question object in initialise_question_instance
* Update CI config
---------
Co-authored-by: sangnguyen <sna67@open.ac.uk >
Co-authored-by: Thong Bui <qktc1422@gmail.com >
Co-authored-by: Anupama Sarjoshi <anupama.sarjoshi@open.ac.uk >
2024-04-04 10:59:31 +08:00
Gordon Bateson
fc4adc6003
MDL-79863 qtype_ordering: qtype_ordering optimize code to ensure that recorded responses are no longer than 100 bytes.
2024-04-04 10:59:30 +08:00
Gordon Bateson
b3c86b05b7
MDL-79863 qtype_ordering: qtype_ordering optimize code to ensure that recorded responses are no longer than 100 bytes.
2024-04-04 10:59:30 +08:00
Mahmoud Kassaei
b681b06a26
MDL-79863 qtype_ordering: PHPunit: Some compatibilirty in question_test & questiontype_test ( #69 )
...
qtype_ordering #69 Fix errors in unit test. Many thanks to Mahmoud Kassaei
2024-04-04 10:59:30 +08:00
Gordon Bateson
f56dc82e52
MDL-79863 qtype_ordering: qtype_ordering modify markdown syntax for long help messages (for compatability with Moodle 3.11)
2024-04-04 10:59:30 +08:00
ewallah
1ba7af3582
MDL-79863 qtype_ordering: Update questiontype_test.php ( #64 )
...
Declaration of qtype_ordering_test::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
Declaration of qtype_ordering_test::tearDown() must be compatible with PHPUnit\Framework\TestCase::TearDown(): void
2024-04-04 10:59:30 +08:00
Gordon Bateson
164bca54d6
MDL-79863 qtype_ordering: qtype_ordering fix Issue #63 . Restore missing method 'set_default_value()'
2024-04-04 10:59:30 +08:00
Gordon Bateson
d5691b5097
MDL-79863 qtype_ordering: qtype_ordering add message to CHANGES.txt
2024-04-04 10:59:30 +08:00
Gordon Bateson
8973b055d3
MDL-79863 qtype_ordering: qtype_ordering in edit form, rename 'get_default_value()' method to 'get_my_default_value()' for compatability with Moodle >= 3.10
2024-04-04 10:59:30 +08:00
Gordon Bateson
c74e93c23c
MDL-79863 qtype_ordering: qtype_ordering modify declaration of parameters accepted by get_default_value method in the edit form
2024-04-04 10:59:30 +08:00
Gordon Bateson
c6be47652f
MDL-79863 qtype_ordering: qtype_ordering update CHANGES.txt to include recent contributions by Tim Hunt and HuongNV13
2024-04-04 10:59:30 +08:00
Gordon Bateson
6a1d9cb57f
MDL-79863 qtype_ordering: qtype_ordering update CHANGES.txt to include recent contributions by Tim Hunt and HuongNV13
2024-04-04 10:59:30 +08:00
Huong Nguyen
72f9dbe111
MDL-79863 qtype_ordering: Fixing bugs ( #52 )
...
Thanks very much, HuongNV13 (1) Items crash together horizontally (2) Number/letter no longer tracks with dragged item
2024-04-04 10:59:30 +08:00
Tim Hunt
211edfdaeb
MDL-79863 qtype_ordering: Update Behat tests to use the MDL-66821 changes ( #49 )
...
Thanks very much, Tim Hunt. (1) Update Behat tests to use the MDL-66821 changes (2) Fix Behat test that was failing
2024-04-04 10:59:30 +08:00
Gordon Bateson
6c6942faca
MDL-79863 qtype_ordering: qtype_ordering fix JS error on Moodle >= 3.7 caused by incorrect syntax in 'define' statement in key_codes.js
2024-04-04 10:59:29 +08:00
Gordon Bateson
43c7e39a74
MDL-79863 qtype_ordering: qtype_ordering standardize layout and spelling in CHANGES.txt
2024-04-04 10:59:29 +08:00
Gordon Bateson
f87cb2c76b
MDL-79863 qtype_ordering: qtype_ordering standardize layout and spelling in CHANGES.txt
2024-04-04 10:59:29 +08:00
Gordon Bateson
5b1ca09260
MDL-79863 qtype_ordering: Many thanks as always Mahmoud Kassaei !
2024-04-04 10:59:29 +08:00
Mahmoud Kassaei
62becffa9b
MDL-79863 qtype_ordering: Numberingstyle does not display properly in notactive mode ( #47 )
...
Many thanks as always Mahmoud Kassaei !
2024-04-04 10:59:29 +08:00
Gordon Bateson
932437c333
MDL-79863 qtype_ordering: qtype_ordering tidy up text in CHANGES.txt
2024-04-04 10:59:29 +08:00
Gordon Bateson
c26560a2b9
MDL-79863 qtype_ordering: qtype_ordering set up preliminary version of CHANGES.txt
2024-04-04 10:59:29 +08:00
Gordon Bateson
58cd34d502
MDL-79863 qtype_ordering: qtype_ordering fix behavior in Adaptive mode, with 'Whether correct' review option enabled
2024-04-04 10:59:29 +08:00
Gordon Bateson
ae7ee93bf0
MDL-79863 qtype_ordering: qtype_ordering (github-issue #43 and #44 ): rename upper case numberstyles to ABCD and IIII in order to differentiate from lower case styles on DBs, such as MySQL, which use case insensitive indexes.
2024-04-04 10:59:29 +08:00
Gordon Bateson
d784021b8d
MDL-79863 qtype_ordering: qtype_ordering rename 'answernumbering' to 'numberingstyle' and include this field in import/export of xml/gift formats.
2024-04-04 10:59:29 +08:00
Mahmoud Kassaei
76a6fce839
MDL-79863 qtype_ordering: Qtype_ordering: Numbering for lists (123.., abc...) ( #42 )
...
Thanks Mahmoud. Great job!
2024-04-04 10:59:29 +08:00
Gordon Bateson
9935253fea
MDL-79863 qtype_ordering: qtype_ordering fix small typo in behat test file
2024-04-04 10:59:29 +08:00
Gordon Bateson
4a70e6211f
MDL-79863 qtype_ordering: qtype_ordering fix small typo in language file and optimize logic in form validation
2024-04-04 10:59:28 +08:00
Mahmoud Kassaei
9d3998ecf5
MDL-79863 qtype_ordering: Qtype ordering should not allow duplicatue items ( #40 )
...
Thank you Mahmoud Kassaei for your continuing work to improve the Ordering question type
2024-04-04 10:59:28 +08:00
Gordon Bateson
356ad12ad4
MDL-79863 qtype_ordering: * Code checker issues in version.php
2024-04-04 10:59:28 +08:00
Mahmoud Kassaei
09be025919
MDL-79863 qtype_ordering: Ordering codechecker ( #39 )
...
* Code checker issues on edit_ordering_form.php
* function question_register_questiontype() not needed in questiontype.php
* Code checker issues in questiontype.php
* Code checker issues in question.php
* Code checker issues in renderer.php
* Code checker issues in version.php
2024-04-04 10:59:28 +08:00
Gordon Bateson
bf48b2f7b3
MDL-79863 qtype_ordering: Ordering cleanup - thanks Mahmoud Kassaei!
2024-04-04 10:59:28 +08:00
M Kassaei
5d9a051d42
MDL-79863 qtype_ordering: There is no need for legacy 'default_questionetype'
2024-04-04 10:59:28 +08:00
M Kassaei
9238005a73
MDL-79863 qtype_ordering: lang-file is sorted
2024-04-04 10:59:28 +08:00
M Kassaei
ee4edb506b
MDL-79863 qtype_ordering: method_exists() not needed anymore in edit_ordering_form.php
2024-04-04 10:59:28 +08:00
M Kassaei
3ca76335a6
MDL-79863 qtype_ordering: Install.xml is loaded into XMLDB and then saved again
2024-04-04 10:59:28 +08:00
Gordon Bateson
8c7c9d055a
MDL-79863 qtype_ordering: qtype_ordering remove deprecated jquery folder and amd/*.js files
2024-04-04 10:59:28 +08:00
Tim Hunt
d812ee087f
MDL-79863 qtype_ordering: Fix a bug with keyboard control with multiple questions per page
2024-04-04 10:59:28 +08:00
Tim Hunt
393de4b871
MDL-79863 qtype_ordering: Show a dotted border around the entire list if the question is active
2024-04-04 10:59:28 +08:00
Tim Hunt
d876a38973
MDL-79863 qtype_ordering: Remove some unused code.
2024-04-04 10:59:28 +08:00
Tim Hunt
7eff0c7fdb
MDL-79863 qtype_ordering: Add travis config for Moodle 3.6
2024-04-04 10:59:27 +08:00
Tim Hunt
59d28a856b
MDL-79863 qtype_ordering: Ensure the new JavaScript works with any Moodle 2.9 or later
...
That is, since js_call_amd existed.
2024-04-04 10:59:27 +08:00
M Kassaei
0fdf194fab
MDL-79863 qtype_ordering: Ordering qtype: rewrite JavaScript and add keyboard interaction
...
* This rewrite was mainly to add keyboard support, which is important
for accessibility.
* At the same time, the CSS was changed, to make the question appear
visually much more like the other core drag-drop question types.
* The new drag-drop code is based on the same underlying libraries that
the code drag-drop question types have been using since Moodle 3.6
* Unfortunately, so far we have only been able to make this work back to
Moodle 2.9.
2024-04-04 10:59:27 +08:00
Gordon Bateson
e885659edf
MDL-79863 qtype_ordering: qtype_ordering add further details of contribution by Tim Hunt and Mahmoud Kassei of OU
2024-04-04 10:59:27 +08:00
Gordon Bateson
912e5646e9
MDL-79863 qtype_ordering: qtype/ordering add showgrading field to backup file
2024-04-04 10:59:27 +08:00
Gordon Bateson
52f064a5b6
MDL-79863 qtype_ordering: qtype/ordering (readme.txt) added credits for recent improvements: Thanks to Tim Hunt, Mahmoud Kassaei, and Dominique Bauer
2024-04-04 10:59:27 +08:00
Gordon Bateson
5aab59423e
MDL-79863 qtype_ordering: qtype/ordering fix Github issue #36 : remove contenteditable from LI element, and instead attach to ancestor element in DOM
2024-04-04 10:59:27 +08:00
Gordon Bateson
ce8a32b5b4
MDL-79863 qtype_ordering: qtype/ordering fix Github issue #36 : draggable items become stuck to cursor when logged as student in Boost theme on Moodle 3.6
2024-04-04 10:59:27 +08:00
Gordon Bateson
50bc2c0f5d
MDL-79863 qtype_ordering: qtype/ordering improve logic and of code to get_subset and code to add repeated elements to form
2024-04-04 10:59:27 +08:00
Gordon Bateson
33b360975b
MDL-79863 qtype_ordering: qtype/ordering fix Github issue #35 : Clicking Add to add items more than once without saving the question in between has incorrect and unwanted behavior
2024-04-04 10:59:27 +08:00
Gordon Bateson
2917f5a895
MDL-79863 qtype_ordering: qtype/ordering optimize code and comments in loop to detect ordered subsets
2024-04-04 10:59:27 +08:00
Tim Hunt
ae2bd4dc93
MDL-79863 qtype_ordering: Unit tests of the question as a whole
2024-04-04 10:59:27 +08:00
Gordon Bateson
ea8708fe04
MDL-79863 qtype_ordering: qtype_ordering fix detection of longest ordered/contiguous subset grading type
2024-04-04 10:59:26 +08:00
Gordon Bateson
2e473e6273
MDL-79863 qtype_ordering: qtype/ordering fix detection of Longest ordered/contiguous subset where two or more such subsets exist
2024-04-04 10:59:26 +08:00
Tim Hunt
79122279eb
MDL-79863 qtype_ordering: Test against more Moodle and PHP versions on Travis
2024-04-04 10:59:26 +08:00
Tim Hunt
9f6e662d30
MDL-79863 qtype_ordering: Implement response analysis for the quiz Statistics report
2024-04-04 10:59:26 +08:00
M Kassaei
c231dab5cf
MDL-79863 qtype_ordering: PHP unit tests for the key methods in the question class #296740
...
This includes tests for all the grading types, and the other key
methods.
2024-04-04 10:59:26 +08:00
Gordon Bateson
7cabd58054
MDL-79863 qtype_ordering: qtype/ordering fix indexing of items when "Item selection type" is "Select a contiguous subset of items". The incorrect indexing resulted in less than the exptected number of items being displayed.
2024-04-04 10:59:26 +08:00
Gordon Bateson
01c8bab559
MDL-79863 qtype_ordering: qtype/ordering update version.php for recent BEHAT modifications
2024-04-04 10:59:26 +08:00
Gordon Bateson
fe5c789b10
MDL-79863 qtype_ordering: qtype/ordering add legacy_polyfill to privacy/provider.php
2024-04-04 10:59:26 +08:00
ewallah
bed7d48b1b
MDL-79863 qtype_ordering: Add language string
2024-04-04 10:59:26 +08:00
ewallah
af2de4e269
MDL-79863 qtype_ordering: Create privacy provider
2024-04-04 10:59:26 +08:00
Tim Hunt
9f65077013
MDL-79863 qtype_ordering: SVG version of the icon
2024-04-04 10:59:26 +08:00
Tim Hunt
e8f277b03c
MDL-79863 qtype_ordering: Set up Travis-CI integration
2024-04-04 10:59:26 +08:00
M Kassaei
e3fd1ad067
MDL-79863 qtype_ordering: Ordering qtype: write some Behat tests
2024-04-04 10:59:25 +08:00
Tim Hunt
2020628f6d
MDL-79863 qtype_ordering: Implement data generator code for creating test questions
2024-04-04 10:59:25 +08:00
Gordon Bateson
5a8b952f34
MDL-79863 qtype_ordering: qtype/ordering added new setting to specify number of new draggable items to be added to a question
2024-04-04 10:59:25 +08:00
Gordon Bateson
b307db44c8
MDL-79863 qtype_ordering: qtype/ordering ensure get_possible_responses does not fail even if there is no correct response
2024-04-04 10:59:25 +08:00
Gordon Bateson
32559a356c
MDL-79863 qtype_ordering: qtype_ordering add standard syntax for ::name:: in improve export/import of GIFT format
2024-04-04 10:59:25 +08:00
Gordon Bateson
35551217e0
MDL-79863 qtype_ordering: qtype_ordering fix import of GIFT text files
2024-04-04 10:59:25 +08:00
Gordon Bateson
6f79ea9708
MDL-79863 qtype_ordering: qtype_ordering improvements for compatability with AMD in Moodle >= 2.9. Many thanks to Jakob Ackermann (github.com/jacac)
2024-04-04 10:59:25 +08:00
Gordon Bateson
489c938b85
MDL-79863 qtype_ordering: qtype/ordering add AMD folder and files cor compatability with Moodle >= 2.9. Many thanks to Jakob Ackermann (github.com/jacac)
2024-04-04 10:59:25 +08:00
Gordon Bateson
c40caa6a09
MDL-79863 qtype_ordering: qtype_ordering improvements for compatability with AMD in Moodle >= 2.9. Many thanks to Jakob Ackermann (github.com/jacac)
2024-04-04 10:59:25 +08:00
Gordon Bateson
e72e1a6078
MDL-79863 qtype_ordering: qtype_ordering recognize RELATIVE_TO_CORRECT in gift import file
2024-04-04 10:59:25 +08:00
Gordon Bateson
63eb9ac186
MDL-79863 qtype_ordering: qtype_ordering fix issue in Moodle 3.4 in which sorted order is not returned to server for processing
2024-04-04 10:59:25 +08:00
Gordon Bateson
3256b3acc1
MDL-79863 qtype_ordering: qtype_ordering release new grading method: relative to correct - thanks to Anatoliy Markiv and Kings College London, UK
2024-04-04 10:59:25 +08:00
Gordon Bateson
bdfa2c7476
MDL-79863 qtype_ordering: qtype_ordering fix score calculation for individual items on RELATIVE_TO_CORRET grading method
2024-04-04 10:59:24 +08:00
Gordon Bateson
3b28181bf6
MDL-79863 qtype_ordering: qtype_ordering return result from 'summarize_response' for use in 'Technical information' and Response report
2024-04-04 10:59:24 +08:00
Gordon Bateson
b837d03eb0
MDL-79863 qtype_ordering: qtype_ordering restore functionality on Moodle 2.0
2024-04-04 10:59:24 +08:00
Gordon Bateson
29864f6c14
MDL-79863 qtype_ordering: qtype_ordering fix display of images in feedback and explanatino of correct response
2024-04-04 10:59:24 +08:00
Gordon Bateson
9d114318ec
MDL-79863 qtype_ordering: qtype_ordering imrpove code readability when setting flags to pass to methods to retrieve/check answers
2024-04-04 10:59:24 +08:00
Gordon Bateson
89692628f0
MDL-79863 qtype_ordering: qtype_ordering fix behavior of Ordering question when the quiz is in adaptive mode (with or without penalties)
2024-04-04 10:59:24 +08:00
Gordon Bateson
533221a68e
MDL-79863 qtype_ordering: qtype_ordering add new option to SHOW/HIDE score calculations when a student reviews a response to an Ordering qusetion
2024-04-04 10:59:24 +08:00
Gordon Bateson
cacd38f1e0
MDL-79863 qtype_ordering: qtype_ordering added development history and credits to the readme.txt file
2024-04-04 10:59:24 +08:00
Gordon Bateson
f7ee9ca70f
MDL-79863 qtype_ordering: qtype_ordering added development history and credits to the readme.txt file
2024-04-04 10:59:24 +08:00
Gordon Bateson
f64ba7bace
MDL-79863 qtype_ordering: qtype_ordering merge Vadim's PULL request for phpdocs and code style
2024-04-04 10:59:24 +08:00
Vadim Dvorovenko
7f5464d5bf
MDL-79863 qtype_ordering: phpdoc fix
2024-04-04 10:59:24 +08:00
Vadim Dvorovenko
e4ae90fbfb
MDL-79863 qtype_ordering: copyrights fix
2024-04-04 10:59:23 +08:00
Vadim Dvorovenko
c60561cd4e
MDL-79863 qtype_ordering: Removing dummy functions from edit form
2024-04-04 10:59:23 +08:00
Vadim Dvorovenko
dd3513c20b
MDL-79863 qtype_ordering: Codechecker fixes
2024-04-04 10:59:23 +08:00
Vadim Dvorovenko
0d11286482
MDL-79863 qtype_ordering: Remove 2.0 support as it's not working
2024-04-04 10:59:23 +08:00
Gordon Bateson
6678eebe2d
MDL-79863 qtype_ordering: qtype_ordering add missing settings.php from recent merge
2024-04-04 10:59:23 +08:00
Gordon Bateson
26d40077fb
MDL-79863 qtype_ordering: qtype_ordering add missing settings.php from recent merge
2024-04-04 10:59:23 +08:00
Gordon Bateson
ef225b4c69
MDL-79863 qtype_ordering: qtype_ordering allow images in backup/restore of ordering questions - thanks vadimonus \!
2024-04-04 10:59:23 +08:00
Gordon Bateson
df832e8340
MDL-79863 qtype_ordering: qtype_ordering fix grade calculation for LONGEST_CONTIGUOUS_SUBSET when longest subset starts in a middle position
2024-04-04 10:59:23 +08:00
Gordon Bateson
2a42f03832
MDL-79863 qtype_ordering: qtype_ordering force standard settings for Ordering questions used by Reader quizzes
2024-04-04 10:59:23 +08:00
Gordon Bateson
2d45d4ebf3
MDL-79863 qtype_ordering: qtype_ordering force standard settings for Ordering questions used by Reader quizzes
2024-04-04 10:59:23 +08:00
Gordon Bateson
eb1db13b70
MDL-79863 qtype_ordering: qtype_ordering force standard settings for Ordering questions used by Reader quizzes
2024-04-04 10:59:23 +08:00
Gordon Bateson
fc9263f9fe
MDL-79863 qtype_ordering: qtype_ordering make default selection type 'random'
2024-04-04 10:59:23 +08:00
Gordon Bateson
ff17a02bb7
MDL-79863 qtype_ordering: qtype_ordering set default layout to VERTICAL when importing from GIFT or XML file
2024-04-04 10:59:22 +08:00
Gordon Bateson
320a7f19d3
MDL-79863 qtype_ordering: qtype_ordering replace numeric literals with class constants to represent grading methog values
2024-04-04 10:59:22 +08:00
Gordon Bateson
e7332496ec
MDL-79863 qtype_ordering: qtype_ordering improve correctness report for incorrect respones in ALL_OR_NOTHING grading type
2024-04-04 10:59:22 +08:00
Gordon Bateson
aa8741d9c6
MDL-79863 qtype_ordering: qtype_ordering add new grading method: ALL_OR_NOTHING
2024-04-04 10:59:22 +08:00
Gordon Bateson
eccff6a599
MDL-79863 qtype_ordering: qtype_ordering fix export/import of gradingtype for Ordering questions
2024-04-04 10:59:22 +08:00
Gordon Bateson
bb140c20cf
MDL-79863 qtype_ordering: qtype_ordering add new grading type: LONGEST_CONTIGUOUS_SUBSET
2024-04-04 10:59:22 +08:00
Gordon Bateson
59d7a77da8
MDL-79863 qtype_ordering: qtype_ordering add new gradetype: LONGEST_ORDERED_SUBSET
2024-04-04 10:59:22 +08:00
Gordon Bateson
ee1a5f57b2
MDL-79863 qtype_ordering: qtype_ordering fix display of number when showing correct order of items in a horizontal list
2024-04-04 10:59:22 +08:00
Gordon Bateson
a5ced492bd
MDL-79863 qtype_ordering: qtype_ordering fix handling of unscored items in grading details during review of question attempt
2024-04-04 10:59:22 +08:00
Gordon Bateson
5724882c2f
MDL-79863 qtype_ordering: qtype_ordering fix handling of unscored items in grading details during review of question attempt
2024-04-04 10:59:22 +08:00
Gordon Bateson
46abdfc86e
MDL-79863 qtype_ordering: qtype_ordering fix grade calculation for RELATIVE_ONE_PREVIOUS_AND_NEXT and RELATIVE_ALL_PREVIOUS_AND_NEXT, and add grade/score details for less than perfect grades
2024-04-04 10:59:22 +08:00
Gordon Bateson
c2e0d67318
MDL-79863 qtype_ordering: qtype_ordering finish implementation of new setting, gradingtype, to allow different grading methods for ordering questions
2024-04-04 10:59:22 +08:00
Gordon Bateson
ad6a7229a5
MDL-79863 qtype_ordering: qtype/ordering fix errors creating new question on Moodle 3.0
2024-04-04 10:59:21 +08:00
Gordon Bateson
141809c027
MDL-79863 qtype_ordering: qtype/ordering fix errors related to html editors when creating new Ordering questions
2024-04-04 10:59:21 +08:00
Gordon Bateson
b71ca209ce
MDL-79863 qtype_ordering: qtype/ordering allow full HTML editors on answers in order to allow images and pictures
2024-04-04 10:59:21 +08:00
Gordon Bateson
072c95122b
MDL-79863 qtype_ordering: qtype/ordering increase padding of draggable elements to allow easier dropping in first and last positions
2024-04-04 10:59:21 +08:00
Gordon Bateson
ca0a5210be
MDL-79863 qtype_ordering: qtype_ordering remove unnecessary stripslashes when formatting question text
2024-04-04 10:59:21 +08:00
Gordon Bateson
d7e47c39fb
MDL-79863 qtype_ordering: qtype/ordering change CSS draggable item width to 80% instead of fixed 360px in order to improve display on small screens
2024-04-04 10:59:21 +08:00
Kathrin
189a346eec
MDL-79863 qtype_ordering: Made with of draggable fields relative
...
I found out that together with the plugin active quiz, the fixed with
to 360 px leads to problems when viewed responsive in smaller mobile
devices like smartphones. So I changed the with to a relative value of
80%.
2024-04-04 10:59:21 +08:00
Gordon Bateson
f25944220a
MDL-79863 qtype_ordering: qtype/ordering fix restoring or options in ordering questions
2024-04-04 10:59:21 +08:00
Gordon Bateson
cc1af29abc
MDL-79863 qtype_ordering: qtype/ordering fix restoring or options in ordering questions
2024-04-04 10:59:20 +08:00
Gordon Bateson
6571680f9a
MDL-79863 qtype_ordering: qtype/ordering ensure JQuery is high enough version to allow drag-and-drop when Quiz is in a popup window
2024-04-04 10:59:20 +08:00
Gordon Bateson
07346a063b
MDL-79863 qtype_ordering: qtype/ordering fix restore error message about missing table: qtype_ordering (should be qtype_ordering_options)
2024-04-04 10:59:20 +08:00
Gordon Bateson
f44ebd44d4
MDL-79863 qtype_ordering: qtype/ordering cater for missing data about responses when reviewing an attempt at an Ordering question
2024-04-04 10:59:20 +08:00
Gordon Bateson
4864ed8779
MDL-79863 qtype_ordering: qtype/ordering fix "undefined index" error when viewing results for old ordering attempts which have no reponse details
2024-04-04 10:59:20 +08:00
Gordon Bateson
e73cdf3714
MDL-79863 qtype_ordering: qtype/ordering fix error upgrading when there are duplicate questionids in qtype_ordering_options table
2024-04-04 10:59:20 +08:00
Gordon Bateson
9805054bf2
MDL-79863 qtype_ordering: qtype/ordering fix installation error: Key column 'question' doesn't exist in table
2024-04-04 10:59:20 +08:00
Gordon Bateson
91ea960657
MDL-79863 qtype_ordering: qtype/ordering remember ordering question state when moving between pages in a quiz
2024-04-04 10:59:19 +08:00
Gordon Bateson
8c3d8529d2
MDL-79863 qtype_ordering: qtype/ordering remember ordering question state when moving between pages in a quiz
2024-04-04 10:59:19 +08:00
Gordon Bateson
b8e9026610
MDL-79863 qtype_ordering: qtype/ordering remember ordering question state when moving between pages in a quiz
2024-04-04 10:59:19 +08:00
Gordon Bateson
ad6dd4ac6c
MDL-79863 qtype_ordering: qtype/ordering remember ordering question state when moving between pages in a quiz
2024-04-04 10:59:19 +08:00
Gordon Bateson
dd5db2f3c0
MDL-79863 qtype_ordering: qtype/ordering remember ordering question state when moving between pages in a quiz
2024-04-04 10:59:19 +08:00
Gordon Bateson
1cbc814afa
MDL-79863 qtype_ordering: qtype/ordering fix typo in ordering/question.php
2024-04-04 10:59:19 +08:00
Gordon Bateson
e039ad6314
MDL-79863 qtype_ordering: qtype/ordering fix compatibility of feedback fields in Moodle 2.0
2024-04-04 10:59:18 +08:00
Gordon Bateson
e1439562b3
MDL-79863 qtype_ordering: qtype/ordering use standard methods to add feedback in edit form
2024-04-04 10:59:18 +08:00
Gordon Bateson
fddcb15d8e
MDL-79863 qtype_ordering: qtype/ordering allow images to embedded in question text and feedback
2024-04-04 10:59:18 +08:00
Gordon Bateson
9dc9201b2c
MDL-79863 qtype_ordering: qtype/ordering rename 'jquery.ui.touch-punch.js' to 'jquery-ui.touch-punch.js'
2024-04-04 10:59:18 +08:00
Gordon Bateson
a8ec72a3ad
MDL-79863 qtype_ordering: qtype/ordering rename 'jquery.ui.touch-punch.js' to 'jquery/jquery.ui.touch-punch.js'
2024-04-04 10:59:18 +08:00
Gordon Bateson
bcea1e91ba
MDL-79863 qtype_ordering: qtype/ordering try a few improvements for Moodle 2.0
2024-04-04 10:59:18 +08:00
Gordon Bateson
dc1ab5ebe0
MDL-79863 qtype_ordering: qtype/ordering rename js folder to jquery
2024-04-04 10:59:18 +08:00
Gordon Bateson
7eb3838acd
MDL-79863 qtype_ordering: qtype/ordering try a few improvements for Moodle 2.0
2024-04-04 10:59:17 +08:00
Gordon Bateson
4ff27d340b
MDL-79863 qtype_ordering: qtype/ordering replace use of $_SESSION variable with Moodle's $SESSION array
2024-04-04 10:59:17 +08:00
Gordon Bateson
e1b39df4a4
MDL-79863 qtype_ordering: qtype/ordering restrict scope of css on ordering question
2024-04-04 10:59:17 +08:00
Gordon Bateson
61500b65b6
MDL-79863 qtype_ordering: qtype/ordering fix upgrade script to check for existence of reader_question_instances before attempting to acces sit
2024-04-04 10:59:17 +08:00
Gordon Bateson
eea5d67803
MDL-79863 qtype_ordering: qtype/ordering update to latest version of JQuery (11.1) and add mouse-punch to handle drag-drop events on touchscreens
2024-04-04 10:59:17 +08:00
Gordon Bateson
96d1d5b5aa
MDL-79863 qtype_ordering: qtype/ordering update to latest version of JQuery (11.1) and add mouse-punch to handle drag-drop events on touchscreens
2024-04-04 10:59:17 +08:00
Gordon Bateson
a07a45df81
MDL-79863 qtype_ordering: qtype/ordering update to latest version of JQuery (11.1) and add mouse-punch to handle drag-drop events on touchscreens
2024-04-04 10:59:17 +08:00
Gordon Bateson
6d7355d4b7
MDL-79863 qtype_ordering: qtype/ordering always show correct answer in review mode
2024-04-04 10:59:17 +08:00
Gordon Bateson
e5e7f24f35
MDL-79863 qtype_ordering: qtype/ordering fix display of correct/wrong items for question review
2024-04-04 10:59:16 +08:00
Gordon Bateson
12472692db
MDL-79863 qtype_ordering: qtype/ordering add empty styles.css
2024-04-04 10:59:16 +08:00
Gordon Bateson
d9e73158b5
MDL-79863 qtype_ordering: qtype/ordering fix undefined passwordsaltmain in Moodle >= 2.6
2024-04-04 10:59:16 +08:00
Gordon Bateson
b60ceb1efb
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering standardize version.php and add readme.txt
2024-04-04 10:59:16 +08:00
Gordon Bateson
9e9c156b24
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering remove README.md as it is replaced by readme.txt
2024-04-04 10:59:16 +08:00
Gordon Bateson
db585fc3ea
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering standardize version.php and add readme.txt
2024-04-04 10:59:16 +08:00
Gordon Bateson
ec11f84b84
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering replace __DIR__ with dirname(__FILE__) for compatability with PHP 5.2
2024-04-04 10:59:15 +08:00
Gordon Bateson
6319c85c94
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering fix REFTABLE 'questions' -> 'question' in db/install.xml
2024-04-04 10:59:15 +08:00
Gordon Bateson
6e42736fde
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering add print_question_formulation_and_controls method required to display ordering questions in Moodle 2.0
2024-04-04 10:59:15 +08:00
Gordon Bateson
679067c9b3
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering add print_question_formulation_and_controls method required to display ordering questions in Moodle 2.0
2024-04-04 10:59:15 +08:00
Gordon Bateson
cd7f80ef5c
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering use standard message to report DB insert/update errors
2024-04-04 10:59:15 +08:00
Gordon Bateson
3a109f946a
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering use standard message to report DB insert/update errors
2024-04-04 10:59:14 +08:00
Gordon Bateson
78afb838c6
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering fix any badly formed ordering questions that were added by earlier versions of GIFT/XML import
2024-04-04 10:59:14 +08:00
Gordon Bateson
11492ba8c1
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering fix error 'logical cannot be NULL' when importing from GIFT file
2024-04-04 10:59:14 +08:00
Gordon Bateson
ea499c3fef
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering add import/export GIFT/XML
2024-04-04 10:59:14 +08:00
Gordon Bateson
234b65450f
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering increment version number to be instep with Reader module
2024-04-04 10:59:14 +08:00
Gordon Bateson
b1e158e0b5
MDL-79863 qtype_ordering: Moodle.2x question/type/ordering remove debug statements which caused scoring of ordering questions to be lower than it should be
2024-04-04 10:59:14 +08:00
Gordon Bateson
20084542b5
MDL-79863 qtype_ordering: Moodle.2x question/type/ordering use md5 instead of fraction field as id in ordering questions
2024-04-04 10:59:14 +08:00
Gordon Bateson
05a43d9094
MDL-79863 qtype_ordering: Moodle.2x question/type/ordering use md5 instead of fraction field as id in ordering questions
2024-04-04 10:59:13 +08:00
Gordon Bateson
2da308c7dd
MDL-79863 qtype_ordering: Moodle.2x question/type/ordering add first attempt at backup/restore
2024-04-04 10:59:13 +08:00
Gordon Bateson
abda90ead2
MDL-79863 qtype_ordering: Moodle.2x question/type/ordering add first attempt at backup/restore
2024-04-04 10:59:13 +08:00
Gordon Bateson
f91c9dba56
MDL-79863 qtype_ordering: Moodle.2x question/type/ordering tidy up and optimze javascript
2024-04-04 10:59:13 +08:00
Gordon Bateson
6b8ad4714e
MDL-79863 qtype_ordering: Moodle.2x question/type/ordering tidy up and optimze javascript
2024-04-04 10:59:13 +08:00
Gordon Bateson
70fd1e4bc8
MDL-79863 qtype_ordering: populate GIT repository
2024-04-04 10:59:13 +08:00
Gordon Bateson
b8d5e936e6
MDL-79863 qtype_ordering: Initial commit
2024-04-04 10:59:12 +08:00
Andrew Nicols
8d472234f8
NOBUG: mod_h5pactivity - Version bump after rewrite
2024-04-04 10:36:04 +08:00
meirzamoodle
a420f895d6
MDL-78096 tiny_media: Implement repository
2024-04-04 09:32:39 +07:00
meirzamoodle
087b286a16
MDL-78096 tiny_media: Implement external image URL
2024-04-04 09:32:39 +07:00
meirzamoodle
de026219d3
MDL-78096 tiny_media: Add a new insert image
2024-04-04 09:32:35 +07:00
Huong Nguyen
857fe04b95
Merge branch 'MDL-79131-main' of https://github.com/raortegar/moodle
2024-04-04 10:31:46 +08:00
Ilya Tregubov
ddc1c5ee9a
Merge branch 'MDL-81144-main' of https://github.com/andrewnicols/moodle
2024-04-04 10:30:37 +08:00
David Woloszyn
e169cf6188
MDL-81333 core_communication: Group room name formatting
2024-04-04 13:06:51 +11:00
Ilya Tregubov
28e441aee1
Merge branch 'MDL-73975-main' of https://github.com/sarjona/moodle
2024-04-04 08:54:12 +08:00
Sara Arjona
3ec6cab881
Merge branch 'MDL-80765-main' of https://github.com/laurentdavid/moodle
2024-04-03 17:18:42 +02:00
Sara Arjona
e1ca397f5a
Merge branch 'MDL-81419-main' of https://github.com/andrewnicols/moodle
2024-04-03 17:15:59 +02:00
Paul Holden
f04e2c5723
MDL-75037 core: update Moodlenet repository search URLs.
2024-04-03 12:58:03 +01:00
Huong Nguyen
dcd753fd37
MDL-81393 atto: Disable mediaplugin filter for Behat test
2024-04-03 18:11:22 +07:00
Andrew Nicols
794c62db58
MDL-81419 core: Ensure that frames exist before checking them
2024-04-03 15:56:08 +08:00
Mikel Martín
e9d73c5834
MDL-81400 tiny_media: Fix size inputs in image modal
...
MDL-75670 generated a regression in the insert image modal width and height inputs
that were not being displayed in a single line as before.
Modify the insert media modal template to fix it and display them in a single line again.
2024-04-03 09:31:50 +02:00
Jake Dallimore
334ec98980
MDL-81409 enrol_lti: fixes to dynamic registration to support Blackboard
...
The following fixes resolve issues when used with Blackboard Learn:
- Set registration request Content-Type header to application/json
- Make registration_token optional, per the spec:
https://www.imsglobal.org/node/200666#step-1-registration-initiation-request
- Conditionally create the deployment since it's optional in
lti-tool-configuration:
https://www.imsglobal.org/node/200666#lti-configuration-0
- Remove empty custom_parameters property, since that's optional too:
https://www.imsglobal.org/node/200666#lti-configuration-0
- Remove overly-strict validation on registration_token. This was
validating the param as a JWT, but since the spec has stabilised, this
is not always the case. It's a Bearer token that's opaque to the tool
(i.e. it's just passed back unmodified), so while it could be validated
against RFC6750, it's simplest to just remove the validation entirely.
- change targetOrigin of the postMessage to '*' as per the spec:
https://www.imsglobal.org/node/200666#step-4-registration-completed-and-activation
2024-04-03 15:27:24 +08:00
raortegar
29e7de043e
MDL-79131 core: Version bump
2024-04-03 09:09:23 +02:00
raortegar
d9f4cc11b8
MDL-79131 core: Add test for max fail delay in scheduled and adhoc task
2024-04-03 09:08:50 +02:00
raortegar
5488908538
MDL-79131 core: Hook listener callback for failed_task_max_delay
2024-04-03 09:08:50 +02:00
raortegar
10ecfa731d
MDL-79131 core: Dispatch the new Hook
2024-04-03 09:08:50 +02:00
raortegar
abefcdb09a
MDL-79131 core: Added new Hook instance for task failed max delay
2024-04-03 09:08:50 +02:00
raortegar
cc6316368e
MDL-79131 core: Added failed task message notification
2024-04-03 09:08:50 +02:00
Sara Arjona
4538be8ee1
MDL-81386 output: Fix failure in PHPUnit when running filtered tests
...
There was a data provider to get the list of the FontAwesome icons that
was initialized when running filtered tests.
It was causing some failures with filtered tests that, for instance,
called require_login and changed the course.
To avoid this failure (and also to improve the performance), the logic
to get the icons list has been moved to the test.
2024-04-03 08:52:56 +02:00
Shamim Rezaie
e02006b96e
Merge branch 'MDL-81393-main' of https://github.com/HuongNV13/moodle
2024-04-03 16:37:43 +11:00
Andrew Nicols
412fae4792
Merge branch 'MDL-80818-main' of https://github.com/aanabit/moodle
2024-04-03 13:02:40 +08:00
Andrew Nicols
14ca464910
Merge branch 'MDL-80397-main' of https://github.com/roland04/moodle
2024-04-03 12:53:03 +08:00
meirzamoodle
ef5969e794
MDL-78096 tiny_media: Deprecate the alignment
2024-04-03 11:41:09 +07:00
Simey Lameze
f9c5c6f599
MDL-81413 mod_chat: change options parameter to array
2024-04-03 11:19:39 +08:00
Huong Nguyen
8cd8838acd
Merge branch 'MDL-80838-main' of https://github.com/andrewnicols/moodle
2024-04-03 10:05:42 +07:00
Huong Nguyen
ec5d23b450
Merge branch 'MDL-81326-main' of https://github.com/sarjona/moodle
2024-04-03 09:16:02 +07:00
Huong Nguyen
db360850b9
Merge branch 'MDL-77779-main' of https://github.com/ilyatregubov/moodle
2024-04-03 09:12:13 +07:00
Huong Nguyen
5c1319b0e8
Merge branch 'MDL-81300-main' of https://github.com/roland04/moodle
2024-04-03 09:06:36 +07:00
Huong Nguyen
dfc198c928
Merge branch 'MDL-77838' of https://github.com/paulholden/moodle
2024-04-03 08:52:03 +07:00
Sara Arjona
2cfb5b8efe
MDL-81326 mod_book: Deprecate book_get_nav_classes
...
While reviewing MDL-72376, I realised book_get_nav_classes is not
used anymore in Moodle LMS since Moodle 4.0 so it should be deprecated
Probably it should have been deprecated together with book_get_nav_types.
2024-04-02 17:11:23 +02:00
Paul Holden
5c8e53478a
MDL-81406 repository_equella: correctly obtain/format profile fields.
2024-04-02 16:06:58 +01:00
Paul Holden
91297498a2
MDL-77015 mod_data: consistent escaping of template field names.
...
* When creating default templates, avoid escaping the field names
contained within [[ ]] brackets;
* When managing field, ensure the field names are escaped.
2024-04-02 15:51:18 +01:00
Paul Holden
a64c272c4b
MDL-81358 calendar: avoid hard-coded English string concatenation.
2024-04-02 15:49:03 +01:00
Sara Arjona
c188ec80be
MDL-73975 course: Remove course_search_form template
...
The template core_course/course_search_form has been removed following
its cessation of use upon MDL-69454 in Moodle 3.11.
2024-04-02 16:47:24 +02:00
Sara Arjona
8efe31ee96
MDL-73975 course: Final deprecation methods in management_renderer
...
Final deprecation for management_heading() and course_search_form()
in core_course_management_renderer.
2024-04-02 16:42:31 +02:00
Sara Arjona
4da813d35e
on-demand release 4.4dev+
2024-04-02 14:47:08 +02:00
Paul Holden
8507384ccc
MDL-78457 course: remove participants navigation if cannot access.
2024-04-02 10:03:41 +01:00
Andrew Nicols
d1613e331f
Merge branch 'MDL-79712-main' of https://github.com/snake/moodle
2024-04-02 17:43:42 +11:00
Huong Nguyen
07680ea817
Merge branch 'MDL-81366-main' of https://github.com/meirzamoodle/moodle
2024-04-02 17:43:42 +11:00
Ilya Tregubov
a6047e0fbb
Merge branch 'MDL-79959-repo-equella-sso-identification' of https://github.com/gbarat87/moodle
2024-04-02 17:43:41 +11:00
Laurent David
d8f1091a03
MDL-80765 mod_data: Trim values on field update
...
* When creating a field we usually trim values, so we should
do the same on field update
2024-04-02 05:41:14 +02:00
Jake Dallimore
30e2af60f1
MDL-79712 auth_lti: ensure MoodleSession uses SameSite=None Secure
...
The MoodleSession cookie is already set this way when using Chrome, but
not for Firefox. This is a decision made in \core\session\manager. When
Firefox eventually defaults to SameSite=Lax when the SameSite attribute
is omitted from the Set-Cookie headers, the MoodleSession cookie won't
be sent. This change ensures the cookies used during LTI launches will
continue to work if/when this happens, and despite any changes which may
be made to core's sessionlib in future.
2024-04-02 11:38:40 +08:00
Huong Nguyen
db01ae4d9d
MDL-81393 media_videojs: Switch to use Ogv.Js tech for Chrome
2024-04-02 10:24:32 +07:00
Andrew Nicols
1eef3605cc
MDL-80838 mod_forum: Use \core\clock for forum generators
2024-04-02 10:52:33 +08:00
Andrew Nicols
298c13ac3b
MDL-80838 core: Add PSR-20/Clock support
...
This commit adds the PSR-20 ClockInterface to core, with a
moodle-specific extension to the Interface at `\core\clock`, and a
standard clock at `\core\system_clock`.
Further clocks are provided as `\incrementing_clock` and `\frozen_clock`
which are available to unit tests using:
- `$this->mock_clock_with_incrementing(?int $starttime = null);`
- `$this->mock_clock_with_frozen(?int $time = null);`
For the incrementing clock, every call to fetch the time will bump the
current time by one second.
For the frozen clock the time will not change, but can be modified with:
- `$clock->set_to(int $time);`; and
- `$clock->bump(int $seconds = 1);`
2024-04-02 10:24:54 +08:00
Andrew Nicols
9bd3228d69
MDL-81144 core: Standardise init of standard_head_html_prepend hook
2024-04-02 10:23:44 +08:00
Andrew Nicols
305248f41d
MDL-81144 core: Convert before_http_headers
2024-04-02 10:23:44 +08:00
Andrew Nicols
679001e729
MDL-81144 core: Convert before_footer to hook
2024-04-02 10:23:44 +08:00
Andrew Nicols
e4a8ed5cc2
MDL-81144 core: Convert standard_after_main_region_html to hook
2024-04-02 10:23:43 +08:00
Andrew Nicols
ecd5274e74
MDL-81144 core: Convert add_htmlattributes to hook
2024-04-02 10:23:42 +08:00
Andrew Nicols
6ad9f2606f
MDL-81144 tool_mobile: Standarise hook locations
2024-04-02 10:23:42 +08:00
Andrew Nicols
e3f2b03685
MDL-81144 core: Migrate non-hook footer usages
2024-04-02 10:23:41 +08:00
Andrew Nicols
770e6b49f4
MDL-81144 core: Convert standard_footer_html to hook
2024-04-02 10:23:41 +08:00
Andrew Nicols
3105ea7dc2
MDL-81144 core: Convert before_standard_top_of_body_html to hook
2024-04-02 10:23:41 +08:00
Huong Nguyen
10e1504135
Merge branch 'MDL-81315-main' of https://github.com/mihailges/moodle
2024-04-01 10:14:06 +07:00
Huong Nguyen
1417cbb65a
Merge branch 'MDL-81347-main' of https://github.com/roland04/moodle
2024-03-29 15:51:47 +07:00
David Mudrák
eecbf7b18b
MDL-81351 lang: Use the fixed strings in the tests, too
2024-03-28 10:19:40 +01:00
Huong Nguyen
e084be6526
Merge branch 'main_MDL-81154' of https://github.com/mattporritt/moodle
2024-03-28 14:46:37 +07:00
Huong Nguyen
61c8cdaf11
Merge branch 'MDL-81365-main' of https://github.com/ilyatregubov/moodle
2024-03-28 14:31:16 +07:00
Matt Porritt
6d3d498362
MDL-81154 Administration: Remove Moodle Services page
...
This commit effectively reverts MDL-63153.
Calls to action in the UI for other products or marketing
should link directly to the corresponding services in moodle.com
rather than trying to replicate parts of it in LMS.
2024-03-28 16:57:50 +11:00
Huong Nguyen
1320a2a397
Merge branch 'main_MDL-81172' of https://github.com/mattporritt/moodle
2024-03-28 11:46:51 +07:00
meirzamoodle
ce5b7edd5c
MDL-81366 redis: Remove the named parameters
...
Unfortunately, the read_timeout named parameter was not recognized on some machines.
To avoid such errors, this patch removed the named parameter on a single Redis connect() and the Redis cluster.
2024-03-28 10:19:35 +07:00
Huong Nguyen
cb3494dcd4
Merge branch 'MDL-81222-main' of https://github.com/andrewnicols/moodle
2024-03-28 09:19:45 +07:00
Ilya Tregubov
7acfa9ddc2
Merge branch '76317-questions-improve-import-error-messages-master' of https://github.com/DSI-Universite-Rennes2/moodle
2024-03-28 10:02:20 +08:00
Huong Nguyen
bc6795074d
Merge branch 'MDL-81000-main2' of https://github.com/raortegar/moodle
2024-03-28 08:53:50 +07:00
Andrew Nicols
7233cdad81
MDL-81084 core: Provide \core\plugin_manager
...
This is just a lightweight way of providing \core\plugin_manager and
aliasing \core_plugin_manager for b/c as a pathway out of our dim and
dark ways of PSR-0 class names.
2024-03-28 09:50:15 +08:00
Andrew Nicols
5f62d5a759
MDL-81084 core: Move standard plugins to plugins.json
2024-03-28 09:31:31 +08:00
Andrew Nicols
2c57fc46b6
MDL-81084 core: Tidy up coding style for \core_plugin_manager
2024-03-28 09:31:14 +08:00
Andrew Nicols
571e951be1
MDL-81084 core: Tidy up plugin manager tests
2024-03-28 09:31:14 +08:00
Andrew Nicols
74fdb40bee
MDL-81306 core: Coding style fixes
2024-03-28 09:30:16 +08:00
Andrew Nicols
cbfa81021d
MDL-81306 core: Do not use xsendfile for request dirs
2024-03-28 09:30:16 +08:00
Andrew Nicols
15cc82b41c
MDL-81306 core: Remove docs on use of xsendfile with request dirs
...
This reverts the change made in MDL-80648 and adds a note to not do it.
2024-03-28 09:25:18 +08:00
Ilya Tregubov
9572c9bfec
Merge branch 'MDL-81335-main' of https://github.com/aanabit/moodle
2024-03-28 09:10:57 +08:00
Ilya Tregubov
5180272bd5
Merge branch 'mdl80598-master' of https://github.com/matthewhilton/moodle
2024-03-28 09:05:53 +08:00
Ilya Tregubov
9e55042be1
Merge branch 'MDL-80302-main' of https://github.com/aanabit/moodle
2024-03-28 08:58:35 +08:00
Amaia Anabitarte
0c2c00cdb8
MDL-80818 QuickForm: Freeze all elements with the same name
...
There are some radio buttons in activity Completion Conditions settings
that must be frozen altogether, because all of them have the same name.
2024-03-27 16:19:45 +01:00
Amaia Anabitarte
4a3a32b675
MDL-80302 completion: Improve default completion error tracking
...
Co-authored-by: Sara Arjona <sara@moodle.com >
2024-03-27 16:11:50 +01:00
Sara Arjona
e47b78e870
Merge branch 'MDL-80612-posix-auth' of https://github.com/brendanheywood/moodle
2024-03-27 15:58:48 +01:00
raortegar
8698a9a229
MDL-81000 core: Update "attemptsavailable" value and remove "MAX_RETRY"
2024-03-27 14:00:52 +01:00
raortegar
27a2e4969c
MDL-81000 core: increase size of "attemptsavailable" on task_adhoc table
2024-03-27 14:00:52 +01:00
Mikel Martín
95585c5484
MDL-81347 atto_image: Fix size inputs in image modal
...
MDL-75670 generated a regression in the insert image modal width and height inputs
that were not being displayed in a single line as before.
Modify the template in the atto module to fix it and display them in a single line again.
2024-03-27 13:49:56 +01:00
Mikel Martín
968ae915ee
MDL-81347 tiny_image: Fix size inputs in image modal
...
MDL-75670 generated a regression in the insert image modal width and height inputs
that were not being displayed in a single line as before.
Modify the insert image modal template to fix it and display them in a single line again.
2024-03-27 13:49:11 +01:00
Julien Boulen
735013c790
MDL-76317 questions: fix return and error message during import process
2024-03-27 13:13:21 +01:00
Julien Boulen
1ed6318d13
MDL-76317 questions: improve error message when importing invalid grades
2024-03-27 13:13:21 +01:00
Brendan Heywood
2d286ef8f8
MDL-80612 auth: Allow plugins to identify Moodle users on the CLI
2024-03-27 21:58:04 +11:00
Mikel Martín
b28f3b7666
MDL-80397 theme: Refactor card-deck class dropped in BS5
...
- Refactor recentlyaccessedcourses, starredcourses and myovervew blocks
removing card-deck helper class occurrences
- Refactor card-deck helper class occurrences with utility classes
2024-03-27 10:10:22 +01:00
Sara Arjona
f974da9c8d
Merge branch 'MDL-79671-main' of https://github.com/andrewnicols/moodle
2024-03-27 10:00:44 +01:00
Ilya Tregubov
6f41a2fbfd
MDL-81365 enrol: Fix wrong validation.
2024-03-27 15:42:20 +08:00
Andrew Nicols
68fa04cb1d
MDL-79671 editor_tiny: Add new translated strings
2024-03-27 15:02:04 +08:00
Andrew Nicols
617faffc02
MDL-79671 editor_tiny: Move readme to make it easier to maintain
2024-03-27 14:52:30 +08:00
Andrew Nicols
dcaf884d28
MDL-79671 editor_tiny: Do not show the help link in the status bar
2024-03-27 14:40:35 +08:00
Andrew Nicols
496e6c8e1f
MDL-79671 editor_tiny: Update TinyMCE to 6.8.3
2024-03-27 14:40:34 +08:00
Shamim Rezaie
278ccdb7c4
Merge branch 'MDL-81126' of https://github.com/paulholden/moodle
2024-03-27 16:59:56 +11:00
Vithusha Uthayakumar
af9e66530a
MDL-81298 external: fix typo error in failing testcase
2024-03-27 16:38:48 +11:00
Ilya Tregubov
24347e3309
Merge branch 'MDL-80828-main' of https://github.com/roland04/moodle
2024-03-27 11:14:02 +08:00
Ilya Tregubov
23913f7135
Merge branch 'MDL-80036-main' of https://github.com/mickhawkins/moodle
2024-03-27 11:07:47 +08:00
Guillaume Barat
05c23b4c70
MDL-79959 repository: Add custom field picker for SSO identification.
2024-03-27 13:07:46 +10:00
Helen Foster
dccc91f4bc
MDL-81351 lang: Import fixed English strings (en_fix)
2024-03-26 23:13:15 +01:00
Sara Arjona
7f6e7d79d6
Merge branch 'MDL-70384-main_take2' of https://github.com/lucaboesch/moodle
2024-03-26 17:19:29 +01:00
Mihail Geshoski
ae3dc21bf5
MDL-81315 grade: Ensure grade action menus do not display chevron icons
...
The grade action menu is currently using the 'core:i/moremenu' icon to
trigger the dropdown. However, the chevron icons that usually appear in
dropdown menus are not being properly excluded. Adding the '.no-caret'
css class to the dropdown trigger element will improve the default
appearance.
2024-03-26 23:25:19 +08:00
Mihail Geshoski
5c1968ae46
MDL-81315 gradereport_user: Add the missing 'Grade analysis' link
...
The following change adds the missing 'Grade analysis' link that some
activities such as quizzes, LTI external tools, etc. need so support.
The link to the relevant 'Grade analysis' page is now located in a
contextual menu within the grade column of the gradebook's user report.
2024-03-26 23:25:19 +08:00
Andrew Nicols
bb80e4f90d
MDL-80332 core: Coding style fixes
2024-03-26 22:43:12 +08:00
Andrew Nicols
c9030a8243
Merge branch 'MDL-80332-master' of https://github.com/jleyva/moodle
2024-03-26 22:10:29 +08:00
Luca Bösch
38c695cd3a
MDL-70384 mod_data: Format the forms for database activity fields.
2024-03-26 13:34:12 +01:00
sam marshall
1fb9ff333f
MDL-81359 core_courseformat: Availability 'Show more' unwelcome outing
...
If the availability restriction includes a link, then 'Show more'
always appeared even when the entire text is already shown.
2024-03-26 12:27:00 +00:00
Sara Arjona
c895def59b
on-demand release 4.4dev+
2024-03-26 12:31:36 +01:00
Jun Pataleta
35dcf18395
Merge branch 'MDL-80875-main' of https://github.com/sarjona/moodle
2024-03-26 12:05:40 +08:00
Jun Pataleta
dc3583e88b
Merge branch 'MDL-81233-main' of https://github.com/andrewnicols/moodle
2024-03-26 11:19:42 +08:00
Jun Pataleta
638de6002a
Merge branch 'MDL-80384-main' of https://github.com/junpataleta/moodle
2024-03-26 11:16:34 +08:00
Huong Nguyen
b283ca354e
Merge branch 'MDL-78551-main' of https://github.com/safatshahin/moodle
2024-03-26 10:08:06 +07:00
Jun Pataleta
da27f51bea
MDL-80384 courseformat: Set activity icon alt text on editing mode
...
From a warning using WAVE:
* The title attribute value for images that lack an alt attribute value
will be presented to screen reader users. However, providing image
content in the alt attribute typically provides better accessibility,
and should be used in most cases. The title attribute will generate a
mouse hover tooltip which may or may not be desired - this tooltip will
not be presented to touch screen or keyboard users.
2024-03-26 11:01:01 +08:00
Safat
c172dce46d
MDL-78551 core: Version bump
2024-03-26 13:53:39 +11:00
Safat
b9db825c37
MDL-78551 core: Register hook callbacks and dispatchers
2024-03-26 13:53:39 +11:00
Safat
abed8cddbf
MDL-78551 core_communication: Add hook listeners
2024-03-26 13:53:39 +11:00
Safat
fc7127e867
MDL-78551 core_access: Add support for hooks api
2024-03-26 13:53:39 +11:00
Safat
968897b653
MDL-78551 core_enrol: Add support for hooks api
2024-03-26 13:53:39 +11:00
Safat
99b7dc147f
MDL-78551 core_course: Add hooks api for course updates
2024-03-26 13:53:39 +11:00
Safat
d2c5d26190
MDL-78551 core_user: Add hooks api for user updates
2024-03-26 13:53:39 +11:00
Safat
ae8cae6d9a
MDL-78551 core_group: Add hooks api for group and membership
2024-03-26 13:53:39 +11:00
Jun Pataleta
556347c4f1
Merge branch 'MDL-81266' of https://github.com/stronk7/moodle
2024-03-26 10:34:47 +08:00
Matthew Hilton
4f35a3d73b
MDL-80598 bigbluebutton: Gracefully handle invalid customdata
2024-03-26 11:38:47 +10:00
Sara Arjona
2e318211cf
Merge branch 'MDL-81277-main' of https://github.com/laurentdavid/moodle
2024-03-25 17:15:29 +01:00
Sara Arjona
f088e9d610
Merge branch 'MDL-81246-main' of https://github.com/HuongNV13/moodle
2024-03-25 17:01:40 +01:00
Jun Pataleta
281fecbd54
Merge branch 'MDL-78885-main' of https://github.com/rezaies/moodle
2024-03-25 23:37:57 +08:00
Eloy Lafuente (stronk7)
b2131ceff7
MDL-81266 phpunit: Document the changes in lib/upgrade.txt
2024-03-25 16:21:53 +01:00
Eloy Lafuente (stronk7)
4c2f8b3a91
MDL-81266 phpunit: Remove expect(Deprecation|Notice|Warning|Error)
...
PHPUnit 9.6 has deprecated all the expect(Deprecation|Notice|Warning|Error)
assertions, so we have to move away from them.
In core, we only had 2 cases, one easily fixed by getting rid of it,
because, for php >= 80 it's an assert-able exception.
And the other replaced with code that, temporarily, sets a custom
error handler that converts any specified E_ to an asset-able
exception.
Note that tests playing with error handlers should, always, be
run in separate process, to avoid problems or conflicts with
PHPUnit / Moodle own error handlers.
2024-03-25 16:21:53 +01:00
Daniel Ziegenberg
08027e408c
MDL-81281 phpunit: assertObjectHasAttribute is deprecated
...
To be integrated as part of MDL-81266
When running PHPUnit 9.6 we get the following deprecation warnings:
"assertObjectHasAttribute() is deprecated and will be removed in PHPUnit
10. Refactor your test to use assertObjectHasProperty() instead."
So we replace all instances of assertObjectHasAttribute with
assertObjectHasProperty.
PHPUnit justifies the change with:
> PHPUnit currently refers to "fields" (see above) as "attributes". This
> is (or will become) confusing considering the introduction of
> attributes in PHP 8 and their support in PHPUnit. PHPUnit will be
> changed to use the term "property" instead of "attribute" where "field"
> is meant.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2024-03-25 16:21:45 +01:00
Daniel Ziegenberg
87267da39d
MDL-81281 phpunit: assertObjectNotHasAttribute is deprecated
...
To be integrated as part of MDL-81266
When running PHPUnit 9.6 we get the following deprecation warnings:
"assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit
10. Refactor your test to use assertObjectNotHasProperty() instead."
So we replace all instances of assertObjectNotHasAttribute with
assertObjectNotHasProperty.
PHPUnit justifies the change with:
> PHPUnit currently refers to "fields" (see above) as "attributes". This
> is (or will become) confusing considering the introduction of
> attributes in PHP 8 and their support in PHPUnit. PHPUnit will be
> changed to use the term "property" instead of "attribute" where "field"
> is meant.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2024-03-25 16:21:07 +01:00
Sara Arjona
8e1e0dbfb4
Merge branch 'MDL-80088' of https://github.com/paulholden/moodle
2024-03-25 16:20:25 +01:00
Juan Leyva
8b30632b31
MDL-80332 tool_mobile: Fallback por app launches
2024-03-25 15:48:40 +01:00
Juan Leyva
658d96f889
MDL-80332 login: New hooks for complete login and passed MFA
2024-03-25 15:48:39 +01:00
Eloy Lafuente (stronk7)
51bc492569
MDL-81266 composer: PHPUnit 9.6, Behat to 3.14 and other deps
...
Bump to PHPUnit 9.6 towards warning in advance about
stuff that will be removed for PHPUnit 10, namely:
- expect[Deprecation|Error|Notice|Warning] methods.
- assert[Object|Class][Not]Has[Static]Attribute methods.
- withConsecutive()
- TestCase::getMockClass()
- "Test" suffix for abstract test case classes.
The behat bump is only applied to 402_STABLE and up, all them
requiring PHP 8.0 as a minimum. And generated following the
instructions in the dev docs.
2024-03-25 14:33:34 +01:00
Mikel Martín
cd8a089d7a
MDL-80828 core_courseformat: Modify availability subpanel visibility
...
In the activity action menu, show only the subpanel when the options are different
than show or hide. In those cases the show/hide option will be directly displayed
in the menu instead of a subpanel.
Co-authored-by: ferran@moodle.com
2024-03-25 13:54:42 +01:00
Laurent David
d983fee151
MDL-80384 core_courseformat: Remove activty icon link
...
* Remove the link over the image icon for an activity and use
the title attribute for the tooltip
2024-03-25 13:25:56 +01:00
Laurent David
199a644d48
MDL-81277 lib: Update atto codemirror to 5.65.16
2024-03-25 13:17:58 +01:00
Mikel Martín
4e394ed4d2
MDL-81300 theme_boost: Fix dnd overlay in course sections
...
Drag and drop overlay in course page was being overlapped by divider
buttons and quick edit links.
That happens because both elements have their own z-index context.
Add z-index to the drag and drop overlay elenment to fix this issue.
2024-03-25 13:02:56 +01:00
Sara Arjona
978f7aad72
Merge branch 'MDL-79368-main' of https://github.com/roland04/moodle
2024-03-25 13:01:03 +01:00
Amaia Anabitarte
0ba23332db
MDL-81335 core_course: Fix section page for 'manageactivities' only
2024-03-25 12:46:48 +01:00
Sara Arjona
2fecfa597b
MDL-80875 uploadcourse: Fix params validation
2024-03-25 08:09:19 +01:00
Andrew Nicols
430c63b39e
MDL-80300 mod_quiz: Integration coding fixups
2024-03-25 15:07:16 +08:00
Andrew Nicols
8bd1242d78
Merge branch 'mdl-80300-main-refactor' of https://github.com/matthewhilton/moodle
2024-03-25 15:06:50 +08:00
Ilya Tregubov
d1a34c7d23
Merge branch 'MDL-63128-main' of https://github.com/meirzamoodle/moodle
2024-03-25 14:23:53 +08:00
meirzamoodle
c700e4f8a9
MDL-63128 core_cache: Add new is_cluster_available helper
...
The ::is_cluster_available() will return true if the PHP support redis cluster.
2024-03-25 12:47:40 +07:00
meirzamoodle
b7452d44de
MDL-63128 core: Add support for use redis cluster as session handler
...
Co-authored-by: Avi Levy <avi@sysbind.co.il >
2024-03-25 12:47:40 +07:00
meirzamoodle
6a28e0641e
MDL-63128 cachestore_redis: Support Redis cluster as cache store
...
Co-authored-by: Daniel Thee Roperto <daniel@theeroperto.com >
Co-authored-by: Avi Levy <avi@sysbind.co.il >
2024-03-25 12:47:40 +07:00
Jake Dallimore
7b1ff9658c
Merge branch 'MDL-79239-master' of https://github.com/ssj365/moodle
2024-03-25 12:25:51 +08:00
Andrew Nicols
c748baffc1
Merge branch 'MDL-80827-main' of https://github.com/stevandoMoodle/moodle
2024-03-25 11:43:28 +08:00
Huong Nguyen
c53fc0e0c9
Merge branch 'MDL-79829-main' of https://github.com/laurentdavid/moodle
2024-03-25 09:22:20 +07:00
Huong Nguyen
890eb4bd0b
Merge branch 'MDL-81074-main' of https://github.com/andrewnicols/moodle
2024-03-25 09:15:12 +07:00
Andrew Nicols
f1718680ce
MDL-81074 core: Simplify strftime tests
2024-03-25 09:51:25 +08:00
Luca Bösch
b2af5134b8
MDL-81074 core: align core_date::strftime results for numeric and string
2024-03-25 09:51:25 +08:00
Andrew Nicols
624a1d8169
MDL-81074 core: Add assertTimeStringMatches PHPUnit Assertion
...
Also raised as https://github.com/sebastianbergmann/phpunit/issues/5757
2024-03-25 09:51:25 +08:00
Paul Holden
8023990caf
MDL-77838 repository: preserve empty dirs in download if selected.
2024-03-22 16:21:18 +00:00
Sara Arjona
342319339f
on-demand release 4.4dev+
2024-03-22 14:03:42 +01:00
Sara Arjona
d0c545d2fb
NOBUG: Fixed file access permissions
2024-03-22 14:03:42 +01:00
Sara Arjona
fa8213c3d7
NOBUG: Fixed SVG browser compatibility
2024-03-22 14:03:38 +01:00
Jun Pataleta
f150d5016d
Merge branch 'MDL-81132-master' of https://github.com/jleyva/moodle
2024-03-22 11:57:23 +08:00
Jun Pataleta
b690ef2429
Merge branch 'MDL-81313-main' of https://github.com/snake/moodle
2024-03-22 11:47:56 +08:00
Jun Pataleta
e366db6c55
Merge branch 'MDL-80843' of https://github.com/paulholden/moodle
2024-03-22 11:34:23 +08:00
Ilya Tregubov
9f10899178
Merge branch 'MDL-80099_main' of https://github.com/marxjohnson/moodle
2024-03-22 11:07:55 +08:00
Ilya Tregubov
7e9a20640b
Merge branch 'MDL-81319' of https://github.com/stronk7/moodle
2024-03-22 09:29:38 +08:00
Ilya Tregubov
df7167a57a
Merge branch 'MDL-81023-main' of https://github.com/aanabit/moodle
2024-03-22 09:22:19 +08:00
Ilya Tregubov
59d44c30a5
Merge branch 'MDL-80715-main' of https://github.com/ferranrecio/moodle
2024-03-22 09:17:55 +08:00
Mathew May
68bf0f5b77
MDL-78885 comboboxsearch: Points from review
2024-03-22 05:50:06 +11:00
Shamim Rezaie
2ac9dc9108
MDL-78885 comboboxsearch: Deprecate trigger
2024-03-22 05:49:52 +11:00
Shamim Rezaie
c9a81b7165
MDL-78885 gradereport_grader: minor fixes to the collapse columns
2024-03-22 05:49:17 +11:00
Shamim Rezaie
893a9e43d1
MDL-78885 comboboxsearch: Some small fixes
...
- Remove aria-busy
- Remove aria-label from the listbox element. A listbox that is part of
a combobox does not need to be labelled.
- No need for the aria-label for the select all checkbox because it is
already enclosed in the <label> tag.
- Having "view results for ..." as aria-label of listbox options is not
helpful and only creates noise.
- Deprecated (viewresults,core) as it was not used anymore
- aria-hidden="true" should not be used on .d-none elements
- 'noresults' was falsely documented as a required context variable for
resultset.mustache. Not only it was not required, it was not even
provided!
- Remove duplicate code from user_selector.mustache
- Remove the redundant aria-label from search_input_auto. It already has
a label.
- Fix placeholder missing from one case
2024-03-22 04:25:01 +11:00
Shamim Rezaie
1c377fc61e
MDL-78885 comboboxsearch: Show x button when user search is not empty
2024-03-22 04:24:23 +11:00
Shamim Rezaie
c122998463
MDL-78885 comboboxsearch: Comboboxes should have a meaningful label
...
Also, used the combobox's label as the dialogue's label as well
2024-03-22 04:24:23 +11:00
Shamim Rezaie
60aa3614f4
MDL-78885 comboboxsearch: Remove the redundant rtl context variable
2024-03-22 04:24:23 +11:00
Shamim Rezaie
a320dff736
MDL-78885 aria: Add support for data-short-text
2024-03-22 04:24:23 +11:00
Shamim Rezaie
7fa36e6bf0
MDL-78885 aria: Improve focus back
...
To support the case when a combobox is inside another dropdown
2024-03-22 04:24:23 +11:00
Shamim Rezaie
50eeafeb7d
MDL-78885 comboboxsearch: Improve user search and keyboard handling
...
- Prevent rerendering of the menu when it's already open to preserve the
selected/highlighted option.
- Allow ArrowUp and ArrowDown to trigger the user search dropdown for
improved keyboard navigation.
This commit ensures that the menu is not re-rendered when it's already
open, preserving the selected option to enhance the user experience.
Additionally, ArrowUp and ArrowDown keys now trigger the dropdown,
improving keyboard navigation and user interactions.
2024-03-22 04:24:20 +11:00
Shamim Rezaie
ee5c4f8f99
MDL-78885 comboboxsearch: Reset status of filters to a zero state
...
Most of this is automatically handled by aria.js for other comboboxes.
But the search combobox inside the grade and group dropdowns are special
cases because they are not the same as the toggle element of the
dropdown.
2024-03-22 04:23:57 +11:00
Shamim Rezaie
8e2555dc48
MDL-78885 comboboxsearch: Switch event listener from 'click' to 'change'
...
Move from listening to 'click' to listening to 'change'
2024-03-22 04:23:55 +11:00
Shamim Rezaie
bff7c88878
MDL-78885 comboboxsearch: .dropdown() calls should be on toggle element
...
Introduced the toggle property.
2024-03-22 04:23:26 +11:00
Shamim Rezaie
bc6a3f5a8d
MDL-78885 comboboxesearch: user search should have value as well
2024-03-22 04:23:26 +11:00
Shamim Rezaie
b4bb1cde97
MDL-78885 comboboxesearch: Comboboxes should have a name and value
...
- core_grades_renderer::group_selector() was changed previously, but it
was providing redundant context data to
core_group/comboboxsearch/group_selector and on the other hand, it was
not providing 'name' and 'value' for core/comboboxsearch
- The $groupactionbaseurl parameter of
core_grades_renderer::group_selector() is now deprecated as it was not
used.
- a bug is fixed: if only a lastname initial was set, the clear search
button was not being displayed.
2024-03-22 04:23:25 +11:00
Shamim Rezaie
e9ec450668
MDL-78885 comboboxsearch: remove aria-activedecendant on options change
2024-03-22 04:23:22 +11:00
Shamim Rezaie
d886cba9d3
MDL-78885 comboboxsearch: Enable aria.js for auto handling
...
- Added the `dropdown` class to ensure toggle element focus when the
dropdown is closed.
- Improved keyboard handling by adding the `dropdown` class.
aria.js will automatically handle keyboard interactions.
- Removed redundant keyboard handling.
- The "view all results" option is just a normal option in a combobox.
It should not be treated as the default action for a combobox.
- Ensured correct markup for 'Esc' key handling. aria.js automatically
focuses on the toggle element if the dropdown's toggle and the
dropdown menu are wrapped within a .dropdown element.
- Implemented menu closure for outside clicks and when leaving the edit
box.
- Manually focused on the user search element when opening the search
dropdown due to a focusLock issue.
- Fix the issue of another dropdown staying open
- Clicking on the clearSearchButton should not close the dropdown
2024-03-22 04:22:24 +11:00
Shamim Rezaie
2f023f9ebe
MDL-78885 theme_boost: Revert 3a8eeedf of MDL-75274.
...
These changes that I'm undoing were not only wrong, but also not used
and were left over code.
2024-03-22 04:00:18 +11:00
Shamim Rezaie
535bfb3052
MDL-78885 aria: Fix pressing Home and End on editable comboboxes
2024-03-22 04:00:18 +11:00
Shamim Rezaie
e0d2a3924e
MDL-78885 aria: Automatically trap focus inside dialog dropdowns
...
- there is no need to set the focus after a dropdown is opened. It is
automatically set as the result of trapping focus.
2024-03-22 04:00:18 +11:00
Shamim Rezaie
d18f7bf5cd
MDL-78885 core: combobox should have a valid aria-controls
...
- The aria-controls attribute cannot refer to an element that doesn't
exist
- Also update filterDataset so it returns [] when searchTerm is empty
2024-03-22 04:00:15 +11:00
Sara Arjona
f3f514ace1
Merge branch 'MDL-80488' of https://github.com/paulholden/moodle
2024-03-21 17:30:40 +01:00
Mathew May
3cf55c3c30
MDL-78885 gradereport_singleview: Behat updates after a11y fixes
2024-03-22 03:26:22 +11:00
Mathew May
e4083441ec
MDL-78885 core_user: A11y fixes for user combobox search
...
Co-authored-by: Shamim Rezaie <shamim@moodle.com >
2024-03-22 03:26:19 +11:00
Sara Arjona
1b90202098
Merge branch 'MDL-79913' of https://github.com/paulholden/moodle
2024-03-21 17:18:11 +01:00
Sara Arjona
235c902a8e
Merge branch 'MDL-81112' of https://github.com/paulholden/moodle
2024-03-21 17:11:29 +01:00
Sara Arjona
578226b8fa
Merge branch 'MDL-72376' of https://github.com/paulholden/moodle
2024-03-21 17:00:32 +01:00
Mathew May
27c1692867
MDL-78885 gradereport_grader: Collapsing a11y fixes
2024-03-22 02:50:57 +11:00
Sara Arjona
1e1d6d8be8
Merge branch 'MDL-71734' of https://github.com/paulholden/moodle
2024-03-21 16:11:40 +01:00
Paul Holden
97a5b89317
Merge branch 'MDL-81163-main' of https://github.com/sarjona/moodle into main
2024-03-21 14:41:41 +00:00
Sara Arjona
3e2b8eed3c
Merge branch 'MDL-80636-main' of https://github.com/laurentdavid/moodle
2024-03-21 15:40:24 +01:00
Sara Arjona
f54c1b9293
Merge branch 'MDL-69688' of https://github.com/stronk7/moodle
2024-03-21 15:29:47 +01:00
Sara Arjona
484e52f6ae
Merge branch 'MDL-80245' of https://github.com/paulholden/moodle
2024-03-21 15:01:18 +01:00
Paul Holden
fbfcb6733d
MDL-80245 reportbuilder: implement interface elements for report tags.
...
Allow them to be edited during report creation/updating, display in
report listings table with filtering, and implement tag callback to
allow them to be discoverable across the site.
2024-03-21 13:11:22 +00:00
Sara Arjona
2291df7225
Merge branch 'MDL-81294-main' of https://github.com/roland04/moodle
2024-03-21 13:21:42 +01:00
Amaia Anabitarte
e0a482e3b3
MDL-81023 core_course: Move deprecated behat steps to course directory
2024-03-21 12:47:58 +01:00
Eloy Lafuente (stronk7)
7013339ce4
MDL-81319 install: update the list of stale files for 4.4
2024-03-21 10:46:01 +01:00
Paul Holden
011619dbd3
MDL-71734 lang: final removal of deprecated 400 strings.
2024-03-21 09:44:15 +00:00
Huong Nguyen
0342c13053
Merge branch 'MDL-81276-main' of https://github.com/aanabit/moodle
2024-03-21 15:27:39 +07:00
Huong Nguyen
ccefde0f53
Merge branch 'MDL-81289-main' of https://github.com/ferranrecio/moodle
2024-03-21 15:12:01 +07:00
Huong Nguyen
d1b1d9d771
Merge branch 'MDL-80835-main' of https://github.com/snake/moodle
2024-03-21 14:53:07 +07:00
Jake Dallimore
7e56b46abc
MDL-80835 auth_lti: fix bad cast breaking samesite LTI usage
2024-03-21 15:35:48 +08:00
Jake Dallimore
35e82b9fad
MDL-80835 enrol_lti: add partitioning support for OIDC state cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change ensures the
'state' cookie, used in the OIDC handshake, has partitioning support.
This cookie can be partitioned unconditionally, since it's a cookie
controlled by the library and one we don't expect to be set without
partitioning elsewhere.
2024-03-21 15:35:48 +08:00
Jake Dallimore
18e26b5abe
MDL-80835 auth_lti: add partitioning to post-auth MoodleSession cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change to auth_lti is
to ensure the MoodleSession Set-Cookie header resulting from
complete_user_login() calls (in auth.php) have this property set.
2024-03-21 15:35:48 +08:00
Jake Dallimore
aea624fcb0
MDL-80835 enrol_lti: add cookies required notice to auth login endpoint
...
This will be displayed if the cookie checks fail, which currently occurs
in Safari only.
2024-03-21 15:35:48 +08:00
Jake Dallimore
b293cb5da6
MDL-80835 enrol_lti: add partitioning support to MoodleSession cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change deals with the
cookie that is set when the user is not yet auth'd with the site and is
necessary to facilitate OIDC nonce retrieval and validation.
2024-03-21 15:35:48 +08:00
Jake Dallimore
a92f780b23
MDL-80835 auth_lti: add cookie helper facilitating CHIPS opt-in
...
To opt a cookie in to Chrome's 3rd party cookie partitioning solution,
CHIPS, the property 'Partitioned;' needs to be set. This adds a helper
class supporting this, for a given cookie(s).
Note also, PHP's native
cookie APIs (setcookie, etc) don't support this cookie property yet -
(https://github.com/php/php-src/issues/12646 ).
Since this class is intended to allow existing Set-Cookie headers to be
modified before being sent (e.g. allowing clients to set a property on a
cookie set elsewhere in code), it deals with the headers directly anyway
but it means that new cookies must also use this helper to opt-in,
instead of relying on setcookie(). E.g. where the intent is to add
partitioning support to a new cookie, that cookie must first be set
(setcookie) and then it may opt-in to partitioning via this helper;
partitioning support cannot be achieved directly through setcookie and
friends yet.
2024-03-21 15:35:48 +08:00
Eloy Lafuente (stronk7)
0f3775088f
MDL-69688 phpunit: Improve test_context_not_used
...
This adds a few changes to the old test_context_not_used test:
- Move it to become an advanced_test, because its mission
is to verify that the assertEventContextNotUsed() assertion
works as expected.
- For consistency, also move the fixtures to own phpunit fixtures.
- Add proper coverage tags, to verify that the assertion is being
covered.
- Add a data provider to provide all the current cases and ease
any future case that may be needed in the future. One by one
because previously there was code never executed with the
warning expectation causing the test to stop.
- Run them in isolation, while this is not strictly required, it's
including external fixtures and, we'll need that isolation soon
(for changes coming when moving the test to PHPUnit 9.6 in MDL-81266).
2024-03-21 08:31:08 +01:00
Ilya Tregubov
1e13aa23b6
Merge branch 'MDL-80850-main' of https://github.com/HuongNV13/moodle
2024-03-21 14:24:42 +08:00
Huong Nguyen
b0220f27cb
MDL-80850 Javascript: Add new core/dropzone module
2024-03-21 12:45:55 +07:00
Ilya Tregubov
cd2fb2fe78
Merge branch 'MDL-79668-main' of https://github.com/kevpercy/moodle
2024-03-21 12:22:58 +08:00
Huong Nguyen
6b09a619e5
Merge branch 'MDL-80923-main' of https://github.com/sarjona/moodle
2024-03-21 11:20:33 +07:00
Huong Nguyen
c8d78c8476
Merge branch 'MDL-80949-main' of https://github.com/sarjona/moodle
2024-03-21 10:58:59 +07:00
Jake Dallimore
0255500247
MDL-81313 core: Revert "Merge branch 'MDL-80338'
...
This reverts commit 40f501fb4e , reversing
changes made to 3061024726 .
2024-03-21 11:03:25 +08:00
Ilya Tregubov
45750b413e
Merge branch 'MDL-81050-main' of https://github.com/roland04/moodle
2024-03-21 10:52:39 +08:00
Paul Holden
16b73bf993
MDL-80488 mod_lesson: avoid overflowing length of page titles.
2024-03-20 23:51:12 +00:00
Paul Holden
2aba5e0ff7
MDL-81112 gradereport_grader: show user country value correctly.
2024-03-20 23:49:51 +00:00
Paul Holden
33636dc66d
MDL-72376 mod_book: final removal of deprecated navigation method.
2024-03-20 23:49:01 +00:00
Sara Arjona
be1bb3dfc3
Merge branch 'MDL-80290-task-ui' of https://github.com/brendanheywood/moodle
2024-03-20 17:12:13 +01:00
Sara Arjona
92cceb7b5f
Merge branch 'MDL-80560' of https://github.com/marinaglancy/moodle
2024-03-20 17:08:19 +01:00
Sara Arjona
9d7ab10f29
MDL-81163 course: Use component_callback for is_branded
2024-03-20 17:04:55 +01:00
Ferran Recio
fbbb86a2a6
MDL-80715 core_courseformat: delegate section and cm rename
2024-03-20 16:51:12 +01:00
Ferran Recio
c74a5439f6
MDL-80715 core_courseformat: new cm rename action
2024-03-20 16:51:12 +01:00
Ferran Recio
9d3bbe6c02
MDL-80715 core_courseformat: new section update action
2024-03-20 16:51:12 +01:00
Mark Johnson
ee952d6556
MDL-80099 quiz: Add attempt_state_changed hook
...
This creates a new hook which is dispatched when a quiz attempt is set
to a new state, or deleted. This is then used by quiz_statistics to
trigger a recalulation, replacing the old event observer (for
submissions) and class callback (for deletions).
2024-03-20 14:58:17 +00:00
Mark Johnson
9a2f82a709
MDL-80099 quiz: Replace quiz_structure_modified callback with hook
...
This adds a new structure_modified hook to mod_quiz, deprecating the
quiz_stucture_modified class callback used in
recompute_quiz_sumgrades(). The callback will be removed in Moodle 4.8.
The quiz_statsitics plugin which used this callback now defines a hook
callback instead.
2024-03-20 14:58:16 +00:00
Mark Johnson
788556f652
MDL-80099 hooks: Add mechanism to deprecate class callbacks
2024-03-20 14:58:16 +00:00
Mikel Martín
7509c3bd34
MDL-79368 theme_boost: Update screenshot image
2024-03-20 15:52:39 +01:00
Mikel Martín
5ebc01f12d
MDL-79368 theme_classic: Update screenshot image
2024-03-20 15:52:30 +01:00
Shamiso.Jaravaza
b88cf030a3
MDL-79239 mod_bigbluebuttonbn: Server cred warning
...
* Added warning messages about credentials
* Activity still accessible when using test-moodle/test-install
2024-03-20 08:51:30 -06:00
Sara Arjona
5e5f06ba68
MDL-80923 course: Replace custom element with placeholder
...
In the section settings page, replace the custom checkbox element
used for renaming with a standard input text field featuring a
placeholder.
This adjustment aims to enhance user experience by simplifying the
interaction and aligning with modern design standards.
2024-03-20 12:02:38 +01:00
Mikel Martín
1248fa7537
MDL-81294 core: Fix sticky footer height
...
In MDL-81184 a regression was generated by changing the height property
with min-height in the sticky footer. That caused unexpended behaviour
of the sticky footer being partially displayed in the course page
for small devices.
Replacing min-height with height as the original design.
2024-03-20 11:38:22 +01:00
Jun Pataleta
20a7f5a180
Merge branch 'MDL-81110-main' of https://github.com/roland04/moodle
2024-03-20 11:10:25 +08:00
Jun Pataleta
9573a6f9c1
Merge branch 'MDL-79007_main' of https://github.com/marxjohnson/moodle
2024-03-20 10:45:14 +08:00
Ilya Tregubov
39b8e198ff
on-demand release 4.4dev+
2024-03-20 08:54:40 +08:00
Ilya Tregubov
a04bd247be
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2024-03-20 08:54:36 +08:00
Amaia Anabitarte
0cf88daffd
MDL-81276 mod_scorm: Fix minimum score validation
2024-03-19 22:43:22 +01:00
ferranrecio
19af72f6ca
MDL-81289 core_courseformat: fix get_format_string params
2024-03-19 17:27:03 +01:00
Paul Holden
399be61cb9
Merge branch 'MDL-78438-main' of https://github.com/ilyatregubov/moodle into main
2024-03-19 23:18:13 +07:00
Sara Arjona
a399be5f01
Merge branch 'MDL-81073' of https://github.com/paulholden/moodle
2024-03-19 23:18:13 +07:00
Ilya Tregubov
8189d3b2f5
MDL-78438 gradereport_grader: Fix Behat test
...
Seems Oracle is too slow on pressing buttons :))
2024-03-19 23:18:13 +07:00
Huong Nguyen
5db6238c5b
Merge branch 'MDL-81156-main' of https://github.com/lameze/moodle
2024-03-19 23:18:13 +07:00
Andrew Nicols
3fb159a815
Merge branch 'MDL-77255-main' of https://github.com/HuongNV13/moodle
2024-03-19 23:18:12 +07:00
Mikel Martín
10f378a7a4
MDL-81050 course: Add behat scenarios for inline section renaming
2024-03-19 15:19:34 +01:00
Marina Glancy
c3db339f07
MDL-80560 admin: user list - show picture, download, fix identity fields
2024-03-19 12:20:35 +00:00
Mikel Martín
60a4bf5bcc
MDL-81110 theme_boost: Fix scroll-margin-top in #maincontent
...
- Fix scroll-margin-top in #maincontent element
- Add scroll-margin-top for focused elements too
2024-03-19 10:21:19 +01:00
Mikel Martín
dba1efa28e
MDL-81050 navigation: Add data attributes to sections in breadcrumbs
...
- Add a new method 'add_attribute' to navigation nodes to add HTML attributes to nodes.
- Add data-attribute to section nodes and include them in breadcrumb mustache to automatically update section titles
when sections are renamed.
2024-03-19 08:53:49 +01:00
Mikel Martín
de9c2393b2
MDL-81050 course: Propagate section name change in the content
...
Add a new feature to propagate the section name change through the
course content. Any element with data-section-name-for=<sectionid>
will automatically update the section name.
2024-03-19 08:53:49 +01:00
Mikel Martín
34ab1582cb
MDL-81050 course: Fix section renaming in section page
...
Fix section page heading title update when the section name has been
modified using inplace editable.
2024-03-19 08:53:49 +01:00
Mikel Martín
b73a685ef7
MDL-81050 output: Add new 'attributes' parameter to container
2024-03-19 08:53:49 +01:00
Michael Hawkins
7a0d9e5124
MDL-80036 core: Update security.txt expiry
2024-03-19 15:30:24 +08:00
Huong Nguyen
52c481318a
MDL-77255 block_tag_flickr: Update to match with the new API
...
Flickr dropped php_serial format, we need to change to JSON format
2024-03-19 10:14:18 +07:00
Ilya Tregubov
ef34a20e06
Merge branch 'MDL-79669' of https://github.com/Chocolate-lightning/moodle
2024-03-19 11:09:38 +08:00
Ilya Tregubov
eda139f3a0
Merge branch 'MDL-80240' of https://github.com/paulholden/moodle
2024-03-19 10:27:54 +08:00
Ilya Tregubov
d567ba9a81
Merge branch 'MDL-80919' of https://github.com/paulholden/moodle
2024-03-19 10:14:07 +08:00
Brendan Heywood
51a752fae2
MDL-80290 task: Refactor styles to be consistent
2024-03-19 13:02:39 +11:00
Brendan Heywood
40b8c75967
MDL-80290 task: Task autolink urls and emails in mtrace
2024-03-19 12:56:00 +11:00
Ilya Tregubov
87f5d69ba5
Merge branch 'MDL-78438' of https://github.com/paulholden/moodle
2024-03-19 09:46:59 +08:00
Ilya Tregubov
a4099ff9e3
Merge branch 'MDL-81188-main' of https://github.com/roland04/moodle
2024-03-19 09:22:10 +08:00
Ilya Tregubov
3f57f25af0
Merge branch 'MDL-80793' of https://github.com/OxyOCE/moodle
2024-03-19 09:10:43 +08:00
AMOS bot
12311c699c
Automatically generated installer lang files
2024-03-19 00:08:55 +00:00
Jun Pataleta
4c802f72c3
Merge branch 'MDL-81066-main' of https://github.com/sammarshallou/moodle
2024-03-19 07:23:32 +08:00
Paul Holden
ba1f9cb26c
MDL-81073 badges: better Oracle support for expiry filter.
...
Avoid the following error by casting the bound parameter:
ORA-00932: inconsistent datatypes: expected CHAR got NUMBER.
2024-03-18 19:53:29 +00:00
Laurent David
2292a50356
MDL-80636 lib: Upgrade HTML purifier moodle files
...
* Update thirdpartylibs.xml and readme_moodle.txt documentation
2024-03-18 19:35:55 +01:00
Laurent David
0079ba38f2
MDL-80636 lib: Upgrade HTML purifier to 4.17.0
2024-03-18 19:34:36 +01:00
Shamiso.Jaravaza
4a1544cfdc
MDL-79239 mod_bigbluebuttonbn: Remove DPA
...
* Removed dpa
* Plugin remains disabled by default
2024-03-18 10:53:15 -06:00
Sara Arjona
4d4007166c
Merge branch 'MDL-72923-master' of https://github.com/michael-milette/moodle
2024-03-18 16:56:54 +01:00
Sara Arjona
5879fa62d6
Merge branch 'MDL-81259' of https://github.com/paulholden/moodle
2024-03-18 16:19:01 +01:00
Sara Arjona
b52568974e
Merge branch 'MDL-81254' of https://github.com/paulholden/moodle
2024-03-18 16:08:04 +01:00
Tim Hunt
f17d5783e1
MDL-81227 question bank: improve the order of the action menu
2024-03-18 14:19:52 +00:00
sam marshall
79038ab3a3
MDL-81066 core_form: Validate form fields on submit only
2024-03-18 13:25:39 +00:00
Sara Arjona
0d7af68082
Merge branch 'MDL-81073' of https://github.com/paulholden/moodle
2024-03-18 12:43:15 +01:00
Mark Johnson
a64446c2ad
MDL-79007 calendar: Make screen readers read the new month name
2024-03-18 11:25:46 +00:00
Mark Johnson
f419983b32
MDL-79007 calendar: Make screen readers read out calendar day popovers
2024-03-18 11:25:46 +00:00
Sara Arjona
42edaba56f
MDL-80949 mod_data: Remove unused Allow autolink param for text field
2024-03-18 09:47:02 +01:00
Mikel Martín
9733ccc381
MDL-81188 form: Fix password element layout
...
MDL-75670 generated a regression in forms password element layout that was not
being displayed in a single line as before.
- Modify the password element template to display the input and the password
unmask icon in a single line.
- Change the password unmask button styles to be consistent with other
focus states.
- Modify passwordunmask behat form field to work with the new password element
layout changes.
2024-03-18 09:19:35 +01:00
Huong Nguyen
b82dbf002a
Merge branch 'MDL-80566' of https://github.com/marinaglancy/moodle
2024-03-18 10:54:36 +07:00
Jun Pataleta
b7cf80a244
Merge branch 'MDL-80279' of https://github.com/pedrojordao/moodle
2024-03-18 11:22:57 +08:00
Huong Nguyen
d3e4821bc7
Merge branch 'MDL-80206-main' of https://github.com/andrewnicols/moodle
2024-03-18 09:42:06 +07:00
Matt Porritt
66349bad3a
MDL-81172 Administration: Add recommended custom check
...
Add support for custom environment checks to have a recommended
option in addition to required an optional.
2024-03-18 12:02:54 +11:00
Matt Porritt
5d74f366a0
MDL-81172 Backup: Async Backup on by default from install
...
Enable asynchronous backup and restore on new site install.
Existing behaviour is not changed for sites being upgraded.
Behat tests have been set to use synchronous mode.
2024-03-18 12:01:50 +11:00
Paul Holden
ac4487efd2
MDL-81259 auth: always load password toggle module when required.
2024-03-17 20:35:36 +00:00
Paul Holden
7e7da9f894
MDL-79913 grade: respect messaging config for user heading buttons.
2024-03-15 17:00:22 +00:00
Marina Glancy
6fdeabd5b5
MDL-80566 user: convert callback 'bulk_user_actions' to hook
2024-03-15 17:00:00 +00:00
Paul Holden
357445b43c
MDL-81254 grade: ensure we always close the graded user iterator.
...
This ensures that the recordsets contained within are also closed
when we're done with them.
2024-03-15 14:59:11 +00:00
Huong Nguyen
757be30c39
weekly release 4.4dev+
2024-03-15 21:48:16 +07:00
Huong Nguyen
0f0a388fab
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2024-03-15 21:48:15 +07:00
Pedro Jordao
da16de2496
MDL-80279 core: Set new attributes for user profile initials
...
When the user does not have a profile photo and initials are displayed,
there is no alt text for the initials which causes accessibility
issues, so with this change I added the user's full name to the title
and aria-label attributes and I set a role='img' when the element span
is rendered.
2024-03-15 07:31:56 -03:00
Jake Dallimore
e97ce38e18
Merge branch 'MDL-80167-main-int' of https://github.com/HuongNV13/moodle
2024-03-15 12:54:24 +08:00
Jake Dallimore
78b73c45ac
MDL-81180 tool_mobile: fix typo in callback namespace
2024-03-15 12:17:07 +08:00
Huong Nguyen
388cc303f9
MDL-81246 dml: Check the statement resource before freeing it
2024-03-15 11:07:51 +07:00
Jake Dallimore
93aa177f11
Merge branch 'MDL-81180-main' of https://github.com/andrewnicols/moodle
2024-03-15 10:27:51 +08:00
Huong Nguyen
699a0e9328
MDL-80167 core: Skip Oracle for Oracle environment in unit tests
2024-03-15 08:45:42 +07:00
Ilya Tregubov
1c604c9cb4
Merge branch 'MDL-81190' of https://github.com/paulholden/moodle
2024-03-15 08:41:58 +08:00
Ilya Tregubov
505d9c2421
Merge branch 'MDL-81109-main' of https://github.com/lucaboesch/moodle
2024-03-15 08:34:34 +08:00
Matthew Hilton
3a1ea0c945
MDL-80300 mod_quiz: Updated override edit form validation
2024-03-15 08:18:56 +10:00
Matthew Hilton
68dcb5d736
MDL-80300 mod_quiz: Add quiz override webservices
2024-03-15 08:18:56 +10:00
Matthew Hilton
2c6a746578
MDL-80300 mod_quiz: Add override manager class
2024-03-15 08:18:56 +10:00
Sara Arjona
d37c305311
Merge branch 'MDL-80167-main' of https://github.com/HuongNV13/moodle
2024-03-14 11:54:52 +01:00
Sara Arjona
cc1872b143
Merge branch 'MDL-80479-main' of https://github.com/lameze/moodle
2024-03-14 11:47:48 +01:00
Huong Nguyen
6a19d3289b
MDL-80167 admin: Add environment check for Oracle database
2024-03-14 17:41:56 +07:00
Sara Arjona
39399efaf8
Merge branch 'MDL-81213-main' of https://github.com/roland04/moodle
2024-03-14 11:21:58 +01:00
Sara Arjona
4b5f957743
Merge branch 'MDL-81007-master' of https://github.com/jleyva/moodle
2024-03-14 10:37:43 +01:00
Andrew Nicols
3bf8846639
MDL-81233 core: Include phpstorm meta info
...
This allows IDEs such as phpstorm, and vscode, to determine class
information for classes returned from the DI Container.
2024-03-14 12:29:15 +08:00
Simey Lameze
f0dbf61e47
MDL-80479 behat: improve new test for quiz timer
2024-03-14 10:17:09 +08:00
Angelia Dela Cruz
955d8693bf
MDL-80479 mod_quiz: Behat to set quiz opening and closing time
2024-03-14 10:15:47 +08:00
Ilya Tregubov
e21f08abcf
MDL-77779 competency: Fix course restore from older backups.
...
overridegrade might be not set if Moodle < 4.1
2024-03-14 09:28:29 +08:00
Simey Lameze
47b4a3adcf
MDL-81156 behat: coverage for force course language
2024-03-14 09:02:21 +08:00
AMOS bot
21c6f69ed9
Merge branch 'master' into install_master
2024-03-14 00:13:23 +00:00
Tim Hunt
3c724fecad
MDL-81114 question: fix selection of random questions with draft status
...
We need to pick the latest 'ready' version of each question
(not questions where the latest version is ready).
There are test of the behaviour of random_question_loader, and
then a test in the quiz to prove it works in use.
2024-03-13 15:23:02 +00:00
Andrew Nicols
e3ea78e043
MDL-81222 core: Show all tags for a hook in summary page
2024-03-13 22:05:46 +08:00
Sara Arjona
05dd0cd384
Merge branch 'MDL-80204-master' of https://github.com/izendegi/moodle
2024-03-13 12:24:41 +01:00
Sara Arjona
6256d7c238
Merge branch 'MDL-80865' of https://github.com/paulholden/moodle
2024-03-13 12:18:46 +01:00
Mikel Martín
f8c3d1c36c
MDL-81213 theme_boost: Fix .form-control width
...
MDL-75670 generated a regression in some forms where .form-control
elements where now being displayed as full width (Bootstrap default).
- Override Bootstrap default width: 100% for .form-control elements
- Move related .custom-select same override from core.scss to forms.scss
2024-03-13 12:18:36 +01:00
Sara Arjona
6c3ad2a841
Merge branch 'MDL-80063' of https://github.com/paulholden/moodle
2024-03-13 08:41:54 +01:00
Ilya Tregubov
fd7703ff69
Merge branch 'MDL-80565-main' of https://github.com/laurentdavid/moodle
2024-03-13 11:22:23 +08:00
AMOS bot
c464c70298
Automatically generated installer lang files
2024-03-13 00:11:14 +00:00
Ilya Tregubov
70f611116d
on-demand release 4.4dev+
2024-03-13 08:10:21 +08:00
Ilya Tregubov
b8b54b6446
NOBUG: Fixed file access permissions
2024-03-13 08:10:21 +08:00
Ilya Tregubov
f4acb7dc66
NOBUG: Fixed SVG browser compatibility
2024-03-13 08:10:18 +08:00
Paul Holden
54a51e8382
MDL-80063 roles: implement roles datasource for custom reporting.
...
Comprised of existing context, role & user entities to provide all
report data.
2024-03-12 11:26:39 +00:00
Iñigo Zendegi
a840d06652
MDL-80204 lang: Polysemic lang strings to & from
...
AMOS BEGIN
CPY [to,moodle],[todate,moodle]
MOV [to,moodle],[torecipient,moodle]
CPY [from,moodle],[fromdate,moodle]
MOV [from,moodle],[fromsender,moodle]
AMOS END
2024-03-12 11:51:03 +01:00
Jun Pataleta
3c3e6fd0e2
Merge branch 'MDL-80871-main' of https://github.com/andrewnicols/moodle
2024-03-12 11:41:58 +08:00
Jun Pataleta
a0e333fb7c
Merge branch 'MDL-80896-main' of https://github.com/andrewnicols/moodle
2024-03-12 11:38:26 +08:00
Huong Nguyen
6ebe7d9efb
Merge branch 'MDL-76805-main' of https://github.com/lameze/moodle
2024-03-12 10:32:09 +07:00
Ilya Tregubov
6c9e011d32
Merge branch 'MDL-80991' of https://github.com/paulholden/moodle
2024-03-12 11:28:21 +08:00
Huong Nguyen
2bf5b05f5a
Merge branch 'MDL-80958-main' of https://github.com/mickhawkins/moodle
2024-03-12 10:26:50 +07:00
Mathew May
7a165e524c
MDL-79669 lib: Update PHP-jwt to 6.10.0
2024-03-12 11:02:32 +08:00
Andrew Nicols
9e09693da3
Merge branch 'MDL-81039' of https://github.com/timhunt/moodle
2024-03-12 11:00:12 +08:00
Shamiso.Jaravaza
0c376f04da
MDL-76805 mod_bigbluebuttonbn: Fix up behat tests
2024-03-12 10:57:03 +08:00
Andrew Nicols
9cdc5850c5
Merge branch 'MDL-75952' of https://github.com/stronk7/moodle
2024-03-12 10:45:02 +08:00
Ilya Tregubov
5c0ad525b0
Merge branch 'MDL-81035-main' of https://github.com/HuongNV13/moodle
2024-03-12 10:40:26 +08:00
Andrew Nicols
08fce52dd3
Merge branch 'MDL-72438' of https://github.com/Chocolate-lightning/moodle
2024-03-12 10:36:37 +08:00
Huong Nguyen
7f138acd43
Merge branch 'MDL-81184-main' of https://github.com/roland04/moodle
2024-03-12 09:28:27 +07:00
Ilya Tregubov
2202ed0047
Merge branch 'MDL-81127-main' of https://github.com/izendegi/moodle
2024-03-12 10:26:54 +08:00
Ilya Tregubov
0f5ebdd6ab
Merge branch 'MDL-79670-main' of https://github.com/mihailges/moodle
2024-03-12 10:22:54 +08:00
Jun Pataleta
70d4a925ac
Merge branch 'MDL-80677-main' of https://github.com/andrewnicols/moodle
2024-03-12 10:21:38 +08:00
Huong Nguyen
34bb16ab27
MDL-79769 core: Tidy up core/togglesensitive
2024-03-12 09:19:58 +07:00
Huong Nguyen
88dc0f5010
Merge branch 'MDL-79769-master' of https://github.com/davewoloszyn/moodle
2024-03-12 09:18:10 +07:00
Ilya Tregubov
ac2e60dbb8
Merge branch 'MDL-81191' of https://github.com/paulholden/moodle
2024-03-12 10:12:50 +08:00
Huong Nguyen
cb409b0cf0
Merge branch 'MDL-81124' of https://github.com/stronk7/moodle
2024-03-12 08:53:54 +07:00
Andrew Nicols
ad9322aba2
MDL-80677 core: Deprecation attribute can apply to interfaces and traits
2024-03-12 09:49:02 +08:00
Paul Holden
8cb0054340
MDL-81191 course: define batch stealth feedback language string.
2024-03-11 17:25:03 +00:00
Paul Holden
e2de6e4584
MDL-81190 mod_assign: correct context argument to format string.
2024-03-11 16:56:32 +00:00
Sara Arjona
b4ab5ae980
Merge branch 'MDL-79673' of https://github.com/paulholden/moodle
2024-03-11 17:44:48 +01:00
Sara Arjona
80fe231e74
Merge branch 'MDL-79672' of https://github.com/paulholden/moodle
2024-03-11 17:35:53 +01:00
Sara Arjona
9c444cefc6
Merge branch 'MDL-79027' of https://github.com/paulholden/moodle
2024-03-11 17:26:47 +01:00
Sara Arjona
8c29e71c39
Merge branch 'MDL-79667-main' of https://github.com/mihailges/moodle
2024-03-11 17:08:50 +01:00
Sara Arjona
e5b601c313
Merge branch 'MDL-80431' of https://github.com/marinaglancy/moodle
2024-03-11 17:01:12 +01:00
Andrew Nicols
43e2e62be4
MDL-80871 tool_usertours: Allow tours to ignore completion
...
The use-case here is for tours which must be shown on every page load.
The tour still needs to be ended for the current page, but should be
shown again on the next time the page is loaded.
2024-03-11 22:51:10 +08:00
Andrew Nicols
4d992e8cae
MDL-80871 tool_usertours: Coding style fixes
2024-03-11 22:51:10 +08:00
Andrew Nicols
d5ec9d695f
MDL-80206 core: Allow debugging to be treated as an error
2024-03-11 22:35:47 +08:00
Andrew Nicols
f09d886f11
MDL-80677 core: deprecation::from should always return
2024-03-11 21:48:32 +08:00
Andrew Nicols
57ec38d136
MDL-80677 core: Move deprecated attributes to \core\attribute NS
...
Note: Removing the manual require for the attribute from moodlelib
because the class does not have to exist at time of definition, only
when the Reflection API instantiates an instance in \core\deprecation,
by which point the autoloader is available.
2024-03-11 21:48:32 +08:00
Andrew Nicols
807da4963b
MDL-80677 core: Any feature of a deprecated class should emit
2024-03-11 21:28:50 +08:00
Andrew Nicols
d6112c0bfb
MDL-80677 core: Get deprecated item description automatically
2024-03-11 21:28:48 +08:00
Laurent David
a12a4b3a14
MDL-80565 report_loglive: Do not show logs from other groups
...
* Prevent users from seeing logs from other groups if
groupmode is in SEPARATEGROUP
2024-03-11 14:27:10 +01:00
Laurent David
e899219c20
MDL-80565 report_log: Prevent user from seeing other logs
...
* When no groups are selected we forcefully prevent
users from seeing users' logs from other groups
2024-03-11 14:27:01 +01:00
Laurent David
f92d5f9ca8
MDL-80565 report_log: Fix report log selector
...
* When using the report log and we select a group, the group
list should show the right list of users
2024-03-11 14:26:55 +01:00
Sara Arjona
6c4f8dd5df
Merge branch 'MDL-73120-main' of https://github.com/lucaboesch/moodle
2024-03-11 13:46:27 +01:00
Paul Holden
f4843f268c
MDL-81047 hook: fix typo in constructor docblock.
2024-03-11 12:31:45 +00:00
Paul Holden
3d97e8616c
Merge branch 'MDL-81047-main' of https://github.com/andrewnicols/moodle into main
2024-03-11 12:18:05 +00:00
Paul Holden
400227c0f4
MDL-73117 calendar: restore previously removed Behat step definition.
2024-03-11 12:09:27 +00:00
Paul Holden
ccc4647043
Merge branch 'MDL-73117' of https://github.com/Chocolate-lightning/moodle into main
2024-03-11 12:01:49 +00:00
Sara Arjona
0bbae218d2
Merge branch 'MDL-79664' of https://github.com/paulholden/moodle
2024-03-11 12:25:57 +01:00
Paul Holden
f45e391f72
MDL-79664 libraries: upgrade to version 6.9.1 of PHPMailer.
2024-03-11 11:03:32 +00:00
Laurent David
2e138101ff
MDL-80565 report: Revert MDL-41465 changes
...
* Partial revert of changes made in MDL-41465,
while keeping the API changes made in enrol/lib.
2024-03-11 11:00:05 +01:00
Kevin Percy
39813b1f50
MDL-79668 lib: Update Font Awesome to v6.5.1
2024-03-11 17:08:40 +08:00
Huong Nguyen
a7503b01ce
MDL-81035 core: Fix redirect with sub-path
2024-03-11 15:56:06 +07:00
Andrew Nicols
bbc98c82c0
MDL-81180 core: Add support for array notation in hook callback
2024-03-11 16:49:54 +08:00
Andrew Nicols
6231d9119d
MDL-81180 core: Fix coding violations in hook manager tests
2024-03-11 16:49:54 +08:00
Laurent David
cbe47c1cf4
MDL-79829 theme: Fix Course index draggable cursor
...
* Make the cursor consistent for drag and drop operation
to be the same in the course content and the course index
2024-03-11 09:24:25 +01:00
Laurent David
9497db441a
MDL-79829 core: Reactive drag and drop cursor
...
* When dragging and dropping an item, the cursor should be
set to "move" and not copy.
2024-03-11 09:24:25 +01:00
Mikel Martín
513a574984
MDL-81184 theme_boost: Fix sticky footer in behat
...
While in behat debug mode, because sticky footer is not fixed at
the bottom of the page, it does not have to add paddings/margins
related to the drawers.
2024-03-11 08:18:18 +01:00
raortegar
e14a950fa9
MDL-80958 tiny_premium: Improve the strings of "Tiny Premium" settings.
2024-03-11 14:56:45 +08:00
Mathew May
886d86623e
MDL-72438 question: Final deprecations
2024-03-11 13:26:18 +08:00
Mathew May
3d301abcec
MDL-73117 calendar: Final deprecation of threemonth_cal
2024-03-11 09:05:10 +08:00
Eloy Lafuente (stronk7)
361dfe8145
MDL-75952 general: Since php81, refection->setAccessible() is no-op
...
Refereces:
- https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
- https://www.php.net/manual/en/reflectionproperty.setaccessible.php
- https://www.php.net/manual/en/reflectionmethod.setaccessible.php
As of PHP 8.1.0, calling this method has no effect; all methods are
invokable by default. So, let's remove all uses from core, they are
no-op.
2024-03-10 21:15:00 +01:00
Adam Olley
5e87af8396
MDL-81182 factor_sms: Correct path for config.php require
...
Without this, the path is incorrect and can, in some circumstances (if
config.php is a symlink for one) - result in PHP requiring the config
file twice.
2024-03-10 01:04:51 +10:30
Mihail Geshoski
73ac16f4ad
MDL-79667 lib: Upgrade OpenSpout to 4.23.0
2024-03-09 22:09:47 +08:00
Adam Olley
6f81cfd479
MDL-81182 factor_email: Correct path for config.php require
...
Without this, the path is incorrect and can, in some circumstances (if
config.php is a symlink for one) - result in PHP requiring the config
file twice.
2024-03-10 00:32:34 +10:30
Tim Hunt
ff678d360a
MDL-81114 question: clarify the SQL in ensure_filtered_questions_loaded
...
This should not change the (currently buggy) behaviour at all,
but my brain needs this to understand how to fix the bug.
2024-03-08 18:34:08 +00:00
Tim Hunt
f0d92f492c
MDL-81114 question: fix coding style in random_question_loader_test
2024-03-08 18:34:08 +00:00
Eloy Lafuente (stronk7)
78b5db34a8
MDL-81124 install: Enable is_major_upgrade_required for 4.4dev
...
Setting it to 2024010400.00 that is the week when MDL-80186 landed.
2024-03-08 17:20:45 +01:00
Andrew Nicols
017e52f213
MDL-81047 core: Standardise init of before_standard_head_html_generation
2024-03-08 23:56:40 +08:00
Andrew Nicols
0a30867cdf
MDL-81047 core: Rename standard_head_html_prepend hook
...
This commit updates the name of the standard_head_html_prepend hook to
meet coding style agreed in MDL-79077.
2024-03-08 23:56:39 +08:00
Marina Glancy
36c91ff907
MDL-80431 forms: do not use fieldset tag without a legend
2024-03-08 15:02:15 +00:00
Paul Holden
8fc9d3e242
Merge branch 'MDL-81128-main' of https://github.com/davidcerezal/moodle into main
2024-03-08 14:50:24 +00:00
Luca Bösch
060f9714d2
MDL-81109 themes: Remove double lines between indented activities.
2024-03-08 13:36:07 +01:00
Luca Bösch
181bfa417b
MDL-73120 mod_h5pactivity: Precisely define the "grade" lang string.
...
AMOS BEGIN
MOV [grade_h5p,mod_h5pactivity],[gradenoun_h5p,mod_h5pactivity]
AMOS END
2024-03-08 13:35:45 +01:00
Iñigo Zendegi
6868ee3ecd
MDL-81127 filter: Support filters on course completion message
2024-03-08 13:28:54 +01:00
Mihail Geshoski
76e44acb83
MDL-79670 media_videojs: Upgrade YouTube Playback for VideoJS to 3.0.1
2024-03-08 18:23:52 +08:00
Mihail Geshoski
02d3e12c75
MDL-79670 media_videojs: Upgrade VideoJS to 8.10.0
2024-03-08 18:14:19 +08:00
Sara Arjona
38a3310c92
on-demand release 4.4dev+
2024-03-08 11:13:56 +01:00
David Cerezal
1ded2b9d48
MDL-81128 reportbuilder: use specific step instead workaround
2024-03-08 10:33:15 +01:00
Juan Leyva
ca8f197148
MDL-81132 mod_forum: Perforance improvements for app
2024-03-08 10:08:19 +01:00
Ilya Tregubov
ae9972e108
Merge branch 'MDL-78547-main-phpunit' of https://github.com/HuongNV13/moodle
2024-03-08 13:45:29 +08:00
Huong Nguyen
57610d2bd9
MDL-78547 quiz: Remove unnecessary call to clear_regrade_date_cache()
...
This method is designed to clear the values but these values are never set anywhere
It's safe to remove it out of the test now
2024-03-08 12:38:30 +07:00
David Woloszyn
cd935eb3e2
MDL-79769 login: Fix focus loss of loginpageautofocus setting
...
Added new form event to fix login fields focus loss when DOM is
manipulated by togglesensitive.
2024-03-08 15:54:37 +11:00
David Woloszyn
cb6acfc46a
MDL-79769 login: Add password toggle icon to the login screen
2024-03-08 15:54:11 +11:00
Huong Nguyen
585c3d189c
Merge branch 'MDL-80235-main' of https://github.com/aanabit/moodle
2024-03-08 10:39:59 +07:00
Huong Nguyen
ed37c6e389
Merge branch 'MDL-81082' of https://github.com/paulholden/moodle
2024-03-08 10:27:40 +07:00
Ilya Tregubov
24e42ed7d1
Merge branch 'MDL-79044-main' of https://github.com/geichelberger/moodle
2024-03-08 11:15:16 +08:00
Huong Nguyen
826a3a2401
Merge branch 'MDL-81123-main' of https://github.com/andrewnicols/moodle
2024-03-08 10:12:47 +07:00
Huong Nguyen
2830de44c2
Merge branch 'MDL-81046-main' of https://github.com/andrewnicols/moodle
2024-03-08 10:06:56 +07:00
Ilya Tregubov
736d102dda
Merge branch 'MDL-80550' of https://github.com/paulholden/moodle
2024-03-08 11:05:17 +08:00
Huong Nguyen
7701e6a079
Merge branch 'MDL-78547' of https://github.com/timhunt/moodle
2024-03-08 08:51:57 +07:00
Ilya Tregubov
b05ca81d6e
Merge branch 'MDL-80856-main' of https://github.com/roland04/moodle
2024-03-08 09:42:25 +08:00
Ilya Tregubov
96c9fd4b16
MDL-80943 reportbuilder: Fix bad conflict resolution.
2024-03-08 09:35:55 +08:00
Ilya Tregubov
82859f1848
Merge branch 'MDL-80943' of https://github.com/paulholden/moodle
2024-03-08 09:21:44 +08:00
Jun Pataleta
3278ce7aba
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle
2024-03-08 08:00:41 +08:00
Sara Arjona
763591fad0
Merge branch 'MDL-81089-master' of https://github.com/jleyva/moodle
2024-03-07 17:54:52 +01:00
Paul Holden
04b52b043c
Merge branch 'MDL-80703' of https://github.com/Chocolate-lightning/moodle into main
2024-03-07 16:52:00 +00:00
Sara Arjona
46e6d412bf
Merge branch 'MDL-80634' of https://github.com/paulholden/moodle
2024-03-07 17:47:20 +01:00
Juan Leyva
d271925d56
MDL-81089 calendar: Return if module is branded
2024-03-07 17:32:37 +01:00
Juan Leyva
1e87c997df
MDL-81089 block_recentlyaccesseditems: Return module branded
2024-03-07 17:32:37 +01:00
Sara Arjona
df43fec08c
Merge branch 'MDL-81133-master' of https://github.com/jleyva/moodle
2024-03-07 17:15:17 +01:00
Tim Hunt
e008a85689
MDL-78547 quiz: fix how deprecated add random calls structure
2024-03-07 16:14:47 +00:00
Tim Hunt
3020d180d8
MDL-78547 quiz: in a preview, if a question has been edited, update it
...
As part of implementing this, there is a new more efficient method
get_version_information_for_questions_in_attempt to see if any
questions in a quiz need to be updated. The regrade code was updated
to take advantage of this.
Co-authored-by: Khoa Nguyen Dang <khoanguyend7@nashtechglobal.com >
2024-03-07 16:14:47 +00:00
Tim Hunt
05da465b7c
MDL-78547 questions: a way to replace a attempt in a usage
...
... without keeping the old attempt
Co-authored-by: Khoa Nguyen Dang <khoanguyend7@nashtechglobal.com >
2024-03-07 16:14:47 +00:00
Sara Arjona
8ac84014fc
Merge branch 'MDL-81054-master' of https://github.com/jleyva/moodle
2024-03-07 17:10:47 +01:00
Sara Arjona
307d5e8c04
Merge branch 'MDL-81065-master' of https://github.com/jleyva/moodle
2024-03-07 17:01:55 +01:00
Juan Leyva
99e05104a2
MDL-81054 tool_dataprivacy: Return download link for data exports
2024-03-07 16:55:27 +01:00
Andrew Nicols
451e33c18c
MDL-81011 core_course: Update new course hooks to use attributes
...
These hooks landed in the past week. Updating them to use the new
attributes.
2024-03-07 16:45:38 +01:00
Juan Leyva
f693e84ff5
MDL-81065 core_filters: New WS core_filters_get_all_states
2024-03-07 15:52:07 +01:00
Paul Holden
2f9001cbe9
MDL-81073 badges: implement badge entity version/expiry filtering.
...
Add the same to the manage badges report, plus pre-existing version
column.
2024-03-07 14:38:23 +00:00
Juan Leyva
871aa5e978
MDL-65978 blog: Fix unit tests (remove hardcoded entry ids)
2024-03-07 13:46:07 +01:00
Juan Leyva
be78d4c94a
MDL-81133 tool_mobile: Add new features supported by app
2024-03-07 13:13:24 +01:00
Sara Arjona
6f81ace5a8
Merge branch 'MDL-81011-main' of https://github.com/andrewnicols/moodle
2024-03-07 12:20:01 +01:00
Paul Holden
04f54d8eb0
MDL-80634 libraries: upgrade to version 4.4.2 of ChartJS.
2024-03-07 11:11:14 +00:00
Sara Arjona
75b3d24eba
Merge branch 'MDL-69656-fix' of https://github.com/sarjona/moodle
2024-03-07 12:05:12 +01:00
Sara Arjona
c799ea5e21
MDL-69656 backup: Remove illegal whitespaces
2024-03-07 12:01:35 +01:00
Juan Leyva
fc0f94626e
MDL-65978 blog: Fix removing associations
2024-03-07 11:58:22 +01:00
Andrew Nicols
2b7754ccc2
MDL-81011 core: Add attribute alternative to hooks interfaces
...
This change replaces the requirement for:
- \core\hook\deprecated_callback_replacement
- \core\hook\described_hook
These are replaced by appropriate Attributes.
2024-03-07 18:56:05 +08:00
Mark Johnson
a5a25988dc
MDL-79007 calendar: Expose block month link names to screen readers
2024-03-07 10:39:38 +00:00
Sara Arjona
d92f86635b
Merge branch 'MDL-65978-master' of https://github.com/jleyva/moodle
2024-03-07 10:15:18 +01:00
Huong Nguyen
b95854758e
Merge branch 'MDL-79990-main' of https://github.com/lameze/moodle
2024-03-07 10:04:10 +07:00
Jun Pataleta
f364dd5e40
Merge branch 'MDL-81044-main' of https://github.com/andrewnicols/moodle
2024-03-07 11:02:05 +08:00
Ilya Tregubov
fd7a6b4f45
Merge branch 'MDL-80460-main-fix' of https://github.com/lameze/moodle
2024-03-07 10:48:31 +08:00
Simey Lameze
8068912aef
MDL-80460 behat: use the correct section name
2024-03-07 10:22:34 +08:00
Sara Arjona
b10a9ec30c
MDL-80920 course: Add behat step supporting section number
...
The selector "I am on the "Course > Section" "course > section" page
has been improved to also support section number.
When "Section x" is given, and there is no section with this name,
section number "x" is used.
2024-03-07 09:56:24 +08:00
Simey Lameze
503cd95b9f
MDL-79990 behat: custom step to verify assign grading data
...
This commit also optimise the new behat test.
2024-03-07 09:43:53 +08:00
Ilya Tregubov
a6fd25485e
Merge branch 'MDL-80342' of https://github.com/paulholden/moodle
2024-03-07 08:51:25 +08:00
Ilya Tregubov
cd85552e38
Merge branch 'MDL-80460-main' of https://github.com/sarjona/moodle
2024-03-07 08:41:42 +08:00
Angelia Dela Cruz
87f413b4d6
MDL-79990 gradingform: Behat test for marking guide information display
2024-03-07 08:21:14 +08:00
Paul Holden
47790ea315
MDL-80245 tag: allow for tags filter to operate in component mode.
...
This allows the filter to be more easily re-used for component system
reports that want to filter by their own tags.
2024-03-06 20:31:07 +00:00
Paul Holden
a1f064339d
MDL-80245 reportbuilder: define custom report tags area.
2024-03-06 20:31:07 +00:00
Andrew Nicols
44e6d7d9e0
Merge branch 'MDL-79750' of https://github.com/ssj365/moodle
2024-03-06 23:26:45 +08:00
Andrew Nicols
9f91e1cc48
Merge branch 'MDL-69656-master' of https://github.com/sh-csg/moodle
2024-03-06 23:23:13 +08:00
Sara Arjona
fed26847b4
MDL-80460 behat: Fix tests to replace Topic with Section
...
The behat tests using the course format topics have been reviewed to:
- Add the 'inisections' parameter where necessary, facilitating automatic
renaming of section names.
- Evaluate failing tests due to slight changes in ordering. Notably, in
the topics format, sections are now uniformly named 'New section' without
any numbering.
2024-03-06 15:25:22 +01:00
Sara Arjona
076aead150
MDL-80460 format_topics: Replace name from "Topic X" with "New section"
...
From now on, the default section name for the topics course format is
"New section" instead of "Topic x" (where x was the section number).
A new item, initsections, has been added to the create_course() function
in the testing_data_generator class, to let the generator rename the
sections to "Section X"
AMOS BEGIN
CPY [sectionname,format_topics],[legacysectionname,format_topics]
AMOS END
2024-03-06 15:25:22 +01:00
Michael Milette
9c8f09e2d9
MDL-72923 message: Fixed levels of headings in messaging drawer.
2024-03-06 07:29:17 -05:00
Paul Holden
4bd8f3a0dc
MDL-80943 reportbuilder: select-type customfields should be text.
...
The column type determines the available aggregation options present
for the column. Custom fields of type "select" should be considered as
text fields for this purpose, because their stored value represents
the index to their available options, rather than having any distinct
meaning of it's own for display.
2024-03-06 10:34:45 +00:00
Shamiso.Jaravaza
586d48f3a5
MDL-79750 mod_bigbluebuttonbn: set SHA256 checksum
2024-03-06 00:50:42 -07:00
Mathew May
2f0247643f
MDL-80703 block_calendar_upcoming: Final deprecation upcoming content
2024-03-06 15:40:29 +08:00
Stefan Hanauska
a0d501463a
MDL-69656 backup: Replace urlencoded pluginfile urls
2024-03-06 07:37:17 +01:00
Andrew Nicols
9e16225864
Merge branch 'MDL-80183' of https://github.com/paulholden/moodle
2024-03-06 14:04:30 +08:00
Ilya Tregubov
3123eb1d9f
Merge branch 'MDL-80900' of https://github.com/ilyatregubov/moodle
2024-03-06 13:51:21 +08:00
Tim Hunt
76bcbc5ddb
MDL-80900 quiz: refine attempt summary
...
* Move State to above all the times, rather than in the middle.
* Changed 'Completed on' to 'Completed' and 'Submitted on' to 'Submitted'.
2024-03-06 13:50:43 +08:00
Andrew Nicols
2ad6cd5291
Merge branch 'MDL-80646-main' of https://github.com/mihailges/moodle
2024-03-06 13:21:52 +08:00
Ilya Tregubov
8e99589f77
Merge branch 'MDL-80880' of https://github.com/timhunt/moodle
2024-03-06 13:16:42 +08:00
Andrew Nicols
928344403d
Merge branch 'MDL-79675-main-v6' of https://github.com/snake/moodle
2024-03-06 13:00:00 +08:00
Huong Nguyen
d61d607548
Merge branch 'MDL-80241' of https://github.com/paulholden/moodle
2024-03-06 09:23:32 +07:00
Huong Nguyen
ecf44c0b95
Merge branch 'MDL-79278-master' of https://github.com/andelacruz/moodle
2024-03-06 09:12:53 +07:00
Angelia Dela Cruz
6e6caf1fe7
MDL-79278 mod_quiz: Teacher can set how quiz questions behave behat
...
Co-authored-by: Simey Lameze <simey@moodle.com >
2024-03-06 09:40:02 +08:00
Jake Dallimore
c043c180de
MDL-79675 enrol_lti: fix mocks depending on previously untyped props
...
When $launch_id wasn't typed, it was ok to call the getter, but now
that it is, php throws an error. Replaced with stub method.
2024-03-06 08:44:14 +08:00
Jake Dallimore
4fda419e88
MDL-79675 enrol_lti: fix class instantiation after library upgrade
2024-03-06 08:44:14 +08:00
Jake Dallimore
7c9fb5d89b
MDL-79675 enrol_lti: fix client implementation signatures after upgrade
...
Not strictly required due to contravariance, but nice for readability.
2024-03-06 08:44:14 +08:00
Jake Dallimore
73ce114066
MDL-79675 enrol_lti: fix deep linking return after library removals
2024-03-06 08:44:14 +08:00
Jake Dallimore
2a783ec964
MDL-79675 enrol_lti: fix JWKS generation after library removals
2024-03-06 08:44:14 +08:00
Jake Dallimore
eb94b5677c
MDL-79675 enrol_lti: fix login redirection after library deprecations
...
v5.7.0 changed this process. Now, we just fetch the URL and do our own
redirect.
https://github.com/packbackbooks/lti-1-3-php-library/releases/tag/v5.7.0
2024-03-06 08:44:14 +08:00
Jake Dallimore
f7c12a372d
MDL-79675 enrol_lti: migrate validate() calls to initialize() per v6.0.0
...
Calls to validate() have been replaced in v6.0.0.
https://github.com/packbackbooks/lti-1-3-php-library/releases/tag/v6.0.0
2024-03-06 08:44:14 +08:00
Jake Dallimore
7560375ad6
MDL-79675 enrol_lti: replace ImsCookie use with local implementation
...
The default implementation, previously included with the library, is no
longer shipped there. Clients must provide their own implementation of
the ICookie interface instead.
2024-03-06 08:44:14 +08:00
Jake Dallimore
63569a4776
MDL-79675 libraries: upgrade lti1p3 to v6.0.0
2024-03-06 08:44:07 +08:00
David Mudrák
6c8d27b789
MDL-80160 admin: Fix site admins selector UI if the list is hardcoded
...
If the list of site admins was defined in the config.php, the UI to
select / modify admins never worked. But there was no indication of the
reason which was unexpected and confusing.
2024-03-05 23:30:04 +01:00
Amaia Anabitarte
43099744c3
MDL-80235 mod_scorm: Required minimum score should be >0
2024-03-05 18:43:32 +01:00
Paul Holden
d3a63252d6
Merge branch 'MDL-80620-main' of https://github.com/roland04/moodle into main
2024-03-05 14:39:02 +00:00
Sara Arjona
debcea9cbc
Merge branch 'MDL-80930-main' of https://github.com/raortegar/moodle
2024-03-05 15:24:45 +01:00
Paul Holden
3ee5aa3012
Merge branch 'MDL-80914-main' of https://github.com/mihailges/moodle into main
2024-03-05 14:07:57 +00:00
Andrew Nicols
73e4e636b3
Merge branch 'MDL-80731' of https://github.com/paulholden/moodle
2024-03-05 22:03:53 +08:00
Andrew Nicols
94177ec2da
MDL-80749 core: Tidy up task tests
2024-03-05 21:18:54 +08:00
Andrew Nicols
30bfb5fe81
Merge branch 'MDL-80749-main' of https://github.com/HuongNV13/moodle
2024-03-05 21:18:44 +08:00
Paul Holden
24e0b7369b
Merge branch 'MDL-73426-main' of https://github.com/sarjona/moodle into main
2024-03-05 13:04:40 +00:00
Sara Arjona
67a1d0b639
MDL-73426 badges: Final deprecation for print_badge_tabs
2024-03-05 13:25:02 +01:00
Tim Hunt
a57d88b383
MDL-80880 quiz: change display of previous attempts summary
...
Rather than a table (neither reponsive nor very accesible) we now
represent a student's previous attempts with cards. The content
of the cards is now the same table as at the top of the review
attempt page.
2024-03-05 12:02:11 +00:00
Tim Hunt
8feeacc425
MDL-80880 quiz: summary of an attempt output changed to a templateable
...
The new class is attempt_summary_information. Switching to using this
has required some rendere methods to be changed. See upgrade.txt.
2024-03-05 12:02:11 +00:00
Paul Holden
3ecb9b8ec0
MDL-80991 files: consistent display of filepicker accepted types.
2024-03-05 11:51:47 +00:00
Paul Holden
6eb1688887
MDL-81126 reportbuilder: relative date filter for after given period.
...
This is the inverse of the "before" date filter added in 198db552 .
2024-03-05 11:51:00 +00:00
Paul Holden
d995caab80
MDL-78438 gradereport_grader: use lang string for collapsed columns.
2024-03-05 11:41:52 +00:00
Sara Arjona
b2fa19f45d
on-demand release 4.4dev+
2024-03-05 11:22:44 +01:00
Andrew Nicols
6c7c5356a7
MDL-81123 tiny_html: Make empty codemirror region clickable
2024-03-05 14:08:23 +08:00
Mihail Geshoski
4753cf3a36
MDL-80646 mod_lti: Enable key and secret configuration in legacy tools
...
When restoring a manually configured tool to a different site, the key
and secret are not being restored, which is an expected behaviour.
However, legacy (pre-4.3) manually configured tools do not have the
option to configure the key and secret, which makes these instances
unusable. To make sure these tools will continue working after a backup
and restore, we need to re-enable the key and secret fields in the
legacy instance settings form.
2024-03-05 13:23:02 +08:00
Huong Nguyen
084fa3fb15
Merge branch 'MDL-77980' of https://github.com/paulholden/moodle
2024-03-05 10:55:47 +07:00
Jun Pataleta
59c7fcbfea
Merge branch 'MDL-80819' of https://github.com/stronk7/moodle
2024-03-05 11:50:23 +08:00
Huong Nguyen
32b445a47c
Merge branch 'MDL-80836-main' of https://github.com/snake/moodle
2024-03-05 10:23:59 +07:00
Ilya Tregubov
dcc9324b68
Merge branch 'MDL-78850-main' of https://github.com/meirzamoodle/moodle
2024-03-05 11:23:17 +08:00
Jun Pataleta
e3160bfd16
Merge branch 'MDL-80548' of https://github.com/marinaglancy/moodle
2024-03-05 10:53:12 +08:00
Mihail Geshoski
f61a764d16
MDL-80914 mod_lti: Custom parameter configuration in the instance form
...
Re-enables the configuration of custom parameters when creating or
modifying a tool instance in a course.
2024-03-05 10:13:51 +08:00
Huong Nguyen
5a7caff558
Merge branch 'MDL-80866-main' of https://github.com/sarjona/moodle
2024-03-05 09:05:50 +07:00
Sara Arjona
b25d295d3a
Merge branch 'MDL-80553-main' of https://github.com/ferranrecio/moodle
2024-03-04 16:13:11 +01:00
Sara Arjona
e1034deb8b
Merge branch 'MDL-75670-main' of https://github.com/roland04/moodle
2024-03-04 16:05:18 +01:00
Paul Holden
b0f02b0eb0
MDL-80240 gradereport_grader: fix userfields parameter to search sql.
2024-03-04 14:43:30 +00:00
Marina Glancy
d395925a40
MDL-80548 admin: Add bulk user actions also to user list
2024-03-04 12:14:45 +00:00
Paul Holden
4e9b6c78b8
MDL-77980 gradereport_grader: link to each activity in table heading.
...
* The activity link is now always it's view.php page;
* The user fields in the grader report are now initially sorted via the
cell action menu (ascending/descending).
2024-03-04 11:21:09 +00:00
Paul Holden
38bfc2620b
MDL-79672 libraries: upgrade to version 2.6.0 of FPDI.
2024-03-04 10:44:59 +00:00
Paul Holden
1488a71d90
MDL-79027 block_myoverview: retrieve only course related custom fields.
2024-03-04 10:39:08 +00:00
Huong Nguyen
c068b01a1a
MDL-80749 adhoc_task: Update failed ad-hoc tasks cleanup
...
Update the task to use firststartingtime instead of timestarted
2024-03-04 10:17:14 +07:00
Huong Nguyen
17c01d9d74
MDL-80749 adhoc_task: Log the first starting time of the task
2024-03-04 10:17:09 +07:00
raortegar
f53d1f768a
MDL-80930 core: Course delete modules task handle non deletable cms
2024-03-01 13:08:41 +01:00
Sara Arjona
b2e5f3e746
MDL-80866 phpunit: Fix failures after disabling Chat and Survey
2024-03-01 11:41:50 +01:00
Sara Arjona
0b3b739370
MDL-80866 behat: Fix failures after disabling Chat and Survey
2024-03-01 11:41:50 +01:00
Sara Arjona
e422045d92
MDL-80866 mod: Disable Chat and Survey for new installations
2024-03-01 11:41:50 +01:00
Jun Pataleta
debed3eace
weekly release 4.4dev
2024-03-01 12:24:23 +08:00
Jun Pataleta
346778bff4
NOBUG: Fixed SVG browser compatibility
2024-03-01 12:24:22 +08:00
Jun Pataleta
5613b9d539
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2024-03-01 12:24:21 +08:00
Juan Leyva
166afa05fe
MDL-65978 blog: New WS core_blog_update_entry
2024-02-29 16:18:21 +01:00
Juan Leyva
4b3bda1657
MDL-65978 blog: New WS prepare_entry_for_edition
2024-02-29 16:18:21 +01:00
Juan Leyva
b43b16c358
MDL-65978 blog: New WS core_blog_delete_entry
2024-02-29 16:18:21 +01:00
Juan Leyva
5a679bffd2
MDL-65978 blog: New WS core_blog_add_entry
2024-02-29 16:18:21 +01:00
Juan Leyva
b6b2077e60
MDL-65978 blog: New WS core_blog_get_access_information
2024-02-29 16:18:21 +01:00
Juan Leyva
98daf57a8d
MDL-65978 blog: Preparatory API changes
2024-02-29 16:18:21 +01:00
Mikel Martín
d0d62fd06c
MDL-75670 theme: Refactor form-inline helper class dropped in BS5
...
- Replace .form-inline Bootstrap helper class with .d-flex.flex-wrap.align-items-center
- Refactor .form-inline occurrences in SCSS files or remove when unneeded
2024-02-29 13:56:46 +01:00
Mikel Martín
4ce883ae21
MDL-75670 theme: Refactor form-group helper class dropped in BS5
...
- Replace .form-group Boostrap helper class with .mb-3. The .form-group class was only
adding margin bottom styles, so it is an straightforward change.
- Replace .form-group references in SCSS files with .fitem now .form-group has been removed.
- There were some other .form-group occurrences in the code that were using it not for styling
but incorrectly for managing some logic. These have been also replaced with .fitem or removed.
2024-02-29 13:55:37 +01:00
Sara Arjona
1f4928bcd6
Merge branch 'MDL-78447-main-fix' of https://github.com/HuongNV13/moodle
2024-02-29 10:13:19 +01:00
Huong Nguyen
366400a48f
MDL-78447 tool_generator: Fix PHP 8.2 dynamic properties
2024-02-29 15:29:24 +07:00
Sara Arjona
a7fa6fbbb2
Merge branch 'MDL-80391-master-int' of https://github.com/stevandoMoodle/moodle
2024-02-29 08:08:50 +01:00
Meirza
edce8cca8b
MDL-78850 calendar: course calendar improvement
2024-02-29 12:48:56 +07:00
meirzamoodle
99941c0d13
MDL-78850 course: allow to show/hide the course index drawer
...
This new API makes it easy for the developer to hide or show the course index drawer.
2024-02-29 12:48:48 +07:00
Stevani Andolo
ec7bd6035c
MDL-80391 tiny_html: Fixed multi modal layer display
2024-02-29 12:53:21 +08:00
Jun Pataleta
48049499d2
Merge branch 'MDL-46886-main' of https://github.com/meirzamoodle/moodle
2024-02-29 11:54:42 +08:00
Huong Nguyen
1c11531ab7
Merge branch 'MDL-80364' of https://github.com/pedrojordao/moodle
2024-02-29 10:44:39 +07:00
Víctor Déniz Falcón
14cd15dfab
MDL-46886 core_enrol: unenrolment due to inactivity notification
2024-02-29 10:11:35 +07:00
Huong Nguyen
3020fac005
Merge branch 'MDL-80736_main' of https://github.com/marxjohnson/moodle
2024-02-29 09:54:06 +07:00
Simey Lameze
3406032a3d
MDL-68674 behat: make content bank steps more specific
2024-02-29 09:40:45 +07:00
Ilya Tregubov
2909651aff
Merge branch 'MDL-80080-unset-logintoken' of https://github.com/brendanheywood/moodle
2024-02-29 10:40:00 +08:00
Ilya Tregubov
82af08a4b0
Merge branch 'MDL-78447-tool-generator-progress' of https://github.com/brendanheywood/moodle
2024-02-29 10:27:49 +08:00
Andrew Nicols
d9c6bca91f
Merge branch 'MDL-81042-main' of https://github.com/micaherne/moodle
2024-02-29 09:21:22 +08:00
Eloy Lafuente (stronk7)
29a541724f
MDL-65292 style: Fix all the function declaration ordering
...
This has been generated running the following Sniff,
part of the Moodle's CodeSniffer standard:
- PSR2.Methods.MethodDeclaration
It just ensures all the function declarations have
the correct order for:
- abstract and final.
- visibility (public, protected, private).
- static.
So, all the lines modified by this commit are function declarations
and the only changes are in the positions of those keywords.
2024-02-28 23:47:47 +01:00
Eloy Lafuente (stronk7)
ba1f804ffa
MDL-65292 style: Fix all function declarations white space
...
This has been generated running the following Sniffs, all
them part of the Moodle's CodeSniffer standard:
- PSR12.Functions.ReturnTypeDeclaration
- PSR12.Functions.NullableTypeDeclaration
- moodle.Methods.MethodDeclarationSpacing
- Squiz.Whitespace.ScopeKeywordSpacing
All them are, exclusively, about correct spacing, so the changes
are, all them, only white space changes.
Only exceptions to the above are 3 changes what were setting the
return type in a new line, and, when that happens, the closing
parenthesis (bracket) has to go to the same line than the colon.
2024-02-28 23:33:26 +01:00
Sara Arjona
93731ed096
Merge branch 'MDL-80391-main' of https://github.com/stevandoMoodle/moodle
2024-02-28 17:09:43 +01:00
Sara Arjona
a6b2aa021a
Merge branch 'mdl-80917-main' of https://github.com/Fragonite/moodle
2024-02-28 16:44:13 +01:00
Sara Arjona
0da6228503
Merge branch 'MDL-80834' of https://github.com/timhunt/moodle
2024-02-28 16:34:34 +01:00
Sara Arjona
a42d1335f5
Merge branch 'MDL-80197' of https://github.com/pedrojordao/moodle
2024-02-28 16:09:30 +01:00
Jun Pataleta
ae33ac03e5
Merge branch 'MDL-68674-main' of https://github.com/lucaboesch/moodle
2024-02-28 23:04:05 +08:00
Sara Arjona
d82ae151aa
Merge branch 'MDL-52891-main' of https://github.com/opitz/moodle
2024-02-28 15:23:18 +01:00
Paul Holden
a1b37c472f
MDL-81082 tool_mfa: format site name in email subject.
2024-02-28 10:11:02 +00:00
Andrew Nicols
a165c72af2
MDL-80684 core: Correct location of task tests
2024-02-28 14:20:40 +08:00
Andrew Nicols
3451175f22
Merge branch 'MDL-80684-master-fail_running_tasks_on_shutdown' of https://github.com/praxisdigital/moodle
2024-02-28 14:16:13 +08:00
Andrew Nicols
b51df700a5
Merge branch 'MDL-78256-master' of https://github.com/meirzamoodle/moodle
2024-02-28 12:05:46 +08:00
AMOS bot
a03097ff56
Automatically generated installer lang files
2024-02-28 00:11:10 +00:00
Harry Smith
944be2dd21
MDL-80793 calendar: Setup $USER with all fields
2024-02-28 10:36:21 +13:00
Pedro Jordao
25125bbfe2
MDL-80364 message: Change icon and background-color when item selected
...
Icon and background-color had contrast issues in the selected state.
2024-02-27 15:09:38 +01:00
Sara Arjona
2ae5a510c1
Merge branch 'MDL-81036' of https://github.com/marinaglancy/moodle
2024-02-27 13:03:59 +01:00
Sara Arjona
803af22d60
Merge branch 'MDL-80621-main' of https://github.com/roland04/moodle
2024-02-27 12:55:51 +01:00
Sara Arjona
b33ba0b9fb
Merge branch 'MDL-78967-main' of https://github.com/kevpercy/moodle
2024-02-27 12:49:06 +01:00
Mikel Martín
af50bda3d6
MDL-80620 theme_boost: Change expand/collapse buttons style
2024-02-27 12:33:47 +01:00
Matthias Opitz
2dce0b3b9f
MDL-52891 calculatedsimple question: forcing new gen. values into form
...
* forcing new generated sets of wildcard values into the question edit form so they can be saved.
* added Behat test to check new generated values are used.
2024-02-27 11:18:18 +00:00
Stevani Andolo
26df8c5b90
MDL-80827 tool_xmldb: Fixed xmldb editor broken with PHP 8.1
2024-02-27 12:22:32 +08:00
Andrew Nicols
62ae5b6175
MDL-81044 backup: Use varidic to exclude events instead of an array
2024-02-27 11:40:56 +08:00
Andrew Nicols
275e5f9412
MDL-81044 backup: Coding style fixes
2024-02-27 11:40:55 +08:00
Andrew Nicols
7b63a6864a
MDL-81044 backup: Prevent parameter bleed between readers
...
These parameters were re-used between array iterations, but some of the
values were modified during the iteration.
2024-02-27 11:40:55 +08:00
Andrew Nicols
5109761162
MDL-81044 backup: Rename excluded events hook to meet style
2024-02-27 11:40:55 +08:00
Huong Nguyen
a781283002
Merge branch 'MDL-78984' of https://github.com/paulholden/moodle
2024-02-27 09:53:12 +07:00
Huong Nguyen
34304b33f9
Merge branch 'MDL-76443-main' of https://github.com/andrewnicols/moodle
2024-02-27 09:50:55 +07:00
Huong Nguyen
4dd70667d1
Merge branch 'MDL-79543-main' of https://github.com/sarjona/moodle
2024-02-27 09:47:20 +07:00
Huong Nguyen
ca75778564
Merge branch 'MDL-74676-master' of https://github.com/sh-csg/moodle
2024-02-27 09:40:57 +07:00
Mikel Martín
30a71b2b44
MDL-80856 theme_boost: Improve sticky footer styles with drawers
2024-02-26 15:36:35 +01:00
Andrew Nicols
18c81e0580
MDL-80896 core: Generate a moodle_url from a UriInterface
2024-02-26 21:04:41 +08:00
Mikel Martín
de047f3767
MDL-80621 core_courseformat: Add new activity separator styles
...
- Created a new divider template to generate activity and section dividers
- Refactored templates and styles for the course sections for the new
section dividers
- Changed the topics format 'hasaddsection' property to 'true' so now adding
sections to the bottom of the course will be handled by the format instead
of the last section. Also re-styled this 'Add topic' button.
- Refactored templates and styles for the course activities for the new
activity dividers
- Fixed some related behat that failed because of these changes
- Moved blocks related SCSS to the blocks file and removed some unused SCSS
2024-02-26 10:15:19 +01:00
Huong Nguyen
e4bfa1498b
Merge branch 'MDL-67259_main' of https://github.com/PhilippImhof/moodle
2024-02-26 14:44:32 +07:00
Stefan Hanauska
2a494f0d5d
MDL-74676 course: Speed up course search if using limittoenrolled
...
Co-authored-by: Huong Nguyen <huongnv13@gmail.com >
2024-02-26 07:42:14 +01:00
Huong Nguyen
be53cc971c
Merge branch 'MDL-80395-main' of https://github.com/sarjona/moodle
2024-02-26 11:42:37 +07:00
Andrew Nicols
5323d69c53
MDL-81046 core: Add hook to apis list
2024-02-26 10:12:04 +08:00
Michael Aherne
06fe259a6a
MDL-81042 quiz: Typo in renamed class.
2024-02-24 21:52:32 +00:00
Tim Hunt
02de9a1e3e
MDL-81039 qtype_multichoice: better way to control feedback display
2024-02-23 22:36:06 +00:00
Tim Hunt
e73888a107
MDL-81039 question: Improve some comments in question_display_options
2024-02-23 22:36:06 +00:00
Paul Holden
a16fb194f8
MDL-80550 cohort: get IDs for customfields correctly in external search.
2024-02-23 15:25:15 +00:00
Sara Arjona
ec8f84d8af
MDL-79543 h5p: Include attempts info and link
...
Co-authored-by: Ferran Recio <ferran@moodle.com >
2024-02-23 15:42:16 +01:00
Paul Holden
bb6652699e
Merge branch 'MDL-75794-main' of https://github.com/aanabit/moodle into main
2024-02-23 12:54:00 +00:00
Marina Glancy
7a6aae501e
MDL-81036 behat: fix the action menu clickable area selector
2024-02-23 11:21:47 +00:00
Paul Holden
7cf9fac457
MDL-78984 mod_assign: observe timelimit config in override form.
2024-02-23 11:18:43 +00:00
Juan Leyva
b4b9749417
MDL-81007 tool_policy: Allow adding notes to policies acceptances
2024-02-23 11:28:33 +01:00
Eloy Lafuente (stronk7)
2f66e18672
MDL-80819 install: halt any install if php min version is not met
...
Apart from environmental stuff, the moodle_minimum_php_version_is_met()
function is executed by all installs (web, cli, database, ...)
and halts any installation (early) not meeting the PHP constraints.
2024-02-23 11:08:08 +01:00
Jun Pataleta
45ba52afce
Merge branch 'MDL-77965' of https://github.com/NeillM/moodle
2024-02-23 17:59:58 +08:00
Jun Pataleta
b4f0a03676
Merge branch 'MDL-73483-master' of https://github.com/dmitriim/moodle
2024-02-23 17:53:25 +08:00
Neill Magill
6ff5e7aabd
MDL-77965 unit tests: Add covers annotation
2024-02-23 09:32:07 +00:00
Neill Magill
79150cf9bb
MDL-77965 quiz: Improve efficiency of the data export
...
Before this change the query used an index scan to perform the
export, this could be really expensive on the database.
After the change the the query will use far more efficient joins,
on a large MySQL instance this can take minutes off of the query
time.
In additon the query was returning two columns that are not used
in the function. The layout column was causing the UNION to fail
on Oracle as it cannot compare text columns, removing these
columns from the returned data should further increase
performance further.
2024-02-23 09:32:07 +00:00
Neill Magill
32a915ecd2
MDL-77965 grade: Improve data export performance
...
The existing query was inefficient using an index scan and
index merges. This change splits the query up into many individually
much more efficient queries.
This should significantly improve performance on large sites.
2024-02-23 09:32:06 +00:00
Neill Magill
8a95d08ff3
MDL-77965 notes: Improve data export performance
...
The UNION caused the query to be run in a way that is very
inefficient on MySQL, separating the queries causes each of them to
run in a much more efficient form.
Any duplicated will be filtered out on the PHP side instead of in
the database. On large Moodle sites this is preferable as the
extract is likely to be performed on a server dedicated to running
the Moodle cron and so there will be less of effect on resources
that are used to serve end users.
2024-02-23 09:32:06 +00:00
Neill Magill
18a964324b
MDL-77965 calendar: Improve performance of data extract
...
The UNION caused the query to be run in a way that is very
inefficient on MySQL, separating the queries causes each of them to
run in a much more efficient form.
Any duplicated will be filtered out on the PHP side instead of in
the database. On large Moodle sites this is preferable as the
extract is likely to be performed on a server dedicated to running
the Moodle cron and so there will be less of effect on resources
that are used to serve end users.
2024-02-23 09:32:06 +00:00
Neill Magill
081bfd0a9d
MDL-77965 competency: Improve query performance and data
...
This change removes LEFT JOINS to improve the performance
when run against Moodle sites with very large data sets.
It will also cause some additional contexts to be returned:
1. When a user has modified a user_evidence_competency
without modifying its associated user_evidence record
2024-02-23 09:32:06 +00:00
Neill Magill
e83452a855
MDL-77965 competency: Correct order of expectations
...
The expected value was being passed second which meant that the
messages sent by PHPUnit when this fails are the wrong way round.
2024-02-23 09:32:06 +00:00
Jun Pataleta
f6a22d3e61
Merge branch 'MDL-80805-main' of https://github.com/sammarshallou/moodle
2024-02-23 17:32:05 +08:00
Paul Holden
d3557d9483
MDL-80843 reportbuilder: consistent user auth report entity data.
...
Tidy up unit tests for user report, removing some redundancy and
duplication.
2024-02-23 09:28:44 +00:00
Philipp Imhof
7b284a8e04
MDL-67259 mod_quiz: show time of last autosave
2024-02-23 09:00:51 +01:00
Sara Arjona
6e8d1454ba
MDL-79543 h5pactivity: Remove review_all_attempts string
...
This string became obsolete in Moodle 4.0 due to changes in course
navigation. Since then, it has remained unused and can now be safely
removed, as it is unlikely to be needed in the future.
2024-02-23 07:29:55 +01:00
Sara Arjona
68aba64d35
MDL-79543 output: Add i/chartbar icon
2024-02-23 07:29:55 +01:00
Sara Arjona
31989d9f9d
MDL-80395 theme: Refactor mixins deprecated in BS4
2024-02-23 07:22:49 +01:00
Huong Nguyen
e567c21d6e
weekly release 4.4dev
2024-02-23 08:37:39 +07:00
Huong Nguyen
3d36a37499
NOBUG: Fixed SVG browser compatibility
2024-02-23 08:37:37 +07:00
Huong Nguyen
17ddc82c5c
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2024-02-23 08:37:35 +07:00
Dmitrii Metelkin
95eea308cd
MDL-73483 course: add callbacks to extend course form
2024-02-23 09:27:32 +11:00
Juan Leyva
8dfef80c0e
MDL-81007 tool_policy: Allow acceptance/decline of non-current policies
2024-02-22 17:57:53 +01:00
Paul Holden
e3e2c71901
MDL-80731 core: ensure valid /Lang attribute in generated PDF files.
...
As with the changes in 4be39296 , PDF files have criteria for validity
of language identifiers.
2024-02-22 16:51:39 +00:00
Amaia Anabitarte
0c081f004a
MDL-75794 mod_data: deprecate behat steps to generate entries and fields
2024-02-22 17:37:54 +01:00
Juan Leyva
f8f04b6f63
MDL-81007 tool_policy: Return permissions per policy
2024-02-22 17:14:05 +01:00
Paul Holden
a1e9bd2dae
MDL-80183 message: improve ARIA labelling of total/unread counts.
2024-02-22 15:53:00 +00:00
Paul Holden
45f83c203f
MDL-80183 message: render user online status as an accessible icon.
2024-02-22 11:50:08 +00:00
Jun Pataleta
2b9bf38dcb
Merge branch 'MDL-80207-behat' of https://github.com/HuongNV13/moodle
2024-02-22 13:56:27 +08:00
Huong Nguyen
ed16ef495d
Merge branch 'MDL-80844' of https://github.com/stronk7/moodle
2024-02-22 11:23:47 +07:00
Huong Nguyen
40f501fb4e
Merge branch 'MDL-80338' of https://github.com/paulholden/moodle
2024-02-22 11:17:52 +07:00
Huong Nguyen
3061024726
Merge branch 'MDL-80608-main' of https://github.com/sammarshallou/moodle
2024-02-22 11:05:28 +07:00
Huong Nguyen
5d4c88e3da
Merge branch 'MDL-79266' of https://github.com/paulholden/moodle
2024-02-22 10:54:18 +07:00
Andrew Nicols
7e0315041c
Merge branch 'MDL-80821' of https://github.com/marinaglancy/moodle
2024-02-22 11:50:38 +08:00
Huong Nguyen
939d1c5050
Merge branch 'MDL-62404' of https://github.com/timhunt/moodle
2024-02-22 10:49:38 +07:00
Huong Nguyen
e7e0d2bfac
Merge branch 'MDL-80868' of https://github.com/paulholden/moodle
2024-02-22 10:43:00 +07:00
Huong Nguyen
e4c70c3b57
Merge branch 'MDL-80950-main' of https://github.com/sarjona/moodle
2024-02-22 10:40:11 +07:00
Huong Nguyen
3f2b136249
Merge branch 'MDL-80862-main' of https://github.com/andrewnicols/moodle
2024-02-22 10:35:59 +07:00
Huong Nguyen
c27fc14649
MDL-80207 tool_messageinbound: Fix Behat failure
2024-02-22 10:04:46 +07:00
Huong Nguyen
c35ec6ff2c
Merge branch 'MDL-80481_master' of https://github.com/santoshndev/moodle
2024-02-22 09:50:34 +07:00
Brendan Heywood
c1fc12b479
MDL-80080 session: Unset logintoken after use
2024-02-22 10:56:02 +11:00
Santosh Nagargoje
dce64c0a53
MDL-80481 report: Fixed breadcrumb menu issue
2024-02-22 01:59:00 +05:30
Sara Arjona
93b3eff237
Merge branch 'MDL-76441' of https://github.com/stronk7/moodle
2024-02-21 17:49:52 +01:00
Sara Arjona
4d6cde901a
Merge branch 'MDL-79151-fix' of https://github.com/sarjona/moodle
2024-02-21 17:46:38 +01:00
Sara Arjona
8ebd1e5cd2
MDL-79151 customfield: Remove illegal whitespace
2024-02-21 17:46:12 +01:00
Sara Arjona
3bfec9398a
Merge branch 'mdl-79151-master' of https://github.com/Fragonite/moodle
2024-02-21 17:36:12 +01:00
Paul Holden
958090edc6
MDL-80342 reportbuilder: use new cohort filter in related reports.
2024-02-21 16:34:35 +00:00
Paul Holden
7f342377bb
MDL-80342 cohort: new report filter class for selecting cohorts.
2024-02-21 16:34:35 +00:00
Sara Arjona
4e341bfc97
Merge branch 'wip_MDL-79802_line_v8' of https://github.com/gjb2048/moodle
2024-02-21 17:29:39 +01:00
Mark Johnson
238ea3d1a3
MDL-79174 availability: Allow group condition to use hidden groups
...
Previously, groups with GROUP_VISIBILITY_NONE could be selected for an
availability condition, but as the group API did not return a user's own
groups with this visibility, the condition's is_available check always
failed.
This change uses the new $includehidden parameter to get all of a user's
groups from groups_get_user_groups when evaluating the condition, so
these groups work as expected. Due to the enforced hiding of conditions
containing these groups, they will never be seen by the user.
2024-02-21 15:45:56 +00:00
Mark Johnson
ce706292bf
MDL-79174 groups: Add includehidden parameter
...
This allows groups_get_user_groups to return groups with
GROUP_VISIBILITY_NONE that the specified user belongs to. The parameter
is false by default, and should be use with care as membership of these
groups should not be revealed to the user.
2024-02-21 15:45:56 +00:00
Sara Arjona
617442dc16
Merge branch 'MDL-80605-master' of https://github.com/jbs1/moodle
2024-02-21 16:19:11 +01:00
Sara Arjona
15d399ec8c
Merge branch 'MDL-80404-main' of https://github.com/andelacruz/moodle
2024-02-21 13:23:25 +01:00
Paul Holden
0a66e9a3f8
MDL-80241 grade: update user filtering by matched properties.
...
Invert the previous logic, which maintained a "banned" list of
fields, to instead only try to filter on those fields that are
explicitly defined to support that.
2024-02-21 10:21:33 +00:00
Sara Arjona
969897c2fe
Merge branch 'MDL-78944' of https://github.com/Chocolate-lightning/moodle
2024-02-21 09:18:45 +01:00
Angelia Dela Cruz
6ea99c8897
MDL-80404 mod_data: Behat for url autolinking and opening in new window
2024-02-21 15:59:44 +08:00
Eloy Lafuente (stronk7)
eec4ca8cf0
NOBUG: Avoid already closed PRs to get any comment
...
This is an adjustment for MDL-77166, where the auto-close PRs
workflow was introduced.
That workflow does close and lock any PR in the moodle/moodle.git repo.
We have detected that, when proceeding to lock the PRs it's
always adding a comment. But we only want that when closing the
PRs (as they are open). When the only task is to lock them (normally
old PRs that are already closed by not locked) we don't want any
comment to be added (so no notification/spam happens on those old PRs).
Luckily there is a setting for it: skip-closed-pr-comment: true
So applying for it. Note that we have run various tests in fork
repository and it seems to be working ok. Only open PRs got the
comment and closed PRs were silently locked.
2024-02-21 08:27:39 +01:00
Huong Nguyen
8654b66416
Merge branch 'MDL-79792-master' of https://github.com/andelacruz/moodle
2024-02-21 14:25:11 +07:00
Andrew Nicols
2cb4378cd0
MDL-76443 GitHub: Bump workflow max PHP to 8.3
2024-02-21 14:15:52 +08:00
Angelia Dela Cruz
31ce6c87fb
MDL-79792 core_badges: Behat test for awarding badge to group members
2024-02-21 13:55:45 +08:00
Kevin Percy
a72a810479
MDL-78967 core_grades: Removed advanced grade item and category options
2024-02-21 13:45:21 +08:00
Huong Nguyen
0d8c9ed4ae
Merge branch 'MDL-78284-main' of https://github.com/sarjona/moodle
2024-02-21 09:49:41 +07:00
Jun Pataleta
289678c458
Merge branch 'MDL-78994_master' of https://github.com/marxjohnson/moodle
2024-02-21 10:47:35 +08:00
Huong Nguyen
c9c096ec9a
Merge branch 'MDL-80730-main' of https://github.com/sarjona/moodle
2024-02-21 09:43:16 +07:00
Jun Pataleta
457274ab03
Merge branch 'MDL-79003-main' of https://github.com/andrewnicols/moodle
2024-02-21 10:36:21 +08:00
Huong Nguyen
8eff491604
Merge branch 'MDL-80251-main' of https://github.com/laurentdavid/moodle
2024-02-21 09:33:05 +07:00
Juan Leyva
5e39876428
MDL-79802 tool_mobile: Support new setting in the mobile app
2024-02-20 18:13:02 +00:00
Gareth Barnard
270326244b
MDL-79802 core_h5p: Add a new setting for adding custom H5P styles.
2024-02-20 18:12:18 +00:00
Paul Holden
d370f9b134
Merge branch 'MDL-79520-fix' of https://github.com/sarjona/moodle into main
2024-02-20 16:10:11 +00:00
Paul Holden
f917baf9ee
MDL-80919 course: initial check for section modules to duplicate.
2024-02-20 16:05:58 +00:00
Sara Arjona
7326ef3e4a
MDL-79520 core: Fix upgrade version
2024-02-20 16:27:38 +01:00
Sara Arjona
4a9be9001d
Merge branch 'MDL-80912' of https://github.com/paulholden/moodle
2024-02-20 15:39:18 +01:00
Jun Pataleta
ea4874094b
Merge branch 'MDL-79520-main' of https://github.com/snake/moodle
2024-02-20 22:22:05 +08:00
Sara Arjona
307ec03056
Merge branch 'MDL-80383-main' of https://github.com/rjnl/moodle
2024-02-20 15:20:00 +01:00
Paul Holden
6446714305
MDL-80088 mod_imscp: better uploaded package filetype validation.
2024-02-20 14:10:07 +00:00
Mark Johnson
c6d4066201
MDL-78994 tool_policy: Move guest consent to start of page.
...
When a site has policies but a user has not logged in, a banner is
displayed to inform the guest user of the polciies. This banner was
inserted by Javascript at the end of the DOM, so keyboard users had to
tab through the whole page to reach it.
This commit makes the following changes:
* Change the callback used to display the policy banner from
_before_standard_html_head to _before_standard_top_of_body_html.
* Define the banner's body text in an HTML element, rather than a
Javascript parameter.
* Set absolute positioning on the banner for behat sites, so it does not
display at the top of the page and overlap the site header.
* Revert use of the standard_head_html_prepend hook in tool_policy from
MDL-79076.
The combination of these changes means that the banner will be output
near the start of the HTML DOM, so will be accessible to keyboard users
early on in the tab order until dismissed. However, it will still appear
visually at the end of the page, to avoid clashing with the site header.
2024-02-20 13:38:51 +00:00
Sara Arjona
d46fdeb9fd
Merge branch 'MDL-76024-fix' of https://github.com/HuongNV13/moodle
2024-02-20 12:29:10 +01:00
Paul Holden
270da62394
MDL-80865 customfield_textarea: empty check prior to exporting value.
...
Co-authored-by: Sara Bozzini <s.bozzini@cineca.it >
2024-02-20 10:42:56 +00:00
Sara Arjona
be3f74c0a2
NOBUG: Bump version and missed upgrade step
...
When MDL-80557 was integrated, the version number in the upgrading
step, 2024020200.02, was previous to the released version, 2024021500.00,
so anybody that has updated to 4.4dev between 0202 and 0215 didn't
get that upgrade step executed.
This commit should fix it :-)
2024-02-20 16:55:19 +07:00
Huong Nguyen
e8d5dc93e0
MDL-76024 qtype calculated: Fix deprecation related to dynamic property
2024-02-20 16:38:49 +07:00
Jake Dallimore
b2e184f9ad
MDL-79520 core: upgrade step to update existing Clever issuers to OIDC
...
This change is an upgrade step which:
- Updates endpoints to the new endpoints
- Updates user field mappings so they map the new OIDC userinfo fields
- Updates the issuer's baseurl
2024-02-20 17:10:04 +08:00
Jake Dallimore
d20af220f8
MDL-79520 core: update Clever integration to use OpenId Connect
...
Instead of creating the endpoints manually, and fetching the user info
from several endpoints, which also necessitates the use of a custom
client subclass, use the OpenId configuration endpoint to auto-configure
endpoints, and then use the userinfo endpoint to fetch user info.
2024-02-20 17:07:03 +08:00
Alexander Van der Bellen
0aea55c3e6
MDL-79151 backup: Add custom field backup and restore API
2024-02-20 15:28:28 +08:00
Jun Pataleta
e0ef590b00
MDL-78370 block_myoverview: Ensure curry functions use current filters
2024-02-20 13:48:24 +08:00
Jun Pataleta
8c26445d8d
MDL-78370 block_myoverview: Conditionally show "All" paging option
...
To minimise performance issues when displaying courses in Summary view,
we need to conditionally show the "All" paging option. This commit
will prevent the "All" paging option to be shown if there are more than
100 courses to be shown.
2024-02-20 13:48:24 +08:00
Jun Pataleta
3056f6cdbd
MDL-78370 block_myoverview: Ensure that the summary text will be loaded
...
* With the summary data being excluded in card/list display modes,
it means that switching to the summary display mode will render the
courses in summary view without the summary text. This patch will ensure
that course summary text are included when switching to the summary
view.
2024-02-20 13:48:23 +08:00
Jun Pataleta
40c329064b
MDL-78370 block_myoverview: Define required fields for views
...
* For list and card views, we only need the course
fields ('id', 'fullname', 'shortname', 'showcoursecategory',
'showshortname', 'visible', and 'enddate').
* For summary view, in addition to the fields from list/card views,
we only need the 'summary' and 'summaryformat'.
2024-02-20 13:48:23 +08:00
Jun Pataleta
b70de7dbc3
MDL-78370 course: Allow fetching of only required course summary fields
...
* Add a 'requiredfields' parameter for
get_enrolled_courses_by_timeline_classification()
* Set default values for the following course_summary_exporter
properties:
- summary (null)
- summaryformat (FORMAT_MOODLE)
- pdfexportfont (null)
2024-02-20 13:48:23 +08:00
Andrew Nicols
8ebd9f08e4
MDL-80862 core: Tidy up state vars in task manager
2024-02-20 12:44:58 +08:00
Huong Nguyen
f406ea8b76
Merge branch 'MDL-80936' of https://github.com/paulholden/moodle
2024-02-20 10:28:10 +07:00
Huong Nguyen
255162f595
Merge branch 'MDL-76024-main' of https://github.com/opitz/moodle
2024-02-20 10:22:54 +07:00
Jun Pataleta
dd8fa68f5d
Merge branch 'MDL-80207-main' of https://github.com/HuongNV13/moodle
2024-02-20 11:06:24 +08:00
Andrew Nicols
becd11a84a
MDL-80862 testing: Reset task manager between behat tests
2024-02-20 10:54:12 +08:00
Huong Nguyen
6bddb8626f
MDL-80207 core: Remove Horde library
2024-02-20 09:36:24 +07:00
Huong Nguyen
a63d39b0ad
MDL-80207 admin: Replace use of Horde with Roundcube
2024-02-20 09:36:24 +07:00
Huong Nguyen
28074f65af
MDL-80207 tool_messageinbound: Add Roundcube Framework 1.6.6 library
2024-02-20 09:36:12 +07:00
AMOS bot
f8479a8a89
Automatically generated installer lang files
2024-02-20 00:14:00 +00:00
Pedro Jordao
9239366aa7
MDL-80197 forms: Added attributes to the calendar link
...
The datepicker is not keyboard accessible when in a modal.
As we are using yui datepicker and the change is not simple, I added aria-hidden and tabindex properties to avoid screenreaders.
2024-02-19 20:57:52 -03:00
Jeremy Schulz
f1f517df34
MDL-80605 uploaduser: fixed username already existing when mail-matching
2024-02-19 17:24:27 +01:00
Sara Arjona
40375fa6d2
Merge branch 'MDL-80258' of https://github.com/paulholden/moodle
2024-02-19 15:48:51 +01:00
Sara Arjona
cf8bb7abb6
Merge branch 'MDL-80082-main' of https://github.com/lucaboesch/moodle
2024-02-19 15:28:08 +01:00
Luca Bösch
127cefa543
MDL-80082 forumreport_summary: Output 'Nothing to display' as notific.
2024-02-19 15:10:32 +01:00
Luca Bösch
aa9008821e
MDL-80082 report_outline: Output 'Nothing to display' as notification.
2024-02-19 15:10:32 +01:00
Luca Bösch
841fa9d556
MDL-80082 report_progress: Output 'Nothing to display' as notification.
2024-02-19 15:10:32 +01:00
Luca Bösch
49d7ca455c
MDL-80082 report_completion: Output 'Nothing to display' as notification
2024-02-19 15:10:32 +01:00
Luca Bösch
f4282b726e
MDL-80082 mod_feedback: Output 'Nothing to display' as notification.
2024-02-19 15:10:32 +01:00
Luca Bösch
5a18657447
MDL-80082 tool_lp: Output 'Nothing to display' as notification.
2024-02-19 15:10:32 +01:00
Luca Bösch
e6962170ad
MDL-80082 tool_cohortroles: Output 'Nothing to display' as notification.
2024-02-19 15:10:32 +01:00
Luca Bösch
9aa5b450e6
MDL-80082 mod_workshop: Output 'Nothing to display' as notification.
2024-02-19 15:10:32 +01:00
Luca Bösch
307aee2c42
MDL-80082 quiz_grading: Output 'Nothing to display' as notification.
2024-02-19 15:10:32 +01:00
Luca Bösch
6bb59759e7
MDL-80082 table: Output 'Nothing to display' as notification.
2024-02-19 15:10:32 +01:00
Marina Glancy
5117dee664
MDL-80821 dml: declare arguments for sql_concat()
2024-02-19 12:27:51 +00:00
Paul Holden
9572e0fdd8
MDL-79673 libraries: upgrade to version 1.15.1 of js-beautify.
2024-02-19 12:10:47 +00:00
Paul Holden
1acca870d9
MDL-80912 reportbuilder: output table caption when rendering reports.
...
Move the `get_name` method to the base report class, so that it can be
implemented by all report types. Provide a default implementation for
system reports based on the name of the class.
Use the name of the report as the caption. Target via Behat selectors.
2024-02-19 11:57:51 +00:00
Frederik Milling Pytlick
ab517483a0
MDL-80684 core: Fail running tasks on shutdown
...
When you kill a process which is executing a task, it now marks it as failed.
2024-02-19 12:07:56 +01:00
Sara Arjona
8800cf3d25
Merge branch 'MDL-79674-main-2' of https://github.com/junpataleta/moodle
2024-02-19 10:20:41 +01:00
Sara Arjona
f5377be4d2
Merge branch 'MDL-80613-main' of https://github.com/lameze/moodle
2024-02-19 09:14:16 +01:00
Laurent David
11fee57c5c
MDL-80251 behat: Add new step to go to section
2024-02-19 07:18:55 +01:00
Rodrigo Mady
b2af915288
MDL-77967 user: Add format text to custom profile fields name
2024-02-16 16:58:49 -03:00
Matthias Opitz
1c96f28569
MDL-76024 calculated questions: improving coding style
2024-02-16 10:20:48 +00:00
Matthias Opitz
97e3b9d657
MDL-76024 calculated questions: cast float type before comparison
...
* added calculated question for multiplication to tests/helper.php.
* added test_grading_of_negative_responses() test to question/type/calculated/tests/question_test.php
2024-02-16 10:20:48 +00:00
Jun Pataleta
32ae09a672
MDL-79674 behat: Use proper tags for testing WCAG 2.1 criteria
...
`wcag2a` and `wcag2aa` refer to WCAG 2.0 standards. We should be using
`wcag21a` and `wcag21aa` to test against WCAG 2.1 standards.
See:
https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#axe-core-tags
2024-02-16 11:53:53 +08:00
Jun Pataleta
ecb8465ebe
MDL-79674 behat: Disable target-size rule
...
Since axe-core has introduced WCAG 2.2 Level AA support, a `target-size`
rule has been added which is a Level AA success criterion. Since we
haven't started working on WCAG 2.2 Level AA compliance, let's disable
this rule for now.
See https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html
2024-02-16 11:53:53 +08:00
Jun Pataleta
f47baadc93
MDL-79674 behat: Bump axe-core to v4.8.4
...
* Improve readme_moodle.txt and add more detailed instructions
* Update \behat_accessibility::run_axe_validation_for_tags()'s
PHPDoc block to reflect the current version.
* Fix incorrect copyright tag for the library
2024-02-16 11:53:52 +08:00
Eloy Lafuente (stronk7)
6e2c5b7b45
MDL-80844 phpunit: Only some tests can use the debugging sink
...
The only tests that have COMPLETE* support for the debugging sink
are the advanced_testcase and the database_driver ones (store and
report). So we must ensure that the rest of tests don't use the
debugging sink at all.
Right now we are using it for storing, but later there is not
reporting, so any debugging happening within non advanced tests
is not detected.
This commit just ensures that we stop making that storing for
non advanced/database_driver tests. Nothing more, nothing less.
* Note that we have had to add a few missing bits to the
database_driver testcase because it was not 100% complete. Now
it behaves 100% the same than the advanced_testcase one regarding
the debugging sink.
2024-02-15 18:46:16 +01:00
Eloy Lafuente (stronk7)
97a69a8360
MDL-76441 env: Moodle 4.2.x and 4.3.x do not support PHP 8.3
2024-02-15 18:44:42 +01:00
Sara Arjona
fc191c76c6
MDL-80950 external: Fix PHP deprecated error for explode()
...
This patch fixes the following error:
PHP Deprecated: explode(): Passing null to parameter #2 ($string)
of type string is deprecated in lib/upgradelib.php on line 1299
2024-02-15 17:52:23 +01:00
Sara Arjona
1cace1d129
MDL-78284 componentlibrary: Update activity icons information
2024-02-15 17:49:43 +01:00
Sara Arjona
8cdd62ca88
MDL-78284 theme: Add new interactive content and update styles
2024-02-15 17:49:43 +01:00
Sara Arjona
76474b6c59
MDL-78284 mod: Add new _is_branded() function
...
There is a new callback, <modname>_is_branded, which, by default,
returns false. It needs to be implemented by modules that want their
logo to be displayed as it is (so without applying any filter to
colour them based on their main purpose).
2024-02-15 17:49:42 +01:00
Sara Arjona
10f8e19f40
MDL-78284 mod: Replace activity icons with the new SVGs
...
The old monocromo.png activity icon files have been removed and
replaced with the new SVG files created by the UX team.
Special thanks to Sabina Abellán! :-)
2024-02-15 17:49:41 +01:00
Sara Arjona
6531d930b0
MDL-80730 theme: Remove unused SCSS files
...
The following files in theme/boost/scss/moodle were not imported
so they can be removed because the styles defined in them are not
used anywhere:
- editor.scss
- expendable.scss
2024-02-15 17:47:36 +01:00
Sara Arjona
d3ad77e476
weekly release 4.4dev
2024-02-15 15:39:37 +01:00
Sara Arjona
54a129d3b4
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2024-02-15 15:39:32 +01:00
sam marshall
14b1e93e85
MDL-80805 core_form: Accessibility - add aria-required to form fields
...
Most types of form field will now include aria-required="true" if the
field is marked as required. This causes assistive technology to inform
users that the field is required.
Before this change, in some cases (e.g. screen reader users tabbing
through fields) users were not informed that a field is required.
2024-02-15 14:30:33 +00:00
lihidor
78c1a0a3e5
MDL-62404 mod_quiz: Delete previews after repaginate
2024-02-15 10:59:23 +00:00
Simey Lameze
7b7be30b4d
MDL-80613 behat: convert manual completion steps to use generators
2024-02-15 17:52:38 +08:00
Jake Dallimore
0498f008bc
MDL-80836 auth_lti: deprecate no auth notice
...
This notice was specific to the session piggyback method and is no
longer relevant.
2024-02-15 12:27:20 +08:00
Jake Dallimore
faf084ff00
MDL-80836 auth_lti: take user through login instead of sesspiggyback
...
Browsers are phasing out 3rd party cookies. Those which can be set are
partitioned to the top level embedding site, so piggybacking is
prevented. This will break the account linking process. This fix swaps
the piggyback for a login round trip, as originally intended, which
resolves the issue.
2024-02-15 12:27:20 +08:00
Huong Nguyen
f364cf18eb
Merge branch 'MDL-80823-wwwroot-redirect' of https://github.com/brendanheywood/moodle
2024-02-15 11:13:33 +07:00
Stevani Andolo
7917d779d1
MDL-80391 tiny_html: Fixed the loose focus in window manager
2024-02-15 10:06:46 +08:00
Alexander Van der Bellen
34492bec74
MDL-80917 core_backup: Clear restored course cache
2024-02-15 09:06:57 +08:00
Sara Arjona
8bde08c96d
Merge branch 'MDL-78088-master' of https://github.com/jleyva/moodle
2024-02-14 16:53:03 +01:00
Juan Leyva
53c94c0b21
MDL-78088 tool_dataprivacy: New WS tool_dataprivacy_get_data_requests
2024-02-14 15:38:57 +01:00
Juan Leyva
2108c3a053
MDL-78088 tool_dataprivacy: New WS tool_dataprivacy_create_data_request
2024-02-14 15:38:57 +01:00
Juan Leyva
f54185ab3a
MDL-78088 tool_dataprivacy: New WS get_access_information
2024-02-14 15:09:31 +01:00
Juan Leyva
0be4d7b2bd
MDL-78088 tool_dataprivacy: Enable and return additional info
2024-02-14 15:09:31 +01:00
sam marshall
4bb42cc362
MDL-80608 core_form: Fire modal form event for errors in definition
...
The ERROR event is defined as being fired if an exception occurs while
contacting the server. This change ensures it is fired for exceptions
in the form definition AJAX request, not just form submission.
Additionally, if such an error occurs in submission, the form buttons
were left in disabled state. This change makes them enabled again.
2024-02-14 13:49:39 +00:00
Paul Holden
ebcc967d2e
MDL-80258 reportbuilder: ensure consistent reporting of entity themes.
...
Courses, categories, users & cohorts each have a configurable `theme`
attribute - ensure reporting on said value is consistent across all the
corresponding entities.
2024-02-14 12:12:37 +00:00
Paul Holden
a36c27c709
MDL-80258 course: don't re-request the current category theme.
2024-02-14 12:12:37 +00:00
Paul Holden
c6ef18085f
MDL-80936 reportbuilder: fix when default customfield values are shown.
...
We should ensure we only show a value for the custom field (default or
otherwise) when it's actually joined to an entity it represents.
2024-02-14 11:29:27 +00:00
Sara Arjona
cd655be112
Merge branch 'MDL-79321-master' of https://github.com/andelacruz/moodle
2024-02-14 09:35:22 +01:00
Sara Arjona
ce7f3eef04
Merge branch 'MDL-79552' of https://github.com/paulholden/moodle
2024-02-14 09:30:09 +01:00
Huong Nguyen
50ca1b1618
Merge branch 'MDL-80249-main' of https://github.com/sarjona/moodle
2024-02-14 15:08:22 +07:00
Sara Arjona
1ea31db81c
MDL-80249 course: Hide secondary menu and add breadcrumb to section page
2024-02-14 08:03:56 +01:00
Huong Nguyen
9ac10c4681
Merge branch 'MDL-71744_master' of https://github.com/t-schroeder/moodle
2024-02-14 10:31:48 +07:00
anisa kusumadewi
64ae55f79b
MDL-71744 forum: added announcement forum defaults
2024-02-13 17:24:27 +01:00
Sara Arjona
1d23446a1b
Merge branch 'MDL-80807' of https://github.com/paulholden/moodle
2024-02-13 16:16:01 +01:00
Sara Arjona
0f2f0b2fd7
Merge branch 'MDL-80722' of https://github.com/paulholden/moodle
2024-02-13 16:13:17 +01:00
Sara Arjona
0d1f2a4504
Merge branch 'MDL-80219-main' of https://github.com/roland04/moodle
2024-02-13 16:09:32 +01:00
Sara Arjona
b91ec287dc
Merge branch 'MDL-80190-main' of https://github.com/ferranrecio/moodle
2024-02-13 15:28:05 +01:00
Huong Nguyen
b049e8e2cd
Merge branch 'MDL-80742-main' of https://github.com/mihailges/moodle
2024-02-13 15:23:58 +07:00
Angelia Dela Cruz
8754dc0724
MDL-79321 mod_quiz: Behat to set quiz as interactive with multiple tries
2024-02-13 16:22:16 +08:00
Jun Pataleta
c9c65a1b95
Merge branch 'MDL-80402-main' of https://github.com/andelacruz/moodle
2024-02-13 15:52:16 +08:00
Jun Pataleta
b660a59889
Merge branch 'MDL-80766' of https://github.com/paulholden/moodle
2024-02-13 15:34:38 +08:00
Mathew May
02480eec44
MDL-78944 gradereport_grader: Spurious behat fix
2024-02-13 15:01:23 +08:00
Huong Nguyen
15ae5d9b21
Merge branch 'MDL-80814-main' of https://github.com/aanabit/moodle
2024-02-13 10:18:44 +07:00
Huong Nguyen
b32407f1e9
Merge branch 'MDL-80724-master' of https://github.com/jleyva/moodle
2024-02-13 10:10:58 +07:00
Huong Nguyen
043c829ff1
Merge branch 'MDL-80630_main' of https://github.com/PhilippImhof/moodle
2024-02-13 09:54:53 +07:00
Huong Nguyen
22b0e01c27
Merge branch 'MDL-80869' of https://github.com/paulholden/moodle
2024-02-13 09:54:52 +07:00
Huong Nguyen
2a5ec75849
Merge branch 'MDL-80622-main' of https://github.com/roland04/moodle
2024-02-13 09:54:52 +07:00
Huong Nguyen
06783182ef
Merge branch 'MDL-80541-main' of https://github.com/aanabit/moodle
2024-02-13 09:54:52 +07:00
Huong Nguyen
c5eefd2782
Merge branch 'MDL-80557-main' of https://github.com/aanabit/moodle
2024-02-13 09:54:49 +07:00
Amaia Anabitarte
1ce32e3a60
MDL-80557 courseformat: Change default plugin order
2024-02-13 09:54:18 +07:00
Angelia Dela Cruz
a79c061821
MDL-80402 mod_quiz: Behat for interactive quiz question dependency
2024-02-13 10:33:28 +08:00
Huong Nguyen
7095211898
Merge branch 'MDL-80326-main' of https://github.com/laurentdavid/moodle
2024-02-13 08:55:22 +07:00
AMOS bot
a9e44c45bd
Automatically generated installer lang files
2024-02-13 00:10:30 +00:00
meirzamoodle
d1c27bba15
MDL-78256 lib: Code adjustments to the Zipstream 3.1.0
2024-02-12 16:56:37 +07:00
meirzamoodle
6972e9c83d
MDL-78256 lib: Upgrade Zipstream to 3.1.0
2024-02-12 16:51:02 +07:00
Jun Pataleta
0a0d4b20a7
Merge branch 'MDL-80072-main' of https://github.com/andrewnicols/moodle
2024-02-12 14:31:11 +08:00
Andrew Nicols
f0e46b994f
MDL-80072 core: Whitespace fix
2024-02-12 14:28:56 +08:00
Jun Pataleta
a8a31f648d
Merge branch 'MDL-80072-main' of https://github.com/andrewnicols/moodle
2024-02-12 13:58:05 +08:00
Andrew Nicols
4349a9164e
MDL-80072 editor_tiny: Editor options should not be passed to format_text
2024-02-12 11:11:19 +08:00
Andrew Nicols
3e6437e67c
MDL-80072 core: Mark nocache option to format_text as deprecated
...
This was actually deprecated back in MDL-34347 but never actually
emitted.
2024-02-12 11:11:19 +08:00
Andrew Nicols
85c1dd0077
MDL-80072 core: Deprecate format_text smiley option
...
This was actually deprecated in Moodle 2.0 but did not emit.
2024-02-12 11:11:18 +08:00
Andrew Nicols
d56303aa54
MDL-80072 core: Promote all formatting options to parameters
...
Now that PHP has support for named parameters, and we can use them in
Moodle, we should ditch `$options` arrays and use first-class,
documented, parameters.
Whilst this may seem scary, dumb, overwhelming, please note that you do
not need to supply all args, for example, to change the last parameter
of `format_text` you no longer need to do this:
return \core\container::get(\core\formatting::class)->format_text(
$text,
FORMAT_MOODLE,
$context,
false,
null,
true,
true,
true,
false,
false,
true,
);
Instead you can do:
return \core\container::get(\core\formatting::class)->format_text(
$text,
FORMAT_MOODLE,
$context,
allowid: true,
);
Or better still:
return \core\container::get(\core\formatting::class)->format_text(
text: $text,
format: FORMAT_MOODLE,
context: $context,
allowid: true,
);
This means that we can get defaults in the function signature, improves
our typing, and allows for deprecation and changes to options. It also
sets us up for success in the future.
2024-02-12 11:11:18 +08:00
Andrew Nicols
b353c8e1e2
MDL-80072 core: Improve format_* APIs to improve clarity
2024-02-12 11:11:18 +08:00
Andrew Nicols
fb1d9d65e0
MDL-80072 core: Move format_string cache to class prop
...
This means that the cache will be automatically reset between tests.
2024-02-12 11:11:18 +08:00
Andrew Nicols
d6dc3847f4
MDL-80072 core: Update uses of courseid to format_text
2024-02-12 11:11:17 +08:00
Andrew Nicols
ae80cd739b
MDL-80072 core: Coding Style fixes
2024-02-12 11:11:17 +08:00
Andrew Nicols
e8eb163ff9
MDL-80072 core: Move CFG->filterall to formatter property
2024-02-12 11:11:17 +08:00
Andrew Nicols
35a8e23034
MDL-80072 core: Move CFG->formatstringstriptags to formatter property
2024-02-12 11:11:17 +08:00
Andrew Nicols
f9dc48691d
MDL-80072 core: Move CFG->forceclean to formatter property
2024-02-12 11:11:17 +08:00
Andrew Nicols
6bb0c91a73
MDL-80072 core: Move format_text to core\formatting
2024-02-12 11:11:16 +08:00
Andrew Nicols
37ec9ee8ee
MDL-80072 core: Move format_string to core\formatting
2024-02-12 11:11:16 +08:00
Andrew Nicols
9ed3f83dd2
MDL-80072 core: Add \core\di wrapper to php-di
...
The \core\di class is a Moodle wrapper to php-di which is intended to
allow Moodle to switch to an alternate DI solution in the future if
required. All interaction with the container uses the PSR-11 Container
interfaces, which allows for normalisation of configuration, setting,
and retrieving of DI container-identified classes.
2024-02-12 11:11:16 +08:00
Andrew Nicols
192a7797ab
MDL-80072 core: Add php-di codebase
2024-02-12 11:11:15 +08:00
AMOS bot
ad221f7828
Automatically generated installer lang files
2024-02-12 00:11:24 +00:00
Gregor Eichelberger
7c4ca5f269
MDL-79044 gradebook: Add default export method setting
...
Introduces a new admin setting to configure the default export method
used for redirecting the user via /grade/export/index.php
Signed-off-by: Gregor Eichelberger <gregor.eichelberger@tuwien.ac.at >
2024-02-09 22:31:57 +01:00
Mikel Martín
e788ed509c
MDL-80622 core_courseformat: Fix activity card drag image
2024-02-09 09:48:49 +01:00
Mikel Martín
0efe999276
MDL-80219 core_courseformat: Add course section and activity new styling
...
- Add border to sections (not in single section page)
- Remove border to activity cards and add single line separators
- Refactor activity and sections styles to fit this new layout
- Remove styles that are not necessary with this new layout
2024-02-09 09:47:03 +01:00
Jun Pataleta
f96df76bfc
Merge branch 'MDL-79788' of https://github.com/paulholden/moodle
2024-02-09 16:46:54 +08:00
Jun Pataleta
aa921c0c7f
Merge branch 'MDL-80874-main' of https://github.com/andrewnicols/moodle
2024-02-09 16:42:50 +08:00
Andrew Nicols
12dcde3fae
MDL-80072 core: Add PSR-11 interfaces
2024-02-09 15:03:57 +08:00
Andrew Nicols
7b72ead9e5
MDL-80874 core: Correct repo name for PR closer
2024-02-09 15:00:56 +08:00
Paul Holden
27ca0daf87
MDL-79788 tag: convert module creation of tags to generators.
...
We don't need to use the tags UI directly for creating tags in module
scenarios, because it's slow and prone to error in case of interface
changes.
2024-02-08 16:31:02 +00:00
Paul Holden
d057af03e9
MDL-79788 tag: convert tag collection page to reportbuilder report.
2024-02-08 16:31:02 +00:00
Paul Holden
d30b526bb7
MDL-80868 question: correct deleted format plugin definitions.
2024-02-08 16:15:29 +00:00
Sara Arjona
328b48ebc5
weekly release 4.4dev
2024-02-08 16:18:06 +01:00
Sara Arjona
de632c0117
NOBUG: Fixed SVG browser compatibility
2024-02-08 16:18:01 +01:00
Paul Holden
d519d7b8b7
MDL-80869 mod_bigbluebuttonbn: ensure test retrieves expected record.
2024-02-08 13:21:44 +00:00
Sara Arjona
f5a9e9478f
Merge branch 'MDL-80544' of https://github.com/paulholden/moodle
2024-02-08 11:27:05 +01:00
Jun Pataleta
66584a81a9
Merge branch 'MDL-78427' of https://github.com/paulholden/moodle
2024-02-08 18:09:04 +08:00
Paul Holden
3fd7875322
MDL-80544 h5p: add v126 library to list of standard plugins.
2024-02-08 10:03:42 +00:00
Paul Holden
dae077e86a
MDL-78427 report: add theme usage report to list of standard plugins.
2024-02-08 09:44:17 +00:00
Philipp Imhof
5ec21f8d82
MDL-80630 mod_quiz: keep timer hidden across pages
...
If a student hides the timer, store that setting in their user
preferences in order to keep it hidden even if they go from one page
to another in a quiz.
2024-02-08 09:43:01 +01:00
Laurent David
716da575e7
MDL-80326 course_format: Visibility changes only when capability is set
...
* When an editing teacher has not the capability to change visibility
(for example if for a given module the capability is removed), the visibility
drop down menu in the card should not be available.
2024-02-08 09:21:09 +01:00
Jun Pataleta
081767e803
MDL-77166 core: Point to CONTRIBUTING.md file
...
MDL-80577 formatted CONTRIBUTING.txt and moved to CONTRIBUTING.md so
the message needs to be updated accordingly
2024-02-08 15:32:33 +08:00
Jun Pataleta
72bb1899e0
Merge branch 'MDL-77166' of https://github.com/stronk7/moodle
2024-02-08 15:32:32 +08:00
Huong Nguyen
5f3729eb63
Merge branch 'MDL-80809' of https://github.com/paulholden/moodle
2024-02-08 15:32:32 +08:00
Jun Pataleta
fd25a26efb
Merge branch 'MDL-80577-main' of https://github.com/andrewnicols/moodle
2024-02-08 15:32:32 +08:00
Huong Nguyen
1c5e98c63e
Merge branch 'MDL-80839-main' of https://github.com/aanabit/moodle
2024-02-08 15:32:32 +08:00
Andrew Nicols
a06f1a7910
Merge branch 'MDL-80768' of https://github.com/paulholden/moodle
2024-02-08 15:32:31 +08:00
Ilya Tregubov
1c059cb3fe
MDL-80504 forum: Fix seperate group mode
2024-02-08 15:32:31 +08:00
Ilya Tregubov
fba3e87a24
Merge branch 'MDL-80753-main' of https://github.com/andrewnicols/moodle
2024-02-08 15:32:31 +08:00
Andrew Nicols
8c627ce745
Merge branch 'MDL-80738' of https://github.com/paulholden/moodle
2024-02-08 15:32:30 +08:00
Ilya Tregubov
436331e053
Merge branch 'MDL-80716-master' of https://github.com/sh-csg/moodle
2024-02-08 15:32:30 +08:00
Leon Stringer
662192fcec
MDL-80501 mod_h5pactivity: activity group mode
...
Respect activity's group mode when checking access to the report.
Previously only the course's group mode was checked.
2024-02-08 15:32:30 +08:00
Huong Nguyen
4025771583
Merge branch 'MDL-80544-main' of https://github.com/sarjona/moodle
2024-02-08 15:32:29 +08:00
Huong Nguyen
97ef09c7f8
Merge branch 'MDL-80832-main' of https://github.com/davewoloszyn/moodle
2024-02-08 15:32:29 +08:00
Andrew Nicols
3a73e8046c
Merge branch 'MDL-80648_CFG-xsendfilealiases-in-config-dist-php-is-missing-localrequestdir' of https://github.com/ziegenberg/moodle
2024-02-08 15:32:29 +08:00
Andrew Nicols
d05f271528
Merge branch 'MDL-80803' of https://github.com/paulholden/moodle
2024-02-08 15:32:28 +08:00
Andrew Nicols
74e0266abe
Merge branch 'MDL-36733-master' of https://github.com/PascalHamar/moodle
2024-02-08 15:32:28 +08:00
Andrew Nicols
b156b34552
Merge branch 'MDL-80667' of https://github.com/paulholden/moodle
2024-02-08 15:32:28 +08:00
Ilya Tregubov
53a3ff713d
Merge branch 'MDL-78173' of https://github.com/paulholden/moodle
2024-02-08 15:32:27 +08:00
Sara Arjona
6b93a4e6f5
Merge branch 'MDL-80392-master' of https://github.com/jleyva/moodle
2024-02-08 15:32:27 +08:00
Paul Holden
a5133df5bb
Merge branch 'MDL-80708-main' of https://github.com/rmady/moodle into main
2024-02-08 15:32:27 +08:00
Sara Arjona
d3cac65bf9
Merge branch 'mdl-80576_master' of https://github.com/james-cnz/moodle
2024-02-08 15:32:27 +08:00
Sara Arjona
7179bd713a
Merge branch 'mdl-78095-master' of https://github.com/james-cnz/moodle
2024-02-08 15:32:26 +08:00
Sara Arjona
bc82ddcfb5
Merge branch 'MDL-74500' of https://github.com/paulholden/moodle
2024-02-08 15:32:26 +08:00
Sara Arjona
eb0fa7027c
Merge branch 'MDL-80808' of https://github.com/timhunt/moodle
2024-02-08 15:32:23 +08:00
Sara Arjona
5c69b393df
Merge branch 'MDL-79514' of https://github.com/paulholden/moodle
2024-02-08 15:32:00 +08:00
Sara Arjona
ff50da59e9
Merge branch 'MDL-79577' of https://github.com/paulholden/moodle
2024-02-08 15:32:00 +08:00
Jun Pataleta
53e5c0da37
Merge branch 'MDL-80784-main' of https://github.com/noeldemartin/moodle
2024-02-08 15:31:59 +08:00
Ilya Tregubov
6eaeeda6cf
MDL-69774 mod_forum: Restrict URL to accpet only expected params
2024-02-08 15:31:59 +08:00
Huong Nguyen
04020fb8f6
Merge branch 'MDL-78417' of https://github.com/paulholden/moodle
2024-02-08 15:31:59 +08:00
Huong Nguyen
3d2d81a411
Merge branch 'MDL-80512' of https://github.com/paulholden/moodle
2024-02-08 15:31:59 +08:00
Rodrigo Mady
9c9fbb262c
MDL-80708 auth_email: Extendedusernamechars return get_signup_settings
2024-02-07 11:39:18 -03:00
Paul Holden
597a8ac878
MDL-74500 profilefield_checkbox: override show/empty class methods.
2024-02-07 14:13:48 +00:00
Paul Holden
6f60461220
MDL-80338 core: encode moodle_url instance anchor properties.
2024-02-07 12:21:26 +00:00
Ferran Recio
34ce0eddc0
MDL-80190 core_courseformat: prevent delegated sections loops
...
This patch prevent dropping an activity with delegated sections inside
another delegated section. Without this patch the teacher can create a
deadlock drag&droping the subsection inside itself. We won't allow
subsections inside subsections so any activity with subsection cannot
be dropped inside a subsección.
2024-02-07 12:14:59 +01:00
Ferran Recio
d244a206a3
MDL-80190 core_courseformat: top re-sorting delegated sections
...
The current course editor re-sort sections on the frontend. If a
sections does not exists it uses fragment to render the missing section.
However, delegated section should not be re-sorted as regular sections.
2024-02-07 12:14:18 +01:00
Ferran Recio
15db7d9d98
MDL-80190 core_courseformat: fix activity creation on delegated sections
...
The method for checking if the user can create an activity executed
create_if_missing wihtout checking the section exists or not. This is
a problem for delegated sections because create_if_missing will create a
regular section and push down all delegate ones. With the patch the
method first checks if the section exists.
2024-02-07 12:06:03 +01:00
Ferran Recio
97a7958aee
MDL-80190 core_courseformat: do not render delegated sections in course
2024-02-07 12:06:03 +01:00
Eloy Lafuente (stronk7)
0b9be06745
MDL-77166 core: Auto close pull requests @ GitHub
...
Note that we have also enabled it to be executed
via manual dispatch to be able to close currently
existing PRs.
Once everything existing is closed, it will take on
any new PR arriving. Then, we can remove the manual
dispatching, although it's not critical to leave it
there in case we want to use that workflow with other
repos.
2024-02-07 09:27:22 +01:00
Ilya Tregubov
9ad941c565
Merge branch 'MDL-80124' of https://github.com/paulholden/moodle
2024-02-07 13:16:06 +08:00
Ilya Tregubov
2150694d72
Merge branch 'MDL-80324' of https://github.com/paulholden/moodle
2024-02-07 13:11:58 +08:00
Jun Pataleta
b51e037308
Merge branch 'MDL-70058' of https://github.com/paulholden/moodle
2024-02-07 12:31:44 +08:00
Jun Pataleta
9e7777c6ce
Merge branch 'MDL-75081' of https://github.com/paulholden/moodle
2024-02-07 11:36:44 +08:00
Jun Pataleta
bd54499fe0
Merge branch 'master_check_cached_empty_modnames' of https://github.com/opitz/moodle
2024-02-07 11:18:00 +08:00
David Woloszyn
aad5b7ee5f
MDL-80832 communication_matrix: Fix regression caused by MDL-80403
2024-02-07 14:09:39 +11:00
Ilya Tregubov
ae95b15d70
Merge branch 'MDL-79433' of https://github.com/paulholden/moodle
2024-02-07 10:12:36 +08:00
meirzamoodle
a73e0ac76d
MDL-74641 repository: Fix wrong increment of temporary file for small sizes
2024-02-07 02:34:19 +01:00
meirzamoodle
9ba1423359
MDL-74641 repository: Handles increase bytes while extracting zip files
...
We should not rely solely on the provided size information.
Therefore the system needs to recalculate the size of each file in the zip file,
whether small or big.
The changes also cover the filemanager.js file if an error appears.
2024-02-07 02:34:19 +01:00
meirzamoodle
4cae44dd0e
MDL-78300 block: Determine if users can comment based on context
2024-02-07 02:34:19 +01:00
Paul Holden
bac703c534
MDL-54749 tool_langimport: require sesskey to update lang packs.
2024-02-07 02:34:19 +01:00
Ilya Tregubov
219510b7d9
Merge branch 'MDL-79527' of https://github.com/timhunt/moodle
2024-02-07 09:26:46 +08:00
Ilya Tregubov
c0e22cc885
Merge branch 'MDL-80767' of https://github.com/paulholden/moodle
2024-02-07 09:01:30 +08:00
Ilya Tregubov
8d845a639f
Merge branch 'MDL-78621' of https://github.com/paulholden/moodle
2024-02-07 08:56:41 +08:00
Jun Pataleta
9406820aa1
Merge branch 'MDL-80693-main' of https://github.com/sammarshallou/moodle
2024-02-07 08:33:04 +08:00
Paul Holden
8ea7f73898
MDL-75081 grade: fix rogue gradebook scenarios containing invalid steps.
...
Various re-factors over recent releases appear to have led to quite a
drift between actual functionality and what these scenarios assert for
imagined functionality. Page elements and content are referenced that
don't exist in multiple places.
2024-02-06 17:31:46 +00:00
Paul Holden
662c5e1d31
MDL-75081 behat: define new heading named selector.
...
Co-authored-by: Jun Pataleta <jun@moodle.com >
2024-02-06 17:06:47 +00:00
Paul Holden
5f51b688b9
MDL-75081 behat: correct tests of table contents asserting one column.
...
Prior to this change, assertions of "should exist" and "should not
exist" in table content, where the step provided only a single column,
could give false positives and pass (when they shouldn't).
2024-02-06 16:41:12 +00:00
Paul Holden
306d16c9e9
Merge branch 'MDL-80735' of https://github.com/marinaglancy/moodle into main
2024-02-06 15:26:45 +00:00
Sara Arjona
76104093ff
Merge branch 'MDL-80816' of https://github.com/stronk7/moodle
2024-02-06 15:51:31 +01:00
Tim Hunt
c1d60a5e67
MDL-80834 quiz editing: fix position of the 'depends on previous' icon
2024-02-06 11:29:30 +00:00
Amaia Anabitarte
2919f36b3d
MDL-80839 core_course: Recover addnew string
...
addnew string was deprecated in MDL-80418 but it's still in use.
2024-02-06 11:13:42 +01:00
Juan Leyva
408d7c0c9c
MDL-80392 completion: Fix exporter for Web Services
2024-02-06 11:01:42 +01:00
Paul Holden
c9cdf848bf
MDL-80807 cohort: remove superfluous Behat feature for report source.
2024-02-06 09:48:15 +00:00
Paul Holden
b8a87bd354
MDL-80807 reportbuilder: additional tests for aggregated column sort.
2024-02-06 09:47:57 +00:00
Jun Pataleta
c424ba34e2
MDL-80725 tool_mfa: Apply en_fix to Behat tests
...
Also use the appropriate Behat tags `@tool @tool_mfa @factor_sms`
instead of `@tool_admin_mfa`.
2024-02-06 16:00:00 +08:00
Jun Pataleta
83532409cc
Merge branch 'MDL-80725-main-enfix' of https://github.com/mudrd8mz/moodle
2024-02-06 15:59:07 +08:00
Sara Arjona
88cda2171f
MDL-80544 core_h5p: Remove the h5plib_v124 plugin
...
The h5plib_v124 plugin can be removed because it has been replaced
with h5plib_v126, which is using the latest versions of the
libraries.
2024-02-06 08:09:22 +01:00
Sara Arjona
cda7b09ae1
MDL-80544 core_h5p: Add core lib changes after upgrading it
2024-02-06 08:08:31 +01:00
Sara Arjona
25f1712602
MDL-80544 core_h5p: Upgrade core lib to 1.26
...
This commit is upgrading the joubel/core library to the one
tagged as 1.26 (which also increases the coreApi minorVersion).
That's why the previous commit was duplicating the existing
h5plib_v124.
This tag is also pointing to the same tag that the mod_hvp is using
too: https://github.com/h5p/moodle-mod_hvp/releases/tag/1.26.1
2024-02-06 08:08:31 +01:00
Sara Arjona
ab99e7c458
MDL-80544 h5plib: Create first version of h5plib_v126
...
AMOS BEGIN
CPY [editor:a11ytitleshowlabel,h5plib_v124],[editor:a11ytitleshowlabel,h5plib_v126]
CPY [editor:a11ytitlehidelabel,h5plib_v124],[editor:a11ytitlehidelabel,h5plib_v126]
CPY [editor:atoz,h5plib_v124],[editor:atoz,h5plib_v126]
CPY [editor:add,h5plib_v124],[editor:add,h5plib_v126]
CPY [editor:addauthor,h5plib_v124],[editor:addauthor,h5plib_v126]
CPY [editor:addentity,h5plib_v124],[editor:addentity,h5plib_v126]
CPY [editor:addfile,h5plib_v124],[editor:addfile,h5plib_v126]
CPY [editor:addnewchange,h5plib_v124],[editor:addnewchange,h5plib_v126]
CPY [editor:addtitle,h5plib_v124],[editor:addtitle,h5plib_v126]
CPY [editor:addvideodescription,h5plib_v124],[editor:addvideodescription,h5plib_v126]
CPY [editor:avtablistlabel,h5plib_v124],[editor:avtablistlabel,h5plib_v126]
CPY [editor:belowmin,h5plib_v124],[editor:belowmin,h5plib_v126]
CPY [editor:cancel,h5plib_v124],[editor:cancel,h5plib_v126]
CPY [editor:cancellabel,h5plib_v124],[editor:cancellabel,h5plib_v126]
CPY [editor:changefile,h5plib_v124],[editor:changefile,h5plib_v126]
CPY [editor:changelanguage,h5plib_v124],[editor:changelanguage,h5plib_v126]
CPY [editor:changelibrary,h5plib_v124],[editor:changelibrary,h5plib_v126]
CPY [editor:changelogdescription,h5plib_v124],[editor:changelogdescription,h5plib_v126]
CPY [editor:close,h5plib_v124],[editor:close,h5plib_v126]
CPY [editor:commonfields,h5plib_v124],[editor:commonfields,h5plib_v126]
CPY [editor:commonfieldsdescription,h5plib_v124],[editor:commonfieldsdescription,h5plib_v126]
CPY [editor:confirmchangelibrary,h5plib_v124],[editor:confirmchangelibrary,h5plib_v126]
CPY [editor:confirmdeletechangelog,h5plib_v124],[editor:confirmdeletechangelog,h5plib_v126]
CPY [editor:confirmimageremoval,h5plib_v124],[editor:confirmimageremoval,h5plib_v126]
CPY [editor:confirmpastebuttontext,h5plib_v124],[editor:confirmpastebuttontext,h5plib_v126]
CPY [editor:confirmpastecontent,h5plib_v124],[editor:confirmpastecontent,h5plib_v126]
CPY [editor:confirmremoval,h5plib_v124],[editor:confirmremoval,h5plib_v126]
CPY [editor:confirmremoveauthor,h5plib_v124],[editor:confirmremoveauthor,h5plib_v126]
CPY [editor:contenttypebackbuttonlabel,h5plib_v124],[editor:contenttypebackbuttonlabel,h5plib_v126]
CPY [editor:contenttypecacheoutdated,h5plib_v124],[editor:contenttypecacheoutdated,h5plib_v126]
CPY [editor:contenttypecacheoutdateddesc,h5plib_v124],[editor:contenttypecacheoutdateddesc,h5plib_v126]
CPY [editor:contenttypedemobuttonlabel,h5plib_v124],[editor:contenttypedemobuttonlabel,h5plib_v126]
CPY [editor:contenttypedetailbuttonlabel,h5plib_v124],[editor:contenttypedetailbuttonlabel,h5plib_v126]
CPY [editor:contenttypegetbuttonlabel,h5plib_v124],[editor:contenttypegetbuttonlabel,h5plib_v126]
CPY [editor:contenttypeiconalttext,h5plib_v124],[editor:contenttypeiconalttext,h5plib_v126]
CPY [editor:contenttypeinstallbuttonlabel,h5plib_v124],[editor:contenttypeinstallbuttonlabel,h5plib_v126]
CPY [editor:contenttypeinstallerror,h5plib_v124],[editor:contenttypeinstallerror,h5plib_v126]
CPY [editor:contenttypeinstallsuccess,h5plib_v124],[editor:contenttypeinstallsuccess,h5plib_v126]
CPY [editor:contenttypeinstallingbuttonlabel,h5plib_v124],[editor:contenttypeinstallingbuttonlabel,h5plib_v126]
CPY [editor:contenttypelicensepaneltitle,h5plib_v124],[editor:contenttypelicensepaneltitle,h5plib_v126]
CPY [editor:contenttypenotinstalled,h5plib_v124],[editor:contenttypenotinstalled,h5plib_v126]
CPY [editor:contenttypenotinstalleddesc,h5plib_v124],[editor:contenttypenotinstalleddesc,h5plib_v126]
CPY [editor:contenttypeowner,h5plib_v124],[editor:contenttypeowner,h5plib_v126]
CPY [editor:contenttyperestricted,h5plib_v124],[editor:contenttyperestricted,h5plib_v126]
CPY [editor:contenttyperestricteddesc,h5plib_v124],[editor:contenttyperestricteddesc,h5plib_v126]
CPY [editor:contenttypesearchfieldplaceholder,h5plib_v124],[editor:contenttypesearchfieldplaceholder,h5plib_v126]
CPY [editor:contenttypesectionall,h5plib_v124],[editor:contenttypesectionall,h5plib_v126]
CPY [editor:contenttypeunsupportedapiversioncontent,h5plib_v124],[editor:contenttypeunsupportedapiversioncontent,h5plib_v126]
CPY [editor:contenttypeunsupportedapiversiontitle,h5plib_v124],[editor:contenttypeunsupportedapiversiontitle,h5plib_v126]
CPY [editor:contenttypeupdateavailable,h5plib_v124],[editor:contenttypeupdateavailable,h5plib_v126]
CPY [editor:contenttypeupdatebuttonlabel,h5plib_v124],[editor:contenttypeupdatebuttonlabel,h5plib_v126]
CPY [editor:contenttypeupdatesuccess,h5plib_v124],[editor:contenttypeupdatesuccess,h5plib_v126]
CPY [editor:contenttypeupdatingbuttonlabel,h5plib_v124],[editor:contenttypeupdatingbuttonlabel,h5plib_v126]
CPY [editor:contenttypeusebuttonlabel,h5plib_v124],[editor:contenttypeusebuttonlabel,h5plib_v126]
CPY [editor:contributetranslations,h5plib_v124],[editor:contributetranslations,h5plib_v126]
CPY [editor:copiedbutton,h5plib_v124],[editor:copiedbutton,h5plib_v126]
CPY [editor:copiedtoclipboard,h5plib_v124],[editor:copiedtoclipboard,h5plib_v126]
CPY [editor:copybutton,h5plib_v124],[editor:copybutton,h5plib_v126]
CPY [editor:copytoclipboard,h5plib_v124],[editor:copytoclipboard,h5plib_v126]
CPY [editor:createcontenttablabel,h5plib_v124],[editor:createcontenttablabel,h5plib_v126]
CPY [editor:currentmenuselected,h5plib_v124],[editor:currentmenuselected,h5plib_v126]
CPY [editor:editcopyright,h5plib_v124],[editor:editcopyright,h5plib_v126]
CPY [editor:editimage,h5plib_v124],[editor:editimage,h5plib_v126]
CPY [editor:editmode,h5plib_v124],[editor:editmode,h5plib_v126]
CPY [editor:enteraudiotitle,h5plib_v124],[editor:enteraudiotitle,h5plib_v126]
CPY [editor:enteraudiourl,h5plib_v124],[editor:enteraudiourl,h5plib_v126]
CPY [editor:enterfullscreenbuttonlabel,h5plib_v124],[editor:enterfullscreenbuttonlabel,h5plib_v126]
CPY [editor:entervideotitle,h5plib_v124],[editor:entervideotitle,h5plib_v126]
CPY [editor:entervideourl,h5plib_v124],[editor:entervideourl,h5plib_v126]
CPY [editor:errorcalculatingmaxscore,h5plib_v124],[editor:errorcalculatingmaxscore,h5plib_v126]
CPY [editor:errorcommunicatinghubcontent,h5plib_v124],[editor:errorcommunicatinghubcontent,h5plib_v126]
CPY [editor:errorcommunicatinghubtitle,h5plib_v124],[editor:errorcommunicatinghubtitle,h5plib_v126]
CPY [editor:errorheader,h5plib_v124],[editor:errorheader,h5plib_v126]
CPY [editor:errornotsupported,h5plib_v124],[editor:errornotsupported,h5plib_v126]
CPY [editor:errorparamsbroken,h5plib_v124],[editor:errorparamsbroken,h5plib_v126]
CPY [editor:errortoohighversion,h5plib_v124],[editor:errortoohighversion,h5plib_v126]
CPY [editor:example,h5plib_v124],[editor:example,h5plib_v126]
CPY [editor:exceedsmax,h5plib_v124],[editor:exceedsmax,h5plib_v126]
CPY [editor:exitfullscreenbuttonlabel,h5plib_v124],[editor:exitfullscreenbuttonlabel,h5plib_v126]
CPY [editor:expandcollapse,h5plib_v124],[editor:expandcollapse,h5plib_v126]
CPY [editor:filetolarge,h5plib_v124],[editor:filetolarge,h5plib_v126]
CPY [editor:fillinthefieldsbelow,h5plib_v124],[editor:fillinthefieldsbelow,h5plib_v126]
CPY [editor:gethelp,h5plib_v124],[editor:gethelp,h5plib_v126]
CPY [editor:h5pfileuploadservererrorcontent,h5plib_v124],[editor:h5pfileuploadservererrorcontent,h5plib_v126]
CPY [editor:h5pfileuploadservererrortitle,h5plib_v124],[editor:h5pfileuploadservererrortitle,h5plib_v126]
CPY [editor:h5pfilevalidationfailedcontent,h5plib_v124],[editor:h5pfilevalidationfailedcontent,h5plib_v126]
CPY [editor:h5pfilevalidationfailedtitle,h5plib_v124],[editor:h5pfilevalidationfailedtitle,h5plib_v126]
CPY [editor:h5pfilewrongextensioncontent,h5plib_v124],[editor:h5pfilewrongextensioncontent,h5plib_v126]
CPY [editor:h5pfilewrongextensiontitle,h5plib_v124],[editor:h5pfilewrongextensiontitle,h5plib_v126]
CPY [editor:height,h5plib_v124],[editor:height,h5plib_v126]
CPY [editor:hide,h5plib_v124],[editor:hide,h5plib_v126]
CPY [editor:hideimportantinstructions,h5plib_v124],[editor:hideimportantinstructions,h5plib_v126]
CPY [editor:hubpanellabel,h5plib_v124],[editor:hubpanellabel,h5plib_v126]
CPY [editor:illegaldecimalnumber,h5plib_v124],[editor:illegaldecimalnumber,h5plib_v126]
CPY [editor:imagelightboxprogress,h5plib_v124],[editor:imagelightboxprogress,h5plib_v126]
CPY [editor:imagelightboxtitle,h5plib_v124],[editor:imagelightboxtitle,h5plib_v126]
CPY [editor:importantinstructions,h5plib_v124],[editor:importantinstructions,h5plib_v126]
CPY [editor:insert,h5plib_v124],[editor:insert,h5plib_v126]
CPY [editor:invalidformat,h5plib_v124],[editor:invalidformat,h5plib_v126]
CPY [editor:language,h5plib_v124],[editor:language,h5plib_v126]
CPY [editor:librarymissing,h5plib_v124],[editor:librarymissing,h5plib_v126]
CPY [editor:licensecandistribute,h5plib_v124],[editor:licensecandistribute,h5plib_v126]
CPY [editor:licensecanholdliable,h5plib_v124],[editor:licensecanholdliable,h5plib_v126]
CPY [editor:licensecanmodify,h5plib_v124],[editor:licensecanmodify,h5plib_v126]
CPY [editor:licensecansublicense,h5plib_v124],[editor:licensecansublicense,h5plib_v126]
CPY [editor:licensecanusecommercially,h5plib_v124],[editor:licensecanusecommercially,h5plib_v126]
CPY [editor:licensecannotholdliable,h5plib_v124],[editor:licensecannotholdliable,h5plib_v126]
CPY [editor:licensedescription,h5plib_v124],[editor:licensedescription,h5plib_v126]
CPY [editor:licensefetchdetailsfailed,h5plib_v124],[editor:licensefetchdetailsfailed,h5plib_v126]
CPY [editor:licensemodalsubtitle,h5plib_v124],[editor:licensemodalsubtitle,h5plib_v126]
CPY [editor:licensemodaltitle,h5plib_v124],[editor:licensemodaltitle,h5plib_v126]
CPY [editor:licensemustincludecopyright,h5plib_v124],[editor:licensemustincludecopyright,h5plib_v126]
CPY [editor:licensemustincludelicense,h5plib_v124],[editor:licensemustincludelicense,h5plib_v126]
CPY [editor:licenseunspecified,h5plib_v124],[editor:licenseunspecified,h5plib_v126]
CPY [editor:listbelowmin,h5plib_v124],[editor:listbelowmin,h5plib_v126]
CPY [editor:listexceedsmax,h5plib_v124],[editor:listexceedsmax,h5plib_v126]
CPY [editor:listlabel,h5plib_v124],[editor:listlabel,h5plib_v126]
CPY [editor:loading,h5plib_v124],[editor:loading,h5plib_v126]
CPY [editor:loadingimageeditor,h5plib_v124],[editor:loadingimageeditor,h5plib_v126]
CPY [editor:logthischange,h5plib_v124],[editor:logthischange,h5plib_v126]
CPY [editor:loggedchanges,h5plib_v124],[editor:loggedchanges,h5plib_v126]
CPY [editor:maxscoresemanticsmissing,h5plib_v124],[editor:maxscoresemanticsmissing,h5plib_v126]
CPY [editor:metadata,h5plib_v124],[editor:metadata,h5plib_v126]
CPY [editor:metadatasharingandlicensinginfo,h5plib_v124],[editor:metadatasharingandlicensinginfo,h5plib_v126]
CPY [editor:missingproperty,h5plib_v124],[editor:missingproperty,h5plib_v126]
CPY [editor:missingtranslation,h5plib_v124],[editor:missingtranslation,h5plib_v126]
CPY [editor:newchangehasbeenlogged,h5plib_v124],[editor:newchangehasbeenlogged,h5plib_v126]
CPY [editor:newestfirst,h5plib_v124],[editor:newestfirst,h5plib_v126]
CPY [editor:nextimage,h5plib_v124],[editor:nextimage,h5plib_v126]
CPY [editor:nochangeshavebeenlogged,h5plib_v124],[editor:nochangeshavebeenlogged,h5plib_v126]
CPY [editor:nocontenttypesavailable,h5plib_v124],[editor:nocontenttypesavailable,h5plib_v126]
CPY [editor:nocontenttypesavailabledesc,h5plib_v124],[editor:nocontenttypesavailabledesc,h5plib_v126]
CPY [editor:nofollow,h5plib_v124],[editor:nofollow,h5plib_v126]
CPY [editor:notimageordimensionsfield,h5plib_v124],[editor:notimageordimensionsfield,h5plib_v126]
CPY [editor:numresults,h5plib_v124],[editor:numresults,h5plib_v126]
CPY [editor:numberfield,h5plib_v124],[editor:numberfield,h5plib_v126]
CPY [editor:ok,h5plib_v124],[editor:ok,h5plib_v126]
CPY [editor:onlynumbers,h5plib_v124],[editor:onlynumbers,h5plib_v126]
CPY [editor:or,h5plib_v124],[editor:or,h5plib_v126]
CPY [editor:orderitemdown,h5plib_v124],[editor:orderitemdown,h5plib_v126]
CPY [editor:orderitemup,h5plib_v124],[editor:orderitemup,h5plib_v126]
CPY [editor:outofstep,h5plib_v124],[editor:outofstep,h5plib_v126]
CPY [editor:pasteandreplacebutton,h5plib_v124],[editor:pasteandreplacebutton,h5plib_v126]
CPY [editor:pasteandreplacefromclipboard,h5plib_v124],[editor:pasteandreplacefromclipboard,h5plib_v126]
CPY [editor:pastebutton,h5plib_v124],[editor:pastebutton,h5plib_v126]
CPY [editor:pastecontent,h5plib_v124],[editor:pastecontent,h5plib_v126]
CPY [editor:pastecontentnotsupported,h5plib_v124],[editor:pastecontentnotsupported,h5plib_v126]
CPY [editor:pastecontentrestricted,h5plib_v124],[editor:pastecontentrestricted,h5plib_v126]
CPY [editor:pasteerror,h5plib_v124],[editor:pasteerror,h5plib_v126]
CPY [editor:pastefromclipboard,h5plib_v124],[editor:pastefromclipboard,h5plib_v126]
CPY [editor:pastenocontent,h5plib_v124],[editor:pastenocontent,h5plib_v126]
CPY [editor:pastetoonew,h5plib_v124],[editor:pastetoonew,h5plib_v126]
CPY [editor:pastetooold,h5plib_v124],[editor:pastetooold,h5plib_v126]
CPY [editor:popularfirst,h5plib_v124],[editor:popularfirst,h5plib_v126]
CPY [editor:previousimage,h5plib_v124],[editor:previousimage,h5plib_v126]
CPY [editor:proceedbuttonlabel,h5plib_v124],[editor:proceedbuttonlabel,h5plib_v126]
CPY [editor:readless,h5plib_v124],[editor:readless,h5plib_v126]
CPY [editor:readmore,h5plib_v124],[editor:readmore,h5plib_v126]
CPY [editor:recentlyusedfirst,h5plib_v124],[editor:recentlyusedfirst,h5plib_v126]
CPY [editor:reloadbuttonlabel,h5plib_v124],[editor:reloadbuttonlabel,h5plib_v126]
CPY [editor:removefile,h5plib_v124],[editor:removefile,h5plib_v126]
CPY [editor:removeimage,h5plib_v124],[editor:removeimage,h5plib_v126]
CPY [editor:removeitem,h5plib_v124],[editor:removeitem,h5plib_v126]
CPY [editor:requiredproperty,h5plib_v124],[editor:requiredproperty,h5plib_v126]
CPY [editor:resettooriginallabel,h5plib_v124],[editor:resettooriginallabel,h5plib_v126]
CPY [editor:savelabel,h5plib_v124],[editor:savelabel,h5plib_v126]
CPY [editor:savemetadata,h5plib_v124],[editor:savemetadata,h5plib_v126]
CPY [editor:screenshots,h5plib_v124],[editor:screenshots,h5plib_v126]
CPY [editor:scriptmissing,h5plib_v124],[editor:scriptmissing,h5plib_v126]
CPY [editor:searchresults,h5plib_v124],[editor:searchresults,h5plib_v126]
CPY [editor:selectfiletoupload,h5plib_v124],[editor:selectfiletoupload,h5plib_v126]
CPY [editor:selectlibrary,h5plib_v124],[editor:selectlibrary,h5plib_v126]
CPY [editor:semanticserror,h5plib_v124],[editor:semanticserror,h5plib_v126]
CPY [editor:show,h5plib_v124],[editor:show,h5plib_v126]
CPY [editor:showimportantinstructions,h5plib_v124],[editor:showimportantinstructions,h5plib_v126]
CPY [editor:tabtitlebasicfileupload,h5plib_v124],[editor:tabtitlebasicfileupload,h5plib_v126]
CPY [editor:tabtitleinputlinkurl,h5plib_v124],[editor:tabtitleinputlinkurl,h5plib_v126]
CPY [editor:textfield,h5plib_v124],[editor:textfield,h5plib_v126]
CPY [editor:thecontenttype,h5plib_v124],[editor:thecontenttype,h5plib_v126]
CPY [editor:thiswillpotentially,h5plib_v124],[editor:thiswillpotentially,h5plib_v126]
CPY [editor:title,h5plib_v124],[editor:title,h5plib_v126]
CPY [editor:toolong,h5plib_v124],[editor:toolong,h5plib_v126]
CPY [editor:tryagain,h5plib_v124],[editor:tryagain,h5plib_v126]
CPY [editor:tutorial,h5plib_v124],[editor:tutorial,h5plib_v126]
CPY [editor:unabletointerpreterror,h5plib_v124],[editor:unabletointerpreterror,h5plib_v126]
CPY [editor:unabletointerpretsolution,h5plib_v124],[editor:unabletointerpretsolution,h5plib_v126]
CPY [editor:unknownfieldpath,h5plib_v124],[editor:unknownfieldpath,h5plib_v126]
CPY [editor:uploadinstructionstitle,h5plib_v124],[editor:uploadinstructionstitle,h5plib_v126]
CPY [editor:uploadplaceholder,h5plib_v124],[editor:uploadplaceholder,h5plib_v126]
CPY [editor:uploadsuccess,h5plib_v124],[editor:uploadsuccess,h5plib_v126]
CPY [editor:uploadtablabel,h5plib_v124],[editor:uploadtablabel,h5plib_v126]
CPY [editor:uploadvideotitle,h5plib_v124],[editor:uploadvideotitle,h5plib_v126]
CPY [editor:uploading,h5plib_v124],[editor:uploading,h5plib_v126]
CPY [editor:uploadingthrobber,h5plib_v124],[editor:uploadingthrobber,h5plib_v126]
CPY [editor:usedforsearchingreportsandcopyrightinformation,h5plib_v124],[editor:usedforsearchingreportsandcopyrightinformation,h5plib_v126]
CPY [editor:videoquality,h5plib_v124],[editor:videoquality,h5plib_v126]
CPY [editor:videoqualitydefaultlabel,h5plib_v124],[editor:videoqualitydefaultlabel,h5plib_v126]
CPY [editor:videoqualitydescription,h5plib_v124],[editor:videoqualitydescription,h5plib_v126]
CPY [editor:warningchangebrowsingtoseeresults,h5plib_v124],[editor:warningchangebrowsingtoseeresults,h5plib_v126]
CPY [editor:warningnocontenttypesinstalled,h5plib_v124],[editor:warningnocontenttypesinstalled,h5plib_v126]
CPY [editor:warningupdateavailablebody,h5plib_v124],[editor:warningupdateavailablebody,h5plib_v126]
CPY [editor:warningupdateavailabletitle,h5plib_v124],[editor:warningupdateavailabletitle,h5plib_v126]
CPY [editor:width,h5plib_v124],[editor:width,h5plib_v126]
AMOS END
2024-02-06 08:08:31 +01:00
Ilya Tregubov
fa91b1e12a
Merge branch 'MDL-73703-master' of https://github.com/davewoloszyn/moodle
2024-02-06 12:37:51 +08:00
Jun Pataleta
381b8123be
Merge branch 'MDL-72703' of https://github.com/paulholden/moodle
2024-02-06 12:27:18 +08:00
Ilya Tregubov
f5f8f8ad0f
Merge branch 'MDL-80713-main' of https://github.com/HuongNV13/moodle
2024-02-06 11:19:21 +08:00
Ilya Tregubov
b87c53b2bb
Merge branch 'MDL-79295-master' of https://github.com/jleyva/moodle
2024-02-06 11:15:48 +08:00
Amaia Anabitarte
3e2da7f6f7
MDL-80541 core_course: Improving section form title
2024-02-05 10:25:52 +01:00
Jun Pataleta
326c5ab3b1
Merge branch 'MDL-80060' of https://github.com/paulholden/moodle
2024-02-05 16:07:03 +08:00
Huong Nguyen
54217383c3
Merge branch 'MDL-80811' of https://github.com/paulholden/moodle
2024-02-05 13:41:56 +07:00
Huong Nguyen
7f7280f5d7
Merge branch 'MDL-80718-master' of https://github.com/dpalou/moodle
2024-02-05 13:36:54 +07:00
Huong Nguyen
d884fbe2b1
Merge branch 'MDL-67772-email-thread-headers' of https://github.com/brendanheywood/moodle
2024-02-05 13:33:06 +07:00
Jun Pataleta
21458dc8a4
Merge branch 'MDL-80694' of https://github.com/marinaglancy/moodle
2024-02-05 14:27:05 +08:00
Jun Pataleta
da266d1c0e
MDL-78427 user: Revert accidental addition of deleted line
...
In MDL-80271, the line `$user->timemodified = time();` was removed to
make sure that `user_update_user()` does not unnecessarily writes to
the database. This seems to have been accidentally put back during
conflict resolution while rebasing the patch for MDL-78427.
2024-02-05 13:50:50 +08:00
Jun Pataleta
3c196b3039
Merge branch 'MDL-78427-master' of https://github.com/davewoloszyn/moodle
2024-02-05 13:42:17 +08:00
Brendan Heywood
ccac5c1a20
MDL-80823 core: Redirect to wwwroot with full path
2024-02-05 16:07:36 +11:00
Huong Nguyen
052c313747
Merge branch 'MDL-80537' of https://github.com/timhunt/moodle
2024-02-05 11:14:52 +07:00
Huong Nguyen
149dd7bfa9
MDL-80713 Unit Tests: Message sink improvement
...
- Added a new method called get_messages_by_component()
This method will help to retreive the redirected messages
of specific component only
- Added a new method called get_messages_by_component_and_type()
This method will help to retreive the redirected messages
of specific component and type only
2024-02-05 09:23:41 +07:00
Mihail Geshoski
2d3664dc40
MDL-80742 mod_assign: Remove the 'back' button on the submissions page
2024-02-04 22:13:12 +08:00
Brendan Heywood
2af212d234
MDL-78447 tool_generator: Improve progress bars
2024-02-03 16:59:43 +11:00
Tim Hunt
435ee33af1
MDL-80808 quiz: improve message when the student can't review
2024-02-02 17:30:47 +00:00
Marina Glancy
80ab39edcc
MDL-80735 reportbuilder: do not render filters form during download
...
this removes unnecessary calculations and also prevents the session mutation
2024-02-02 16:21:15 +00:00
Eloy Lafuente (stronk7)
0d499ce11d
MDL-80816 core: Bump actions to newer versions
...
All the new ones are Nodejs 20 based, because
Nodejs 16 is being deprecated @ GH environments.
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
Also, bump PHP version from 8.0 to 8.1, because it's a new
requirement for Moodle 4.4, and it was not modified originally.
2024-02-02 17:07:35 +01:00
Amaia Anabitarte
694013dcaa
MDL-80814 core_course: Fix updating activity titles
2024-02-02 14:20:07 +01:00
Tim Hunt
049bff63bc
MDL-79527 questions: category tree loading handling bad data
...
It should always be the case that a question category and its parent
category belong to the same context. However, over the years, we have
observed that this becomes violated by some data in some Moodle sites.
(The suspicion is that this is a backup/restor bug of some sort which
has never been tracked down.)
Since this happens, we should make the code robust to it, which is what
this change does. It ensure that when loading child categories, we only
consider ones in the same context.
2024-02-02 11:26:57 +00:00
Ilya Tregubov
3fc907e3d8
weekly release 4.4dev
2024-02-02 08:56:16 +08:00
Ilya Tregubov
29fc88390a
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2024-02-02 08:56:12 +08:00
David Woloszyn
40d397ab5f
MDL-78427 core_theme: Add theme usage report and icon
...
In addition to adding in theme usage reports, there is also the
addition of an icon on the theme cards which takes you to the report.
This icon only appears for that theme if it has been used in any
overriding context.
2024-02-02 11:16:46 +11:00
james-cnz
02037c5f2c
MDL-78095 course: Respect is_bulk_editable()
2024-02-02 10:49:07 +13:00
Paul Holden
fb7838586e
MDL-80811 mod_quiz: fix question preview popup event handling.
...
* Fix the selector used to identify the preview icon element;
* Remove redundant code for handling it's click event, because it
already registers itself with a popup action which handles that.
2024-02-01 20:29:00 +00:00
David Mudrák
e32bd37113
MDL-80725 lang: Fix Behat regressions related to the question rename
2024-02-01 20:02:22 +01:00
David Mudrák
dfc47df6e8
MDL-80725 lang: Fix Help and documentation regressions
2024-02-01 19:30:58 +01:00
Paul Holden
f32c74e654
MDL-80809 course: correct context arguments when formatting strings.
2024-02-01 17:36:57 +00:00
Paul Holden
3c83f2b85f
MDL-80722 reportbuilder: add time created/modified to course entity.
...
Tidy up unit tests for course report, removing some redundancy and
duplication.
2024-02-01 17:13:11 +00:00
Tim Hunt
cefcedebcb
MDL-80537 question bank: escape plain text display of question text
2024-02-01 16:15:04 +00:00
Paul Holden
222af1c976
MDL-80803 course: observe mod availability before update notification.
2024-02-01 14:49:58 +00:00
Brendan Heywood
cc0d2d4630
MDL-67772 mod_forum: Fix email threading for first message
2024-02-01 16:11:44 +11:00
Huong Nguyen
096a759b67
Merge branch 'MDL-80485' of https://github.com/paulholden/moodle
2024-02-01 11:30:44 +07:00
Huong Nguyen
c9c441b1a1
Merge branch 'MDL-80660' of https://github.com/paulholden/moodle
2024-02-01 11:23:23 +07:00
Huong Nguyen
f51f0cc09c
Merge branch 'MDL-80538-main' of https://github.com/lameze/moodle
2024-02-01 11:17:36 +07:00
Simey Lameze
6af7654d8d
MDL-80538 phpdoc: add missing null parameter type to phpdoc
2024-02-01 12:06:43 +08:00
Huong Nguyen
490ca57d1c
Merge branch 'MDL-71665-main' of https://github.com/laurentdavid/moodle
2024-02-01 11:06:35 +07:00
Jun Pataleta
13c8b7e4fe
Merge branch 'MDL-70483-main' of https://github.com/kevpercy/moodle
2024-02-01 12:04:49 +08:00
Huong Nguyen
08a4c5f9ea
Merge branch 'MDL-80450' of https://github.com/paulholden/moodle
2024-02-01 11:00:46 +07:00
Huong Nguyen
f271f9b06c
Merge branch 'MDL-80692' of https://github.com/paulholden/moodle
2024-02-01 10:57:11 +07:00
Ilya Tregubov
67a94c49c4
Merge branch 'MDL-80267-main' of https://github.com/HuongNV13/moodle
2024-02-01 11:52:36 +08:00
Huong Nguyen
cc02940ddb
Merge branch 'MDL-73010' of https://github.com/paulholden/moodle
2024-02-01 10:49:28 +07:00
Jun Pataleta
b979257e88
Merge branch 'MDL-74775-main' of https://github.com/HuongNV13/moodle
2024-02-01 11:47:16 +08:00
Huong Nguyen
5f78501071
Merge branch 'MDL-29261' of https://github.com/paulholden/moodle
2024-02-01 10:45:11 +07:00
Huong Nguyen
c35f04c255
Merge branch 'MDL-80706' of https://github.com/marinaglancy/moodle
2024-02-01 10:43:37 +07:00
Jun Pataleta
3606ebad4a
Merge branch 'MDL-80247' of https://github.com/paulholden/moodle
2024-02-01 11:39:06 +08:00
Ilya Tregubov
fdf5f5bc0a
Merge branch 'MDL-80202' of https://github.com/paulholden/moodle
2024-02-01 10:38:47 +08:00
Huong Nguyen
24fde0ce87
MDL-80267 Backup: Make sure to mark the task as failed in such cases
...
Adding a try-catch around the restore process to make sure that
the task will be marked as failed state if the process throws any
exceptions
2024-02-01 09:37:14 +07:00
Stevani Andolo
42d76fd293
MDL-80267 task_course_restore: Prevent failed course restore
2024-02-01 09:31:08 +07:00
Ilya Tregubov
a2e121b41f
Merge branch 'MDL-80199' of https://github.com/paulholden/moodle
2024-02-01 10:31:02 +08:00
Ilya Tregubov
29e492c22e
Merge branch 'MDL-80727' of https://github.com/paulholden/moodle
2024-02-01 10:26:14 +08:00
Huong Nguyen
aecf9dca1b
Merge branch 'MDL-80250-main' of https://github.com/aanabit/moodle
2024-02-01 09:20:57 +07:00
Huong Nguyen
6139347d33
Merge branch 'MDL-80554-cron-debugdisplay' of https://github.com/brendanheywood/moodle
2024-02-01 09:10:06 +07:00
Huong Nguyen
a9e293cac9
Merge branch 'MDL-80289-main' of https://github.com/call-learning/moodle
2024-02-01 08:55:09 +07:00
David Mudrák
d8ca8be28c
MDL-80725 lang: Use the fixed strings in tests, too
2024-01-31 20:06:06 +01:00
Paul Holden
717a616030
MDL-80766 gradereport_grader: omit max constraint for unlimited grades.
2024-01-31 18:26:38 +00:00
Helen Foster
ddbfeecb83
MDL-80725 lang: Import fixed English strings (en_fix)
2024-01-31 18:45:03 +01:00
Noel De Martin
a916c21c0c
MDL-80784 behat: Disable SSL checks for app initialization
2024-01-31 14:05:20 +01:00
Amaia Anabitarte
522a7ec010
MDL-80250 course_format: Create new section_viewed event
2024-01-31 12:54:06 +01:00
Ilya Tregubov
43f5bc3775
Merge branch 'MDL-43056-main' of https://github.com/davewoloszyn/moodle
2024-01-31 09:37:37 +08:00
Ilya Tregubov
d93271063a
Merge branch 'MDL-80575' of https://github.com/paulholden/moodle
2024-01-31 09:24:03 +08:00
David Woloszyn
4807a4dd5f
MDL-43056 tool_uploadcourse: Add capability to upload courses from file
...
An entrypoint capability has been added that allows accessing the
upload tool. Further relevant capability checks are then performed
depending on the action being taken during the upload process.
Co-authored-by: Marina Glancy <marina@moodle.com >
2024-01-31 11:29:33 +11:00
Paul Holden
2acfe3c093
MDL-80767 theme_boost: right align process monitor to block drawer.
2024-01-31 00:01:33 +00:00
Paul Holden
87f865ea24
MDL-80768 output: stricter progress bar component percentage type.
...
Avoid mixing float/string types, where the decimal separator could
vary according to current locale.
2024-01-30 23:11:13 +00:00
Paul Holden
7db305c8f4
MDL-80738 quiz_statistics: ensure tests uses a DB-backed lock class.
...
Fix the test file/class name too.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2024-01-30 15:38:35 +00:00
Ferran Recio
15eda1d56a
MDL-80553 backup: fix section backup step phpunit
2024-01-30 16:30:03 +01:00
Paul Holden
24b5e80365
MDL-80692 calendar: calculate today relative to users own timezone.
...
Co-authored-by: Archil Abuladze <armiworker@gmail.com >
2024-01-30 14:37:43 +00:00
info@eWallah.net
8e62bcd9aa
MDL-80538 phpdoc: Incorrect dataformat type documentation in table lib
2024-01-30 15:22:53 +01:00
Paul Holden
0ac237d542
MDL-74500 user: method to determine whether to show profile fields.
...
The new API replaces identical behaviour in existing calling code, but
allows for profile field types to override/separate the logic used to
show the field and determine whether it's empty
2024-01-30 11:33:52 +00:00
Paul Holden
066cfa41a6
MDL-80485 tool_lp: consistent activity icon element styling.
2024-01-30 11:27:22 +00:00
Andrew Nicols
484da7c0e8
MDL-79003 js: Bump stylelint and components
...
Stylelint 15 deprecates a heap of rules which will be removed in 16.
We can't use 16 because it's ESM and requires a big restructure of our
build process.
We can temporarily silence the deprecations and then when we update our
build tooling we can make use of @stylistic/stylelint-plugin to add the
rules back.
This commit:
- bumps stylelint and related dependencies accordingly
- fixes issues identified with newer sniffs
- temporarily silences deprecation warnings
2024-01-30 12:19:53 +08:00
Andrew Nicols
d851f109ef
MDL-79003 js: Move rollup ratelimit to generateBundle
...
There are two phases of a build: Building, and then Outputting.
We were previously listening on the final event for the build phase, but
we should be listening to the final event of the output phase.
2024-01-30 12:19:53 +08:00
Andrew Nicols
516fb90a1f
MDL-79003 js: Move browserlist config to package.json
2024-01-30 12:19:52 +08:00
Andrew Nicols
32a39926a9
MDL-79003 js: Standard package bump - glob
2024-01-30 12:19:52 +08:00
Andrew Nicols
5094828180
MDL-79003 js: Standard package bump - async
2024-01-30 12:19:52 +08:00
Andrew Nicols
62242b66c7
MDL-79003 js: Remove grunt-contrib-uglify
...
We stopped using this when we updated our processes to support ESMs in
MDL-62497. Removal of the dependency was missed at the time.
2024-01-30 12:19:52 +08:00
Andrew Nicols
d7c7e8afaf
MDL-79003 js: Standard package bump - grunt
2024-01-30 12:19:52 +08:00
Andrew Nicols
00ffcd3a5b
MDL-79003 js: Standard package bump - watchman
2024-01-30 12:19:51 +08:00
Andrew Nicols
ea380da041
MDL-79003 js: Standard package bump - ajv
2024-01-30 12:19:51 +08:00
Andrew Nicols
f457725b3a
MDL-79003 js: Use our own jsdoc wrapper
...
grunt-jsdoc is abandoned and only works with an older version of jsdoc.
This is a very simple wrapper around jsdoc itself.
This commit also includes a fix for broken docs.
2024-01-30 12:19:51 +08:00
Andrew Nicols
f9bd195365
MDL-79003 core: Bump eslint
2024-01-30 12:19:51 +08:00
Andrew Nicols
075b0ebd4e
MDL-79003 core: Bump NodeJS to lts/iron (NodeJS 20)
2024-01-30 12:19:39 +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
Mark Johnson
2f351c5a8e
MDL-80736 libraries: Move AWS helper code from factor_sms to core\aws
2024-01-29 09:15:19 +00:00
Laurent David
8ee075d871
MDL-71665 core_courseformat: Sync activity name in the page
...
* Changing the name of an activity should change the access restriction messages.
* Introduction of a marker as data-cm-name-for to be able to change any
occurence of a course module name in the page when this one changes.
2024-01-29 09:00:30 +01:00
Andrew Nicols
05964ef989
MDL-80753 tiny_premium: Load TinyMCE Premium for the current editor ver
2024-01-29 15:06:03 +08:00
Jun Pataleta
245edd9a11
Merge branch 'MDL-73008-master' of https://github.com/jleyva/moodle
2024-01-29 14:42:08 +08:00
Stefan Hanauska
1a744ccdfa
MDL-80716 course: Fix group button position
2024-01-29 06:34:18 +01:00
Huong Nguyen
379e48c1fd
MDL-74775 adhoc_task: Do not clear the timecreated of failed tasks
2024-01-29 09:57:33 +07:00
Jun Pataleta
659b219869
Merge branch 'MDL-69225-main' of https://github.com/sarjona/moodle
2024-01-29 10:20:22 +08:00
Jun Pataleta
5bbcc38502
Merge branch 'MDL-78311' of https://github.com/paulholden/moodle
2024-01-29 10:08:37 +08:00
Jun Pataleta
82e73cb8a6
Merge branch 'MDL-79930' of https://github.com/marcusboon/moodle
2024-01-29 10:04:43 +08:00
Marcus Boon
5b6ca13bd7
MDL-79930 mod_forum: Use MUC for forum count discussions
2024-01-29 08:33:18 +10:00
AMOS bot
09bdeabb58
Automatically generated installer lang files
2024-01-27 00:11:34 +00:00
Juan Leyva
94bc97a8b2
MDL-80724 webservice: Return whether competencies are enabled
2024-01-26 13:56:23 +01:00
Sara Arjona
9b83de8185
Merge branch 'MDL-80471-main' of https://github.com/roland04/moodle
2024-01-26 12:41:40 +01:00
Juan Leyva
9c38e28826
MDL-79295 quiz: Return total unasnwered questions via summary WS
2024-01-26 10:31:07 +01:00
Juan Leyva
d54086f838
MDL-79295 quiz: Return state class for questions via WS
2024-01-26 10:31:07 +01:00
Juan Leyva
30598cf2a0
MDL-79295 quiz: Add proper WS support for sequential nav.
2024-01-26 10:24:16 +01:00
Mikel Martín
bcc95cde2a
MDL-80471 theme: Refactor Tags SCSS code
2024-01-26 07:52:43 +01:00
Paul Holden
a767e0a78c
MDL-78311 core: fix host parameter type cleaning by IPv4 address.
2024-01-25 23:36:06 +00:00
Paul Holden
4efe3927d8
MDL-80727 tool_task: replace hard-coded adhoc task runner strings.
2024-01-25 22:42:25 +00:00
Paul Holden
87091e7b7c
MDL-80124 admin: prevent deletion of pre-installed preset definitions.
2024-01-25 21:51:41 +00: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
Sara Arjona
f30110b5eb
weekly release 4.4dev
2024-01-25 16:48:23 +01:00
Paul Holden
6f00e3a460
MDL-80660 user: preserve return URL upon role switch from frontpage.
2024-01-25 15:40:52 +00:00
Dani Palou
d638bb10cb
MDL-80718 quiz: Apply overrides in mod_quiz_get_combined_review_options
2024-01-25 10:03:45 +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
ff96c6f05c
Merge branch 'MDL-80224' of https://github.com/paulholden/moodle
2024-01-25 11:01:09 +07:00
Huong Nguyen
d6254da301
Merge branch 'MDL-80516' of https://github.com/paulholden/moodle
2024-01-25 10:44:47 +07:00
Huong Nguyen
ccc9bf6b60
Merge branch 'MDL-76671-master' of https://github.com/jleyva/moodle
2024-01-25 10:23:56 +07:00
Huong Nguyen
aa545904da
Merge branch 'MDL-80650' of https://github.com/timhunt/moodle
2024-01-25 09:23:27 +07:00
Ilya Tregubov
32fe5a74ed
Merge branch 'MDL-80098' of https://github.com/paulholden/moodle
2024-01-25 10:20:05 +08:00
Huong Nguyen
854ba5dc20
Merge branch 'MDL-80676-main' of https://github.com/junpataleta/moodle
2024-01-25 09:07:25 +07:00
Ilya Tregubov
59cac76dc1
Merge branch 'MDL-79927' of https://github.com/paulholden/moodle
2024-01-25 09:53:21 +08:00
Huong Nguyen
5d9cd397f9
Merge branch 'MDL-76716-master' of https://github.com/stefangub/moodle
2024-01-25 08:50:47 +07:00
Ilya Tregubov
6de142b0a2
Merge branch 'MDL-80409' of https://github.com/paulholden/moodle
2024-01-25 09:49:59 +08:00
Ilya Tregubov
404b7078c0
Merge branch 'MDL-79159-master' of https://github.com/andelacruz/moodle
2024-01-25 09:35:28 +08:00
Ilya Tregubov
62f8ccecdd
Merge branch 'MDL-80653' of https://github.com/paulholden/moodle
2024-01-25 09:25:20 +08:00
Sara Arjona
53ad9cdfae
Merge branch 'MDL-80429' of https://github.com/paulholden/moodle
2024-01-24 17:18:12 +01:00
Sara Arjona
a31646d2d8
Merge branch 'MDL-80458-main' of https://github.com/mickhawkins/moodle
2024-01-24 17:14:53 +01:00
Sara Arjona
5585ccf048
Merge branch 'MDL-71950' of https://github.com/paulholden/moodle
2024-01-24 17:08:59 +01:00
Sara Arjona
6cea979891
Merge branch 'MDL-79681' of https://github.com/paulholden/moodle
2024-01-24 17:02:17 +01:00
Sara Arjona
d262a1c49b
Merge branch 'MDL-79665' of https://github.com/paulholden/moodle
2024-01-24 16:46:24 +01:00
Sara Arjona
e36bc606de
Merge branch 'MDL-79666' of https://github.com/paulholden/moodle
2024-01-24 16:35:24 +01:00
Sara Arjona
f8dddad89a
Merge branch 'MDL-79663' of https://github.com/paulholden/moodle
2024-01-24 16:29:04 +01:00
Paul Holden
b037cd5d15
MDL-79666 libraries: upgrade to version 1.12.1 of ScssPhp.
2024-01-24 15:23:07 +00:00
Sara Arjona
ce9dc3ff91
Merge branch 'MDL-79662' of https://github.com/paulholden/moodle
2024-01-24 16:06:07 +01:00
Sara Arjona
84c5a2c7ea
Merge branch 'MDL-79152-main' of https://github.com/andrewnicols/moodle
2024-01-24 16:02:23 +01:00
Paul Holden
7fa904c9fe
MDL-78173 user: correct return URL upon login as from frontpage.
2024-01-24 14:46:19 +00:00
Sara Arjona
38bb991912
Merge branch 'MDL-80668' of https://github.com/pedrojordao/moodle
2024-01-24 15:16:10 +01:00
Sara Arjona
176736c6f9
Merge branch 'MDL-78888' of https://github.com/paulholden/moodle
2024-01-24 13:25:48 +01: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
eb03b6622d
Merge branch 'MDL-80396-main' of https://github.com/roland04/moodle
2024-01-24 12:29:50 +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
Ilya Tregubov
9bdc0a2669
Merge branch 'MDL-80270-main' of https://github.com/mihailges/moodle
2024-01-24 13:44:02 +08:00
Michael Hawkins
d1d85aa711
MDL-80458 core: Hide MoodleNet share bulk option if feature disabled
2024-01-24 11:52:28 +08:00
Simey Lameze
7e24913339
MDL-80656 behat: remove unnecessary activity duplication steps
2024-01-24 11:07:34 +08:00
Ilya Tregubov
ba86cb79aa
Merge branch 'MDL-79256' of https://github.com/paulholden/moodle
2024-01-24 09:45:39 +08:00
Srdjan
3079896480
MDL-73703 auth_ldap: Break apart sync_task
...
Extracted code from sync_users() into separate functions
in order to enable ad-hoc sheduling, and chunking.
Co-authored-by: David Woloszyn <david.woloszyn@moodle.com >
2024-01-24 12:17:53 +11:00
Ilya Tregubov
14b809a017
Merge branch 'MDL-80320-main' of https://github.com/laurentdavid/moodle
2024-01-24 08:56:07 +08:00
Marina Glancy
610f4a55b9
MDL-80706 customfield: php8.1 warning about passing null to strlen
2024-01-23 14:45:59 +00:00
Marina Glancy
87470d1d40
MDL-80694 external: fix return param in inplace_editable WS
2024-01-23 14:15:42 +00:00
Daniel Ziegenberg
eec7c87f9b
MDL-80648 files: extend xsendfilealiases
...
Add missing entry for custom $CFG->localrequestdir locations in the
preconfigured array for $CFG->xsendfilealiases in config-dist.php.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2024-01-23 11:50:56 +01:00
Laurent David
31d4af83c6
MDL-80320 core_courseformat: Disable group selection
...
* When forced groupmode is enabled for the course:
- the group selection in the activity card be disabled
- the activity action menu groupmode will not be visible.
- only the icon will be visible
* Add new test to check for visibility
2024-01-23 11:31:22 +01:00
Stefan Van der Vyver
719e5dedac
MDL-76716 grades: handle open delegated transaction on grade delete
2024-01-23 10:12:24 +00:00
James C
66789055b6
MDL-80576 course: Fix section_info::getIterator()
...
- section_info::getIterator() failed to fetch course format custom options
as the section number provided was not recognized
2024-01-23 23:01:48 +13:00
Paul Holden
c009abd938
MDL-80512 tool_task: absolute path to required library file.
2024-01-23 09:14:27 +00:00
Huong Nguyen
06946991d2
Merge branch 'MDL-67053-main' of https://github.com/davewoloszyn/moodle
2024-01-23 16:14:27 +07:00
Angelia Dela Cruz
bacba4d8f2
MDL-79940 mod_workshop: Behat to confirm review button for reviewers
2024-01-23 16:56:57 +08:00
Paul Holden
010e94f0e0
MDL-80429 task: remove obsolete search form template.
...
Unused since report conversion in 53ed7abf , let's right that
wrong now!
2024-01-23 08:33:37 +00:00
Jun Pataleta
58036bdb8e
Merge branch 'MDL-80271-main' of https://github.com/PhMemmel/moodle
2024-01-23 16:33:04 +08:00
Paul Holden
9cb5d55513
MDL-80324 webservice: correct current page URL for user settings.
2024-01-23 08:22:42 +00:00
Paul Holden
e23fbd1cc1
MDL-79256 customfield_textarea: don't autoclean content when editing.
2024-01-23 08:18:58 +00:00
Paul Holden
d0cab9a4a0
MDL-79256 customfield: add new valuetrust to data table schema.
2024-01-23 08:18:58 +00: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
Jun Pataleta
154774c061
MDL-80119 webservice: Fix typo for generated webservices_* classes
2024-01-23 14:17:22 +08:00
Jun Pataleta
5cf7f99638
Merge branch 'MDL-80119-master' of https://github.com/andrewnicols/moodle
2024-01-23 14:16:43 +08:00
Jun Pataleta
8811491238
Merge branch 'MDL-78219-main' of https://github.com/snake/moodle
2024-01-23 11:59:36 +08:00
Kevin Percy
a0890debe7
MDL-70483 forum: Final deprecation of get_forum_discussions_paginated
2024-01-23 10:20:25 +08: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
2893dc713c
Merge branch 'MDL-80328' of https://github.com/paulholden/moodle
2024-01-22 17:22:50 +01:00
Sara Arjona
9e4366a51d
Merge branch 'MDL-80619' of https://github.com/paulholden/moodle
2024-01-22 16:25:40 +01:00
Sara Arjona
0d8535f1cf
Merge branch 'MDL-80559' of https://github.com/paulholden/moodle
2024-01-22 16:23:22 +01:00
Sara Arjona
1643b2110e
Merge branch 'MDL-80418-main' of https://github.com/aanabit/moodle
2024-01-22 16:13:46 +01:00
sam marshall
975daef935
MDL-80693 core_user: search() fails if no standard identify fields
2024-01-22 11:38:01 +00:00
Paul Holden
cfd51dd63c
MDL-80202 repository_local: null check when recursing child nodes.
2024-01-22 10:19:39 +00:00
Ferran Recio
f4adbc8a11
MDL-79029 behat: replace deprecated behat steps
2024-01-22 11:12:28 +01:00
Ferran Recio
a15f0a857b
MDL-79029 behat: new add activity steps
2024-01-22 11:12:28 +01:00
Paul Holden
0045a58326
MDL-80653 h5p: handle content type creation errors in test.
...
See also same in c7d08f85 .
2024-01-22 09:46:04 +00:00
Huong Nguyen
f888a1200f
Merge branch 'MDL-80532' of https://github.com/paulholden/moodle
2024-01-22 15:38:51 +07: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
613d638125
Merge branch 'MDL-80374' of https://github.com/paulholden/moodle
2024-01-22 16:29:32 +08:00
Jun Pataleta
6239519eb8
Merge branch 'MDL-80323' of https://github.com/paulholden/moodle
2024-01-22 16:26:14 +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
Jun Pataleta
21b39e2f53
Merge branch 'MDL-74238' of https://github.com/paulholden/moodle
2024-01-22 15:03:28 +08:00
Paul Holden
27cb7506db
MDL-80619 reportbuilder: add capability to allow viewing all reports.
2024-01-19 13:30:23 +00:00
Pedro Jordao
4ad6ca04ef
MDL-80668 modal: Change aria roles on modal to improve accessibility.
...
The roles we were using were no longer the most recommended for modals.
2024-01-19 08:05:43 -03:00
Sara Arjona
9e25f21164
MDL-80248 course: Deprecate get/set_section_number()
...
The methods core_courseformat\base::set_section_number() and
core_courseformat\base:: get_section_number() have been deprecated
and replaced by core_courseformat\base::set_sectionnum() and
core_courseformat\base::get_sectionnum().
The new methods use the null value when all the sections must be
displayed (instead of 0). That way, section 0, can be displayed on
a single page too.
2024-01-19 12:03:37 +01:00
Sara Arjona
800ddf513d
MDL-80248 behat: Fix behat tests
2024-01-19 12:03:36 +01:00
Sara Arjona
e6f75b59a3
MDL-80248 course: Display only content for the General section
2024-01-19 12:03:36 +01:00
Paul Holden
2702ab078b
MDL-79577 user: better parsing of user menu lang string identifiers.
2024-01-19 09:49:13 +00:00
Matthias Opitz
76f5232c94
MDL-79988 course: checking for cached empty modnames
...
Check if empty modnames have been cached and if so retrieve them again.
2024-01-19 09:38:47 +00:00
Mikel Martín
d98c7eda66
MDL-80396 theme: Refactor media helper class dropped in BS5
2024-01-19 10:38:38 +01:00
Sara Arjona
2a708f985a
MDL-80461 courseformat: Use choicedropdown for the format setting
...
In MDL-79985 a new form element was created to display a new generic
dropdown with extra information like a description or an icon on each
option.
This commits replaces the select for the course format form element in
the Course settings page with this new component.
2024-01-19 09:37:42 +01:00
Sara Arjona
69ee5c3395
MDL-80461 courseformat: Fix tests after replacing topic/week
2024-01-19 08:53:18 +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
Jun Pataleta
beadaddcd8
MDL-80676 core: Deprecate \action_menu_link::$instance
...
\action_menu_link::$instance is only being used to provide unique IDs
for the <span> tag that contains the text within the action menu link's
<a> tag. This <span> tag's ID is then being used for the action menu
link's <a> tag's aria-labelledby attribute which is totally unnecessary
given that the <span> tag is already within the action menu link and
already serves as the default label for the <a> tag.
2024-01-19 14:12:05 +08:00
Jun Pataleta
17647186f9
MDL-80676 core: Remove unnecessary aria-labelledby for action menu links
...
The aria-labelledby attribute for the action menu link's <a> tag is
unnecessary as the <span> tag containing the action menu link's text
is already within the <a> tag and already serves as the link's label by
default.
2024-01-19 14:11:44 +08:00
Philipp Memmel
ca7b355fd8
MDL-80271 core_user: Only update record if necessary
2024-01-19 05:59:21 +00:00
Huong Nguyen
810554ee83
weekly release 4.4dev
2024-01-19 11:23:49 +07:00
Paul Holden
e02412b5ff
MDL-79514 mod_feedback: ensure base item class library is required.
2024-01-18 20:44:28 +00:00
Paul Holden
31af1ac7e2
MDL-80667 task: preserve environment when running tasks from web.
...
For sites that rely on environment variables to set configuration,
ensure they are also present when executing task process.
Co-authored-by: Olivier Wenger <olivier.wenger@liip.ch >
2024-01-18 16:47:44 +00:00
Paul Holden
53109820af
MDL-79433 tiny_autosave: allow non-logged in user calls to webservice.
...
Accounts for the editor being added to pages for non-logged in users,
such as the "New account" page.
2024-01-18 10:49:10 +00:00
Paul Holden
49230c1938
MDL-73010 repository_filesystem: fix directory read comparison.
...
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2024-01-18 10:02:14 +00: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
Andrew Nicols
81d9f60840
MDL-79152 editor_tiny: Enable browser-based spell-checking
2024-01-18 12:53:20 +08:00
Jun Pataleta
f76362e0dc
Merge branch 'MDL-80325' of https://github.com/dravek/moodle
2024-01-18 12:00:16 +08:00
Andrew Nicols
746926220f
Merge branch 'MDL-80201-main' of https://github.com/junpataleta/moodle
2024-01-18 11:34:16 +08:00
Jun Pataleta
82c9578e36
Merge branch 'MDL-72308' of https://github.com/paulholden/moodle
2024-01-18 11:31:09 +08:00
Huong Nguyen
f090dc6236
Merge branch 'MDL-80403-main' of https://github.com/davewoloszyn/moodle
2024-01-18 10:24:51 +07:00
Huong Nguyen
b515240f28
Merge branch 'master_MDL-80509' of https://github.com/mattporritt/moodle
2024-01-18 10:01:36 +07:00
Jun Pataleta
f2fca2e884
Merge branch 'MDL-79498-main' of https://github.com/junpataleta/moodle
2024-01-18 10:59:31 +08:00
Andrew Nicols
d8775cf935
Merge branch 'MDL-80591' of https://github.com/stronk7/moodle
2024-01-18 10:56:13 +08:00
Justus Dieckmann
216047dc18
MDL-79498 javascript: Adjust get_string function signature
...
Reflect param and lang being optional parameters.
2024-01-18 10:51:02 +08:00
Andrew Nicols
f81adf978e
Merge branch 'MDL-80041-main' of https://github.com/junpataleta/moodle
2024-01-18 10:29:17 +08:00
Andrew Nicols
e955d2b056
Merge branch 'MDL-77054-master' of https://github.com/jleyva/moodle
2024-01-18 09:43:54 +08:00
Sara Arjona
c06553f908
Merge branch 'MDL-80058-main' of https://github.com/meirzamoodle/moodle
2024-01-17 18:46:09 +01:00
Sara Arjona
e09ef24a7d
Merge branch 'MDL-80081-main' of https://github.com/meirzamoodle/moodle
2024-01-17 18:18:05 +01:00
Sara Arjona
ff519c1f65
Merge branch 'MDL-80187-main' of https://github.com/ferranrecio/moodle
2024-01-17 17:33:12 +01:00
Sara Arjona
a09551b174
Merge branch 'MDL-80255-main' of https://github.com/aanabit/moodle
2024-01-17 11:51:02 +01:00
Ferran Recio
557099a81e
MDL-80187 core_courseformat: create and delete section methods
2024-01-17 10:39:13 +01:00
Ferran Recio
141568c30d
MDL-80187 core_courseformat: format action classes
2024-01-17 10:39:12 +01:00
Huong Nguyen
c60d71d558
Merge branch 'MDL-67335-patch' of https://github.com/ilyatregubov/moodle
2024-01-17 16:24:28 +07:00
Ilya Tregubov
1fdd34a08f
MDL-67335 qtype_calculatedmulti: Fix upgrade query.
2024-01-17 17:22:30 +08:00
Paul Holden
accb66f905
MDL-78888 tool_uploaduser: case-insensitive email matching on upload.
2024-01-17 09:01:05 +00:00
Jun Pataleta
79494ac32d
MDL-80005 core: Whitespace fix for core/param
2024-01-17 17:00:07 +08:00
Paul Holden
e187e13947
MDL-80098 core: correct arguments for invalidmoduleid exceptions.
...
The "invalid module ID" should be passed as the `$a` constructor
argument.
2024-01-17 08:58:49 +00:00
Paul Holden
ae4a5864ad
MDL-80060 enrol_manual: correct exception constructor arguments.
2024-01-17 08:57:38 +00:00
Paul Holden
b2da42527a
MDL-78417 tool_uploaduser: handle empty default in custom menu field.
2024-01-17 08:55:48 +00:00
Jun Pataleta
06146da7cb
Merge branch 'MDL-80005-main-squashed' of https://github.com/andrewnicols/moodle
2024-01-17 16:52:33 +08:00
Ilya Tregubov
ec6b8d5c51
Merge branch 'MDL-67335_master' of https://github.com/PhilippImhof/moodle
2024-01-17 15:42:57 +08:00
Huong Nguyen
66d39e9723
Merge branch 'MDL-79701-main' of https://github.com/rjnl/moodle
2024-01-17 14:07:59 +07:00
Philipp Imhof
cf62f5cc76
MDL-67335 qtype_calculatedmulti: allow HTML in answer options
2024-01-17 08:03:14 +01:00
Andrew Nicols
6f23ef183d
MDL-80005 core: Formally deprecate PARAM_CLEANFILE
2024-01-17 12:19:57 +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
Huong Nguyen
998f54c9c3
Merge branch 'MDL-80498_master' of https://github.com/santoshndev/moodle
2024-01-17 10:37:41 +07:00
Huong Nguyen
95c2217ba6
Merge branch 'MDL-80260' of https://github.com/paulholden/moodle
2024-01-17 10:17:06 +07:00
Amaia Anabitarte
c40d85da65
MDL-80255 mod_scorm: Remove 'Completed' as default completion
2024-01-16 16:40:26 +01:00
Andrew Nicols
a61658da17
MDL-80005 core: Update coding standards for core\param
2024-01-16 22:54:46 +08:00
Andrew Nicols
d937e01550
MDL-80005 core: Move all param validation methods
2024-01-16 22:54:46 +08:00
Andrew Nicols
0d7d5d2e56
MDL-80005 core: Move clean_param and PARAM definitions
...
Move these into a new enum object which ensures that all content is
together.
2024-01-16 22:53:55 +08:00
Paul Holden
a803f23bd2
MDL-72703 profilefield_text: validate field length when editing.
...
This also means the same validation is applied elsewhere, such as
in the upload user tool.
2024-01-16 09:54:08 +00:00
Paul Holden
36d842e0e7
MDL-79266 core: require plugins always define subplugin lang strings.
2024-01-16 09:48:48 +00:00
Ilya Tregubov
12203eea69
Merge branch 'MDL-79130-master' of https://github.com/stevandoMoodle/moodle
2024-01-16 16:26:48 +08: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
Ilya Tregubov
75c58549e3
Merge branch 'MDL-69615-main' of https://github.com/HuongNV13/moodle
2024-01-16 10:56:27 +08:00
Huong Nguyen
028c0384a2
MDL-69615 core_backup: Send backup report email once the tasks are done
2024-01-16 09:32:19 +07:00
Ilya Tregubov
d3b8694114
Merge branch 'MDL-79076-master-2' of https://github.com/marinaglancy/moodle
2024-01-16 09:48:02 +08:00
Sara Arjona
bd2f9abc1e
Merge branch 'MDL-59467-main' of https://github.com/andrewnicols/moodle
2024-01-15 17:28:12 +01:00
Sara Arjona
645bd52304
Merge branch 'MDL-79519-master_url_select' of https://github.com/Tsheke/moodle
2024-01-15 17:02:58 +01:00
Marina Glancy
e9abb3a5de
MDL-79076 output: convert callback before_standard_html_head
2024-01-15 15:33:42 +00:00
Paul Holden
3b2019a3e3
MDL-29261 tool_uploaduser: warn user about invalid data values.
2024-01-15 15:14:56 +00:00
Andrew Nicols
81b8aecab6
MDL-80577 core: Move pull request template
2024-01-15 22:47:45 +08:00
Andrew Nicols
ffa1843863
MDL-80577 core: Add a Moodle security policy for GH
2024-01-15 22:47:45 +08:00
Andrew Nicols
76a8b26c43
MDL-80577 core: Rewrite and update README
2024-01-15 22:47:44 +08:00
Andrew Nicols
cde12d0e19
MDL-80577 core: Update and rewrite contribution guidelines
2024-01-15 22:47:44 +08:00
Paul Holden
e2cb2fa5dc
MDL-72308 forms: final removal of legacy formchangechecker YUI.
2024-01-15 14:24:51 +00:00
Paul Holden
2ac0df331c
MDL-72308 mod_forum: update legacy uses of formchangechecker module.
2024-01-15 14:24:17 +00:00
Paul Holden
26bc1fa27f
MDL-80516 core: more robust plugin update component checking.
...
Occurs when a plugin in incorrectly removed (via file system only,
rather than following proper uninstall process), and also contains
it's own sub-plugins.
In the above scenario, the update would request and receive back a
response for a plugin whose name was comprised of an empty string,
subsequently causing errors when processing said response.
2024-01-15 14:10:05 +00:00
Juan Leyva
db13a26f74
MDL-76671 tool_mobile: Allow OAuth launches after accepting policies
2024-01-15 13:13:09 +01:00
Amaia Anabitarte
4e6d39f539
MDL-80418 core_course: Homogenize titles in modedit
2024-01-15 12:56:16 +01:00
Sara Arjona
fd8c759323
Merge branch 'MDL-79091' of https://github.com/jay-oswald/moodle
2024-01-15 12:31:35 +01:00
Sara Arjona
90dea0d6ce
Merge branch 'MDL-80244-main' of https://github.com/roland04/moodle
2024-01-15 09:39:46 +01:00
Jake Dallimore
0e74284dfc
MDL-78219 enrol_lti: fix auth method usage in base testcase
2024-01-15 15:41:52 +08:00
Jake Dallimore
a724bb8fae
MDL-78219 auth_lti: ensure user updates happen after authentication
...
If an existing session is active at the time of launch, that user id
appears in the user_updated log. This log should show the launching user
updating their own record, not someone else. To resolve this, auth the
user before making any record updates so that the event gets the correct
user id.
2024-01-15 15:41:52 +08:00
Jake Dallimore
47703c1109
MDL-78219 auth_lti: force empty session before launch user creation
...
If an existing session is active at the time of launch, that user id
appears in the user_created log, incorrectly (it should be system/0).
This patch makes sure that any existing session is terminated before
creation of a new user during launches.
2024-01-15 15:41:52 +08:00
Huong Nguyen
badf45d722
MDL-69615 privacy: Use task trait for unit tests
2024-01-15 11:18:36 +07:00
Huong Nguyen
50c134a1ad
MDL-69615 core_task: Add a task trait
2024-01-15 11:18:36 +07:00
Eloy Lafuente (stronk7)
9f10626533
MDL-80591 phpunit: Coding style cleanup both CLI scripts
...
While the init.php was cleaned up not long ago, let's
re-review it (small detail only) and proceed to, also,
clean up the util.php one.
Note that both will raise an error about missing MOODLE_INTERNAL
check, but that's expected, they are CLI scripts, independent
from Moodle's bootstrap, so they don't have config.php required
either.
2024-01-13 18:46:45 +01:00
Eloy Lafuente (stronk7)
5f31b37e1d
MDL-80591 phpunit: delegate run to phpunit binary
...
Instead of manually including composer's auto-loading
stuff and then run PHPUnit\TextUI\Command::main(), now
we are using the PHPUnit "binary".
That way behaviour should be 100% the same than
running vendor/bin/phpunit (recommended instead of util.php --run).
Also, note that, for other util.php commands, we still need
composer's auto-loading to happen, so we have moved it immediately
after the --run command.
Finally, a few more file_exists() conditions have been added
to ensure that PHPUnit is properly installed. Redundant but...
2024-01-13 18:13:52 +01:00
Johnny Tsheke
957edb8ed3
MDL-79519 course: remove null to use the default value.
2024-01-12 20:31:10 -05: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
Paul Holden
b530b1f436
MDL-70058 customfield: reference field element names correctly.
...
In the course external create/update methods, we must ensure that
the correct form element names are used. Specifically because the
textarea field type uses non-standard name.
2024-01-12 10:29:19 +00:00
Jun Pataleta
be63ec95cb
Merge branch 'MDL-80540-main' of https://github.com/sarjona/moodle
2024-01-12 17:47:07 +08:00
Jun Pataleta
24c4e47788
Merge branch 'MDL-80526-master' of https://github.com/ScottVerbeek/moodle
2024-01-12 17:44:38 +08:00
Jun Pataleta
bac7b4378a
Merge branch 'MDL-80192' of https://github.com/paulholden/moodle
2024-01-12 17:28:41 +08:00
Paul Holden
2097872510
Merge branch 'MDL-80564' of https://github.com/marinaglancy/moodle into main
2024-01-12 09:07:38 +00:00
Santosh Nagargoje
bfc9f17686
MDL-80498 group: Added required rule for filepicker field
2024-01-12 14:27:42 +05:30
Paul Holden
6576b1f9ba
MDL-80192 reportbuilder: ensure filter form group elements have labels.
...
This ensures compliance with the following WCAG criterion:
"H71: Providing a description for groups of form controls using fieldset
and legend elements".
2024-01-12 08:39:36 +00:00
Paul Holden
9357a1c583
MDL-80192 forms: implement method to set group element hidden label.
...
This is consistent with the API used for other form element types,
in order to provide screen-readable text in the fieldset legend while
not necessarily wanting to display said label.
The new class property is automatically exported to the template via
the `templatable_form_element` trait.
2024-01-12 08:33:37 +00:00
Jun Pataleta
7770de1dd1
Merge branch 'MDL-80353' of https://github.com/marinaglancy/moodle
2024-01-12 16:20:51 +08:00
Mikel Martín
a8b5044920
MDL-80244 theme_boost: Refactor navbar for Bootstrap 5
2024-01-12 08:46:43 +01:00
meirzamoodle
958b48c54d
MDL-80081 editor_tiny: Allow empty content in the i tag
2024-01-12 14:04:17 +07:00
Sara Arjona
fdc48c0edd
MDL-80540 section_links: Fix link to current section/week
...
After the changes done in MDL-79986, the "Jump to current topic/week"
link in the Sections links block stopped working.
This patch fixes it and uses the new section.php page.
2024-01-12 07:08:05 +01:00
Ilya Tregubov
580c009cac
weekly release 4.4dev
2024-01-12 09:11:31 +08:00
Ilya Tregubov
a9b833834a
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2024-01-12 09:11:24 +08:00
Paul Holden
bf34adae73
MDL-80575 mod_forum: correct field name for "Notify students" setting.
2024-01-11 11:43:15 +00:00
ScottVerbeek
b364ace6c7
MDL-80526 tool_filetypes: Test required icons in test_get_file_icons
...
The test now checks for the required icons, without needing to specify a count.
Allowing developers to add custom icons to the folder pix/f/mycustomicon.svg without needing to alter any unit test.
2024-01-11 14:45:09 +10:00
Jun Pataleta
f25864aa3a
Merge branch 'MDL-80246-main' of https://github.com/mihailges/moodle
2024-01-11 11:50:07 +08:00
Huong Nguyen
92f38b9cb5
Merge branch 'MDL-80452-main' of https://github.com/andelacruz/moodle
2024-01-11 10:44:01 +07:00
Huong Nguyen
a75e325fdc
Merge branch 'MDL-80229-main' of https://github.com/davewoloszyn/moodle
2024-01-11 10:35:42 +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
Ilya Tregubov
8c8f98b244
Merge branch 'MDL-79608' of https://github.com/paulholden/moodle
2024-01-11 11:17:31 +08:00
Jun Pataleta
c67b184f4c
Merge branch 'MDL-79780' of https://github.com/timhunt/moodle
2024-01-11 10:44:41 +08:00
Ilya Tregubov
8091b684d9
Merge branch 'MDL-80446' of https://github.com/paulholden/moodle
2024-01-11 10:44:07 +08:00
Huong Nguyen
a3654984c1
Merge branch 'MDL-79296-main' of https://github.com/rmady/moodle
2024-01-11 09:42:52 +07:00
Ilya Tregubov
e75d017f1e
Merge branch 'MDL-80357_main' of https://github.com/SimonasAdams/moodle
2024-01-11 10:38:10 +08:00
Ilya Tregubov
0fc2732707
Merge branch 'MDL-80333_master' of https://github.com/santoshndev/moodle
2024-01-11 10:34:07 +08:00
Paul Holden
3f9277723b
MDL-80499 datafield_date: specify UTC time when editing field content.
2024-01-10 19:23:08 +00:00
Sara Arjona
502e1a8329
Merge branch 'MDL-71732' of https://github.com/paulholden/moodle
2024-01-10 17:00:02 +01:00
Sara Arjona
53a9613bab
Merge branch 'MDL-80014' of https://github.com/paulholden/moodle
2024-01-10 16:10:08 +01:00
Paul Holden
5180861a86
MDL-79665 libraries: upgrade to version 6.6.5 of TCPDF.
2024-01-10 10:10:49 +00:00
Paul Holden
5be06944e4
MDL-80199 report_log: remove duplicate "all logs" breadcrumb.
2024-01-10 10:07:48 +00:00
Santosh Nagargoje
ee4a176866
MDL-80333 Authentication: Fixed new login notification adhoc task
2024-01-10 15:32:16 +05:30
Paul Holden
31e671a978
MDL-78621 mod_choice: verify limited responses before showing "full".
2024-01-10 09:47:32 +00:00
Paul Holden
a32397feda
MDL-80328 user: use modal confirmation for admin deleting users.
2024-01-10 09:06:07 +00:00
Sara Arjona
0293d208f9
Merge branch 'MDL-80340-main' of https://github.com/lameze/moodle
2024-01-10 07:34:57 +01:00
Huong Nguyen
b6378ff84d
Merge branch 'MDL-80382-main' of https://github.com/andelacruz/moodle
2024-01-10 10:29:50 +07:00
Huong Nguyen
867e104353
Merge branch 'MDL-65403_master' of https://github.com/marxjohnson/moodle
2024-01-10 09:59:32 +07:00
meirzamoodle
d744c7f510
MDL-80058 editor_tiny: add preformatted format to the blocks
2024-01-10 09:37:26 +07:00
Stevani Andolo
2425e07db3
MDL-79130 task_adhoc: Defined max retry constant
2024-01-10 10:17:42 +08:00
Ilya Tregubov
d27c866dd2
Merge branch 'MDL-79830' of https://github.com/paulholden/moodle
2024-01-10 09:00:54 +08:00
Ilya Tregubov
320cb03ffc
Merge branch 'MDL-79532' of https://github.com/paulholden/moodle
2024-01-10 08:57:34 +08:00
Marina Glancy
27c6c174d8
MDL-80564 reportbuilder: Consistent permission check for user full name
2024-01-09 17:50:56 +00:00
Paul Holden
cd7b07d743
MDL-80559 badges: set contexturl/name in badge awarded notification.
2024-01-09 17:15:33 +00:00
Simey Lameze
95da5a44a8
MDL-80340 behat: make query to fetch h5p attempts less strict
2024-01-09 16:13:55 +08:00
Brendan Heywood
e5741dba1a
MDL-80554 task: Force debugdisplay on for task logging
2024-01-09 15:48:40 +11:00
Angelia Dela Cruz
e8c8dbc54e
MDL-80382 behat: Replace "Frist" typos in Behat tests to "First"
2024-01-09 10:44:15 +08:00
AMOS bot
515cbde593
Automatically generated installer lang files
2024-01-09 00:10:50 +00:00
Sara Arjona
5b350b6ef5
Merge branch 'MDL-80096-main-fix' of https://github.com/sarjona/moodle
2024-01-08 17:17:11 +01:00
Sara Arjona
7b74196dd8
MDL-80096 tool: Remove illegal whitespaces
2024-01-08 17:15:29 +01:00
Sara Arjona
6dc44b0fc2
Merge branch 'MDL-80096-master-v02' of https://github.com/ferranrecio/moodle
2024-01-08 16:58:46 +01:00
Ferran Recio
b9f78ef45c
MDL-80096 tool_generator: execute behat generators in current instance
...
This is a new feature in tool_generator to execute a feature file
containing only generator steps. This new tool can be used to prepared
testing scenarios for complex issues that requires manual testing.
2024-01-08 16:47:09 +01:00
Sara Arjona
6288d5cd16
Merge branch 'MDL-78999_master' of https://github.com/santoshndev/moodle
2024-01-08 16:38:29 +01:00
Paul Holden
b5cba37893
MDL-80323 h5p: fail content type retrieval task on errors.
...
It's better for the task to fail gracefully rather than silently
swallow any errors, so that the task API can schedule re-tries.
If the endpoint is temporarily down and/or misbehaving, this will
allow admins to have clearer failures.
2024-01-08 10:06:29 +00:00
Huong Nguyen
fe192c8e12
Merge branch 'MDL-73639-main' of https://github.com/lameze/moodle
2024-01-08 16:08:17 +07:00
Sara Arjona
7d2c498211
Merge branch 'MDL-71733' of https://github.com/paulholden/moodle
2024-01-08 09:35:21 +01:00
Simey Lameze
51de4a87fb
MDL-73639 behat: improvements to the new recover grades test
2024-01-08 12:48:39 +08:00
Angelia Dela Cruz
a039b71583
MDL-73639 core_grades: Behat to test Recover grades default settings
2024-01-08 12:48:39 +08:00
Rajneel Totaram
a2bb81a4be
MDL-80383 mod_book: Make book content use full width on small screens
2024-01-08 15:36:39 +12:00
Ilya Tregubov
51e52e492d
Merge branch 'MDL-69497' of https://github.com/paulholden/moodle
2024-01-08 10:03:47 +08:00
Ilya Tregubov
4179fa2dfc
Merge branch 'MDL-79937_fixlessonmatching' of https://github.com/catalystfd/moodle
2024-01-08 09:19:39 +08:00
Eloy Lafuente (stronk7)
22831808cd
MDL-80313 behat: remove dupe type attribute
...
Because of https://github.com/Masterminds/html5-php/issues/242
that duplicate attribute is causing problems. As far as we don't
need it, we proceed to remove leaving only the type=submit that
will make NonJS behat tests (BrowserKit) happy.
2024-01-05 18:57:48 +01:00
Eloy Lafuente (stronk7)
8a18dbe064
MDL-80313 mod_forum: Fix a few steps to use :checked pseudo element
...
Not sure why the [checked=checked] was working ok, but everywhere I
have looked out there show examples about :checked (and :not(:checked)
being the correct way to use CSS Selectors that are converted to working
XPath expressions.
Curiously, it's only for NonJS steps, JS one already were using
another syntax, just [checked].
2024-01-05 18:57:48 +01:00
Eloy Lafuente (stronk7)
a2ff97637f
MDL-80313 upgrade: Fix typo, Moodle 4.1.2 is 2022112802
...
Link: https://moodledev.io/general/releases#moodle-41-lts
2024-01-05 18:57:48 +01:00
Eloy Lafuente (stronk7)
03d75e4f8d
MDL-80313 composer: Bump composer stuff to use php81 as minimum
...
It seems that in MDL-78496 we missed to regenerate the
composer stuff using the new PHP 8.1 requirement.
This commit addresses exactly that, following the instructions:
https://moodledev.io/general/development/tools/composer#how-to-prepare-and-submit-composer-changes
Note it comes with a few updated components:
- friends-of-behat/mink-extension 2.7.4
- oleg-andreyev/mink-phpwebdriver 1.3.1
And a bunch of second (and deeper) level dependencies updated too.
2024-01-05 18:57:47 +01:00
Paul Holden
7f6179fc9d
MDL-79681 user: fix participant filter "never accessed" options.
...
For courses, determine whether "Never accessed" should be available,
and correct the used value to match that expected by the API (-1).
2024-01-05 13:55:47 +00:00
Víctor Déniz
5db1724a05
MDL-79681 user: fix conditional to get the last access to a course
2024-01-05 13:55:47 +00:00
Laurent David
f0e5726c44
MDL-80289 mod_bigbluebutton: Fix retrieval of meeting via meetingid
2024-01-05 11:14:46 +01:00
Paul Holden
f6c918a50f
MDL-79532 blog: add "title with link" column to report entity.
2024-01-05 09:37:56 +00:00
Paul Holden
c6963d1c0e
MDL-79830 tag: flag count entity reporting via column/filter.
2024-01-05 09:35:39 +00:00
Santosh Nagargoje
1f77d5c1a7
MDL-78999 theme: Fixed site logo issue in small screens
2024-01-05 00:52:04 +05:30
Rajneel Totaram
dba4cd4511
MDL-79701 block_calendar_upcoming: Display activity name in tooltip
2024-01-05 07:15:17 +12:00
Paul Holden
126db72671
MDL-80523 mod_label: correct upgrade step select query parameters.
2024-01-04 15:21:55 +00:00
Paul Holden
6e806447e7
MDL-80532 block_myoverview: don't post sesskey to quickstart guide URL.
2024-01-04 14:35:11 +00:00
Paul Holden
24f59a7d32
MDL-79927 files: scope toggleall checkboxes per filemanager instance.
...
Ensures that when multiple exist on the same page, each operates
independently of the others.
2024-01-04 13:22:33 +00:00
Paul Holden
f3846ef735
MDL-80247 files: multi-byte aware filename shortening in exporter.
...
Also correctly extract the original file extension.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
Co-authored-by: Mazitov Artem <maz@2i.tusur.ru >
2024-01-04 13:20:14 +00:00
Paul Holden
b98fd96084
MDL-71733 behat: final removal of deprecated 400 step definitions.
2024-01-04 12:43:52 +00:00
Sara Arjona
9587029a46
weekly release 4.4dev
2024-01-04 12:01:53 +01:00
Sara Arjona
c478bdc493
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2024-01-04 12:01:41 +01:00
Sara Arjona
5f9310dc99
Merge branch 'MDL-79307' of https://github.com/paulholden/moodle
2024-01-03 17:18:16 +01:00
Sara Arjona
4a9214f34f
Merge branch 'MDL-80243-main' of https://github.com/lameze/moodle
2024-01-03 16:58:00 +01:00
Sara Arjona
00b4da1aae
Merge branch 'MDL-76719' of https://github.com/paulholden/moodle
2024-01-03 16:32:33 +01:00
Matt Porritt
777ff93382
MDL-80509 Site Registration: Prompt to register site after all upgrades
...
Unregistered sites will now display registration form to admins
after every upgrade, including plugin upgrades.
Registration form will not show for sites that are not set to public.
2024-01-03 11:22:22 +11:00
Shamim Rezaie
f11f30375d
Merge branch 'MDL-79708-main' of https://github.com/ilyatregubov/moodle
2024-01-03 00:09:17 +11:00
Sara Arjona
58285c6afb
Merge branch 'MDL-80186-main' of https://github.com/ferranrecio/moodle
2024-01-02 13:27:27 +01:00
Huong Nguyen
948b96feb5
Merge branch 'MDL-80412' of https://github.com/paulholden/moodle
2023-12-27 17:22:03 +07:00
Huong Nguyen
93b960e6d3
Merge branch 'MDL-77124-main' of https://github.com/roland04/moodle
2023-12-27 17:14:41 +07:00
AMOS bot
78b21f83b5
Automatically generated installer lang files
2023-12-23 00:11:33 +00:00
Tim Hunt
9ee42d0a34
MDL-79780 quiz_statistics: take advantage of get_fieldset method
...
This updates the MDL-79639 code.
2023-12-22 12:09:42 +00:00
Tim Hunt
e8bfeea06c
MDL-79780 DML: add the missing get_fieldset method
2023-12-22 12:09:41 +00:00
Paul Holden
7298d0762a
MDL-74238 completion: final removal of deprecated navigation methods.
2023-12-21 15:32:05 +00:00
Paul Holden
f75881f263
MDL-80409 dataformat: final removal of deprecated download method.
2023-12-21 15:31:00 +00:00
Paul Holden
a9d0af8df2
MDL-79608 tool_task: link to adhoc task page from corresponding check.
2023-12-21 15:25:01 +00:00
Jun Pataleta
6c1e7773a1
MDL-80041 gradereport_singleview: Implement grade validation
...
Implement grade validation for numeric grade overrides by setting
the type attribute for the grade input to number and setting a min
and max attribute values. Submitting the form with invalid values
will trigger built-in validation of the inputs.
2023-12-21 22:15:07 +08:00
Sara Arjona
aeb64dbfb5
weekly release 4.4dev
2023-12-21 13:34:12 +01:00
Paul Holden
de04d9cfd9
MDL-80450 mod_resource: observe print intro setting when embedding.
2023-12-21 11:22:13 +00:00
Huong Nguyen
8aa49f153d
Merge branch 'MDL-71735-main' of https://github.com/sarjona/moodle
2023-12-21 09:04:59 +07:00
Huong Nguyen
1b106e1c69
Merge branch 'MDL-78940-main' of https://github.com/lameze/moodle
2023-12-21 08:46:50 +07:00
Shamim Rezaie
494064288c
Merge branch 'MDL-80318-master' of https://github.com/jleyva/moodle
2023-12-21 01:13:20 +11:00
Ferran Recio
837dc7e852
MDL-80186 course: adding new fields to delegate sections logic
2023-12-20 12:02:51 +01:00
Huong Nguyen
7a9f3ae18b
Merge branch 'MDL-80151-main' of https://github.com/lameze/moodle
2023-12-20 15:39:37 +07:00
Huong Nguyen
a529ee94b3
MDL-80151 behat: Improve viewing site calendar step
2023-12-20 16:31:00 +08:00
Ilya Tregubov
e80f5e1f6e
Merge branch 'MDL-79128-main' of https://github.com/HuongNV13/moodle
2023-12-20 16:12:35 +08:00
Jun Pataleta
1165da6349
Merge branch 'MDL-68124-main' of https://github.com/sarjona/moodle
2023-12-20 15:00:51 +08:00
Huong Nguyen
bd3af64741
MDL-79128 adhoc_task: Added 'Never' status for ad-hoc task Next run
...
Co-authored-by: Stevani Andolo <stevani.andolo@moodle.com >
2023-12-20 13:55:13 +07:00
Huong Nguyen
f13392d230
MDL-79128 adhoc_task: Implement failed ad-hoc task cleanup
...
Co-authored-by: Stevani Andolo <stevani.andolo@moodle.com >
2023-12-20 13:55:13 +07:00
Huong Nguyen
6c047c40b7
MDL-79128 adhoc_task: Only rerun the allowed task
...
Co-authored-by: Stevani Andolo <stevani.andolo@moodle.com >
2023-12-20 13:55:13 +07:00
Huong Nguyen
a44f14c79e
MDL-79128 adhoc_task: Implement no-retry task
...
Co-authored-by: Stevani Andolo <stevani.andolo@moodle.com >
Including in this commit:
- Added a new counter called attemptsavailable for ad-hoc task
- PHPUnit test for the new feature
2023-12-20 13:55:13 +07:00
Ilya Tregubov
1e83b9eba7
Merge branch 'MDL-79985-master' of https://github.com/ferranrecio/moodle
2023-12-20 09:06:08 +08:00
Simon Adams
8c76c55e67
MDL-80357 theme_boost: Correctly interpolate SCSS
...
Fixes interpolation between SCSS setting and background images SCSS when SCSS setting is a single line comment
2023-12-19 15:13:54 +00:00
Paul Holden
012dd24a43
MDL-80260 tool_mfa: fix all factor report table alignment per auth.
2023-12-19 12:20:34 +00:00
Sara Arjona
d4227cd67d
Merge branch 'MDL-80052' of https://github.com/dravek/moodle
2023-12-19 11:54:14 +01:00
Jun Pataleta
46815352ec
Merge branch 'MDL-80393' of https://github.com/paulholden/moodle
2023-12-19 17:25:15 +08:00
David Carrillo
76bed1480a
MDL-80052 badges: Convert Course badges report to use Report builder
2023-12-19 10:23:27 +01:00
David Carrillo
982581d5eb
MDL-80052 badges: Convert Badge recipients report to use Report builder
2023-12-19 10:23:26 +01:00
Ferran Recio
3344354641
MDL-79985 forms: add choicedropdown form element
...
The new quick form field uses a choice list to display a dropdown
component inside a form. Apart from que quick form code, the patch also
include a small improvement to the choicelist class to disable empty
values. This small patch is needed because the quickform field won't
allow empty values.
2023-12-19 09:43:35 +01:00
Ferran Recio
02de5b79fd
MDL-79985 output: prepare dropdown components for forms
...
Add new features to the dropdown components (dialog and status) needed
for using them in quick forms. Now the dialog dropdown have methods to
disable the dropdown button (to disable the field). The status dropdown
has one minor style bugfix and the selected item styles are now stored
as a data attribute.
2023-12-19 09:33:45 +01:00
Paul Holden
114605accc
MDL-80446 mod_feedback: stricter selector for getting draggable items.
...
Ensure we don't also match inner nodes of the label question.
2023-12-19 08:26:47 +00:00
Jun Pataleta
f0c5500f83
Merge branch 'MDL-79709-master' of https://github.com/davewoloszyn/moodle
2023-12-19 16:07:24 +08:00
Jun Pataleta
99596c7bc7
MDL-76723 core_tag: Use external_format_value constructor properly
...
* First parameter should be the field name that the format property
points to.
* No need for VALUE_REQUIRED since it's the default for the $required
parameter.
* Third parameter is the default value and not a description string.
2023-12-19 15:48:08 +08:00
Jun Pataleta
80839957ef
MDL-76723 mod_page: Use external_format_value constructor properly
...
* 'Content format' is passed to the $default parameter which is
incorrect.
* Also removed passing of VALUE_REQUIRED because it's already the
default value for the $required parameter.
2023-12-19 15:48:07 +08:00
Jun Pataleta
9dcffb4a93
MDL-76723 core_external: Handle format properties properly
...
- If a text format property defines the 'optional' attribute as true,
then the $required parameter that
is passed to \core\external\exporter::get_format_structure() should be
VALUE_OPTIONAL.
- If a default value is provided for a format property,
\core\external\exporter::get_format_structure() should pass the default
value to the external_format_value constructor.
- Added validation for external_format_value for the default parameter.
Debugging will be shown in case an invalid default value is passed.
- Amended unit tests for better coverage.
2023-12-19 15:48:07 +08:00
Frédéric Massart
e0829fe58b
MDL-76723 core_external: Test invalid required value for format fields
2023-12-19 15:48:07 +08:00
Paul Holden
3019f4e57c
MDL-80393 lang: expose current page language to JS modules.
...
Since 4be39296 the root HTML element contains the iso6391 language
code of the current language pack. However various JS modules need
access to the original Moodle language pack code, so expose that
in the `M.cfg` structure.
2023-12-19 07:47:15 +00:00
Jun Pataleta
6f28538750
MDL-80201 core: Check for default format value for exporter::export()
2023-12-19 15:42:08 +08:00
Ilya Tregubov
c28cdf9ca9
Merge branch 'MDL-69541-master_improve_accessibility_of_post_a_copy_to_all_groups_option' of https://github.com/vtos/moodle
2023-12-19 11:37:24 +08:00
Huong Nguyen
b791f70d06
Merge branch 'MDL-78689-master' of https://github.com/safatshahin/moodle
2023-12-19 09:59:10 +07:00
David Woloszyn
edffece53c
MDL-80403 communication_matrix: Fixed convert power levels to array
...
The curent patch revealed a bug inside set_matrix_power_levels
where returned user power levels contained an array of objects.
Other methods were failing and giving incorrect responses
as they were expecting arrays.
2023-12-19 12:57:20 +11:00
Andrew Nicols
0a7c58fd8f
MDL-59467 core: Use hasHelper instead of catching exception
...
When xdebug is set to break on exceptions it stops on all exceptions,
including _caught_ exceptions.
As a result we regularly hit this uniqid helper issue if debugging with
xdebug.
The solution is to check if the helper exists using the hasHelper method
instead of catching an exception when it does not exist.
2023-12-19 09:13:53 +08:00
Safat
27a3f34993
MDL-78689 core: Version bump
2023-12-19 11:18:27 +11:00
Safat
e7586331a2
MDL-78689 communication_matrix: Add support for sync provider feature
2023-12-19 11:18:27 +11:00
Safat
a946b09410
MDL-78689 core_communication: Add sync provider feature
2023-12-19 11:18:27 +11:00
Paul Holden
f0efcf9494
MDL-79663 libraries: upgrade to version 1.3.71 of Minify.
2023-12-18 20:10:47 +00:00
Paul Holden
827a00af52
MDL-79662 libraries: upgrade to version 5.22.7 of ADOdb.
2023-12-18 20:05:14 +00:00
Jun Pataleta
8a187ceb53
Merge branch 'MDL-73926-master-v7' of https://github.com/TomoTsuyuki/moodle
2023-12-18 18:00:42 +08:00
Angelia Dela Cruz
dcfd8490b5
MDL-80151 mod_chat: Behat for chat repeat times and past session view
2023-12-18 16:10:15 +08:00
Simey Lameze
2321dc3396
MDL-80151 behat: add calendar step to navigate to specific view
2023-12-18 16:10:11 +08:00
Sara Arjona
9d19157b08
MDL-68124 lesson: Fix random behat error with Oracle
...
This random error was caused because when reviewing an attempt,
the first pageid to display is calculated based on the timeseen
field in the lesson_attempst table.
In Oracle, sometimes it returned the second pageid (because both
had the same timeseen), so which led to these random failures.
Apart from adding 1-second wait when the attempt is created (to
guarantee the first page is returned properly), a few more
improvements have been also made, like removing manual steps for
setting the lesson activity or adding some extra checks to
confirm the information displayed is expected.
2023-12-18 08:21:18 +01:00
Huong Nguyen
e6b01af686
Merge branch 'MDL-80329' of https://github.com/paulholden/moodle
2023-12-18 14:02:55 +07:00
Jun Pataleta
92512426a5
Merge branch 'MDL-79786-main' of https://github.com/rmady/moodle
2023-12-18 13:08:54 +08:00
Simey Lameze
8e1fcc268a
MDL-80243 behat: make completion step more specific
...
Credit goes to Matthias Opitz
2023-12-18 09:25:09 +08:00
Simey Lameze
af453412e2
MDL-78940 course: create social forum using event observers
...
This commit also convert manual steps to create discussions on the
Social forum to use data generators.
2023-12-18 09:16:24 +08:00
Paul Holden
58237bb91a
MDL-73545 mod_lesson: final removal of reprecated header button method.
2023-12-15 14:31:37 +00:00
Paul Holden
975439b234
MDL-80412 reportbuilder: Behat scenario to view/sort additional names.
...
Related to fixes from 8f32e623 .
2023-12-15 10:50:33 +00:00
Paul Holden
4fb106506d
MDL-79552 cohort: add cohort data to user-focused custom reports.
2023-12-15 09:58:19 +00:00
Paul Holden
bdbc9e0128
MDL-79552 reportbuilder: improve datasource methods to add elements.
...
Allow specifying which entity elements to add to a report more easily,
and support wildcard matching of the same.
2023-12-15 09:58:19 +00:00
Huong Nguyen
513f3b02c7
weekly release 4.4dev
2023-12-15 08:44:11 +07:00
Huong Nguyen
599a9f44c1
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2023-12-15 08:44:08 +07:00
Sara Arjona
8d5dbb56ff
Merge branch 'MDL-79270-fix' of https://github.com/paulholden/moodle
2023-12-14 08:41:34 +01:00
David Woloszyn
e52a4ef6e5
MDL-80403 communication_matrix: Update membership checks membership
2023-12-14 14:48:48 +11:00
Huong Nguyen
b671e89685
Merge branch 'MDL-79828-master' of https://github.com/andelacruz/moodle
2023-12-14 10:14:07 +07:00
Huong Nguyen
f9b6266eed
Merge branch 'MDL-79050-master' of https://github.com/andelacruz/moodle
2023-12-14 09:56:24 +07:00
Huong Nguyen
0dbd3ffa50
Merge branch 'MDL-80394-main' of https://github.com/ilyatregubov/moodle
2023-12-14 09:22:20 +07:00
Ilya Tregubov
73cfb3b5cd
Merge branch 'MDL-72656-main' of https://github.com/sarjona/moodle
2023-12-14 08:56:33 +08:00
Ilya Tregubov
6a300c0850
Merge branch 'MDL-79938-main' of https://github.com/sammarshallou/moodle
2023-12-14 08:49:47 +08:00
Ilya Tregubov
10a8e9536e
MDL-78511 tool_mfa: Fix version for sms plugin.
2023-12-14 08:34:09 +08:00
Ilya Tregubov
d1024fae70
Merge branch 'MDL-78511-master2' of https://github.com/raortegar/moodle
2023-12-14 08:25:33 +08:00
AMOS bot
330e1cf47c
Automatically generated installer lang files
2023-12-14 00:11:15 +00:00
Tomo Tsuyuki
f4597c9096
MDL-73926 backup: Add hook to exclude events for triggering backup
2023-12-14 10:01:47 +11:00
Paul Holden
8f32e623bb
MDL-79270 reportbuilder: remove duplicate columns from order clause.
...
This works around a problem in SQL Server, which caused it to throw a
DML exception if the same column is duplicated in `ORDER BY` clause.
2023-12-13 17:17:54 +00:00
Sara Arjona
0c699e9e06
Merge branch 'MDL-74778-main' of https://github.com/roland04/moodle
2023-12-13 17:44:22 +01:00
Sara Arjona
95cd15ea12
Merge branch 'MDL-80360' of https://github.com/paulholden/moodle
2023-12-13 17:05:43 +01:00
Paul Holden
e56e9cd6de
MDL-80329 reportbuilder: trim whitespace in text filter content.
2023-12-13 10:15:32 +00:00
Paul Holden
bf39fc43b4
MDL-80014 reportbuilder: entity method to retrieve all table aliases.
2023-12-13 10:06:19 +00:00
Sara Arjona
bffb5524a6
Merge branch 'MDL-80233-main' of https://github.com/aanabit/moodle
2023-12-13 10:21:57 +01:00
Sara Arjona
19957a2882
Merge branch 'MDL-79270-main-behat-fix' of https://github.com/lameze/moodle
2023-12-13 08:19:43 +01:00
Huong Nguyen
9493b23e8d
Merge branch 'MDL-74466' of https://github.com/paulholden/moodle
2023-12-13 09:28:24 +07:00
Ilya Tregubov
4051efc119
MDL-80394 core_grades: Revert changes to graded_users_iterator
...
Third party plugins are using it and change was breaking it
2023-12-13 09:34:13 +08:00
Ilya Tregubov
ffe51e3ffa
Merge branch 'MDL-80003_master' of https://github.com/PhilippImhof/moodle
2023-12-13 09:21:49 +08:00
Simey Lameze
c905067a98
MDL-79270 behat: update tests to match new UI elements
2023-12-13 09:20:20 +08:00
Sara Arjona
2abd1a212d
Merge branch 'MDL-77572_master' of https://github.com/santoshndev/moodle
2023-12-12 17:58:48 +01:00
sam marshall
c219e1224a
MDL-79938 Behat: Add steps to support multiple tabs
2023-12-12 16:42:13 +00:00
Sara Arjona
b45cf43e0c
Merge branch 'MDL-79270' of https://github.com/dravek/moodle
2023-12-12 17:32:47 +01:00
Santosh Nagargoje
1c5445c6e6
MDL-77572 Course: Added fix for section,activity visibility capabilities
2023-12-12 22:01:46 +05:30
Amaia Anabitarte
3f3dc5a035
MDL-80233 completion: Use default for empty values
2023-12-12 16:31:00 +01:00
Sara Arjona
a3645ce501
Merge branch 'MDL-80315-main' of https://github.com/andelacruz/moodle
2023-12-12 14:19:46 +01:00
Sara Arjona
7a8e9f660d
Merge branch 'MDL-79835' of https://github.com/timhunt/moodle
2023-12-12 14:11:34 +01:00
Paul Holden
27ef49c277
MDL-80224 tool_uploaduser: better user defaults per site configuration.
...
Improve use of `core_user` type/default/choice definitions when setting
fields in the "Default values" form, used on upload.
2023-12-12 10:12:52 +00:00
raortegar
e894123a4d
MDL-78511 tool_mfa: SMS factor include behat tests anf fix validation
2023-12-12 10:49:30 +01:00
raortegar
9e6b1b9118
MDL-78511 tool_mfa: Refactor SMS factor code
...
In this patch I have refactor the SMS factor code
to not require local_aws as a dependency.
Namespaces and paths from clases copied
from local_aws adapted to the new location.
2023-12-12 10:36:40 +01:00
Angelia Dela Cruz
174878936a
MDL-79050 Behat: Add behat coverage to retake lesson activity
2023-12-12 15:52:52 +08:00
Ilya Tregubov
00cb0be5cb
Merge branch 'MDL-79397' of https://github.com/paulholden/moodle
2023-12-12 09:28:53 +08:00
Paul Holden
c25882e8df
MDL-79270 admin: new filter type for filtering users by course role.
...
Use in the new browse users system report, to which it is quite
specific. The filter itself is a like for like replacement of the
pre-existing filter on the same page, and is really a combination
of existing role/category/course filters.
2023-12-11 12:36:57 +01:00
David Carrillo
f76a518cb1
MDL-79270 user: New 'Browse list of users' system report
...
- The report 'Browse list of users' has been converted to use Report
Builder.
- Behat tests have been fixed and some test have been deleted for not
being relevant anymore.
2023-12-11 12:36:54 +01:00
David Carrillo
b0c89b310e
MDL-79270 reportbuilder: Add lastip column/filter to user RB entity
2023-12-11 12:35:58 +01:00
Paul Holden
d51ebb89f4
MDL-80374 grade: show localised plugin name in report column heading.
2023-12-11 10:26:36 +00:00
Sara Arjona
2119a5a2e5
MDL-71735 core: Remove deprecated renamed classes
...
The classes that were renamed in 4.0 have been completely
removed in 4.4.
2023-12-11 09:03:45 +01:00
Sara Arjona
165aa2c318
MDL-72656 course_format: Final deprecation for renderers
2023-12-11 09:00:13 +01:00
Ilya Tregubov
b642d2710b
MDL-79708 question_bank: Fix legacy filter condition.
...
build_query_from_filter method expects includesubcategories
to be inside filteroptions array
2023-12-11 11:27:21 +08:00
David Woloszyn
4116a75858
MDL-79709 tiny_premium: Capability to access Tiny Premium features
2023-12-11 09:47:31 +11:00
Jwalit Shah
53f28d1f51
MDL-67053 login: Allow bypassing alternateurl config
2023-12-11 09:45:27 +11:00
vtos
b3bd8daeb1
MDL-69541 mod_forum: Post a copy to all groups in quick discussion
...
When sitting behind the 'Advanced' link in discussion creation, the 'Post a copy to all groups' option is not very much visible
for a discussion creator. There were many proposals within the community to bring this option to the quick discussion creation
form.
The current improvement brings the 'Post a copy to all groups' option back to the quick discussion creation form.
A behat tests was added to cover the feature's behavior.
2023-12-10 13:36:30 +01:00
Marina Glancy
1ce0561767
MDL-80353 core_user: announce user selector changes to the screenreader
2023-12-08 15:28:20 +00:00
raortegar
d35330a49e
MDL-78511 tool_mfa: Include useful code from local_aws
...
In this patch we have included some useful classes implemented
In the plugin local_aws developed by Catalyst
2023-12-08 15:27:05 +01:00
raortegar
0773c553ec
MDL-78511 tool_mfa: Include SMS factor into core
...
In this patch we have included the SMS factor from "tool_mfa"
developed by Catalyst.
Co-authored-by: Peter Burnett <peterburnett@catalyst-au.net >
Co-authored-by: Misha Golenkov <golenkovm@gmail.com >
Co-authored-by: Brendan Heywood <brendan@catalyst-au.net >
Co-authored-by: Alex Morris <alex.morris@catalyst.net.nz >
Co-authored-by: Dan Marsden <dan@danmarsden.com >
Co-authored-by: Kevin Pham <kevinpham@catalyst-au.net >
Co-authored-by: Chris Pratt <tonyyeb@gmail.com >
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk >
Co-authored-by: Tomo Tsuyuki <tomotsuyuki@catalyst-au.net >
Co-authored-by: Liam Kearney <https://github.com/LiamKearn >
Co-authored-by: Nicholas Hoobin <nicholashoobin@catalyst-au.net >
Co-authored-by: Scott Verbeek <scottverbeek@catalyst-au.net >
Co-authored-by: nomisge <https://github.com/nomisge >
Co-authored-by: Dmitrii Metelkin <dmitriim@catalyst-au.net >
Co-authored-by: Matthew Hilton <matthewhilton@catalyst-au.net >
Co-authored-by: Michael Geering <https://github.com/dryj >
Co-authored-by: alphadijkstra <https://github.com/alphadijkstra >
2023-12-08 15:27:05 +01:00
raortegar
f81d6ed426
MDL-78511 lib: Include JmesPath library
...
JMESPath library is required by AWS SDK for PHP library
2023-12-08 15:27:05 +01:00
raortegar
9b98f78d2a
MDL-78511 lib: Include aws-sdk library
...
Include AWS SDK for PHP library.
This library is used in SMS factor from MFA project
2023-12-08 15:27:05 +01:00
Paul Holden
bd63b01cca
MDL-80360 mod_assign: fix timemodified assertion in date restore test.
2023-12-08 10:12:21 +00:00
Mihail Geshoski
e1ed40385a
MDL-80246 tiny_equation: Escape elementid in the data-target attribute
...
Tabs use the value of the data-target attribute of the active tab link
to find and display the appropriate tab content. In some situations the
elementid value that is used to generate the data-target may contain
certain characters that have a special meaning in the selector context
(e.g. ".", ",", "#") and because of that the target element cannot be
correctly identified. To fix this problem the elementid value needs to
be escaped prior to generating the data-target attribute.
2023-12-08 09:46:48 +08:00
Francis Devine
8380311af6
MDL-79937 mod_lesson: Fix matching pagetype question matching
...
The addition of text format on the output of the answer responses broke
the matching later when comparing the valid answer against the sent
response, as the answer response was not correspondingly formatted.
I decided to use the un formatted answer response as the key, to keep it
as close as identical to prior behaviour
2023-12-08 09:05:41 +13:00
Paul Holden
f875ced123
MDL-80232 forumreport_summary: fix pagination count for summary report.
2023-12-07 17:25:38 +00:00
Paul Holden
3dec3fb8ce
MDL-79397 reportbuilder: update reports to use auto-generated aliases.
...
We no longer need to be concerned about the manual setting of entity
table aliases (e.g. to avoid duplication between entities, or for using
a single entity multiple times), as it's handled transparently for us.
2023-12-07 17:19:01 +00:00
Paul Holden
7143cf4cbc
MDL-79397 reportbuilder: update existing entity table definitions.
2023-12-07 17:19:01 +00:00
Paul Holden
fb53d081da
MDL-79397 reportbuilder: always auto-generate entity table aliases.
...
As the number of report entity classes has grown, each having their own
manually defined table aliases, it becomes harder to ensure each of the
aliases are always unique across report sources.
We can remove that burden by ensuring table aliases are automatically
generated upon request.
2023-12-07 17:19:01 +00:00
Philipp Imhof
b46453e457
MDL-80003 mod_quiz: watch all instances of tinyMCE
2023-12-07 17:29:43 +01:00
Sara Arjona
a891866cbd
weekly release 4.4dev
2023-12-07 16:22:00 +01:00
Sara Arjona
612a1935ac
NOBUG: Fixed SVG browser compatibility
2023-12-07 16:21:57 +01:00
Paul Holden
f188214e7e
MDL-79980 mod_survey: remove responses link if user cannot access.
...
Update Behat scenario to match.
2023-12-07 12:08:37 +01:00
Brendan Heywood
76c940134c
MDL-80309 tasks: Clean up mtrace logs
2023-12-07 12:08:29 +08:00
Andrew Nicols
2d2dc7e154
Merge branch 'MDL-80257-main' of https://github.com/meirzamoodle/moodle
2023-12-07 11:42:50 +08:00
Huong Nguyen
2b59df00ef
Merge branch 'MDL-80341' of https://github.com/timhunt/moodle
2023-12-07 10:27:37 +07:00
Ilya Tregubov
32459ee6e1
Merge branch 'MDL-79931-main' of https://github.com/lucaboesch/moodle
2023-12-07 11:17:25 +08:00
Paul Holden
608bddeb3d
MDL-79839 tool_task: clean task classname parameter prior to use.
2023-12-07 10:53:39 +08:00
Huong Nguyen
39a7a380c9
Merge branch 'MDL-79061-main-2' of https://github.com/junpataleta/moodle
2023-12-07 09:52:11 +07:00
Jun Pataleta
d953068659
MDL-79061 course: Create a sr-only mutations logger
...
* Create SRLogger that extends from the default Logger class. This
logger outputs the feedback to a sr-only ARIA live region to allow
screen readers to announce the feedback from mutations.
* Update the course editor to use the SRLogger.
2023-12-07 10:43:28 +08:00
Ferran Recio
d8c0e1880f
MDL-79061 core: Mechanism for logging mutation feedbacks
...
* Create a mechanism for logging mutation feedbacks.
* The mutation feedbacks are displayed as a toast by default.
* Apply this logging mechanism on the course homepage to provide
feedback for the results of actions performed on course modules and
course sections.
2023-12-07 10:43:28 +08:00
Huong Nguyen
d7416db402
Merge branch 'MDL-68652-master-1' of https://github.com/ilyatregubov/moodle
2023-12-07 09:31:05 +07:00
Jun Pataleta
b47a37a4f2
Merge branch 'MDL-80281_main' of https://github.com/marxjohnson/moodle
2023-12-07 10:16:58 +08:00
Huong Nguyen
e1d02270eb
Merge branch 'MDL-77136-main' of https://github.com/lucaboesch/moodle
2023-12-07 08:36:27 +07:00
Paul Holden
e80696b2b6
MDL-79980 mod_survey: respect activity group mode getting report.
2023-12-07 09:32:25 +08:00
Ilya Tregubov
7c207dce1b
MDL-68652 core_grades: Only return allowed fields.
...
Grade iterator should check user permissions.
2023-12-07 09:14:33 +08:00
Ilya Tregubov
b3c12c8219
Merge branch 'MOODLE_master_MDL-73378' of https://github.com/danielneis/moodle
2023-12-07 09:01:25 +08:00
Jun Pataleta
c8c6f72e58
Merge branch 'MDL-79761-main' of https://github.com/marinaglancy/moodle
2023-12-07 08:54:21 +08:00
Paul Holden
b9f97f705e
MDL-80239 grade: escape matched data in user search results.
2023-12-07 08:41:32 +08:00
Paul Holden
bdbceebb57
MDL-80287 grade: escape current value in search templates.
2023-12-07 08:35:17 +08:00
Tim Hunt
60d9adf0f2
MDL-79835 behat_core_generator: remove misleading error obfuscation
2023-12-06 18:11:48 +00:00
Jun Pataleta
a6ee7e7396
Merge branch 'MDL-80127' of https://github.com/timhunt/moodle
2023-12-06 22:12:25 +08:00
Jun Pataleta
030def7a46
Merge branch 'MDL-80079-master' of https://github.com/andrewnicols/moodle
2023-12-06 21:59:47 +08:00
Ilya Tregubov
faae0874ce
MDL-68652 mod_forum: Only include gradable users in grading
2023-12-06 21:11:28 +08:00
Ilya Tregubov
bfb8ad5735
MDL-68652 core_grades: Refactor grades functions.
...
get_gradable_users now has extra param to retrieve only active
users. Grade reports hase their own grade_report::get_gradable_users
since they decided whether to inlcude active users from report preferences
2023-12-06 21:11:22 +08:00
Luca Bösch
9c2c8c63de
MDL-77136 qtype_randomsamatch: Newest versions for shortanswer questions
2023-12-06 14:02:14 +01:00
Luca Bösch
b53ab7e800
MDL-77136 core_question: Newest versions get_questions_from_categories
2023-12-06 14:02:14 +01:00
Tim Hunt
c69ee049d1
MDL-80341 quiz: unseen descriptions are not unanswered questonis
...
This was causing confusing in the 'are you sure you want to submit' confirmation pop-up.
2023-12-06 11:11:59 +00:00
Ilya Tregubov
6172d847f5
Merge branch 'MDL-76109-main' of https://github.com/meirzamoodle/moodle
2023-12-06 15:41:19 +08:00
Huong Nguyen
a3608ddbbf
Merge branch 'MDL-50650-master' of https://github.com/ilyatregubov/moodle
2023-12-06 14:05:25 +07:00
Stephan Robotta
dd07c7c042
MDL-41465 reports: In separate group mode, limit to same
2023-12-06 13:53:28 +07:00
Angelia Dela Cruz
901dc7a660
MDL-80315 block_comments: Removed duplicate Behat test
...
Deleted the duplicated course comments block behat test. The file
blocks/comments/tests/behat/add_comment.feature is deleted as a
result.
2023-12-06 12:56:00 +08:00
David Woloszyn
64a13123f3
MDL-79759 repository_url: Limit css imports and remove fragments
...
There are checks to urls that attempt to limit recurrsion when
parse_file is called. This is problematic for css import urls that
can call an indefinite amount of nested import urls. An import limit
has been introduced to address this. Fragments have also been removed.
2023-12-06 03:54:20 +01:00
Stevani Andolo
4b5c79f7d2
MDL-80174 tool_log: ensure "other" data is safely unserialized.
2023-12-06 03:54:20 +01:00
Paul Holden
c564a8249a
MDL-80268 badges: require capability to view awarded badges.
2023-12-06 03:54:20 +01:00
Paul Holden
0f3e5df4b5
MDL-79797 backup: ensure block config is safely unserialized.
2023-12-06 03:54:20 +01:00
Ilya Tregubov
b684ef329e
Merge branch 'MDL-79692' of https://github.com/paulholden/moodle
2023-12-06 10:49:42 +08:00
Huong Nguyen
a75a20f4ea
Merge branch 'MDL-80180-master' of https://github.com/jbs1/moodle
2023-12-06 09:16:06 +07:00
Ilya Tregubov
eda5aef1fc
Merge branch 'MDL-74248-master-fix_mp3_mod_folder' of https://github.com/praxisdigital/moodle
2023-12-06 10:00:26 +08:00
Sara Arjona
02b188d6c9
Merge branch 'MDL-79216' of https://github.com/paulholden/moodle
2023-12-05 16:46:10 +01:00
Sara Arjona
b2abc3288d
Merge branch 'MDL-80286' of https://github.com/paulholden/moodle
2023-12-05 16:42:09 +01:00
Sara Arjona
51a70cf44e
Merge branch 'MDL-79862-master' of https://github.com/aanabit/moodle
2023-12-05 16:35:20 +01:00
Sara Arjona
9cb654b356
Merge branch 'MDL-79979-main' of https://github.com/aanabit/moodle
2023-12-05 16:16:42 +01:00
Jun Pataleta
d9b6450a5f
Merge branch 'MDL-73974-main' of https://github.com/junpataleta/moodle
2023-12-05 23:09:51 +08:00
Sara Arjona
7ac70d80b2
Merge branch 'MDL-55640-main' of https://github.com/sammarshallou/moodle
2023-12-05 16:01:49 +01:00
Sara Arjona
ac573defdd
Merge branch 'MDL-80015-main' of https://github.com/roland04/moodle
2023-12-05 15:51:21 +01:00
Karen Holland
f947158b94
MDL-73974 tool_brickfield: Processing alpha fontsizes
2023-12-05 22:49:32 +08:00
Sara Arjona
d8b6117a4b
Merge branch 'MDL-80254' of https://github.com/paulholden/moodle
2023-12-05 15:45:23 +01:00
Paul Holden
4cd9e76175
MDL-79307 assignfeedback_editpdf: more informative task failure.
...
If ghostscript is not correctly configured the task will never
succeed, so error out earlier with a more informative exception
explaining this.
2023-12-05 12:20:17 +00:00
Juan Leyva
40734d5afc
MDL-73008 tool_policy: Bump version for WS
2023-12-05 10:28:29 +01:00
Juan Leyva
6b2806e745
MDL-73008 tool_policy: New WS to set user acceptances
2023-12-05 10:27:31 +01:00
Juan Leyva
7d7ab3aa1c
MDL-73008 tool_policy: New WS to retrieve user acceptances
2023-12-05 10:27:31 +01:00
Juan Leyva
f40c196e51
MDL-73008 ws: Return current policy acceptance status
2023-12-05 10:12:56 +01:00
Mikel Martín
8566e704c2
MDL-77124 theme_boost: Final removal of dnd unused styles
2023-12-05 09:18:49 +01:00
Jun Pataleta
c643ea197d
Merge branch 'MDL-79806_master' of https://github.com/marxjohnson/moodle
2023-12-05 12:48:41 +08:00
Huong Nguyen
4319d6ff4b
Merge branch 'MDL-71336' of https://github.com/paulholden/moodle
2023-12-05 11:19:25 +07:00
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
Jay Oswald
248f7e91f2
MDL-79091 core_badges: refactor bades cron task
...
MDL-79091 core_badges: refactor bades cron task
2023-12-01 10:57:36 +11:00
Jay Oswald
5b5e0aab8c
MDL-79091 core_badges: use adhoc tasks
2023-12-01 10:57:23 +11:00
sam marshall
2077ae03f8
MDL-55640 setuplib: test_localcachedir fails sporadically
2023-11-30 13:56:11 +00:00
Juan Leyva
89481f9405
MDL-77054 files: Allow CORS in tokenpluginfile.php
2023-11-30 12:22:26 +01: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
Huong Nguyen
f2237faca5
Merge branch 'MDL-74378_master' of https://github.com/PhilippImhof/moodle
2023-11-30 10:10:12 +07:00
Ilya Tregubov
37737a92d6
Merge branch 'MDL-79890-master' of https://github.com/andrewnicols/moodle
2023-11-30 10:44:35 +08:00
Huong Nguyen
44838c76b1
MDL-77444 communication: Add missing test coverage information
2023-11-30 09:41:26 +07:00
Huong Nguyen
004e88ee3f
Merge branch 'MDL-77444-master' of https://github.com/jleyva/moodle
2023-11-30 09:40:07 +07:00
Ilya Tregubov
42f5a6a022
Merge branch 'MDL-78849' of https://github.com/paulholden/moodle
2023-11-30 10:37:28 +08:00
Huong Nguyen
062965c139
Merge branch 'MDL-77038-master' of https://github.com/ferranrecio/moodle
2023-11-30 09:03:25 +07:00
Ilya Tregubov
6c047687a7
Merge branch 'MDL-79325' of https://github.com/paulholden/moodle
2023-11-30 09:34:18 +08:00
Ilya Tregubov
7bc9cecec2
Merge branch 'MDL-79998' of https://github.com/paulholden/moodle
2023-11-30 09:30:57 +08:00
Sara Arjona
c3254b89ff
Merge branch 'MDL-80205-main' of https://github.com/aanabit/moodle
2023-11-29 18:41:24 +01:00
Sara Arjona
a2c036f83f
Merge branch 'MDL-80215-main' of https://github.com/andrewnicols/moodle
2023-11-29 18:00:33 +01:00
Sara Arjona
3b025c058d
Merge branch 'MDL-80055-main' of https://github.com/roland04/moodle
2023-11-29 17:44:53 +01:00
Sara Arjona
bb1f7f97ca
Merge branch 'MDL-79999-main' of https://github.com/ferranrecio/moodle
2023-11-29 17:22:24 +01:00
Mihail Geshoski
1ab7801c0e
MDL-80270 gradereport_grader: User row as the last row cannot be sticky
...
In certain scenarios, a user row can be the last row in the grader
report table. The current logic does not take this into account and
always pins the last row regardless of the type.
This change ensures that the last row is not a user row before executing
the logic responsible for pinning this row.
2023-11-30 00:07:18 +08:00
Jun Pataleta
818c118dbd
Merge branch 'MDL-79841-master' of https://github.com/laurentdavid/moodle
2023-11-29 23:48:55 +08:00
Sara Arjona
b359f97fda
Merge branch 'MDL-79610-main' of https://github.com/roland04/moodle
2023-11-29 16:37:03 +01:00
Ferran Recio
cf8f4e08e7
MDL-77038 core_courseformat: deprecate state action section_move
...
The logic behind section_move is ambiguous and unnecessary complex.
The move modal uses section_move_after which presents a more predictable
behaviour. This issue replace the drag&drop use of section_move by
the new section_move_after and deprecate the old method.
2023-11-29 15:51:42 +01:00
Ferran Recio
93cb5b090a
MDL-79999 course: save session cache by id
...
The course modinfo cache now stores sections no matter the section
number. This will be needed when delegated sections will be implemented.
2023-11-29 15:16:36 +01:00
Sara Arjona
75d75c36ca
Merge branch 'MDL-79537' of https://github.com/ssj365/moodle
2023-11-29 13:28:51 +01:00
Mikel Martín
d94b14d396
MDL-79610 courseformat: Fix availability restrictions rendering
...
When duplicating a course module, availability restrictions was not rendering
properly. That happened because 'editing' was not being exported for template
for a single course module. This patch adds 'editing' to the cm exported data.
2023-11-29 13:09:49 +01:00
Paul Holden
0f4064d871
Merge branch 'MDL-79967-main-fix' of https://github.com/junpataleta/moodle into main
2023-11-29 12:03:03 +00:00
Jun Pataleta
590822f16f
MDL-79967 mod_scorm: Use only the required field for the query
2023-11-29 18:30:52 +08:00
Jun Pataleta
451eeb63da
Merge branch 'MDL-80154-main' of https://github.com/roland04/moodle
2023-11-29 18:23:54 +08:00
Jun Pataleta
d3d853bc2d
Merge branch 'MDL-79915-main' of https://github.com/sarjona/moodle
2023-11-29 18:11:56 +08:00
Sara Arjona
9e3acd9f06
MDL-79915 backup: Improve the Restore main page
...
Júlia, from the PX team, has suggested a few improvements to make it easier to
understand the Restore main page:
- Displaying a notification instead of the empty table when there are no files
in an area.
- Improve the copy, removing the help buttons and moving this information to the
main page.
- Replacing "Import a backup file" with "Upload a backup file".
- Adding some space between the different areas.
- Displaying a different text in the different "Manage backup files" buttons.
2023-11-29 09:19:46 +01:00
Jun Pataleta
3bdbedb79a
Merge branch 'MDL-79148-master' of https://github.com/ssj365/moodle
2023-11-29 15:20:44 +08:00
Jun Pataleta
323be86576
Merge branch 'mdl79967' of https://github.com/danmarsden/moodle
2023-11-29 12:25:27 +08:00
Huong Nguyen
ffe7ae8235
Merge branch 'fix-single-button-rendering' of https://github.com/dominicchinkh/moodle
2023-11-29 10:33:06 +07:00
Huong Nguyen
dcdacd260e
Merge branch 'mdl80004' of https://github.com/danmarsden/moodle
2023-11-29 09:52:28 +07:00
Huong Nguyen
f1187c3937
Merge branch 'MDL-80002-master' of https://github.com/roland04/moodle
2023-11-29 09:33:06 +07:00
Huong Nguyen
e67c0b87b1
Merge branch 'MDL-79267' of https://github.com/paulholden/moodle
2023-11-29 09:17:23 +07:00
Huong Nguyen
8db6218f7c
Merge branch 'MDL-79512-master' of https://github.com/laurentdavid/moodle
2023-11-29 09:07:21 +07:00
Ilya Tregubov
abf3f3bec5
Merge branch 'MDL-73626_master' of https://github.com/marxjohnson/moodle
2023-11-29 10:02:36 +08:00
Huong Nguyen
eace000aba
Merge branch 'MDL-76694-master' of https://github.com/snake/moodle
2023-11-29 09:00:56 +07:00
Jun Pataleta
aa9cc4aad1
Merge branch 'MDL-80181-master' of https://github.com/srobotta/moodle
2023-11-29 09:37:53 +08:00
Jeremy Schulz
bd14f574d9
MDL-80180 admin: added readonly support for multicheckbox
2023-11-28 14:25:14 -05:00
Pascal Hamar
38ac75d674
MDL-36733 qtype_calculated: Wildcards in calculated question hints
...
The placeholders for the hints are properly replaced by this change and any formulas present are replaced.
The validation is performed by the existing function qtype_calculated_find_formula_errors(),
which is called by the calculate() function,
which in turn is called by the variable substituter "vs" using the replace_expressions_in_text() function.
vs -> replace_expressions_in_text() -> calculate() -> qtype_calculated_find_formula_errors().
2023-11-28 19:02:27 +01:00
Mark Johnson
0757441874
MDL-80281 session: Don't report long session locks for readonly sessions
...
Previously, $CFG->sessionlockdebug was reporting long session locks for
all requests, even if they defined READ_ONLY_SESSION. This change
ensures that only sessions with locks are reported.
2023-11-28 16:20:45 +00:00
Paul Holden
a5f4a725b8
MDL-71732 core: final removal of deprecated 400 methods.
2023-11-28 09:16:07 +00:00
Sumaiya Javed
fac43ca0f2
MDL-73626 mod_assign: release grades when assignment is anonymous
...
Adds a new setting, markinganonymous, which if enabled together
with anonymous submissions and marking workflow,
allows markers to release individual grades.
2023-11-28 08:58:10 +00:00
Shamiso.Jaravaza
660f9c13ef
MDL-79148 mod_bigbluebuttonbn: fix recording link
2023-11-27 23:56:16 -07:00
Ilya Tregubov
1365ec62de
Merge branch 'MDL-79603-master' of https://github.com/andelacruz/moodle
2023-11-28 13:52:47 +08:00
Jun Pataleta
d3939d8193
MDL-78294 filter_glossary: Use <strong> to convey semantic meaning
...
It is better to use <strong> instead of <b> for accessibility as
<strong> is a semantic tag that convey to screen reader users that
the Attachments text is important. <b> on the other hand just makes
the text bold and is only for presentation and has no semantic meaning.
2023-11-28 13:16:00 +08:00
Jun Pataleta
0fe5369869
Merge branch 'MDL-78294-master' of https://github.com/mihailges/moodle
2023-11-28 13:15:50 +08:00
Jun Pataleta
ca7e0c26df
Merge branch 'MDL-80210' of https://github.com/timhunt/moodle
2023-11-28 10:36:17 +08:00
Amaia Anabitarte
506fdc6d36
MDL-80205 mod_scorm: Remove all Pass grade options from completion
2023-11-27 18:06:12 +01:00
Juan Leyva
4b6750c93a
MDL-79784 tool_mobile: Add missing external::format_text
2023-11-27 13:37:58 +01:00
Sara Arjona
929edc410c
Merge branch 'MDL-80025-master' of https://github.com/aanabit/moodle
2023-11-27 13:36:06 +01:00
Juan Leyva
a8150ea45f
MDL-77444 communication: Initial mobile app support
2023-11-27 10:59:23 +01:00
Laurent David
4898b9f123
MDL-79841 theme_boost: Do not remove card borders
...
* When we are in small screensize we had removed the
left and right borders for cards. This is now restored
2023-11-27 07:23:26 +01:00
Mark Johnson
1fd2f91fa2
MDL-65403 notifications: Create additional database indexes
...
This adds indexes on the timecreated and timeread columns, which greatly
speeds up the queries used by \core\task\messaging_cleanup_task on large
sites.
2023-11-24 16:01:38 +00:00
Stephan Robotta
4e8c6a8691
MDL-80181 wiki: fix width of left column in comments
2023-11-24 11:18:09 +01:00
Amaia Anabitarte
8b12110dfd
MDL-79999 course: Improve section meaning in modinfolib classes
...
section variables and properties in modinfolib classes
sometimes contain sectionid and some others contain sectionnum.
We need to make the variables and properties more consistent and clear.
2023-11-24 11:03:23 +01:00
Bruno Baudry
de4a5d71bc
MDL-79616 admin: removed unused strings
...
In MDL-22425 the function that used 'mymoodleredirect' and
'configmymoodleredirect' has been removed.
2023-11-24 09:26:55 +01:00
Mihail Geshoski
8958667c9a
MDL-78294 core_external: Generate the file url based on the request
...
The file url for each returned area file in get_area_files() is now
generated based on the request type. If AJAX request, a standard file
plugin url will be created. Otherwise, a webservice plugin file will be
created.
2023-11-24 15:57:18 +08:00
Mihail Geshoski
0cf04d9caa
MDL-78294 mod_glossary: Remove the redundant showentry_ajax.php
...
Removes the redundant ajax script showentry_ajax.php that was only
used by the old YUI module in the glossary filter. The new AMD
module now uses web services, and therefore, this script is no longer
used nor required.
2023-11-24 15:57:18 +08:00
Mihail Geshoski
df1cc4ac93
MDL-78294 filter_glossary: Replace YUI with an AMD module
...
Replaces the existing YUI module in the glossary filter with an
AMD module. The auto-linked glossary entries are now obtained
through the existing webservices in mod_glossary and displayed
within a modal utilizing the core/modal js module.
2023-11-24 15:57:18 +08:00
Philipp Imhof
e1cb2b3e0b
MDL-74378 mod_quiz: make sure timer is initialized
2023-11-24 08:51:41 +01:00
Mihail Geshoski
5f10f82301
MDL-78294 core_external: New return value 'icon' in external_files
...
New return value 'icon' has been added to the webservice structure
external_files. This return value represents the relative icon path
for a given file. Also, get_area_files() from the core external utility
class now includes this information in its return.
2023-11-24 15:02:20 +08:00
Mihail Geshoski
80d82635dc
MDL-78294 core_tag: New 'viewurl' property in tag_item_exporter
...
New additional property 'viewurl' has been added to the pre-defined
structure in tag_item_exporter. This property represents the URL to
view a given tag.
2023-11-24 15:02:20 +08:00
Huong Nguyen
6374475dc3
weekly release 4.4dev
2023-11-24 12:23:08 +07:00
Huong Nguyen
0eda274a0e
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2023-11-24 12:22:57 +07:00
David Woloszyn
09c1a4caa7
MDL-80229 core: Add tolerance to min_get_minimum_revision
2023-11-24 15:49:16 +11:00
Eloy Lafuente (stronk7)
be5bafef04
Merge branch 'MDL-79966-main' of https://github.com/sammarshallou/moodle
2023-11-23 23:40:30 +01:00
sam marshall
ed46ee3dc7
MDL-79966 core_task: NEVER_RUN_TIME did not fit in 10 digits
2023-11-23 16:22:27 +00:00
Rodrigo Mady
21d99b155b
MDL-79816 block_recentlyaccesseditems: Fix modname type in WS
2023-11-23 13:04:45 -03:00
Mikel Martín
7639cea5a8
MDL-80238 core_privacy: Refactor .jumbotron usage
2023-11-23 16:33:01 +01:00
Paul Holden
b7205c5c84
MDL-71336 forms: ensure grouped date elements have unique IDs.
...
Previously they were each taking the ID of their parent group element.
2023-11-23 12:01:24 +00:00
Tim Hunt
e7ab65f68e
MDL-80210 quiz: fix default for reviewmaxmarks when upgrading
...
It is correct that the database default should be 0, to match
other similar columns, but when sites are upgraded, we need
to set the settings for all existing quizzes to match the previous
behaviour.
2023-11-23 10:55:10 +00:00
Ilya Tregubov
61c53f00d2
Merge branch 'MDL-69819-master' of https://github.com/davewoloszyn/moodle
2023-11-23 10:35:07 +08:00
Andrew Nicols
71ab68a7d0
Merge branch 'MDL-79966-main' of https://github.com/sammarshallou/moodle
2023-11-23 10:26:53 +08:00
Ilya Tregubov
abf2c568be
Merge branch 'mdl67898-check-setting-admintree' of https://github.com/matthewhilton/moodle
2023-11-23 10:25:20 +08:00
Huong Nguyen
e93a025823
Merge branch 'MDL-78496-main' of https://github.com/andrewnicols/moodle
2023-11-23 09:22:20 +07:00
Jun Pataleta
690d783f14
MDL-79912 backup: Fix alignment of tertiary navigation border
2023-11-23 10:00:52 +08:00
Jun Pataleta
053c1ddc3d
Merge branch 'MDL-79912-main' of https://github.com/sarjona/moodle
2023-11-23 09:57:09 +08:00
Ilya Tregubov
ae15c3de69
Merge branch 'MDL-80157_storedfileproblem' of https://github.com/leonstr/moodle
2023-11-23 09:46:31 +08:00
Helen Foster
de4f02d809
MDL-80221 lang: Import fixed English strings (en_fix)
2023-11-22 22:48:47 +01:00
Sara Arjona
424c9cb1bd
MDL-79912 backup: Create Course reuse index page
...
The backup/view.php page has been created to display the list of
course reuse actions available for users.
That way, the "Course reuse" option in the secondary navigation
will display this page instead of redirecting to the first action
available.
Apart from that, the headers for all the Course reuse actions have
been homogenised and the tertiary navigation selector has been included,
to replace headers and make it easier navigate between actions.
2023-11-22 18:11:43 +01:00
Mikel Martín
7f95e36604
MDL-80055 core_h5p: Re-style 'Edit H5P content' button
2023-11-22 08:20:46 +01:00
Ilya Tregubov
dfb7ecbb03
Merge branch 'MDL-79185-master' of https://github.com/dmitriim/moodle
2023-11-22 11:47:30 +08:00
David Woloszyn
6547554ffa
MDL-69819 mod_feedback: Param now nullable in feedback_save_tmp_values
2023-11-22 14:46:51 +11:00
David Woloszyn
78131051a1
MDL-69819 mod_feedback: Fix superfluous br tags in Excel
...
Co-authored-by: David Woloszyn <david.woloszyn@moodle.com >
2023-11-22 14:46:51 +11:00
Huong Nguyen
90835cd8da
Merge branch 'MDL-75673-master' of https://github.com/roland04/moodle
2023-11-22 09:47:35 +07:00
Dmitrii Metelkin
68c725f8b1
MDL-79185 cache: don't throw exception if cache data is corrupted
2023-11-22 12:45:48 +11:00
Ilya Tregubov
6d062ab171
Merge branch 'MDL-78670-main' of https://github.com/rmady/moodle
2023-11-22 09:10:25 +08:00
Andrew Nicols
7b7b618b96
MDL-80215 core: Use correct behat constant
2023-11-22 09:00:35 +08:00
Paul Holden
4be39296d6
MDL-80185 lang: use iso6391 language code for HTML lang attributes.
...
This resolves accessibility issues where Moodle language pack codes
didn't always map to correspondingly named iso6391 codes.
Where this value is defined in the language configuration, it will
now be used.
2023-11-21 21:37:12 +00:00
Juan Leyva
85a5070be1
MDL-79786 mod: Include purpose for setting icons colours
2023-11-21 12:25:30 -03:00
Mikel Martín
ae360a1da0
MDL-80015 course: Fix category 'More' dropdown alignment
...
Co-authored-by: Stephen Sharpe <stephen.sharpe@synergy-learning.com >
2023-11-21 14:15:27 +01:00
Angelia Dela Cruz
b445e72c80
MDL-79828 core_badges: Delete already awarded course badges
2023-11-21 16:11:39 +08:00
Amaia Anabitarte
f7fa5cbfbb
MDL-79979 tool_generator: Use auto-enrol admin in new courses setting
2023-11-21 08:39:29 +01:00
Matthew Hilton
dc7953ccff
MDL-67898 antivirus: Add check to admin settings
2023-11-21 12:04:42 +10:00
Matthew Hilton
9b8acd44d1
MDL-67898 check: Add check admin setting
...
This admin setting allows you to display a check anywhere in the admin
tree. It uses a webservice to execute the check, so the impact on the
admin tree performance is as low as possible.
Checks do not necessarily need to be registered in the plugins callback
to be shown here, allowing customisation of what is shown in the
settings versus the reports.
2023-11-21 12:04:42 +10:00
Matthew Hilton
bc4df2af71
MDL-67898 check: Get component if not set by manager
2023-11-21 11:47:26 +10:00
sam marshall
1c4d433d5f
MDL-79966 core_task: Scheduled task timing (crontab fields) is wrong
2023-11-20 17:13:21 +00:00
Andrew Nicols
45c816064a
MDL-78496 core: Do not run GHA on main branch
2023-11-20 20:21:12 +08:00
Juan Olivares
13860394b0
MDL-74248 mod_folder: Fix mp3 files being unaccessible in chrome
...
Platform users that host mp3 files within a folder are not able to access them using Chrome. This fix allows them to do so.
2023-11-20 11:30:57 +01:00
Dan Marsden
68991e95de
MDL-79967 scorm: Fix scorm_insert_track grading calls.
2023-11-20 22:02:22 +13:00
Amaia Anabitarte
b4816367b7
MDL-79862 completion: Improve error handling for default completion
2023-11-20 09:51:21 +01:00
Amaia Anabitarte
b21d8e6f34
MDL-80025 core_contentbank: Update delete button colour to text-danger
2023-11-20 09:50:58 +01:00
Huong Nguyen
5b78268593
Merge branch 'MDL-80037-master' of https://github.com/junpataleta/moodle
2023-11-20 14:48:04 +07:00
Huong Nguyen
9623c6be03
Merge branch 'MDL-78426-master' of https://github.com/davewoloszyn/moodle
2023-11-20 14:15:26 +07:00
Huong Nguyen
6d0f351b99
Merge branch 'MDL-79783' of https://github.com/paulholden/moodle
2023-11-20 14:04:55 +07:00
Huong Nguyen
b74b80ade1
Merge branch 'MDL-79604-master' of https://github.com/srobotta/moodle
2023-11-20 14:01:02 +07:00
David Woloszyn
cbbcacdd8f
MDL-78426 core_theme: Move theme's settings to theme card
...
Theme selector and theme settings have been renamed. Theme admin
section has been removed and contents merged into Appearance category.
2023-11-20 17:05:35 +11:00
Laurent David
2b2cf76577
MDL-79512 mod_feedback: Add toast dialog when saved
...
* Add notification to notify the user once the changes have been
successfully saved
2023-11-20 06:51:56 +01:00
Laurent David
33391e08c2
MDL-79512 mod_feedback: Fix issue with drag and drop
...
* A teacher can not change the order of the questions in feedback
as the order is not saved.
2023-11-20 06:51:56 +01:00
AMOS bot
160e36a5c9
Automatically generated installer lang files
2023-11-20 00:10:46 +00:00
Andrew Nicols
525212f2d2
MDL-78496 core: Address phpcs issues with upgrade.php files
2023-11-19 21:20:53 +08:00
Rodrigo Mady
22c114d21d
MDL-78670 mod_quiz: Add offline atempt rule for sequential navigation
2023-11-17 20:16:01 -03:00
Andrew Nicols
545b36cd4a
MDL-78496 upgrade: remove all the < 4.1.0 upgrade steps
...
Also includes an upgrade step to prevent upgrading from any
version < 2021112802 (v4.1.0) as anti-cheating measure.
2023-11-17 23:25:36 +08:00
Andrew Nicols
5c68be9b96
MDL-78496 environment: Moodle 4.4 requirements
...
The only changes to requirements since Moodle 4.3 are increases to:
* the minimum PHP version required; and
* the minimum required Moodle version.
2023-11-17 21:50:28 +08:00
Leon Stringer
a1a8facb9b
MDL-80157 file: Exception message spelling
2023-11-17 12:49:42 +00:00
Mikel Martín
39a144fedc
MDL-80154 theme_boost: Add 'since' version to the deprecated styles
2023-11-17 13:10:58 +01:00
Paul Holden
cffa5199b5
MDL-79325 group: consistent name formatting in overview page/export.
2023-11-17 09:48:01 +00:00
Jun Pataleta
181902853c
MDL-80037 theme: Indicate when $CFG->theme is defined in config.php
...
* And prevent selection of theme if $CFG->theme is defined in config.php
2023-11-17 09:25:20 +08:00
Shamiso.Jaravaza
7d9e53bf8f
MDL-79537 mod_bigbluebuttonbn: remove size hint
2023-11-16 11:36:30 -07:00
Mikel Martín
712b0b622c
MDL-75673 forumreport_summary: Migrate to PopperJS v2
2023-11-16 17:45:42 +01:00
Mikel Martín
1a7732b195
MDL-75673 core: Add popper v2.11.8 lib
2023-11-16 17:45:41 +01:00
Sara Arjona
b58d1fd4e2
weekly release 4.4dev
2023-11-16 16:22:29 +01:00
Sara Arjona
4705f52eaf
NOBUG: Fixed SVG browser compatibility
2023-11-16 16:22:24 +01:00
Sara Arjona
303cf93cf7
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2023-11-16 16:22:23 +01:00
Paul Holden
2f213c96ce
MDL-78849 user: correct logical operator behaviour for guest button.
...
Apart from being banned per MDL-74990, it causes a subtle bug here
due to operator precedence.
Co-authored-by: Tom Mayfield <tmayfield@costrack.com >
2023-11-16 11:30:39 +00:00
Huong Nguyen
cd2ccc683c
Merge branch 'MDL-76457-master' of https://github.com/roland04/moodle
2023-11-16 10:57:59 +07:00
Huong Nguyen
3aa5c60399
Merge branch 'MDL-79714-master' of https://github.com/meirzamoodle/moodle
2023-11-16 10:55:22 +07:00
Huong Nguyen
4cf3f384c3
Merge branch 'MDL-80066' of https://github.com/elza3ym/moodle
2023-11-16 10:52:48 +07:00
Jun Pataleta
79a35d2c90
Merge branch 'MDL-79974-master-3' of https://github.com/andrewnicols/moodle
2023-11-16 11:16:33 +08:00
Ilya Tregubov
ddd19a3bf2
Merge branch 'MDL-80121-main' of https://github.com/junpataleta/moodle
2023-11-16 10:00:39 +08:00
Ilya Tregubov
247d5d2823
Merge branch 'MDL-79564_master_v2' of https://github.com/TomoTsuyuki/moodle
2023-11-16 09:33:14 +08:00
Ilya Tregubov
105ae8942a
Merge branch 'MDL-79987-master' of https://github.com/sarjona/moodle
2023-11-16 09:29:00 +08:00
Ilya Tregubov
fbcf939527
Merge branch 'MDL-75616-master' of https://github.com/davewoloszyn/moodle
2023-11-16 09:22:43 +08:00
Tim Hunt
0336443db6
MDL-80127 question engine: prevent fatal errors from old bad data
2023-11-15 16:34:35 +00:00
Tim Hunt
64bac5f4cc
MDL-80127 question engine: don't convert null to '' before storing
2023-11-15 16:34:35 +00:00
Sara Arjona
17ff705d7a
Merge branch 'MDL-79981-master' of https://github.com/andrewnicols/moodle
2023-11-15 17:09:52 +01:00
Sara Arjona
638f9fd482
Merge branch 'MDL-79962' of https://github.com/paulholden/moodle
2023-11-15 16:47:33 +01:00
Sara Arjona
2135bbcfe6
Merge branch 'MDL-79697-master' of https://github.com/andrewnicols/moodle
2023-11-15 16:15:40 +01:00
Paul Holden
80ddffea97
MDL-71950 completion: final removal of deprecated help_icon methods.
2023-11-15 15:06:17 +00:00
Andrew Nicols
846892ab07
MDL-79697 core: Coding style updates
2023-11-15 21:24:31 +08:00
Andrew Nicols
db556a4ce8
MDL-79697 core: PSR-4 NS can be spread across multiple dirs
...
The PSR-4 specification does not preclude a single namespaces from
having multiple sources. This is the case for several PSR standards
including standard packagist packages distributed by PSR:
- PSR-7 - HTTP Message Interfaces: \Psr\Http\Message
- PSR-17 - HTTP Factories: \Psr\Http\Message
- PSR-15 - http-server-handler: \Psr\Http\Server
- PSR-15 - http-server-middleware: \Psr\Http\Server
2023-11-15 21:23:27 +08:00
Sara Arjona
242fa32b46
Merge branch 'MDL-80045-master' of https://github.com/roland04/moodle
2023-11-15 13:47:04 +01:00
Sara Arjona
ef7bf5a8cd
Merge branch 'MDL-79956-master' of https://github.com/ssj365/moodle
2023-11-15 13:31:38 +01:00
Jun Pataleta
3bb574b35a
MDL-80121 gradereport_singleview: Increase zero-state heading level
...
With the h2 heading not being rendered on the zero-state pages of the
Single view report, we need to increase the heading level of the
"Search for a user to view all their grades" and
"Select a grade item above" headings from h3 to h2.
2023-11-15 19:22:57 +08:00
Jun Pataleta
51a6181e16
MDL-80121 grade: Trim heading
...
In order to prevent rendering an empty heading <h2>, we need to make
sure that the $heading parameter passed to print_grade_page_head() is
not an empty string.
2023-11-15 19:20:55 +08:00
Stephan Robotta
42ef700aff
MDL-79604 mod_data: exception if mandatory checkox list is missing
2023-11-15 12:18:41 +01:00
Ilya Tregubov
357fd47e68
Merge branch 'MDL-79996' of https://github.com/paulholden/moodle
2023-11-15 15:23:58 +08:00
Ilya Tregubov
83ec64b4ec
Merge branch 'MDL-79949-master' of https://github.com/brunobaudry/moodle
2023-11-15 15:19:37 +08:00
Ilya Tregubov
38f385e450
Merge branch 'MDL-79728' of https://github.com/paulholden/moodle
2023-11-15 15:13:49 +08:00
Tomo Tsuyuki
453eaf6c57
MDL-79564 cli: Add import CLI
2023-11-15 17:36:06 +11:00
Dan Marsden
211cf56a8c
MDL-64431 assignfeedback_editpdf: Flatten PDF files
2023-11-15 19:26:08 +13:00
Jake Dallimore
c65f392532
Merge branch 'MDL-76588-master-2' of https://github.com/ilyatregubov/moodle
2023-11-15 12:10:59 +08:00
Huong Nguyen
011a606c13
Merge branch 'MDL-73852-master' of https://github.com/ilyatregubov/moodle
2023-11-15 09:32:09 +07:00
Huong Nguyen
2bd28efcbf
Merge branch 'MDL-79648-master' of https://github.com/SergioComeron/moodle
2023-11-15 09:13:21 +07:00
Huong Nguyen
a8de3289c0
Merge branch 'MDL-79601-master' of https://github.com/roland04/moodle
2023-11-15 09:08:39 +07:00
Andrew Nicols
53416b1c1e
MDL-80119 core: Address issues with saner inc/dec operators
2023-11-15 09:16:13 +08:00
Andrew Nicols
75587e23c6
MDL-79890 core: Update uses of array_keys with multiple params
...
These now call the newly minted `moodle_array_keys_filter` method.
2023-11-15 09:14:40 +08:00
Andrew Nicols
0efbc79e5f
MDL-79890 core: Add polyfill for array_keys with filter
...
This is a Moodle version of a proposed function `array_keys_filter`.
Since this method has not yet been created in upstream PHP, I have
elected to name it with a Moodle prefix as the signature is not known.
In the future, if and when this method is created, we can replace its
content with new method and deprecate it.
2023-11-15 09:14:40 +08:00
Andrew Nicols
e734858e55
MDL-79890 core: Session handlers must implement SessionHandlerInterface
2023-11-15 09:14:40 +08:00
Andrew Nicols
dfccb3f3c4
MDL-79890 core: Stop using get_class() without args
...
PHP 8.3 deprecates the use of `get_class()` without arguments. The
following alternatives should instead be used as appropriate:
- `get_class($this)` - The equivalent for instance methods
- `self::class` - The current class
Note that the behaviour of `get_class()` in a static method was
equivalent to `self::class` and _not_ `static::class`. That is to say
that the previous behaviour did not respect late static binding.
2023-11-15 09:14:40 +08:00
Andrew Nicols
898ac0ab6d
MDL-79890 core: ReflectionProperties::setValue() should take 2 args
...
Since PHP 8.3 setValue() must be called with null as the first arg if
called statically.
2023-11-15 09:14:34 +08:00
Angelia Dela Cruz
3443c74ddf
MDL-79603 mod_scorm: Behat coverage for Scorm package display options
2023-11-15 08:48:28 +08:00
Sara Arjona
f9afe1e273
Merge branch 'MDL-77581-main-fix' of https://github.com/sarjona/moodle
2023-11-14 16:24:09 +01:00
Sara Arjona
b957254b3b
MDL-77581 lesson: Fix behat random failures
2023-11-14 15:54:56 +01:00
Andrew Nicols
dde3333eaa
MDL-80079 core: Correct incorrect arg to format_text::$options
2023-11-14 22:28:55 +08:00
Andrew Nicols
dab4a2b66f
MDL-80079 core: Correct incorrect arg to format_string::$options
2023-11-14 22:28:55 +08:00
Bruno Baudry
2aaba738d1
MDL-79949 admin: removed unused strings
...
In MDL-25499 a string was added (sub MDL-25505) but never used.
It could be deprecated.
2023-11-14 13:49:51 +01:00
Sara Arjona
a70bec51b4
Merge branch 'MDL-77581-master' of https://github.com/dpalou/moodle
2023-11-14 11:52:45 +01:00
Dani Palou
37727401fe
MDL-77581 lesson: Fix generator unit tests in oracle
2023-11-14 11:06:20 +01:00
Ilya Tregubov
e319f16302
Merge branch 'MDL-79563_master_v2' of https://github.com/TomoTsuyuki/moodle
2023-11-14 16:22:27 +08:00
SergioComeron
fe58194444
MDL-79648 core_course: 29 October repeating day
2023-11-13 18:38:44 +01:00
Sara Arjona
ff518d3e71
Merge branch 'MDL-77581-master' of https://github.com/dpalou/moodle
2023-11-13 17:19:02 +01:00
meirzamoodle
3ee7968552
MDL-79714 message: Enable all default notifications
2023-11-13 22:15:29 +07:00
Mikel Martín
ee3eddc48e
MDL-80045 block_starredcourses: Fix cards alignment in small screens
2023-11-13 13:30:56 +01:00
Paul Holden
1807aa1946
MDL-79692 enrol_meta: check for group validity when adding members.
2023-11-13 10:23:08 +00:00
Huong Nguyen
dd2e009ad1
Merge branch 'MDL-78334-master' of https://github.com/roland04/moodle
2023-11-13 10:49:08 +07:00
Jun Pataleta
46d3660891
Merge branch 'MDL-77660-master' of https://github.com/call-learning/moodle
2023-11-13 11:46:39 +08:00
Huong Nguyen
9bb5d89ac5
Merge branch 'MDL-74129-master' of https://github.com/sarjona/moodle
2023-11-13 10:43:00 +07:00
David Saylor
863b0822b2
MDL-75616 backup: Use standard temp directory for extraction
2023-11-13 11:04:17 +11:00
AMOS bot
605c4a4dce
Automatically generated installer lang files
2023-11-12 00:10:24 +00:00
Sara Arjona
8410cf05e0
MDL-79987 course: Improve one section per page course layout
...
The following changes have been implemented:
- Activities count instead of group by type.
- Icons before Activities and Progress.
- Arrow icon to navigate to the section.
- Other styling improvements, such as the color for the section name and no hover,
and a separator between the activities summary information and the list of activities
for the highlighted section.
2023-11-10 16:13:45 +01:00
Sara Arjona
a0ba7d282a
MDL-79987 output: Add i/activities icon
2023-11-10 16:09:10 +01:00
Mikel Martín
ce1eefb979
MDL-76457 tool_usertours: Fix tour popovers in RTL
2023-11-10 12:57:23 +01:00
Mikel Martín
76b05082d6
MDL-76457 theme_boost: Fix bootstrap popovers in RTL
...
- Fix the arrow placement for bootstrap popovers in RTL mode.
- Remove unneded css parser workaround for popover arrows.
After MDL-67386 was integrated those changes were not needed anymore.
2023-11-10 12:00:06 +01:00
Paul Holden
6a9eadceb6
MDL-79998 reportbuilder: user entity method to get identity fields.
2023-11-10 10:22:51 +00:00
Sara Arjona
cb4d9cdcb6
MDL-74129 h5p: Preserve metadata information
...
The metadata information was not restored when an H5P file was uploaded
(it was saved when it was edited directly from the Content bank, but the
original information in the H5P file was lost).
This patch includes all the metadata fields and its values in the original
H5P file to preserve this information too.
2023-11-10 10:33:06 +01:00
Ilya Tregubov
14414fe253
weekly release 4.4dev
2023-11-10 09:17:11 +08:00
Tomo Tsuyuki
839bf730b9
MDL-79563 cli: Add options for backup/restore CLI
2023-11-10 10:16:31 +11:00
Paul Holden
7c76e9223b
MDL-79962 roles: consistent sorting of role entity name column.
...
The "name" field is typically omitted for default/pre-defined roles,
which should be accounted for when sorting.
2023-11-09 17:03:04 +00:00
Mikel Martín
8bca00cd59
MDL-78334 course: Deprecate .togglecompletion SCSS styles
2023-11-09 17:36:09 +01:00
Mohamed Shehata
52b9a59d79
MDL-80066 form: fix date picker on small screens
2023-11-09 17:39:10 +02:00
Mikel Martín
c9c3a34bf1
MDL-78334 behat: Make SCSS deprecation check optional
2023-11-09 13:42:21 +01:00
Mikel Martín
eab94ea4c8
MDL-78334 core: Add a mechanism to deprecate SCSS code
2023-11-09 13:42:18 +01:00
Dani Palou
c7e7bdf778
MDL-77581 behat: Test create lesson pages using UI
2023-11-09 11:30:57 +01:00
Dani Palou
f037f26a62
MDL-77581 behat: Apply new lesson cluster generators to existing tests
2023-11-09 11:30:57 +01:00
Dani Palou
cfbfeacae5
MDL-77581 behat: Create generators for lesson clusters
2023-11-09 11:30:57 +01:00
Dani Palou
71dcb7bcc5
MDL-77581 lesson: Fix wrong PHPDoc in some generator functions
...
While creating the new perform_create_page function I noticed that the PHPDoc return type of the existing functions was wrong
2023-11-09 10:18:43 +01:00
Dani Palou
46088b01c1
MDL-77581 behat: Remove lesson_student_dashboard test file
...
After f7c476bac5 was integrated, these tests didn't assert anything specific and similar steps are already tested in lesson_navigation
2023-11-09 10:18:43 +01:00
Dani Palou
273251d765
MDL-77581 behat: Apply new lesson generators to existing tests
2023-11-09 10:18:43 +01:00
Dani Palou
cec4403678
MDL-77581 behat: Create generators for lesson pages and answers
2023-11-09 10:18:43 +01:00
Laurent David
27f8796c22
MDL-77660 mod_bigbluebuttonbn: Add completion for subplugins
...
* Add callback to the mod edit form
* Refactor completion class to use addons
* Add new behat and phpunit tests
2023-11-09 08:11:06 +01:00
Shamiso.Jaravaza
7fd20bbbd3
MDL-79956 mod_bigbluebuttonbn: fix import links
2023-11-08 21:49:06 -07:00
Jun Pataleta
23cb36c671
MDL-77325 upgrade: Bump upgrade version number to current day
2023-11-09 12:01:14 +08:00
Jun Pataleta
0bc81f6430
Merge branch 'MDL-77325-master' of https://github.com/davewoloszyn/moodle
2023-11-09 11:42:40 +08:00
Jun Pataleta
1f780ceb90
Merge branch 'MDL-80030-master' of https://github.com/micaherne/moodle
2023-11-09 11:13:16 +08:00
Ilya Tregubov
34b44d2aa0
Merge branch 'MDL-79992-master' of https://github.com/sarjona/moodle
2023-11-09 09:55:26 +08:00
Andrew Nicols
735c40ca73
Merge branch 'MDL-79629-fix' of https://github.com/paulholden/moodle
2023-11-09 08:56:39 +08:00
Dominic Chin
5853645aa5
MDL-80035 theme_boost: Fix fourth argument of single_button constructor
2023-11-09 10:03:32 +11:00
Paul Holden
58d9babe56
MDL-79629 javascript: native promises enhancing autocomplete module.
...
Preserve existing `enhance` method return of jQuery style promises to
allow calling code to continue relying on that (e.g. when calling old
style `.done` and `.fail`).
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2023-11-08 20:05:35 +00:00
Sara Arjona
c94a681c7d
Merge branch 'MDL-79827' of https://github.com/paulholden/moodle
2023-11-08 18:10:39 +01:00
Sara Arjona
0688cb5173
Merge branch 'MDL-79975' of https://github.com/paulholden/moodle
2023-11-08 18:02:58 +01:00
Sara Arjona
6f8fcaacd5
Merge branch 'MDL-79620-master' of https://github.com/brunobaudry/moodle
2023-11-08 17:26:16 +01:00
Sara Arjona
e537b5c913
Merge branch 'MDL-79781' of https://github.com/paulholden/moodle
2023-11-08 17:19:45 +01:00
Sara Arjona
02838dfae9
Merge branch 'MDL-76555-master' of https://github.com/pmaneggia/moodle
2023-11-08 17:06:12 +01:00
Mikel Martín
b340a1395b
MDL-79601 report_completion: Fix RTL First/Last name alignment
2023-11-08 16:23:01 +01:00
Mikel Martín
7e02b4baef
MDL-79601 report_progress: Fix RTL First/Last name alignment
2023-11-08 16:22:20 +01:00
Dani Palou
869de41ab2
MDL-77581 behat: Support finish_generate_ in generators
2023-11-08 10:15:36 +01:00
Sara Arjona
2fc405aa35
Merge branch 'MDL-79629' of https://github.com/paulholden/moodle
2023-11-08 09:57:30 +01:00
Michael Aherne
ec7a03985a
MDL-80030 filelib: Fix info type.
2023-11-08 08:51:26 +00:00
Huong Nguyen
5e0b16fa29
MDL-66546 caching: Improve Redis help text
2023-11-08 11:17:45 +07:00
Huong Nguyen
4e112d7f3e
Merge branch 'MDL-66546' of https://github.com/mcabro/moodle
2023-11-08 11:15:03 +07:00
Ilya Tregubov
4df21a5ad8
Merge branch 'MDL-79615_master' of https://github.com/marxjohnson/moodle
2023-11-08 10:42:10 +08:00
Huong Nguyen
36677cd883
Merge branch 'MDL-79739-master' of https://github.com/andrewnicols/moodle
2023-11-08 09:23:37 +07:00
Huong Nguyen
400fa8c521
Merge branch 'MDL-79840' of https://github.com/paulholden/moodle
2023-11-08 09:22:57 +07:00
Huong Nguyen
9c0e8ed95d
Merge branch 'MDL-78335-master' of https://github.com/elza3ym/moodle
2023-11-08 09:22:25 +07:00
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
Paul Holden
28134fe199
MDL-79446 reportbuilder: native support for parameter name suffixes.
2023-11-02 09:27:07 +00:00
Huong Nguyen
279b619f45
Merge branch 'MDL-78903-master' of https://github.com/meirzamoodle/moodle
2023-11-02 10:17:57 +07:00
Huong Nguyen
f1278334d8
Merge branch 'MDL-79801' of https://github.com/paulholden/moodle
2023-11-02 10:14:12 +07:00
Ilya Tregubov
540dc05e1c
Merge branch 'MDL-70760-master' of https://github.com/vietlx426/moodle-1
2023-11-02 10:20:29 +08:00
Huong Nguyen
2a82f72385
Merge branch 'MDL-79617_master' of https://github.com/marxjohnson/moodle
2023-11-02 09:05:53 +07:00
Jun Pataleta
ab08ac740c
MDL-79062 gradereport_grader: Remove setting of tabindex >= 1
...
Tab indices that are greater than or equal to 1 break the natural
tab order of the document and may cause problems for keyboard users.
2023-11-02 09:50:00 +08:00
viettruongq
2375b00a08
MDL-70760 admin: Limited length config setting validate client-side
2023-11-01 22:02:58 +07:00
Alexander Van der Bellen
cf021d12c5
MDL-78650 mod_assign: Improve group submission action event handling
...
Don't return an event action when a group submission has already been submitted
by another student.
2023-11-01 20:24:24 +08:00
Alexander Van der Bellen
e77df62887
MDL-78650 mod_assign: Add Behat test
2023-11-01 20:24:24 +08:00
Ilya Tregubov
884efcabd2
Merge branch 'MDL-79337_master' of https://github.com/t-schroeder/moodle
2023-11-01 13:50:33 +08:00
Huong Nguyen
37b7726fce
Merge branch 'MDL-79619_master' of https://github.com/marxjohnson/moodle
2023-11-01 09:19:51 +07:00
Huong Nguyen
bef72e927b
Merge branch 'MDL-79618_master' of https://github.com/marcusgreen/moodle
2023-11-01 09:15:24 +07:00
Daniel Neis Araujo
3632537b5b
MDL-73378 gradebook: Category grade null when all subgrades are null
2023-10-31 13:54:04 -03:00
Tim Schroeder
b6759e1986
MDL-79337 theme: removed unnecessary setuserpref
2023-10-31 16:58:24 +01:00
Sara Arjona
7eb48b8368
Merge branch 'MDL-79856' of https://github.com/paulholden/moodle
2023-10-31 13:26:22 +01:00
Sara Arjona
78300ba8e3
Merge branch 'MDL-79849-master' of https://github.com/jleyva/moodle
2023-10-31 13:08:10 +01:00
Bruno Baudry
56bee4757c
MDL-79606 admin: removed unused strings
...
In MDL-19430 the function that used 'mycoursesperpage' and
'configmycoursesperpage' strings was removed, so they can
be removed too.
2023-10-31 12:54:31 +01:00
Sara Arjona
70d0295880
Merge branch 'MDL-401-master_brief_name' of https://github.com/oliviervalentin/moodle
2023-10-31 09:59:58 +01:00
Jun Pataleta
5059461e7a
Merge branch 'MDL-79853-master' of https://github.com/andrewnicols/moodle
2023-10-31 16:46:12 +08:00
Huong Nguyen
ea3a4f296d
Merge branch 'MDL-79735-master' of https://github.com/andrewnicols/moodle
2023-10-31 12:48:43 +08:00
Huong Nguyen
4ee2af64dd
Merge branch 'MDL-79807_master' of https://github.com/marxjohnson/moodle
2023-10-31 12:48:43 +08:00
Huong Nguyen
6d7c78b7f1
Merge branch 'MDL-79460-master' of https://github.com/HuongNV13/moodle
2023-10-31 12:48:42 +08:00
David Woloszyn
4ecea7c09f
MDL-79460 communication_matrix: Re-enabled tests that use new sync route
2023-10-31 09:31:54 +07:00
Jun Pataleta
cf2cae4671
Merge branch 'MDL-77326-master-1' of https://github.com/ilyatregubov/moodle
2023-10-31 10:19:01 +08:00
Ilya Tregubov
02878ebd9c
MDL-77326 gradereport_summary: Fix modinfo.
...
Also deprecate methods properly.
2023-10-31 10:15:06 +08:00
Ilya Tregubov
9df50931e0
MDL-77326 gradereport_summary: Use appropriate icons.
2023-10-31 10:15:06 +08:00
Ilya Tregubov
f44338eda0
MDL-77326 core_grades: Refactor grade report functions.
...
Those should be reusable
2023-10-31 10:15:05 +08:00
Meirza
48608e78cd
MDL-78903 tiny_h5p: show repositories if editor filepicker type set
2023-10-30 23:30:51 +07:00
Meirza
f79e3f450b
MDL-78903 tiny_media: show repositories if editor filepicker type set
2023-10-30 23:30:40 +07:00
Sara Arjona
5f03727ce7
Merge branch 'MDL-43820-master' of https://github.com/ilyatregubov/moodle
2023-10-30 10:24:10 +01:00
Jun Pataleta
f50d6f1902
Merge branch 'MDL-77274-master' of https://github.com/laurentdavid/moodle
2023-10-30 17:14:59 +08:00
Jun Pataleta
294e3ae41a
Merge branch 'MDL-79800-master' of https://github.com/roland04/moodle
2023-10-30 16:40:20 +08:00
Laurent David
bef0cb7a34
MDL-77274 core_renderer: Respect full name format in letter avatars
...
* Make sure that we respect the fullnamedisplay and alternativefullnameformat
parameters to decide on the initials for a given user
* Add further tests
Co-authored-by: Tatsunori Uchino <tats.u@live.jp >
2023-10-30 06:14:18 +01:00
Huong Nguyen
8bb3f25c4f
Merge branch 'MDL-79639_master' of https://github.com/marxjohnson/moodle
2023-10-30 11:22:09 +07:00
Jun Pataleta
c011fc194d
Merge branch 'MDL-79200' of https://github.com/paulholden/moodle
2023-10-27 23:42:07 +08:00
Jun Pataleta
e6ea75570d
Merge branch 'MDL-78285-master' of https://github.com/sarjona/moodle
2023-10-27 23:39:16 +08:00
Jun Pataleta
a634f92b4d
Merge branch 'MDL-77804-master' of https://github.com/roland04/moodle
2023-10-27 23:37:00 +08:00
Jun Pataleta
c5b11f6eb4
Merge branch 'MDL-79194-master' of https://github.com/laurentdavid/moodle
2023-10-27 23:34:07 +08:00
Marcus Green
ebe2c3c5cc
MDL-79618 block_timeline: Set web services to read-only
...
Set the web service functions core_calendar_get_action_events_by_timesort
and core_calendar_get_action_events_by_timesort to use read only
sessions. These functions can hold long session locks
and read-only sessions will prevent them blocking other requests.
2023-10-27 12:59:34 +01:00
Mark Johnson
f3fc03e90c
MDL-79615 course: Improve efficency of cache rebuilds
...
When bulk-updating course module visibility, set_coursemodule_visibily
was triggering a partial cache purge and rebuild for each course module.
This potentially led to 2 cache sets each requiring a lock to be
acquired and released per course module, plus any other cache updates
for other changes to the course in the same request.
This adds a new $rebuildcache paramter to the
set_coursemodule_visibilty, which is true by default to retain the
existing behaviour. If set false, it will skip doing the partial purge
and rebuild for that course module, and it is up to the calling code to
ensure the cache is updated as requried.
To assist with this, there is a new
course_modinfo::purge_course_module_cache_multiple() method, which
allows multiple course modules to be purged from the cache in a single
cache set.
2023-10-27 10:50:40 +01:00
Ilya Tregubov
70546d9c1d
Merge branch 'MDL-79693' of https://github.com/paulholden/moodle
2023-10-27 16:45:10 +08:00
Jun Pataleta
8709691624
Merge branch 'MDL-77364-master' of https://github.com/sarjona/moodle
2023-10-27 16:34:04 +08:00
Mark Johnson
27edba5d10
MDL-79619 core_message: Set instant messaging web service read-only
...
Set the web service function core_message_send_instant_messages to use
read-only sessions. This function can take a few seconds to process if
it is sending messages to lots of users, and setting it to use read-only
sessions will prevent it from blocking other requests.
2023-10-27 09:23:06 +01:00
Sara Arjona
a5d6a73778
MDL-78285 resource: Reintroduce file icon
...
The new activity card design, planned for Moodle 4.3, reintroduces
the resource MIME icon that was removed in Moodle 4.0.
2023-10-27 09:44:00 +02:00
Sara Arjona
ee59693beb
MDL-77364 myoverview: Display course name tooltip
...
Based on the feedback given by the UX team:
- The text has been increased to display more (50 vs 55).
- A tooltip has been added to display the full course name on hover,
following the accessibility guidelines.
2023-10-27 07:23:53 +02:00
Jun Pataleta
859df15e73
weekly release 4.4dev
2023-10-27 09:43:01 +08:00
Jun Pataleta
e6fd239a93
NOBUG: Fixed SVG browser compatibility
2023-10-27 09:42:59 +08:00
Jun Pataleta
60659913c6
Merge branch 'MDL-79768-master-fix' of https://github.com/andelacruz/moodle
2023-10-26 23:06:03 +08:00
Mark Johnson
4552591eaa
MDL-79807 quiz_statistics: Clear stats cache when question added/removed
2023-10-26 13:45:14 +01:00
Paul Holden
9e50ae8276
MDL-79858 block_myoverview: correctly export request course button.
2023-10-26 13:33:55 +01:00
Paul Holden
78b841dcd2
MDL-79781 course: detect invalid creator role for pending courses.
2023-10-26 13:16:22 +01:00
Paul Holden
296923845f
MDL-79856 roles: use role localname when confirming deletion.
2023-10-26 11:56:26 +01:00
Angelia Dela Cruz
261a39d8e2
MDL-79768 fix: Fixed random failing Behat due to time difference
2023-10-26 18:09:16 +08:00
Ferran Recio
3cb49765a4
MDL-79194 core_courseformat: optimize section reload
...
* When reloading a section, we also forced the reloading of
course modules, resulting in doing the same work twice (once for
the section reload and once for the course module reload)
* Debounce the reloading process so prevent unwanted duplicate
reloads
2023-10-26 11:03:52 +02:00
Laurent David
bbd992dcb6
MDL-79194 core_course: Refresh modules menus with section changes
...
* Whenever a section is hidden, we need to refresh all contextual (hamburger)
menus of each course modules.
2023-10-26 11:03:52 +02:00
Andrew Nicols
a03b0d8927
MDL-79853 core: Add phpunit options to manual runs
2023-10-26 14:48:17 +08:00
Ilya Tregubov
93b2db25ba
MDL-43820 enrol_cohort: Override find_instance
...
For cohort enrol method we can have multiple instances. We can match
those by cohort idnumber and role provided.
Also adding some extra validation and update tests.
2023-10-26 14:27:06 +08:00
Ilya Tregubov
b70c7b141f
MDL-43820 enrol_self: Override find_instance
...
This one is bit tricky. find_instance will find first available since
results are not unique...
2023-10-26 14:27:05 +08:00
Ilya Tregubov
200886f8a6
MDL-43820 enrol_manual: Override find_instance
...
For manual enrol method there can be just one instance.
So we can just match by type
2023-10-26 14:27:04 +08:00
Ilya Tregubov
3ea15bcef1
MDL-43820 enrol_guest: Override find_instance
...
For guest enrol method there can be just one instance.
So we can just match by type
2023-10-26 14:27:03 +08:00
Ilya Tregubov
bf7ff76bcd
MDL-43820 enrol: Add method to find plugin enrol instance
...
When upload courses we need to match instance with provided data.
2023-10-26 14:27:02 +08:00
Jun Pataleta
0b2c6009e4
Merge branch 'MDL-67987-master' of https://github.com/rmady/moodle
2023-10-26 10:58:32 +08:00
Jun Pataleta
f84ec259a7
Merge branch 'MDL-79768-master' of https://github.com/andelacruz/moodle
2023-10-26 10:48:25 +08:00
Jun Pataleta
759ea1e49d
Merge branch 'MDL-42189-master' of https://github.com/davewoloszyn/moodle
2023-10-26 10:32:18 +08:00
Paul Holden
fa3aeb2ef8
MDL-79762 javascript: correct upgrade note fix version.
2023-10-25 23:57:30 +01:00
Paul Holden
5036ebd7d1
Merge branch 'MDL-79762-master' of https://github.com/kabalin/moodle
2023-10-25 23:55:52 +01:00
Juan Leyva
cf413635d8
MDL-79849 tool_mobile: Add search disabled features
2023-10-25 17:28:53 +02:00
Ruslan Kabalin
afe7f76e14
MDL-79762 core: Add possibility to define modal type for modalform
...
If `moduleName` param is passed in config object for modalform, it will be
used to instantiate modal class, otherwise 'core/modal_save_cancel' is
used.
Co-authored-by: Marina Glancy <marina@moodle.com >
2023-10-25 15:56:33 +01:00
Mohamed Shehata
5d4f7ab46e
MDL-78335 completion: standarize date format based on language
2023-10-25 16:44:01 +03:00
Alexander Van der Bellen
0db9a0d5a1
MDL-78650 mod_assign: Add unit test
2023-10-25 16:45:34 +08:00
Paul Holden
212d668c7a
MDL-79840 contentbank: fix references to invalid icon images.
2023-10-25 08:44:30 +01:00
Jun Pataleta
f78f1c550a
Merge branch 'MDL-79346' of https://github.com/paulholden/moodle
2023-10-25 13:47:00 +08:00
Jun Pataleta
7a38bf77df
Merge branch 'MDL-75572-master' of https://github.com/sarjona/moodle
2023-10-25 13:44:44 +08:00
Sara Arjona
95e50b59ea
MDL-75572 criteria: Only award badges to sucessfull completions
...
The UX team confirmed a badge shouldn't be awarded when the criteria
use a passing grade and the user gets a failing grade.
So the COMPLETION_COMPLETE_FAIL status won't be considered
completed for activities with completion that require a passing
grade.
2023-10-25 07:08:03 +02:00
Ilya Tregubov
db5bb3e7f6
Merge branch 'MDL-79637-master-fix' of https://github.com/junpataleta/moodle
2023-10-25 09:43:47 +08:00
Jun Pataleta
fdbc37c813
Merge branch 'MDL-79782-master' of https://github.com/roland04/moodle
2023-10-24 22:47:54 +08:00
Jun Pataleta
6dc8d74ac5
MDL-79637 core: Fix mistyped and replacement
2023-10-24 21:49:27 +08:00
Jun Pataleta
4cf1da1073
Merge branch 'MDL-79767' of https://github.com/paulholden/moodle
2023-10-24 16:23:26 +08:00
Jun Pataleta
73267a7848
Merge branch 'MDL-79637-master' of https://github.com/andrewnicols/moodle
2023-10-24 10:48:43 +08:00
Paul Holden
9790527f26
MDL-79827 tiny_link: show repositories only if editor filepicker set.
2023-10-23 21:58:59 +01:00
Mark Johnson
9af16bf2bd
MDL-79617 repository_upload: Close session early in upload process
2023-10-23 15:31:48 +01:00
Angelia Dela Cruz
46f31447f2
MDL-79768 mod_data: Test for student can see upcoming data activity
2023-10-23 08:52:19 +08:00
David Woloszyn
b3b45e31cd
MDL-42189 gradereport_overview: Report hidden from suspended enrolments
2023-10-23 09:45:27 +11:00
Paul Holden
2c296861bc
MDL-79801 tag: fix report entity flagged column/filter query.
...
The "flag" field isn't a boolean state (1/0), it's a cumulative
count of how many times the tag has been flagged by users. This
should be accounted for to ensure that column aggregation and
filtering performs correctly.
2023-10-20 14:19:36 +01:00
Mikel Martín
79431c7f3a
MDL-79800 courseformat: Fix activity cards right elements margins
...
- Fix margins in elements displayed in the right side of activity cards.
Replace right margins with left margins to avoid extra space when editing
mode is off and action menu is not displayed.
- Fix groupmode icon spacing when displayed in small resolutions with edit
mode disabled
2023-10-20 15:14:19 +02:00
Paul Holden
72e0fcb156
MDL-79200 files: mimetype filter, plus icon column in report entity.
2023-10-20 13:52:37 +01:00
Paul Holden
259b8f2f97
MDL-79200 theme_boost: styling for medium size icon elements.
2023-10-20 13:52:37 +01:00
Sara Arjona
d76e211be6
weekly release 4.4dev
2023-10-20 12:16:08 +02:00
Sara Arjona
a10708f37e
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2023-10-20 12:16:04 +02:00
Huong Nguyen
13f1247bc0
Merge branch 'MDL-78775-master' of https://github.com/ilyatregubov/moodle
2023-10-20 09:29:15 +07:00
Ilya Tregubov
ff4f9bf9a2
MDL-78775 gradereport_grade: Fix Behat.
...
Sort by lastname before doing any assertions.
2023-10-20 09:55:20 +08:00
Mikel Martín
3d8dec19f7
MDL-79782 pix: Replace angles- SVGs with Free versions
2023-10-19 15:42:50 +02:00
Paul Holden
5b50a15a9d
MDL-79783 theme_boost: remove form-check padding inside table cells.
2023-10-19 14:09:57 +01:00
Mark Johnson
58c0f91375
MDL-79639 quiz_statistics: Prevent database deadlocks
...
This changes the cache purge code to select IDs for deletion
first, rather than using a subquery in a DELETE, since this
risks causing a deadlock in MySQL.
2023-10-19 08:59:07 +01:00
Huong Nguyen
c71df58802
Merge branch 'MDL-79689-master' of https://github.com/andelacruz/moodle
2023-10-19 10:02:45 +07:00
Paul Holden
39c7a685b1
MDL-79767 communication: correct arguments when loading instance.
2023-10-18 22:37:03 +01:00
Sara Arjona
298d136e98
Merge branch 'MDL-79635' of https://github.com/paulholden/moodle
2023-10-18 19:55:42 +02:00
Sara Arjona
a8f4a57fc2
Merge branch 'MDL-77651-master' of https://github.com/junpataleta/moodle
2023-10-18 15:47:05 +02:00
Sara Arjona
54b5902f1c
Merge branch 'MDL-79747' of https://github.com/timhunt/moodle
2023-10-18 10:28:52 +02:00
Huong Nguyen
2f147dcd30
Merge branch 'MDL-78775-master' of https://github.com/ilyatregubov/moodle
2023-10-18 12:55:22 +07:00
Ilya Tregubov
cb2cf0602d
MDL-78775 core_grades: Fix Behat
2023-10-18 12:54:28 +08:00
Huong Nguyen
0b9e0e1b1a
Merge branch 'MDL-79705' of https://github.com/paulholden/moodle
2023-10-18 09:35:45 +07:00
Huong Nguyen
96c8642ed8
Merge branch 'MDL-78979' of https://github.com/paulholden/moodle
2023-10-18 09:22:58 +07:00
AMOS bot
a61532759d
Automatically generated installer lang files
2023-10-18 00:11:13 +00:00
Rodrigo Mady
bdbe9e2dc1
MDL-67987 core: Deprecate unused password recovery strings
2023-10-17 20:20:22 -03:00
Paul Holden
da6ef4ac1d
MDL-79705 reportbuilder: remove checkbox field callback handling.
...
We no longer need special handling of this field type, because it
now returns language strings rather than HTML markup for a checkbox
element on display.
2023-10-17 16:51:26 +01:00
Paul Holden
cb32f17584
MDL-79705 profilefield_checkbox: display data as simple Yes/No.
2023-10-17 16:51:26 +01:00
Jun Pataleta
7ad1f922f3
MDL-77651 calendar: Hide left/right arrow characters
...
* Hide the arrow characters for the calendar templates so they won't be
read out by screen readers and avoid confusion for screen reader users.
2023-10-17 23:51:24 +08:00
Jun Pataleta
1310401056
MDL-77651 core: Hide left/right arrow characters for link_arrow_xx()
...
* The arrow characters in link_arrow_right() and link_arrow_left()
functions get announced by screen readers. This causes confusion
and is unnecessary.
2023-10-17 23:51:23 +08:00
Tim Hunt
ec0c4e18ad
MDL-79747 quiz stats: task should run as admin the right way
...
The correct way to get an ad-hoc task to run as the main admin account
is to leave userid as null.
Setting it causes fatal errors if the main admin account is set to
auth: nologin.
2023-10-17 16:38:44 +01:00
Sara Arjona
cc02c2eae3
Merge branch 'MDL-78481-master' of https://github.com/iarenaza/moodle
2023-10-17 17:15:09 +02:00
Paul Holden
5bec400483
MDL-79693 output: remove embedded toast region from clipboard modal.
...
This was causing the toast notification upon the clipboard action
result to immediately disappear as the modal was closed. The toast
module can happily handle this for us itself, so remove from the
template.
2023-10-17 08:20:54 +01:00
Andrew Nicols
06965b823e
MDL-79739 core: Only run some tests in separate processes
2023-10-17 12:18:37 +08:00
Huong Nguyen
b3f32d6ad7
Merge branch 'MDL-78775-master' of https://github.com/ilyatregubov/moodle
2023-10-17 10:46:25 +07:00
Ilya Tregubov
f51b23bdec
Merge branch 'MDL-79691-master' of https://github.com/andelacruz/moodle
2023-10-17 10:28:07 +08:00
Huong Nguyen
347e53c07b
Merge branch 'MDL-79367-master' of https://github.com/sarjona/moodle
2023-10-17 09:17:30 +07:00
Angelia Dela Cruz
90fff90a68
MDL-79689 mod_assign: Behat for enabling anonymous submissions
2023-10-17 09:54:18 +08:00
Andrew Nicols
0e05d93d3a
MDL-79735 core: Drop PHP 7 support for component_callback
2023-10-17 09:48:48 +08:00
Paul Holden
944e158d35
MDL-78979 mod_data: correct restore decode rule for data view page.
2023-10-16 20:52:19 +01:00
Angelia Dela Cruz
2888997710
MDL-79691 mod_h5pactivity: Behat coverage for H5P activity grades reset
2023-10-16 16:45:47 +08:00
Sara Arjona
8556acde4c
Merge branch 'MDL-79566-master' of https://github.com/HuongNV13/moodle
2023-10-16 09:53:42 +02:00
Ilya Tregubov
cdd95d883f
Merge branch 'MDL-79365' of https://github.com/paulholden/moodle
2023-10-16 14:07:32 +08:00
Sara Arjona
9ced468959
MDL-79367 availability: Fail grade does not mark activities as completed
...
The UX team confirmed that an activity shouldn't be considered completed
when the criteria use a passing grade and the user gets a failing grade.
So the COMPLETION_COMPLETE_FAIL status won't be considered
completed from now on.
2023-10-16 07:51:27 +02:00
Huong Nguyen
5209baef9e
Merge branch 'MDL-79698-master' of https://github.com/andrewnicols/moodle
2023-10-16 11:39:39 +07:00
Huong Nguyen
7d55464846
Merge branch 'MDL-79653-master' of https://github.com/andelacruz/moodle
2023-10-16 10:54:15 +07:00
Huong Nguyen
29ca85b924
Merge branch 'MDL-79352' of https://github.com/paulholden/moodle
2023-10-16 10:41:04 +07:00
Huong Nguyen
bacd506fdf
MDL-79566 tiny_autosave: Add Javascript submission handler
2023-10-16 09:29:10 +07:00
Paul Holden
bfbee3a279
MDL-79365 customfield_textarea: ensure field uniqueness is correct.
2023-10-13 14:29:57 +01:00
Andrew Nicols
37092a6485
MDL-79693 core: Move toast regions to document on modal close
2023-10-13 14:16:52 +01:00
Paul Holden
934a851705
MDL-79346 cohort: add "visible" filter/condition to report source.
...
Add to report as part of default setup.
2023-10-13 10:52:22 +01:00
Andrew Nicols
9942c14856
MDL-79698 core: Correct duplicate array key in test provider
2023-10-13 15:43:47 +08:00
Ilya Tregubov
9048eb1e53
MDL-78775 core_grades: Fix saving on grader report page
...
When we have a pagination on grader page and search for user
that is not on first page, saving was throwing an error
since page didn't have enough data
2023-10-13 14:08:31 +08:00
Ilya Tregubov
23b86254d3
weekly on-sync release 4.4dev
2023-10-13 13:40:31 +08:00
Angelia Dela Cruz
2f728f2c0f
MDL-79653 gradingform_guide: Behat coverage for deleting marking guide
2023-10-13 10:31:38 +08:00
Huong Nguyen
c3e2142af6
Merge branch 'MDL-79638-master' of https://github.com/andrewnicols/moodle
2023-10-12 11:06:39 +07:00
Ilya Tregubov
1a884ac0f1
Merge branch 'MDL-79160-master' of https://github.com/danghieu1407/moodle
2023-10-12 09:43:16 +08:00
Ilya Tregubov
a996991f80
Merge branch 'MDL-79422-master' of https://github.com/andrewnicols/moodle
2023-10-12 09:09:09 +08:00
Ilya Tregubov
4941a8d50f
Merge branch 'MDL-79562-master' of https://github.com/lameze/moodle
2023-10-12 09:06:05 +08:00
Simey Lameze
5ea4bbe1b9
MDL-79562 behat: make verification step more specific
2023-10-12 08:12:59 +08:00
Paul Holden
e19c4e89d1
MDL-79446 reportbuilder: optional $suffix for generated alias/params.
...
Allows for, and documents, intended usage when the result of these
methods is used elsewhere (e.g. in `$DB->get_in_or_equal`).
2023-10-11 15:10:39 +01:00
Jun Pataleta
fe671e36ae
Merge branch 'MDL-79611' of https://github.com/paulholden/moodle
2023-10-11 18:16:29 +08:00
Jun Pataleta
52e614ebda
Merge branch 'MDL-79633' of https://github.com/paulholden/moodle
2023-10-11 13:40:43 +08:00
Huong Nguyen
765e24d907
Merge branch 'MDL-78103-master' of https://github.com/HuongNV13/moodle
2023-10-11 11:24:18 +07:00
chen levy
370b349aa3
MDL-78103 theme: Fixed dropdown menu size by the content
2023-10-11 11:07:32 +07:00
Jun Pataleta
7fed0da5a3
Merge branch 'MDL-79614-master' of https://github.com/safatshahin/moodle
2023-10-11 11:04:09 +08:00
Andrew Nicols
49fc711a07
MDL-79637 testing: Update for current coding standards
2023-10-11 09:39:53 +08:00
Andrew Nicols
99a6cd12b2
MDL-79637 phpunit: Do not reset DB during init of isolated tests
...
During the bootstrap of PHPUnit we ensure that the database has been
reset to its initial state.
We do this by checking the internally-stored DB write count between
runs. If the count is not yet set (null), or it has been increased, we
force a reset.
When running an isolated test the test runner resets the database, it
then sets up a new isolated test environment by writing a new PHPUnit
test case and passing it to a new PHP Process using standard in. As part
of this, the bootstrap is run for that process.
Because we are in a new process, the db write count is fresh and not yet
set. This has been leading to an additional db reset before the isolated
test.
To handle this we want to _not_ perform a reset during the
initialisation for isolated runs. We know that the DB is in a fresh
state before we start the run.
To support this we need to know whether the test is an isolated test
during the bootstrap, which means we cannot use the previous approach to
calculating this.
Instead we look at the PHP_SELF value. PHP sets this to "Standard input
code" when run from stdin, instead of running a file.
There should not be any other legitimate reason to run a PHPUnit
bootstrap via this stdin approach.
Unfortunately this approach is a little bit risky as it depends on the
presence of a specific string, however this string has been in place
since 2016, and there is no legitimate way of calculating this.
I did consider looking at whether the called script included `/vendor/`
and `/phpunit`, but this is also likely a risky approach if someone
calls PHPUnit in an unexpected way.
This approach is itself unit tested so any change to PHP's stdin string
before we deprecate this approach entirely in 12 months time will be
caught.
2023-10-11 09:29:26 +08:00
Paul Holden
9117e62a4d
Merge branch 'MDL-79642-q_tags_off' of https://github.com/leonstr/moodle
2023-10-10 21:18:53 +01:00
Andrew Nicols
e6b32722ac
MDL-79638 phpunit: Add unit test for increment resets
2023-10-11 00:10:33 +08:00
Andrew Nicols
9741db47f7
MDL-79638 phpunit: Remove mysql/mariadb hack
...
This hack was introduced to work around a bug in MySQL 5.6.14 and
MariaDB at the time.
https://bugs.mysql.com/bug.php?id=69882
It was addressed a few months later in 5.6.16, and 5.7.4.
MariaDB merged version 5.6.16 of MySQL's InnoDB engine in MariaDB
10.0.11 and got hte patch from there.
Moodle has required MySQL 8.0, and MariaDB 10.6.7 since Moodle 4.2 and
it is therefore safe to remove these hacks.
2023-10-10 23:35:26 +08:00
Sara Arjona
512bc8d126
Merge branch 'MDL-79623-master' of https://github.com/PhMemmel/moodle
2023-10-10 16:19:14 +02:00
Mikel Martín
c5ee19b29c
MDL-77804 reportbuilder: Improve horizontal filter forms UI
...
- Separate Inline forms styles in a different section and improve them
- Re-organize the styles and comments to improve readability and mantainability
- Make defined variables overridable
2023-10-10 15:15:13 +02:00
Sara Arjona
7b83434dbf
Merge branch 'MDL-79626-master' of https://github.com/junpataleta/moodle
2023-10-10 15:13:02 +02:00
Sara Arjona
0b8668c793
Merge branch 'MDL-79625-master' of https://github.com/junpataleta/moodle
2023-10-10 13:29:56 +02:00
Leon Stringer
35c7163184
MDL-79642 qbank_tagquestion: Fix Return type err
...
Previously if $CFG->usetags was not enabled the course question bank
page would show:
Exception - qbank_tagquestion\plugin_feature::get_question_filters():
Return value must be of type array, none returned
This is now fixed.
2023-10-10 12:14:34 +01:00
Paul Holden
be8f3f2788
MDL-79635 group: ensure unique params used to determine visibility.
...
Or we'll trigger DML "Incorrect number of query parameters" exception.
2023-10-10 10:06:06 +01:00
Sara Arjona
c43017e1f9
Merge branch 'MDL-77816' of https://github.com/paulholden/moodle
2023-10-10 09:21:21 +02:00
Ilya Tregubov
1a34928531
Merge branch 'MDL-79501-master' of https://github.com/geichelberger/moodle
2023-10-10 15:05:32 +08:00
Ilya Tregubov
d79e8052fb
Merge branch 'MDL-79279' of https://github.com/timhunt/moodle
2023-10-10 11:19:27 +08:00
Jun Pataleta
9beff03a96
MDL-79626 upgrade: add the 4.3.0 separation line to all upgrade scripts
2023-10-10 10:44:17 +08:00
Ilya Tregubov
f54071f922
Merge branch 'MDL-71414-master' of https://github.com/laurentdavid/moodle
2023-10-10 10:09:05 +08:00
Jun Pataleta
ecde0bb902
MDL-79625 backup: Bump release to 4.3
2023-10-10 10:06:51 +08:00
Paul Holden
2a07f77406
MDL-79633 mod_data: correct timemodified tag replacement attribute.
2023-10-09 19:26:10 +01:00
Paul Holden
3893c99825
MDL-79352 admin: fix links to tool plugin management page.
2023-10-09 15:11:11 +01:00
Paul Holden
dc01be8c54
MDL-79611 group: early exit getting members of non-existing group.
2023-10-09 15:00:14 +01:00
Paul Holden
4df9222f51
MDL-77816 mod_bigbluebuttonbn: feedback when validating completion.
2023-10-09 14:58:03 +01:00
Yannick Schillinger
cad2aedf59
MDL-77816 mod_bigbluebuttonbn: Fix completionValidate argument format
2023-10-09 14:58:03 +01:00
Laurent David
753909325d
MDL-71414 mod_h5pactivity: Add a new "None" message
...
* In matching types of questions, sometimes the user does not answer all
questions. We now display "None" in the result report. The answer can
be either correct or incorrect.
* Fix "unknown" answer constant name.
2023-10-09 11:44:30 +02:00
Laurent David
830b19649e
MDL-71414 mod_h5pactivity: Fix issue with drop down report
...
* Drag and Drop report were missing answers when target could be dropped on multiple
drop zones.
2023-10-09 11:44:29 +02:00
Jun Pataleta
769c67045f
weekly back-to-dev release 4.4dev
2023-10-07 12:00:36 +08:00
Philipp Memmel
8c8a11939b
MDL-79623 tool_componentlibrary: Fix correct modal content attribute
2023-10-06 13:15:36 +00:00
Safat
f3dba5b195
MDL-79614 communication_matrix: Add missing call for sync flag
2023-10-06 17:46:08 +11:00
oliviervalentin
634d1a3dcd
MDL-79510 report_configlog : implement filtering by plugin.
2023-09-28 16:28:54 +02:00
Luca Bösch
8cfb805e3c
MDL-68674 theme: Have block headers have h3 class="h5".
2023-08-12 07:27:57 +02:00
Iñaki Arenaza
ca93d7eccc
MDL-78481 mod_lesson: matching pagetype applying filters fix
2023-07-31 16:22:30 +02:00