Commit Graph

106200 Commits

Author SHA1 Message Date
Andrew Nicols 4fb6de6324 MDL-32105 mod_glossary: Improve behat test 2023-01-03 15:32:39 +08:00
Andrew Nicols d9d1cd7c55 Merge branch 'MDL-32105-400' of https://github.com/Chocolate-lightning/moodle into MOODLE_400_STABLE 2023-01-03 15:32:36 +08:00
Peter 6774281d65 MDL-32105 mod_glossary: Restrict glossary aliases by set of keywords 2023-01-03 13:49:09 +08:00
Sara Arjona 81ecef2c1b Merge branch 'MDL-60038-400' of https://github.com/aneno-m-e/moodle into MOODLE_400_STABLE 2023-01-02 16:35:30 +01:00
Sara Arjona 5e439eefde Merge branch 'MDL-76106-400' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_400_STABLE 2023-01-02 13:07:45 +01:00
Sara Arjona d066f500bf Merge branch 'MDL-76760-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE 2023-01-02 12:27:46 +01:00
Sara Arjona fcfc240a77 weekly release 4.0.5+ 2022-12-29 12:57:50 +01:00
Sara Arjona f3fee9f4d2 Merge branch 'MDL-76399-patch-400' of https://github.com/ilyatregubov/moodle into MOODLE_400_STABLE 2022-12-29 09:13:39 +01:00
Ilya Tregubov 302610302a MDL-76399 behat: switch to appropriate Behat step for selects. 2022-12-29 14:45:00 +07:00
Ilya Tregubov fa417ba8a3 Merge branch 'MDL-76399-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE 2022-12-29 09:44:00 +07:00
Sara Arjona 9d14b80f5b Merge branch 'MDL-76004-400' of https://github.com/aanabit/moodle into MOODLE_400_STABLE 2022-12-28 18:22:40 +01:00
Sara Arjona bdbd1b3af0 Merge branch 'MDL-72523-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE 2022-12-28 13:01:45 +01:00
Paul Holden 2b6ca7e207 MDL-72523 calendar: return original focus from event modals. 2022-12-28 11:14:50 +00:00
Huong Nguyen 023ac9229f MDL-72523 javascript: Introduce setReturnElement for core/modal 2022-12-28 11:14:50 +00:00
Sara Arjona 5f02141a7a Merge branch 'MDL-72563-400' of https://github.com/KepaUrzelai/moodle into MOODLE_400_STABLE 2022-12-28 12:13:21 +01:00
Sara Arjona 54cffd7c2e Merge branch 'MDL-69071-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE 2022-12-28 11:41:18 +01:00
Paul Holden 5e80881587 MDL-76760 tool_behat: defer library loading until service execution.
Ensures that API documentation can be generated without requiring
the presence of the `vendor/` directory.
2022-12-28 10:39:54 +00:00
Ilya Tregubov c6c77554ef Merge branch 'MDL-76731_400' of https://github.com/PhilippImhof/moodle into MOODLE_400_STABLE 2022-12-28 15:14:35 +07:00
Sara Arjona dcfd3b29a9 Merge branch 'MDL-76679-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE 2022-12-27 16:55:31 +01:00
Noemie Ariste 8cded7cd9f MDL-60038 moodlelib: ignore site policy if user auth type = 'webservice' 2022-12-23 10:03:41 +13:00
Philipp Imhof 652d8971ec MDL-76731 behat: add steps to check for version
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2022-12-22 17:12:29 +01:00
Ilya Tregubov 37e16d4da2 weekly release 4.0.5+ 2022-12-22 19:16:34 +07:00
Ilya Tregubov 5b325dc2e9 Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE 2022-12-22 19:16:32 +07:00
Ilya Tregubov 06d3ff9ea2 Merge branch 'MDL-76667-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE 2022-12-22 12:30:08 +07:00
Paul Holden 6aa9d215c8 Merge branch 'MDL-75965-400' of https://github.com/HuongNV13/moodle into MOODLE_400_STABLE 2022-12-22 12:30:08 +07:00
Andrew Nicols 0faa70e56a MDL-75105 tool_behat: Coding style fixes 2022-12-22 12:30:08 +07:00
Andrew Nicols 0ab77c7287 Merge branch 'MDL-75105_400_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_400_STABLE 2022-12-22 12:30:07 +07:00
Paul Holden 3d0bbf1a0f Merge branch 'MDL-75914-400' of https://github.com/meirzamoodle/moodle into MOODLE_400_STABLE 2022-12-22 12:30:07 +07:00
AMOS bot 9287e1e0ea Automatically generated installer lang files 2022-12-22 00:07:39 +00:00
Meirza e4bf4cf37e MDL-75914 webservice: Added fake URL to avoid debugging output.
Webservice doesn't need to set the page URL. Hence,
any function that requires a page URL will raise debugging output.
The patch fixes it by adding a fake URL for the webservice.
The patch also removed assertDebuggingCalled because it is no longer needed.
2022-12-21 16:32:54 +07:00
Mark Johnson 4dfb5cf6e7 MDL-75105 tool_behat: List available data generators
This will find all data generators that can be used in behat via the
'the following "something" exist:' step, and display them in a select
list on the step definitions page.

