Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Marina Glancy
4b99c6a795
MDL-76102 lib: PEAR - passing null to str functions is deprecated
2022-10-27 07:36:26 +02:00
Huong Nguyen
46aece2b63
MDL-71126 Quiz: Manual grading page size preference can get stuck at 0
...
Including in this change:
- New positiveint regex rule to check if the value is a positive integer
2021-05-14 17:01:45 +07:00
Kordan
c8e67bac6b
MDL-70711 form: deleted useless if block
...
get_magic_quotes_gpc() always return false since PHP 5.3 so (1 == get_magic_quotes_gpc()) is never verified.
This allows me to safetly delete what I dropped out.
2021-01-28 08:48:55 +01:00
Jake Dallimore
c87010baca
MDL-62947 core_form: fix remote code execution exploit in QuickForms
...
Applies the patch found upstream:
https://github.com/pear/HTML_QuickForm/commit/
d3a6d5c44dedf3c164c6c79198e4ef479bcedcd2 and make util methods static
for php7 compatibility.
2018-09-05 12:12:19 +08:00
Marina Glancy
62a3c42947
MDL-56110 forms: debug message for php 7.1 compat
...
Follow up for MDL-55123
2016-10-13 09:18:34 +08:00
Marina Glancy
721e2def56
MDL-55123 forms: do not call non-static methods statically
...
this breaks in PHP7.1
2016-09-12 12:06:18 +08:00
David Monllao
2edb12ec30
MDL-52826 forms: Move global functions to self-contained
2016-01-22 15:43:08 +08:00
Marina Glancy
1a0df5535e
MDL-52081 forms: Use __construct() for constructors
2015-12-10 13:38:01 +08:00
Tim Lock
9c390d62ed
MDL-41908 QuickForm: Fix PEAR Non-static method error
2013-10-01 09:53:26 +09:30
Petr Skoda
66b3302dec
MDL-32405 workaround for non-static PEAR::raise_error() and fixed -1 debug support
2012-04-15 17:02:26 +02:00
Petr Skoda
fabbf4398b
MDL-32094 some nasty quickforms hacks that should help with E_STRICT
...
Note: we have stopped tracking our QuickForms hacks long ago.
2012-03-18 18:39:37 +01:00
Davo Smith
9f9c794733
MDL-29147 Quickform fixed insertElementBefore to ignore duplicate unnamed elements
2012-02-27 20:05:39 +00:00
Marina Glancy
7b5702b681
MDL-19907 rewrote validation for required fields in forms, including support for editor field. Added parameter to use strict (no spaces) required fields validation
2011-07-29 13:51:26 +08:00
Petr Skoda
714dac9f7b
MDL-24058 magic quotes are being delat with in our lib/setup.php, no need to use them again in our heavily hacked quickforms
2010-09-02 12:47:59 +00:00
Petr Skoda
e56458a7c7
MDL-23486 fixed regression, sorrrrry
2010-07-24 19:19:37 +00:00
Petr Skoda
a5e94d4bb3
MDL-23486 ugly ugly ugly hack - hardcoded required text checking in editor element; we should realy create new forms engine in 2.1 :-(
2010-07-23 18:31:31 +00:00
Jonathan Harker
fcbf4b6fac
lib/pear MDL-20876 fix deprecated split() calls to use explode, str_split or preg_split
...
Author: Jonathan Harker <jonathan@catalyst.net.nz >
2010-07-20 01:16:55 +00:00
skodak
66491cf130
MDL-19415 fixing deprecated use of contructors
2009-07-02 14:58:41 +00:00
jamiesensei
da6f876395
This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.
...
This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.
2006-09-24 17:04:51 +00:00