7180 Commits

Author SHA1 Message Date
Jun Pataleta
baf360a7ba Merge branch 'MDL-73915-master-terser' of https://github.com/andrewnicols/moodle 2022-02-24 17:29:17 +08:00
Ilya Tregubov
be7a576994 Merge branch 'MDL-73335-tim' of https://github.com/ilyatregubov/moodle 2022-02-24 09:43:59 +02:00
Tim Hunt
2f9032a198 MDL-73335 quiz/questions: fix Behat fails from nav changes
The Classic quiz behat override is no longer needed.
The way it is implemented is Boost/core works in all cases.
2022-02-24 09:26:29 +02:00
Sujith Haridasan
b610055bbd MDL-73335 question: Add the tertiary nav for question bank
The tertiary navigation has been added to the question bank.
- Url selector has been added for the pages:
  Questions, Categories, Import and Export
- A separate page to "Add category" has been added.
  The "Add category" is available as a tertiary nav button.
- Updated the tests for the changes made.

This commit is mostly Sujith's work, with further changes by
Tim Hunt <T.J.Hunt@open.ac.uk> so we share the blame/credit.

AMOS BEGIN
 CPY [questioncats,mod_quiz],[questioncategories,core_question]
AMOS END
2022-02-24 09:26:29 +02:00
Jake Dallimore
f167418fc9 Merge branch 'MDL-73683-master' of https://github.com/ferranrecio/moodle 2022-02-24 14:26:53 +08:00
Mathew May
0360bc2ab3 MDL-70792 aria: Only set focus on items when triggered by keypress 2022-02-23 12:01:13 +08:00
Andrew Nicols
e1b9d5f3cd MDL-73915 js: Drop support for IE and android
Moodle announced that support for IE would be dropped back in August
2020 with Moodle 3.9 but not active steps were taken at that time. That
decision was made in MDLSITE-6109 and this particular step was meant to
be taken in Moodle 3.10.

This is the first step taken to actively drop support for IE.

This commit also bumps the browser support pattern from 0.25% to 0.3%.
The percentage here includes any browser where at least this percentage
of users worldwide may be using a browser. In this case it causes
support for Android 4.3-4.4 to be dropped, which relate to Android
KitKat (released 2013).

This combination of changes means that all of the supported browsers in
our compatibility list support modern features including async,
for...of, classes, native Promises, and more which has a huge impact on
the ease of debugging code, and drastically reduces the minified file
size because a number of native Polyfills included by Babel are no
longer included.
2022-02-23 08:55:20 +08:00
Andrew Nicols
0a4047ab31 MDL-73915 js: Switch amd minification to terser
Unfortunately the babel minify-mangle plugin seems to be abandoned and
in certain circumstances can be very buggy. The only safe options are to
disable it, or to switch to a different minification library.

Not minifying our javascript is not ideal, so this commit updates the
javascript tasks to use a rollup, combined with babel, and terser.

Babel still converts code from ES/UMD/AMD to AMD modules with the
relevant browser support, whilst terser minifies the code.

The rollup bundler handles tracking and creation of sourcemaps, and
supports better parallelisation of the tasks.

Since the upgrade to Node LTS/Gallium requires an upgrade to @babel/core
and eslint, which change the built files anyway, this seems like the
ideal time to make this change.
2022-02-23 08:55:09 +08:00
Andrew Nicols
aa7f7957ea MDL-73915 js: Upgrade babel and eslint 2022-02-23 08:53:54 +08:00
Bas Brands
d5db2b18ce MDL-73793 theme_boost: iOS scroll and drawertoggle 2022-02-22 15:37:04 +01:00
Eloy Lafuente (stronk7)
85b955e2a1 Merge branch 'MDL-73882-master' of https://github.com/aanabit/moodle 2022-02-22 00:08:33 +01:00
Sara Arjona
65f4b25a79 Merge branch 'MDL-73791-master' of https://github.com/bmbrands/moodle 2022-02-21 12:26:36 +01:00
Amaia Anabitarte
bb78acdaef MDL-73882 theme: Improve constrast on course index for dimmed elements 2022-02-21 11:09:52 +01:00
Bas Brands
7d6efea682 MDL-73791 theme_boost: mobile navbar design updates 2022-02-21 10:24:58 +01:00
Víctor Déniz
efdd77a157 MDL-73812 lang: Replace modified strings in tests 2022-02-18 16:14:02 +00:00
Helen Foster
7ff6b2daef MDL-73812 lang: Import fixed English strings (en_fix) 2022-02-18 15:50:26 +00:00
Ferran Recio
d8b8f9bc3b MDL-73683 core_courseformat: match hasRestrictions criteria
Orignally, the lock icon in the course index and the course content
represents different things and it was confusing for users. Now both
section and cm state data calculate the hasRestrictions attribute the
same way as the course content lock icons.
2022-02-18 12:51:15 +01:00
Jun Pataleta
5f19e1e685 Merge branch 'MDL-73608-master' of https://github.com/lameze/moodle 2022-02-18 12:06:13 +08:00
Simey Lameze
8e153111af MDL-73608 user: add contact site support page
AMOS BEGIN
 CPY [subject,mod_forum],[subject,moodle]
 CPY [message,core_message],[message,moodle]
