113223 Commits

Author SHA1 Message Date
Andrew Nicols
412fae4792
Merge branch 'MDL-80818-main' of https://github.com/aanabit/moodle 2024-04-03 13:02:40 +08:00
Andrew Nicols
14ca464910
Merge branch 'MDL-80397-main' of https://github.com/roland04/moodle 2024-04-03 12:53:03 +08:00
Huong Nguyen
8cd8838acd
Merge branch 'MDL-80838-main' of https://github.com/andrewnicols/moodle 2024-04-03 10:05:42 +07:00
Huong Nguyen
ec5d23b450
Merge branch 'MDL-81326-main' of https://github.com/sarjona/moodle 2024-04-03 09:16:02 +07:00
Huong Nguyen
db360850b9
Merge branch 'MDL-77779-main' of https://github.com/ilyatregubov/moodle 2024-04-03 09:12:13 +07:00
Huong Nguyen
5c1319b0e8
Merge branch 'MDL-81300-main' of https://github.com/roland04/moodle 2024-04-03 09:06:36 +07:00
Huong Nguyen
dfc198c928
Merge branch 'MDL-77838' of https://github.com/paulholden/moodle 2024-04-03 08:52:03 +07:00
Sara Arjona
2cfb5b8efe
MDL-81326 mod_book: Deprecate book_get_nav_classes
While reviewing MDL-72376, I realised book_get_nav_classes is not
used anymore in Moodle LMS since Moodle 4.0 so it should be deprecated
Probably it should have been deprecated together with book_get_nav_types.
2024-04-02 17:11:23 +02:00
Sara Arjona
4da813d35e
on-demand release 4.4dev+ 2024-04-02 14:47:08 +02:00
Andrew Nicols
d1613e331f Merge branch 'MDL-79712-main' of https://github.com/snake/moodle 2024-04-02 17:43:42 +11:00
Huong Nguyen
07680ea817 Merge branch 'MDL-81366-main' of https://github.com/meirzamoodle/moodle 2024-04-02 17:43:42 +11:00
Ilya Tregubov
a6047e0fbb Merge branch 'MDL-79959-repo-equella-sso-identification' of https://github.com/gbarat87/moodle 2024-04-02 17:43:41 +11:00
Jake Dallimore
30e2af60f1
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.
2024-04-02 11:38:40 +08:00
Andrew Nicols
1eef3605cc
MDL-80838 mod_forum: Use \core\clock for forum generators 2024-04-02 10:52:33 +08:00
Andrew Nicols
298c13ac3b
MDL-80838 core: Add PSR-20/Clock support
This commit adds the PSR-20 ClockInterface to core, with a
moodle-specific extension to the Interface at `\core\clock`, and a
standard clock at `\core\system_clock`.

Further clocks are provided as `\incrementing_clock` and `\frozen_clock`
which are available to unit tests using:

- `$this->mock_clock_with_incrementing(?int $starttime = null);`
- `$this->mock_clock_with_frozen(?int $time = null);`

For the incrementing clock, every call to fetch the time will bump the
current time by one second.

