1. 17 Feb, 2017 2 commits
  2. 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
  3. 15 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      CODING.md: small updates in upload part · 1467b137
      Carsten Rose authored
      Support.php, AbstractBuildForm.php: new function falseemptyToZero().
      Constants.php: New UPLOAD_MODE_*
      Evaluate.php: fixed bug in 'skip' logic of evaluate->parseArray()
      Save.php: doUpload() now returns $modeUpload, which are needed in doUploadSlave(), rewrote logic of doUploadSlave(),
      1467b137
  4. 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
  5. 13 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      Multiple & Advanced Upload: · 1bb4cea6
      Carsten Rose authored
      - fix problem when more than one file uploaded - there was only one variable {{_filename}}, which was not sufficient for more than one upload element per form. New: {{_filename_<FE_NAME>:FE:allbut}}.
      - implemented {{_deleted_<FE_NAME>:F0}}: if exist and is '1', than this means that the previous uploaded file has been trashed through the user by clicking on the trash.
      
      Index.rst: update doc. Some more notes are needed. See one of the upcomming commits.
      Constants.php: Renamed CLIENT_UPLOAD_FILENAME and created CLIENT_FILE_DELETED.
      Save.php: Set var CLIENT_FILE_DELETED and use renamed CLIENT_UPLOAD_FILENAME.
      1bb4cea6
  6. 12 Feb, 2017 2 commits
    • Carsten  Rose's avatar
    • 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
  7. 10 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      User Input will be UTF8 normalized - Webserver needs package php5-intl or php7.0-intl. · 7eeed2a8
      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)
      7eeed2a8
  8. 09 Feb, 2017 1 commit
  9. 07 Feb, 2017 2 commits
  10. 06 Feb, 2017 1 commit
  11. 03 Feb, 2017 1 commit
  12. 02 Feb, 2017 1 commit
  13. 31 Jan, 2017 2 commits
  14. 28 Jan, 2017 2 commits
  15. 26 Jan, 2017 2 commits
  16. 17 Jan, 2017 1 commit
  17. 14 Jan, 2017 1 commit
  18. 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
  19. 10 Jan, 2017 1 commit
  20. 17 Dec, 2016 3 commits
    • Carsten  Rose's avatar
      c58b0f4a
    • 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
  21. 14 Dec, 2016 1 commit
  22. 29 Nov, 2016 3 commits
  23. 20 Oct, 2016 1 commit
  24. 19 Oct, 2016 1 commit
    • Carsten  Rose's avatar
      Documentation/UsersManual/indext.rst: update Formelemnet.type=sendmail and QFQ column '_sendmail' · 34229364
      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'.
      34229364
  25. 17 Oct, 2016 1 commit
  26. 06 Oct, 2016 1 commit
  27. 05 Oct, 2016 1 commit
  28. 29 Sep, 2016 1 commit
    • Carsten  Rose's avatar
      Integrated: tinyMCE · 0e1a1978
      Carsten Rose authored
      Documentation/AdministratorManual/Index.rst: Documentation for TinyMCE integration
      AbstractBuildForm.php: Rename 'EditorJQW' to 'Editor' , Integrate 'TinyMCE' as Editor.
      formEditor.sql: adjust FormElement.type from 'EditorJQW' to 'Editor'
      README.md: update to include latest JS libs
      0e1a1978