Commit graph

29138 commits

Author SHA1 Message Date
Jake Dallimore
3c7e486205 Merge branch 'MDL-72094-master' of git://github.com/mihailges/moodle 2021-10-06 10:51:29 +08:00
Andrew Nicols
7c357c22a1 Merge branch 'MDL-71707' of https://github.com/paulholden/moodle 2021-10-06 09:15:31 +08:00
Andrew Nicols
d26bd7c078 Merge branch 'MDL-72599' of git://github.com/paulholden/moodle 2021-10-06 09:11:58 +08:00
Andrew Nicols
3482a5494b Merge branch 'MDL-72347-master' of git://github.com/sarjona/moodle 2021-10-05 23:20:38 +02:00
Andrew Nicols
04ff28f00c Merge branch 'MDL-72348-master' of git://github.com/sarjona/moodle 2021-10-05 23:18:51 +02:00
Ilya Tregubov
a4a59a4a74 Merge branch 'MDL-72455-master' of git://github.com/bmbrands/moodle 2021-10-05 23:18:51 +02:00
Ilya Tregubov
85c1947840 Merge branch 'MDL-56773-master' of git://github.com/rezaies/moodle 2021-10-05 23:18:51 +02:00
Andrew Nicols
598f3c2cc3 Merge branch 'MDL-72642-master' of git://github.com/mihailges/moodle 2021-10-05 23:18:51 +02:00
Andrew Nicols
df2af96ffa Merge branch 'MDL-72707' of https://github.com/stronk7/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
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
Paul Holden
d1b1b94fb4 MDL-71306 cohort: ignore empty values in form autocomplete element. 2021-10-04 21:09:56 +01:00
Jun Pataleta
f0b22d1796 MDL-72674 core: Add component library documentation for accessible links 2021-10-05 00:29:34 +08:00
Dani Palou
2e61125a4a MDL-72586 message: New WebService get_unread_notification_count 2021-10-04 14:40:48 +02:00
Jun Pataleta
7ceb0f1de6 MDL-72674 core: Add indicator that feedback link opens in new window
* New pix icon i/externallink
* New lang string opensinnewwindow
* Use the external link pix icon with "Opens in new window" lang string
 as its alt text and add it to the "Give feedback about this software"
 link.
* Update cta template to indicate whether the link opens in new window.
2021-10-04 20:32:18 +08: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
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
Marina Glancy
215b5ac398 MDL-72515 admin: do not call curl unnecessary on plugins page 2021-10-04 09:59:50 +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
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
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)
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
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
Ferran Recio
5d18501ffb MDL-71795 behat: fix breadcrumb navigation step 2021-10-01 09:03:56 +02:00
Ferran Recio
7ad939c592 MDL-71795 courseformat: course index in activity page 2021-10-01 09:03:56 +02:00
Jun Pataleta
b3166c4dcf Merge branch 'MDL-72449-master' of git://github.com/andrewnicols/moodle 2021-10-01 11:43:25 +08:00
Andrew Nicols
29662c3488 Merge branch 'MDL-72329-master' of https://github.com/dravek/moodle 2021-10-01 11:02:28 +08:00
Andrew Nicols
f4604fe5fb Merge branch 'MDL-72544' of git://github.com/paulholden/moodle 2021-10-01 10:14:51 +08:00
Eloy Lafuente (stronk7)
a665ad27d2 Merge branch 'MDL-72396-master' of https://github.com/sharidas/moodle 2021-09-30 20:12:39 +02:00
Víctor Déniz
2384dc7d0a Merge branch 'MDL-72496-master_assert_tag' of https://github.com/call-learning/moodle 2021-09-30 15:40:25 +01:00
Bas Brands
61bacfb935 MDL-72455 theme_boost: enable roundness for bootstrap components 2021-09-30 15:53:44 +02:00
Laurent David
93a3724d8e MDL-72496 question tests: fix assertTag if tag not found
* The basic_test::assertTag method will issue a warning as $tag is not
found, failing the PHP Unit test that uses this method.
* Add tests to check that assertTag is working
2021-09-30 13:04:45 +02:00
Eloy Lafuente (stronk7)
a8268e6562 Merge branch 'MDL-72462' of https://github.com/paulholden/moodle 2021-09-29 23:31:22 +02:00
Andrew Nicols
c83e637ff9 MDL-72621 admin: Add environment check for admin deprecation 2021-09-29 22:39:32 +08:00
Ilya Tregubov
34a0ba3232 Merge branch 'MDL-71610-master' of git://github.com/bmbrands/moodle 2021-09-29 15:40:39 +02:00