Commit graph

3166 commits

Author SHA1 Message Date
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
David Matamoros
78735a72bc MDL-72329 core: Persistent method get needs to return correct type 2021-09-24 08:45:08 +02:00
Eloy Lafuente (stronk7)
b889f9f3f6 Merge branch 'MDL-72110-master-v3' of https://github.com/sharidas/moodle 2021-09-22 20:00:18 +02:00
Sara Arjona
a0d3e32aa9 MDL-72042 media: Remove SWF media player
The Flash Player was deprecated in 2017 and officially discontinued
on 31 December 2020, so media_swf player has been completely
removed from Moodle core.
2021-09-17 10:39:17 +02:00
Sujith Haridasan
3d18e005e8 MDL-72396 core: Add tests for setting active tabs
Add the tests for setting active tabs in primary
and secondary nav.
2021-09-17 12:37:42 +05:30
Eloy Lafuente (stronk7)
433212a33e Merge branch 'MDL-72093-master' of git://github.com/mihailges/moodle 2021-09-16 00:32:47 +02:00
Mihail Geshoski
ecf8e77f19 MDL-72093 navigation: Update secondary nav unit tests 2021-09-14 12:02:35 +08:00
Mihail Geshoski
87a577aade MDL-72094 core_report: Deprecate report_helper::save_selected_report() 2021-09-14 11:44:18 +08:00
Matt Clarkson
728e8c4a3c MDL-72527 core: Fix behat unit test failure
$CFG->behat_wwwroot, $CFG->behat_dataroot and $CFG->behat_prefix being
undefined resulted in unit test failure.
2021-09-13 11:32:50 +12:00
Sara Arjona
3b903ae45d Merge branch 'master_MDL-71585-managecategories' of https://github.com/catalyst/moodle-MDL-70329 2021-09-06 10:39:06 +02:00
Guillermo Gomez
fb10b36c04 MDL-71585 qbank_managecategories: Add managecategories to core
This implementation will introduce a qbank plugin "managecategories"
which will add the question categories feature in the question bank view
by replacing the core classes. Having this plugin will give users
the flexibility of enabling or disabling the category tab.
2021-09-03 09:41:18 +10:00
Safat Shahin
c1797c6c9e MDL-71639 qbank_exporttoxml: Add Export to xml plugin to core
This implementation will introduce a qbank plugin "exporttoxml"
which will implement the export to xml action in the question
bank view by replacing the core class. Having this plugin will
give users the flexibility of enabling or disabling this action.
2021-09-02 21:21:57 +10:00
Sara Arjona
d7d1c1e9ee Merge branch 'MDL-71092-master' of git://github.com/abgreeve/moodle 2021-09-01 11:52:00 +02:00
abgreeve
40b6c725b4 MDL-71092 navigation: Update to better scan for the active node. 2021-09-01 09:09:21 +08:00
Eloy Lafuente (stronk7)
457c2026ed Merge branch 'MDL-71627-add-antivirus-check-api-and-notification-levels' of https://github.com/keevan/moodle 2021-08-30 12:39:29 +02:00
Sujith Haridasan
16e939fe2c MDL-72110 core_navigation: home page preference
Admin should respect the home page preference set
just like any other user. Also when user preference
is set to dashboard, the home points to the dashboard
and the dashboard should become "Site home" which would
point to Site home.
2021-08-27 10:05:48 +05:30
Andrew Nicols
dd41f234b6 Merge branch 'MDL-72152-master' of https://github.com/sammarshallou/moodle 2021-08-26 11:35:26 +08:00
Jun Pataleta
306a778855 MDL-69588 core: Revert user menu dropdown toggle to a link 2021-08-25 17:26:39 +08:00
Mathew May
c1130de5ff MDL-69588 accessibility: Address further review points 2021-08-24 11:56:02 +08:00
abgreeve
56c34d71ef MDL-69588 theme_boost: Use partial templates in boost.
This moves away from using escaped html injected into the template
and uses partial templates instead.
2021-08-23 17:47:24 +08:00
Mathew May
1f6bcd7eae MDL-69588 accessibility: Address review points 2021-08-23 17:47:24 +08:00
Mathew May
1ce2bb0007 MDL-69588 navigation: Show home primary node when required 2021-08-23 17:47:24 +08:00
Peter Dias
dfefc86393 MDL-72032 core: Add roles to items
- Part of: MDL-69588
2021-08-23 17:47:22 +08:00
Peter Dias
9f40dcae9a MDL-72032 core: Fixup the behat nav
- Part of: MDL-69588
2021-08-23 17:47:02 +08:00
Bas Brands
da33265d73 MDL-72032 core_behat: secondary navigation behat fixes
- Part of: MDL-69588
2021-08-23 17:47:02 +08:00
Mihail Geshoski
3e30d958b2 MDL-71683 behat: Add step definitions related to the user menu
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Mihail Geshoski
5f998b1249 MDL-71683 navigation: Update the primary nav unit tests
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Mathew May
d9016d2fa7 MDL-72006 navigation: Reduce max secondary nav items
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00