- 29 May, 2017 1 commit
-
-
Carsten Rose authored
-
- 27 May, 2017 1 commit
-
-
Carsten Rose authored
Database.php, QuickFormQuery.php: Initializing of native FormElements: _tgIndex HelperFormElement.php: new function formElementSetDefault(). Add '%d' to id's of extraButtonInfo text elements. Manual.rst: minor typos fixed
-
- 20 May, 2017 2 commits
-
-
Carsten Rose authored
Fixed
-
Carsten Rose authored
Add `sqlLog` and `sqlLogMode` to QFQ tt-content records. Add mode 'error' and `none` to sqlLogMode. Manual.rst: Added explanations for SQL_LOG, SQL_LOG_MODE, and tt-content pendants sqlLog, sqlLogMode. Update config.qfq.ini to latest attributes. Database.php: rename $mode to $currentQueryMode to make it more descriptive. Recode dbLog(). Logger.php: do nothing if there is no file defined. Report.php: new function checkUpdateLog(). Config.php: Set defaults for config.qfq.ini SQL_LOG and SQL_LOG_MODE Store.php: Fix problem that an empty SQL_LOG will be prependad with SYSTEM_PATH_EXT.
-
- 12 May, 2017 1 commit
-
-
Carsten Rose authored
-
- 09 May, 2017 2 commits
-
-
Carsten Rose authored
Fixed: unnecessary exception if there is no Form / FormElement table Database.php: New function playSqlFile(). DatabaseUpdate.php: missing table Form won't throw an exception anymore. Manual.rst: note that formEditor.sql will be played automatically.
-
Carsten Rose authored
For updates of QFQ prior to 0.17.0, do: ALTER TABLE `Form` COMMENT = 'Version=<your old QFQ version>' DatabaseUpdate.php, DatabaseUpdateData.php: new class. QuickFormQuery.php: Add DB UpdateCheck Database.php: moved to new subdirectory `database`. Add 'ALTER' as a new SQL command. FormAction.php, TypeAhead.php, Report.php, Sendmail.php, FillStoreForm.php, Store.php, AbstractBuild.php, Delete.php, Evaluate.php: Update path to Database.php.
-
- 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'.
-
- 02 Apr, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: update doc how to insert/update/delete non primary templateGroup records. FormAction.php: removed $templateGroupIndex - solved implicit by defining a LIMIT on 'slaveId' . Implemented '%D' (one below %d). Implemented FE_SQL_HONOR_FORM_ELEMENTS - reduces unecassary SQL queries. HelperFormElement.php: moved function 'explodeTemplateGroupElements()' to 'QuickFormQuery.php' Database.php: remove call to explodeTemplateGroupElements() - not necessary at that place. QuickFormQuery.php: fill STORE_RECORD during Formload - to read templateGroup records very early. Local copy of `getNativeFormElements()`, new `explodeTemplateGroupElements()`
-
- 26 Mar, 2017 2 commits
-
-
Carsten Rose authored
The new implementation creates empty fake instances of all copies of templateGroup FormElements. Those are empty. Before save, the submitted form values will be expanded with the empty fake templateGroup FormElements and such empty values will be saved. FormAction.php: Rename constant SQL_FORM_ELEMENT_TEMPLATE_GROUP to SQL_FORM_ELEMENT_TEMPLATE_GROUP_FE_ID - to be more precise. HelperFormElement.php, Database.php: new function explodeTemplateGroupElements()
-
Carsten Rose authored
#3431 / typeAheadSql: columnname 'key' is a reserverd SQL statement - replace by 'id'. Additional the parametername 'typeAheadLdapKeyPrintf' renamed to 'typeAheadLdapIdPrintf'. typeAhead.php: fixed typo. TypeAhead.php: introduced new mapping from 'id' (SQL) to 'key' (API). AbstractBuildForm.php: Constant renamed. Database.php: update function makeArrayDict() to reflect name mapping.
-
- 24 Mar, 2017 1 commit
-
-
Carsten Rose authored
Fix #3419 / typeAheadSql: Array mit nur einer Spalte oder andere KeyNamen als key / value werden nicht korrekt behandelt. TypeAhead.php: Added detection of missing ... LIMIT in FE_TYPEAHEAD_SQL. Make resultset always a two column array with columns key/value. Database.php: Added function hasLimit() and makeArrayDict().
-
- 14 Mar, 2017 1 commit
-
-
- 02 Mar, 2017 1 commit
-
-
Carsten Rose authored
*.php: extend explodeParameter(), explodeParameterInArrayElements() with argument $keyName, to make it more generic.
-
- 09 Feb, 2017 1 commit
-
-
Carsten Rose authored
Create function `Database->getNativeFormElements()` to unify all needed actions on fresh loaded FormElements like explodeParameterInArrayElements, duplicateRetypEelements, copyAttributesToFormElements. Native FormElements will be loaded on 4 different places in 3 classes. HelperFormElement.php: Moved copyAttributesToFormElements() from QuickFormQuery to HelperFormElement. AbstractBuildForm.php, BuildFormBootstrap.php, QuickFormQuery.php : Use of Database->getNativeFormElements() Database.php: HelperFormElement::copyAttributesToFormElements()
-
- 02 Feb, 2017 1 commit
-
-
Carsten Rose authored
Constants.php: Added SQL_LOG_MODE_ERROR - used to force logging of failed SQL queries. Database.php: Removed temorary debugSql output in error messages. Added 'forced' logging of SQL queries if they failed.
-
- 31 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 29 Nov, 2016 1 commit
-
-
Carsten Rose authored
-
- 19 Oct, 2016 1 commit
-
-
Carsten Rose authored
-
- 05 Oct, 2016 1 commit
-
-
Carsten Rose authored
-
- 23 Sep, 2016 1 commit
-
-
Carsten Rose authored
-
- 01 Jun, 2016 1 commit
-
-
Carsten Rose authored
Link.php, AbstractBuildForm.php, BuildFormBootstrap.php, Database.php: introduced constants for glyph. Code rearranged testtabbles.sql: extended to test Delete with filenames
-
- 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
-
- 30 May, 2016 1 commit
-
-
Carsten Rose authored
-
- 26 May, 2016 1 commit
-
-
Carsten Rose authored
Database.php: Fixed bug that INSERT returns affected rows. Correct is last_insert_id. Moved 'REPLACE' to behave like 'INSERT' instead of 'UPDATE. Extended Tests
-
- 11 May, 2016 1 commit
-
-
Carsten Rose authored
config.example.ini: DB_INIT Database.php: fire a given DB_INIT string.
-
- 28 Apr, 2016 1 commit
-
-
Carsten Rose authored
Report.php, Database.php: triggerReport() supports stat[] with num_rows, affected_rows and insert_id. rowTotal does not contain anymore inserId (last_insert_id) from fired INSERT queries. Instead num_rows or affected_rows are choosen. New: <level>.line.inserId contains the insertId.
-
- 18 Apr, 2016 1 commit
-
-
Carsten Rose authored
Database.php: sql(..., ROW_IMPLODE_ALL,...) have been confused by columns with identical columnnames (MYSQLI_ASSOC). Has been fixed now by using MYSQLI_NUM.
-
- 13 Apr, 2016 1 commit
-
-
Carsten Rose authored
save.php: return JSON with updated values of all fields. AbstractBuildForm.php: updated to deliver values of all form elements Constants.php: constants to distinguish all or specific values of FEs. QUERY_TYPE_* Database.php: doSQL now returns affectedrows or lastinsertid in case of udpate/inset. Typos fixed. QuickFormQuery.php: deliver Values as JSON after save. Save.php: return lastinsertid or affectedrows.
-
- 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
-
- 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 1 commit
-
-
Carsten Rose authored
Store, Constants, Database, QuickformQuery, AbstratDatabase, StoreTest: renamed several config.ini variables to use the '_'.
-
- 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
-
- 21 Feb, 2016 1 commit
-
-
Carsten Rose authored
Support: removed Function log(). Database: Use of new class Logger.
-
- 17 Feb, 2016 1 commit
-
-
Carsten Rose authored
Store: qfq.ini renamed to config.ini AbstractBuildForm, Constants, Database: constants renamed: KVP
-
- 11 Feb, 2016 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
- 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.
-