Commit graph

29698 commits

Author SHA1 Message Date
Bas Brands
061449612c MDL-72739 theme_boost: update editswitch to look like ux design 2021-12-20 15:24:22 +01:00
Shamim Rezaie
625a22ab1d Merge branch 'MDL-71457-master-3' of https://github.com/bmbrands/moodle 2021-12-21 01:05:54 +11:00
Bas Brands
f2ddd23ec1 MDL-71457 theme_boost: activity icon styling 2021-12-20 15:02:24 +01:00
Simey Lameze
f88bcdb041 MDL-72984 cli: add support email option to cli install 2021-12-20 13:24:38 +08:00
Simey Lameze
4c5db7e80f MDL-72984 output: add support email to footer popover 2021-12-20 13:22:35 +08:00
Simey Lameze
eadf157068 MDL-72984 admin: make support email setting mandatory 2021-12-20 13:22:35 +08:00
Eloy Lafuente (stronk7)
e3e3e8d265 MDL-73405 libraries: php80 compatibility fix to Horde Imap Client
The fix is already available upstream for versions 2.30.4 and up
See https://github.com/horde/Imap_Client/pull/13
2021-12-19 12:22:14 +01:00
Eloy Lafuente (stronk7)
0919060272 MDL-73405 phpunit: dataset fixes
This was detected when working in the renaming of test names:
- Fix file name, it was incorrectly named .test.php, now _test.php.
- Add namespace and rename testcase name to match file name.
- Fix php80 deprecation message about optional and required params
  order.
2021-12-19 11:41:52 +01:00
Paul Holden
eb460d93aa MDL-72598 reportbuilder: schema and model updates for schedules. 2021-12-17 14:33:27 +00:00
Eloy Lafuente (stronk7)
e4a2d9c1d4 MDL-73348 phpunit: normalize all privacy provider tests
As far as now all them have correct privacy level2 namespace:
- Move them to "privacy" subdir.
- Rename the files to "provider_test.php", this includes old
  privacy_test.php and privacy_provider_test.php files
- Rename the testcase to provider_test too (to match file name)

Also, change some relative paths and comments to point to new
locations.
2021-12-17 14:21:02 +01:00
Eloy Lafuente (stronk7)
57e6fb7ad9 MDL-73348 phpunit: privacy and privacy_provider testcase names
All privacy_test and privacy_provider_test classes:

