Commit graph

103760 commits

Author SHA1 Message Date
Ferran Recio
72321cff3f MDL-73340 theme_boost: course index opened by default 2022-01-14 18:49:06 +01:00
Eloy Lafuente (stronk7)
0c53a3dec8 MDL-73476 phpunit: events, external and search tescase names
All events_test, external_test and search_test classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to lib/external/tests/external_test.php:
- external is not a valid component
- hence, its only valid namespace is "core"
- also, it's testing lib/external/externallib.php
- hence, the file (and class) have been renamed to external_externallib_test.php
  (to avoid conflicts with other external_test that may exist in core)
2022-01-14 16:18:39 +01:00
Paul Holden
20b8a47596 MDL-73178 roles: show both role names in permission table. 2022-01-14 12:18:34 +00:00
Sara Arjona
53fe23d8b5 MDL-73347 behat: Add blocks hidden by default for boost
For the boost them, a few themes have been hidden by default.
The unaddable setting should be set to let admins add them again,
because some behat tests need them.
2022-01-14 13:08:48 +01:00
Sara Arjona
341a7b2a97 MDL-73347 blocks: New unaddableblocks theme setting
A new method, get_unaddable_by_theme_block_types(), has been added to
block_manager class to let themes define, using the unaddableblocks
theme setting, the blocks that won't be displayed in the "Add a block"
list.
For now, only the boost theme uses it, to disable some of the blocks,
like settings, navigation, course_list and section_links (they are still
required for classic).
2022-01-14 13:08:48 +01:00
Sara Arjona
c8bda3e418 MDL-71720 lib: Set Moodle files after PHPSpreadSheet upgrade 2022-01-14 12:45:54 +01:00
Sara Arjona
d1ee2435bc MDL-71720 lib: Upgrade PHPSpreadSheet to 1.21.0 2022-01-14 12:45:52 +01:00
Sara Arjona
0e188470b1 on-demand release 4.0dev+ 2022-01-14 11:14:20 +01:00
Sara Arjona
f122edf3a9 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-01-14 11:14:17 +01:00
Jun Pataleta
a926979c0c MDL-73358 report: Add page content heading for report pages 2022-01-14 16:14:07 +08:00
Sara Arjona
3fb1785038 MDL-73561 grade: Use proper alert for success message 2022-01-14 08:54:34 +01:00
Jun Pataleta
0b2032cb1e MDL-72412 core: Add the image role to informative icon fonts 2022-01-14 10:31:47 +08:00
Andrew Nicols
6c2a64dca1 Merge branch 'MDL-73575' of https://github.com/paulholden/moodle 2022-01-14 09:36:04 +08:00
Andrew Nicols
626c8b43bf Merge branch 'MDL-65801' of https://github.com/paulholden/moodle 2022-01-14 09:30:11 +08:00
Paul Holden
2ae0424bd7 MDL-73365 report_log: fix detection of site page logging.
In turn, this adds back the secondary navigation to the page.
2022-01-14 00:03:54 +00:00
Víctor Déniz
ea3568ff6d Merge branch 'MDL-73572-master' of git://github.com/jleyva/moodle 2022-01-13 23:40:51 +00:00
Paul Holden
8d5e36d55d MDL-73563 course: add vertical space above category action buttons. 2022-01-13 23:13:10 +00:00
Eloy Lafuente (stronk7)
94eb0a5734 Merge branch 'MDL-69624' of https://github.com/paulholden/moodle 2022-01-13 23:24:47 +01:00
Eloy Lafuente (stronk7)
10e4cec874 Merge branch 'MDL-73004-master_access_unit_tests' of https://github.com/brickfield/moodle 2022-01-13 19:23:13 +01:00
Mike Churchward
23cb59bd85 MDL-73004 tool_brickfield: Fix unit tests for question areas.
Search array of areas for expected question components, rather than assume an array position.
2022-01-13 11:56:41 -05:00
Eloy Lafuente (stronk7)
4480b463d6 Merge branch 'MDL-71702-master' of https://github.com/sarjona/moodle 2022-01-13 17:14:23 +01:00
Paul Holden
3c90926f05 MDL-69624 question: add missing test required library. 2022-01-13 15:08:02 +00:00
Bas Brands
38d0498c0f MDL-73416 core_badges: limit page width on most badge pages 2022-01-13 14:36:13 +01:00
Paul Holden
ef871e28b5 MDL-73575 webservice: ensure configured protocols are non-empty. 2022-01-13 12:21:29 +00:00
Juan Leyva
7cb78905a0 MDL-73572 grade: Fix return type for gradeformatted
Regression caused MDL-70874
2022-01-13 12:49:44 +01:00
Paul Holden
6ed8458eda MDL-65801 lang: final removal of deprecated 37/38 strings.
The following lang strings have been undepecated, as they are still
in use:

