9239 Commits

Author SHA1 Message Date
Ilya Tregubov
d5c8f25470 Merge branch 'MDL-74147' of https://github.com/paulholden/moodle 2022-06-10 13:11:25 +02:00
Sara Arjona
0249e4046f Merge branch 'MDL-74182-master' of https://github.com/ericmerrill/moodle 2022-06-08 10:41:48 +02:00
Sara Arjona
52c88dc744 Merge branch 'MDL-74344' of https://github.com/paulholden/moodle 2022-06-07 16:51:46 +02:00
Sara Arjona
8967de58b5 Merge branch 'MDL-72983' of https://github.com/paulholden/moodle 2022-06-07 16:08:08 +02:00
Shamim Rezaie
8621fd2d67 Merge branch 'MDL-74720' of https://github.com/lostrogit/moodle 2022-06-07 14:30:19 +10:00
Paul Holden
0a9d31e988 MDL-72983 tool_dataprivacy: respect capability to export own data. 2022-06-06 20:50:32 +01:00
Carlos Castillo
04f0152a91 MDL-74720 reportbuilder: Limiting the number of custom reports 2022-06-06 08:57:13 -05:00
Andrew Nicols
70c7443d80 Merge branch 'MDL-73302-master' of https://github.com/dravek/moodle 2022-06-03 13:34:32 +08:00
Sara Arjona
cbf878cce4 MDL-66453 uploadusers: Fix behat with classic
This patch fixes the behat failures with classic for the scenario
"Upload users enrolling them on courses and assign category roles".