- Namespaced with component\privacy.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Renamed a few files to make all be privacy_test or privacy_provider_test.php
- All them passing individually.
- Complete runs passing too.
2021-12-17 14:21:02 +01:00
Ilya Tregubov
d051e7dc02 Merge branch 'MDL-72873-master-v1' of https://github.com/mihailges/moodle 2021-12-16 10:21:48 +02:00
Eloy Lafuente (stronk7)
4428a025de Merge branch 'MDL-73145-master' of https://github.com/sarjona/moodle 2021-12-15 18:34:47 +01:00
Mihail Geshoski
de53412989 MDL-72873 core_grades: Remove $CFG->grade_navmethod
The $CFG->grade_navmethod setting has been removed because it is not
required anymore. This setting was used to set the type of navigation
(tabs or dropdown box) which will be used in gradebook. However, these
navigation methods are no longer used and replaced with tertiary
navigation.
2021-12-16 00:10:13 +08:00
Mihail Geshoski
95b35652d3 MDL-72873 core_grades: Deprecate unused methods
The functions grade_print_tabs() and print_grade_plugin_selector()
can be deprecated as they are no longer used. These functions were
used to generate and output the tabs and dropdown box navigation
in gradebook which is now replaced with tertiary navigation.
2021-12-16 00:10:13 +08:00
Bas Brands
a8b6912e44 MDL-73274 theme_boost: add block/activity styling 2021-12-15 14:46:45 +01:00
Paul Holden
506adaeb1d MDL-70348 core: fix upgrade note referring to $CFG->localrequestdir.
The change in 9fabe1dd referred to incorrect config property.
2021-12-15 08:56:53 +00:00
Huong Nguyen
8c336899a9 MDL-72867 Navigations: User menu improvements 2021-12-15 13:54:45 +07:00
Andrew Nicols
873000b23b Merge branch 'MDL-73329' of https://github.com/paulholden/moodle 2021-12-15 09:34:34 +08:00
Peter Dias
00cda46fae MDL-72413 core: Disable the default activity header 2021-12-14 13:50:42 +02:00
Tien Nguyen
24edbcc782 MDL-73189 File upload: Fix bug can upload more than maximum no. of files 2021-12-14 15:09:13 +07:00
Víctor Déniz
437470b404 Merge branch 'MDL-73039' of git://github.com/paulholden/moodle 2021-12-13 19:28:35 +00:00
Ilya Tregubov
9e5ffa2229 Merge branch 'MDL-72095-master-3' of https://github.com/bmbrands/moodle 2021-12-13 18:46:16 +02:00
Sara Arjona
29649e2d6f Merge branch 'MDL-73231' of https://github.com/Chocolate-lightning/moodle 2021-12-13 16:31:43 +01:00
Mathew May
54e098c5a5 MDL-73231 my: Allow my courses to be a homepage 2021-12-13 22:43:28 +08:00
Paul Holden
2832b63a9e MDL-73039 course: remove double encoding of course/site for download. 2021-12-13 10:09:03 +00:00
Ilya Tregubov
16a7c3a698 Merge branch 'MDL-72413-master-dec13' of https://github.com/peterRd/moodle 2021-12-13 09:35:14 +02:00
Peter Dias
5e911213e9 MDL-72413 core: Unit test activity header 2021-12-13 09:49:35 +08:00
Peter Dias
710c04d5ee MDL-72413 core: Disable the default activity header 2021-12-13 09:49:35 +08:00
Peter Dias
a2d8ac6eea MDL-72413 core: Introduce new header component to render standard items
New activity header to render common module items in a centralised location.
2021-12-13 09:49:34 +08:00
Ilya Tregubov
6f44f008d8 Merge branch 'MDL-73278' of https://github.com/stronk7/moodle 2021-12-10 18:51:40 +02:00
Paul Holden
becf3bd15c MDL-73329 admin: improve detection of the admin search page.
After a query has been performed, the individual tab content
(it's settings links) isn't rendered to the page. In this case
we should redirect the user back to initial page without the
query parameter, in order for the tab content to load.
2021-12-10 14:00:38 +00:00
Andrew Nicols
097098735a Merge branch 'MDL-73060' of https://github.com/paulholden/moodle 2021-12-10 11:12:14 +08:00
Ilya Tregubov
5c67d307d3 MDL-71723 core: Moodle customizations. 2021-12-09 16:12:02 +02:00
Ilya Tregubov
540bf0d59a MDL-71723 core: Upgrade php-enum to 1.8.3 2021-12-09 16:11:14 +02:00
Ilya Tregubov
5e11de3af9 MDL-71705 libraries: Moodle customizations. 2021-12-09 14:19:33 +02:00
Ilya Tregubov
6f069f5272 MDL-71705 libraries: xhprof upgraded to 2.3.5 2021-12-09 14:08:31 +02:00
Sara Arjona
14e62a3d5c Merge branch 'MDL-72981-master-2' of https://github.com/bmbrands/moodle 2021-12-09 12:01:09 +01:00
Paul Holden
d8afa1b4e4 MDL-73060 webservice: fix logged config for first enabled protocol.
Resolves PHP notice from 1dfa86b4.
2021-12-09 10:41:49 +00:00
Sara Arjona
42895003e4 MDL-73145 install: Apply site preset if defined in config
A new setting, $CFG->setsitepresetduringinstall, has been added to
config file, to let admins define the site admin preset to be applied
during the Moodle installation.

Besides, a new parameter, "--sitepreset" has been also added
to admin/cli/install.php, to let define it too when running the
upgrade process using CLI.
2021-12-09 09:48:44 +01:00
Jun Pataleta
107bcc143c Merge branch 'MDL-72090-master' of git://github.com/abgreeve/moodle 2021-12-09 11:17:32 +08:00
abgreeve
05a6bca72c MDL-72090 behat: Deprecation of enrolment behat step.
i_add_enrolment_method_with() is now deprecated, please use
i_add_enrolment_method_for_with() instead.
2021-12-09 11:13:35 +08:00
abgreeve
fcd4de8639 MDL-72090 navigation: Update to behat feature files for navigation.
This updates feature files to use the new steps to navigate to certain
pages.
2021-12-09 11:13:35 +08:00
abgreeve
8a5e36fa06 MDL-72090 navigation: Update to existing behat steps.
This creates new general behat steps for navigating in theme
boost and classic.
2021-12-09 11:13:35 +08:00
abgreeve
89d749fda6 MDL-72090 navigation: New unit and behat tests for navigation.
This adds new tests for functions that impact the more menu and
the course administration overflow.
2021-12-09 11:13:35 +08:00
abgreeve
d02274137a MDL-72090 navigation: Create an overflow menu for course admin.
This adds a select menu for navigation on course administration
 pages such as import, export, course copy, and course reset.
2021-12-09 11:13:35 +08:00
Bas Brands
946fd915e2 MDL-72095 theme_boost: max width for activity pages 2021-12-08 17:29:49 +01:00
Ilya Tregubov
3a434518ef Merge branch 'MDL-73103' of git://github.com/paulholden/moodle 2021-12-08 14:56:50 +02:00
Jun Pataleta
402101b58f Merge branch 'MDL-71691-master-9' of https://github.com/bmbrands/moodle 2021-12-08 20:29:40 +08:00
Bas Brands
35a5288554 MDL-71691 core_behat: behat fixes for changed course design 2021-12-08 13:14:05 +01:00