1. 28 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      #3063, Radios / Checkboxes als Buttons (Bootstrap) · 8c642640
      Carsten Rose authored
      Implemented for Checkbox.
      
      Index.rst, AbstractBuildForm.php: split buildCheckbox() in constructCheckbox(Simple|Multi)Plain() and constructCheckbox(Simple|Multi)Button.
      
      AbstractBuildForm.php, OnArray.php: new function removeEmptyElementsFromArray(). Replace old check of isset() (which seems never have been worked) against ==''.
      8c642640
  2. 27 Feb, 2017 2 commits
    • Carsten  Rose's avatar
      #3063, Radios / Checkboxes als Buttons (Bootstrap) · fbbab765
      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.
      fbbab765
    • Carsten  Rose's avatar
      AbstractBuildForm.php: #2064 / Input Elemente die als JSON response... · 6f224ef2
      Carsten Rose authored
      AbstractBuildForm.php: #2064 / Input Elemente die als JSON response 'value=false' bekommen, zeigen 'false' an -- check if a FormElement is a real tableColumn by using STORE_RECORD is a bad idea, cause new records always deliver 'false'. Now take the STORE_TABLE_COLUMN_TYPES as a reference.
      6f224ef2
  3. 26 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      #2064: Input Elemente die als JSON response 'value=false' bekommen, zeigen 'false' an. · 13d39fbe
      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()
      13d39fbe
  4. 23 Feb, 2017 1 commit
  5. 22 Feb, 2017 1 commit
  6. 21 Feb, 2017 3 commits
  7. 20 Feb, 2017 1 commit
  8. 17 Feb, 2017 2 commits
  9. 16 Feb, 2017 4 commits
    • Carsten  Rose's avatar
      Wrap Row & Input Elements: specify 'row,/row' and bs*columns to 0 or bigger... · abce04d5
      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.
      abce04d5
    • Carsten  Rose's avatar
      AbstractBuildForm.php: #3066 / help-text with-error - Klasse 'hidden' wird nun... · b4b88f56
      Carsten Rose authored
      AbstractBuildForm.php: #3066 / help-text with-error - Klasse 'hidden' wird nun gerendert und ausgeliefert.
      b4b88f56
    • Carsten  Rose's avatar
      Add 'templateGroup' as a new 'container' option. · 10784233
      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'
      10784233
    • Carsten  Rose's avatar
      Implemented for FormElement: wrapRow, wrapLabel, wrapInput, wrapNote · da3a352c
      Carsten Rose authored
      FormElement.rowLabelInputNote are not respected anymore.
      
      AbstractBuildForm.php: cleanup
      BuildFormBootsrap.php: new function customWrap()
      Constants.php: new wrapRow, wrapLabel, wrapInput, wrapNote
      da3a352c
  10. 15 Feb, 2017 2 commits
  11. 14 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      'Upload advanced mode' implementiert. V2 (kein FormElement Action 'afterSave' mehr noetig) · 2e7b75b6
      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'.
      2e7b75b6
  12. 12 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      AdminstratorManual/Index.rst: Update config.qfq.ini description to new... · 7e49d63f
      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.
      7e49d63f
  13. 09 Feb, 2017 3 commits
  14. 07 Feb, 2017 4 commits
  15. 06 Feb, 2017 1 commit
  16. 03 Feb, 2017 2 commits
  17. 31 Jan, 2017 2 commits
  18. 26 Jan, 2017 1 commit
  19. 17 Jan, 2017 1 commit
  20. 13 Jan, 2017 1 commit
  21. 12 Jan, 2017 1 commit
  22. 17 Dec, 2016 3 commits
    • Carsten  Rose's avatar
      AbstractBuildForm.php: reformat · faab99de
      Carsten Rose authored
      faab99de
    • Carsten  Rose's avatar
      Update function headers. · b331c952
      Carsten Rose authored
      b331c952
    • Carsten  Rose's avatar
      #2067 · de377b07
      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.
      de377b07
  23. 29 Nov, 2016 1 commit