1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-03 23:42:39 +02:00

103119 Commits

Author SHA1 Message Date
Shamim Rezaie
201f5034f9 Merge branch 'MDL-65799' of https://github.com/Chocolate-lightning/moodle 2021-11-10 18:35:34 +11:00
Mathew May
bdffbe3e48 MDL-65799 enrol: Final deprecations 2021-11-10 15:22:43 +08:00
Mathew May
072311e9f4 MDL-65799 forum: Final deprecations 2021-11-10 15:22:43 +08:00
Mathew May
573c50bde8 MDL-65799 calendar: Final removal of constant 2021-11-10 15:14:05 +08:00
Mathew May
b98d5c1614 MDL-65799 core: Final deprecation of 3.8 functions 2021-11-10 15:14:05 +08:00
Matt Porritt
eaa1f56704 MDL-68913 Assign: Per attempt timing
This patch provides functionality to allow the
assign activity to have timed attempts for submissions.
It includes the logic, UI and adminstration changes
fot timed submissions.
2021-11-10 12:07:35 +08:00
Paul Holden
0d3f58db0a MDL-73007 output: trigger form changechecker when switching tabs.
Co-authored-by: Odei Alba <odeialba@gmail.com>
2021-11-09 17:20:23 +00:00
Juan Leyva
8bbdb41ab5 MDL-61671 tool_mobile: Improve certificate checks
Support different curl implementations and skip last certificate checks in some cases.
2021-11-09 17:05:48 +01:00
Sara Arjona
e871e800f1 Merge branch 'MDL-71912' of https://github.com/stronk7/moodle 2021-11-09 17:01:24 +01:00
Sara Arjona
03af737f21 MDL-71956 filter_h5p: Display the edit content button
The H5P filter will display now the "Edit content" button if the
user can edit the file.
2021-11-09 16:47:19 +01:00
Sara Arjona
eb4e36400e MDL-71956 core_h5p: Add more scenarios to can_edit_content
The method can_edit_content() now supports more scenarios where the
H5P content can be edited:
- Instead of supporting only mod_h5pactivity, now it supports any
mod or block when the user has the addinstance capability.
- If the component implements the can_edit_content method in the
h5p\canedit class and it returns true. For instance, the mod_forum
implements it and return true when filearea is post, if the user
can edit the post where the H5P is.
2021-11-09 16:47:18 +01:00
Eloy Lafuente (stronk7)
19576e54b3 MDL-71912 behat: Temporarily skip some troubled scenarios - js
That way we get everything else passing, because @skip_interim
scenarios are skipped by default. And can focus on the failing
ones apart.
2021-11-09 16:08:48 +01:00
Ilya Tregubov
90b40b99fd Merge branch 'MDL-73001-master' of https://github.com/dravek/moodle 2021-11-09 14:55:30 +02:00
Eloy Lafuente (stronk7)
11eb9f9465 MDL-71912 behat: Temporarily skip some troubled scenarios - nonjs
That way we get everything else passing, because @skip_interim
scenarios are skipped by default. And can focus on the failing
ones apart.
2021-11-09 12:47:34 +01:00
Ferran Recio
b6a0b3a668 MDL-73034 js: add textarea and input check to dragdrop 2021-11-09 11:57:56 +01:00
Jake Dallimore
c5a2e2db6c Merge branch 'MDL-71912-master-V4' of git://github.com/abgreeve/moodle 2021-11-09 11:47:55 +08:00
Sujith Haridasan
0b66b88bb2 MDL-71912 core: Fix behat tests for blocks
Fix the behat tests for blocks
2021-11-09 11:24:08 +08:00
Sujith Haridasan
4d2bfb38df MDL-71912 core_grading: Fix behat test
Fix behat test failure.
2021-11-09 11:24:08 +08:00
Mihail Geshoski
d06da2d1a0 MDL-71912 core_grading: Update behat step definitions 2021-11-09 11:24:08 +08:00
Mihail Geshoski
93b3bf6ed3 MDL-71912 media_videojs: Update behat tests 2021-11-09 11:24:08 +08:00
Adrian Greeve
7520614e26 MDL-71912 course modules: Toggle heading depending on navigation.
If the secondary navigation is on then the activity header does
not need to be displayed twice.
2021-11-09 11:24:08 +08:00
Adrian Greeve
c4c00f4e69 MDL-71912 mod_choice: Small alteration to show responses.
Depending on whether the secondary navigation is shown or not will
determine if the link to the responses is shown on the view.php
page.

Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
Adrian Greeve
b72fa5fbae MDL-71912 behat: Updating various tests using assign steps. 2021-11-09 11:24:08 +08:00
abgreeve
e75eb8481d MDL-71912 mod_assign: Updating the activity to use the actionmenu.
Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
abgreeve
1fa136a9b4 MDL-71912 mod_lesson: Add tertiary navigation to the lesson module.
Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
abgreeve
0c5e1bff21 MDL-71912 mod_book: Update book to implement the action menu.
Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
Jun Pataleta
76db9b294f Merge branch 'MDL-72896-master' of git://github.com/HuongNV13/moodle 2021-11-09 10:45:08 +08:00
Huong Nguyen
ffca35b805 MDL-72896 Accessibility: Make html_table responsive
The tables are generated by html_table will responsive across viewports
2021-11-09 09:41:27 +07:00
AMOS bot
991070b213 Automatically generated installer lang files 2021-11-09 00:07:31 +00:00
Eloy Lafuente (stronk7)
553d56bca9 Merge branch 'MDL-73025-master' of https://github.com/dravek/moodle 2021-11-08 16:53:05 +01:00
Sara Arjona
ecc7c74270 Merge branch 'MDL-72994-master' of https://github.com/lucaboesch/moodle 2021-11-08 16:37:56 +01:00
Sara Arjona
2a22d5b077 Merge branch 'MDL-72950' of https://github.com/stronk7/moodle 2021-11-08 15:33:46 +01:00
Jun Pataleta
2fcf41dcee MDL-73026 theme: Override Bootstrap modal styles for close button
* Adjust the margins to accommodate the button outline so that it
doesn't look clipped.
* Inherit the opacity when the button receives focus to improve the
focus outline's contrast.
2021-11-08 21:43:17 +08:00
Paul Holden
7a7375df4d MDL-72696 behat: support inplace editable fields of type select.
If an inplace editable field is using the "select" type, we should
treat it as a select field when setting it's value during scenarios.
2021-11-08 13:09:05 +00:00
David Matamoros
aaa041a9bd MDL-73001 reportbuilder: Allow to set custom title to fullname columns 2021-11-08 13:54:41 +01:00
Sujith Haridasan
81b0d0533f MDL-72470 calendar: Add breadcrumbs to calendar page
Add breadcrumbs to the calendar page.
2021-11-08 16:53:39 +05:30
David Matamoros
26eddaf5a6 MDL-73025 core: Fix incorrect formatting for inplace editable title 2021-11-08 10:48:44 +01:00
Sara Arjona
87fc8810c2 Merge branch 'MDL-72980' of https://github.com/roland04/moodle 2021-11-08 10:02:04 +01:00
Sara Arjona
2a0c4a8a73 Merge branch 'MDL-72978-master' of https://github.com/dravek/moodle 2021-11-08 09:59:47 +01:00
Sara Arjona
f2d2d7810b Merge branch 'MDL-72959' of https://github.com/paulholden/moodle 2021-11-08 08:57:04 +01:00
Andrew Nicols
97764798a4 Merge branch 'MDL-66776-master' of https://github.com/jleyva/moodle 2021-11-08 08:28:23 +08:00
Luca Bösch
8c66efebe9 MDL-72994 themes: Align Roles column in additional roles. 2021-11-06 00:00:07 +01:00
Eloy Lafuente (stronk7)
63b2bed3f0 MDL-72950 phpunit: Remove skipped tests now that the issue is fixed.
The problem (coincidence of contexts) was detected when running
oracle phpunit tests, so we skipped the tests as part of MDL-72743.

