1. 05 Jun, 2017 1 commit
    • Carsten  Rose's avatar
      #3568 / Form: fuer alle Buttons (save, close, new, delete) eine optionale... · 61d75fbb
      Carsten Rose authored
      #3568 / Form: fuer alle Buttons (save, close, new, delete) eine optionale class & text konfigurierbar machen
      Manual.rst: new configuration options listed at config.qfq.ini and Form.paramtert.
      Config.php: Defaults configured for F_SAVE|CLOSE|DELETE|NEW_BUTTON_TEXT|TOOLTIP|CLASS|GLYPH_ICON.
      BuildFormBootstrap.php: Changed code to take values from config.qfq.ini or (if given) from form.parameter definitions.
      QuickFormQuery.php: Copy new setup values from config.qfq.ini to Form.
      StoreTest.php: update unit test for new global configuration values
      config.qfq.example.ini: fill with new commented key/value pairs.
      61d75fbb
  2. 03 Jun, 2017 1 commit
    • Carsten  Rose's avatar
      3612 / Konflikt typeAheadLdap mit dynamic modesql: the problematic HTML input... · 1c63c477
      Carsten Rose authored
      3612 / Konflikt typeAheadLdap mit dynamic modesql: the problematic HTML input element, added with typeahead functionality, is completely JS controlled by a Twitter library. For hiding / showing elements via dynamicUpdate, QFQ uses now API_ELEMENT_UPDATE on the outer row element.
      AbstractBuildForm.php: add function elementUpdateAttrClassOnRow().
      BuildFormBootstrap.php: split the class definition in an extra var.
      1c63c477
  3. 18 May, 2017 1 commit
  4. 24 Apr, 2017 1 commit
    • Carsten  Rose's avatar
      Security: Encoding and Honepot vars. · bd606a8f
      Carsten Rose authored
      Manual.rst: small abstract about implemented security enhancements in QFQ.
      Sanatize.php: New function urlDecodeArr(). Decode all _GET vars.
      AbstractBuildForm.php, BuildFormBootstrap.php: form head now contains the honeypot vars.
      bd606a8f
  5. 10 Apr, 2017 2 commits
  6. 30 Mar, 2017 1 commit
  7. 29 Mar, 2017 3 commits
    • Carsten  Rose's avatar
      #3463 / form.mode=readonly · d84dad1a
      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.
      d84dad1a
    • Carsten  Rose's avatar
      #3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im... · 3509dfc7
      Carsten Rose authored
      #3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im Formulareditor bearbeiten kann.
      BuildFormBootstrap.php: Add ToolTip to checkbox.
      3509dfc7
    • Carsten  Rose's avatar
      #3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im... · e96bb108
      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()'
      e96bb108
  8. 27 Mar, 2017 1 commit
    • Carsten  Rose's avatar
      #3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im... · 05d5c676
      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
      05d5c676
  9. 25 Mar, 2017 2 commits
  10. 23 Mar, 2017 1 commit
  11. 16 Mar, 2017 2 commits
  12. 06 Mar, 2017 1 commit
  13. 05 Mar, 2017 2 commits
    • Carsten  Rose's avatar
      #3180=#2081 dynamicUpdate, rearrange 'input hidden' elements from checkboxes,... · 9a267b44
      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.
      9a267b44
    • Carsten  Rose's avatar
      Add some comments. · 7c66b42d
      Carsten Rose authored
      7c66b42d
  14. 01 Mar, 2017 2 commits
    • Carsten  Rose's avatar
      Implemented generating of 'id' per FormElement. · 1d995d96
      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.
      1d995d96
    • Carsten  Rose's avatar
      Preparation 'DynamicUpdate' fuer beliebige Felder. · 70a4f34d
      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'.
      70a4f34d
  15. 27 Feb, 2017 2 commits
  16. 23 Feb, 2017 1 commit
  17. 17 Feb, 2017 1 commit
  18. 16 Feb, 2017 3 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
      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
  19. 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
  20. 09 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      Create function `Database->getNativeFormElements()` to unify all needed... · 2b29d2ca
      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()
      2b29d2ca
  21. 06 Feb, 2017 1 commit
  22. 31 Jan, 2017 2 commits
  23. 26 Jan, 2017 1 commit
  24. 17 Jan, 2017 1 commit
  25. 14 Jan, 2017 2 commits
  26. 13 Jan, 2017 1 commit
    • Carsten  Rose's avatar
      FormEditor: 1) design update - new default background color: grey. 2) per form... · fb568f98
      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
      fb568f98
  27. 12 Jan, 2017 1 commit
  28. 09 Jan, 2017 1 commit