102150 Commits

Author SHA1 Message Date
Víctor Déniz
d0c9ba98da Merge branch 'MDL-72329' of https://github.com/stronk7/moodle 2021-10-01 19:10:41 +01:00
Eloy Lafuente (stronk7)
e4f33b837c MDL-72329 phpunit: Avoid === on floats and raw reserved word
In general it's a bad idea to compare floats with ===,
because depending of different systems precision, can
come to mismatches after certain decimal position.

So we replace them by:

- assetIsFloat() : to verify the type.
- assertEqualsWithDelta() : to compare values with some delta allowed.

Also, "raw" is Oracle reserved word, so renaming to "someraw" in tests.
2021-10-01 18:40:06 +02:00
Sujith Haridasan
bd12395717 MDL-72396 core: Fix the primary active tab for my/index.php
Fix the primary active tab for my/index.php
2021-10-01 13:24:10 +02:00
Víctor Déniz
f01d69cb05 Merge branch 'MDL-72714-master' of git://github.com/ilyatregubov/moodle 2021-10-01 13:21:46 +02:00
Andrew Nicols
0437f409e5 Merge branch 'MDL-72329' of https://github.com/stronk7/moodle 2021-10-01 13:21:46 +02:00
Ilya Tregubov
bb0942ad71 Merge branch 'MDL-71610-master' of git://github.com/andrewnicols/moodle 2021-10-01 13:21:46 +02:00
Eloy Lafuente (stronk7)
0df1347304 MDL-72329 phpunit: Fix some tests
- XMLDB_TYPE_FLOAT definition was incorrect, meaning no decimals for
  some DBs.
