- 02 Apr, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: update doc how to insert/update/delete non primary templateGroup records. FormAction.php: removed $templateGroupIndex - solved implicit by defining a LIMIT on 'slaveId' . Implemented '%D' (one below %d). Implemented FE_SQL_HONOR_FORM_ELEMENTS - reduces unecassary SQL queries. HelperFormElement.php: moved function 'explodeTemplateGroupElements()' to 'QuickFormQuery.php' Database.php: remove call to explodeTemplateGroupElements() - not necessary at that place. QuickFormQuery.php: fill STORE_RECORD during Formload - to read templateGroup records very early. Local copy of `getNativeFormElements()`, new `explodeTemplateGroupElements()`
-
- 27 Mar, 2017 1 commit
-
-
Carsten Rose authored
''abel' and 'note' are fixed - 'value' is still not updated, open. HelperFormElement.php: buildFormElementName() had some issue if there was no $formElement[FE_NAME] defined. New workaround: take the $formElement[FE_ID] instead. AbstractBuildForm.php: creation of JSON has been missed - now fixed. The $value is rendered (recent value), but probably the client is not prepared to update a non-HTML-input field. This has to debug with RO.
-
- 26 Mar, 2017 1 commit
-
-
Carsten Rose authored
The new implementation creates empty fake instances of all copies of templateGroup FormElements. Those are empty. Before save, the submitted form values will be expanded with the empty fake templateGroup FormElements and such empty values will be saved. FormAction.php: Rename constant SQL_FORM_ELEMENT_TEMPLATE_GROUP to SQL_FORM_ELEMENT_TEMPLATE_GROUP_FE_ID - to be more precise. HelperFormElement.php, Database.php: new function explodeTemplateGroupElements()
-
- 25 Mar, 2017 2 commits
-
-
Carsten Rose authored
AbstractBuildForm.php: Saving 'extra' FE in STORE_SIP has been done with inappropiate FE_NAME. Correct is the pure FE_NAME, without any extension like recordId. Unessary and broken decoding removed.
-
Carsten Rose authored
HelpFormElement.php: Introduced new constants HTML_DELIMITER_NAME, HTML_DELIMITER_ID AbstractBuildForm.php: Saving 'extra' FE in STORE_SIP has been done with inappropiate FE_NAME. Correct is the pure FE_NAME, without any extension like recordId. Unessary and broken decoding removed.
-
- 02 Mar, 2017 1 commit
-
-
Carsten Rose authored
*.php: extend explodeParameter(), explodeParameterInArrayElements() with argument $keyName, to make it more generic.
-
- 01 Mar, 2017 1 commit
-
-
Carsten Rose authored
FillStoreForm.php, HelperFormElement.php, BuildFormBootstap.php, BuildFormPlain.php, BuildFormTable.php, QuickFormQuery.php: Rename buildFormElementId() to buildFormElementname(). New Function buildFormElementId(). Rename variable $htmlFormElementId to $htmlFormElementName. Support.php: tooltips now contain an html id. Constants.php: Preparation for API 'element-update'.
-
- 14 Feb, 2017 1 commit
-
-
Carsten Rose authored
Default fuer Store Prioritaet hat sich geaendert: alt='FSRD', neu='FSRVD' - damit wird ist es ueberfluessig den V Store anzugeben. Variable '_filename' umbenannt in 'filename' und verschoben von STORE_FORM nach STORE_VARS. Damit ist es ueberfluessig eine Sanatize Klasse anzugeben. STORE_VAR hat zwei neue Variablen: 'filename', 'fileDestination'. Bei Form-Action Elemente gibt es zwei neue Typen: 'sqlBefore' und 'sqlAfter' Index.rst: Dokumentation auf V2 angepasst. Doku fuer V1 hat es nie gegeben. FormAction.php: Moved function initActionFormElement to HelperFormElement::initActionFormElement(), Implement sqlBefore & sqlAfter for Action Elemente. HelperFormElement.php: new class initActionFormElement(), initUploadFormElement(). FillStoreForm.php, AbstractBuildForm.php, Evaluate.php: Implemented the $skip parameter to suppress unwanted variable expansion during form load. Constants.php: New STORE_USE_DEFAULT, VAR_FILE_DESTINATION, VAR_FILENAME,FE_SQL_AFTER, FE_SQL_BEOFRE, FE_TYPE_UPLOAD. Evaluate.php: moved 'decryptCurlyBraces()' up, in order to create better error messages. Save.php: new doUploadSlave(), implement 'Upload advanced mode'.
-
- 09 Feb, 2017 1 commit
-
-
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()
-
- 07 Feb, 2017 2 commits
-
-
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]) .
-
- 06 Feb, 2017 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php: added new 'data-compare-element' for buildInput(). QuickFormQuery.php: Adjsut native FormElements in case some of them are 'retype=1'
-
- 30 May, 2016 1 commit
-
-
Carsten Rose authored
-
- 18 May, 2016 1 commit
-
-
Carsten Rose authored
-
- 09 May, 2016 1 commit
-
-
Carsten Rose authored
CheckBox Multi: checkboxes are now builded with uniq html names. This is necessary for the client, to assign values correctly to multiple checkboxes during form update by JSON data. HelperFormElement.php: new prependFormElementIdCheckBoxMulti() FillStoreForm.php: new collectCheckboxMultiValue(), process() recoded to collect checkBoxMulti values to one element. AbstractBuildForm.php: checkBoxMulti elements: a) no longer contains an '[]' at the end, b) get individual names
-
- 18 Apr, 2016 1 commit
-
-
Carsten Rose authored
AbstractException.php: If exist, print Form And FormElement names. HelperFormElement.php, Logger.php, FillStoreForm.php, AbstractBuildForm.php: fomatting form element name. Support.php: add setIfNotSet()
-
- 02 Apr, 2016 1 commit
-
-
Carsten Rose authored
UserReportException.php: Added field SYSTEM_REPORT_COLUMN_NAME to output. Array members renamed to SYSTEM_*. Various files adjusted to inlcude renamed file `UserFormException.php`. Link.php: Mamut switch() in parseItem() refactored to use $callTable. Report.php: refactoring started to use UserReportException() instead of SyntaxReportException. Startet removing all fr_error usages.
-
- 01 Apr, 2016 1 commit
-
-
Carsten Rose authored
-
- 23 Feb, 2016 1 commit
-
-
Carsten Rose authored
-
- 22 Feb, 2016 1 commit
-
-
Carsten Rose authored
-
- 09 Feb, 2016 1 commit
-
-
Carsten Rose authored
-
- 02 Feb, 2016 1 commit
-
-
Carsten Rose authored
DbException: minor renaming. HelpFormElement: New buildFormElementId. Support: New log().
-
- 29 Jan, 2016 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
- 28 Jan, 2016 1 commit
-
-
Carsten Rose authored
HelperFormElement, KeyValueStringParser, AbstractBuildFormd, Constants, Database: All Exceptions supplied with an error code
-
- 26 Jan, 2016 1 commit
-
-
Carsten Rose authored
-