- Feb 15, 2017
-
-
Rafael Ostertag authored
-
Rafael Ostertag authored
-
- Feb 13, 2017
-
-
Rafael Ostertag authored
-
- Feb 12, 2017
-
-
Carsten Rose authored
-
Carsten Rose authored
formEditor.sql: fixed problem while playing SQL query - deleting old FormElemnts of Formeditor deletes also other Formeelements.
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
AdminstratorManual/Index.rst: Update config.qfq.ini description to new parameter 'class'. Remove 'DB_NAME_TEST' cause that is only interesting to PHP Unit Tests and not to enduser. UserManual/Index.rst: Update STORE_SYSTEM description of known variables. Store.php, QuickFormQuery.php: Refactor building STORE_SYSTEM. Make it more generic if new parameters are introduced. Setting up new config.qfq.ini built in defaults and form defaults at one place. Renaming of parameter names in config.qfq.ini to STORE_SYSTEM at one place implemented with an extensible array. AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: User constant F_CLASS in $this->formSpec['class'] config.qfq.example.ini: comment empty variables - the new default setting is, that empty parameter in config.qfq.ini means EMPTY, not UNDEFINED.
-
- Feb 11, 2017
-
-
Carsten Rose authored
SupportTest.php: remove initialization of BuildFormPlain() - not clear if this was necessary. But latest checks complain about probelms.
-
Carsten Rose authored
Store.php: extend constructor to respect optional configFileName - this makes it easier to implement various configfile cheks. StoreTest.php: new phpUnit checks to configfile syntax and default values.
-
Carsten Rose authored
-
Carsten Rose authored
Store.php: Update function name SanatizeTest.php: Update function name, extend tests to more situations.
-
Carsten Rose authored
Store.php, Sanatize.php: move function normalizeArray() from Store to Sanatize. Implemented Unittests
-
Carsten Rose authored
-
Carsten Rose authored
-
- Feb 10, 2017
-
-
Carsten Rose authored
-
Carsten Rose authored
Add FORM_BS_LABEL_COLUMNS, FORM_BS_INPUT_COLUMNS, FORM_BS_NOTE_COLUMNS to config.qfq.ini. AdministratorManual/Index.rst: added notes to install php-intl, new config.qfq.ini parameter (see above). UserManual/index.rst: Fix wrong store name SYSTEM: S > Y. Add new config.qfq.ini parameter (see above). Store.php: new general function to translate upper case config prameter names to to camel hook FormElement names. Split function fillSystemStore(). Add function normalizeArray(). Constants.php: add new error, renumber error codes 1056-1073. Introduce new config.qfq.ini parameter SYSTEM_FORM_BS_* QuickFormQuery.php: Use of new bs*Column values defined in config.qfq.inc (not hardcoded here anymore)
-
- Feb 09, 2017
-
-
Carsten Rose authored
Create function `Database->getNativeFormElements()` to unify all needed actions on fresh loaded FormElements like explodeParameterInArrayElements, duplicateRetypEelements, copyAttributesToFormElements. Native FormElements will be loaded on 4 different places in 3 classes. HelperFormElement.php: Moved copyAttributesToFormElements() from QuickFormQuery to HelperFormElement. AbstractBuildForm.php, BuildFormBootstrap.php, QuickFormQuery.php : Use of Database->getNativeFormElements() Database.php: HelperFormElement::copyAttributesToFormElements()
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
FormAction.phhp, Store.php, AbstractBuildForm.php, Constants.php, QuickForemQuery.php, Index.rst: Added STORE_BEFORE, #3146
-
Carsten Rose authored
-
- Feb 08, 2017
-
-
Carsten Rose authored
-
Carsten Rose authored
FormAction.php, Report.php, Sendmail.php, Index.rst: By default all QFQ send mails contains now 'auto-submit'.
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Rafael Ostertag authored
Form.js: When boostrap-validator is available use it to validate forms, instead of blindly using .checkValidity() on. Allows to detect errors recognized only by bootstrap-validator.
-
- Feb 07, 2017
-
-
Carsten Rose authored
AbstractBuildForm.php, QuickFormQuery.php: Added specific validator.js error text definition to remaining HTML form elements. Not sure if all of them will benefit of it.
-
Carsten Rose authored
Added validator.js attributes 'data-pattern-error', 'data-rquired-error', 'data-match-error', 'data-error' to be specified in config.qfq.ini, Form or FormElement. Detailed setting will overwrite generic setting. If none is specified, take validator.js defaults. HelperFormElement.php, AbstractBuildForm.php, Constants.php, QuickFormQuery.php.
-
Carsten Rose authored
HelperFormElement.php, AbstractBuildForm.php, Constants.php: 'Retype function' - default value will be copied to second element. Detection of secondary-'retype'-FormElement can be done by isset($fe[FE_RETYPE_SOURCE_NAME]) .
-
Carsten Rose authored
-
Carsten Rose authored
-