Adrian Greeve [Thu, 8 Jul 2021 03:16:05 +0000 (11:16 +0800)]
MDL-61460 tool_componentlibrary: removed white space.
Also updated the version number as that was causing a problem.
Adrian Greeve [Thu, 8 Jul 2021 01:04:43 +0000 (09:04 +0800)]
Merge branch 'MDL-61460-master-4' of git://github.com/bmbrands/moodle
Paul Holden [Mon, 21 Jun 2021 08:29:07 +0000 (09:29 +0100)]
MDL-71957 auth_shibboleth: safer session retrieval during logout.
Jun Pataleta [Wed, 7 Jul 2021 11:44:28 +0000 (19:44 +0800)]
Merge branch 'MDL-70335' of https://github.com/stronk7/moodle
Dongsheng Cai [Tue, 6 Jul 2021 06:55:21 +0000 (16:55 +1000)]
MDL-71978 core_calendar: only allow owner to edit user subscriptions
Eloy Lafuente (stronk7) [Wed, 7 Jul 2021 11:23:05 +0000 (13:23 +0200)]
MDL-70335 behat: Ensure the scenario passes under all themes
Also, get rid of not needed @javascript tag
Adrian Greeve [Wed, 7 Jul 2021 06:38:47 +0000 (14:38 +0800)]
Merge branch 'MDL-71887-master' of https://github.com/snake/moodle
Paul Holden [Wed, 26 May 2021 17:12:43 +0000 (18:12 +0100)]
MDL-71760 admin: escape identity fields in token management table.
Paul Holden [Thu, 10 Jun 2021 20:37:53 +0000 (21:37 +0100)]
MDL-71898 mod_quiz: escape user identity fields on override pages.
Mihail Geshoski [Thu, 20 May 2021 01:09:22 +0000 (09:09 +0800)]
MDL-58393 core: Remove firstname argument from emailconfirmation string
Sujith Haridasan [Mon, 10 May 2021 11:50:05 +0000 (17:20 +0530)]
MDL-71241 course: Validate and sanitize sort arguments
Signed-off-by: Sujith Haridasan <sujith@moodle.com>
Mihail Geshoski [Thu, 13 May 2021 06:42:40 +0000 (14:42 +0800)]
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().
Mihail Geshoski [Thu, 13 May 2021 06:10:19 +0000 (14:10 +0800)]
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.
Mihail Geshoski [Wed, 12 May 2021 09:46:31 +0000 (17:46 +0800)]
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().
Bas Brands [Thu, 27 May 2021 13:51:46 +0000 (15:51 +0200)]
MDL-61460 tool_componentlibrary: Bootstrap docs pages v4.6.0
Bas Brands [Thu, 27 May 2021 13:37:25 +0000 (15:37 +0200)]
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
Andrew Nicols [Thu, 18 Mar 2021 23:48:14 +0000 (07:48 +0800)]
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.
Andrew Nicols [Fri, 19 Mar 2021 04:36:54 +0000 (12:36 +0800)]
MDL-61460 Grunt: Make startup tasks configurable by tasks
Jun Pataleta [Wed, 23 Jun 2021 09:27:09 +0000 (17:27 +0800)]
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>
Claude Vervoort [Tue, 22 Jun 2021 21:31:04 +0000 (17:31 -0400)]
MDL-71887 mod_lti: repost when no cookie due to crosssite request
Michael Hawkins [Fri, 2 Jul 2021 09:13:52 +0000 (17:13 +0800)]
MDL-71916 lib: Check cURL redirects for blocked URLs before following
Eloy Lafuente (stronk7) [Tue, 6 Jul 2021 18:21:16 +0000 (20:21 +0200)]
Merge branch 'MDL-70638' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 6 Jul 2021 18:18:16 +0000 (20:18 +0200)]
Merge branch 'MDL-70335-master' of https://github.com/juancs/moodle
Eloy Lafuente (stronk7) [Tue, 6 Jul 2021 18:16:21 +0000 (20:16 +0200)]
Merge branch 'MDL-71537-master' of https://github.com/NashTechOpenUniversity/moodle
Ilya Tregubov [Tue, 6 Jul 2021 10:46:23 +0000 (12:46 +0200)]
Merge branch 'MDL-26171' of git://github.com/paulholden/moodle
Paul Holden [Thu, 10 Jun 2021 22:29:44 +0000 (23:29 +0100)]
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.
Jun Pataleta [Tue, 6 Jul 2021 06:04:33 +0000 (14:04 +0800)]
Merge branch 'MDL-65252-master' of git://github.com/lameze/moodle
Simey Lameze [Fri, 25 Jun 2021 05:40:08 +0000 (13:40 +0800)]
MDL-65252 forum: add missing inline attachments logic to forum API
cescobedo [Fri, 2 Jul 2021 05:10:01 +0000 (07:10 +0200)]
MDL-71917 core_message: Use $USER in WS delete_message_for_all_users
Thach Le Huy [Wed, 16 Jun 2021 06:49:41 +0000 (13:49 +0700)]
MDL-71537 User tours: Minor display errors on mobile
Paul Holden [Fri, 18 Jun 2021 11:26:18 +0000 (12:26 +0100)]
MDL-71981 user: escape identity fields if writer supports HTML.
Paul Holden [Fri, 18 Jun 2021 09:15:27 +0000 (10:15 +0100)]
MDL-71981 dataformat: indicate HTML support in writer callback.
Ilya Tregubov [Mon, 5 Jul 2021 10:32:09 +0000 (12:32 +0200)]
Merge branch 'MDL-71796-master' of git://github.com/lameze/moodle
Simey Lameze [Wed, 16 Jun 2021 09:57:48 +0000 (17:57 +0800)]
MDL-71796 mod_scorm: fix custom completion logic
AMOS BEGIN
MOV [completiondetail:completionstatuscompletedandpassed,mod_scorm],[completiondetail:completionstatuscompletedorpassed,mod_scorm]
AMOS END
Eloy Lafuente (stronk7) [Mon, 5 Jul 2021 09:43:35 +0000 (11:43 +0200)]
Merge branch 'MDL-71885-master' of git://github.com/sarjona/moodle
Sara Arjona [Thu, 10 Jun 2021 15:58:49 +0000 (17:58 +0200)]
MDL-71885 core_h5p: Display the edit content button
A new parameter has been added to the display method, to define whether
the edit button should be displayed or not.
The H5P activity will display this button (if the user has the required
permissions). However, it won't be displayed when previewing H5P in the
content bank.
Sara Arjona [Thu, 10 Jun 2021 15:07:30 +0000 (17:07 +0200)]
MDL-71885 core_h5p: Add the form for editing content
The editor form is based on the code that Victor Deniz prepared
while he was working on the integration of the H5P editor into
Moodle. The original version of this file can be found in
MDL-67814.
Sara Arjona [Thu, 10 Jun 2021 14:55:09 +0000 (16:55 +0200)]
MDL-71885 core_h5p: Add new methods to API
Eloy Lafuente (stronk7) [Sun, 4 Jul 2021 09:02:13 +0000 (11:02 +0200)]
Merge branch 'MDL-72063-master-en_fix' of git://github.com/mudrd8mz/moodle
Juan Segarra Montesinos [Sat, 3 Jul 2021 07:49:36 +0000 (09:49 +0200)]
MDL-70335 mod_forum: Subscribe users from Forced to Auto mode
When a teacher changes the subscription mode from forced
subscription to auto subscription using the "cog" icon in the
forum page, users are not seen in the Show/edit current
subscribers" page.
This does not happens when done from the Edit settings page.
Jake Dallimore [Thu, 17 Dec 2020 05:09:53 +0000 (13:09 +0800)]
MDL-65252 mod_forum: fix posts builder so it excludes hidden posts
This makes the builder capability aware, via an injected manager
factory and fixes unit tests.
Jake Dallimore [Thu, 17 Dec 2020 03:41:55 +0000 (11:41 +0800)]
MDL-65252 mod_forum: fix get_discussions_posts for deleted posts
Simey Lameze [Thu, 19 Nov 2020 01:14:02 +0000 (09:14 +0800)]
MDL-65252 mod_forum: removal of get_forum_discussion_posts ws
Simey Lameze [Tue, 17 Nov 2020 23:49:59 +0000 (07:49 +0800)]
MDL-65252 core: final deprecation of forum_count_replies() function
David Mudrák [Thu, 1 Jul 2021 12:14:01 +0000 (14:14 +0200)]
MDL-72063 lang: Use fixed strings in tests, too
Ilya Tregubov [Thu, 1 Jul 2021 14:41:59 +0000 (16:41 +0200)]
weekly release 4.0dev
Helen Foster [Thu, 1 Jul 2021 12:11:23 +0000 (14:11 +0200)]
MDL-72063 lang: Import fixed English strings (en_fix)
Adrian Greeve [Thu, 1 Jul 2021 04:01:12 +0000 (12:01 +0800)]
Merge branch 'MDL-71366-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Thu, 1 Jul 2021 03:40:25 +0000 (11:40 +0800)]
Merge branch 'MDL-71176-master_password_autocomplete' of https://github.com/safatshahin/moodle
Andrew Nicols [Thu, 1 Jul 2021 03:10:43 +0000 (11:10 +0800)]
Merge branch 'MDL-72010' of https://github.com/timhunt/moodle
Safat Shahin [Wed, 23 Jun 2021 03:47:21 +0000 (13:47 +1000)]
MDL-71176 login: Add html5 autocomplete attributes
This implementation will include the correct
autocomplete attribute value so that the password
managers can aid in creating good secure passwords
and not get confused with other autocomplete types.
There are some changes the password type form so
that autocomplete attribute can be passed an array.
Andrew Nicols [Thu, 1 Jul 2021 02:23:47 +0000 (10:23 +0800)]
Merge branch 'MDL-71314' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 1 Jul 2021 02:11:14 +0000 (10:11 +0800)]
Merge branch 'MDL-71771-master' of git://github.com/HuongNV13/moodle
Andrew Nicols [Thu, 1 Jul 2021 01:56:31 +0000 (09:56 +0800)]
Merge branch 'master_MDL-71175' of https://github.com/danmarsden/moodle
Andrew Nicols [Thu, 1 Jul 2021 01:52:48 +0000 (09:52 +0800)]
Merge branch 'MDL-68003' of https://github.com/timhunt/moodle
Sara Arjona [Wed, 30 Jun 2021 14:55:31 +0000 (16:55 +0200)]
Merge branch 'MDL-67208-master' of git://github.com/lameze/moodle
Sara Arjona [Wed, 30 Jun 2021 14:29:33 +0000 (16:29 +0200)]
Merge branch 'MDL-71789-master' of git://github.com/lameze/moodle
Sara Arjona [Wed, 30 Jun 2021 14:16:07 +0000 (16:16 +0200)]
Merge branch 'MDL-71971-master' of git://github.com/lucaboesch/moodle
Sara Arjona [Wed, 30 Jun 2021 14:09:30 +0000 (16:09 +0200)]
Merge branch 'MDL-71991' of https://github.com/timhunt/moodle
Andrew Nicols [Wed, 30 Jun 2021 02:04:23 +0000 (10:04 +0800)]
Merge branch 'MDL-71863-master-v02' of git://github.com/ferranrecio/moodle
Eloy Lafuente (stronk7) [Tue, 29 Jun 2021 16:37:20 +0000 (18:37 +0200)]
Merge branch 'MDL-66539-master' of git://github.com/HuongNV13/moodle
Tim Hunt [Mon, 28 Jun 2021 20:25:07 +0000 (21:25 +0100)]
MDL-68003 session timeout warning: don't show in iframes
Paul Holden [Mon, 28 Jun 2021 19:40:28 +0000 (20:40 +0100)]
MDL-26171 user: implement method for retrieving fullname via SQL.
Ferran Recio [Tue, 29 Jun 2021 09:52:48 +0000 (11:52 +0200)]
MDL-71863 core_courseformat: mode site renderer to autoload
Eloy Lafuente (stronk7) [Tue, 29 Jun 2021 09:39:26 +0000 (11:39 +0200)]
Merge branch 'MDL-71947-master' of https://github.com/bmbrands/moodle
Ferran Recio [Fri, 18 Jun 2021 10:00:25 +0000 (12:00 +0200)]
MDL-71863 courseformat: new course editor methods in courseeditor AMD
The module now exports a getCourseEditor and a getCurrentCourseEditor
methods. The module is more consistent as it can be used to get
other course than the current one.
Ferran Recio [Tue, 22 Jun 2021 07:51:45 +0000 (09:51 +0200)]
MDL-71863 core: add templates to ignored plugin folders
Ferran Recio [Tue, 22 Jun 2021 07:50:35 +0000 (09:50 +0200)]
MDL-71863 courseformat: create courseformat subsystem
Sara Arjona [Mon, 28 Jun 2021 09:33:18 +0000 (11:33 +0200)]
Merge branch 'MDL-71777' of https://github.com/appalachianstate/moodle
Paul Holden [Thu, 24 Jun 2021 18:02:59 +0000 (19:02 +0100)]
MDL-71314 course: add category record snapshot to deletion event.
Fred Woolard [Sun, 30 May 2021 21:59:58 +0000 (17:59 -0400)]
MDL-71777 antivirus: Use hash_from_path (sha1_file)
Dan Marsden [Wed, 14 Apr 2021 02:51:51 +0000 (14:51 +1200)]
MDL-71175 plagiarism: Deprecate some old functions.
Luca Bösch [Fri, 18 Jun 2021 11:57:02 +0000 (13:57 +0200)]
MDL-71971 mod_quiz: separate "Repaginate" and "Select multiple items"
Eloy Lafuente (stronk7) [Thu, 24 Jun 2021 21:03:06 +0000 (23:03 +0200)]
weekly release 4.0dev
Eloy Lafuente (stronk7) [Thu, 24 Jun 2021 21:03:02 +0000 (23:03 +0200)]
NOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Thu, 24 Jun 2021 21:03:01 +0000 (23:03 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Tim Hunt [Thu, 24 Jun 2021 10:42:33 +0000 (11:42 +0100)]
MDL-72010 quiz: prevent session timeouts during attempts
Bas Brands [Thu, 24 Jun 2021 10:31:13 +0000 (12:31 +0200)]
MDL-71947 core_quiz: vertical forms for access rule popups
Bas Brands [Thu, 24 Jun 2021 10:16:48 +0000 (12:16 +0200)]
MDL-71947 theme_boost: fix styles for vertical forms
Simey Lameze [Mon, 14 Jun 2021 02:49:37 +0000 (10:49 +0800)]
MDL-67208 calendar: fix manage subscription redirection
This patch fix the subcription page only adding the course parameter
only when viewing the calendar on course context. It also passes the
url to the form instance, so we have the course parameter on the
form action attribute.
Andrew Nicols [Thu, 24 Jun 2021 04:00:09 +0000 (12:00 +0800)]
Merge branch 'MDL-71694-master' of https://github.com/lucisgit/moodle
Andrew Nicols [Thu, 24 Jun 2021 03:21:55 +0000 (11:21 +0800)]
Merge branch 'MDL-67536-master' of https://github.com/dcai/moodle
Andrew Nicols [Thu, 24 Jun 2021 03:13:10 +0000 (11:13 +0800)]
Merge branch 'MDL-69498-group-admin-by-domain' of https://github.com/brendanheywood/moodle
Andrew Nicols [Thu, 24 Jun 2021 02:58:12 +0000 (10:58 +0800)]
Merge branch 'MDL-71837' of git://github.com/paulholden/moodle
Andrew Nicols [Thu, 24 Jun 2021 02:55:01 +0000 (10:55 +0800)]
Merge branch 'MDL-55243-master' of git://github.com/HuongNV13/moodle
Huong Nguyen [Tue, 1 Jun 2021 01:51:40 +0000 (08:51 +0700)]
MDL-55243 files: Make is_valid_image support SVG files
Eloy Lafuente (stronk7) [Wed, 23 Jun 2021 22:18:45 +0000 (00:18 +0200)]
Merge branch 'MDL-71717' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 23 Jun 2021 21:43:08 +0000 (23:43 +0200)]
Merge branch 'MDL-71293-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Wed, 23 Jun 2021 21:34:16 +0000 (23:34 +0200)]
Merge branch 'MDL-71593-master' of git://github.com/ilyatregubov/moodle
Bas Brands [Mon, 31 May 2021 11:03:19 +0000 (13:03 +0200)]
MDL-71293 theme_boost: improve navbar for new navigation
Andrew Nicols [Wed, 23 Jun 2021 06:06:32 +0000 (14:06 +0800)]
Merge branch 'MDL-71669-master' of git://github.com/junpataleta/moodle
Brendan Heywood [Tue, 22 Jun 2021 12:59:05 +0000 (22:59 +1000)]
MDL-69498 admin: Group site admins by email domain
Jun Pataleta [Tue, 1 Jun 2021 04:50:24 +0000 (12:50 +0800)]
MDL-71669 atto_table: Set appropriate ARIA roles for table button
The table button can become a menu button when the cursor's position
in the editor is within a table. So we'd need to update the button with
ARIA attributes appropriate for a menu button.
This is best done when the button's highlight gets toggled, so we're
adding an event listener for when this happens and add/remove the ARIA
attributes accordingly.
Jun Pataleta [Tue, 1 Jun 2021 04:46:18 +0000 (12:46 +0800)]
MDL-71669 editor_atto: Fire custom event when toggling button highlight
Jun Pataleta [Tue, 1 Jun 2021 04:44:36 +0000 (12:44 +0800)]
MDL-71669 editor_atto: Create an events module for the atto editor
Huong Nguyen [Wed, 23 Jun 2021 02:38:58 +0000 (09:38 +0700)]
MDL-71771 core_calendar: Convert the calendar footer buttons to links
AMOS bot [Wed, 23 Jun 2021 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files
Simey Lameze [Tue, 22 Jun 2021 23:07:47 +0000 (07:07 +0800)]
MDL-71789 calendar: fix subscription url validation
Tim Hunt [Tue, 22 Jun 2021 13:11:22 +0000 (14:11 +0100)]
MDL-71991 files: check return value of rename when writing files
Víctor Déniz [Tue, 22 Jun 2021 17:27:38 +0000 (18:27 +0100)]
Merge branch 'MDL-71634-master' of git://github.com/lucaboesch/moodle