- 23 Mar, 2017 1 commit
-
-
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'
-
- 16 Mar, 2017 1 commit
-
-
Carsten Rose authored
-
- 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'.
-
- 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 1 commit
-
-
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.
-
- 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.
-
- 16 Feb, 2017 1 commit
-
-
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'
-
- 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'.
-
- 12 Feb, 2017 1 commit
-
-
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 2 commits
-
-
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
FormAction.phhp, Store.php, AbstractBuildForm.php, Constants.php, QuickForemQuery.php, Index.rst: Added STORE_BEFORE, #3146
-
- 07 Feb, 2017 2 commits
-
-
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.
-
- 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'
-
- 31 Jan, 2017 2 commits
-
-
Carsten Rose authored
QuickFormQuery.php: Suppress renderinf of form title during a 'delete' call. No one will see and required parameters are not supplied.
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php, Constants.php, QuickFormQuery.php, Index.rst: Implemented Paramater 'extraDeleteForm' for 'forms' and 'subrecords'. Doku update.
-
- 29 Jan, 2017 1 commit
-
-
Carsten Rose authored
QuickFormQuery.php: for modeForm='Form Delete' the 'required param' are not respected - this makes sense, cause these parameters typically filled in newly created records.
-
- 27 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 17 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 14 Jan, 2017 2 commits
-
-
Carsten Rose authored
QuickFormQuery.php, FormAction.php: '#2931 / afterSave Hauptrecord xId nicht direkt verfügbar' - load master record again, after 'action'-elements has been processed.
-
Carsten Rose authored
-
- 13 Jan, 2017 1 commit
-
-
Carsten Rose authored
FormEditor: 1) design update - new default background color: grey. 2) per form configureable background colors, 3) Optional right align of all form element labels. BuildFormBootstrap.php: added new class name 'qfq-label' to form labels - needed to assign 'qfq-form-right' class. Changed wrapping of formelements from 'col-md-8' (wrong) to 'col-md-12'. QuickFormQuery.php: Set default for new F_CLASS_PILL & F_CLASS_BODY. formEditor.sql: New default background color for formElements is blue. qfq-bs.css.less: add classes qfq-form-pill, qfq-form-body, form-group (center), qfq-color-*, qfq-form-right
-
- 18 Dec, 2016 1 commit
-
-
Carsten Rose authored
delete.php, Delete.php: reformat Link.php: typo
-
- 17 Dec, 2016 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
CODING.md: update docs for situation 'new record already saved'. FillStoreForm.php: In case of form load with r=0, the submitted form element names are does not contain the effective record id - workaround implemented. Session.php: refactored clear(), create unsetItem(). Sip.php: new buildParamStringFromArray(), updateSipToSession(). Store.php: For r=0 SIPs always add a uniqe parameter. AbstractBuildForm.php: modified message for subrecords on new record. QuickFormQuery.php: create unique SIP on form load.
-
- 29 Nov, 2016 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
- 20 Oct, 2016 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php: Implemented alternative button at the bottom of the form.
-
- 19 Oct, 2016 1 commit
-
-
Carsten Rose authored
QuickFormQuery.php, FormAction.php: implemented FormElement 'sendmail' Report.php: Update column 'sendmail' Sendmail.php: Update class to send mailand to log them in table mailLog. AbstractBuildForm.php: refacxtured columnname 'value' to be used via constatn FE_VALUE. formEditor.sql: renamed FE.typ 'sendmail' to camel hook 'sendMail'. Changed FormeElement.mode from 'select' to 'radio'. Added empty table 'mailLog'.
-
- 05 Oct, 2016 1 commit
-
-
Carsten Rose authored
-
- 23 Aug, 2016 1 commit
-
-
Carsten Rose authored
1) '{{id:R0}}' now gives the correct record id, even on records which are 'new' (id is 0 at time of save) - '{{id:R0}}' can be used 'fileDestination' to build pathFilename. 2) Fixed problem with non existing uploads: in the past a sip has been saved instead of an empty string in the current record. 3) Fixed problem with a) choosing an upload file, b) deleting them immediately and c) pressing 'save'. Non existing temporary uploaded file has been tried to move to final destination. Documentation/UsersManual: FormElement 'File' update AbstractBuildForm.php: Extend upload structure with EXISTING_PATH_FILE_NAME. QuickFormQuery.php: 'late save' of uploads implemented. Save.php: upload columns are not saved during the first save - instead they are saved later.
-
- 04 Jun, 2016 1 commit
-
-
Carsten Rose authored
QuickFormQuery.php: missing 'r' in forms forces no longer an exception, instead r=0 is the default. This is usefull in report for 'new' links to forms (it's not necessary to specify r=0 in '_pagen') as well as on record definition `form=person`: `r=0` is not needed anymore.
-
- 01 Jun, 2016 1 commit
-
-
Carsten Rose authored
delete.php: extended to support returning JSON, HTML redirect (Location) or HTML error messages. Report.php: new adjustDeleteParameter() Delete.php: new. QuickFormQuery.php: delete() extended to support returning JSON and HTML
-
- 31 May, 2016 1 commit
-
-
Carsten Rose authored
FormAction.php: initialize action formelements. ExpectRecords might specified as a list. After an insert, set slaveId to latest id. Process sqlDelete if given. Store.php: STORE_VAR and STORE_EMPTY missed to configure for Sanatize. QuickFormQuery.php: Initialized after the form is loaded.
-
- 30 May, 2016 1 commit
-
-
Carsten Rose authored
-
- 29 May, 2016 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php, Constants.php, QuickFormQuery.php, Save.php: Replace string 'tableName' through constant F_TABLE_NAME.
-