For the frozen clock the time will not change, but can be modified with:
- `$clock->set_to(int $time);`; and
- `$clock->bump(int $seconds = 1);`
2024-04-02 10:24:54 +08:00
Huong Nguyen
10e1504135
Merge branch 'MDL-81315-main' of https://github.com/mihailges/moodle 2024-04-01 10:14:06 +07:00
Huong Nguyen
1417cbb65a
Merge branch 'MDL-81347-main' of https://github.com/roland04/moodle 2024-03-29 15:51:47 +07:00
Huong Nguyen
e084be6526
Merge branch 'main_MDL-81154' of https://github.com/mattporritt/moodle 2024-03-28 14:46:37 +07:00
Huong Nguyen
61c8cdaf11
Merge branch 'MDL-81365-main' of https://github.com/ilyatregubov/moodle 2024-03-28 14:31:16 +07:00
Matt Porritt
6d3d498362 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.
2024-03-28 16:57:50 +11:00
Huong Nguyen
1320a2a397
Merge branch 'main_MDL-81172' of https://github.com/mattporritt/moodle 2024-03-28 11:46:51 +07:00
meirzamoodle
ce5b7edd5c 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.
2024-03-28 10:19:35 +07:00
Huong Nguyen
cb3494dcd4
Merge branch 'MDL-81222-main' of https://github.com/andrewnicols/moodle 2024-03-28 09:19:45 +07:00
Ilya Tregubov
7acfa9ddc2 Merge branch '76317-questions-improve-import-error-messages-master' of https://github.com/DSI-Universite-Rennes2/moodle 2024-03-28 10:02:20 +08:00
Huong Nguyen
bc6795074d
Merge branch 'MDL-81000-main2' of https://github.com/raortegar/moodle 2024-03-28 08:53:50 +07:00
Ilya Tregubov
9572c9bfec Merge branch 'MDL-81335-main' of https://github.com/aanabit/moodle 2024-03-28 09:10:57 +08:00
Ilya Tregubov
5180272bd5 Merge branch 'mdl80598-master' of https://github.com/matthewhilton/moodle 2024-03-28 09:05:53 +08:00
Ilya Tregubov
9e55042be1 Merge branch 'MDL-80302-main' of https://github.com/aanabit/moodle 2024-03-28 08:58:35 +08:00
Amaia Anabitarte
0c2c00cdb8 MDL-80818 QuickForm: Freeze all elements with the same name
There are some radio buttons in activity Completion Conditions settings
that must be frozen altogether, because all of them have the same name.
2024-03-27 16:19:45 +01:00
Amaia Anabitarte
4a3a32b675 MDL-80302 completion: Improve default completion error tracking
Co-authored-by: Sara Arjona <sara@moodle.com>
2024-03-27 16:11:50 +01:00
Sara Arjona
e47b78e870
Merge branch 'MDL-80612-posix-auth' of https://github.com/brendanheywood/moodle 2024-03-27 15:58:48 +01:00
raortegar
8698a9a229 MDL-81000 core: Update "attemptsavailable" value and remove "MAX_RETRY" 2024-03-27 14:00:52 +01:00
raortegar
27a2e4969c MDL-81000 core: increase size of "attemptsavailable" on task_adhoc table 2024-03-27 14:00:52 +01:00
Mikel Martín
95585c5484 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.
2024-03-27 13:49:56 +01:00
Mikel Martín
968ae915ee 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.
2024-03-27 13:49:11 +01:00
Julien Boulen
735013c790 MDL-76317 questions: fix return and error message during import process 2024-03-27 13:13:21 +01:00
Julien Boulen
1ed6318d13 MDL-76317 questions: improve error message when importing invalid grades 2024-03-27 13:13:21 +01:00
Brendan Heywood
2d286ef8f8 MDL-80612 auth: Allow plugins to identify Moodle users on the CLI 2024-03-27 21:58:04 +11:00
Mikel Martín
b28f3b7666 MDL-80397 theme: Refactor card-deck class dropped in BS5
- Refactor recentlyaccessedcourses, starredcourses and myovervew blocks
  removing card-deck helper class occurrences
- Refactor card-deck helper class occurrences with utility classes
2024-03-27 10:10:22 +01:00
Sara Arjona
f974da9c8d
Merge branch 'MDL-79671-main' of https://github.com/andrewnicols/moodle 2024-03-27 10:00:44 +01:00
Ilya Tregubov
6f41a2fbfd MDL-81365 enrol: Fix wrong validation. 2024-03-27 15:42:20 +08:00
Andrew Nicols
68fa04cb1d
MDL-79671 editor_tiny: Add new translated strings 2024-03-27 15:02:04 +08:00
Andrew Nicols
617faffc02
MDL-79671 editor_tiny: Move readme to make it easier to maintain 2024-03-27 14:52:30 +08:00
Andrew Nicols
dcaf884d28
MDL-79671 editor_tiny: Do not show the help link in the status bar 2024-03-27 14:40:35 +08:00
Andrew Nicols
496e6c8e1f
MDL-79671 editor_tiny: Update TinyMCE to 6.8.3 2024-03-27 14:40:34 +08:00
Shamim Rezaie
278ccdb7c4 Merge branch 'MDL-81126' of https://github.com/paulholden/moodle 2024-03-27 16:59:56 +11:00
Ilya Tregubov
24347e3309 Merge branch 'MDL-80828-main' of https://github.com/roland04/moodle 2024-03-27 11:14:02 +08:00
Ilya Tregubov
23913f7135 Merge branch 'MDL-80036-main' of https://github.com/mickhawkins/moodle 2024-03-27 11:07:47 +08:00
Guillaume Barat
05c23b4c70 MDL-79959 repository: Add custom field picker for SSO identification. 2024-03-27 13:07:46 +10:00
Sara Arjona
7f6e7d79d6
Merge branch 'MDL-70384-main_take2' of https://github.com/lucaboesch/moodle 2024-03-26 17:19:29 +01:00