1. 02 May, 2016 1 commit
  2. 28 Apr, 2016 1 commit
  3. 01 Apr, 2016 1 commit
  4. 31 Mar, 2016 1 commit
  5. 24 Mar, 2016 2 commits
    • 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
    • Carsten  Rose's avatar
      Dynamic Update implemented · b31fb9eb
      Carsten Rose authored
      load.php: implemented
      FillStoreForm.php: implemented
      Store.php: phpunit test complains about 'store already filled'. Option set to explicitly allow rewrite.
      AbstractBuildForm.php: Added new mode 'FORM_UPDATE'. Elements additionaly create json code. 'data-load' attribute will be added to form elements, if 'dynamicUpdate=yes'
        elements(): added call by reference parameter $json, to return the generated json code.
      BodyTextParse.php: added 'r =' as a new 'start new line' indicator. This was necessary at least for phpunit tests to run.
      BuildFormBootstrap.php: buildPill() passes json data structure.
      BuildFormPlain, BuildFormTable.php: doSubrecords()  passes json data structure.
      Constants.php: New FORM_UPDATE, SQL_FORM_ELEMENT_SIMPLE_ALL_CONTAINER, ERROR_FORM_NOT_FOUND, API_FORM_UPDATE
      Evaluate.php: Exception text enhanced.
      QuickFormQuery.php: FillStoreForm.php included. Automatic detection of FORM_LOAD and FORM_SAVE removed. Instead the mode are given explicitly. mode=FORM_UPDATE implemented.
      Save.php: added TODOs in code.
      formEditor.sql: reformat code. Add 'FormElement.dynamicUpdate'. 'FormElemente.checkType': 'number' replaced by 'digit'. Added 'alnumx', 'digit'. Form 'form', 'formElement': output of 'title' replaced by 'name' - outputting 'title' confuses the user (tries to show records which do fit to the formEditor) and might produce recursion in evaluation (did not understand why, but happens). FormEditor: implemented 'dynamicUpdate', escpecially the 'type' select list will be adjusted dynamically.
      b31fb9eb
  6. 09 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      Store: check for missing sanitize arg extented to null · ea3d6806
      Carsten Rose authored
      Evaluate: parse() and evaluate() will return the last used Store
      QuickFormQuery: getFormName() extended to interpret form = {{form}} correctly
      Makefile: T# Extension ZIP - config.ini excluded, Documentation included
      README.md: adjusted to renamed CSS and JS files: qfq-bs.css, qfq-nin.js
      ea3d6806
  7. 24 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      OnArray: Add htmlEntititesOnArray() · 8d94dd02
      Carsten Rose authored
      Support: moved wrapTag() from to Support. Add appendTooltip()
      AbstractBuildForm, BuildFormBootstrap BuildFormPlain, BuildFormTable: implemented showDebugInfo. Moved wrapTag() to Support. Fixed Typo in word buildNewSip.
      8d94dd02
  8. 11 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      Variables: unified naming of tt_content_uid. · edd9830b
      Carsten Rose authored
      AbstractBuildForm: implementd uniqe formId.
      BuildFromBootstrap: Save-Button will receive 'formId'
      Constants: new field TYPO3_TT_CONTENET_ID
      BuildFromPlainTest: implemented test for getFormId.
      EvaluateTest: fixed wrong assert test
      edd9830b
  9. 09 Feb, 2016 1 commit
  10. 05 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      QuickFormQuery: renamed from Form.php to QuickFormQuery.php. Include 'Report'.... · 11e2de14
      Carsten Rose authored
      QuickFormQuery: renamed from Form.php to QuickFormQuery.php. Include 'Report'. New: If there is no formname specified, this is not an error anymore - just do nothing.
      QuickFormQueryTest: renamed from FormTest.php to QuickFormQueryTest.php
      formEditor.sql: Fixed some missing 'not null' definitions.
      BuildFormPlainTest, SipTest: Adjustments from renaming Form.php
      qfq.php: renamed from form.php to qfq.php
      index.php: Adjustments from renaming form.php
      report.php: new test file, to see something with report (not working now)
      11e2de14
  11. 03 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      AbstractBuildForm: new getColumnSize() - retrieve size limit for a column from... · d78513ea
      Carsten Rose authored
      AbstractBuildForm: new getColumnSize() - retrieve size limit for a column from the table definitiom. $formElement['maxLength'] will be checked against the max physical size and adjusted where necessary. Implemented 'tooltip' as a title tag. All rendered HTML Attributes are now trimmed. getInputCheckPattern(): fixed a bug and new check if min|max are set. Renamed extractKeyValueList() to getKeyValueListFromSqlEnumSpec().
      BuildFormPlainTest: new
      d78513ea