109980 Commits

Author SHA1 Message Date
Philipp Memmel
fc13869f5a MDL-40084 mod_data: Rename and move entries ex-/importer classes
Also:
- Extend test coverage
- Small bug fixes
- Codestyle
2023-07-01 20:42:01 +02:00
Shamim Rezaie
c99afc4bff MDL-77563 mod_assign: Improve how grader name is hidden 2023-07-02 01:33:32 +10:00
Shamim Rezaie
8207eaa5d3 MDL-77375 output: Deprecate action_menu::set_constraint() 2023-07-02 00:41:22 +10:00
Shamim Rezaie
316d79d038 MDL-77375 core: Cleanup redundant set_constraint() calls
Also removed the 10rem bottom margin form the quiz editing page. It was
there to make sure that there is enough room for the 'add new question'
dropdown. But it's not needed anymore (hasn't been since long time ago).
2023-07-02 00:41:22 +10:00
Shamim Rezaie
848efb3f13 MDL-77375 core_grades: set boundary of the dropdowns in grade setup page 2023-07-02 00:41:22 +10:00
Shamim Rezaie
91c29c250f MDL-77375 gradereport_singleview: set boundary of the dropdowns 2023-07-02 00:41:22 +10:00
Tim Schroeder
b42ca2cbbd
MDL-78488 question bank: don't load statistics when they are disabled 2023-06-30 11:39:04 +02:00
Jun Pataleta
88e8e0a5ca
MDL-78542 mod_url: clicktoopen lang string fix
- Improve the grammatical structure of the lang string.
- Remove the mention of "link", for sighted users, it should already
be obvious that it's a link. For screen reader users, screen readers
already announce links. So it would be confusing for them to hear
something like "Click 'Moodle.org, link' link to open resource"
2023-06-30 17:26:57 +08:00
Jun Pataleta
e8b3a7e766
MDL-78542 mod_url: Add a help text for URL resource name field
Add a help text explaining that the URL resource's name field will be
used for the link text. Also add basic guidelines about naming links for
the benefit of screen reader users.
2023-06-30 17:26:44 +08:00
Jun Pataleta
8d8af19af0
MDL-78542 mod_url: Use the module name for the URL resource's link text 2023-06-30 17:26:44 +08:00
Huong Nguyen
65b13ed81b
Merge branch 'MDL-78204-master' of https://github.com/roland04/moodle 2023-06-30 16:12:10 +07:00
Huong Nguyen
ac3f0f3622
Merge branch 'MDL-76769' of https://github.com/paulholden/moodle 2023-06-30 16:07:12 +07:00
Jun Pataleta
bc78914b30
MDL-77690 mod_lesson: Lesson accessibility fixes
* Set the heading levels of lesson pages appropriately to avoid skipped
heading issues.
* Add appropriate labels for tertiary navigation select menus.
2023-06-30 17:00:38 +08:00
Jun Pataleta
a587bcc4a2
MDL-77690 core: New activity_header method get_heading_level()
Add a new method for activity_header that determines the heading level
depending on whether the theme displays a heading for the activity
header (usually a h2 heading with the activity name).

