9586 Commits

Author SHA1 Message Date
Sara Arjona
40d2b4de39
Merge branch 'MDL-76441_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE 2024-02-21 17:50:08 +01:00
Jun Pataleta
6df3213c9b
Merge branch 'MDL-79003-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2024-02-21 10:35:31 +08:00
Eloy Lafuente (stronk7)
05a41b6e32
MDL-76441 env: Moodle 4.2.x and 4.3.x do not support PHP 8.3 2024-02-10 12:15:11 +01:00
Huong Nguyen
44f8c11123 Merge branch 'MDL-80512-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2024-02-07 13:32:01 +07:00
Jun Pataleta
e5b9510af2
Merge branch 'MDL-75081-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2024-02-07 10:38:03 +08:00
Paul Holden
e36e40f530
MDL-75081 behat: define new heading named selector.
Co-authored-by: Jun Pataleta <jun@moodle.com>
2024-02-07 09:06:40 +08:00
Paul Holden
c7fde934c7 MDL-54749 tool_langimport: require sesskey to update lang packs. 2024-02-06 16:00:21 +01:00
Ruslan Kabalin
80691cf5a3
MDL-79003 eslint: Enable 'reportUnusedDisableDirectives' eslint setting
This commit is a backport of MDL-74301 which should have been backported
at the time.

This will warn on unused /* eslint-disable */ statements.
2024-01-30 14:04:38 +08:00
Paul Holden
603c794190
MDL-80512 tool_task: absolute path to required library file. 2024-01-23 09:27:09 +00:00
Jun Pataleta
b30033c6c0
Merge branch 'MDL-79029-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE 2024-01-23 09:21:26 +08:00
Ferran Recio
5661849a02 MDL-79029 behat: optimize behat tests
Replace some add activity to section steps to the new
add activity to course section so they are faster and do
not require javascript.
2024-01-22 11:23:44 +01:00
Eloy Lafuente (stronk7)
4b8a001bb0
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:32:43 +01:00
sam marshall
607a452a74 MDL-79938 Behat: Add steps to support multiple tabs 2023-12-13 11:45:51 +00:00
Brendan Heywood
628e7ecc4c
MDL-80309 tasks: Clean up mtrace logs 2023-12-07 12:07:45 +08:00
Stevani Andolo
fcebf9b8a6 MDL-80174 tool_log: ensure "other" data is safely unserialized. 2023-12-06 04:00:22 +01:00
Huong Nguyen
4afd2390e2 Merge branch 'MDL-80180-401' of https://github.com/jbs1/moodle into MOODLE_401_STABLE 2023-12-06 09:17:28 +07:00
Sara Arjona
7d01008384
Merge branch 'MDL-79979-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE 2023-12-05 16:16:58 +01:00
Karen Holland
07e0b64822
MDL-73974 tool_brickfield: Processing alpha fontsizes 2023-12-05 23:08:17 +08:00
Jeremy Schulz
a272c2289f
MDL-80180 admin: added readonly support for multicheckbox 2023-11-28 14:36:19 -05:00
Andrew Nicols
2995721139
Merge branch 'MDL-79966-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE 2023-11-23 10:32:05 +08:00
Huong Nguyen
6488fc6a20 Merge branch 'MDL-78496-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-11-23 09:23:46 +07:00
Amaia Anabitarte
b7ebcf7e2c MDL-79979 tool_generator: Use auto-enrol admin in new courses setting 2023-11-21 08:44:05 +01:00
sam marshall
47a38fd827 MDL-79966 core_task: Scheduled task timing (crontab fields) is wrong 2023-11-20 17:08:55 +00:00
Andrew Nicols
6179d2ba24
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-14 23:31:58 +08:00
David Saylor
0a6b4bb15c MDL-75616 backup: Use standard temp directory for extraction 2023-11-13 11:08:33 +11:00
Paul Holden
fc93938f23
MDL-79856 roles: use role localname when confirming deletion. 2023-10-26 12:01:05 +01:00
Philipp Memmel
805577664b MDL-79623 tool_componentlibrary: Fix correct modal content attribute 2023-10-09 09:14:48 +00:00
Huong Nguyen
c15cb5586c
Merge branch 'MDL-79539-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE 2023-10-04 10:56:09 +07:00
Paul Holden
04db4a3e54 MDL-79455 tool_uploadcourse: clean course data fields individually. 2023-10-04 02:10:16 +02:00
Paul Holden
23466dd6d1 MDL-79455 tool_uploadcourse: safe preview of uploaded course data. 2023-10-04 02:10:16 +02:00
Ilya Tregubov
109879a2a1
Merge branch 'MDL-79428-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE 2023-10-03 09:41:21 +08:00
meirzamoodle
c29a812323 MDL-79539 messageinbound: avoiding a null parameter value 2023-10-02 20:51:33 +07:00
Stephan Robotta
f9432283a9 MDL-79428 license: upgrading cc core licenses to version 4.0
The short name of the cc licenses are trailed with a suffix containing
the version number (current 3.0 and 4.0). The old cc* licenses become
the new cc-*-3.0 licenses and are disables, because the new cc*-4.0
licenses are the current ones.

