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
Shamim Rezaie
e541732a6a
Merge branch 'MDL-74465-master-5' of https://github.com/marinaglancy/moodle
2023-03-31 13:45:15 +11:00
Marina Glancy
6b081d2e9f
MDL-74465 blocks: allow configuration in modal
...
Introduce 'pagehash' - an identifier that uniquely identifies a page for the user session
2023-03-30 12:15:54 +01:00
Jun Pataleta
8e8a8c1a60
MDL-77761 core_form: Add label for editor format selector
2023-03-29 07:59:39 +08:00
Shamim Rezaie
14eefae721
MDL-76149 form: Change checker to respect .ignoredirty for active node
2023-03-27 04:47:49 +11:00
Ilya Tregubov
58fb00eb18
Merge branch 'MDL-77308-master' of https://github.com/andrewnicols/moodle
2023-03-09 17:02:07 +08:00
Andrew Nicols
f58a71baab
MDL-77308 core: Remove editor_tiny from core
2023-03-09 15:28:35 +08:00
Andrew Nicols
511401f4f6
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08: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
Andrew Nicols
9e8532058f
Merge branch 'MDL-77368' of https://github.com/paulholden/moodle
2023-03-02 11:18:34 +08:00
Andrew Nicols
a95f9fc1fb
Merge branch 'MDL-69838' of https://github.com/paulholden/moodle
2023-02-23 10:39:42 +08:00
Paul Holden
09f51d1461
MDL-77368 forms: remove console logging of upload DOM element.
2023-02-22 17:44:30 +00:00
Andrew Nicols
3db03d69b5
Merge branch 'MDL-76478-password-unmask' of https://github.com/brendanheywood/moodle
2023-02-15 23:07:23 +08:00
Ilya Tregubov
d54a1d78f1
Merge branch 'MDL-75230-master' of https://github.com/andelacruz/moodle
2023-02-15 16:12:19 +08:00
Paul Holden
889f35fc26
MDL-69838 core: final removal of deprecated 310 methods.
2023-02-10 11:20:00 +00:00
Jun Pataleta
c909797ec1
Merge branch 'MDL-77007-master' of https://github.com/andrewnicols/moodle
2023-02-09 10:52:55 +08:00
Angelia Dela Cruz
367027f979
MDL-75230 behat: Lesson Behat tests optimised
...
Replace steps that manually add Lesson instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2023-02-08 14:20:21 +08:00
Andrew Nicols
94cb2bbc60
Merge branch 'mdl-76729_master' of https://github.com/james-cnz/moodle
2023-02-07 12:36:52 +08:00
Andrew Nicols
84929c01f7
MDL-77007 core_form: Remove deprecated moodle-form-passwordunmask
2023-01-24 15:08:50 +08: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
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Brendan Heywood
d561d97273
MDL-76478 formslib: Fix autocomplete bug of existing passwords
2023-01-16 22:58:07 +11:00
Jun Pataleta
2924075480
MDL-76803 lang: Update usages of reworded email display options
2023-01-10 16:01:18 +08:00
james-cnz
2771e87019
MDL-76729 filepicker: Restore file picker thumbnails in tree view
2023-01-10 12:03:28 +13:00
Paul Holden
b67b4791b5
MDL-76667 forms: mark modal form as submitted upon success.
...
Ensure the form change checker module doesn't warn user about it.
2022-12-13 14:22:47 +00:00
Marina Glancy
a800e7e62f
MDL-74853 various: add second parameter to htmlentities functions
...
Default value of the $flag argument changed in PHP 8.1 from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE
To ensure consistent behavior across different PHP version the second parameter is now required for the functions:
htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), html_entity_decode() and get_html_translation_table()
2022-11-28 16:12:20 +01:00
Andrew Nicols
7e6d32d7c2
Merge branch 'MDL-76112-master' of https://github.com/marinaglancy/moodle
2022-11-16 10:07:49 +08:00
Sara Arjona
91e66dbaed
Merge branch 'MDL-76039' of https://github.com/paulholden/moodle
2022-11-15 17:57:07 +01:00
Víctor Déniz
32fd6e60a4
Merge branch 'MDL-76229-master' of https://github.com/meirzamoodle/moodle
2022-11-14 22:56:13 +00:00
Paul Holden
7012900d08
MDL-76039 forms: account for null values in serialize util method.
...
Co-authored-by: Marina Glancy <marina@moodle.com>
2022-11-14 14:20:52 +00:00
Meirza
82d491cafa
MDL-76229 core_form: Show frozen text editor in a more accessible way.
2022-11-12 18:27:09 +07:00
Sara Arjona
d1a0ee011f
Merge branch 'MDL-76059' of https://github.com/paulholden/moodle
2022-11-09 12:31:31 +01:00
Marina Glancy
a34b4ebdc3
MDL-76112 various: can not pss null as 3rd param to preg_split
...
This produces notices in PHP 8.1
2022-10-28 10:51:20 +02:00
Thong Bui
5151cd6bd0
MDL-75784 Forms: Fix issues multi expand all/collapse buttons on a page
2022-10-26 14:06:54 +07:00
Paul Holden
3be5954500
MDL-76059 forms: graceful early exit for invalid button elements.
...
Ensure login form tries to capture guest button only if it exists.
2022-10-21 19:36:24 +01:00
Huong Nguyen
0795b579fa
MDL-74814 forms: Fix accessibility issue in edit profile page
...
- Fixed legend tag issue
- Modified the passwordunmask Javascript hide/unhide the password field by CSS class
2022-10-17 09:31:53 +07:00
Sara Arjona
fd14173a88
Merge branch 'MDL-75656' of https://github.com/paulholden/moodle
2022-10-10 16:16:20 +02:00
Jun Pataleta
6efeecd126
Merge branch 'MDL-75910-master' of https://github.com/andrewnicols/moodle
2022-10-10 11:07:27 +08:00
Andrew Nicols
1e71671205
Merge branch 'MDL-61395' of https://github.com/paulholden/moodle
2022-10-09 13:13:03 +08:00
Simey Lameze
f1be9b6544
MDL-75910 core_form: Allow editor field to set a hidden label
...
When an editor is used in a form as part of a group, it is missing its
label element.
This happens because there is no inline template for the editor, and
therefore it reverts to using the old `toHtml` function. The legacy
function does not cater to the editor being in a group, and therefore
does not add the hidden label.
In addition, the hiddenLabel attribute was missing from the editor
element. This is a semi-standard element but must be added to each
supporting element.
Both the missing inline template for the editor, and the hidden label
attribute must be present:
- If the hidden label attribute is not present, then the standard inline
template will add a visible label within the group.
- If the inline editor template is missing, then the label is not shown
at all.
2022-10-06 22:53:47 +08:00
Andrew Nicols
39241f20e0
MDL-71686 core_form: Include missing build
2022-10-06 14:43:55 +08:00
Andrew Nicols
f075272e69
MDL-71686 core_form: Move form serializer to shared function
2022-10-06 10:21:01 +08:00
Andrew Nicols
2423c26749
Merge branch 'MDL-71686-master' of https://github.com/marinaglancy/moodle
2022-10-06 10:20:56 +08:00
Paul Holden
a366cb4d5c
MDL-61395 forms: style frozen tag element values.
2022-09-26 11:15:20 +01:00
Paul Holden
d2924e641b
MDL-75656 tag: decode entities in tags element values.
2022-09-26 10:56:28 +01:00
David Woloszyn
2efc12e104
MDL-75459 Collapsable Form Sections: Default state bug fix
...
In circumstances where all collapsible form sections were expanded on
page load, a check is now made to ensure the expand all/collapse all
button behaves as intended.
2022-09-20 14:44:53 +10:00
Marina Glancy
653433a289
MDL-71686 forms: allow arrays in dynamic forms args
2022-09-14 17:58:02 +02:00
David Mudrák
aa49eb24fb
MDL-75553 lang: Fix Behat regressions in scenario files
2022-09-06 21:47:18 +02:00