Commit graph

170 commits

Author SHA1 Message Date
Andrew Nicols
3b1118cfd4
MDL-83468 phpunit: assertEqualsCanonicalizing now compares keys too
In previous versions of PHPUnit, the `assertEqualsCanonicalizing()`
method compared values only, ignoring the keys entirely. Since PHPUnit
10 the method now checks keys where they are non-numeric.

To solve this we call `array_values()`.
2025-01-20 16:47:56 +01:00
Jun Pataleta
1ff50ac088
NOBUG: Bump versions for main to the current date 2024-12-18 23:53:12 +08:00
Andrew Nicols
c2414e5a45
MDL-81520 core: Fix test finality 2024-12-11 12:30:23 +08:00
Huong Nguyen
711e58f1a4
Merge branch 'MDL-83776' of https://github.com/paulholden/moodle 2024-11-28 13:23:55 +08:00
Paul Holden
b48cb6861e
MDL-83776 customfield_text: correct link field URL encoding. 2024-11-21 09:02:33 +00:00
Jun Pataleta
fcb39d60a9
Merge branch 'MDL-81521-main' of https://github.com/andrewnicols/moodle 2024-11-19 15:15:17 +08:00
Jun Pataleta
ef63c4cefd
Merge branch 'MDL-82877' of https://github.com/paulholden/moodle 2024-11-15 13:31:22 +08:00
Andrew Nicols
a6acb015a3
MDL-81521 core: Update all possibly data providers to be static
Note: Some data providers could not be automatically be converted to
being static. These will be handled in a separate issue.
2024-11-15 12:50:55 +08:00
Jun Pataleta
b7b65fe478
Merge branch 'MDL-83602-main' of https://github.com/ilyatregubov/moodle 2024-11-06 13:30:40 +08:00
Paul Holden
e9f56511bc
MDL-82877 customfield: pass correct instanceid for restore structure. 2024-11-04 15:32:04 +00:00
Ilya Tregubov
50e30f8859 MDL-83602 customfield_number: Add help text for fieldtype. 2024-10-31 16:16:17 +08:00
Marina Glancy
e681b5219d MDL-83514 customfield_number: add missing event observers 2024-10-29 19:43:39 +00:00
Marina Glancy
6d757af2c9 MDL-83430 customfield_number: call display method from provider earlier 2024-10-14 10:55:21 +01:00
Marina Glancy
61d9a4ccac MDL-83430 customfield_number: fix storing activities number when 0 2024-10-14 10:55:15 +01:00
Jun Pataleta
5b421c6db6
NOBUG: Add upgrade notes 2024-10-05 15:08:28 +08:00
Huong Nguyen
3a6640c461
NOBUG: Add upgrade notes 2024-10-04 21:06:11 +07:00
Jun Pataleta
62b8b3709d
Merge branch 'MDL-83238-main-enfix' of https://github.com/mudrd8mz/moodle 2024-10-03 16:01:53 +08:00
Jun Pataleta
f24e0ecf53
MDL-83309 versions: Bump all versions and requires near release 2024-10-02 17:04:53 +08:00
Huong Nguyen
4d1c0cb04b
NOBUG: Add upgrade notes 2024-10-01 19:37:15 +07:00
David Mudrák
cdd3b4648f MDL-83238 lang: Fix the changed strings in the tests, too 2024-09-30 20:04:54 +02:00
Helen Foster
8e8267144d MDL-83238 lang: Import fixed English strings (en_fix) 2024-09-30 19:42:49 +02:00
Huong Nguyen
282421ce6c
NOBUG: Change upgrade notes version 2024-09-27 19:16:56 +07:00
Huong Nguyen
7b4ed9096f
NOBUG: Add upgrade notes 2024-09-27 18:45:07 +07:00
Andrew Nicols
bc44c50481
Merge branch 'MDL-83094' of https://github.com/paulholden/moodle 2024-09-27 11:05:34 +08:00
Sara Arjona
3140928651
NOBUG: Add upgrade notes 2024-09-24 16:54:09 +02:00
Sara Arjona
15f4091392
NOBUG: Add upgrade notes 2024-09-20 17:12:53 +02:00
Ilya Tregubov
847fa95212 Merge branch 'MDL-82488' of https://github.com/paulholden/moodle 2024-09-20 09:24:51 +08:00
Paul Holden
4fc4fb27ea
MDL-82715 customfield_number: coding style cleanup/clarification. 2024-09-19 18:36:36 +01:00
Ilya Tregubov
8b5b91475e MDL-82715 customfield_number: Add automatically populated providers.
Added number of activity provider and also hooks for plugins.
2024-09-19 16:21:50 +08:00
Paul Holden
41fe473882
MDL-83094 customfield: align persistent definitions with DB schema.
Where the field/category tables allow nulls, the definition within
each corresponding persistent should match.
2024-09-12 16:29:25 +01:00
Marina Glancy
c1300fe8bc MDL-83052 customfield_number: do not display 0 when not set 2024-09-09 11:14:47 +01:00
Paul Holden
865e8f3e90
MDL-82571 customfield_number: small coding style cleanup. 2024-09-04 10:14:25 +01:00
Carlos Castillo
241fa420d8 MDL-82571 customfield_number: Display format to number custom field
Add extra settings to the new number custom field in order to allow it
format the exported data using placeholders plus supporting multi language.
2024-09-03 15:24:01 +02:00
Paul Holden
8c5d9819dc
MDL-82488 customfield: allow for unescaped field formatted names.
Resolves double encoding of the same in Report builder editor.
2024-08-30 09:43:04 +01:00
Huong Nguyen
dca18ebca3
Merge branch 'MDL-81634-main' of https://github.com/andrewnicols/moodle 2024-08-20 09:30:44 +07:00
Huong Nguyen
e2708aeacf
NOBUG: Add upgrade notes 2024-08-16 08:37:50 +07:00
Huong Nguyen
e6ea778c03
NOBUG: Fixed SVG browser compatibility 2024-08-16 08:37:01 +07:00
Huong Nguyen
31e1fa1f1b
Merge branch 'MDL-82211-main' of https://github.com/sarjona/moodle 2024-08-13 15:37:02 +07:00
Sara Arjona
26605a6f53
MDL-82211 customfield: Update SVG icons 2024-08-13 07:22:42 +02:00
Mikel Martín
f179890ad5 MDL-75671 theme_boost: Refactor text direction classes for BS5
- Add SCSS code for text direction utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (text-left > text-start, text-sm-right > text-sm-end, ...)
2024-08-09 07:40:17 +02:00
Mikel Martín
6baf2046d5 MDL-75671 theme_boost: Refactor float classes for BS5
- Add SCSS code for float  utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (float-left > float-start, float-sm-right > float-sm-end, ...)
2024-08-09 07:40:17 +02:00
Mikel Martín
0a03018116 MDL-75671 theme_boost: Refactor spacing classes for BS5
- Add SCSS code for spacing utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (pr-1 > pe-1, ml-auto > ms-auto, ml-sm-3 > ms-sm-3, ...)
2024-08-09 07:40:17 +02:00
Jun Pataleta
6d1816797c
Merge branch 'MDL-82599-main-enfix' of https://github.com/mudrd8mz/moodle 2024-08-09 11:20:14 +08:00
David Mudrák
7af4e8816f MDL-82599 lang: Use the fixed strings in tests, too 2024-08-02 14:57:43 +02:00
Paul Holden
bad720a112
MDL-82669 editor: remove reliance on Atto editor in Behat scenarios. 2024-08-02 10:33:25 +01:00
Andrew Nicols
024e36be17
MDL-81634 core: Fix all implicitly defined nullables
Note: This does not impact third-party libraries.
2024-08-02 14:11:12 +08:00
Ilya Tregubov
1e1af341c0 NOBUG: Add upgrade notes 2024-08-02 09:30:38 +08:00
Sara Arjona
db70ef1d1b
Merge branch 'MDL-82596' of https://github.com/paulholden/moodle 2024-07-31 16:45:59 +02:00
Paul Holden
89dbe63dcf
MDL-80858 customfield_number: new field type for numeric data.
Provide field type to allow for number type data to be stored and
presented within those components that already support custom fields.

This is especially useful for reporting purposes.
2024-07-31 11:19:32 +01:00
Paul Holden
794115abdf
MDL-82596 behat: tidy up existing usage of private files generator.
Filename is no longer required (since 83db25c330), given it never
did anything so can be removed. Requiring the "Private files" block
also isn't necessary since original switch to generator methods.
2024-07-26 18:32:27 +01:00