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
Huong Nguyen
1320a2a397
Merge branch 'main_MDL-81172' of https://github.com/mattporritt/moodle
2024-03-28 11:46:51 +07: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
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
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
Andrew Nicols
9e09693da3
Merge branch 'MDL-81039' of https://github.com/timhunt/moodle
2024-03-12 11:00:12 +08:00
Andrew Nicols
9cdc5850c5
Merge branch 'MDL-75952' of https://github.com/stronk7/moodle
2024-03-12 10:45:02 +08: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
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
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
e1034deb8b
Merge branch 'MDL-75670-main' of https://github.com/roland04/moodle
2024-03-04 16:05:18 +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