103467 Commits

Author SHA1 Message Date
Sara Arjona
5f7b53980b MDL-73339 completionstatus: Add block only if main feature is enabled
The Course completion status block should be added only if the
completion advanced feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
8e932d6fd9 MDL-73339 comments: Add block only if main feature is enabled
The Comments block should be added only if the comments advanced
feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
8d600233d3 MDL-73339 blog_tags: Add block only if main feature is enabled
The Blog tags block should be added only if the blogs and the tags
advanced features are enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
3413df37a5 MDL-73339 blog_recent: Add block only if main feature is enabled
The Recent blog entries block should be added only if the blogs
advanced feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
1e09ac167f MDL-73339 blog_menu: Add block only if main feature is enabled
The Blog menu block should be added only if the blogs advanced
feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
06e8cda348 MDL-73339 accessreview: Add block only if main feature is enabled
The Accessibility review block should be added only if the
"Enable accessibility tools" advanced setting is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
1823873d9a MDL-73339 core_blocks: New method can_block_be_added
A new method, can_block_be_added, has been added to
let blocks override it to decide whether it should
be added to a page or not.
2021-12-30 13:17:47 +01:00
Sara Arjona
fdfa1a9524 MDL-71718 lib: Set Moodle files after codemirror upgrade 2021-12-30 12:34:16 +01:00
Sara Arjona
8dc095e54e MDL-71718 lib: Upgrade codemirror to 5.65.0 2021-12-30 12:34:16 +01:00
Sara Arjona
5c2004def2 MDL-71719 lib: Set Moodle files after jsbeautify upgrade 2021-12-30 12:33:10 +01:00
Sara Arjona
eebf70d1e8 MDL-71719 lib: Upgrade jsbeautify to 1.14.0 2021-12-30 12:33:10 +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
Amaia Anabitarte
0a2181cdb8 MDL-73449 installation: Make buttons rounded 2021-12-27 12:32:35 +01: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
Bas Brands
ec136c6d06 MDL-73451 theme_boost: editswitch fix for safari 2021-12-24 09:28:54 +01: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