161 Commits

Author SHA1 Message Date
Jun Pataleta
b7b65fe478
Merge branch 'MDL-83602-main' of https://github.com/ilyatregubov/moodle 2024-11-06 13:30:40 +08: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
Jun Pataleta
902f9535b6
NOBUG: Add upgrade notes 2024-07-26 13:35:25 +08:00
Paul Holden
e8410c844e
MDL-82481 customfield_select: return field options pre-formatted. 2024-07-18 14:03:16 +01:00
Huong Nguyen
57fbce061b
Merge branch 'MDL-82251' of https://github.com/paulholden/moodle 2024-06-27 10:55:53 +07:00
Paul Holden
9eab858ea3
MDL-82251 customfield: correct field management icon sizes. 2024-06-20 08:26:49 +01:00
Eloy Lafuente (stronk7)
674497a12c
MDL-81523 phpunit: Add all missing setUp/tearDown parent calls
All setUp(), tearDown(), setUpBeforeClass() and tearDownAfterClass()
must, always, call to parent, to ensure that everything is properly
set and cleaned.

While in a lot of situations this is not needed (parents may not
have anything to run), with PHPUnit >= 10 this can become more
important because we are going to move the reset code from current
placement @ runBare() to setUp()/tearDown().

Note that all the changes performed in this commit have been detected
and fixed by moodle-cs (ParentSetUpTearDownSniffTest).
2024-06-14 16:04:57 +02:00
Huong Nguyen
96d29ef71b
Merge branch 'MDL-81522' of https://github.com/stronk7/moodle 2024-06-12 08:46:31 +07:00
Eloy Lafuente (stronk7)
01148a0816
MDL-81522 phpunit: Add missing void return type to all tests
While this change is not 100% required now, it's good habit
and we are checking for it since Moodle 4.4.

All the changes in this commit have been applied automatically
using the moodle.PHPUnit.TestReturnType sniff and are, exclusively
adding the ": void" return types when missing.
2024-06-11 11:55:07 +02:00
Jun Pataleta
9c706bb48b
MDL-81919 core: Minor fixes
* Typo in Jerome Mouneyrac's name.
* Remove other trailing commas in inline arrays.
2024-06-10 13:17:11 +08:00
Andrew Nicols
a128312ccb
MDL-81919 customfield: Rewrite poor test assertion 2024-06-10 12:13:00 +08:00