101527 Commits

Author SHA1 Message Date
Paul Holden
709b5aa9e1 MDL-71764 mod_quiz: custom user profile field support for attempts. 2021-06-10 20:52:22 +01:00
Eric Merrill
9552a027b5 MDL-71896 dml: Add auroramysql to config-dist 2021-06-10 15:29:27 -04:00
Ferran Recio
ee3547306e MDL-71134 course: fix format get_output_classname
The get_output_classname method is used to invoke overridden output
components from course_formats. Now the method does not accept null
output names anymore, and it controls the format class is extending
the core one.
2021-06-10 16:08:39 +02:00
Ferran Recio
e6779782dc MDL-71134 course: new course editor reactive module
The new course editor for Moodle 4.0 is the first AMD
module that will use the new reactive library. This
commit creates creates the initial structure of the
new course editor frontend.
2021-06-10 16:08:39 +02:00
Sujith Haridasan
f11be42fae MDL-68915 core_form: Fix the behat test failure
Fix the behat test failure for the forums when
grades exist.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-06-10 15:05:42 +08:00
Michael Hawkins
18a7f0134d MDL-56873 admin: Set sensible default cURL security settings 2021-06-10 12:01:39 +08:00
Andrew Nicols
fb39111722 Merge branch 'MDL-71806-improve-check-ux' of https://github.com/brendanheywood/moodle 2021-06-10 11:57:45 +08:00
Adrian Greeve
eea0b54fdb Merge branch 'MDL-71369-master' of git://github.com/andrewnicols/moodle 2021-06-10 11:50:48 +08:00
Andrew Nicols
d3654c3a27 Merge branch 'MDL-71838' of https://github.com/timhunt/moodle 2021-06-10 11:38:50 +08:00
Adrian Greeve
4af7195d1e Merge branch 'MDL-68915-master' of https://github.com/sharidas/moodle 2021-06-10 11:35:43 +08:00
Adrian Greeve
226c1d7a45 Merge branch 'MDL-64236-master' of git://github.com/mihailges/moodle 2021-06-10 11:29:19 +08:00
Andrew Nicols
8c8eac9df5 Merge branch 'MDL-67822-schema-check' of https://github.com/brendanheywood/moodle 2021-06-10 11:03:52 +08:00
Sujith Haridasan
25ea1f8e64 MDL-68915 lesson: Do not allow maxgrade change
Do not allow maxgrade change when some of the
users are already graded. As of now this is applicable
to the following activities:
1. Forum
2. Database
3. Lesson
4. Glossary

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-06-10 08:30:39 +05:30
Andrew Nicols
f7222e6ee4 Merge branch 'MDL-71559-master' of https://github.com/sammarshallou/moodle 2021-06-10 10:57:26 +08:00
Adrian Greeve
5e6a3a46fc Merge branch 'MDL-71682' of git://github.com/paulholden/moodle 2021-06-10 10:52:11 +08:00
Andrew Nicols
c116f35cb9 Merge branch 'MDL-71832-master' of https://github.com/sammarshallou/moodle 2021-06-10 10:39:36 +08:00
Andrew Nicols
412c7a4afa MDL-71382 couurse: Remove unnecessary js tag for test 2021-06-10 09:58:12 +08:00
Andrew Nicols
6bc1346333 Merge branch 'MDL-71382-master' of git://github.com/ilyatregubov/moodle 2021-06-10 09:48:55 +08:00
Andrew Nicols
11956c1812 Merge branch 'MDL-71836-master' of https://github.com/sammarshallou/moodle 2021-06-10 09:06:10 +08:00
Andrew Nicols
e146f919fc Merge branch 'MDL-70230-master' of https://github.com/jpahullo/moodle 2021-06-10 08:45:26 +08:00
Andrew Nicols
73a5098a89 Merge branch 'MDL-70846-master' of https://github.com/dcai/moodle 2021-06-10 08:41:11 +08:00
AMOS bot
30da07cfa5 Automatically generated installer lang files 2021-06-10 00:07:45 +00:00
Paul Holden
db98991498 MDL-71888 admin: define clitablesexist string used by CLI installer. 2021-06-09 22:04:30 +01:00
Andrew Nicols
657cbe587e MDL-71736 javascript: Run the ignorefiles command more liberally 2021-06-09 18:54:24 +08:00
Andrew Nicols
64e7326649 MDL-71874 behat: Show warning when using add to section without js 2021-06-09 16:26:43 +08:00
abgreeve
d969465d41 Merge branch 'MDL-67975-master' of https://github.com/sharidas/moodle 2021-06-09 16:14:52 +08:00
Sujith Haridasan
0845f53d14 MDL-67975 nextcloud: Add support for Link to file
This change set would bring the following new additions
to the nextcloud repo:
1. Create a new radio button in filepicker: "Link to file"
2. When user clicks this radio button a warning message
   would be created, saying this file would become public.
   Meaning a public link is created in the nextcloud server.
3. Created a sync_reference method to sync the files downloaded
   from nextcloud server. The sync/refresh time given is 1 day/24 hours.
4. Made sure that when the file is downloaded, we use the file
   from moodledata file pool.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-06-09 13:34:31 +05:30
