1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-20 23:51:15 +01:00

25147 Commits

Author SHA1 Message Date
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
Ilya Tregubov
1c604c9cb4 Merge branch 'MDL-81190' of https://github.com/paulholden/moodle 2024-03-15 08:41:58 +08:00
Sara Arjona
cc1872b143
Merge branch 'MDL-80479-main' of https://github.com/lameze/moodle 2024-03-14 11:47:48 +01: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
Sara Arjona
05dd0cd384
Merge branch 'MDL-80204-master' of https://github.com/izendegi/moodle 2024-03-13 12:24:41 +01: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
Huong Nguyen
6ebe7d9efb Merge branch 'MDL-76805-main' of https://github.com/lameze/moodle 2024-03-12 10:32:09 +07: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
Andrew Nicols
08fce52dd3
Merge branch 'MDL-72438' of https://github.com/Chocolate-lightning/moodle 2024-03-12 10:36:37 +08:00
Paul Holden
e2de6e4584
MDL-81190 mod_assign: correct context argument to format string. 2024-03-11 16:56:32 +00:00
Sara Arjona
80fe231e74
Merge branch 'MDL-79672' of https://github.com/paulholden/moodle 2024-03-11 17:35:53 +01:00
Mathew May
886d86623e MDL-72438 question: Final deprecations 2024-03-11 13:26:18 +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
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
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
Huong Nguyen
585c3d189c Merge branch 'MDL-80235-main' of https://github.com/aanabit/moodle 2024-03-08 10:39:59 +07:00
Huong Nguyen
7701e6a079 Merge branch 'MDL-78547' of https://github.com/timhunt/moodle 2024-03-08 08:51:57 +07:00
Jun Pataleta
3278ce7aba
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle 2024-03-08 08:00:41 +08: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
Huong Nguyen
b95854758e Merge branch 'MDL-79990-main' of https://github.com/lameze/moodle 2024-03-07 10:04:10 +07: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
cd85552e38 Merge branch 'MDL-80460-main' of https://github.com/sarjona/moodle 2024-03-07 08:41:42 +08:00
Andrew Nicols
44e6d7d9e0
Merge branch 'MDL-79750' of https://github.com/ssj365/moodle 2024-03-06 23:26:45 +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
Shamiso.Jaravaza
586d48f3a5 MDL-79750 mod_bigbluebuttonbn: set SHA256 checksum 2024-03-06 00:50:42 -07: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
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
Amaia Anabitarte
43099744c3 MDL-80235 mod_scorm: Required minimum score should be >0 2024-03-05 18:43:32 +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
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
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
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
e1034deb8b
Merge branch 'MDL-75670-main' of https://github.com/roland04/moodle 2024-03-04 16:05:18 +01:00
Paul Holden
38bfc2620b
MDL-79672 libraries: upgrade to version 2.6.0 of FPDI. 2024-03-04 10:44:59 +00: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
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
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