- 14 Jun, 2017 1 commit
-
-
Carsten Rose authored
New option 'translateIdColumn=feIdContainer' implemented to translate table self referencing ids. FormAction.php: collect translateMap during copying slave records. New function translateId(). formEditor.sql: Update to latest copyForm Version.
-
- 12 Jun, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: various topics undocumented. DatabaseUpdate.php: New table Clipboard, New FE.type='paste', New Form.forwardMode='url-sip' - will be applied for 0.18.3. FormAction.php: New: doAllFormElementPaste(), prepareDuplicate(), checkNCopyFiles(), copyRecord() Store.php: New member in STORE_CLIENT 'CLIENT_COOKIE_QFQ' - might be used to identify current user. BuildFormBootstrap.php: New buildButtonCopyForm(). QuickFormQuery.php: Calculating the target page now happens after saving the current record and processing all after save actions. New: pasteClipboard() formEditor.sql: New form 'copyForm'. New table 'Clipboard'
-
- 10 Jun, 2017 1 commit
-
-
Carsten Rose authored
-
- 09 May, 2017 1 commit
-
-
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.
-
- 10 Apr, 2017 3 commits
-
-
Carsten Rose authored
Action elements, assigned to a container which are not a templategroup, threw an exception. In general, it makes no sense (at the time of writing this) to assign an action element to a pill or fieldset, but it should not throw an exception. Fixed - just ignore such assignment.
-
Carsten Rose authored
Throw of a UserFormException with wrong parameter. Fixed.
-
Carsten Rose authored
Implemented.
-
- 08 Apr, 2017 1 commit
-
-
Carsten Rose authored
After 'sqlUpdate' a 'sqlDelete' have been always fired, even it was empty. After firing 'sqlDelete' the current 'slaveId' has been set to '0'. Thad 'id' has been written to the primary record. Now, 'sqlDelete' will be only fired if there is a sqlDelete is given and non empty.
-
- 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()`
-
- 29 Mar, 2017 1 commit
-
-
Carsten Rose authored
STORE_FORM wurde ohne Sanatize Class aufgerufen - daher wurde fuer non numeric values immer False geliefert und das Action Element nicht ausgefuehrt. Neu ist SANATIZE_ALLOW_ALL gesetzt.
-
- 28 Mar, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: Updated doc for a) config.qfq.ini: LDAP_1_RDN, LDAP_1_PASSWORD, b) Form.parameter|FormElement.parameter: ldapUseBindCredentials ErrorHandler.php: removed details - the end user should not too many details. FormAction.php, Ldap.php, QuickFormQuery.php: implement 'ldapUseBindCredentials' Ldap.php: set_error_handler() to catch ldap_bind() problems. Always set LDAP_OPT_PROTOCOL_VERSION=3 - this might cause problems with som LDAP Servers - we will see.
-
- 26 Mar, 2017 1 commit
-
-
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()
-
- 20 Mar, 2017 1 commit
-
-
Carsten Rose authored
OnArray.php: new function 'arrayValueReplace()'. AbstractBuildForm.php: Load foreign values in templatGroups.
-
- 19 Mar, 2017 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php: use of new OnArray::...() functions.
-
- 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()
-
- 14 Feb, 2017 1 commit
-
-
Carsten Rose authored
Default fuer Store Prioritaet hat sich geaendert: alt='FSRD', neu='FSRVD' - damit wird ist es ueberfluessig den V Store anzugeben. Variable '_filename' umbenannt in 'filename' und verschoben von STORE_FORM nach STORE_VARS. Damit ist es ueberfluessig eine Sanatize Klasse anzugeben. STORE_VAR hat zwei neue Variablen: 'filename', 'fileDestination'. Bei Form-Action Elemente gibt es zwei neue Typen: 'sqlBefore' und 'sqlAfter' Index.rst: Dokumentation auf V2 angepasst. Doku fuer V1 hat es nie gegeben. FormAction.php: Moved function initActionFormElement to HelperFormElement::initActionFormElement(), Implement sqlBefore & sqlAfter for Action Elemente. HelperFormElement.php: new class initActionFormElement(), initUploadFormElement(). FillStoreForm.php, AbstractBuildForm.php, Evaluate.php: Implemented the $skip parameter to suppress unwanted variable expansion during form load. Constants.php: New STORE_USE_DEFAULT, VAR_FILE_DESTINATION, VAR_FILENAME,FE_SQL_AFTER, FE_SQL_BEOFRE, FE_TYPE_UPLOAD. Evaluate.php: moved 'decryptCurlyBraces()' up, in order to create better error messages. Save.php: new doUploadSlave(), implement 'Upload advanced mode'.
-
- 13 Feb, 2017 1 commit
-
-
Carsten Rose authored
-
- 09 Feb, 2017 1 commit
-
-
Carsten Rose authored
FormAction.phhp, Store.php, AbstractBuildForm.php, Constants.php, QuickForemQuery.php, Index.rst: Added STORE_BEFORE, #3146
-
- 08 Feb, 2017 1 commit
-
-
Carsten Rose authored
FormAction.php, Report.php, Sendmail.php, Index.rst: By default all QFQ send mails contains now 'auto-submit'.
-
- 26 Jan, 2017 1 commit
-
-
Carsten Rose authored
FormAction.php: In case of 'AFTER_DELETE', do not try to load primary record - that one is already deleted. Sip.php: Do not skip SIP_TARGET_URL as parameter for the SIP.
-
- 14 Jan, 2017 1 commit
-
-
Carsten Rose authored
QuickFormQuery.php, FormAction.php: '#2931 / afterSave Hauptrecord xId nicht direkt verfügbar' - load master record again, after 'action'-elements has been processed.
-
- 12 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 19 Oct, 2016 1 commit
-
-
Carsten Rose authored
QuickFormQuery.php, FormAction.php: implemented FormElement 'sendmail' Report.php: Update column 'sendmail' Sendmail.php: Update class to send mailand to log them in table mailLog. AbstractBuildForm.php: refacxtured columnname 'value' to be used via constatn FE_VALUE. formEditor.sql: renamed FE.typ 'sendmail' to camel hook 'sendMail'. Changed FormeElement.mode from 'select' to 'radio'. Added empty table 'mailLog'.
-
- 31 May, 2016 4 commits
-
-
Carsten Rose authored
FormAction.php: cleanup
-
Carsten Rose authored
FormAction.php: cleanup Store.php: cleanup Database.php: Added TRUNCATE fixtures/Generic.sql: added Person.adrId - just as testcase
-
Carsten Rose authored
FormAction.php: initialize action formelements. ExpectRecords might specified as a list. After an insert, set slaveId to latest id. Process sqlDelete if given. Store.php: STORE_VAR and STORE_EMPTY missed to configure for Sanatize. QuickFormQuery.php: Initialized after the form is loaded.
-
Carsten Rose authored
UsersManual/index.rst: New option <escape> in variables described. Updated: before..., after..., slaveId FormAction.php: Implement 'requiredList' for 'action'-FormElements. formEditor.sql: new default for render ... bootstrap.
-
- 30 May, 2016 1 commit
-
-
Carsten Rose authored
-