2893 Commits

Author SHA1 Message Date
Andrew Nicols
f764fa8e62 Merge branch 'MDL-72433-master' of git://github.com/peterRd/moodle 2021-10-29 11:27:39 +08:00
Andrew Nicols
73ca68d3d5 Merge branch 'MDL-72779' of https://github.com/paulholden/moodle 2021-10-29 10:16:56 +08:00
Shamim Rezaie
674ce41ffe Merge branch 'MDL-71086' of https://github.com/paulholden/moodle 2021-10-29 00:10:24 +11:00
Andrew Nicols
54b4418596 Merge branch 'MDL-72871' of https://github.com/stronk7/moodle 2021-10-28 14:51:34 +08:00
Andrew Nicols
f80a31b8b6 Merge branch 'MDL-72827-master' of git://github.com/peterRd/moodle 2021-10-28 11:51:29 +08:00
Peter Dias
cb2afc668d MDL-72827 completion: Revert completion flow logic
- Reverts the custom flow logic introduced in the 52206
- Expand unit tests to cover different grade based completion settings
2021-10-28 11:38:10 +08:00
Andrew Nicols
62f1e0540e Merge branch 'MDL-72263-master-v02' of git://github.com/ferranrecio/moodle 2021-10-28 08:51:09 +08:00
Ferran Recio
59128bb411 MDL-72263 courseformat: adding core/tree to course index 2021-10-27 10:54:56 +02:00
Eloy Lafuente (stronk7)
fdc2dcf264 MDL-72871 cleanup: Remove incorrect whitespace from codebase
Differences can be checked with git diff --ignore-all-space and
that will show that the only non-whitespace change is in a test
in the git lib/tests/html2text_test.php file. In that case the
whitespace has been replaced by a quoted string (of whitespaces)
keeping the test 100% equivalent and workarrounding the whitespace.
2021-10-26 17:19:11 +02:00
Dongsheng Cai
9a900492bc MDL-55231 core_course: Partial course cache rebuild 2021-10-26 19:08:15 +11:00
abgreeve
ca229dfcad Merge branch 'MDL-69371-master-4' of git://github.com/bmbrands/moodle 2021-10-21 17:16:48 +08:00
Andrew Nicols
f59018f67a Merge branch 'MDL-71953-master' of git://github.com/HuongNV13/moodle 2021-10-21 14:02:58 +08:00
Huong Nguyen
bca6b06a1c MDL-71953 calendar: Accessibility improvement for manage subscription
- Create new web services for manage subscription (Update calendar subscription)
 - Modified delete subscription feature to use Web service.
 - Midified update subscription feature to use in-place editbale
 - Delete subscription feature now have a confirmation box before processing.
 - Fixed some accessibility issues
 - Used 'Delete' instead of 'Remove' for deleting subscriptions
