- 17 Jun, 2017 1 commit
-
-
Carsten Rose authored
-
- 11 Jun, 2017 1 commit
-
-
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.
-
- 07 Jun, 2017 1 commit
-
-
Carsten Rose authored
unit test fixed.
-
- 05 Jun, 2017 1 commit
-
-
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.
-
- 25 May, 2017 1 commit
-
-
Carsten Rose authored
-
- 18 May, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Implement additional 'SHOW_DEBUG_INFO = download' to track down problems with 'session forwarding'. Configure constants for SHOW_DEBUG_INFO for yes|no|auto
-
- 24 Apr, 2017 1 commit
-
-
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'.
-
- 25 Mar, 2017 1 commit
-
-
Carsten Rose authored
-
- 23 Mar, 2017 1 commit
-
-
Carsten Rose authored
-
- 27 Feb, 2017 1 commit
-
-
Carsten Rose authored
-
- 26 Feb, 2017 1 commit
-
-
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()
-
- 17 Feb, 2017 1 commit
-
-
Carsten Rose authored
-
- 12 Feb, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
- 11 Feb, 2017 1 commit
-
-
Carsten Rose authored
Store.php: extend constructor to respect optional configFileName - this makes it easier to implement various configfile cheks. StoreTest.php: new phpUnit checks to configfile syntax and default values.
-
- 06 Oct, 2016 1 commit
-
-
Carsten Rose authored
Support.php: escapes double ticks with " instead of \" - needed for JSON encoded config strings for TinyMCE. AbstractBuildForm.php: customize default setup for TinyMCE.
-
- 31 May, 2016 1 commit
-
-
Carsten Rose authored
FormAction.php: cleanup Store.php: cleanup Database.php: Added TRUNCATE fixtures/Generic.sql: added Person.adrId - just as testcase
-
- 29 May, 2016 2 commits
-
-
Carsten Rose authored
StoreTest.php: unit test fixed to run on Jenkins
-
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.
-
- 04 Apr, 2016 1 commit
-
-
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.
-
- 01 Apr, 2016 1 commit
-
-
Carsten Rose authored
-
- 11 Mar, 2016 1 commit
-
-
Carsten Rose authored
Store, Constants, Database, QuickformQuery, AbstratDatabase, StoreTest: renamed several config.ini variables to use the '_'.
-
- 26 Feb, 2016 1 commit
-
-
Carsten Rose authored
-
- 11 Feb, 2016 1 commit
-
-
Carsten Rose authored
formEditor: fixed typo
-
- 09 Feb, 2016 1 commit
-
-
Carsten Rose authored
-
- 02 Feb, 2016 2 commits
-
-
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.
-
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.
-
- 29 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 28 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 26 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 22 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 19 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 17 Jan, 2016 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Store.php: Removed caching functionality - the speed advantage is too few against code complexity. Introduced sanatizeStore - Only STORE_CLIENT and STORE_FORM are still sanatized. All others will be trusted. This reduces overhead by accessing variables. New function 'fillStoreTableDefinition'. Rewrote and simplify class getVar(). New function getStore() - at the moment used for debugging.
-
- 15 Jan, 2016 1 commit
-
-
Carsten Rose authored
Store.php: Impelemented Store 'Parent Record'. Extended Store 'Client' with Server SVars. Reorded fucntions. Added createSipAfterFormLoad()
-
- 12 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 05 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 04 Jan, 2016 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Store*.php: Storage Classes unified to one class. Storage is now one array for all stores in class 'Store'
-