Andrew Nicols
3f8fdc8e33
MDL-76583 core_external: Move settings test and update
2023-01-19 07:33:35 +08:00
Andrew Nicols
ecbb31b160
MDL-76583 core_external: Migrate external_settings class
2023-01-19 07:33:35 +08:00
Andrew Nicols
e460e2e43f
MDL-76583 core_external: Migrate external_format_value class
2023-01-19 07:33:35 +08:00
Andrew Nicols
780ba1333b
MDL-76583 core_external: Migrate external_warnings class
2023-01-19 07:33:35 +08:00
Andrew Nicols
c42831cec6
MDL-76583 core_external: Migrate external_files class
2023-01-19 07:33:35 +08:00
Andrew Nicols
ebbf342127
MDL-76583 core_external: Migrate external_util class
2023-01-19 07:33:35 +08:00
Andrew Nicols
fff2c7420f
MDL-76583 core_external: Migrate restricted_context_exception class
2023-01-19 07:33:35 +08:00
Andrew Nicols
698f06edeb
MDL-76583 core_external: Migrate external_function_parameters class
2023-01-19 07:33:35 +08:00
Andrew Nicols
279ae4d5b3
MDL-76583 core_external: Migrate external_multiple_structure class
2023-01-19 07:33:35 +08:00
Andrew Nicols
967bed2954
MDL-76583 core_external: Migrate external_single_structure class
2023-01-19 07:33:34 +08:00
Andrew Nicols
61d59eaa11
MDL-76583 core_external: Migrate external_value class
2023-01-19 07:33:34 +08:00
Andrew Nicols
6f185f1873
MDL-76583 core_external: Migrate external_description class
2023-01-19 07:33:34 +08:00
Andrew Nicols
cdd51a663b
MDL-76583 core_external: Move external_api unit tests
2023-01-19 07:33:34 +08:00
Andrew Nicols
56bcaf409f
MDL-76583 core_external: Migrate external_api to core_external\external_api
2023-01-19 07:33:18 +08:00
Jun Pataleta
0f1a005017
Merge branch 'MDL-76525-master' of https://github.com/PhMemmel/moodle
2023-01-18 22:56:09 +08:00
Philipp Memmel
4f4fbea9c3
MDL-76525 mod_data: Add param validation for data fields
2023-01-18 12:09:07 +01:00
Ilya Tregubov
ec5e09b393
Merge branch 'MDL-55929-master' of https://github.com/srobotta/moodle
2023-01-18 14:18:53 +08:00
Andrew Nicols
f9a3ec96b6
Merge branch 'MDL-76898' of https://github.com/timhunt/moodle
2023-01-18 11:10:29 +08:00
Stephan Robotta
0c8f9108c2
MDL-55929 assign: allow bulk emails in assignment userslist
2023-01-17 10:12:50 +01:00
Jake Dallimore
9681ec4693
Merge branch 'MDL-66221-master' of https://github.com/raortegar/moodle
2023-01-17 11:28:40 +08:00
Andrew Nicols
4a2793002c
MDL-76583 core_external: Add new core_external subsystem
2023-01-17 10:59:15 +08:00
Stefan Hanauska
a9149c13af
MDL-74756 availability_completion: Prev activity (completion n/enabled)
2023-01-16 22:20:48 +01:00
Tim Hunt
6e7c63b36f
MDL-76898 quiz: Move deprecated functions deprecatedlib.php
...
These were already deprecated, but in the wrong file.
2023-01-16 17:12:15 +00:00
Tim Hunt
03cf2ce782
MDL-76898 quiz: final deprecation of things deprecated long ago
2023-01-16 17:12:02 +00:00
Sara Arjona
d62f6ae036
Merge branch 'MDL-61789-master' of https://github.com/meirzamoodle/moodle
2023-01-16 17:08:38 +01:00
Sara Arjona
574f68f014
Merge branch 'MDL-76219-master' of https://github.com/meirzamoodle/moodle
2023-01-16 16:45:00 +01:00
Paul Holden
fd8d11b704
MDL-76841 tool_mobile: improve potential config issues test.
...
Avoid certificate checking of the default test site (`example.com`),
and update the assertion so we get clearer failures in the future.
2023-01-16 08:30:49 +00:00
Paul Holden
af8da7c737
MDL-70070 phpunit: correct data provider method names.
...
They should not be prefixed `test_` because that's how actual
test methods containing assertions are identified by PHPUnit.
2023-01-16 08:28:37 +00:00
Jun Pataleta
dd0580d809
Merge branch 'MDL-76377-master' of https://github.com/aanabit/moodle
2023-01-16 09:40:07 +08:00
Jun Pataleta
aedbfba858
Merge branch 'MDL-76358-master' of https://github.com/laurentdavid/moodle
2023-01-16 09:32:56 +08:00
raortegar
afb4a9effd
MDL-66221 tool_recyclebin: Fix recycle bin with activity settings
...
If backup_auto_activities setting from Automated backup is disabled
the activities will not be stored for the recycle bin
2023-01-13 11:30:54 +01:00
Simey Lameze
bb0aeafb25
MDL-76870 question: change assertion to assertEqualsCanonicalizing
...
By using that assertion the arrays will be sorted before comparison
preventing any Oracle sorting related failures.
Credits for the solution go to Tim Hunt!
2023-01-13 18:12:48 +08:00
Eloy Lafuente (stronk7)
357f784091
MDL-76537 behat: Month and day names are lang-dependent correct utf-8
...
Just verify that calendars are always displayed with correct UTF-8
and in the language the user is currently using.
2023-01-13 09:57:28 +01:00
Eloy Lafuente (stronk7)
7827edc78d
MDL-76537 core: Fix date_format_string() to work with php-intl
...
With Moodle 4.1 and up, we have stopped to work with strftime(),
because it's deprecated for PHP 8.1 and up and, instead we are
using core_date::strftime() that performs the conversions using
the php-intl extension.
The original strftime() had a lot of OS-specific dependencies,
both about locale names and charsets used to provide the information.
Instead, the php-intl gets rid of all those OS-specific nightmares
and only uses ICU/Unicode locales and UTF-8.
Because of that, the old utf-8 => windows charset => utf-8
conversions aren't needed anymore. Hence, removing them.
2023-01-13 09:57:28 +01:00
Jun Pataleta
5dbac075be
weekly release 4.2dev
2023-01-13 10:52:09 +08:00
Amaia Anabitarte
bb3a7fcda5
MDL-76377 block_myoverview: Improve zero state
2023-01-12 15:55:57 +01:00
Paul Holden
e72f47cbfc
Merge branch 'MDL-76739-master-fix' of https://github.com/junpataleta/moodle
2023-01-12 12:09:15 +00:00
Jun Pataleta
4c36405d3a
Merge branch 'MDL-76649-master-fix' of https://github.com/junpataleta/moodle
2023-01-12 17:09:58 +08:00
Jun Pataleta
25ff4c441b
MDL-76739 mod_data: Split comments test into two
...
MDL-75596 added an "Insert an activity or resource before ..." button
that allows adding an activity or a resource before or after another
activity in a course. This renders the button in the DOM (although
hidden and shown only on mouseover) when there's at least one activity
in the course.
In this issue, the button's label was renamed to "Add an activity or
resource before ..." and it now obscures the normal "Add an activity or
resource" button at the bottom of the course section from being
interacted on when running Behat tests.
This failure happens in the create_activity.feature file as it creates
two DB activities in a single scenario – one when "usecomments" is
turned on and one when it's turned off. Given this limitation, a
workaround is to split the "Teacher cannot enable comments if they are
disabled at site level" scenario into two scenarios with the first one
testing when "usecomments" is on while the second scenario testing when
"usecomments" is turned off.
2023-01-12 17:05:55 +08:00
Laurent David
e4a1d891fc
MDL-76358 mod_data: Refactor preset output
...
* Remove unused manager in the presets.php
* Use single quote instead of double quote for array keys
2023-01-12 08:24:45 +01:00
Jun Pataleta
71b3f9c39f
MDL-76649 mod_quiz: Use correct quizid attribute from attempt
2023-01-12 15:17:35 +08:00
Andrew Nicols
769397fd9d
Merge branch 'MDL-76820-master' of https://github.com/cameron1729/moodle
2023-01-12 12:09:11 +08:00
Jun Pataleta
e0d857f39f
Merge branch 'MDL-76649' of https://github.com/timhunt/moodle
2023-01-12 12:06:35 +08:00
Jun Pataleta
f23d02a0ca
Merge branch 'MDL-76474-master-2' of https://github.com/HuongNV13/moodle
2023-01-12 11:55:29 +08:00
Huong Nguyen
6dd6248e41
MDL-76474 tiny_h5p: Prevent H5P Formatter placeholder to be assessed
2023-01-12 10:51:03 +07:00
Huong Nguyen
d21b6d194a
MDL-76474 tiny_accessibilitychecker: Prevent placeholders to be assessed
2023-01-12 10:51:03 +07:00
Huong Nguyen
c4c85a8f1c
MDL-76474 editor_tiny: Implement placeholder selector list
...
We created a list of placeholder selectors in placeholderSelectors option.
The purpose of this list is to indicate the contents that are only shown
in the editor and not to the users, by that way, we can decide to apply or
not to apply rules, styles, etc... to these contents
2023-01-12 10:51:02 +07:00
Michael Hawkins
71564e3e70
MDL-76861 blog: Ensure correct escaping applied to search string
2023-01-12 11:42:51 +08:00
Jake Dallimore
230ac291c8
MDL-76862 user: Unit test for setting user home page preferences
2023-01-12 11:35:10 +08:00
Paul Holden
2dfc273752
MDL-76862 user: ensure user can only update own preferred start page.
2023-01-12 11:35:10 +08:00