1. 24 Jan, 2018 1 commit
  2. 23 Nov, 2017 1 commit
  3. 02 Nov, 2017 1 commit
  4. 07 Oct, 2017 1 commit
  5. 04 Oct, 2017 1 commit
  6. 09 Sep, 2017 3 commits
  7. 28 Aug, 2017 1 commit
  8. 26 Aug, 2017 1 commit
  9. 24 Aug, 2017 1 commit
  10. 03 Aug, 2017 1 commit
  11. 12 Jun, 2017 1 commit
  12. 07 Jun, 2017 1 commit
  13. 04 Jun, 2017 2 commits
  14. 25 May, 2017 1 commit
  15. 12 May, 2017 1 commit
    • Carsten  Rose's avatar
      Fixed unit test: failed after implementing 'DB auto update' · 5093db76
      Carsten Rose authored
      Problem: the 'unit test'-customized FormEditor have been overwritten by the auto update.
      TestFormEditor.sql: deleted
      TestForm.sql: new SQL file to create an additional form.
       BuildFormPlainTest.php: update unit tests to latest FormElement schema. Delete old FormEditor, to be sure to get the latest schema. Play 'TestForm.sql'.
      5093db76
  16. 09 May, 2017 1 commit
  17. 23 Apr, 2017 1 commit
    • Carsten  Rose's avatar
      Implement 'encode=specialchar' - new option per formElement. · 434cac36
      Carsten Rose authored
      Play: ALTER TABLE  `FormElement` ADD  `encode` ENUM(  'none',  'specialchar' ) NOT NULL DEFAULT  'specialchar' AFTER  `subrecordOption` ;
      Play: formEditor.sql
      
      Attention: FEs with text=editor needs actions - the default of 'specialchar' prohibits saving of HTML tags.
      
      FillStoreForm.php: Submitted values will be specialchars() before copying to STORE_FORM.
      AbstractBuildForm.php: Counterpart of FillStoreForm.php - will htmlspecialchars_decode() values read from database. Replace 'checkType' and 'checkPattern' with CONSTANTS.
      formEditor.sql: Added new column in FormElement. Add new FormElement 'encode' in FormElement-Editor. Add column 'encode' to all FormElement records.
      434cac36
  18. 25 Mar, 2017 1 commit
  19. 16 Mar, 2017 1 commit
  20. 07 Mar, 2017 1 commit
  21. 05 Mar, 2017 1 commit
    • 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
  22. 01 Mar, 2017 1 commit
  23. 20 Feb, 2017 1 commit
  24. 16 Feb, 2017 1 commit
  25. 06 Feb, 2017 1 commit
  26. 05 Jun, 2016 2 commits
  27. 04 Jun, 2016 1 commit
  28. 31 May, 2016 1 commit
  29. 30 May, 2016 1 commit
  30. 13 May, 2016 1 commit
  31. 04 May, 2016 1 commit
  32. 02 May, 2016 1 commit
  33. 28 Apr, 2016 1 commit
  34. 01 Apr, 2016 1 commit
  35. 31 Mar, 2016 1 commit
  36. 24 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      Refactored sanitize functionality: Form save, form update and client are now... · 0f2d60c4
      Carsten Rose authored
      Refactored sanitize functionality: Form save, form update and client are now handled with the same regexp. Form save and update use the same code to sanatize. SANITIZE names are now equal in FormEditor and in Store. New class SANITIZE_ALL_MIN_MAX_DATE.
      
      OnArray.php: moved inputCheckPatternArray() to Sanatize.
      Sanatize.php: complete rewrote of sanitize(). Everything is regexp based now.
      FillStore.php: validateValue() removed, use of Sanitize::sanitize instead.
      Store.php: adjusted change of Sanitize:sanitize signature.
      AbstractBuildForm.php: defined class global variable $inputCheckPattern and initialize them during construct(). Variables, submitted by POST, are now correctly sanatized according their FormElement definition. getInputCheckPattern() adjusted to new/changed SANITIZE definitions.
      Constants.php: added SANTIZE_ALLOW_: MIN_MAX, MIN_MAX_DATE, EMAIL, PATTERN, SANITIZE_EXCEPTION, SANITIZE_EMPTY_STRING
      Save.php: use of Sanitize::sanitize instead of validateValue()
      formEditor.sql: order of FormElement.checkType changed to 'most used first'.
      0f2d60c4