2021-10-21 11:02:34 +07:00
Jun Pataleta
56c55f996a Merge branch 'MDL-72352-master-v2' of git://github.com/peterRd/moodle 2021-10-20 15:45:22 +08:00
Peter Dias
44922dfe2d MDL-72352 navigation: Unit tests 2021-10-20 14:55:11 +08:00
Bas Brands
cf630f06a1 MDL-69371 core_renderer: Move unit test for language renderable 2021-10-19 13:47:46 +02:00
Andrew Nicols
d07a2bc105 Merge branch 'MDL-71810-master-3' of git://github.com/HuongNV13/moodle 2021-10-15 11:30:55 +08:00
Huong Nguyen
0328241373 MDL-71810 calendar: responsiveness for calendar block
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>>
2021-10-15 10:24:34 +07:00
Peter Dias
f019394b89 MDL-72433 core: Final deprecation get_grades
Final deprecation of core_grades_external::get_grades along with unit tests and related private methods.
2021-10-15 10:53:45 +08:00
Ilya Tregubov
e95aee50cc Merge branch 'MDL-72099-master' of https://github.com/aanabit/moodle 2021-10-14 22:02:31 +07:00
Amaia Anabitarte
1d4edcb57b MDL-72099 core_contenbank: Add context navigation 2021-10-14 13:04:13 +02:00
Paul Holden
310bf46963 MDL-72779 core: add set_many helper method to persistent class. 2021-10-13 14:44:23 +01:00
Mihail Geshoski
2c9ab4980d MDL-72530 navigation: Optional max limit of displayed secondary nodes
Includes an optional function argument $maxdisplayednodes (int/null)
in force_nodes_into_more_menu() which will enable configuration of the
max limit of displayed nodes in the secondary navigation. If null,
a limit of displayed nodes will not be applied.
2021-10-13 12:58:32 +08:00
Shamim Rezaie
045ca2f1f0 Merge branch 'MDL-72689-master' of https://github.com/sharidas/moodle 2021-10-11 20:11:44 +11:00
Paul Holden
de2b0565a7 MDL-71086 core: load only those properties defined within persistent. 2021-10-11 09:09:27 +01:00
Sujith Haridasan
28f4ab461e MDL-72689 core_navigation: Respect homepage preference
If defaulthomepage is set to Dashboard then Site home link
in the primary navigation should point to "/?redirect=0"
2021-10-08 10:46:40 +05:30
Eloy Lafuente (stronk7)
8b577dfb46 Merge branch 'MDL-72621-master' of git://github.com/andrewnicols/moodle 2021-10-07 21:06:07 +02:00
Ilya Tregubov
b4675942ce Merge branch 'MDL-52206-master-rebased' of git://github.com/peterRd/moodle 2021-10-07 12:55:12 +07:00
Jake Dallimore
3c7e486205 Merge branch 'MDL-72094-master' of git://github.com/mihailges/moodle 2021-10-06 10:51:29 +08:00
Andrew Nicols
3482a5494b Merge branch 'MDL-72347-master' of git://github.com/sarjona/moodle 2021-10-05 23:20:38 +02:00
Andrew Nicols
8b7fb0f7ab Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle 2021-10-05 23:18:46 +02:00
Peter
90acd8d381 MDL-52206 core: Add completion criteria to course_modules 2021-10-04 19:44:02 +08:00
Sara Arjona
32576936ad MDL-72347 filter: Remove censor filter
Word censorship filter is not widely used these days so it has been
removed from Moodle core.
2021-10-04 09:28:59 +02: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
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
Ferran Recio
5d18501ffb MDL-71795 behat: fix breadcrumb navigation step 2021-10-01 09:03:56 +02:00
Andrew Nicols
29662c3488 Merge branch 'MDL-72329-master' of https://github.com/dravek/moodle 2021-10-01 11:02:28 +08:00
Eloy Lafuente (stronk7)
a665ad27d2 Merge branch 'MDL-72396-master' of https://github.com/sharidas/moodle 2021-09-30 20:12:39 +02:00
Andrew Nicols
c83e637ff9 MDL-72621 admin: Add environment check for admin deprecation 2021-09-29 22:39:32 +08:00
Ilya Tregubov
34a0ba3232 Merge branch 'MDL-71610-master' of git://github.com/bmbrands/moodle 2021-09-29 15:40:39 +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
Ilya Tregubov
950504bac0 Merge branch 'MDL-72643-master' of git://github.com/sammarshallou/moodle 2021-09-28 08:03:14 +02:00
Ilya Tregubov
d7620cc5bc Merge branch 'MDL-71943-master' of git://github.com/dravek/moodle 2021-09-27 18:36:35 +02:00
David Matamoros
5909d5b0ce MDL-71943 core: Dynamic (AJAX) tabs in Moodle LMS 2021-09-27 17:53:37 +02:00
sam marshall
e332d1849d MDL-72643 core: Improve display_size
Allows display_size to use a fixed unit for easy comparison of
multiple results, and fixed decimal places for the same reason.

Improves behaviour by using consistent decimal places and a
consistent space before the unit (the previous one only has a space
before 'bytes', not before 'KB').

Of existing uses, all the ones that displayed a 'maxbytes' type
configuration setting (which are likely to have an 'exact' size
and would be better shown as 512 KB rather than 512.0 KB) have been
changed to use 0 decimal places, to preserve previous behaviour.
All the uses which were showing an actual file or memory size have
been left as default (1 decimal place).
2021-09-27 16:52:33 +01:00
cescobedo
bad5b1d891 MDL-72335 tool_health: Remove tool_health from core 2021-09-27 07:12:32 +02:00