Skip to content
Snippets Groups Projects
  1. Mar 27, 2016
  2. Mar 26, 2016
  3. Mar 25, 2016
  4. Mar 24, 2016
    • Carsten  Rose's avatar
      57b5e1ed
    • 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
  5. Mar 22, 2016
  6. Mar 21, 2016
  7. Mar 18, 2016
  8. Mar 17, 2016
  9. Mar 16, 2016
    • Carsten  Rose's avatar
      Sip: phpdoc · c2809cfb
      Carsten Rose authored
      Constants, Store: added TYPO3_PAGE_TYPE to STORE_TYPO3
      AbstractBuildForm: recode to use global $showDebugInfo. IMplemented deriveNewRecrdUrlFromExistingSip(). Added parameter $toolTip to createFormLink(). Rewrap Editlink
      BuildFormBootstrap: recode buildButton().
      QuickFormQuery: code to set session lifetime disabled: useless
      c2809cfb
    • Carsten  Rose's avatar
      AbstractBuildForm: Subrecord Edit / New/ Delete are no longer renderer as links (blue) · 34fe48b5
      Carsten Rose authored
      BuildFormBootstrap: Top Button row moved on the same line as Title. Title will be dissappear on 'Extra Small Devices' (<768px). Class 'pull-right' for Button group removed. Some phpdoc created.
      34fe48b5
    • Carsten  Rose's avatar
      Sip: fixed typo. · 5ecaa5d8
      Carsten Rose authored
      AbstractBuildForm, BuildFormBootstrap: implemented delete record for subrecords.
      formEditor.sql: show fewer columns in subrecords
      5ecaa5d8
  10. Mar 15, 2016
  11. Mar 14, 2016
    • Carsten  Rose's avatar
      AdministratorManual/Index.rst: added note to install mysqlnd Driver. · 4000736f
      Carsten Rose authored
      UsersManual/Index.rst: added Form.showButton
      Support: added findInSet()
      AbstractBuildForm: added createDeleteUrl(), prepareSubrecord(), getFormTable(). Rewrote buildSubrecord(): added 'delete' link, rearranged 'new' link. 'ShowDebugInfo' enhanced.
      BuildFormBootstrap: rewrote BuildButton() to switch New/Delete Button on or off. Show debugInfo as tooltip.
      Constants: New Subrecord contants.
      formEditor.sql: added Form.showButton. Adjusted records
      4000736f
  12. Mar 11, 2016
  13. Mar 10, 2016
  14. Mar 09, 2016
Loading