- Avoid using reserved words in column names.
2021-10-01 13:21:45 +02:00
Andrew Nicols
1d2cdb3a0d MDL-71610 behat: Add custom steps for edit mode checks 2021-10-01 16:41:03 +08:00
Andrew Nicols
4562ea0bd4 MDL-71610 gradereport_grader: Specify the pagelayout for grader report 2021-10-01 15:15:40 +08:00
Ilya Tregubov
fad4743ea8 MDL-72714 behat: Fix Behat failures for chrome 94. 2021-10-01 08:36:50 +02:00
Jun Pataleta
b3166c4dcf Merge branch 'MDL-72449-master' of git://github.com/andrewnicols/moodle 2021-10-01 11:43:25 +08:00
abgreeve
b7adf3a59d Merge branch 'MDL-69682' of git://github.com/paulholden/moodle 2021-10-01 11:21:40 +08:00
Andrew Nicols
29662c3488 Merge branch 'MDL-72329-master' of https://github.com/dravek/moodle 2021-10-01 11:02:28 +08:00
Andrew Nicols
123c8dd896 Merge branch 'MDL-71347' of https://github.com/paulholden/moodle 2021-10-01 10:26:56 +08:00
Andrew Nicols
a096fb5998 Merge branch 'MDL-72673-master' of git://github.com/junpataleta/moodle 2021-10-01 10:21:30 +08:00
Andrew Nicols
f4604fe5fb Merge branch 'MDL-72544' of git://github.com/paulholden/moodle 2021-10-01 10:14:51 +08:00
Andrew Nicols
4beb17e530 Merge branch 'MDL-70862' of https://github.com/marcusboon/moodle 2021-10-01 09:43:39 +08:00
Eloy Lafuente (stronk7)
529a558802 Merge branch 'MDL-72484' of git://github.com/paulholden/moodle 2021-09-30 23:19:06 +02:00
Eloy Lafuente (stronk7)
9f58ba6f7b Merge branch 'MDL-72587-master' of git://github.com/dpalou/moodle 2021-09-30 23:16:21 +02:00
Eloy Lafuente (stronk7)
a665ad27d2 Merge branch 'MDL-72396-master' of https://github.com/sharidas/moodle 2021-09-30 20:12:39 +02:00
Víctor Déniz
2384dc7d0a Merge branch 'MDL-72496-master_assert_tag' of https://github.com/call-learning/moodle 2021-09-30 15:40:25 +01:00
Laurent David
93a3724d8e MDL-72496 question tests: fix assertTag if tag not found
* The basic_test::assertTag method will issue a warning as $tag is not
found, failing the PHP Unit test that uses this method.
* Add tests to check that assertTag is working
2021-09-30 13:04:45 +02:00
abgreeve
23a5ce9a1d Merge branch 'MDL-71610-master' of git://github.com/andrewnicols/moodle 2021-09-30 12:50:45 +08:00
Andrew Nicols
1146c69257 MDL-71610 theme_classic: Check whether editing mode is enabled in behat 2021-09-30 12:49:40 +08:00
Andrew Nicols
26f7355965 Merge branch 'MDL-72545' of https://github.com/paulholden/moodle 2021-09-30 12:17:06 +08:00
abgreeve
d9f4590c89 Merge branch 'MDL-72275-master-2' of git://github.com/mickhawkins/moodle 2021-09-30 09:57:35 +08:00
Andrew Nicols
d46ff2929e Merge branch 'MDL-71727-master-v03' of git://github.com/ferranrecio/moodle 2021-09-30 09:52:56 +08:00
Eloy Lafuente (stronk7)
a8268e6562 Merge branch 'MDL-72462' of https://github.com/paulholden/moodle 2021-09-29 23:31:22 +02:00
Eloy Lafuente (stronk7)
87e7bcb12a Merge branch 'MDL-71970-master' of git://github.com/sarjona/moodle 2021-09-29 23:27:15 +02:00
Ilya Tregubov
34a0ba3232 Merge branch 'MDL-71610-master' of git://github.com/bmbrands/moodle 2021-09-29 15:40:39 +02:00
Ferran Recio
9abf7e1a72 MDL-71727 course: sync dragged elements
Two new mutations are added to indicate that a section
or a cm is being dragged. The logic related to refresh
a section or a cm has been moved to components to
simplify the code.
2021-09-29 10:01:25 +02:00
Ferran Recio
a0b4cacc8c MDL-71828 courseformat: course index section link toggler 2021-09-29 09:57:24 +02:00
Bas Brands
350797397e MDL-71610 core_behat: access site admin manage tags link 2021-09-29 09:25:36 +02:00
Bas Brands
16c726cde7 MDL-71610 core_behat: use new edit mode step in feature files 2021-09-29 09:25:36 +02:00
Bas Brands
3ff1b83239 MDL-71610 core_behat: update edit mode steps 2021-09-29 09:25:36 +02:00
Bas Brands
6ece030948 MDL-71610 theme_boost: switch to standard editing mode for gradebook
the gradebook need to use the standard $USER->editing to check if editing mode is turned on
2021-09-29 09:25:36 +02:00
Bas Brands
a0bb51622c MDL-71610 theme_boost: remove edit button from Boost 2021-09-29 09:25:36 +02:00
Bas Brands
09f6ce9fed MDL-71610 theme_boost: add a edit mode switch 2021-09-29 09:25:36 +02:00
Ilya Tregubov
44f06eddc1 Merge branch 'MDL-72675' of git://github.com/paulholden/moodle 2021-09-28 15:51:58 +02:00
Shamim Rezaie
7d14aa28ae Merge branch 'MDL-72060-master' of git://github.com/lameze/moodle 2021-09-28 20:15:06 +10:00
Adrian Perez
55f6ff7358 MDL-72060 mod_lti: fix comparison if user is gradable 2021-09-28 17:23:30 +08:00
Dani Palou
244aade1d6 MDL-72587 message: Support getting both read and unread messages 2021-09-28 10:37:39 +02:00
Andrew Nicols
6ca7e3115a Merge branch 'MDL-67686' of git://github.com/paulholden/moodle 2021-09-28 15:17:23 +08:00
Ilya Tregubov
950504bac0 Merge branch 'MDL-72643-master' of git://github.com/sammarshallou/moodle 2021-09-28 08:03:14 +02:00
Andrew Nicols
d7a67faf2f Merge branch 'MDL-72031-master' of https://github.com/NashTechOpenUniversity/moodle 2021-09-28 13:36:11 +08:00
Eloy Lafuente (stronk7)
5f7db5bf85 Merge branch 'MDL-72658-master-welcometosite' of git://github.com/mudrd8mz/moodle 2021-09-27 23:33:47 +02:00
Eloy Lafuente (stronk7)
b2406966e6 Merge branch 'MDL-72328-master' of https://github.com/sammarshallou/moodle 2021-09-27 23:19:34 +02:00
Paul Holden
cf99ea1a46 MDL-72462 forms: style checkbox/radio field labels consistently.
Fixes small regression from 942dc9de that moved indentation of form
fields to the label node, but only for those labels with specific
class.
2021-09-27 18:23:51 +01:00
Paul Holden
0e9b0a4964 MDL-72484 report_eventlist: looser check for event 'other' docs. 2021-09-27 18:21:42 +01:00
Ilya Tregubov
d7620cc5bc Merge branch 'MDL-71943-master' of git://github.com/dravek/moodle 2021-09-27 18:36:35 +02:00