- 23 Mar, 2017 2 commits
-
-
Carsten Rose authored
Manual.rst: Update Doc for new option 'bsColumns' Config.php: Copy new element from general config. Store.php: set default for 'bsColumns'. QuickFormQuery.php: wrap whole form in 'col-md-XX'
-
Carsten Rose authored
Ldap.php: Added checks for missing LDAP..._SEARCH. Do not throw an error if there is an empty result. HTML Entitites for typeahead will be escaped on client side.
-
- 20 Mar, 2017 1 commit
-
-
Carsten Rose authored
OnArray.php: new function 'arrayValueReplace()'. AbstractBuildForm.php: Load foreign values in templatGroups.
-
- 19 Mar, 2017 1 commit
-
-
Carsten Rose authored
-
- 17 Mar, 2017 1 commit
-
-
Carsten Rose authored
Typeahead (#3369): Parameternames has changed, configuration is possible on the Form and on the FormElement. typeahead.php: if there is an exception, the message body is sent as regular 'content' for the dropdownbox. At the moment this is the only way to transmit any error messages. Ldap.php: missing FE_TYPEAHEAD_LDAP_KEY_PRINTF, FE_TYPEAHEAD_LDAP_VALUE_PRINTF will be substituted by the other. If both missing, an exception is thrown.
-
- 16 Mar, 2017 3 commits
-
-
Carsten Rose authored
BuildFormBootstrap.php: wrapping of optional 'submitButtonText' now done with the configured form wrap setup qfq-bs.css.less: dislay characterCount inside of input/textarea element.
-
Carsten Rose authored
-
Carsten Rose authored
-
- 15 Mar, 2017 2 commits
-
-
Carsten Rose authored
Ldap.php: fixed implementation errors of first run. AbstractBuildForm.php: set defaults for limit and minlegth. Implement function checkSqlAppendLimit()
-
Carsten Rose authored
TypeAhead.php: Reformat of various constants. Hard coded LDAP query replaced by one submitted via SIP. KeyValueStringParser.php: Implemented explodeWrapped() - behaves like 'explode()' but will respect strings wrapped in quotes as no explodeable. Ldap.php: New class to manage LDAP access. AbstractBuildForm.php: Add attributes DATA_TYPEAHEAD_LIMIT, DATA_TYPEAHEAD_MINLENGTH. Parsing of FormElement.parameter.typeahead* parameter.
-
- 14 Mar, 2017 1 commit
-
-
- 06 Mar, 2017 1 commit
-
-
Carsten Rose authored
Index.rst: Update Administratormanual how to install and use print.php. print.php: wrapper for wkhtmltopdf.
-
- 05 Mar, 2017 1 commit
-
-
Carsten Rose authored
#3180=#2081 dynamicUpdate, rearrange 'input hidden' elements from checkboxes, radios to top of form. CODING.md: add some doc about STORE_ADDITIONAL_FORM_ELEMENTS. load.php (#2081): rearrange delivered JSON to fullfill client API. AbstractBuildForm.php: rename getJsonElementUpdate() to getFormElemenForJson(). Extend getFormElementForJson() to support changes for label and note. Fill store STORE_ADDITIONAL_FORM_ELEMENTS with 'hidden input' elments. QuickFormQuery.php: implement Client JOSN API update.
-
- 02 Mar, 2017 1 commit
-
-
Carsten Rose authored
*.php: extend explodeParameter(), explodeParameterInArrayElements() with argument $keyName, to make it more generic.
-
- 01 Mar, 2017 2 commits
-
-
Carsten Rose authored
Support.php: new function insertAttribute(). AbstractBuildForm.php: added 'id' to all FormElements. BuildFormBootstrap: extended customWrap to insert 'id' in every wrap element. QuickFormQuery.php: Add 'id' to Form ToolTip.
-
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'.
-
- 27 Feb, 2017 1 commit
-
-
Carsten Rose authored
Implemented for Radios. Checkbox is still open. Index.rst, AbstractBuildForm.php, BuildFormBootstrap.php, Constants.php: split buildRadio() in constructRadioPlain() and constructRadioButton. After several tries to make a base function for both construct variants, CR decided that the code is much more easier to read with to complete separate layout functions. AbstractBuildForm.php: Notes of input elements as well as the text of a 'Note' FormElement are now wrapped in the class 'qfq-note' - this aligns the text to the label baseline.
-
- 26 Feb, 2017 1 commit
-
-
Carsten Rose authored
#3253: STORE_TYPO3: steht waehrend Update / Save nicht zur Verfuegung - wird aber benoetigt. Bsp: feUser, beUser, pageId, ... Thought that problem of #2064 is based on #3253 - that was wrong. #3253 implemented, but not heavily tested. #2064: problem was that for a non existing tablecolumn, has been searched for a default value - which obviously does not exist. In AbstractBuildForm.php, Line 419, a check implemented if the current FormElement is an existing tablecolumn. If not, do not change the empty value. FormAction.php, FillStoreForm.php, Store.php, QuickFormQuery.php, Save.php: Refactor setVarArray() to setStore() #3253 FillStoreForm.php: If there is no STORE_TYPO3, get the old values from SIP: CLIENT_TYPO3VARS. Store.php: new function fillTypo3StoreFromSip(), copyT3VarstToSip()
-
- 24 Feb, 2017 3 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
AbstractException.php: Add catch CodeException to not recursively throw the same exception again and again. Store.php: constructor of class Store seems to be the best place to do the check.
-
Carsten Rose authored
-
- 22 Feb, 2017 1 commit
-
-
Carsten Rose authored
templateGroup: fixed problem with missing <div class='qfq-line'> around each copy of prefilled templateGroup. AbstractBuildForm.php: pattern '%d' will be replaced by number of copy in FormElement 'label' and 'note'. Recode Logic to wrap templateGroup copies.
-
- 21 Feb, 2017 2 commits
-
-
Carsten Rose authored
AbstractBuildForm.php: implemented function templateGroupCollectFilledElements(). Add function.
-
Carsten Rose authored
-
- 20 Feb, 2017 1 commit
-
-
Carsten Rose authored
AdministratorManual/Index.rst: extend sphinx setup doc, fix typo UserManual/Index.rst: add doc for templateGroup FillStore.php: Implement save for templateGroup
-
- 17 Feb, 2017 3 commits
-
-
Carsten Rose authored
BuildFormBootstrap.php, Store.php: conig.qfq.ini extended to hold new parameter, save button will be build with new attribute.
-
Carsten Rose authored
AbstractBuildForm.php: #3224, #3231 Html Tag <hr> als FormElement. >> htmlBefore | htmlAfter, FormElement.parameter = htmlBefore|htmlAfter implemented. #3230 templateGroup: Abstaende zwischen Elementen. 'tgClass' implemented BuildFormPlain.php: code restructured
-
Carsten Rose authored
AbstractBuildForm.php: see title
-
- 16 Feb, 2017 3 commits
-
-
Carsten Rose authored
Wrap Row & Input Elements: specify 'row,/row' and bs*columns to 0 or bigger will enable/disable mutliple Elements per Row. FormElement.parameter.wrap* still have precedence over bs*Column settings. Support.php, AbstractBuildForm.php: Recode way of initializing FormElements. AbstractBuildForm.php: parameter to limit max number ob templateGrouup Elements. BuildFormBootstrap.php: Labels will be hided if FormElement.bsLabelColumns=0.
-
Carsten Rose authored
Coding.md: Beschreibung in Deutsch wie die Formularelemente , rekursiv, gerendert werden. AbstractBuildForm.php: new function buildTemplateGroup() BuildFormBootstrap.php, BuildFormPlain.php, BuildFormTable.php: Preparation for new optional TemplateGroup wrap. QuickFormQuery.php: update comments. formEditor.sql: column 'type' definition extended - new 'templateGroup' enum. FormElement 'type' updated to new container element 'templateGroup'
-
Carsten Rose authored
FormElement.rowLabelInputNote are not respected anymore. AbstractBuildForm.php: cleanup BuildFormBootsrap.php: new function customWrap() Constants.php: new wrapRow, wrapLabel, wrapInput, wrapNote
-
- 15 Feb, 2017 1 commit
-
-
Carsten Rose authored
Support.php, AbstractBuildForm.php: new function falseemptyToZero(). Constants.php: New UPLOAD_MODE_* Evaluate.php: fixed bug in 'skip' logic of evaluate->parseArray() Save.php: doUpload() now returns $modeUpload, which are needed in doUploadSlave(), rewrote logic of doUploadSlave(),
-
- 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'.
-
- 13 Feb, 2017 1 commit
-
-
Carsten Rose authored
- fix problem when more than one file uploaded - there was only one variable {{_filename}}, which was not sufficient for more than one upload element per form. New: {{_filename_<FE_NAME>:FE:allbut}}. - implemented {{_deleted_<FE_NAME>:F0}}: if exist and is '1', than this means that the previous uploaded file has been trashed through the user by clicking on the trash. Index.rst: update doc. Some more notes are needed. See one of the upcomming commits. Constants.php: Renamed CLIENT_UPLOAD_FILENAME and created CLIENT_FILE_DELETED. Save.php: Set var CLIENT_FILE_DELETED and use renamed CLIENT_UPLOAD_FILENAME.
-
- 12 Feb, 2017 2 commits
-
-
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.
-
- 10 Feb, 2017 1 commit
-
-
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)
-
- 09 Feb, 2017 1 commit
-
-
Carsten Rose authored
FormAction.phhp, Store.php, AbstractBuildForm.php, Constants.php, QuickForemQuery.php, Index.rst: Added STORE_BEFORE, #3146
-
- 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]) .
-