- 04 Apr, 2016 3 commits
-
-
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.
-
Carsten Rose authored
-
Carsten Rose authored
Link.php: Whole class refactored. Errors now reported via UserReportExtension. Access to array 'vars[]' now unified via constants. Number of build*() Functions reduced. Handling of default values simplified.
-
- 02 Apr, 2016 1 commit
-
-
Carsten Rose authored
UserReportException.php: Added field SYSTEM_REPORT_COLUMN_NAME to output. Array members renamed to SYSTEM_*. Various files adjusted to inlcude renamed file `UserFormException.php`. Link.php: Mamut switch() in parseItem() refactored to use $callTable. Report.php: refactoring started to use UserReportException() instead of SyntaxReportException. Startet removing all fr_error usages.
-
- 01 Apr, 2016 1 commit
-
-
Carsten Rose authored
-
- 29 Mar, 2016 1 commit
-
-
Carsten Rose authored
-
- 25 Mar, 2016 1 commit
-
-
Carsten Rose authored
Support.php: dateTime2mysql implemented. Constants.php: add ERROR_DATE_TIME_FORMAT_NOT_RECOGNISED
-
- 24 Mar, 2016 2 commits
-
-
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'.
-
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.
-
- 21 Mar, 2016 1 commit
-
-
Carsten Rose authored
Radio. BuildFormBootstrap: rendering standard class removed. Constants: defined SYSTEM_CSS_CLASS_CONTAINER
-
- 16 Mar, 2016 1 commit
-
-
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
-
- 15 Mar, 2016 1 commit
-
-
Carsten Rose authored
-
- 14 Mar, 2016 1 commit
-
-
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
-
- 11 Mar, 2016 2 commits
-
-
Carsten Rose authored
formEditor.sql: fixed typo qfq-bs.css.less: added BS adjustments to render Checkboxes smoothly.
-
Carsten Rose authored
Store, Constants, Database, QuickformQuery, AbstratDatabase, StoreTest: renamed several config.ini variables to use the '_'.
-
- 09 Mar, 2016 1 commit
-
-
Carsten Rose authored
AbstractBuildForm: added array $symbol for plain/table/bs forms to visualize the buttons. Preparation for NEW Link in subrecords. Buttons with Tooltips. BuildFormFormBootstrap: Buttons with Tooltips. Constants: names for symbols
-
- 08 Mar, 2016 1 commit
-
-
Carsten Rose authored
new version number 0.1.1 changed author to Carsten Rose on various places
-
- 02 Mar, 2016 1 commit
-
-
Carsten Rose authored
Database: rename 'row' to 'record'. QuickFormQuery: implemented timeout of 86400 for session lifetime.
-
- 01 Mar, 2016 1 commit
-
-
Carsten Rose authored
Link: replaced TYPO3_CONF_VARS by STORE_SYSTEM Sip, Store: PhpDoc AbstractBuildForm, BuildFormBootstrap, Constants: implemented constant SYSTEM_SHOW_DEBUG_INFO Database: rewrote errormessage
-
- 29 Feb, 2016 1 commit
-
-
Carsten Rose authored
Logger: print CWD at end of error message. Support: new function to prepend file with the extenions path. Store: if SQLLOG is relative, prepend extension path. AbstractBuildForm: get the Typo3 page 'id' from Typo3 and not from the URL. BuildFormBootstrap: implemented 'EditForm' Button. Implemented 'Delete' Button. Prepared 'Debug' Button Constants: new TYPO3_PAGE_ID
-
- 26 Feb, 2016 1 commit
-
-
Carsten Rose authored
-
- 25 Feb, 2016 2 commits
-
-
Carsten Rose authored
save.php: moved constants to Constants.php to reuse them in delete.php. Fixed bug by building error messages. Sip: extended queryStringToSip() by optional Parameter $scriptName. AbstractBuilForm: renamed formEditLink() to createFormEditUrl(). Changed createFormEditUrl() to only return the final URL, without HTML tags. Implemented createDeleteUrl(). BuildFormBootstrap, BuildFormTable: rewrote code for using createFormEditLink(). Use of createDeleteUrl(). Constants: defined SIP_TABLE, API_* QuickFormQuery: reformat Code
-
Carsten Rose authored
BuildFormTable: Added formEditLink Constants: changed: pageId > id, pageType > type, pageLanguage > L
-
- 24 Feb, 2016 1 commit
-
-
Carsten Rose authored
Evaluate: add support to show parse/replace actions
-
- 21 Feb, 2016 1 commit
-
-
Carsten Rose authored
README.md: short installation instructions.
-
- 17 Feb, 2016 1 commit
-
-
Carsten Rose authored
Store: qfq.ini renamed to config.ini AbstractBuildForm, Constants, Database: constants renamed: KVP
-
- 12 Feb, 2016 1 commit
-
-
Carsten Rose authored
QuickFormQuery: added saveForm() as new entrypoint. Will be directly called from save.php. Rearranged process().
-
- 11 Feb, 2016 1 commit
-
-
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
-
- 10 Feb, 2016 1 commit
-
-
Carsten Rose authored
Database: Moved implementation from PDO to mysqli. Reason: mysqli_num needed for `report`, but PDO can't fetch column names than.
-
- 09 Feb, 2016 1 commit
-
-
Carsten Rose authored
-
- 05 Feb, 2016 1 commit
-
-
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)
-
- 03 Feb, 2016 1 commit
-
-
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
-
- 02 Feb, 2016 3 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
-
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.
-
- 30 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 29 Jan, 2016 1 commit
-
-
Carsten Rose authored
-
- 28 Jan, 2016 2 commits
-
-
Carsten Rose authored
HelperFormElement, KeyValueStringParser, AbstractBuildFormd, Constants, Database: All Exceptions supplied with an error code
-
Carsten Rose authored
-
- 27 Jan, 2016 1 commit
-
-
Carsten Rose authored
-