E.g. in Boost, the activity name is already being displayed in a
heading. So page headings can be rendered as h2. However, on Classic,
the activity name is being displayed as a h2 heading. So headings need
to be adjusted for the activity pages.
2023-06-30 17:00:33 +08:00
Jun Pataleta
ca07598c6f
MDL-77690 user: Add sr-only heading for the user profile page 2023-06-30 17:00:03 +08:00
Huong Nguyen
89b41be029
Merge branch 'MDL-78454' of https://github.com/paulholden/moodle 2023-06-30 16:00:02 +07:00
Jun Pataleta
08cb2fea89
Merge branch 'MDL-78068-master' of https://github.com/laurentdavid/moodle 2023-06-30 16:42:43 +08:00
Jake Dallimore
a44b66b5fc
MDL-64152 library: Fix legacy LTI launches when using reverse proxy
LTI 1.1 uses OAuth 1.0, which requires 'hostname', among other things,
as part of signature verification. When Moodle is run behind a reverse
proxy, $_SERVER['SERVER_NAME'] is an unreliable way to fetch hostname.
It isn't always equal to the external hostname but instead can contain
the local host, meaning the signature verification will fail. This
change replaces the use of $_SERVER vars with $FULLME - which already
takes this into account - to fix the signature verification.

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
2023-06-30 16:41:03 +08:00
Srdjan
bb1ecd8ea4 MDL-54704 dml: support for SSL with MySQL / MariaDB and PostgreSQL 2023-06-30 15:41:39 +10:00
Ilya Tregubov
a82ccf2b83
MDL-73839 tool_uploadcourse: Temporary disable some tests.
This commit will be reverted in MDL-78522.
2023-06-30 11:57:49 +08:00
Ilya Tregubov
fb4304b075
MDL-73839 tool_uploadcourse: Enable cohort enrolment for course upload. 2023-06-30 11:57:49 +08:00
Ilya Tregubov
491a784813
MDL-73839 tool_uploadcourse: Proper enrol instance updates.
We should use update_instance() method instead of direct query.
Fixed validation role method to validate roleids and role names.
Fiexed bug in unit test - course creator role shouldn't be assigned for
self enrolment method.
2023-06-30 11:57:48 +08:00
Jun Pataleta
f5701a5415
Merge branch 'MDL-77632-master-2' of https://github.com/ilyatregubov/moodle 2023-06-30 10:58:15 +08:00
Ilya Tregubov
21ab60b30b
MDL-78617 formslib: Fix element with no name going to sticky footer. 2023-06-30 10:03:37 +08:00
Mihail Geshoski
b4cbad8b33
MDL-77632 core_grades: Add rowtitle class to grade category cell 2023-06-30 09:29:00 +08:00
Mihail Geshoski
3643f48e0f
MDL-77632 core_grades: Fix row_column_of_table_should_contain() 2023-06-30 09:28:59 +08:00
Ilya Tregubov
65cafd36cc
MDL-77632 core_grades: Move select checkboxes to name column. 2023-06-30 09:28:59 +08:00
Shamim Rezaie
c235339e02 MDL-77375 tool_dataprivacy: set boundary of the dropdowns 2023-06-30 11:27:32 +10:00
Shamim Rezaie
3210652dee MDL-77375 mod_forum: set boundary of the dropdown
Also removed the unnecessary button role from the <button> element
2023-06-30 11:25:04 +10:00
Shamim Rezaie
23d3191684 MDL-77375 mod_assign: set overflow constraint boundary of the dropdowns 2023-06-30 11:25:04 +10:00
Shamim Rezaie
aaadb0d6ef MDL-77375 output: Allow additional options for dropdowns 2023-06-30 11:24:45 +10:00
Shamim Rezaie
d30d229e9a MDL-77375 theme: Re-fix the bootstrap scrollbar issue 2023-06-30 11:15:15 +10:00
David Woloszyn
616c6a0809 MDL-77356 communication_matrix: Update avatar if different 2023-06-30 10:38:40 +10:00
David Woloszyn
162c9fdd66 MDL-77356 communication: Update avatar filename and avatar synced 2023-06-30 10:38:40 +10:00
AMOS bot
7c04fac37c Automatically generated installer lang files 2023-06-30 00:08:50 +00:00
Luca Bösch
46e086fdb6 MDL-78138 theme_boost: Reliably remove TYPE_CATEGORY breadcrumbs. 2023-06-29 21:40:58 +02:00
Rodrigo Mady
a75e81e6cf MDL-77055 mod_scorm: Add SCORM options to get_scorms_by_courses WS 2023-06-29 15:16:01 -03:00
Rodrigo Mady da Silva
eccbe6606a MDL-73239 core_my: Add Webservice core_my_view_page 2023-06-29 15:06:45 -03:00
Philipp Memmel
cf2c91dae2 MDL-40084 mod_data: Add file import support
Co-authored-by: Stefan Hanauska <stefan.hanauska@csg-in.de>
2023-06-29 19:18:15 +02:00
Philipp Memmel
e11b3867ae MDL-40084 mod_data: Harden picture conversion 2023-06-29 19:18:15 +02:00
Philipp Memmel
4003751163 MDL-40084 mod_data: Add file export support 2023-06-29 19:18:15 +02:00
Philipp Memmel
1296a2b868 MDL-40084 mod_data: Refactor importing data
Function data_import_csv has been deprecated.
2023-06-29 19:18:14 +02:00
Philipp Memmel
bdf02ec088 MDL-40084 mod_data: Refactor exporting data
Functions data_export_csv, data_export_ods, data_get_exportdata have been deprecated.
2023-06-29 19:18:14 +02:00
Philipp Memmel
ab09cf2b84 MDL-40084 mod_data: Remove xls export, deprecate data_export_xls 2023-06-29 19:18:14 +02:00
Huong Nguyen
8dbb6183ff
weekly release 4.3dev 2023-06-29 22:22:13 +07:00
Huong Nguyen
3af841965b
MDL-67529 tool_dataprivacy: Fix Behat failures 2023-06-29 17:32:52 +08:00
Andrew Nicols
d8a9692467
Merge branch 'MDL-74570-fix' of https://github.com/sarjona/moodle 2023-06-29 17:32:52 +08:00
Andrew Nicols
86eece196e
Merge branch 'MDL-76104-master' of https://github.com/HuongNV13/moodle 2023-06-29 17:32:51 +08:00
Sara Arjona
7ae114dd5f
MDL-74570 badges: Remove unnecessary hacks 2023-06-29 17:32:51 +08:00
Andrew Nicols
8d860bbd50
Merge branch 'MDL-78247' of https://github.com/paulholden/moodle 2023-06-29 17:32:51 +08:00