There is a "Participants" link hidden in the "Site pages" which is
causing these failures.
Apart from this, there was another issue because it was not possible
to navigation with classic (I've added one extra step to visit homepage).
2022-06-02 16:24:05 +02:00
Andrew Nicols
fd376582ac Merge branch 'MDL-66453' of https://github.com/dmitriim/moodle 2022-06-02 08:45:03 +08:00
Dmitrii Metelkin
4e353e4812 MDL-66453 uploaduser: Bulk assign roles in course categories 2022-06-02 09:42:17 +10:00
Jun Pataleta
468de2da07 Merge branch 'MDL-73767-master_clever_oauth2' of https://github.com/rnathuji/moodle 2022-06-01 11:43:00 +08:00
Ripal Nathuji
79ae21c23f MDL-73767 oauth2: Add clever oauth2 client 2022-05-31 17:17:20 -05:00
Nathan Mares
1da1152baa MDL-72723 logs: Add get_events_select_exists to the sql_reader interface
- Updates to log stores and backup helper to improve performance when
  checking if a course has been modified.
- This is a breaking change as it adds a new function on the sql_reader
  interface.

Co-authored-by: Kevin Pham <keevan.pham@gmail.com>
2022-05-30 10:42:47 +10:00
David Matamoros
c15e04193a MDL-73302 task: Add type filter to task logs system report
Adding 'type' filter to be able to filter between Ad hoc and Scheduled
tasks
2022-05-27 08:39:35 +02:00
Jun Pataleta
e60e8bc629 Merge branch 'MDL-73423-master' of https://github.com/marinaglancy/moodle 2022-05-26 00:18:35 +08:00
Carlos Castillo
3236a41c3a MDL-74150 tool_componentlibrary: Add title attribute to core/toggle 2022-05-16 11:43:55 -05:00
Paul Holden
53d6b18237 MDL-74344 comment: consistent capability check for accessing report.
Co-authored-by: David Wipperfurth <dwipperfurth@webcourseworks.com>
2022-05-13 10:31:16 +01:00
Paul Holden
9085f5e28a MDL-74147 admin: support custom user profile fields selecting admins. 2022-05-09 10:14:16 +01:00
Eloy Lafuente (stronk7)
9f53b0e965 MDL-73971 phpunit: Move more tests to use correct names and namespaces
Applied the following changes to various testcase classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- 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:

- Some fixtures, initially defined in the test files have been
  moved to new files in fixtures subdirectory, leaving the unit
  test files clearer:
  - moodle2_course_format_test.php
- Rename wrong named test:
  - baseoptiogroup_test = baseoptigroup_test
2022-05-06 18:29:11 +02:00
Jun Pataleta
48cab7f948 Merge branch 'MDL-74584-master-v1' of https://github.com/mihailges/moodle 2022-05-06 14:47:04 +08:00
Mihail Geshoski
4a55d6eb02 MDL-74584 admin: Add callback executed prior to enabling a module
Adds a callback xxx_pre_enable_plugin_actions in admin/modules.php
which plugins can use to force additional actions before enabling the
plugin. The return value (bool) from the plugin callback method
specifies whether the process of enabling the plugin should continue
after the added actions or not.
2022-05-06 13:36:53 +08:00
Ilya Tregubov
6442615878 Merge branch 'participants_per_page_MDL-41498' of https://github.com/rschrenk/moodle 2022-05-06 07:59:43 +06:00
Víctor Déniz
9746b8a6e2 Merge branch 'MDL-74612' of https://github.com/paulholden/moodle 2022-05-05 13:20:20 +01:00
Jun Pataleta
4182721677 Merge branch 'MDL-73981-master' of https://github.com/ilyatregubov/moodle 2022-05-05 09:48:59 +08:00
Ilya Tregubov
82e3a9ce40 MDL-73981 tool_uploadcourse: Validate enrolment role from csv. 2022-05-05 07:38:47 +06:00
Ilya Tregubov
719bb845d9 Merge branch 'MDL-74450-master' of https://github.com/mihailges/moodle 2022-05-03 09:47:29 +06:00
Paul Holden
2fede32518 MDL-74612 cohort: use data generator for populating cohort members. 2022-04-29 16:09:35 +01:00
Marina Glancy
a0398fdde8 MDL-73423 core_privacy: Calling reset() on objects deprecated PHP8.1 2022-04-29 16:16:07 +02:00
Jun Pataleta
c0466920b3 Merge branch 'MDL-74537-master-enfix' of https://github.com/vmdef/moodle 2022-04-27 15:56:00 +06:00
Helen Foster
a1699a58f4 MDL-74537 lang: Import fixed English strings (en_fix) 2022-04-26 11:21:12 +01:00
Mihail Geshoski
dfae9e18d7 MDL-74450 admin: Use the context from admin_settingpage as page context
The defined context in admin_settingpage does not always relate to the
system context. One example is the 'frontpagesettings' admin setting
page which specifies front page as it's default context. Therefore, the
page context in admin/settings.php should be consisent with the defined
context in the related admin_settingpage object to make sure that the
expected navigation menus are being displayed and properly highlighted.
Additionally, the code in admin/settings.php related to the breadcrumb
structure specific to 'frontpagesettings' has been removed as it is no
longer relevant.
2022-04-26 12:50:59 +08:00
Eloy Lafuente (stronk7)
76f5445451 MDL-74510 upgrade: add the 4.0.0 separation line to all upgrade scripts 2022-04-22 18:45:10 +02:00
Jun Pataleta
80709ba72d Merge branch 'MDL-74493-master' of https://github.com/snake/moodle 2022-04-14 12:02:10 +08:00
Jake Dallimore
19a296dfa0 MDL-74493 admin: add check for mbstring extension to prevent errors 2022-04-14 10:13:06 +08:00
Sara Arjona
8b7fdc993d Merge branch 'MDL-74486-master' of https://github.com/HuongNV13/moodle 2022-04-13 16:58:52 +02:00
Ilya Tregubov
e39a1fff2c Merge branch 'MDL-74471-master' of https://github.com/junpataleta/moodle 2022-04-13 14:59:21 +06:00
Jun Pataleta
70f6b1605b MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
Huong Nguyen
156f4fe6ce MDL-74486 tool_usertours: Prevent step to inherit theme background image 2022-04-13 09:33:13 +07:00
Paul Holden
a3a473d644 MDL-74489 admin: consider salt configuration as sensitive to site.
The admin preset tool shouldn't export badge/calendar salt configuration
unless explicitely asked for as changing these values on another site
can be potentially destructive.
2022-04-12 16:19:40 +01:00
Andrew Nicols
01b8e81e7d Merge branch 'MDL-74084' of https://github.com/paulholden/moodle 2022-04-12 09:46:48 +08:00
Paul Holden
27adde9b83 MDL-74084 tool_usertours: ensure presense of tour config in response.
If it's not, then don't try to start the tour. This fix is effectively
the same as that previously made in 3bd9e1e8.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2022-04-11 14:15:09 +01:00
Jake Dallimore
944566fa12 Merge branch 'MDL-74350-master' of https://github.com/HuongNV13/moodle 2022-04-11 10:28:16 +08:00
Huong Nguyen
d506386d32 MDL-74350 usertours: Prevent adding unnecessary breaktags to the content 2022-04-08 10:56:45 +07:00
Ilya Tregubov
bc170bba61 Merge branch 'MDL-73555_master_toolbrickfieldsummaryprocessing' of https://github.com/brickfield/moodle 2022-04-08 09:24:11 +06:00
Ilya Tregubov
29da0c7f2a Merge branch 'MDL-74235-master-2' of https://github.com/andrewnicols/moodle 2022-04-07 12:06:38 +06:00
Andrew Nicols
4b388fc239 MDL-74235 core: Update core uses of activity icons to monologo 2022-04-07 12:56:14 +08:00
Andrew Nicols
9de93892b7 Merge branch 'MDL-74421-master' of https://github.com/sammarshallou/moodle 2022-04-07 11:43:58 +08:00
Víctor Déniz
21aa01c0bc Merge branch 'MDL-74189-master' of https://github.com/mihailges/moodle 2022-04-06 22:55:44 +01:00
Mihail Geshoski
2ca9f4354e MDL-74189 tool_moodlenet: Add upgrade step to remove irrelevant data
Upgrade step to identify all existing cases where users have linked
their MoodleNet profile on the site and remove the related data from
the database. Due to some recent changes on the MoodleNet platform,
this data is now irrelevant and can no longer be used to authenticate
on the MoodleNet platform.
2022-04-06 23:30:11 +08:00