Huong Nguyen [Thu, 24 Feb 2022 02:25:51 +0000 (09:25 +0700)]
MDL-71714 Libraries: Upgrade VideoJS to 7.17.0
Ilya Tregubov [Fri, 25 Feb 2022 17:24:12 +0000 (19:24 +0200)]
on-demand release 4.0dev+
Ilya Tregubov [Fri, 25 Feb 2022 17:24:08 +0000 (19:24 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 25 Feb 2022 14:20:18 +0000 (22:20 +0800)]
Merge branch 'MDL-73335-fix' of https://github.com/ilyatregubov/moodle
Ilya Tregubov [Fri, 25 Feb 2022 09:59:36 +0000 (11:59 +0200)]
MDL-73335 Behat: Fix Classic test.
Andrew Nicols [Fri, 25 Feb 2022 03:39:55 +0000 (11:39 +0800)]
Merge branch 'MDL-70792-master-2' of https://github.com/junpataleta/moodle
Andrew Nicols [Fri, 25 Feb 2022 03:27:59 +0000 (11:27 +0800)]
Merge branch 'MDL-73335-integration-master' of https://github.com/mihailges/moodle
Andrew Nicols [Fri, 25 Feb 2022 02:59:54 +0000 (10:59 +0800)]
Merge branch 'MDL-72837-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Fri, 25 Feb 2022 02:55:20 +0000 (10:55 +0800)]
Merge branch 'MDL-73547-master-v03' of https://github.com/ferranrecio/moodle
Mihail Geshoski [Thu, 24 Feb 2022 18:34:34 +0000 (02:34 +0800)]
MDL-73335 mod_quiz: Fix behat tests
sam marshall [Wed, 12 Jan 2022 13:21:49 +0000 (13:21 +0000)]
MDL-72837 core_cache: Use versioned cache for modinfo
Uses the new versioned cache feature for modinfo, which should make it
safe as a localisable cache.
Ilya Tregubov [Thu, 24 Feb 2022 11:56:54 +0000 (13:56 +0200)]
Merge branch 'MDL-73743-master-1' of https://github.com/peterRd/moodle
Jun Pataleta [Wed, 23 Feb 2022 14:39:25 +0000 (22:39 +0800)]
MDL-70792 output: Menu items should have -1 tab index
* As per WAI ARIA Authoring Practices 1.1 guidelines for menus,
menu items should have a tab index of -1. Navigation between menu items
is done via arrow keys.
See https://www.w3.org/TR/wai-aria-practices-1.1/#menu
Jun Pataleta [Tue, 25 Jan 2022 11:13:13 +0000 (12:13 +0100)]
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.
Jun Pataleta [Thu, 24 Feb 2022 09:29:17 +0000 (17:29 +0800)]
Merge branch 'MDL-73915-master-terser' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Thu, 24 Feb 2022 07:43:59 +0000 (09:43 +0200)]
Merge branch 'MDL-73335-tim' of https://github.com/ilyatregubov/moodle
Tim Hunt [Wed, 16 Feb 2022 16:41:31 +0000 (16:41 +0000)]
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.
Sujith Haridasan [Sun, 9 Jan 2022 15:27:54 +0000 (20:57 +0530)]
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
Sujith Haridasan [Sat, 5 Feb 2022 13:50:15 +0000 (19:20 +0530)]
MDL-73335 mod_quiz: Add tertiary nav for the quiz module
The tertiary navigation added for quiz module.
- Added tertiary nav buttons for the edit, attempt and view page
- urlselector is added to the overrides page to access user/groups
- The secondary tabs are highlighted when user navigates to
each page in quiz.
- Updated the behat 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.
Jake Dallimore [Thu, 24 Feb 2022 06:26:53 +0000 (14:26 +0800)]
Merge branch 'MDL-73683-master' of https://github.com/ferranrecio/moodle
AMOS bot [Thu, 24 Feb 2022 00:07:39 +0000 (00:07 +0000)]
Automatically generated installer lang files
sam marshall [Wed, 12 Jan 2022 13:21:11 +0000 (13:21 +0000)]
MDL-72837 core_cache: Add versioned cache support
Adds new set_versioned and get_versioned APIs to cache, which means you can
request a specific version from cache and it will not return an outdated
version.
This is important when using multi-layer-caches where a local cache might have
an outdated version of the cache, but the shared cache has a current version.
With this feature, the content of the cache does not have to be rebuilt, as
it will automatically retrieve it from the shared cache if necessary.
sam marshall [Wed, 23 Feb 2022 15:50:07 +0000 (15:50 +0000)]
MDL-72837 core_cache: Remove duplicated code in cache_session
I checked using a diff tool and the difference between 'get' in cache
and cache_session is only:
a) cache_session: call to check_tracked_user at the start
b) cache: Includes code to use static acceleration (but this would
not run anyway in cache_session because use_static_acceleration
returns false)
c) cache: $setaftervalidation logic is used so that it sets it slightly
later (I can't see how this would make any difference)
d) cache_session: uses functions eg get_store() instead of variables
$store; those functions aren't overridden.
This seems like a ridiculous duplication of very complicated code, so
I'm going to remove the duplication before I change it.
sam marshall [Wed, 23 Feb 2022 13:55:47 +0000 (13:55 +0000)]
MDL-72837 core_availability: Fix minor problem with test script
The test script did not correctly rebuild course cache after changing a
cached value in database. While this did not cause failures in the past,
it will after upcoming changes.
sam marshall [Wed, 12 Jan 2022 13:19:55 +0000 (13:19 +0000)]
MDL-72837 core_cache: Rename unit test classes to new standard
For the three unit tests that are going to be modified in future
commit, I first changed them to use a namespace and class name
matching filename, as per current standard.
Sara Arjona [Wed, 23 Feb 2022 14:58:56 +0000 (15:58 +0100)]
Merge branch 'MDL-73355-master-3' of git://github.com/mihailges/moodle
Mihail Geshoski [Mon, 7 Feb 2022 16:13:13 +0000 (00:13 +0800)]
MDL-73355 mod_book: Update the zero state view
Updates the zero state view (when there is no content yet) in
the book activity and also fixes the highlighting of the active
item in the secondary navigation menu in the 'Add new chapter'
page.
Mihail Geshoski [Sun, 20 Feb 2022 17:23:38 +0000 (01:23 +0800)]
MDL-73355 navigation: Do not always mark selected dropdown item active
Avoids always marking a selected dropdown item as active. When the
dropdown item has attribute data-disableactive="true" the active
classes will not be applied to this element. This is sometimes requred,
especially in the primary/secondary navigation more dropdown menu when
the dropdown item is an action link which opens a new page. Setting
this item as active will falsely indicate that the user is currently on
this page.
Mihail Geshoski [Mon, 7 Feb 2022 14:11:22 +0000 (22:11 +0800)]
MDL-73355 core: Add support for action links in core/moremenu_children
Mihail Geshoski [Sun, 20 Feb 2022 17:20:29 +0000 (01:20 +0800)]
MDL-73355 navigation: Add new methods in navigation_node
Adds new methods is_action_link() and action_link_actions() in the
navigation_node class. The is_action_link() method can be used to
check whether the node's action is of type action_link. The
action_link_actions() method returns the formatted data required
for the core/actions template if the navigation node has an action
link.
Mihail Geshoski [Mon, 7 Feb 2022 08:50:58 +0000 (16:50 +0800)]
MDL-73355 output: Set the id when initializing the action_link object
Sara Arjona [Wed, 23 Feb 2022 07:45:39 +0000 (08:45 +0100)]
Merge branch 'MDL-73415-master' of https://github.com/sharidas/moodle
Mathew May [Wed, 15 Dec 2021 08:18:09 +0000 (16:18 +0800)]
MDL-70792 aria: Only set focus on items when triggered by keypress
Andrew Nicols [Fri, 18 Feb 2022 01:19:38 +0000 (09:19 +0800)]
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.
Andrew Nicols [Fri, 18 Feb 2022 00:57:51 +0000 (08:57 +0800)]
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.
Andrew Nicols [Fri, 18 Feb 2022 00:52:45 +0000 (08:52 +0800)]
MDL-73915 js: Upgrade babel and eslint
Andrew Nicols [Fri, 18 Feb 2022 00:29:59 +0000 (08:29 +0800)]
MDL-73915 js: Upgrade packages
Andrew Nicols [Fri, 18 Feb 2022 00:07:49 +0000 (08:07 +0800)]
MDL-73915 js: Switch to nodejs lts/gallium
Andrew Nicols [Thu, 17 Feb 2022 11:32:34 +0000 (19:32 +0800)]
MDL-73915 js: Upgrade node-sass
Peter Dias [Tue, 22 Feb 2022 03:46:14 +0000 (11:46 +0800)]
MDL-73743 navigation: Update primary set_active_node
Account for the situation where we are in the site course and viewing course type options.
Mathew May [Thu, 3 Feb 2022 06:22:23 +0000 (14:22 +0800)]
MDL-73743 navigation: Add more nav nodes to site home
Eloy Lafuente (stronk7) [Tue, 22 Feb 2022 18:40:20 +0000 (19:40 +0100)]
Merge branch 'MDL-73450-MASTER_auroramysql_fix' of https://github.com/Limekiller/moodle
Sujith Haridasan [Mon, 6 Dec 2021 11:02:28 +0000 (16:32 +0530)]
MDL-73415 mod_forum: Address the followup issues for forum
This issue is a followup for changes made in forum. And hence
addresses the following issues spotted for forum:
1. Bring back the "Forums" header in the search page.
2. Remove the stale function forum_update_subscriptions_button
3. Fix the redirection to activity tab when subscription is
changed, in the subscription tab.
Eloy Lafuente (stronk7) [Tue, 22 Feb 2022 16:23:27 +0000 (17:23 +0100)]
Merge branch 'master_MDL-73778-oracle-behat-fix' of https://github.com/catalyst/moodle-MDL-70329
Sara Arjona [Tue, 22 Feb 2022 10:13:12 +0000 (11:13 +0100)]
on-demand release 4.0dev+
Sara Arjona [Tue, 22 Feb 2022 10:13:08 +0000 (11:13 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Tue, 22 Feb 2022 04:25:28 +0000 (12:25 +0800)]
Merge branch 'MDL-73613-master' of git://github.com/mickhawkins/moodle
Safat Shahin [Thu, 17 Feb 2022 05:08:28 +0000 (16:08 +1100)]
MDL-73778 mod_quiz: Oracle Manual grading scenario
This change will resolve Manual grading settings are
remembered as user preferences - failed behat test in
oracle.
Víctor Déniz [Mon, 21 Feb 2022 23:53:11 +0000 (23:53 +0000)]
Merge branch 'MDL-73192' of https://github.com/call-learning/moodle
Eloy Lafuente (stronk7) [Mon, 21 Feb 2022 23:08:33 +0000 (00:08 +0100)]
Merge branch 'MDL-73882-master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Mon, 21 Feb 2022 23:06:53 +0000 (00:06 +0100)]
Merge branch 'MDL-73910-master' of https://github.com/sarjona/moodle
Sara Arjona [Mon, 21 Feb 2022 15:40:31 +0000 (16:40 +0100)]
Merge branch 'MDL-73905' of https://github.com/stronk7/moodle
Sara Arjona [Mon, 21 Feb 2022 15:32:01 +0000 (16:32 +0100)]
Merge branch 'MDL-73872-master' of https://github.com/lucaboesch/moodle
Sara Arjona [Mon, 21 Feb 2022 15:00:44 +0000 (16:00 +0100)]
Merge branch 'MDL-72061-master' of https://github.com/dravek/moodle
Sara Arjona [Mon, 21 Feb 2022 14:39:50 +0000 (15:39 +0100)]
Merge branch 'MDL-73580-master' of git://github.com/mickhawkins/moodle
Sara Arjona [Mon, 21 Feb 2022 14:35:11 +0000 (15:35 +0100)]
Merge branch 'MDL-73883-master' of https://github.com/andrewnicols/moodle
jfederico [Tue, 15 Feb 2022 16:44:24 +0000 (16:44 +0000)]
MDL-73192 mod_bigbluebuttonbn: Lock settings not working
* The lock settings from the instance were not sent to the BBB API
* The global settings related to lock settings did not show
* lockSettingLockOnJoinConfigurable is not working so removed for now
* Fixed lockSettingsLockOnJoin setting
Ferran Recio [Mon, 21 Feb 2022 10:28:17 +0000 (11:28 +0100)]
MDL-73547 core_courseformat: add collapsed section update actions
Now content and course index sections have special mutations to store
the collapsed preferences. This way the backend implementation is
independent of the frontend one and can use caches or other kind of
optimizations of necessary.
Ferran Recio [Mon, 24 Jan 2022 11:39:58 +0000 (12:39 +0100)]
MDL-73547 core_courseformat: enable course index cache
Adding caches to the course editor reactive state. The patch improve the
course index loading.
Sara Arjona [Mon, 21 Feb 2022 11:26:36 +0000 (12:26 +0100)]
Merge branch 'MDL-73791-master' of https://github.com/bmbrands/moodle
Amaia Anabitarte [Mon, 21 Feb 2022 09:46:38 +0000 (10:46 +0100)]
MDL-73882 theme: Improve constrast on course index for dimmed elements
Bas Brands [Wed, 9 Feb 2022 09:37:49 +0000 (10:37 +0100)]
MDL-73791 theme_boost: mobile navbar design updates
Ilya Tregubov [Mon, 21 Feb 2022 09:15:33 +0000 (11:15 +0200)]
Merge branch 'MDL-73273-master' of https://github.com/peterRd/moodle
Sara Arjona [Fri, 18 Feb 2022 10:53:42 +0000 (11:53 +0100)]
MDL-73910 repository: Override get_enabled_plugin() method
The get_enabled_plugin method in repository plugininfo needs to
be overriden from base because current implementation is ignoring
the visible column in the "repository" table.
Eloy Lafuente (stronk7) [Mon, 21 Feb 2022 08:11:51 +0000 (09:11 +0100)]
Merge branch 'MDL-73812-master-enfix' of https://github.com/vmdef/moodle
Michael Hawkins [Tue, 8 Feb 2022 12:47:00 +0000 (20:47 +0800)]
MDL-73613 block_timeline: Fix courses view where event due later today
If a course only had events due later in the current day when filtering
by overdue, it was possible we would show a course name with nothing
below it, because we fetched all events to the end of the day. This fix
means we only load courses with events due before the current time and
avoid the issue.
AMOS bot [Mon, 21 Feb 2022 00:07:39 +0000 (00:07 +0000)]
Automatically generated installer lang files
Luca Bösch [Mon, 14 Feb 2022 14:39:45 +0000 (15:39 +0100)]
MDL-73872 admin: align 'Save changes' and 'Cancel'
Víctor Déniz [Thu, 17 Feb 2022 16:02:56 +0000 (16:02 +0000)]
MDL-73812 lang: Replace modified strings in tests
Helen Foster [Wed, 16 Feb 2022 22:32:59 +0000 (22:32 +0000)]
MDL-73812 lang: Import fixed English strings (en_fix)
Eloy Lafuente (stronk7) [Fri, 18 Feb 2022 11:02:59 +0000 (12:02 +0100)]
MDL-73905 core: fix coding_exception missing namespace
This was leading to exception:
Class 'core\message\coding_exception' not found
Surely we weren't facing this before MDL-67853, but it seems that
now we are hitting it sometimes (being investigated @ MDL-73747).
So, just ensure the proper \coding_exception is used.
Sara Arjona [Fri, 18 Feb 2022 14:03:57 +0000 (15:03 +0100)]
on-demand release 4.0dev+
Sara Arjona [Fri, 18 Feb 2022 14:03:54 +0000 (15:03 +0100)]
NOBUG: Fixed SVG browser compatibility
Sara Arjona [Fri, 18 Feb 2022 14:03:54 +0000 (15:03 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Ferran Recio [Fri, 18 Feb 2022 11:14:04 +0000 (12:14 +0100)]
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.
Ilya Tregubov [Fri, 18 Feb 2022 10:28:54 +0000 (12:28 +0200)]
Merge branch 'MDL-73532-integration-master' of https://github.com/mihailges/moodle
Mihail Geshoski [Fri, 18 Feb 2022 10:11:14 +0000 (18:11 +0800)]
MDL-73532 navigation: Fix the secondary navigation highlighting
Fixes the highlighting of the items the secondary navigation menu
in the single activity course format.
Jun Pataleta [Fri, 18 Feb 2022 04:06:13 +0000 (12:06 +0800)]
Merge branch 'MDL-73608-master' of https://github.com/lameze/moodle
Simey Lameze [Wed, 2 Feb 2022 11:07:05 +0000 (19:07 +0800)]
MDL-73608 user: add contact site support page
AMOS BEGIN
CPY [subject,mod_forum],[subject,moodle]
CPY [message,core_message],[message,moodle]
AMOS END
Andrew Nicols [Fri, 18 Feb 2022 02:55:48 +0000 (10:55 +0800)]
Merge branch 'MDL-72734' of https://github.com/paulholden/moodle
Andrew Nicols [Fri, 18 Feb 2022 02:49:16 +0000 (10:49 +0800)]
Merge branch 'MDL-73748-master-check_for_updates' of https://github.com/mudrd8mz/moodle
Andrew Nicols [Fri, 18 Feb 2022 02:46:28 +0000 (10:46 +0800)]
Merge branch 'MDL-73636' of https://github.com/paulholden/moodle
Andrew Nicols [Fri, 18 Feb 2022 02:44:49 +0000 (10:44 +0800)]
Merge branch 'MDL-73912-master' of https://github.com/junpataleta/moodle
Andrew Nicols [Fri, 18 Feb 2022 02:43:35 +0000 (10:43 +0800)]
Merge branch 'MDL-73871-master' of https://github.com/aanabit/moodle
Peter Dias [Fri, 18 Feb 2022 01:11:57 +0000 (09:11 +0800)]
fixup! MDL-73273 navigation: Add checks to enforce action param types
Víctor Déniz [Thu, 17 Feb 2022 21:49:30 +0000 (21:49 +0000)]
Merge branch 'MDL-73724' of https://github.com/call-learning/moodle
Eloy Lafuente (stronk7) [Thu, 17 Feb 2022 17:34:12 +0000 (18:34 +0100)]
Merge branch 'MDL-73592-master' of git://github.com/rezaies/moodle
Laurent David [Tue, 1 Feb 2022 09:53:20 +0000 (10:53 +0100)]
MDL-73724 mod_bigbluebuttonbn: Error when joining meeting
* When pre-uploaded presentation is uploaded, the meeting refuses to start and
and error is thrown.
Sara Arjona [Thu, 17 Feb 2022 16:08:53 +0000 (17:08 +0100)]
Merge branch 'master_MDL-73699-questionstatus-reviewchanges' of https://github.com/catalyst/moodle-MDL-70329
Sara Arjona [Thu, 17 Feb 2022 15:57:58 +0000 (16:57 +0100)]
Merge branch 'MDL-73794-master' of https://github.com/bmbrands/moodle
Shamim Rezaie [Thu, 17 Feb 2022 14:51:47 +0000 (01:51 +1100)]
MDL-73592 phpunit: Run adhoc tasks after install
Sara Arjona [Thu, 17 Feb 2022 15:07:58 +0000 (16:07 +0100)]
Merge branch 'MDL-73822' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Thu, 17 Feb 2022 14:04:38 +0000 (15:04 +0100)]
Merge branch 'MDL-73875' of https://github.com/ilyatregubov/moodle
Marc-Alexandre Ghaly [Fri, 28 Jan 2022 17:10:59 +0000 (12:10 -0500)]
MDL-73699 qbank_editquestion: Question status UI/UX update
This commit implements a question status UI/UX change in the question bank page
from clickable popup link to dropdown following moodle UI/UX policy.
Ilya Tregubov [Thu, 17 Feb 2022 13:43:31 +0000 (15:43 +0200)]
MDL-73875 behat: Increase allowed size for privacy exports
Because of more moodle.css contents, the total size of the privacy
exports has grown over the allowed size. Just raise it a little bit
more.
Ilya Tregubov [Thu, 17 Feb 2022 13:02:01 +0000 (15:02 +0200)]
Merge branch 'MDL-69764-master' of https://github.com/jpahullo/moodle
Jordi Pujol Ahulló [Tue, 20 Apr 2021 18:32:54 +0000 (20:32 +0200)]
MDL-69764 tool_task: unify crontab verification
Use scheduled_task crontab field verification in
admin/tool/task to unify how Moodle deals with
crontab definition and its verification.
This helps remove duplicated code and fix
crontab definition not allowed in the web form,
but actually was valid.
Updated crontab fields precision on task_scheduled
table to have enough room for the worst case:
all possible different values separated by comma.
Bas Brands [Thu, 10 Feb 2022 08:19:48 +0000 (09:19 +0100)]
MDL-73794 theme_boost: set footer background white
Juan Leyva [Fri, 21 Jan 2022 13:04:59 +0000 (14:04 +0100)]
MDL-73608 tool_mobile: Return support page for not logged-in users
Sara Arjona [Thu, 17 Feb 2022 09:48:58 +0000 (10:48 +0100)]
Merge branch 'MDL-73887' of git://github.com/paulholden/moodle