103406 Commits

Author SHA1 Message Date
Sara Arjona
e046c6e6ef MDL-73397 admin: Use method from new core_adminpresets
In MDL-73145, a new $CFG setting was added to let define the preset
to be installed.
This patch replaces the method call to the new one that has been
moved from tool_admin_presets plugin to core_adminpresets component.
2022-01-04 12:13:19 +01:00
Sara Arjona
1f47ef1a34 MDL-73397 adminpresets: Move sensiblesettings to core
The sensiblesettings setting has been moved from tool_admin_presets
to adminpresets component where it belongs, in order for being able
to use it from the API to decide whether sensible settings should
be included when exporting them.
2022-01-04 12:13:19 +01:00
Sara Arjona
8bf52e3195 MDL-73397 tool_admin_presets: Move data and API methods to new component
A new component has been created, core_adminpresets, and tables and some
API methods from this tool have been moved there, so it can spread over
other plugins.
Currently, the tool_admin_presets plugin only provides the UI to interact
with the core adminpresets stuff.
2022-01-04 12:13:19 +01:00
Sara Arjona
727f0d4daf MDL-73397 adminpresets: Create new core_adminpresets component
The core_adminpresets component has been added and some data and
methods from the tool_admin_presets have been moved here.
2022-01-03 11:51:33 +01:00
Sara Arjona
541d999d27 on-demand release 4.0dev+ 2021-12-30 11:24:35 +01:00
Sara Arjona
a94e8859e4 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-12-30 11:24:29 +01:00
Shamim Rezaie
2eaab7ec3e Merge branch 'MDL-73394-master' of https://github.com/sarjona/moodle 2021-12-30 16:10:27 +11:00
AMOS bot
756b212799 Automatically generated installer lang files 2021-12-30 00:07:28 +00:00
Sara Arjona
ef233d31dd Merge branch 'MDL-73086' of git://github.com/paulholden/moodle 2021-12-29 16:18:07 +01:00
Paul Holden
9e6bbb4fb8 MDL-73086 user: account for mixed casing of profile field shortname.
Custom profile fields allow for shortnames containing mixed character
casing, which should also be supported within the user fields API
when retrieving said custom fields.

Given that the DML libs convert all selected columns to lowercased
equivalent, we need to do the same when requesting custom fields to
ensure calling code doesn't try to access `->profile_field_Foo`
property when the DB returns `->profile_field_foo` instead.
2021-12-29 15:09:30 +00:00
Sara Arjona
3f56100a4a Merge branch 'MDL-73295' of https://github.com/paulholden/moodle 2021-12-29 15:36:08 +01:00
Sara Arjona
a633bb56c1 Merge branch 'MDL-72716' of https://github.com/paulholden/moodle 2021-12-29 15:01:38 +01:00
Paul Holden
844f4a7fb3 MDL-72716 blocks: fix external fetching of available blocks.
Pass `$PAGE->subpage` value in AJAX request, which is required on
some pages (e.g. user dashboard) for loading existing blocks.
2021-12-29 11:59:27 +00:00
Shamim Rezaie
3baf9b8564 Merge branch 'master_MDL-73440' of https://github.com/mattporritt/moodle 2021-12-29 22:14:47 +11:00
Sara Arjona
eab34def91 Merge branch 'MDL-72911-master' of https://github.com/sarjona/moodle 2021-12-29 11:18:04 +01:00
Sara Arjona
65b10e3dc7 MDL-72911 behat: Unrelated, remove the @skip_interim tag
This commit is UNRELATED to the MDL-72911, but we need the
@skip_interim tag removed to one scenario that was causing lots
of noise and failures @ CI infrastructure. This tag can now be
removed because these failures were fixed a days ago.

