1. 09 Jul, 2017 1 commit
    • Carsten  Rose's avatar
      Feature #3981 / Record Locking · 5739af82
      Carsten Rose authored
      First implementation on server side: only tag as dirty, no check during save().
      dirty.php, Dirty.php, Client.php: new
      Store.php: refactored fillStoreClient() to use an dedicated class.
      BuildFormBootstrap.php: add hook for dirty.php
      5739af82
  2. 14 Jun, 2017 2 commits
    • Carsten  Rose's avatar
      #3910 / 'submitButtonText' not shown · 78b73f0e
      Carsten Rose authored
      After recode 'buildButtonCode()' the button text has been misplaced as tooltip and the class 'btn btn-default' was missing. Added. OK
      78b73f0e
    • Carsten  Rose's avatar
      Feature #3906 / Mark required inputs with an asterik · 1ccc6b9c
      Carsten Rose authored
      Implemented by using a new class ''.required-field'. The class has to be applied to the label. Not implemented is the option, to render the asterix directly on/beside the input (not the label) - probably solved later.
      qfq-bs.css.les: New CSS class required-field
      AbstractBuildForm.php: extended buildLable() with new parameter $addClass.
      BuildFormBootstrap.php: Assign class 'required-field' to label for required fields.
      1ccc6b9c
  3. 12 Jun, 2017 1 commit
    • Carsten  Rose's avatar
      #3899 / Copy/Paste · cc55f4fb
      Carsten Rose authored
      Manual.rst: various topics undocumented.
      DatabaseUpdate.php: New table Clipboard, New FE.type='paste', New Form.forwardMode='url-sip' - will be applied for 0.18.3.
      FormAction.php: New: doAllFormElementPaste(), prepareDuplicate(), checkNCopyFiles(), copyRecord()
      Store.php: New member in STORE_CLIENT 'CLIENT_COOKIE_QFQ' - might be used to identify current user.
      BuildFormBootstrap.php: New buildButtonCopyForm().
      QuickFormQuery.php: Calculating the target page now happens after saving the current record and processing all after save actions. New: pasteClipboard()
      formEditor.sql: New form 'copyForm'. New table 'Clipboard'
      cc55f4fb
  4. 10 Jun, 2017 4 commits
  5. 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
  6. 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
  7. 18 May, 2017 1 commit
  8. 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
  9. 10 Apr, 2017 2 commits
  10. 30 Mar, 2017 1 commit
  11. 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
  12. 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
  13. 25 Mar, 2017 2 commits
  14. 23 Mar, 2017 1 commit
  15. 16 Mar, 2017 2 commits
  16. 06 Mar, 2017 1 commit
  17. 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
  18. 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
  19. 27 Feb, 2017 2 commits
  20. 23 Feb, 2017 1 commit
  21. 17 Feb, 2017 1 commit
  22. 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
  23. 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
  24. 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
  25. 06 Feb, 2017 1 commit
  26. 31 Jan, 2017 1 commit