102266 Commits

Author SHA1 Message Date
Víctor Déniz
55c3cf3870 Merge branch 'MDL-72691_Open_popup_fix_after_ajax_reload' of git://github.com/lostrogit/moodle 2021-10-05 23:18:50 +02:00
Eloy Lafuente (stronk7)
f6a023d301 Merge branch 'MDL-72276' of https://github.com/vmdef/moodle 2021-10-05 23:18:50 +02:00
Andrew Nicols
0310b76642 MDL-71963 js: Address lint issues in integration 2021-10-05 23:18:50 +02:00
Andrew Nicols
89457e9acb Merge branch 'MDL-71963-master' of https://github.com/Chocolate-lightning/moodle 2021-10-05 23:18:50 +02:00
Víctor Déniz
48b5d50200 MDL-72276 block_timeline: behat scenario update after aria label change 2021-10-05 23:18:47 +02:00
Ilya Tregubov
40e4f5fc6b Merge branch 'MDL-72395' of https://github.com/stronk7/moodle 2021-10-05 23:18:47 +02:00
Víctor Déniz
2957711cd5 Merge branch 'MDL-72276-master' of git://github.com/junpataleta/moodle 2021-10-05 23:18:47 +02:00
Ilya Tregubov
e560a4becc Merge branch 'master_MDL-71679-mod_quiz-52' of https://github.com/catalyst/moodle-MDL-70329 2021-10-05 23:18:47 +02:00
Andrew Nicols
8b7fb0f7ab Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle 2021-10-05 23:18:46 +02:00
Paul Holden
968b872c9d MDL-71707 libraries: upgrade to version 3.3.0 of Spout. 2021-10-05 08:04:47 +01:00
Alex Rowe
5ea613c99b MDL-57980 grade_items: add mdl_grade_items index
New index created on itemtype, itemmodule, iteminstance and courseid
2021-10-05 09:30:14 +11:00
Carlos Castillo
a9f45b0842 MDL-72691 reportbuilder: Encode popup data inside report actions.
Encode all popup data for report actions inside the action link
itself, because previously reloading a report via AJAX meant
actions no longer opened in popups, because the required JS was
absent from the page.
2021-10-04 09:59:42 -05:00
Paul Holden
fe53a6262f MDL-72597 course: use formatted course module name in context header. 2021-10-04 14:19:58 +01:00
Neill Magill
377c618083 MDL-72326 grunt: Fix component library grunt on Windows
Before this change grunt tried to use the Linux version of files in
node_modules/.bin rather than the Windows version which is generated
by npm.

To avoid this issue we need to run the components directly.
2021-10-04 13:18:08 +01:00
Peter Dias
2c7893cf9f MDL-52206 core: Update new activity_custom_completion
Update the custom_completion classes to accept the new completion
criteria
2021-10-04 19:45:47 +08:00
Peter Dias
d975251813 MDL-52206 completion: New criteria to handle behaviour between modules 2021-10-04 19:45:45 +08:00
Peter Dias
cd52b46e89 MDL-52206 quiz: Remove completionpass completion from quiz
AMOS BEGIN
 MOV [completionpass,mod_quiz],[completionpassgrade,core_completion]
 MOV [completionpassdesc,mod_quiz],[completionpassgrade_desc,core_completion]
 MOV [completionpass_help,mod_quiz],[completionpassgrade_help,core_completion]
AMOS END
2021-10-04 19:44:03 +08:00
Peter
90acd8d381 MDL-52206 core: Add completion criteria to course_modules 2021-10-04 19:44:02 +08:00
Peter
663137748e MDL-52206 core: Add completion based on pass grade
Add new completion based on pass grade to the completion criteria.
2021-10-04 19:42:34 +08:00
Joshua Ebarvia
ddfc1ba89a MDL-39324 mod_url: Fix icon when URL has params 2021-10-04 20:05:43 +10:30
Marina Glancy
215b5ac398 MDL-72515 admin: do not call curl unnecessary on plugins page 2021-10-04 09:59:50 +02:00
Sara Arjona
2a3527ccb0 MDL-72407 videojs: Remove videojs-flash and videojs-swf libraries
Apart from removing these libraries because the Flash Player was deprecated
in 2017 and officially discontinued on 31 December 2020, the rtmp and useflash
settings have been removed too (they make no sense anymore).
2021-10-04 09:31:25 +02:00
Sara Arjona
f02de69971 MDL-72348 repository: Deprecate import from skydrive repo
The repository_skydrive has been removed from core. Methods for
importing files from skydrive to onedrive repository have been
deprecated and will be completely removed in Moodle 4.4.
2021-10-04 09:30:45 +02:00
Sara Arjona
70e6deacee MDL-72348 repository: Remove Microsoft OneDrive legacy (skydrive)
The repository_skydrive was deprecated in 3.3 and here it has been
removed from core.
2021-10-04 09:30:43 +02:00
Sara Arjona
32576936ad MDL-72347 filter: Remove censor filter
Word censorship filter is not widely used these days so it has been
removed from Moodle core.
2021-10-04 09:28:59 +02:00
Mathew May
6dcb5eb8a5 MDL-71963 Core: Add toast for confirmation modal success 2021-10-04 13:08:44 +08:00
Andrew Nicols
529c5c2ece MDL-71963 Core: Convert block deletion to a modal
Co-authored-by: Mathew May <mathewm@hotmail.co.nz>
2021-10-04 13:07:31 +08:00
Safat Shahin
f9fc355ec7 MDL-71679 mod_quiz: Updates for new qbank api
This implementation will introduct changes to
the mod_quiz to implement the new qbank api
for view. Major changes are introduced in
the custom view and also all the legacy points
to the old qbank are changed to qbank plugins
where needed. It also deprecated and deletes
classes and scripts which were kept not to
break mod_quiz for the new api implementation.
2021-10-04 15:44:25 +11:00
Jun Pataleta
f7d14691f7 MDL-72276 block_timeline: Update wording for the date filter 2021-10-04 11:30:37 +08:00
Jun Pataleta
bbcf026ce4 MDL-72276 block_timeline: Make screen readers announce current selection
* Have the currently selected dropdown menu item serve as the dropdown's
description in order for screen readers to announce its current
selection.
 - JAWS and NVDA both read this as "[element name] [selected value]".
 - Chrome screen reader (formerly ChromeVox) does not announce the