AMOS END
2022-02-18 11:54:44 +08:00
Andrew Nicols
2f853cdceb Merge branch 'MDL-73912-master' of https://github.com/junpataleta/moodle 2022-02-18 10:44:49 +08:00
Andrew Nicols
e75aac9798 Merge branch 'MDL-73871-master' of https://github.com/aanabit/moodle 2022-02-18 10:43:35 +08:00
Sara Arjona
b67b024748 Merge branch 'MDL-73794-master' of https://github.com/bmbrands/moodle 2022-02-17 16:57:58 +01:00
Bas Brands
09aa3ad82a MDL-73794 theme_boost: set footer background white 2022-02-17 13:06:56 +01:00
Bas Brands
6214df4072 MDL-73918 theme_boost: allow customising scss pagewidth variables 2022-02-17 12:43:16 +01:00
Sara Arjona
704553716f Merge branch 'MDL-73875' of https://github.com/roland04/moodle 2022-02-17 08:25:03 +01:00
Ilya Tregubov
bc7be5fef4 Merge branch 'MDL-73814-master' of https://github.com/bmbrands/moodle 2022-02-16 16:50:47 +02:00
Jun Pataleta
57ba064022 MDL-73912 templates: Proper type value for back to user menu button 2022-02-16 22:46:47 +08:00
Sara Arjona
755a9d464c Merge branch 'MDL-73384-master' of git://github.com/rezaies/moodle 2022-02-16 14:48:22 +01:00
Sara Arjona
780fefe6b1 Merge branch 'MDL-73768-master' of https://github.com/bmbrands/moodle 2022-02-16 11:30:58 +01:00
Mikel Martín
705c0527ab MDL-73875 reportbuilder: Fix inplace editable overflows 2022-02-16 11:05:52 +01:00
Ilya Tregubov
96f3deeb48 Merge branch 'MDL-73816-master' of https://github.com/bmbrands/moodle 2022-02-16 10:26:59 +02:00
Jonathan Harker
55fff62fb4 MDL-72646 theme: update font download MIME types, RFC-8081 2022-02-16 19:10:05 +13:00
Shamim Rezaie
cb3ccf14b2 MDL-73607 theme: hide drawers when they are not visible
This is to prevent browser search find texts that are not visible
on the page.
As part of this change, I deleted $drawer-transition that I had added
ats part of MDL-72910. It was a master only change and I deleted it
because customising it would only create problems (because of the many
other hardcoded values in other files).
2022-02-16 13:30:13 +11:00
Amaia Anabitarte
23cb73b771 MDL-73871 core_course: Fix course index active chevron hover color 2022-02-15 13:47:04 +01:00
Ilya Tregubov
256804d2ed Merge branch 'MDL-73532-master-1' of https://github.com/mihailges/moodle 2022-02-15 13:37:24 +02:00
Shamim Rezaie
e70a73cd34 MDL-73384 theme: Full-width header and secondary menu on admin pages 2022-02-15 15:55:58 +11:00
Jun Pataleta
2b9cc9d2ee Merge branch 'MDL-73805-master' of https://github.com/bmbrands/moodle 2022-02-15 12:18:36 +08:00
Bas Brands
f06091bec5 MDL-73609 theme_boost: footer popup accessible behaviour 2022-02-14 09:57:08 +01:00
Mihail Geshoski
404eeff690 MDL-73532 theme_boost: Display the course name in single activity format
The module context header will display the full name of the course when
the course is using the single activity format header.
2022-02-14 09:40:27 +08:00
Mathew May
ecb92c7ed9 MDL-72928 login: Update styling and functionality 2022-02-11 12:01:26 +08:00
Bas Brands
5e9e4c2e5e MDL-73816 theme_boost: increase font weight of headings 2022-02-09 17:16:35 +01:00
Bas Brands
7433e69353 MDL-73814 theme_boost: align contextheader 2022-02-09 14:34:06 +01:00
Bas Brands
c788b032ce MDL-73805 theme_boost: remove left icon margin
Reverted from MDL-73543 since it was causing multiple
icon alignment issues, Fixed the alignment issue for
the recently accessed courses block
2022-02-08 14:42:30 +01:00
Bas Brands
483686ad0e MDL-73768 theme_boost: add right margin to profile picture 2022-02-08 14:01:10 +01:00
Eloy Lafuente (stronk7)
4f02047208 Merge branch 'MDL-73507-master' of https://github.com/lameze/moodle 2022-02-03 15:25:18 +01:00
Gareth Barnard
9636ca7e36 MDL-73719 themes: Redundant theme_reset_all_caches callback. 2022-02-03 15:11:00 +01:00
Jun Pataleta
a772f13eba Merge branch 'MDL-73632-master-2' of https://github.com/bmbrands/moodle 2022-02-03 19:27:56 +08:00
Jun Pataleta
4e1a6e6830 Merge branch 'MDL-73646-master-v2' of https://github.com/sharidas/moodle 2022-02-03 19:09:37 +08:00
Ilya Tregubov
20cbf048bc Merge branch 'MDL-73543-master' of https://github.com/lameze/moodle 2022-02-03 10:52:25 +02:00
Jun Pataleta
8c7285040b Merge branch 'MDL-73649-master' of https://github.com/bmbrands/moodle 2022-02-03 12:11:06 +08:00