So we are using MDL-72911 (this extra commit) to remove that tag
(sorry for the noise).
2021-12-29 11:13:10 +01:00
Paul Holden
d4bd398ad7 MDL-73295 webservice: only pass around sesskey for tokens as needed. 2021-12-29 09:54:23 +00:00
Sara Arjona
27c1de3950 Merge branch 'MDL-73402' of git://github.com/paulholden/moodle 2021-12-29 10:07:55 +01:00
Sara Arjona
ff959d8f5d Merge branch 'MDL-72375-completion-id' of https://github.com/Peterburnett/moodle 2021-12-29 09:48:22 +01:00
Sara Arjona
995ed32cf5 Merge branch 'MDL-71818-master-test4' of git://github.com/rezaies/moodle 2021-12-29 09:13:12 +01:00
Eloy Lafuente (stronk7)
0b577477e3 Merge branch 'MDL-73420-master' of https://github.com/marinaglancy/moodle 2021-12-29 09:03:37 +01:00
Shamim Rezaie
379f15f3b4 MDL-71818 calendar: Fix detection of a click on day link 2021-12-29 19:02:55 +11:00
Shamim Rezaie
ffe65c9a2b Merge branch 'MDL-71818-master' of https://github.com/dcai/moodle into MDL-71818-master-test4 2021-12-29 18:59:46 +11:00
Sara Arjona
d870aae9c7 Merge branch 'MDL-71818-master' of https://github.com/dcai/moodle 2021-12-28 17:32:18 +01:00
Sara Arjona
a82631ffc2 Merge branch 'MDL-73237' of https://github.com/paulholden/moodle 2021-12-28 15:58:27 +01:00
Sara Arjona
430eddb721 Merge branch 'MDL-73207-cronspec' of https://github.com/brendanheywood/moodle 2021-12-28 15:43:13 +01:00
Ferran Recio
88e17ccad9 MDL-72911 core_courseformat: fix deprecation messages 2021-12-28 12:50:53 +01:00
Ferran Recio
43499d332c MDL-72898 core_courseformat: hidden activity link 2021-12-28 12:50:23 +01:00
Sara Arjona
1c33782d73 Merge branch 'MDL-73189-master' of https://github.com/nguyenphuctien/moodle 2021-12-28 11:41:54 +01:00
Sara Arjona
7e559628dc Merge branch 'MDL-72581-master' of https://github.com/junpataleta/moodle 2021-12-28 09:23:11 +01:00
AMOS bot
daf21332f5 Automatically generated installer lang files 2021-12-28 00:07:28 +00:00
Víctor Déniz
bcd06412ee Merge branch 'MDL-73269/master' of https://github.com/skodak/moodle 2021-12-27 15:25:30 +00:00
Sara Arjona
0fc33251bf Merge branch 'MDL-72904-master-dec21' of https://github.com/peterRd/moodle 2021-12-27 08:47:50 +01:00
AMOS bot
713db956d2 Automatically generated installer lang files 2021-12-27 00:07:31 +00:00
AMOS bot
af799fa3dd Automatically generated installer lang files 2021-12-26 00:07:28 +00:00
Sara Arjona
f8eb36373d on-demand release 4.0dev+ 2021-12-23 16:30:00 +01:00
Sara Arjona
09d3e88c48 NOBUG: Fixed SVG browser compatibility 2021-12-23 16:29:57 +01:00
Sara Arjona
61cb294eb7 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-12-23 16:29:56 +01:00
Sara Arjona
bfa24ae53a MDL-73394 admin_presets: New setting to store last preset applied
A new setting has been added to config_plugins to store the last
preset identifier applied.
2021-12-23 16:07:57 +01:00
Peter Dias
d19547ae69 MDL-72904 theme_boost: Boost navbar cleanup restrictions
Exclude the last node in a breadcrumb change from auto-removal if no URL provided.
2021-12-23 21:25:36 +08:00
Peter Dias
6d5ab2233a MDL-72904 core_badges: Update behat tests 2021-12-23 21:25:36 +08:00
Peter Dias
96dd6c9c94 MDL-72904 core_badges: Introduce tertiary navigation for badges 2021-12-23 21:02:01 +08:00
Jun Pataleta
ada0ed1b83 Merge branch 'MDL-72845-master-fix' of https://github.com/lameze/moodle 2021-12-23 17:28:10 +08:00
Bas Brands
c218e921d2 MDL-72739 theme_boost: fixed updated edit switch behat 2021-12-23 10:15:53 +01:00
Simey Lameze
076fba92c1 MDL-72845 core: make showservicesandsupport parameter optional 2021-12-23 16:22:17 +08:00
Shamim Rezaie
c683b69855 Merge branch 'MDL-72819-master' of https://github.com/ferranrecio/moodle 2021-12-23 17:33:32 +11:00
Jun Pataleta
80c17cd2a0 Merge branch 'MDL-72701-master' of https://github.com/andrewnicols/moodle 2021-12-23 12:10:46 +08:00
Jun Pataleta
2b962cf691 Merge branch 'MDL-73274-master' of https://github.com/bmbrands/moodle 2021-12-23 11:31:25 +08:00
Jun Pataleta
057f312cff Merge branch 'MDL-72845-master' of https://github.com/lameze/moodle 2021-12-23 10:49:44 +08:00
AMOS bot
729bb96567 Automatically generated installer lang files 2021-12-23 00:07:29 +00:00