7102 Commits

Author SHA1 Message Date
Mihail Geshoski
bcec96f952 MDL-73169 theme_boost: Update course category breadcrumb nodes 2022-03-02 17:29:35 +08:00
Jake Dallimore
c08caf57c5 Merge branch 'MDL-73645-master-1' of git://github.com/mihailges/moodle 2022-03-02 14:10:19 +08:00
Mihail Geshoski
2a09a3ff76 MDL-73645 theme_boost: Keep section breadcumb item in specific layouts
Avoids removing the section breadcrumb nodes in the course module
context when the course uses the 'One section per page' layout.
Additionaly, it also removes the Courses and Category breadcrumb
nodes in the module contexts to be consistent with the way the
breadcrumbs are displayed in the course context.
2022-03-02 13:01:03 +08:00
Mihail Geshoski
2ee1e6053c MDL-73645 theme_boost: Re-implement breadcrumbs in the course context 2022-03-02 13:00:25 +08:00
Bas Brands
757b8c636e MDL-73796 theme_boost: mobile navcrumb design 2022-03-01 13:55:32 +01:00
Bas Brands
fa6e4b2c9e MDL-73593 theme_boost: update boost top margins 2022-03-01 13:09:08 +01:00
Jun Pataleta
0f35a9b7f9 Merge branch 'MDL-72737-master-2' of https://github.com/bmbrands/moodle 2022-03-01 19:06:52 +08:00
Bas Brands
2faf5e8e48 MDL-72737 theme_boost: update for section header styles 2022-03-01 12:01:59 +01:00
Jun Pataleta
d8cadf7ecf Merge branch 'MDL-73462-master' of https://github.com/peterRd/moodle 2022-03-01 18:32:05 +08:00
Peter Dias
081b255ab0 MDL-73462 navigation: Behat test update 2022-03-01 17:57:24 +08:00
Peter Dias
f1959af7f6 MDL-73462 course: Introduce course category tertiary navigation
Update the category management page.
2022-03-01 17:57:24 +08:00
Jun Pataleta
1569398c56 Merge branch 'wip_MDL-73877_master' of https://github.com/gjb2048/moodle 2022-03-01 10:09:18 +01:00
Eloy Lafuente (stronk7)
ea377d506b Merge branch 'MDL-73935-master' of https://github.com/mickhawkins/moodle 2022-02-28 20:30:37 +01:00
Jun Pataleta
94e5076ef5 Merge branch 'MDL-73595-master' of https://github.com/bmbrands/moodle 2022-02-28 20:33:31 +08:00
Bas Brands
dd95845bf1 MDL-73595 theme_boost: make tertiary nav more distinct 2022-02-28 13:07:52 +01:00
Jun Pataleta
0d35ffd08d Merge branch 'MDL-73918-master' of https://github.com/bmbrands/moodle 2022-02-28 17:17:28 +08:00
Huong Nguyen
0d4069918e MDL-73457 Course: Fix drag & drop image prevents moving resources
Including in this commit:
 - Modify the UI to make the section dropzone more visible
 - Prevent the direct image dragging in Chrome, Safari by improving the check
2022-02-28 14:00:57 +07:00
Michael Hawkins
a0b3cf4898 MDL-73935 user: Update support form to not require SMTP setting 2022-02-28 12:42:47 +08:00
Gareth Barnard
0c7eaf95e0
MDL-73877 themes: current section border not showing on Boost theme. 2022-02-26 11:52:54 +00:00
Ilya Tregubov
0291ea4dd0 MDL-73335 Behat: Fix Classic test. 2022-02-25 11:59:36 +02:00
Andrew Nicols
649705874d Merge branch 'MDL-70792-master-2' of https://github.com/junpataleta/moodle 2022-02-25 11:39:55 +08:00
Jun Pataleta
122b0fc91e MDL-70792 aria: Dropdown menu keyboard interaction fixes
* Move the focus to the last menu item when the menu is displayed by
pressing the Up arrow key.
* When the menu is open and Tab/Shift-Tab is pressed, focus on the
next/previous focusable element on the DOM instead of focusing back on
the menu trigger.
* Combine event handling for the dropdown menu trigger.
2022-02-24 18:21:12 +08:00
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