Commit graph

115046 commits

Author SHA1 Message Date
Andrew Nicols
4101dc6dab
MDL-82287 core: Remove long-deprecated methods 2024-06-25 21:30:30 +08:00
Mikel Martín
7b0e95aec0 MDL-81743 mod_feedback: Add manage questions behat feature 2024-06-25 15:02:24 +02:00
Mikel Martín
fdb7f280c4 MDL-81743 mod_feedback: Fix multichoice items separation 2024-06-25 15:02:24 +02:00
Mikel Martín
ae01fe1ba4 MDL-81743 mod_feedback: Improve 'Edit' page UI
- Move styles in css to modules.scss
- Add new styles for questions
- Change Delete action to red colour
- Add "Page break" text to pagebreak elements in edit page
2024-06-25 15:02:20 +02:00
Jun Pataleta
19d16b9249
Merge branch 'MDL-81807-main' of https://github.com/tsmilan/moodle 2024-06-25 19:53:43 +08:00
Sara Arjona
cf7cc40f4b
MDL-81866 course: Fix behat errors after improving reset 2024-06-25 12:59:26 +02:00
Sara Arjona
7402706c59
MDL-81866 course: Improve workflow for reset course
The following changes have been done to improve the reset course:
- Reset course button moved to sticky footer. Select default and
deselect all buttons set as secondary and left at the end of the form
- Adjusted page layout to a standardized format, centering the form for
improving presentation and recolocating the Reset course button away
from the bottom-right corner
- Changed page layout to standard, to display the form centered and
avoid having the Reset course button in the right bottom corner
- Modal added before resetting a course, asking user for confirmation
- Reset course buttons displayed with danger styling, because they
remove information
- All sections are expanded by default
- Default options are selected by default
2024-06-25 12:59:25 +02:00
Meirza
d63aff3f51 MDL-81250 calendar: Use full course name as the course filter
Co-authored-by: Eduardo Domínguez <eduardo.dominguez@uib.es>
2024-06-25 16:35:38 +07:00
Huong Nguyen
c45487051f
Merge branch 'MDL-82277' of https://github.com/paulholden/moodle 2024-06-25 13:53:29 +07:00
Trisha Milan
d0e82b746e MDL-81807 core: Add scheduled task for updating the GeoIP database
This commit includes the following changes:

- Implemented a scheduled task to automate the download and update of the GeoIP database.
- Integrated checksum verification for the downloaded database file.
- Added new configuration settings to enable administrators to enter MaxMind account credentials,
  allowing authenticated access to both free and paid GeoIP database versions from Maxmind.
2024-06-25 15:17:30 +10:00
Huong Nguyen
3b9cc05800
Merge branch 'MDL-81506-main' of https://github.com/davewoloszyn/moodle 2024-06-25 09:50:53 +07:00
Huong Nguyen
0d14b122eb
Merge branch 'MDL-81818-main' of https://github.com/roland04/moodle 2024-06-25 09:26:29 +07:00
Huong Nguyen
5c03f39940
Merge branch 'MDL-82200' of https://github.com/timhunt/moodle 2024-06-25 09:13:25 +07:00
Huong Nguyen
0e87e8cfc9
Merge branch 'MDL-80061-master' of https://github.com/ssj365/moodle 2024-06-25 09:07:05 +07:00
Paul Holden
e8ae5222d6
MDL-82024 format_topics: toggle un/highlight section icon correctly. 2024-06-24 19:40:22 +01:00
Paul Holden
b8fa79c5a7
MDL-82277 mod_h5pactivity: less fragile error Behat step assertion.
Avoids frequent failures related to iframe resizing/timing.
2024-06-24 15:25:54 +01:00
Paul Holden
0105cf126e
MDL-62958 admin: ensure uploaded plugin directory structure present.
Including any empty directories, which would cause validation to
subsequently fail when they were skipped.