* errorcoursewronglypublished, core_hub
* eventrolecapabilitiesupdated, core_role
2022-01-13 09:50:50 +00:00
Sara Arjona
1ce7bc329c Merge branch 'MDL-73343-master' of https://github.com/aanabit/moodle 2022-01-13 10:22:16 +01:00
Amaia Anabitarte
615027ea75 MDL-73343 block_myoverview: Add link to create course for empty content 2022-01-13 09:39:43 +01:00
Jun Pataleta
527808b1b5 Merge branch 'MDL-73508-master' of https://github.com/bmbrands/moodle 2022-01-13 15:33:07 +08:00
Shamim Rezaie
c4706a93ea Merge branch 'MDL-72757-master' of https://github.com/dravek/moodle 2022-01-13 18:29:28 +11:00
Bas Brands
8a650f2d4f MDL-72942 theme_boost: change carets to chevrons for dropdowns 2022-01-13 08:20:39 +01:00
Andrew Nicols
880495d25f Merge branch 'MDL-71704-master' of https://github.com/sarjona/moodle 2022-01-13 14:32:44 +08:00
Andrew Nicols
7af3ff3f8d Merge branch 'MDL-73530-master' of https://github.com/ferranrecio/moodle 2022-01-13 14:29:13 +08:00
Jun Pataleta
756b1c2e4c Merge branch 'MDL-73492-master' of https://github.com/aanabit/moodle 2022-01-13 14:22:38 +08:00
Jun Pataleta
0706308ccb Merge branch 'MDL-71721-master' of https://github.com/sarjona/moodle 2022-01-13 13:53:50 +08:00
Jun Pataleta
8b73145310 Merge branch 'MDL-73467' of git://github.com/paulholden/moodle 2022-01-13 11:43:32 +08:00
Andrew Nicols
03956b86e0 Merge branch 'MDL-73469' of https://github.com/roland04/moodle 2022-01-13 11:02:02 +08:00
Peter Dias
60150bd068 MDL-73360 glossary: Add heading when creating entries 2022-01-13 09:32:38 +08:00
Víctor Déniz
99df355421 Merge branch 'MDL-73418' of https://github.com/ja9837/moodle 2022-01-12 22:24:33 +00:00
Paul Holden
b625b9ffed MDL-73467 reportbuilder: consistent scheduled report export class.
Use the same dataformat exporter in scheduled reports as that used
when downloading reports, from 7d753bed.
2022-01-12 17:41:41 +00:00
Eloy Lafuente (stronk7)
6b6ff255dc Merge branch 'MDL-73564-master' of https://github.com/marinaglancy/moodle 2022-01-12 18:31:09 +01:00
Eloy Lafuente (stronk7)
7be7bb5164 Merge branch 'MDL-73546-master' of https://github.com/sarjona/moodle 2022-01-12 18:27:39 +01:00
Sara Arjona
58bcc49ea6 Merge branch 'MDL-73392-master' of https://github.com/bmbrands/moodle 2022-01-12 16:28:59 +01:00
Sara Arjona
d49b30d526 Merge branch 'MDL-71710-master' of https://github.com/ilyatregubov/moodle 2022-01-12 15:58:26 +01:00
Mikel Martín
142277dfcb MDL-73469 reportbuilder: Fix clipped corners
- Fix clipped corners in toggle cards
- Fix left corners in left sidebar search input
2022-01-12 15:27:48 +01:00
Paul Holden
6d18f136ae MDL-72772 gradereport_overview: account for users with parent roles. 2022-01-12 14:18:52 +01:00
Ilya Tregubov
040f9a9168 MDL-71715 lib: update PHP-ML to 0.9.0 2022-01-12 14:47:58 +02:00
Marina Glancy
6f6586b164 MDL-73564 webservice: make sure to require webservice lib once 2022-01-12 13:19:58 +01:00
Ilya Tregubov
5c21e9f610 MDL-71710 core: updated adapter.js to 8.0.0 2022-01-12 13:47:34 +02:00
Bas Brands
35f334be05 MDL-73508 core_course: bigger activity description on view page 2022-01-12 11:40:08 +01:00