Eloy Lafuente (stronk7)
c3cb1ea063
Merge branch 'MDL-48501-master' of git://github.com/jswebster/moodle
2018-03-13 01:55:41 +01:00
Jeff Webster
be41e4e518
MDL-48501 form/recaptcha: update to use reCAPTCHA v2
2018-03-08 14:48:35 -05:00
Dan Marsden
1a11bf375c
MDL-49417 enrol_cohort: use ajax searchable selector for cohorts.
2018-03-01 13:39:56 +13:00
Andrew Nicols
6d019541ad
Merge branch 'MDL-43648-int-fix-1' of github.com:ryanwyllie/moodle
2018-01-10 10:38:20 +08:00
Ryan Wyllie
9f421a184a
MDL-43648 form: fix hours and minutes in date_time_selector
2018-01-10 02:28:19 +00:00
Andrew Nicols
168fc2d9ec
Merge branch 'MDL-61061_hideif_group' of git://github.com/davosmith/moodle
2018-01-10 08:46:05 +08:00
Andrew Nicols
61f56fd5f9
Merge branch 'MDL-43648_m35v2' of https://github.com/sbourget/moodle
2018-01-09 11:43:33 +08:00
Davo Smith
d5cd1496ce
MDL-61061 formslib: make sure hideIf rules hide labels within groups
2018-01-03 13:05:58 +00:00
Mihail Geshoski
f44f9db418
MDL-43827 filepicker: Multiple actions not accessible using keyboard
2017-12-21 14:06:25 +08:00
Stephen Bourget
57422d7158
MDL-43648 course: Allow start /end dates to have times
2017-12-14 19:48:31 -05:00
Andrew Nicols
2f920d9be8
Merge branch 'wip-MDL-56864-master' of git://github.com/marinaglancy/moodle
2017-12-12 13:36:32 +08:00
Damyon Wiese
387f7aae0d
MDL-36056 forms: Don't validate disabled fields
...
When fields are disabled, the value comes through as null so we need to specifically check for it
before validation.
2017-12-06 19:53:30 +13:00
Damyon Wiese
b0c4f9c21c
Merge branch 'MDL-36056-master-enrolkeywhitespace' of git://github.com/mudrd8mz/moodle
2017-12-04 16:00:19 +08:00
David Mudrák
0c6554e03c
MDL-36056 form: Do not allow passwords with wrapping whitespace
...
This is to avoid accidental misconfiguration while copy/pasting the
password value.
2017-11-30 10:47:57 +01:00
Eloy Lafuente (stronk7)
8c9eecdea7
Merge branch 'MDL-60682' of git://github.com/timhunt/moodle
2017-11-28 20:37:59 +01:00
Tim Hunt
223419d92c
MDL-60682 forms: date/times should use step 1 minute by default
2017-11-21 14:50:28 +00:00
Marina Glancy
077edd3038
MDL-56864 forms: allow to remove last tag with forced standard tags
2017-11-21 15:29:03 +08:00
Marina Glancy
be2e38ed92
MDL-56864 forms: boost templates don't allow remove last tag
2017-11-21 15:29:02 +08:00
Damyon Wiese
fda2fa2680
MDL-60526 forms: Prevent duplicate type attributes
...
The exporter for mform elements does not skip "type" (which is included as a separate value).
2017-11-15 11:53:56 +08:00
Simey Lameze
3c2b703e00
MDL-59686 form: fix autosave support for editor field
2017-10-26 09:03:31 +08:00
Eloy Lafuente (stronk7)
b3f41c084d
MDL-60485 modgrade: Change string expectation in related test
2017-10-20 18:57:31 +02:00
Adrian Greeve
749af21bd4
MDL-60485 modgrade: Update to mod settings form.
...
The message for changing the max grade in the module form
was inaccurate for modules that can not rescale.
2017-10-19 10:42:02 +08:00
Jun Pataleta
d63c2d35ec
Merge branch 'MDL-60205_group_hiding_clean' of git://github.com/davosmith/moodle
2017-10-10 11:08:06 +08:00
Andrew Nicols
9f2bb19a47
Merge branch 'MDL-60012_form_neq_regression' of git://github.com/davosmith/moodle
2017-10-09 10:13:30 +08:00
Davo Smith
c377d07f26
MDL-60205 form: fix hiding of elements within groups with theme_clean
2017-10-03 09:10:56 +01:00
Davo Smith
b67f3bc693
MDL-60012 form: improve clarity of elementsByName code
2017-10-03 09:09:09 +01:00
Jake Dallimore
b8c31dfe6d
MDL-59507 forms: unit tests confirming that .xxx is an invalid extension
...
Modified:
- test_data_for_browser()
- test_unknow_file_types()
2017-09-18 09:03:00 +08:00
Jake Dallimore
405cbc09ba
MDL-59507 forms: accepted file types won't allow the .xxx extension
...
- Modified get_filetypes_browser_data() to exclude this extension.
- Server side form validation blocks this extension too.
2017-09-18 09:03:00 +08:00
Davo Smith
8cab0a2571
MDL-60012 form: fix 'neq' disabledif regression
2017-09-14 16:28:53 +01:00
Marina Glancy
032674eebc
MDL-59775 forms: add femptylabel class to els without labels
...
This class was present in clean/more but was forgotted in boost
2017-09-11 10:33:48 +08:00
Eloy Lafuente (stronk7)
a4cdbff86c
MDL-59713 forms: prevent php warning when 'optional' option is missing
2017-08-29 20:12:41 +02:00
Damyon Wiese
26c4d2bf79
MDL-59628 forms: Get a valid zindex for datepicker
...
We have a way to determine a valid zindex when adding things to a page. Find all the moodle-has-zindex things and
choose a value bigger all of them. This needs doing in javascript whenever a thing is opened. It's not possible to
fix generically in CSS (remember the historic z-index wars).
2017-08-29 12:09:59 +08:00
Andrew Nicols
8cb6a55147
Merge branch 'MDL-53848_form_hideif' of git://github.com/davosmith/moodle
2017-08-23 09:56:00 +08:00
Jake Dallimore
81ed702156
MDL-36985 atto: show file removal text on managefiles plugin
...
Shows a text warning in the manage files plugin window when an editor
has set the 'removeorphaneddrafts' option to true. The text tells the
user that unused files will be automatically deleted on save.
2017-08-22 13:19:52 +08:00
Davo Smith
527459a4c7
MDL-53848 mod_assign, formslib: add hideIf to real form and adapt behat tests to use this
2017-08-17 14:52:11 +01:00
Davo Smith
8dff6c78bd
MDL-53848 formslib: peer review fixes
2017-08-17 14:52:11 +01:00
Davo Smith
68d206b274
MDL-53848 form: fix disabledIf functionality
2017-08-17 14:52:11 +01:00
Davo Smith
766d6f9a61
MDL-53848 form: hide entire group if hideIf test is applied to the group
2017-08-17 14:52:10 +01:00
Ankit Agarwal
988879655b
MDL-53848 formslib: make conditional hidden elements properly accessible
2017-08-17 14:52:10 +01:00
Marina Glancy
f3da329da4
MDL-53848 forms: additions to the behat test
2017-08-17 14:52:10 +01:00
Davo Smith
d20498625c
MDL-53848 form: add hideIf functionality
2017-08-17 14:52:10 +01:00
Eloy Lafuente (stronk7)
245227fdcd
Merge branch 'MDL-59667-master-2' of git://github.com/ryanwyllie/moodle
2017-08-15 13:12:45 +02:00
Ryan Wyllie
ecc88f3379
MDL-59667 form: stop datepicker from rendering outside viewport
...
Stop the date picker panel from being rendered outside of the
viewport, for example when being displayed in a modal.
2017-08-15 01:24:52 +00:00
Jun Pataleta
28368da794
Merge branch 'MDL-59740_master' of git://github.com/markn86/moodle
2017-08-14 13:48:01 +08:00
Andrew Nicols
c036256d86
Merge branch 'MDL-59749-master' of git://github.com/ryanwyllie/moodle
2017-08-08 14:33:43 +08:00
Ryan Wyllie
0a501e1b2e
MDL-59749 form: revert setting id on inline form elements
...
Revert the change I made in MDL-59382 to correctly set the id for inline
form elements because it's breaking a bunch of different places that had
already worked around the problem.
2017-08-08 03:28:36 +00:00
Mark Nelson
a91a4dd77b
MDL-59740 core_form: add ability to specify if a button is primary
2017-08-07 17:37:14 +08:00
Andrew Nicols
a41ef5ece5
Merge branch 'MDL-59698-master' of git://github.com/damyon/moodle
2017-08-07 12:43:42 +08:00
Damyon Wiese
63f4aa20b2
MDL-59698 behat: Remove bad tests
...
These tests are an abuse and should not have been accepted. Behat tests should use real pages.
Adding testing only entry points to Moodle is a bad security practice and is not the purpose of behat.
2017-08-03 10:26:05 +08:00
Andrew Nicols
c6de3bd68f
Merge branch 'MDL-59382-master-4' of git://github.com/ryanwyllie/moodle
2017-08-03 09:31:44 +08:00