Co-authored-by: Leon Stringer <leon.stringer@ntlworld.com>
2024-06-24 12:47:36 +01:00
Eloy Lafuente (stronk7)
ad5fe71868
MDL-82207 phpunit: fix various @covers annotations (take#1)
This fixes various (not all) wrong @covers annotations that
are reported as warnings by PHPUnit when it's run with
code-coverage enabled.

When possible, the preferred solution is to change to
@covers at class level, that is the recommended way.

If multiple classes are involved, then a mix of @coversDefaultClass
and @covers at method level are used (always trying to use the
minimum needed patch).

This is the first of a series of issues created as sub-tasks
of MDL-82142.
2024-06-24 12:07:39 +02:00
Huong Nguyen
d67e9c86a0
Merge branch 'MDL-79718-main-fix' of https://github.com/junpataleta/moodle 2024-06-24 16:28:31 +07:00
Jun Pataleta
5e976886c7
MDL-79718 mod_quiz: Remove unnecessary semicolon in SQL statement 2024-06-24 17:12:47 +08:00
Andrew Nicols
585b060462
MDL-82183 core: Do not load subsystem db/legacyclasses.php
Subsystems do not support the notion of a `db` folder. Instead we must
conflate the lib/db/legacyclasses.php syntax to allow it to support
paths as either a string, or an array with [subsystem, path].
2024-06-24 14:43:47 +08:00
Jun Pataleta
cfb2cce128
Merge branch 'MDL-79718-main' of https://github.com/davewoloszyn/moodle 2024-06-24 11:03:10 +08:00
Huong Nguyen
7abffe7935
MDL-79809 environment: Moodle 4.5 requirements 2024-06-24 09:37:08 +07:00
David Woloszyn
ee8a16eccf MDL-79718 mod_quiz: Send notifications for approaching open dates 2024-06-24 10:53:48 +10:00
Michael Milette
27a6dbeeb6 MDL-67554 oauth2: New filtered language tags for additional parameters.
This adds support for new language tags in OAuth2's
"Additional Parameters Included in a Login Request"
field. Available tags include:

Tags            Example value
-----------------------------
{lang}          fr
{LANG}          FR
{language}      fr_ca
{LANGUAGE}      FR_CA
{lan-guage}     fr-ca
{LAN-GUAGE}     FR-CA
2024-06-23 16:30:07 -04:00
AMOS bot
a370ce73ae Automatically generated installer lang files 2024-06-22 00:14:12 +00:00
Daniel Ziegenberg
047bd74c8b
MDL-74843 tasks: Deprecation \core\task\manager::ensure_adhoc_task_qos
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-06-21 16:41:21 +02:00
Martin Gauk
fe9616edcd MDL-80345 core_lock: deal with hash collisions in postgres_lock_factory 2024-06-21 13:44:33 +02:00
Daniel Ziegenberg
f69b0e189c
MDL-31192 core_webservice: do not render div inside span
`<span>` tags only permit "phrasing content" but `<div>` (and also the
`<ins>` tag) are flow content. So, switching to div all along.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-06-21 13:09:28 +02:00
Daniel Ziegenberg
8a4e52765a
MDL-75022 backup: Final deprecation of core_backup\copy
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-06-21 13:08:14 +02:00
ferranrecio
f166b15b28 MDL-81769 core_courseformat: prevent delegated section modules actions 2024-06-21 12:41:09 +02:00
Mikel Martín
3b419c4540 MDL-82160 renderer: Add render_context_header method to core_renderer
In MDL-81597 the original render_context_header method was removed and converted to a template.
That caused a regression, so this patch adds the method again but using the new template.
2024-06-21 11:54:52 +02:00
Luca Bösch
b01fea1afa MDL-82008 backup: Format 'Continue' and 'Cancel' button to have a margin 2024-06-21 09:37:01 +02:00
Sara Arjona
062acb0529
MDL-82233 badges: Display awarded users only when it applies
The message with the number of uses who have awarded a badge
were displayed always (even when the badge was disabled).
2024-06-21 06:56:03 +02:00
tai.letan
0208b9cae2 MDL-81111 tiny_recordrtc: add 'Pause' button for recording A/V 2024-06-21 09:22:17 +07:00
Matt Porritt
c6e0b0f346 MDL-82141 Administration: Use toggle for Plugin Management Table
Replace the "eye" icon for enabling and disabling plugins in tables
that use the Plugin Management Table (plugin_management_table) class
with the Font Awesome "toggle" icon.
2024-06-21 12:18:55 +10:00
Andrew Nicols
e138e03b2f
MDL-81960 core: Move moodle_url to \core\url 2024-06-20 23:21:56 +08:00
Andrew Nicols
f0cd6f14af
MDL-81960 core: Migrate \moodle_url to autoloaded file 2024-06-20 23:21:56 +08:00
Sara Arjona
ad7fc69c25
weekly release 4.5dev 2024-06-20 16:30:46 +02:00
Sara Arjona
510e8db405
NOBUG: Add upgrade notes 2024-06-20 16:30:46 +02:00
Sara Arjona
d41187eafd
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2024-06-20 16:30:21 +02:00
Paul Holden
9eab858ea3
MDL-82251 customfield: correct field management icon sizes. 2024-06-20 08:26:49 +01:00
David Woloszyn
9db8d9148c MDL-81506 core: Version bump 2024-06-20 16:41:24 +10:00
David Woloszyn
7b14538f21 MDL-81506 enrol_self: Edit welcome message capability applied 2024-06-20 16:41:24 +10:00
David Woloszyn
49fa7785dd MDL-81506 enrol_manual: Edit welcome message capability applied 2024-06-20 16:41:24 +10:00
David Woloszyn
d43da95ed6 MDL-81506 core_enrol: New capability to edit the welcome message 2024-06-20 15:23:04 +10:00
David Woloszyn
f90116e1c7 MDL-79231 core_theme: Fix Tiny menu in fullscreen mode modals 2024-06-20 14:31:03 +10:00
Huong Nguyen
966d5308a5
Merge branch 'MDL-78773' of https://github.com/paulholden/moodle 2024-06-20 11:06:01 +07:00
Huong Nguyen
ac3ae1b678
Merge branch 'MDL-82224-main' of https://github.com/andrewnicols/moodle 2024-06-20 10:59:56 +07:00
Jun Pataleta
e5be35a15b
Merge branch 'MDL-82246-main' of https://github.com/andrewnicols/moodle 2024-06-20 11:41:54 +08:00