- 13 Feb, 2017 1 commit
-
-
Carsten Rose authored
- fix problem when more than one file uploaded - there was only one variable {{_filename}}, which was not sufficient for more than one upload element per form. New: {{_filename_<FE_NAME>:FE:allbut}}. - implemented {{_deleted_<FE_NAME>:F0}}: if exist and is '1', than this means that the previous uploaded file has been trashed through the user by clicking on the trash. Index.rst: update doc. Some more notes are needed. See one of the upcomming commits. Constants.php: Renamed CLIENT_UPLOAD_FILENAME and created CLIENT_FILE_DELETED. Save.php: Set var CLIENT_FILE_DELETED and use renamed CLIENT_UPLOAD_FILENAME.
-
- 12 Feb, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
AdminstratorManual/Index.rst: Update config.qfq.ini description to new parameter 'class'. Remove 'DB_NAME_TEST' cause that is only interesting to PHP Unit Tests and not to enduser. UserManual/Index.rst: Update STORE_SYSTEM description of known variables. Store.php, QuickFormQuery.php: Refactor building STORE_SYSTEM. Make it more generic if new parameters are introduced. Setting up new config.qfq.ini built in defaults and form defaults at one place. Renaming of parameter names in config.qfq.ini to STORE_SYSTEM at one place implemented with an extensible array. AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: User constant F_CLASS in $this->formSpec['class'] config.qfq.example.ini: comment empty variables - the new default setting is, that empty parameter in config.qfq.ini means EMPTY, not UNDEFINED.
-
- 10 Feb, 2017 1 commit
-
-
Carsten Rose authored
Add FORM_BS_LABEL_COLUMNS, FORM_BS_INPUT_COLUMNS, FORM_BS_NOTE_COLUMNS to config.qfq.ini. AdministratorManual/Index.rst: added notes to install php-intl, new config.qfq.ini parameter (see above). UserManual/index.rst: Fix wrong store name SYSTEM: S > Y. Add new config.qfq.ini parameter (see above). Store.php: new general function to translate upper case config prameter names to to camel hook FormElement names. Split function fillSystemStore(). Add function normalizeArray(). Constants.php: add new error, renumber error codes 1056-1073. Introduce new config.qfq.ini parameter SYSTEM_FORM_BS_* QuickFormQuery.php: Use of new bs*Column values defined in config.qfq.inc (not hardcoded here anymore)
-
- 09 Feb, 2017 1 commit
-
-
Carsten Rose authored
FormAction.phhp, Store.php, AbstractBuildForm.php, Constants.php, QuickForemQuery.php, Index.rst: Added STORE_BEFORE, #3146
-
- 07 Feb, 2017 2 commits
-
-
Carsten Rose authored
Added validator.js attributes 'data-pattern-error', 'data-rquired-error', 'data-match-error', 'data-error' to be specified in config.qfq.ini, Form or FormElement. Detailed setting will overwrite generic setting. If none is specified, take validator.js defaults. HelperFormElement.php, AbstractBuildForm.php, Constants.php, QuickFormQuery.php.
-
Carsten Rose authored
HelperFormElement.php, AbstractBuildForm.php, Constants.php: 'Retype function' - default value will be copied to second element. Detection of secondary-'retype'-FormElement can be done by isset($fe[FE_RETYPE_SOURCE_NAME]) .
-
- 06 Feb, 2017 1 commit
-
-
Carsten Rose authored
Logger.php, BuildFormBootstrap.php, BuildFormPlain.php, BuildFormTable.php, Constants.php, BuildFormPlainTest.php: Replace 'label' and 'note' for FormElements by FE_LABEL, FE_NOTE.
-
- 03 Feb, 2017 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php: Implement HTML Formelement attribute 'autofocus'. Add function checkAutoFocus().
-
- 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 2 commits
-
-
Carsten Rose authored
QuickFormQuery.php: Suppress renderinf of form title during a 'delete' call. No one will see and required parameters are not supplied.
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php, Constants.php, QuickFormQuery.php, Index.rst: Implemented Paramater 'extraDeleteForm' for 'forms' and 'subrecords'. Doku update.
-
- 28 Jan, 2017 2 commits
-
-
Carsten Rose authored
Link.php: Check paged / Paged that the parameter r, table and form are given in the right combination.
-
Carsten Rose authored
Report.php, Constants.php: introduce constants for report column keywords. Remove code to handle unecessary 'p:' tag for delete links.
-
- 26 Jan, 2017 2 commits
-
-
Carsten Rose authored
Link.php, Report.php, AbstractBuildForm.php, BuildFormBootstrap.php, Constants.php: on various points replaced native string against API_DIR and newly API_DELETE_PHP.
-
Carsten Rose authored
Index.rst, Constants.php: reverted parameter '_table' in delete links back to 'table' - Reason: 'form' needs to be 'form' (instead of '_form') due to many used places already. Sip.php: move SIP_TARGET_URL back to stored inside SIP - it's necessary for 'delete'-links.
-
- 17 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 14 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 13 Jan, 2017 1 commit
-
-
Carsten Rose authored
FormEditor: 1) design update - new default background color: grey. 2) per form configureable background colors, 3) Optional right align of all form element labels. BuildFormBootstrap.php: added new class name 'qfq-label' to form labels - needed to assign 'qfq-form-right' class. Changed wrapping of formelements from 'col-md-8' (wrong) to 'col-md-12'. QuickFormQuery.php: Set default for new F_CLASS_PILL & F_CLASS_BODY. formEditor.sql: New default background color for formElements is blue. qfq-bs.css.less: add classes qfq-form-pill, qfq-form-body, form-group (center), qfq-color-*, qfq-form-right
-
- 10 Jan, 2017 1 commit
-
-
Carsten Rose authored
formEditor.sql: Added ':S0' to make FormEditor more robust - no error message in case formId can't be resolved, but still wrong behaviour. Constants.php: Prepend '_' to SIP_MAKE_URLPARAM_UNIQ Evaluate.php: phpstorm shows that 'getDebug()' is not used anywhere - commented.
-
- 17 Dec, 2016 3 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
CODING.md: update docs for situation 'new record already saved'. FillStoreForm.php: In case of form load with r=0, the submitted form element names are does not contain the effective record id - workaround implemented. Session.php: refactored clear(), create unsetItem(). Sip.php: new buildParamStringFromArray(), updateSipToSession(). Store.php: For r=0 SIPs always add a uniqe parameter. AbstractBuildForm.php: modified message for subrecords on new record. QuickFormQuery.php: create unique SIP on form load.
-
- 14 Dec, 2016 1 commit
-
-
Carsten Rose authored
Sip.php, Constants.php: define constant
-
- 29 Nov, 2016 3 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
- 20 Oct, 2016 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php: Implemented alternative button at the bottom of the form.
-
- 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'.
-
- 17 Oct, 2016 1 commit
-
-
Carsten Rose authored
-
- 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.
-
- 05 Oct, 2016 1 commit
-
-
Carsten Rose authored
-
- 29 Sep, 2016 1 commit
-
-
Carsten Rose authored
Documentation/AdministratorManual/Index.rst: Documentation for TinyMCE integration AbstractBuildForm.php: Rename 'EditorJQW' to 'Editor' , Integrate 'TinyMCE' as Editor. formEditor.sql: adjust FormElement.type from 'EditorJQW' to 'Editor' README.md: update to include latest JS libs
-
- 23 Aug, 2016 1 commit
-
-
Carsten Rose authored
1) '{{id:R0}}' now gives the correct record id, even on records which are 'new' (id is 0 at time of save) - '{{id:R0}}' can be used 'fileDestination' to build pathFilename. 2) Fixed problem with non existing uploads: in the past a sip has been saved instead of an empty string in the current record. 3) Fixed problem with a) choosing an upload file, b) deleting them immediately and c) pressing 'save'. Non existing temporary uploaded file has been tried to move to final destination. Documentation/UsersManual: FormElement 'File' update AbstractBuildForm.php: Extend upload structure with EXISTING_PATH_FILE_NAME. QuickFormQuery.php: 'late save' of uploads implemented. Save.php: upload columns are not saved during the first save - instead they are saved later.
-
- 19 Aug, 2016 1 commit
-
-
Carsten Rose authored
QfqController.php: E_NOTICE Errors are by default not catched by T3. For QFQ E_NOTICE will throw exceptions from now on report/Log.php: unused variables commented out. report/Variables.php: more detailed isset check. AbstractBuildForm.php: rendering of 'subrecord delete links' broken if column 'id' is missing. Code, which switches from 'id' to '_id' have been already prepared, but was not completely implemented. Exception if neither 'id' nor '_id' exist in subrecord query.
-
- 17 Aug, 2016 1 commit
-
-
Carsten Rose authored
-
- 05 Jun, 2016 1 commit
-
-
Carsten Rose authored
Session.php: save feUserGroup through init auf session. Store.php: During API access restore feUserGroup from SESSION
-
- 04 Jun, 2016 1 commit
-
-
Carsten Rose authored
#2046: Dynamic Update mit {{feUser:T0}} Feld - fixed. Background: T3 environment not available during dynamicUpdate (called by AJAX through API). Restore feUser and feUserUid from Session. Not good, but better than nothing. Still missing: the rest of STORE_TYPO3 Session.php: extend checkFeUserUid() to save feUser as well as feUserUid. Fixed error that getSession() in phpDoc stated it returned class Store - correct is class Session. Store.php: fillStoreTypo3() now respects that if there is no T3 environment, restore at least feUser and feUserUid.
-
- 01 Jun, 2016 2 commits
-
-
Carsten Rose authored
Save.php: For Uploads the 'target' variable name renamed (name collison with native column 'pathFileName') from 'pathFileName' to 'fileDestination'.
-
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
-