When a generator is selected, it will fetch the required fields for that
generator and display them on the page.
2022-12-21 08:38:20 +00:00
Huong Nguyen 4fc412b538 MDL-75965 question_multichoice: Misalignment of feedback icons 2022-12-21 14:15:50 +07:00
Ilya Tregubov 9e6b6b4925 Merge branch 'MDL-76727-400' of https://github.com/andrewnicols/moodle into MOODLE_400_STABLE 2022-12-21 09:50:45 +07:00
Paul Holden 0e52ea009d Merge branch 'MDL-75279-400' of https://github.com/spvickers/moodle into MOODLE_400_STABLE 2022-12-20 10:27:42 +00:00
Andrew Nicols 7a5389f1cc MDL-76727 core: Allow phpcs configuration to be overridden locally
This change reduces the priority of the shipped phpcs configuration to
allow for local overrides.

This is beneficial in several situations:
- when users wish to apply stricter or additional standards
- when the integration team wishes to trial new rules
2022-12-20 09:35:51 +08:00
Stephen Vickers e7a5867a88 MDL-75279 mod_lti: Add username to NRPS response 2022-12-19 17:11:04 +00:00
Paul Holden 741c9e003d Merge branch 'MDL-72906-400' of https://github.com/tdjones/moodle into MOODLE_400_STABLE 2022-12-19 10:23:16 +00:00
Ilya Tregubov f464b00ab8 Merge branch 'MDL-74779-400' of https://github.com/ssj365/moodle into MOODLE_400_STABLE 2022-12-19 09:45:54 +07:00
Paul Holden 2144007387 MDL-76399 question: switch to appropriate Behat step for selects. 2022-12-16 13:09:54 +00:00
Paul Holden 6176c8fc88 MDL-76399 behat: improvements to "should exist in" thrown exception. 2022-12-16 12:29:19 +00:00
Paul Holden e62f86b983 Merge branch 'MDL-76026_400' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_400_STABLE 2022-12-16 09:54:54 +00:00
Andrew Nicols 089260dae2 weekly release 4.0.5+ 2022-12-16 09:05:57 +08:00
Andrew Nicols 661e595500 Merge branch 'install_400_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_400_STABLE 2022-12-16 09:05:56 +08:00
Paul Holden 1aba16cbea MDL-69071 core: retrieve full result from remote content.
Use the full result from download_file_content within the component
installer to ensure that spurious debugging is not emitted during
operation. Handle validation of the returned data consistently.
2022-12-15 17:19:08 +00:00
Paul Holden c9a5b23d7a MDL-76679 admin: correct password config field template.
The template changes were missed as part of 0795b579, update them
to match so that they continue to work with the unmask JS module.
2022-12-14 19:12:11 +00:00
Sara Arjona 636ad3d3a0 Merge branch 'MDL-76674_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE 2022-12-14 18:34:56 +01:00
Amaia Anabitarte 3f39fcf27e MDL-76004 core_h5p: Ensure the browser is serving updated file 2022-12-14 16:22:59 +01:00
Eloy Lafuente (stronk7) 1097414910 MDL-76674 core_lang: Add string for new America/Ciudad_Juarez 2022-12-14 15:51:36 +01:00
Paul Holden 364c3b1fa9 Merge branch 'MDL-76666_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE 2022-12-14 13:22:07 +00:00
Eloy Lafuente (stronk7) 27ebb8fa2d MDL-76666 local_langimport: Better handling of long locales
Under some linux versions, and depending of the configured
locale categories, it's possible to get a current locally
which length > 255 when calling to setlocale(LC_ALL, 0).

Later, if that long locale is tried to be restored, there
is a "setlocale(): Specified locale name is too long" warning
error.

When that happens we need to split the long locale into
individual chunks and set all the (six) locale categories
supported one by one.

Covered with tests, note that, in practice, this only
happens with linux because it supports 12 locale categories
@ OS level. Both BSD (6) and Windows (5) hardly can reach the limit.

No matter of that, the tests have been designed to ensure that
they pass on all OSs, just the new code only will be executed
on linux.
2022-12-14 12:25:37 +01:00