description.
* Add a title attribute so the dropdown's element name can be shown by
browsers on hover.
2021-10-04 11:30:36 +08:00
Jun Pataleta
04392abd53 MDL-72276 block_timeline: Show current selection on timeline dropdowns 2021-10-04 11:30:36 +08:00
Andrew Nicols
a8db8e590a MDL-72291 js: Fix event names for inplace_editable 2021-10-04 11:17:10 +08:00
Andrew Nicols
c00e7b1bb8 Merge branch 'MDL-72291' of git://github.com/paulholden/moodle 2021-10-04 10:54:32 +08:00
Adrian Greeve
7a1b3e0f2c Merge branch 'MDL-72355-master' of git://github.com/mickhawkins/moodle 2021-10-04 10:35:26 +08:00
Paul Holden
e55abd713e MDL-72662 reportbuilder: add relative date options to date filter.
Allow user to filter dates relative to the current date, e.g dates
within the previous year, the current week or next month.
2021-10-03 11:53:11 +01:00
Eloy Lafuente (stronk7)
c78624af2b MDL-72707 install: update the list of stale files for 4.0
Note that, at the same time, the function has got
return type specified and simple conversion to short-array.
2021-10-02 22:46:15 +02:00
Eloy Lafuente (stronk7)
c99f7e1a0a MDL-72395 composer: Update to newer dependencies
More notably PHPUnit to 9.5.9 that comes with some good fixes
and better support for go prospecting php81 (beta) status.

Generated with php73, that is the lower version supported
by this branch, following the instructions @ https://docs.moodle.org/dev/Composer
2021-10-02 22:46:06 +02:00
Eloy Lafuente (stronk7)
1a9bee69e6 weekly release 4.0dev 2021-10-02 22:05:06 +02:00
Eloy Lafuente (stronk7)
200fb14b30 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-10-02 22:05:00 +02:00
Eloy Lafuente (stronk7)
0b6ed7bf7a Merge branch 'MDL-72714' of git://github.com/stronk7/moodle 2021-10-02 08:16:55 +02:00
Eloy Lafuente (stronk7)
8e90d8309c MDL-72714 behat: Make the window larger earlier
The step that causes the problem is:

And I navigate to "Badges > Add a new badge" in current page administration

(because "Add a new badge" is exactly on the edge (bottom) of the window)

So we need to make the window large before it, not after it, or the
"Add a new badge" link won't be ever clicked.
2021-10-01 22:40:10 +02:00
Víctor Déniz
d0c9ba98da Merge branch 'MDL-72329' of https://github.com/stronk7/moodle 2021-10-01 19:10:41 +01:00
Eloy Lafuente (stronk7)
e4f33b837c MDL-72329 phpunit: Avoid === on floats and raw reserved word
In general it's a bad idea to compare floats with ===,
because depending of different systems precision, can
come to mismatches after certain decimal position.

So we replace them by:

- assetIsFloat() : to verify the type.
- assertEqualsWithDelta() : to compare values with some delta allowed.

Also, "raw" is Oracle reserved word, so renaming to "someraw" in tests.
2021-10-01 18:40:06 +02:00
Sujith Haridasan
bd12395717 MDL-72396 core: Fix the primary active tab for my/index.php
Fix the primary active tab for my/index.php
2021-10-01 13:24:10 +02:00
Víctor Déniz
f01d69cb05 Merge branch 'MDL-72714-master' of git://github.com/ilyatregubov/moodle 2021-10-01 13:21:46 +02:00
Andrew Nicols
0437f409e5 Merge branch 'MDL-72329' of https://github.com/stronk7/moodle 2021-10-01 13:21:46 +02:00
Ilya Tregubov
bb0942ad71 Merge branch 'MDL-71610-master' of git://github.com/andrewnicols/moodle 2021-10-01 13:21:46 +02:00
Eloy Lafuente (stronk7)
0df1347304 MDL-72329 phpunit: Fix some tests
- XMLDB_TYPE_FLOAT definition was incorrect, meaning no decimals for
  some DBs.
- Avoid using reserved words in column names.
2021-10-01 13:21:45 +02:00
Paul Holden
244d304b6e MDL-72291 output: emit native events from inplace editable element.
Removes jQuery dependency from calling code that wants to listen
for these events. Maintains backwards compatibility with existing
code that does want to listen to jQuery-style events.
2021-10-01 10:41:45 +01:00
Andrew Nicols
1d2cdb3a0d MDL-71610 behat: Add custom steps for edit mode checks 2021-10-01 16:41:03 +08:00