Andrew Nicols
7782eeb55e Merge branch 'MDL-65637-master' of git://github.com/peterRd/moodle 2021-06-09 13:22:49 +08:00
Eloy Lafuente (stronk7)
9f960ef744 Merge branch 'master_MDL-69194-core_user_update_users' of https://github.com/mattporritt/moodle 2021-06-08 19:26:28 +02:00
abgreeve
1a9e810e06 Merge branch 'MDL-71207_master' of https://github.com/TomoTsuyuki/moodle 2021-06-08 10:44:04 +08:00
Matt Porritt
8281261b5a MDL-69194 user: make core_user_update_users return warnings
Add unit test coverage for the new warning scenarios.
2021-06-08 01:24:48 +00:00
Tomo Tsuyuki
14d11b8f0e MDL-71207 course: Add info for task error 2021-06-08 09:44:59 +10:00
Eloy Lafuente (stronk7)
ee7c31458a Merge branch 'master-MDL-71471_v2' of https://github.com/golenkovm/moodle 2021-06-07 20:14:46 +02:00
Eloy Lafuente (stronk7)
415a8c1c2c Merge branch 'MDL-71135-master' of git://github.com/sarjona/moodle 2021-06-07 12:56:50 +02:00
Ferran Recio
b85cba317e MDL-71134 core: add new reactive modules
The new course creation for Moodle 4.0 requires to add
some leavel of reactivity to the frontend. Instead of
building a specific solution only for the course editor,
in this commit there's a generic solution that can be
used in other places in Moodle to implement single
state reactive components.
2021-06-07 12:27:06 +02:00
Vitaly Potenko
6e7d77d11c MDL-69194 user: make core_user_update_users return warnings
The external function 'core_user_update_users()' always returned 'null' no matter
if a user or users were successfully updated or there were some failures.
So, there was no way for the caller to know which users were updated and which were not.
After the commit changes the function returns an 'external_warnings' instance. The function uses
a delegated transaction for each user to update within a loop. This enables the function to update
as many users as possible. This differs from the previous behavior of the function when it used
a delegate transaction outside of the loop where the users were updated. This resulted in a rollback
of the whole users updating in case any of the users had some invalid data. For each user within a loop
a 'try-catch' block is used to throw exceptions which are actually returned
as warnings by the function when they are caught.
2021-06-07 05:44:49 +00:00
Sara Arjona
5f91cbb611 MDL-71135 course: core_course_get_state external method 2021-06-04 16:43:28 +02:00
Sara Arjona
f7b0960d18 MDL-71135 course: add legacy_format_renderer support
Until Moodle 4.0, renderer.php file was optional (although highly recommended)
for course formats. From Moodle 4.0 onwards, renderer is required to support
the new course editor implementation.
The legacy_format_renderer class has been created for backward compatibility,
to avoid some errors with course formats (such as social) without the renderer
file. Apart from that, course_format->get_renderer() method has been reviewed
to use this legacy_format_renderer when no renderer.php file is found.
2021-06-04 16:43:06 +02:00
Paul Holden
7f6364971e MDL-71052 course: use filetypes setting for course overview files. 2021-06-04 09:35:15 +01:00
Jordi Pujol Ahulló
9c4510a358 MDL-70230 admin: add setting sched. task status
When defining settings that are used by scheduled tasks,
it is also useful, or even needed, to know the status
of that scheduled task to have the whole big picture of
that part of the system.

Based on the admin_setting_description, this new setting
reports its name, its status, a link to the configuration.

When adding a new setting of this type, the user can add
an extra description field to complete the whole meaning.
2021-06-04 08:12:16 +02:00
Mikhail Golenkov
f3cd860698 MDL-71471 assign: Remove submission from queue when converted in web 2021-06-04 15:18:59 +10:00
Eloy Lafuente (stronk7)
411150a424 weekly release 4.0dev 2021-06-03 23:56:05 +02:00
Eloy Lafuente (stronk7)
99f76ae180 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-06-03 23:56:01 +02:00
sam marshall
007cde2eab MDL-71559 core_user: Fields support for PROFILE_VISIBLE_TEACHERS 2021-06-03 11:23:06 +01:00
Bas Brands
c11a90acab MDL-71366 core_question: prevent question options overflow 2021-06-03 11:19:12 +02:00
Bas Brands
265629b568 MDL-71366 core_question: prevent shrinking of input radio 2021-06-03 11:08:38 +02:00
hiendinh
ffb403d9b5 MDL-71813 filepicker: view file not available using keyboard (Enter) 2021-06-03 14:14:21 +07:00
Dongsheng Cai
4357b7ef16 MDL-70846 accessibility: update color to increase contrast 2021-06-03 13:52:05 +10:00
Dongsheng Cai
e3690a392d MDL-70846 accessibility: update tree attributes to pass a11y check
- Move aria-* atrributes from <p> to <li>
- Move "role" attribute from <p> to <li>
- Update behat tests

Based on reference implementation from:
- https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html
- https://www.w3.org/WAI/GL/wiki/Using_ARIA_trees
2021-06-03 13:52:04 +10:00
Andrew Nicols
95fed58b5e Merge branch 'MDL-71741-master' of git://github.com/HuongNV13/moodle 2021-06-03 11:51:12 +08:00