James Williams [Mon, 8 Apr 2024 08:34:13 +0000 (18:34 +1000)]
MDL-80985 core: Add --courses argument to purge_caches.php
Sara Arjona [Tue, 2 Apr 2024 12:47:08 +0000 (14:47 +0200)]
on-demand release 4.4dev+
Andrew Nicols [Tue, 2 Apr 2024 03:47:29 +0000 (11:47 +0800)]
Merge branch 'MDL-79712-main' of https://github.com/snake/moodle
Huong Nguyen [Tue, 2 Apr 2024 03:43:11 +0000 (10:43 +0700)]
Merge branch 'MDL-81366-main' of https://github.com/meirzamoodle/moodle
Ilya Tregubov [Tue, 2 Apr 2024 03:04:49 +0000 (11:04 +0800)]
Merge branch 'MDL-79959-repo-equella-sso-identification' of https://github.com/gbarat87/moodle
Jake Dallimore [Fri, 16 Feb 2024 07:35:51 +0000 (15:35 +0800)]
MDL-79712 auth_lti: ensure MoodleSession uses SameSite=None Secure
The MoodleSession cookie is already set this way when using Chrome, but
not for Firefox. This is a decision made in \core\session\manager. When
Firefox eventually defaults to SameSite=Lax when the SameSite attribute
is omitted from the Set-Cookie headers, the MoodleSession cookie won't
be sent. This change ensures the cookies used during LTI launches will
continue to work if/when this happens, and despite any changes which may
be made to core's sessionlib in future.
Huong Nguyen [Mon, 1 Apr 2024 03:14:06 +0000 (10:14 +0700)]
Merge branch 'MDL-81315-main' of https://github.com/mihailges/moodle
Huong Nguyen [Fri, 29 Mar 2024 08:51:47 +0000 (15:51 +0700)]
Merge branch 'MDL-81347-main' of https://github.com/roland04/moodle
Huong Nguyen [Thu, 28 Mar 2024 07:46:37 +0000 (14:46 +0700)]
Merge branch 'main_MDL-81154' of https://github.com/mattporritt/moodle
Huong Nguyen [Thu, 28 Mar 2024 07:31:16 +0000 (14:31 +0700)]
Merge branch 'MDL-81365-main' of https://github.com/ilyatregubov/moodle
Matt Porritt [Fri, 8 Mar 2024 01:50:00 +0000 (12:50 +1100)]
MDL-81154 Administration: Remove Moodle Services page
This commit effectively reverts MDL-63153.
Calls to action in the UI for other products or marketing
should link directly to the corresponding services in moodle.com
rather than trying to replicate parts of it in LMS.
Huong Nguyen [Thu, 28 Mar 2024 04:46:51 +0000 (11:46 +0700)]
Merge branch 'main_MDL-81172' of https://github.com/mattporritt/moodle
meirzamoodle [Thu, 28 Mar 2024 02:17:50 +0000 (09:17 +0700)]
MDL-81366 redis: Remove the named parameters
Unfortunately, the read_timeout named parameter was not recognized on some machines.
To avoid such errors, this patch removed the named parameter on a single Redis connect() and the Redis cluster.
Huong Nguyen [Thu, 28 Mar 2024 02:19:45 +0000 (09:19 +0700)]
Merge branch 'MDL-81222-main' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Thu, 28 Mar 2024 02:02:20 +0000 (10:02 +0800)]
Merge branch '76317-questions-improve-import-error-messages-master' of https://github.com/DSI-Universite-Rennes2/moodle
Huong Nguyen [Thu, 28 Mar 2024 01:53:50 +0000 (08:53 +0700)]
Merge branch 'MDL-81000-main2' of https://github.com/raortegar/moodle
Ilya Tregubov [Thu, 28 Mar 2024 01:10:57 +0000 (09:10 +0800)]
Merge branch 'MDL-81335-main' of https://github.com/aanabit/moodle
Ilya Tregubov [Thu, 28 Mar 2024 01:05:53 +0000 (09:05 +0800)]
Merge branch 'mdl80598-master' of https://github.com/matthewhilton/moodle
Ilya Tregubov [Thu, 28 Mar 2024 00:58:35 +0000 (08:58 +0800)]
Merge branch 'MDL-80302-main' of https://github.com/aanabit/moodle
Amaia Anabitarte [Mon, 29 Jan 2024 16:19:13 +0000 (17:19 +0100)]
MDL-80302 completion: Improve default completion error tracking
Co-authored-by: Sara Arjona <sara@moodle.com>
Sara Arjona [Wed, 27 Mar 2024 14:58:48 +0000 (15:58 +0100)]
Merge branch 'MDL-80612-posix-auth' of https://github.com/brendanheywood/moodle
raortegar [Wed, 20 Mar 2024 07:52:55 +0000 (08:52 +0100)]
MDL-81000 core: Update "attemptsavailable" value and remove "MAX_RETRY"
raortegar [Wed, 20 Mar 2024 08:24:10 +0000 (09:24 +0100)]
MDL-81000 core: increase size of "attemptsavailable" on task_adhoc table
Mikel Martín [Wed, 27 Mar 2024 12:49:50 +0000 (13:49 +0100)]
MDL-81347 atto_image: Fix size inputs in image modal
MDL-75670 generated a regression in the insert image modal width and height inputs
that were not being displayed in a single line as before.
Modify the template in the atto module to fix it and display them in a single line again.
Mikel Martín [Wed, 27 Mar 2024 12:19:48 +0000 (13:19 +0100)]
MDL-81347 tiny_image: Fix size inputs in image modal
MDL-75670 generated a regression in the insert image modal width and height inputs
that were not being displayed in a single line as before.
Modify the insert image modal template to fix it and display them in a single line again.
Julien Boulen [Wed, 27 Mar 2024 12:13:21 +0000 (13:13 +0100)]
MDL-76317 questions: fix return and error message during import process
Julien Boulen [Wed, 27 Mar 2024 12:13:21 +0000 (13:13 +0100)]
MDL-76317 questions: improve error message when importing invalid grades
Brendan Heywood [Wed, 20 Mar 2024 13:09:12 +0000 (00:09 +1100)]
MDL-80612 auth: Allow plugins to identify Moodle users on the CLI
Sara Arjona [Wed, 27 Mar 2024 09:00:44 +0000 (10:00 +0100)]
Merge branch 'MDL-79671-main' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Wed, 27 Mar 2024 07:42:20 +0000 (15:42 +0800)]
MDL-81365 enrol: Fix wrong validation.
Andrew Nicols [Wed, 27 Mar 2024 07:02:04 +0000 (15:02 +0800)]
MDL-79671 editor_tiny: Add new translated strings
Andrew Nicols [Wed, 27 Mar 2024 06:52:30 +0000 (14:52 +0800)]
MDL-79671 editor_tiny: Move readme to make it easier to maintain
Andrew Nicols [Tue, 5 Mar 2024 07:26:11 +0000 (15:26 +0800)]
MDL-79671 editor_tiny: Do not show the help link in the status bar
Andrew Nicols [Mon, 4 Mar 2024 14:47:25 +0000 (22:47 +0800)]
MDL-79671 editor_tiny: Update TinyMCE to 6.8.3
Shamim Rezaie [Wed, 27 Mar 2024 05:59:56 +0000 (16:59 +1100)]
Merge branch 'MDL-81126' of https://github.com/paulholden/moodle
Ilya Tregubov [Wed, 27 Mar 2024 03:14:02 +0000 (11:14 +0800)]
Merge branch 'MDL-80828-main' of https://github.com/roland04/moodle
Ilya Tregubov [Wed, 27 Mar 2024 03:07:47 +0000 (11:07 +0800)]
Merge branch 'MDL-80036-main' of https://github.com/mickhawkins/moodle
Guillaume Barat [Thu, 14 Dec 2023 02:59:04 +0000 (12:59 +1000)]
MDL-79959 repository: Add custom field picker for SSO identification.
Sara Arjona [Tue, 26 Mar 2024 16:19:29 +0000 (17:19 +0100)]
Merge branch 'MDL-70384-main_take2' of https://github.com/lucaboesch/moodle
Mihail Geshoski [Tue, 26 Mar 2024 04:00:24 +0000 (12:00 +0800)]
MDL-81315 grade: Ensure grade action menus do not display chevron icons
The grade action menu is currently using the 'core:i/moremenu' icon to
trigger the dropdown. However, the chevron icons that usually appear in
dropdown menus are not being properly excluded. Adding the '.no-caret'
css class to the dropdown trigger element will improve the default
appearance.
Mihail Geshoski [Mon, 25 Mar 2024 08:36:00 +0000 (16:36 +0800)]
MDL-81315 gradereport_user: Add the missing 'Grade analysis' link
The following change adds the missing 'Grade analysis' link that some
activities such as quizzes, LTI external tools, etc. need so support.
The link to the relevant 'Grade analysis' page is now located in a
contextual menu within the grade column of the gradebook's user report.
Andrew Nicols [Tue, 26 Mar 2024 14:43:12 +0000 (22:43 +0800)]
MDL-80332 core: Coding style fixes
Andrew Nicols [Tue, 26 Mar 2024 14:10:29 +0000 (22:10 +0800)]
Merge branch 'MDL-80332-master' of https://github.com/jleyva/moodle
Luca Bösch [Wed, 2 Dec 2020 02:00:11 +0000 (03:00 +0100)]
MDL-70384 mod_data: Format the forms for database activity fields.
Sara Arjona [Tue, 26 Mar 2024 11:31:36 +0000 (12:31 +0100)]
on-demand release 4.4dev+
Jun Pataleta [Tue, 26 Mar 2024 04:05:40 +0000 (12:05 +0800)]
Merge branch 'MDL-80875-main' of https://github.com/sarjona/moodle
Jun Pataleta [Tue, 26 Mar 2024 03:19:42 +0000 (11:19 +0800)]
Merge branch 'MDL-81233-main' of https://github.com/andrewnicols/moodle
Jun Pataleta [Tue, 26 Mar 2024 03:16:34 +0000 (11:16 +0800)]
Merge branch 'MDL-80384-main' of https://github.com/junpataleta/moodle
Huong Nguyen [Tue, 26 Mar 2024 03:08:06 +0000 (10:08 +0700)]
Merge branch 'MDL-78551-main' of https://github.com/safatshahin/moodle
Jun Pataleta [Mon, 25 Mar 2024 16:03:14 +0000 (00:03 +0800)]
MDL-80384 courseformat: Set activity icon alt text on editing mode
From a warning using WAVE:
* The title attribute value for images that lack an alt attribute value
will be presented to screen reader users. However, providing image
content in the alt attribute typically provides better accessibility,
and should be used in most cases. The title attribute will generate a
mouse hover tooltip which may or may not be desired - this tooltip will
not be presented to touch screen or keyboard users.
Safat [Thu, 4 Jan 2024 01:53:13 +0000 (12:53 +1100)]
MDL-78551 core: Version bump
Safat [Thu, 4 Jan 2024 01:52:58 +0000 (12:52 +1100)]
MDL-78551 core: Register hook callbacks and dispatchers
Safat [Thu, 4 Jan 2024 01:48:25 +0000 (12:48 +1100)]
MDL-78551 core_communication: Add hook listeners
Safat [Thu, 4 Jan 2024 01:48:58 +0000 (12:48 +1100)]
MDL-78551 core_access: Add support for hooks api
Safat [Thu, 4 Jan 2024 01:48:02 +0000 (12:48 +1100)]
MDL-78551 core_enrol: Add support for hooks api
Safat [Thu, 4 Jan 2024 01:47:26 +0000 (12:47 +1100)]
MDL-78551 core_course: Add hooks api for course updates
Safat [Thu, 4 Jan 2024 01:47:12 +0000 (12:47 +1100)]
MDL-78551 core_user: Add hooks api for user updates
Safat [Thu, 4 Jan 2024 01:46:55 +0000 (12:46 +1100)]
MDL-78551 core_group: Add hooks api for group and membership
Jun Pataleta [Tue, 26 Mar 2024 02:34:47 +0000 (10:34 +0800)]
Merge branch 'MDL-81266' of https://github.com/stronk7/moodle
Matthew Hilton [Mon, 15 Jan 2024 05:21:29 +0000 (15:21 +1000)]
MDL-80598 bigbluebutton: Gracefully handle invalid customdata
Sara Arjona [Mon, 25 Mar 2024 16:15:29 +0000 (17:15 +0100)]
Merge branch 'MDL-81277-main' of https://github.com/laurentdavid/moodle
Sara Arjona [Mon, 25 Mar 2024 16:01:40 +0000 (17:01 +0100)]
Merge branch 'MDL-81246-main' of https://github.com/HuongNV13/moodle
Jun Pataleta [Mon, 25 Mar 2024 15:37:57 +0000 (23:37 +0800)]
Merge branch 'MDL-78885-main' of https://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Mon, 25 Mar 2024 10:45:09 +0000 (11:45 +0100)]
MDL-81266 phpunit: Document the changes in lib/upgrade.txt
Eloy Lafuente (stronk7) [Thu, 21 Mar 2024 09:12:33 +0000 (10:12 +0100)]
MDL-81266 phpunit: Remove expect(Deprecation|Notice|Warning|Error)
PHPUnit 9.6 has deprecated all the expect(Deprecation|Notice|Warning|Error)
assertions, so we have to move away from them.
In core, we only had 2 cases, one easily fixed by getting rid of it,
because, for php >= 80 it's an assert-able exception.
And the other replaced with code that, temporarily, sets a custom
error handler that converts any specified E_ to an asset-able
exception.
Note that tests playing with error handlers should, always, be
run in separate process, to avoid problems or conflicts with
PHPUnit / Moodle own error handlers.
Daniel Ziegenberg [Tue, 19 Mar 2024 10:11:59 +0000 (11:11 +0100)]
MDL-81281 phpunit: assertObjectHasAttribute is deprecated
To be integrated as part of MDL-81266
When running PHPUnit 9.6 we get the following deprecation warnings:
"assertObjectHasAttribute() is deprecated and will be removed in PHPUnit
10. Refactor your test to use assertObjectHasProperty() instead."
So we replace all instances of assertObjectHasAttribute with
assertObjectHasProperty.
PHPUnit justifies the change with:
> PHPUnit currently refers to "fields" (see above) as "attributes". This
> is (or will become) confusing considering the introduction of
> attributes in PHP 8 and their support in PHPUnit. PHPUnit will be
> changed to use the term "property" instead of "attribute" where "field"
> is meant.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Daniel Ziegenberg [Tue, 19 Mar 2024 10:11:59 +0000 (11:11 +0100)]
MDL-81281 phpunit: assertObjectNotHasAttribute is deprecated
To be integrated as part of MDL-81266
When running PHPUnit 9.6 we get the following deprecation warnings:
"assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit
10. Refactor your test to use assertObjectNotHasProperty() instead."
So we replace all instances of assertObjectNotHasAttribute with
assertObjectNotHasProperty.
PHPUnit justifies the change with:
> PHPUnit currently refers to "fields" (see above) as "attributes". This
> is (or will become) confusing considering the introduction of
> attributes in PHP 8 and their support in PHPUnit. PHPUnit will be
> changed to use the term "property" instead of "attribute" where "field"
> is meant.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Sara Arjona [Mon, 25 Mar 2024 15:20:25 +0000 (16:20 +0100)]
Merge branch 'MDL-80088' of https://github.com/paulholden/moodle
Juan Leyva [Tue, 5 Dec 2023 14:41:48 +0000 (15:41 +0100)]
MDL-80332 tool_mobile: Fallback por app launches
Juan Leyva [Mon, 11 Mar 2024 16:14:30 +0000 (17:14 +0100)]
MDL-80332 login: New hooks for complete login and passed MFA
Eloy Lafuente (stronk7) [Mon, 18 Mar 2024 12:53:45 +0000 (13:53 +0100)]
MDL-81266 composer: PHPUnit 9.6, Behat to 3.14 and other deps
Bump to PHPUnit 9.6 towards warning in advance about
stuff that will be removed for PHPUnit 10, namely:
- expect[Deprecation|Error|Notice|Warning] methods.
- assert[Object|Class][Not]Has[Static]Attribute methods.
- withConsecutive()
- TestCase::getMockClass()
- "Test" suffix for abstract test case classes.
The behat bump is only applied to 402_STABLE and up, all them
requiring PHP 8.0 as a minimum. And generated following the
instructions in the dev docs.
Mikel Martín [Wed, 28 Feb 2024 16:15:51 +0000 (17:15 +0100)]
MDL-80828 core_courseformat: Modify availability subpanel visibility
In the activity action menu, show only the subpanel when the options are different
than show or hide. In those cases the show/hide option will be directly displayed
in the menu instead of a subpanel.
Co-authored-by: ferran@moodle.com
Laurent David [Mon, 8 Jan 2024 11:24:00 +0000 (12:24 +0100)]
MDL-80384 core_courseformat: Remove activty icon link
* Remove the link over the image icon for an activity and use
the title attribute for the tooltip
Laurent David [Tue, 19 Mar 2024 06:38:55 +0000 (07:38 +0100)]
MDL-81277 lib: Update atto codemirror to 5.65.16
Sara Arjona [Mon, 25 Mar 2024 12:01:03 +0000 (13:01 +0100)]
Merge branch 'MDL-79368-main' of https://github.com/roland04/moodle
Amaia Anabitarte [Fri, 22 Mar 2024 11:11:06 +0000 (12:11 +0100)]
MDL-81335 core_course: Fix section page for 'manageactivities' only
Sara Arjona [Fri, 22 Mar 2024 12:45:10 +0000 (13:45 +0100)]
MDL-80875 uploadcourse: Fix params validation
Andrew Nicols [Mon, 25 Mar 2024 06:23:21 +0000 (14:23 +0800)]
MDL-80300 mod_quiz: Integration coding fixups
Andrew Nicols [Mon, 25 Mar 2024 07:06:50 +0000 (15:06 +0800)]
Merge branch 'mdl-80300-main-refactor' of https://github.com/matthewhilton/moodle
Ilya Tregubov [Mon, 25 Mar 2024 06:23:53 +0000 (14:23 +0800)]
Merge branch 'MDL-63128-main' of https://github.com/meirzamoodle/moodle
meirzamoodle [Wed, 21 Feb 2024 09:25:38 +0000 (16:25 +0700)]
MDL-63128 core_cache: Add new is_cluster_available helper
The ::is_cluster_available() will return true if the PHP support redis cluster.
meirzamoodle [Wed, 27 Dec 2023 02:31:51 +0000 (09:31 +0700)]
MDL-63128 core: Add support for use redis cluster as session handler
Co-authored-by: Avi Levy <avi@sysbind.co.il>
meirzamoodle [Wed, 27 Dec 2023 02:28:47 +0000 (09:28 +0700)]
MDL-63128 cachestore_redis: Support Redis cluster as cache store
Co-authored-by: Daniel Thee Roperto <daniel@theeroperto.com>
Co-authored-by: Avi Levy <avi@sysbind.co.il>
Jake Dallimore [Mon, 25 Mar 2024 04:25:51 +0000 (12:25 +0800)]
Merge branch 'MDL-79239-master' of https://github.com/ssj365/moodle
Andrew Nicols [Mon, 25 Mar 2024 03:43:28 +0000 (11:43 +0800)]
Merge branch 'MDL-80827-main' of https://github.com/stevandoMoodle/moodle
Huong Nguyen [Mon, 25 Mar 2024 02:22:20 +0000 (09:22 +0700)]
Merge branch 'MDL-79829-main' of https://github.com/laurentdavid/moodle
Huong Nguyen [Mon, 25 Mar 2024 02:15:12 +0000 (09:15 +0700)]
Merge branch 'MDL-81074-main' of https://github.com/andrewnicols/moodle
Andrew Nicols [Mon, 18 Mar 2024 15:41:10 +0000 (23:41 +0800)]
MDL-81074 core: Simplify strftime tests
Luca Bösch [Wed, 28 Feb 2024 09:44:27 +0000 (10:44 +0100)]
MDL-81074 core: align core_date::strftime results for numeric and string
Andrew Nicols [Wed, 20 Mar 2024 06:15:26 +0000 (14:15 +0800)]
MDL-81074 core: Add assertTimeStringMatches PHPUnit Assertion
Also raised as https://github.com/sebastianbergmann/phpunit/issues/5757
Sara Arjona [Fri, 22 Mar 2024 13:03:42 +0000 (14:03 +0100)]
on-demand release 4.4dev+
Sara Arjona [Fri, 22 Mar 2024 13:03:42 +0000 (14:03 +0100)]
NOBUG: Fixed file access permissions
Sara Arjona [Fri, 22 Mar 2024 13:03:38 +0000 (14:03 +0100)]
NOBUG: Fixed SVG browser compatibility
Jun Pataleta [Fri, 22 Mar 2024 03:57:23 +0000 (11:57 +0800)]
Merge branch 'MDL-81132-master' of https://github.com/jleyva/moodle
Jun Pataleta [Fri, 22 Mar 2024 03:47:56 +0000 (11:47 +0800)]
Merge branch 'MDL-81313-main' of https://github.com/snake/moodle
Jun Pataleta [Fri, 22 Mar 2024 03:34:23 +0000 (11:34 +0800)]
Merge branch 'MDL-80843' of https://github.com/paulholden/moodle
Ilya Tregubov [Fri, 22 Mar 2024 03:07:55 +0000 (11:07 +0800)]
Merge branch 'MDL-80099_main' of https://github.com/marxjohnson/moodle
Ilya Tregubov [Fri, 22 Mar 2024 01:29:38 +0000 (09:29 +0800)]
Merge branch 'MDL-81319' of https://github.com/stronk7/moodle
Ilya Tregubov [Fri, 22 Mar 2024 01:22:19 +0000 (09:22 +0800)]
Merge branch 'MDL-81023-main' of https://github.com/aanabit/moodle
Ilya Tregubov [Fri, 22 Mar 2024 01:17:55 +0000 (09:17 +0800)]
Merge branch 'MDL-80715-main' of https://github.com/ferranrecio/moodle