Andrew Nicols
99e8362272
Merge branch 'MDL-78149' of https://github.com/paulholden/moodle
2023-05-15 22:05:52 +08:00
Paul Holden
52937b39c8
MDL-78149 mod_data: ensure group selector is always present.
2023-05-09 12:03:43 +01:00
Paul Holden
029474c319
MDL-70189 lang: final removal of deprecated 311 strings.
2023-05-04 14:15:35 +01:00
Sara Arjona
537e5bf5e4
Merge branch 'MDL-77791_master' of https://github.com/dvdcastro/moodle
2023-05-02 12:03:48 +02:00
David Castro
5d9fec141d
MDL-77791 data: Fix file attachment to search doc
2023-04-25 19:51:44 -05:00
Jun Pataleta
9095bb0ef9
MDL-78000 upgrade: add the 4.2.0 separation line to all upgrade scripts
2023-04-22 23:17:50 +08:00
Eloy Lafuente (stronk7)
061c9d7ba0
MDL-77940 versions: bump all versions and requires near release
...
version = 2023042400 release version
requires= 2023041800 current rc1 version
2023-04-18 18:08:09 +02:00
Sara Arjona
9ce4fb65fd
Merge branch 'MDL-77164-master' of https://github.com/marinaglancy/moodle
2023-04-13 14:00:18 +02:00
Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Marina Glancy
9ffbcce0ac
MDL-77164 various: fix mustache template name
2023-04-13 09:43:15 +01:00
Marina Glancy
04f8fdd021
MDL-77164 various: fix javascript AMD module name
2023-04-13 09:43:15 +01:00
Meirza
1f78fb2562
MDL-77348 mod_data: Added missing class properties
...
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-04-12 13:05:28 +07:00
Andrew Nicols
035d818dd3
MDL-76866 mod_data: Disable the HTML editor to insert partial HTML
...
This test is adding table rows into an HTML editor and, quite rightly,
is failing under TinyMCE.
This only worked under Atto because Atto does not perform any HTML
validation. A user would not actually be able to insert the template
content this way, and therefore the test is/was invalid.
This change disables the HTML editor before inserting the template
content, which resembles the actions of a real user.
2023-03-29 20:33:47 +08:00
Andrew Nicols
96fd7a83fb
MDL-76866 mod_data: Editors should have data-fieldtype attrib
2023-03-29 20:33:47 +08:00
Sara Arjona
6bcb807d15
Merge branch 'MDL-76360-master' of https://github.com/laurentdavid/moodle
2023-03-23 18:33:49 +01:00
Laurent David
76e3c30465
MDL-76360 mod_data: Field page layout improvement
...
* Unify the fields_action_bar and action_bar template
* Make sure the Create a field button is a primary button
* The fields_action_bar is very similar to the action_bar template so
should be used instead
2023-03-23 12:02:14 +01:00
Sara Arjona
2e334cf58c
Merge branch 'MDL-77523-master' of https://github.com/juancs/moodle
2023-03-21 15:46:27 +01:00
Sara Arjona
a15d363453
Merge branch 'MDL-77275-master' of https://github.com/laurentdavid/moodle
2023-03-17 13:03:31 +01:00
Juan Segarra Montesinos
844ca05c2e
MDL-77523 mod_data: textarea field should honor editor preferred format
2023-03-15 06:48:10 +01:00
Mark Johnson
8932fe55e5
MDL-68093 data: Add behat tests for groups
2023-03-14 08:52:26 +00:00
Laurent David
301c56ae1d
MDL-77275 mod_data: Template reset button changes
...
* Remove the reset button in the sticky footer (template page)
* Add the reset button action in the Action menu
2023-03-13 07:35:44 +01:00
Jun Pataleta
8441270181
Merge branch 'MDL-77559-master-2' of https://github.com/andrewnicols/moodle
2023-03-09 16:02:01 +08:00
Andrew Nicols
511401f4f6
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Andrew Nicols
974d7e4dab
Merge branch 'MDL-52805-42' of https://github.com/Chocolate-lightning/moodle
2023-03-08 14:49:59 +08:00
Paul Holden
355556c05f
MDL-77008 mod_data: require sesskey to reset module templates.
2023-03-08 00:54:14 +00:00
Mathew May
e5ca7766e7
MDL-52805 core: Remove legacy log calls
2023-03-07 13:08:46 +08:00
Helen Foster
2e99dd6346
MDL-77416 lang: Import fixed English strings (en_fix)
2023-03-03 14:02:06 +00:00
Jun Pataleta
916503658d
Merge branch 'MDL-75012-master-5' of https://github.com/andrewnicols/moodle
2023-03-02 12:34:34 +08:00
Andrew Nicols
33b1e41f13
MDL-75012 js: Full build of all grunt things
2023-03-02 11:55:32 +08:00
Sara Arjona
529faa9eaa
MDL-77276 mod_data: Update reset single template string
...
When a single template is reset, the string displayed in the modal should
not reference to "all templates" to avoid confusion, as it was shown in the
original prototype for the 4.1 database project.
2023-02-24 11:21:49 +01:00
Andrew Nicols
2de031b74c
Merge branch 'MDL-76066-master' of https://github.com/aanabit/moodle
2023-02-09 10:27:00 +08:00
Andrew Nicols
c9956b2c94
Merge branch 'MDL-77177' of https://github.com/paulholden/moodle
2023-02-09 07:11:32 +08:00
Paul Holden
a09dc53828
MDL-77177 mod_data: re-factor internal method argument order.
...
We cannot have required method parameters after optional, it doesn't
make sense. Also it causes deprecation notices in PHP8.1.
2023-02-08 09:57:52 +00:00
Andrew Nicols
e5c8a01996
Merge branch 'MDL-77042' of https://github.com/paulholden/moodle
2023-02-06 21:15:16 +08:00
Andrew Nicols
2f2c587552
Merge branch 'MDL-77100' of https://github.com/paulholden/moodle
2023-02-02 08:30:02 +08:00
Paul Holden
0f58d46b05
MDL-77100 mod_data: replace calls to str_ends_with, fix assertions.
...
Calls to `str_ends_with` are polyfilled currently, as the method is
not present in PHP7.4 or earlier. We should avoid uses of it so as
to not trip up compatibility standard checkers.
2023-01-31 21:35:33 +00:00
Andrew Nicols
1f4794341b
Merge branch 'MDL-75498-master' of https://github.com/ferranrecio/moodle
2023-01-31 15:13:33 +08:00
Ferran Recio
cde3565a67
MDL-75498 mod_data: add new tags to presets
2023-01-30 12:01:22 +01:00
Ferran Recio
0213df2f03
MDL-75498 mod_data: add extra tags to templates
2023-01-30 12:01:20 +01:00
Amaia Anabitarte
a58ea07a41
MDL-76357 theme: Make sticky footer more prominent
2023-01-26 13:11:18 +01:00
Paul Holden
723b01e416
MDL-77042 mod_data: fix empty/zero equality check for numeric field.
2023-01-25 16:57:58 +00:00
Sara Arjona
ae53d04144
Merge branch 'MDL-75337-master' of https://github.com/laurentdavid/moodle
2023-01-24 16:07:35 +01:00
Laurent David
9686196e91
MDL-75337 mod_data: Single button - mod_data changes
...
* Update mod_data module to use the new button style
2023-01-24 06:01:35 +01:00
Laurent David
fc72a1d7b1
MDL-75337 core: Single button - core changes
...
* Change all core calls toward single_button to use single_button::BUTTON_PRIMARY
when needed
2023-01-24 06:01:35 +01:00
Amaia Anabitarte
d4e66f1df5
MDL-76066 mod_data: Trigger field_deleted event when importing
2023-01-23 18:53:44 +01:00
Marina Glancy
b0a83aa7bd
MDL-76362 various: Avoid passing nulls to functions that don't allow nulls
...
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc
show notice when null is passed as an argument
2023-01-23 09:15:54 +08:00
Jun Pataleta
fad05d7929
Merge branch 'MDL-76583-master-withoutrename' of https://github.com/andrewnicols/moodle
2023-01-19 09:44:48 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +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