Commit graph

24481 commits

Author SHA1 Message Date
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
Andrew Nicols
68c0b45ca3 MDL-73308 mod_bigbluebuttonbn: Ensure breakout data is in metadata 2022-03-01 12:03:01 +08:00
Víctor Déniz
af0e3bcadc Merge branch 'MDL-73855' of https://github.com/ssj365/moodle 2022-03-01 01:56:11 +00:00
Andrew Nicols
6544843894 Merge branch 'MDL-73762-master' of https://github.com/ferranrecio/moodle 2022-03-01 09:35:59 +08: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
Andrew Nicols
05ef98134e Merge branch 'MDL-73308' of https://github.com/call-learning/moodle 2022-02-28 14:06:38 +08:00
Laurent David
5c719062d4 MDL-73962 mod_bigbluebuttonbn: Fix issue with buttons on recording table
* The button labels were not correctly matched with language strings resulting
 in empty buttons
2022-02-26 08:53:57 +01:00
Ferran Recio
23856b1086 MDL-73762 core_courseformat: refactor cm and section outputs 2022-02-25 13:35:23 +01:00
Shamiso Jaravaza
2aa61b3a06 MDL-73855 mod_bigbluebuttonbn: Recording Icon settings removed 2022-02-24 18:07:05 -03:30
Mihail Geshoski
8f6c052717 MDL-73335 mod_quiz: Fix behat tests 2022-02-25 02:34:34 +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
3458d159e1 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.
2022-02-24 09:26:00 +02:00
Sara Arjona
43dbb87ce3 Merge branch 'MDL-73355-master-3' of git://github.com/mihailges/moodle 2022-02-23 15:58:56 +01:00
Mihail Geshoski
cbf74374c4 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.
2022-02-23 21:44:08 +08:00
Sara Arjona
67df769b6b Merge branch 'MDL-73415-master' of https://github.com/sharidas/moodle 2022-02-23 08:45:39 +01: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
Sujith Haridasan
e6a4eb3c36 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.
2022-02-22 21:57:21 +05:30
Eloy Lafuente (stronk7)
ea403ad70d Merge branch 'master_MDL-73778-oracle-behat-fix' of https://github.com/catalyst/moodle-MDL-70329 2022-02-22 17:23:27 +01:00
Safat Shahin
83e6b3d8d8 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.
2022-02-22 11:34:37 +11:00
Víctor Déniz
774a0a06b6 Merge branch 'MDL-73192' of https://github.com/call-learning/moodle 2022-02-21 23:53:11 +00:00
jfederico
8c9f20e645 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
2022-02-21 15:00:46 +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
Sara Arjona
fb19d1cc1f NOBUG: Fixed SVG browser compatibility 2022-02-18 15:03:54 +01:00
Víctor Déniz
649fb3cc49 Merge branch 'MDL-73724' of https://github.com/call-learning/moodle 2022-02-17 22:33:21 +00:00
Laurent David
628ee05f98 MDL-73308 mod_bigbluebuttonn: Breakout room
* Fetch recording attached to breakout meetings
* Add tests for breakoutrooms
2022-02-17 18:23:56 +01:00
Laurent David
c25c134728 MDL-73724 mod_bigbluebuttonbn: Error when joining meeting
* When pre-uploaded presentation is uploaded, the meeting refuses to start and
and error is thrown.
2022-02-17 17:26:38 +01:00
Sara Arjona
af7a0ed1a1 Merge branch 'MDL-73313_master' of https://github.com/tasosb/moodle 2022-02-17 08:38:08 +01:00
Anastasios Bithas
c3f4123b38 MDL-73313 mod_bigbluebutton: Option to disable default welcome message
General configuration BBB default messages now work properly.
The option to disable BBB default messages for a course is now available.
2022-02-16 18:52:51 +02:00
Jun Pataleta
6b65550240 Merge branch 'MDL-73373-master' of https://github.com/peterRd/moodle 2022-02-16 21:14:26 +08:00
Ilya Tregubov
bc6416908d Merge branch 'MDL-73370-master' of https://github.com/peterRd/moodle 2022-02-16 12:52:49 +02:00
Peter Dias
240da1b186 MDL-73370 contentbank: Update behat tests 2022-02-16 17:49:00 +08:00
Sara Arjona
c992130786 Merge branch 'MDL-73840-master' of https://github.com/mihailges/moodle 2022-02-15 17:21:42 +01:00
Sara Arjona
ee20a7ae7b Merge branch 'MDL-73834' of https://github.com/stronk7/moodle 2022-02-15 17:18:38 +01:00
Sujith Haridasan
299504281e Revert "MDL-71915 mod_quiz: Update the behat tests"
This reverts commit 1149f255fe.
2022-02-15 15:58:36 +00:00
Sujith Haridasan
24950e283c Revert "MDL-71915 mod_quiz: Update the tertiary nav"
This reverts commit 6ba821dc01.
2022-02-15 15:58:35 +00:00
Sujith Haridasan
ae377f6940 Revert "MDL-71915 mod_quiz: Render add question when user can edit the quiz"
This reverts commit 29ebc9f153.
2022-02-15 15:54:00 +00:00
Víctor Déniz
a0aeaca013 Merge branch 'MDL-73368' of https://github.com/call-learning/moodle 2022-02-15 15:38:45 +00:00
Ilya Tregubov
256804d2ed Merge branch 'MDL-73532-master-1' of https://github.com/mihailges/moodle 2022-02-15 13:37:24 +02:00
Ilya Tregubov
f4b1fd8477 Merge branch 'MDL-73312' of https://github.com/call-learning/moodle 2022-02-15 13:34:25 +02:00
Laurent David
749b416473 MDL-73312 mod_bigbluebuttonbn: Fix sort by date for recordings
* Fix sorting for dates in recording table
* Code review and getString usage in JS
2022-02-15 08:07:51 +01:00
Mihail Geshoski
2a920abd5b MDL-73840 mod_feedback: Remove the duplicate navigation selector
The patch removes the duplicate navigation selector which appears in the
'Show non-respondents' page by removing the 'nonrespondents' node from
the module's settings navigation. Additionally, it highlights the
'Responses' item in the secondary navigation and sets it as active in
the module settings navigation.
2022-02-14 17:48:30 +08:00
Eloy Lafuente (stronk7)
a419c7ec12 MDL-73834 mod_lti: Don't load external artifacts, original behaviour
Summary:

- With PHP7, libxml_disable_entity_loader() was making those
  flags futile, and the DTDs were not being requested ever.
- With PHP8, the flags get precedence and requests for the
  DTD have started to happen.
- Those requests are not served by W3C (1 minute time-out).
- Those DTDs aren't used by anything in code (no entity
  replacement, no validation...)

Hence:
- Remove the flags so it will work the same in PHP7 and PHP8.
- Just to double ensure we don't want any remote loading
  to happen ever, add explicitly the LIBXML_NONET flag.
2022-02-14 10:26:45 +01:00
Mihail Geshoski
42a0a9a71c MDL-73532 mod_label: Update the load_module_navigation() method 2022-02-14 09:40:27 +08:00