1. 17 Jun, 2017 1 commit
  2. 11 Jun, 2017 1 commit
    • Carsten  Rose's avatar
      #3875 / FormElement 'extra': Fehler bei neuen Records. · 1117d36b
      Carsten Rose authored
      QFQ complains that the given SIP parameter is already defined. Problem is the pre filling of Store SIP, which normally happens only during form load. But the new 'saving a new record (r=0) and redirecting the browser to the same page with the new record id', requires a new SIP. That SIP is calculated before form-load and causes the exception. Fix: defined parameter in a store, which will be redefined with the same value, wont' throw an exception anymore.
      Store.php: compare old and new value and only if they differ throw an exception.
      1117d36b
  3. 07 Jun, 2017 1 commit
  4. 05 Jun, 2017 1 commit
    • Carsten  Rose's avatar
      #3568 / Form: fuer alle Buttons (save, close, new, delete) eine optionale... · 61d75fbb
      Carsten Rose authored
      #3568 / Form: fuer alle Buttons (save, close, new, delete) eine optionale class & text konfigurierbar machen
      Manual.rst: new configuration options listed at config.qfq.ini and Form.paramtert.
      Config.php: Defaults configured for F_SAVE|CLOSE|DELETE|NEW_BUTTON_TEXT|TOOLTIP|CLASS|GLYPH_ICON.
      BuildFormBootstrap.php: Changed code to take values from config.qfq.ini or (if given) from form.parameter definitions.
      QuickFormQuery.php: Copy new setup values from config.qfq.ini to Form.
      StoreTest.php: update unit test for new global configuration values
      config.qfq.example.ini: fill with new commented key/value pairs.
      61d75fbb
  5. 25 May, 2017 1 commit
  6. 18 May, 2017 2 commits
  7. 24 Apr, 2017 1 commit
    • Carsten  Rose's avatar
      Implemented new escape class 'mysql' (realEscapeString). · ba817c0e
      Carsten Rose authored
      Implemented defaultEscapeType. configurable via config.qfq.ini (global) and per Form.
      Implemented max GET parameter lenght. Default: 50. BTW: in phpunit test there have been a parameter 'file' which exceeds the limit of 32.
      
      Config.qfq: Skip empty variable names - happens in phpunit tests. Read new `systemEscapeTypeDefault`.
      Constants.php: renamed  TOKEN_LDAP_ESCAPE_* to TOKEN_ESCAPE_LDAP_*. Add TOKEN_ESCAPE_MYSQL, TOKEN_ESCAPE_NONE
      Database.php: Set charset to real_escape_string() functions properly. Proxy for mysqli::real_escape_string()
      Evaluate.php: Respect global escapeTypeDefault. Implement
      formEditor.sql: add column `escapeTypeDefault`. Add FormElement 'escapeTypeDefault'.
      ba817c0e
  8. 25 Mar, 2017 1 commit
  9. 23 Mar, 2017 1 commit
  10. 27 Feb, 2017 1 commit
  11. 26 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      #2064: Input Elemente die als JSON response 'value=false' bekommen, zeigen 'false' an. · 13d39fbe
      Carsten Rose authored
      #3253: STORE_TYPO3: steht waehrend Update / Save nicht zur Verfuegung - wird aber benoetigt. Bsp: feUser, beUser, pageId, ...
      
      Thought that problem of #2064 is based on #3253 - that was wrong.
      #3253 implemented, but not heavily tested.
      
      #2064: problem was that for a non existing tablecolumn, has been searched for a default value - which obviously does not exist. In AbstractBuildForm.php, Line 419, a check implemented if the current FormElement is an existing tablecolumn. If not, do not change the empty value.
      
      FormAction.php, FillStoreForm.php, Store.php, QuickFormQuery.php, Save.php: Refactor setVarArray() to setStore()
      
      #3253
      FillStoreForm.php: If there is no STORE_TYPO3, get the old values from SIP: CLIENT_TYPO3VARS.
      Store.php: new function fillTypo3StoreFromSip(), copyT3VarstToSip()
      13d39fbe
  12. 17 Feb, 2017 1 commit
  13. 12 Feb, 2017 2 commits
  14. 11 Feb, 2017 1 commit
  15. 06 Oct, 2016 1 commit
  16. 31 May, 2016 1 commit
  17. 29 May, 2016 2 commits
    • Carsten  Rose's avatar
      UsersManual/index.rst: typo fixed · 4d6fa162
      Carsten Rose authored
      StoreTest.php: unit test fixed to run on Jenkins
      4d6fa162
    • Carsten  Rose's avatar
      Fixed 'Unknown SIP after login/logout' · 75c7f039
      Carsten Rose authored
      Report.php, Store.php, QuickFormQuery.php: configuration option 'SESSION_NAME' removed and hard coded to 'qfq'.
      Session.php, Sip.php: function checkFeUserUid() moved from Sip to Session. Will be called by using 'Session'. SIP's now stored one level deeper in $_SESSION['qfq'][...]. This makes it easier to destroy the SIP cachae in case of login/logout. Destroying the whole $_SESSION var is not a good idea.
      75c7f039
  18. 04 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      Report.php: remove showDebugInfo. · 9c2c34b3
      Carsten Rose authored
      Sip.php: disabled session_start in phpUnit environment.
      Store.php, AbstractDatabaseTest.php: removes phpUnit flag in constructor - class is static and the flag will be set in Store::getInstance().
      BodyTextParser.php, QuickFormQueryTest.php, StoreTest.php: removed token debugShowStack, TYPO#_DEBUG_LOAD, TYPO3_DEBUG_SAVE - no longer used.
      Constants.php: removed token TYPO3_DEBUG_LOAD, TYPO3_DEBUG_SAVE - no longer used.
      9c2c34b3
  19. 01 Apr, 2016 1 commit
  20. 11 Mar, 2016 1 commit
  21. 26 Feb, 2016 1 commit
  22. 11 Feb, 2016 1 commit
  23. 09 Feb, 2016 1 commit
  24. 02 Feb, 2016 2 commits
    • Carsten  Rose's avatar
      Store, Constants, Save, StoreTest: undo renaming STORE_0 back to STORE_ZERO.... · 81d23f99
      Carsten Rose authored
      Store, Constants, Save, StoreTest: undo renaming STORE_0 back to STORE_ZERO. const with a number at the end seems not to be accepted in the phpunittests.
      81d23f99
    • Carsten  Rose's avatar
      Sip: minor doc adjustment. · c320d88f
      Carsten Rose authored
      Store: Removed CLIENT_POST_ID and CLIENT_GET_ID. Various functions: check if supplied store is known. Check that STORE_ZERO never saves a value. New mode for setVar(): overWrite.
      Constants: New qfq.log. SQL_FORM_ELEMENT splitted to SQL_FORM_ELEMENT_SPECIFIC_CONTAINER|ALL_CONTAINER. New ROW_INSERT, ROW_UPDATE. Renamed STORE_ZERO to STORE_0.
      c320d88f
  25. 29 Jan, 2016 1 commit
  26. 28 Jan, 2016 1 commit
  27. 26 Jan, 2016 1 commit
  28. 22 Jan, 2016 1 commit
  29. 19 Jan, 2016 1 commit
  30. 17 Jan, 2016 2 commits
  31. 15 Jan, 2016 1 commit
  32. 12 Jan, 2016 1 commit
  33. 05 Jan, 2016 1 commit
  34. 04 Jan, 2016 2 commits