- 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()`
-
- 30 Mar, 2017 3 commits
-
-
Carsten Rose authored
Mode: typeAheadPedantic TypeAhead.php: Implemented new parameter TYPEAHEAD_API_PREFETCH. Ldap.php: add new mode MODE_LDAP_PREFETCH AbstractBuildForm.php: If FE_TYPEAHEAD_PEDANTIC is specified, add attribute DATA_TYPEAHEAD_PEDANTIC,'true'
-
Carsten Rose authored
Implementation started - code is broken
-
Carsten Rose authored
Neu: Form.parameter.saveButtonActive - if this attribute is set, the save button will be enabled directly on form load. Manual.rst: update doc BuildFormBootstrap.php:: Add new attribute to 'form'-tag
-
- 29 Mar, 2017 2 commits
-
-
Carsten Rose authored
Implemented the option to make a form `readonly`. this can be done statically or dynamically via variable (e.g. SIP). QuickFormQuery.php, AbstractBuildForm.php: Force 'readonly' by overwriting FormElement individual 'mode' setting. BuildFormBootstrap.php: Introduced new variable F_SHOW_BUTTON.
-
Carsten Rose authored
#3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im Formulareditor bearbeiten kann. AbstractBuildForm.php: Add checkbox left to the 'EditForm'-Button to toogle the 'FormElemnt'-Icons -as the regular 'Form Edit'-Pencil, the 'FormElement Checkbox' is only displayed if the user is logged in BE. BuildFormBootstrap.php: new function 'buildEditFormElementCheckbos()'
-
- 28 Mar, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: Updated doc for a) config.qfq.ini: LDAP_1_RDN, LDAP_1_PASSWORD, b) Form.parameter|FormElement.parameter: ldapUseBindCredentials ErrorHandler.php: removed details - the end user should not too many details. FormAction.php, Ldap.php, QuickFormQuery.php: implement 'ldapUseBindCredentials' Ldap.php: set_error_handler() to catch ldap_bind() problems. Always set LDAP_OPT_PROTOCOL_VERSION=3 - this might cause problems with som LDAP Servers - we will see.
-
- 27 Mar, 2017 2 commits
-
-
Carsten Rose authored
#3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im Formulareditor bearbeiten kann AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: Function createFormEditorUrl extended to accept parameter, to make it more generic (best would be to use the 'Link' class). Build the FormElement Edit symbol as together with debug stack symbols
-
Carsten Rose authored
-
- 26 Mar, 2017 2 commits
-
-
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()
-
Carsten Rose authored
#3431 / typeAheadSql: columnname 'key' is a reserverd SQL statement - replace by 'id'. Additional the parametername 'typeAheadLdapKeyPrintf' renamed to 'typeAheadLdapIdPrintf'. typeAhead.php: fixed typo. TypeAhead.php: introduced new mapping from 'id' (SQL) to 'key' (API). AbstractBuildForm.php: Constant renamed. Database.php: update function makeArrayDict() to reflect name mapping.
-
- 25 Mar, 2017 3 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.
-
Carsten Rose authored
Fix #3420 / Quicklink 'editform' on form: directs to the current T3 page which might be insufficient AbstractBuildForm.php, Store.php: Introduce new config.qfq.ini setting 'EDIT_FORM_PAGE'
-
- 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 1 commit
-
-
Carsten Rose authored
BuildFormBootstrap.php, Store.php: conig.qfq.ini extended to hold new parameter, save button will be build with new attribute.
-