1. 16 Feb, 2017 1 commit
    • 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
  2. 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
  3. 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
  4. 11 Feb, 2017 3 commits
  5. 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
  6. 08 Feb, 2017 1 commit
  7. 07 Feb, 2017 2 commits
  8. 06 Feb, 2017 2 commits
  9. 17 Dec, 2016 1 commit
  10. 29 Nov, 2016 1 commit
  11. 06 Oct, 2016 1 commit
  12. 04 Jun, 2016 1 commit
  13. 01 Jun, 2016 1 commit
    • Carsten  Rose's avatar
      KeyValueStringParser.php: phpdoc · 58a1f24c
      Carsten Rose authored
      Link.php, AbstractBuildForm.php, BuildFormBootstrap.php, Database.php: introduced constants for glyph. Code rearranged
      testtabbles.sql: extended to test Delete with filenames
      58a1f24c
  14. 30 May, 2016 1 commit
  15. 26 May, 2016 1 commit
    • Carsten  Rose's avatar
      Bug: SIP Parameter have been urlencoded before put, but not urldecoded after... · 7271172a
      Carsten Rose authored
      Bug: SIP Parameter have been urlencoded before put, but not urldecoded after get. New: SIP Parameter will be URL decoded before put!. Before creating the SIP it's hard to determine if a parameter is a SIP or not.
      General: All 'href' attributes are not wrapped by Support::doAttribute().
      Sip.php: urldecode.
      AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: wrapped href in Support::doAttribute()
      7271172a
  16. 23 May, 2016 1 commit
  17. 20 May, 2016 1 commit
    • Carsten  Rose's avatar
      Link: `alert` implemented. · bd436f38
      Carsten Rose authored
      OnArray.php: new explodeWithoutEscaped()
      Link.php: new doQuestion()
      Report.php: Link class will be initialized during __construct().
      bd436f38
  18. 18 May, 2016 2 commits
  19. 17 May, 2016 1 commit
  20. 12 May, 2016 1 commit
  21. 10 May, 2016 1 commit
    • Carsten  Rose's avatar
      Fixed a bug that date-/time inputs are rendered with a size=0 and/or maxlength=0. · a126f2b6
      Carsten Rose authored
      Fixed a bug that Input fields are not rendered correctly the columntype are 'set' or 'enum'.
      Support.php: doAttribute() - attributes with type 'size' or 'maxlenght' and no value or value=0 are skipped and not created.
      AbstractBuild.php: a maxLenght formelement parameter needs to be numeric and (new) >0 to have an impact. Added calculation of maxlength for columntypes 'set' and 'enum': maxLengthSetEnum().
      a126f2b6
  22. 09 May, 2016 2 commits
    • Carsten  Rose's avatar
      CheckBox Multi: checkboxes are now builded with uniq html names. This is... · b08a6db2
      Carsten Rose authored
      CheckBox Multi: checkboxes are now builded with uniq html names. This is necessary for the client, to assign values correctly to multiple checkboxes during form update by JSON data.
      HelperFormElement.php: new prependFormElementIdCheckBoxMulti()
      FillStoreForm.php: new collectCheckboxMultiValue(), process() recoded to collect checkBoxMulti values to one element.
      AbstractBuildForm.php: checkBoxMulti elements: a) no longer contains an '[]' at the end, b) get individual names
      b08a6db2
    • Carsten  Rose's avatar
      FormElement: change mode 'show/readonly/required/hidden' dynamically · 6caf35c8
      Carsten Rose authored
      Support.php: If FE_MODE_SQL is given, overwrite the static option.
      FillStoreForm.php: Evaluate loaded elements to get FE_MODE_SQL evaluated.
      6caf35c8
  23. 02 May, 2016 1 commit
  24. 29 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      Bootstrap grip columns are configurable. A default on the form and, if... · 0c9f96b5
      Carsten Rose authored
      Bootstrap grip columns are configurable. A default on the form and, if necessary, per formelement. The default is now changed from 2,6,4 to 2,9,1
      UsersManual/index.rst: updated to the new behaviour.
      Support.php: setIfNotSet() has a new third parameter.
      AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormPlain.php, BuildFormPlain.php, QuickFormQuery.php: New abstract function fillWrapLabelInputNote().
      0c9f96b5
  25. 27 Apr, 2016 2 commits
  26. 26 Apr, 2016 2 commits
  27. 25 Apr, 2016 2 commits
    • Carsten  Rose's avatar
      Clientside validator implemented via Bootstrap Validator. · 19fefdf8
      Carsten Rose authored
      Support.php: PhpDoc
      AbstractBuildForm.php: extended buildRow* with parameter htmlFormElementId. buildLabel rewritten to use Support::doAttribute, Support::wrapTag. buildInput/buildDateTim,buildSelect() now add's class 'form-control'. Input fields now offers a 'help-block'-div
      BuildFormBootstrap, BuildFormPlain.php, BuildFormTable.php: buildRowNative rewritten to support <label>. Signature of BuildRow* adjusted
      19fefdf8
    • Carsten  Rose's avatar
      Input Field date / datetime / time implemented. · d28b523a
      Carsten Rose authored
      AdministratorManual/index.rst, UsersManual/index.rst: Configuration & Documentation.
      Sanitize.php: code rewrote to use Support::dateTime2mysql().
      Support.php: add dateTimeTegexp()
      FillStoreForm.php: use of Support::setFeDefaults($formElement). Format date/datetime/time values
      Store.php: redefined various functions to be 'static'
      AbstractBuildForm.php, Constants.php: added date/datetime/time to tables. Various new functions.
      Save.php: FE die nicht uebertragen wurden (typsicherweise weil leer) werden neu mit eimem leer String gesschrieben - sonst ist es nicht moeglich  Eingaben wieder zu loeschen.
      formEditor.sql: Felder date/datetime/time neun implementiert.
      d28b523a
  28. 18 Apr, 2016 3 commits
  29. 10 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      Support.php: add concatUrlParam(). · 97e88238
      Carsten Rose authored
      Link.php: simplyfied Tooltip creation - might be broken now for non URL - there are no unit  tests for these situation. New: if no tooltip is given, and a link of type [Pp]age? - take the glyph name as tooltip. Render all links, which use a hash and with showDebugInfo='yes' , with the decoded sip as tooltip.
      Sip.php: queryStringToSip() extend to return complete paramter array.
      97e88238