Bas Brands
99a4eee699
MDL-71456 core: fix behats with new drawers
...
The new drawers structure shows that some elements
are dependant from the page structure and broke some
behats. This commit fixes those components and tests.
2021-07-14 11:49:57 +02:00
Bas Brands
1f3006b3b4
MDL-71456 theme_boost: usertour fixes for pages with drawers
2021-07-14 11:49:57 +02:00
Bas Brands
4fa713b0d4
MDL-71456 theme_boost: drawers for blocks and the course index
2021-07-14 11:49:57 +02:00
Eloy Lafuente (stronk7)
c357779722
weekly release 4.0dev
2021-07-08 23:43:55 +02:00
Jun Pataleta
3b0e7c65f4
Merge branch 'MDL-65252-master-fix' of git://github.com/lameze/moodle
2021-07-08 23:30:35 +02:00
Jun Pataleta
b452bab8f7
Merge branch 'MDL-71919-master-fix' of https://github.com/cescobedo/moodle
2021-07-08 23:30:35 +02:00
Adrian Greeve
18515919e1
MDL-61460 tool_componentlibrary: Additional whitespace removal.
2021-07-08 23:30:35 +02:00
cescobedo
084833acbe
MDL-71919 core_message: Fix tests in message_send
2021-07-08 23:30:35 +02:00
Jun Pataleta
f21ac401e2
Merge branch 'MDL-70594' of https://github.com/stronk7/moodle
2021-07-08 23:30:35 +02:00
Huong Nguyen
9b758d5cc8
MDL-71922 file: Enhance endless recursion requests protection
2021-07-08 23:30:35 +02:00
cescobedo
9aa5f7fe9b
MDL-71919 core_message: Fix unclosed html tags in email notification
2021-07-08 23:30:35 +02:00
Adrian Greeve
65642ef97a
Merge branch 'MDL-61460-master-fix' of https://github.com/andrewnicols/moodle
2021-07-08 23:30:34 +02:00
Adrian Greeve
f03a714607
MDL-61460 tool_componentlibrary: removed white space.
...
Also updated the version number as that was causing a problem.
2021-07-08 23:30:34 +02:00
Andrew Nicols
f1525fbdbf
MDL-61460 tool_componentlibrary: JS Documentation fix
2021-07-08 23:30:34 +02:00
Adrian Greeve
a5336912d9
Merge branch 'MDL-61460-master-4' of git://github.com/bmbrands/moodle
2021-07-08 23:30:34 +02:00
Andrew Nicols
b3b7b3daca
MDL-61460 core: Rebuild npm-shrinkwrap for new dependencies
2021-07-08 23:30:34 +02:00
Paul Holden
5bc561ee7a
MDL-71957 auth_shibboleth: safer session retrieval during logout.
2021-07-08 23:30:34 +02:00
Jun Pataleta
23f60fe84f
Merge branch 'MDL-70335' of https://github.com/stronk7/moodle
2021-07-08 23:30:34 +02:00
Dongsheng Cai
a4de29ced3
MDL-71978 core_calendar: only allow owner to edit user subscriptions
2021-07-08 23:30:34 +02:00
Eloy Lafuente (stronk7)
4094b4f92e
MDL-70335 behat: Ensure the scenario passes under all themes
...
Also, get rid of not needed @javascript tag
2021-07-08 23:30:33 +02:00
Adrian Greeve
aad5a102c7
Merge branch 'MDL-71887-master' of https://github.com/snake/moodle
2021-07-08 23:30:33 +02:00
Paul Holden
7d177640b0
MDL-71760 admin: escape identity fields in token management table.
2021-07-08 23:30:33 +02:00
Paul Holden
2408f98357
MDL-71898 mod_quiz: escape user identity fields on override pages.
2021-07-08 23:30:33 +02:00
Mihail Geshoski
4772dece1d
MDL-58393 core: Remove firstname argument from emailconfirmation string
2021-07-08 23:30:33 +02:00
Sujith Haridasan
b2527be7d3
MDL-71241 course: Validate and sanitize sort arguments
...
Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-07-08 23:30:27 +02:00
Mihail Geshoski
084ff0c8da
MDL-71242 core_course: Test the validation of the sort value
...
Adds new unit test, test_course_get_recent_courses_sort_validation(),
which is reponsible for testing the validation of the sort value in
course_get_recent_courses().
2021-07-08 23:30:26 +02:00
Mihail Geshoski
069cc7164c
MDL-71242 core_course: Update test_course_get_recent_courses() unit test
...
Adds additional assertions in test_course_get_recent_courses() test to
ensure that the sort funcionality works as expected.
2021-07-08 23:30:26 +02:00
Mihail Geshoski
68c90578e7
MDL-71242 core_course: Validate the value of the sort argument
...
This change validates the value of the sort argument in
course_get_recent_courses().
2021-07-08 23:29:26 +02:00
Simey Lameze
8fd7e5edeb
MDL-65252 mod_forum: make inline attachment field optional
2021-07-08 16:14:12 +08:00
Bas Brands
fda886c195
MDL-61460 tool_componentlibrary: Bootstrap docs pages v4.6.0
2021-07-08 09:51:02 +08:00
Bas Brands
3de68ad434
MDL-61460 tool_componentlibrary: Documentation for Moodle UI components
...
- This tool is only available for admins
- Before using this tool the hosting admin will need to have NPM installed and be able to run grunt
- To create the docs pages for the library run "grunt componentlibrary"
- After the pages are created the Library is available in Site adminstration > Development > UI Component Library
2021-07-08 09:51:02 +08:00
Andrew Nicols
fa073102d3
MDL-61460 Grunt: Add Component Library tasks
...
This new task handles building of component library documentation,
including the markdown to HTML, an index of the generated content used
for searching, and the CSS for the component library.
2021-07-08 09:51:02 +08:00
Andrew Nicols
2f2ecdae4a
MDL-61460 Grunt: Make startup tasks configurable by tasks
2021-07-08 09:51:02 +08:00
Jun Pataleta
341578bfde
MDL-61460 core: Create a copy to clipboard JS module
...
This works by adding event listeners for elements that contain
the 'copytoclipboard' "data-action" attribute through event delegation.
These trigger elements must also define a "data-clipboard-target"
attribute which contains the query selector for the target element
where text will be copied.
On success, a toast message is shown to the user that the text has
been copied to the clipboard. This success message can be customised
by passing a message string to the "data-clipboard-success-message"
attribute in the trigger element.
When the element's value or innerText cannot be found, a toast message
indicating that the text cannot be copied to the clipboard is shown.
The copy to clipboard functionality is primarily using the Clipboard API
but in the event that this is not available, e.g. the site is not
running on HTTPS, this falls back to the document.execCommand('copy')
approach of copying the text in the target container.
Special thanks to Andrew for improving this module with the event
delegation approach and improved fallback handling.
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk>
2021-07-08 09:50:34 +08:00
Claude Vervoort
c8c81a1357
MDL-71887 mod_lti: repost when no cookie due to crosssite request
2021-07-07 14:17:12 +08:00
Michael Hawkins
0afab1d0f9
MDL-71916 lib: Check cURL redirects for blocked URLs before following
2021-07-06 23:45:59 +02:00
Eloy Lafuente (stronk7)
e5b76c53b3
Merge branch 'MDL-70638' of git://github.com/paulholden/moodle
2021-07-06 20:21:16 +02:00
Eloy Lafuente (stronk7)
320eda3f7e
Merge branch 'MDL-70335-master' of https://github.com/juancs/moodle
2021-07-06 20:18:16 +02:00
Eloy Lafuente (stronk7)
33666c1b5f
Merge branch 'MDL-71537-master' of https://github.com/NashTechOpenUniversity/moodle
2021-07-06 20:16:21 +02:00
Ilya Tregubov
c3a731d2d2
Merge branch 'MDL-26171' of git://github.com/paulholden/moodle
2021-07-06 12:46:23 +02:00
Paul Holden
4f343bd359
MDL-70638 user: correct access checks when serving profile files.
...
Requests for files from a users profile file area should follow
the same access checks as for the profile itself.
2021-07-06 10:28:24 +01:00
Jun Pataleta
761f1d7d51
Merge branch 'MDL-65252-master' of git://github.com/lameze/moodle
2021-07-06 14:04:33 +08:00
Simey Lameze
2a95ac4659
MDL-65252 forum: add missing inline attachments logic to forum API
2021-07-06 13:49:29 +08:00
cescobedo
2f4647c684
MDL-71917 core_message: Use $USER in WS delete_message_for_all_users
2021-07-06 13:34:23 +08:00
Thach Le Huy
1cf69802f0
MDL-71537 User tours: Minor display errors on mobile
2021-07-06 09:29:33 +07:00
Paul Holden
526f5eccb9
MDL-71981 user: escape identity fields if writer supports HTML.
2021-07-06 09:27:15 +08:00
Paul Holden
f3b3684e5b
MDL-71981 dataformat: indicate HTML support in writer callback.
2021-07-06 09:27:15 +08:00
Ilya Tregubov
f77ff61ac1
Merge branch 'MDL-71796-master' of git://github.com/lameze/moodle
2021-07-05 12:32:09 +02:00
Simey Lameze
f7155953f4
MDL-71796 mod_scorm: fix custom completion logic
...
AMOS BEGIN
MOV [completiondetail:completionstatuscompletedandpassed,mod_scorm],[completiondetail:completionstatuscompletedorpassed,mod_scorm]
AMOS END
2021-07-05 17:46:31 +08:00
Eloy Lafuente (stronk7)
2d3798bd39
Merge branch 'MDL-71885-master' of git://github.com/sarjona/moodle
2021-07-05 11:43:35 +02:00