Now, with the problem fixed (previous commit), we can bring back
that test.
2021-11-05 18:52:18 +01:00
Eloy Lafuente (stronk7)
c3a89cc550 MDL-72950 restore: Avoid qcat conflicts with matching contexts
Though it's really rare for this to happen (it only was discovered
when running unit tests with Oracle), it's possible to get
problems restoring courses when context ids in the backup file
do match existing contexts in the restore target site in certain
ways (see the issue for more information).

This change just ensures that every call to the method (that
happens 4 times, for sys, coursecat, course and module levels):

prechek_precheck_qbanks_by_level()

Is processed always for that level. Before the patch it was
possible (hardly but possible) to return question categories
belonging to another level when some qcats contexts were matching
between the backup file and the target site.
2021-11-05 18:52:18 +01:00
Ilya Tregubov
d135a1200a on-demand release 4.0dev+ 2021-11-05 19:18:58 +02:00
Ilya Tregubov
8b55d318e3 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-11-05 19:18:54 +02:00
Safat Shahin
7ee798f679 MDL-72074 qbank_usage: Oracle phpunit issues resolve 2021-11-05 14:18:14 +02:00
Safat Shahin
8c004839c7 MDL-72074 qbank_usage: Behat issues resolve 2021-11-05 14:18:10 +02:00
Shamim Rezaie
96ca995d61 Merge branch 'MDL-70083-master' of git://github.com/jleyva/moodle 2021-11-05 19:20:26 +11:00
Juan Leyva
2d5ee7bf1a MDL-70083 message: Adapt tests to new number of default providers
We now have enough default providers, so no need to show a warning in that case
2021-11-05 08:51:26 +01:00