This is a backport of MDL-43195.
2023-09-29 09:39:18 +02:00
Sara Arjona
5299097da9
Merge branch 'MDL-79477-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-28 10:17:47 +02:00
Paul Holden
98381d5ab7
MDL-79477 tool_moodlenet: better handling of network download test.
We can't assume the presense of `Content-Length` header in response
to a HEAD request. Modify test assertion to account for this.
2023-09-26 11:33:09 +01:00
Sara Arjona
54d446ce43
MDL-77708 docs: Update references from docs.moodle.org/dev 2023-09-26 10:57:33 +02:00
Jun Pataleta
6664d3ebe6
MDL-78806 admin: Consistent page title during upgrade and install
* Use the page title separator constant when displaying the page title
during upgrade and installation.
* No need to display the site name during install when because it hasn't
been set at this point.
2023-09-09 08:56:50 +08:00
Jun Pataleta
d7cae15e57
MDL-78806 admin: Display the most unique information in the title first
* Page titles should display the most unique information first. For
admin pages it would be useful to display the information that
is unique to the page first before the broader categories that the
page belongs to.
* Also use the new page title separator constant.
2023-09-09 08:56:50 +08:00
Jun Pataleta
49393a1608
MDL-78806 core: Remove redundant site name
MDL-78806 core: Remove redundant site name on page titles

* With the site name now being appended to the page titles, there
is no need to manually append the page titles.
2023-09-09 08:56:50 +08:00
Jun Pataleta
5c9a0a80fc
MDL-78806 admin: Setting for displaying site name in page title
* A new config setting `sitenameintitle` for displaying the site name
on the page has been created.
2023-09-09 08:56:50 +08:00
Andrew Nicols
b952716548
MDL-79277 tool_mobile: Correct default value for empty param 2023-09-08 22:22:59 +08:00
Andrew Nicols
c9c629dcf7
Merge branch 'MDL-79277-401' of https://github.com/noeldemartin/moodle into MOODLE_401_STABLE 2023-09-08 22:22:59 +08:00
Andrew Nicols
d7834ce7c3
Merge branch 'MDL-79250-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-09-08 22:22:59 +08:00
Noel De Martin
e3bf7ce603 MDL-79277 tool_mobile: Fix warning 2023-09-06 09:08:47 +02:00
Andrew Nicols
ba4393023f
Merge branch 'MDL-79205-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-06 12:52:51 +08:00
Paul Holden
b1abcd1f42
MDL-79205 webservice: gracefully handle invalid functions in docs. 2023-09-05 08:51:56 +01:00
Jun Pataleta
b7087ee353
MDL-79250 admin: Add title to external_content_banner template 2023-09-04 16:54:16 +08:00
Eloy Lafuente (stronk7)
1e3c3ec907
MDL-76459 xmldb: Add environmental check to verify $CFG->prefix
While, right now, sites using long (> 10 chars) $CFG->prefix
can continue working (because we still don't have any table
> 28 chars), as soon as some new table with long name is added,
it won't work with PostgreSQL anymore (if the 63 limit is raised).

Hence, this environmental check will verify on both install and
upgrade that the $CFG->prefix is always <= 10 chars.

Sites with longer prefixes will need to rename all their tables
(and maybe other objects, depending on the dbtype) to use a shorter
prefix.
2023-09-02 09:22:28 +02:00
Ilya Tregubov
432201670d
Merge branch 'MDL-79202-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-09-01 10:30:36 +08:00
Paul Holden
6625276c7f
MDL-79202 tool_mobile: correctly interpolate minutes in exception. 2023-08-30 00:12:27 +01:00