1. 11 Feb, 2018 1 commit
  2. 10 Feb, 2018 1 commit
  3. 28 Jan, 2018 1 commit
  4. 11 Dec, 2017 1 commit
  5. 03 Dec, 2017 1 commit
  6. 20 Nov, 2017 2 commits
  7. 19 Nov, 2017 1 commit
  8. 04 Nov, 2017 1 commit
    • Carsten  Rose's avatar
      Feature: Default Escape Type changed from 's' to 'm'. · 103a3d8f
      Carsten Rose authored
      DatabaseUpdateData.php: removed the DB update from last commit - not necessary.
      Config.php: New default 'm'
      Evaluate.php: Respect EscapeTypeDefault in form definition.
      QuickFormQuery.php: Replace 'EscapeTypeDefault' in form defintion very early.
      103a3d8f
  9. 02 Nov, 2017 1 commit
  10. 07 Oct, 2017 1 commit
  11. 11 Sep, 2017 1 commit
  12. 28 Aug, 2017 1 commit
  13. 03 Aug, 2017 1 commit
  14. 10 Jul, 2017 2 commits
    • Carsten  Rose's avatar
      Feature #3981 / Record Locking · 700dd79d
      Carsten Rose authored
      Manual.rst: add documentation for record locking
      DatabaseUpdateData.php: Add new column 'dirtyMode'
      Dirty.php, Config.php, formEditor.sql: remove dirtyMode=readonly. Rename 'timeout' to 'exclusive' and 'overwrite' to 'advisory'.
      700dd79d
    • Carsten  Rose's avatar
      Feature #3981 / Record Locking · a0cd3709
      Carsten Rose authored
      First version for save - not working now.
      Manual.rst: document config var SYSTEM_DIRTY_RECORD_TIMEOUT_SECONDS.
      QuickFormQuery.php, Dirty.php: extend to support QFQ/save().
      Client.php: fixed broken PHP Unit test
      Config.php: set default for dirtyRecordTimeout.
      BuildFormBootstrap.php: No dirtyUrl if dirtyMode=none.
      formEditor.sql: extend definition to Form.dirtyMode, new table 'Dirty'
      Fixed several unit tests for new tables.
      a0cd3709
  15. 21 Jun, 2017 1 commit
  16. 17 Jun, 2017 1 commit
  17. 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
  18. 07 Jun, 2017 1 commit
  19. 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
  20. 25 May, 2017 1 commit
  21. 18 May, 2017 2 commits
  22. 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
  23. 25 Mar, 2017 1 commit
  24. 23 Mar, 2017 1 commit
  25. 27 Feb, 2017 1 commit
  26. 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
  27. 17 Feb, 2017 1 commit
  28. 12 Feb, 2017 2 commits
  29. 11 Feb, 2017 1 commit
  30. 06 Oct, 2016 1 commit
  31. 31 May, 2016 1 commit
  32. 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
  33. 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
  34. 01 Apr, 2016 1 commit
  35. 11 Mar, 2016 1 commit