Skip to content
Snippets Groups Projects
CHANGELOG.md 99.2 KiB
Newer Older
.. ==================================================
Carsten  Rose's avatar
Carsten Rose committed
.. Header hierarchy
.. ==
..  --
..   ^^
..    ''
..     ;;
..      ,,
..
.. --------------------------------------------------
.. Best Practice T3 reST  https://docs.typo3.org/typo3cms/drafts/github/xperseguers/RstPrimer/
Carsten  Rose's avatar
Carsten Rose committed
.. External Links: `Bootstrap <http://getbootstrap.com/>`_
.. Add Images: https://wiki.typo3.org/ReST_Syntax#Images
..
.. -*- coding: utf-8 -*- with BOM.

Carsten  Rose's avatar
Carsten Rose committed

.. include:: Includes.txt

.. _release:

Release
=======

Carsten  Rose's avatar
Carsten Rose committed
Version 19.x.x
--------------

Date: <date>

Notes
^^^^^

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
Version 19.12.0
---------------

Date: <date>

Notes
^^^^^

* Switch the whole homepage to readonly: FormModeGlobal and STORE_USER

Features
^^^^^^^^

* TinyMCE: grey out controls when readonly.
* Mockup:

  * Update files to get CSS & JS files from their own directory structure (not an installed QFQ extension).
  * Add fontawesome, tablesorter to mockup 'formCheckbox.html'.

* CI: Download selenium logs (only failed) under artifacts.
* Dev: .gitignore: exclude some docker & selenium.
* Merge Selenium Python Checks into Master.
* #9686 / html decode and sanitize an export filename to become the 'save as'-filename.
* #9666 / min-width for extraButtonInfo.
* FormEditor: optimize minWidth for 'rowLabelInputNote' field.

Bug Fixes
^^^^^^^^^

* #9720 / Checkbox dynamic update varoious settings:

  * Multi Plain Vertical & Horizontal, Checkbox Multi BS.
  * Fixed that label of 'checkbox' are bold and label of 'checkbox-inline' are normal.

* #7974 / TinyMCE: ReadOnly.
* #9424 / modeSql: skip if it starts with '#'.
* #9531 / File Upload Required.
* #9674 / Select Required Dynamic Update.
* #9678 / textarea now trigger DynamicUpdate.
* #9679 / FormModeGlobal: add STORE_USER - system wide readonly.
* #9690 / Select Required.
* #9691 / Checkbox: dynamic update > readonly. HTML ID for checkbox elements. Dynamic update switch 'readonly' for 'checkbox plain multi' and 'radio plain multi'.
* #9692 / Keyboard Select Checkbox.
* #9720 / Checkbox: Various setups with dynamic update.
* #9733 / Identiy different tabs. Record lock for same tab will always be granted.
* #9734 / Fix 'dirty lock release' - leaving a dirty form without closing, leaves a stale lock record. Added a releaselock() before window.unload. Dirty remove on goBack.
* #9735 / File Delete: no dirty trigger.
* Download / PDF merge: skip leading errors, interpret only 'Could not merge encrypted files'.
* DragAndDrop broken: after refactoring Support.php, the dragAndDrop was broken - missed init of '$store'.

Carsten  Rose's avatar
Carsten Rose committed
Version 19.11.3
---------------

Date: 29.11.2019

Notes
^^^^^

Features
^^^^^^^^

* #8886 / Check pattern: after focus lost.
* #9655 / Checkboxes and radios now defined with a min-width in horizontal plain mode.
Carsten  Rose's avatar
Carsten Rose committed
* #9617 / formModeGlobal:
Carsten  Rose's avatar
Carsten Rose committed
 * Two modes of 'formModeGlobal' available: 'requiredOff' and 'requiredOffButMark'.
 * 'requiredOffButMark':
Carsten  Rose's avatar
Carsten Rose committed
   * Renamed temporary 'skipRequiredCheck' to 'requiredOffButMark'.
   * Keep required marks after save.
   * Stop hiding helpblocks per default, set with class qfq-only-active-error.

* Radio: new class 'qfq-disabled' if readonly is set. Softer blue. Mark disabled - changed hover. Text in darker orange.
  Simple-error renamed to qfq-notify - removed box around error.
Carsten  Rose's avatar
Carsten Rose committed
* New default class for 'form' tag: 'qfq-notify'.
* Manual.rst: Add info for 'letter-no-break'.
* Add validator.js to list of used packages.

Bug Fixes
^^^^^^^^^

* #9670 / If `qpdf` fails to decrypt a PDF, try `gs`.
* #3995 / Implemented partly: CheckBox and Radio can now be locked.
* #8091 / Checkbox required:

 * If radio or checkbox is required and empty on submit, form save brings the element to front.
 * Fix radio plain vertical.
 * Fix label2 not to be bold.
 * Checkbox Plain Vertical: forces 'font-weight: 400;'.
 * Updated colors for checkboxes/radios.

* #9638 / Textarea Sizing: Now also listens for paste.
* #7891 / Added missing 'type="button"' to button element.
* Remove ' style="font-size: 1em;"' in extraButton - this causes extra space between multiple extraButton inline in one input element.

Carsten  Rose's avatar
Carsten Rose committed
Version 19.11.2
---------------

Date: 25.11.2019

Notes
^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* Enhance formModeGlobal=requiredOff/-ButMark (temporarily skipRequiredCheck): fill's '{{allRequiredGiven:V}}' before
  save to 1 (all given) else 0.
Carsten  Rose's avatar
Carsten Rose committed
  Offers user to save form, even if not all required data are given and offers application logic to check easily if all
Carsten  Rose's avatar
Carsten Rose committed
  required fields has been filled.
Carsten  Rose's avatar
Carsten Rose committed

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #9526 / Mark required fields more visible.
Carsten  Rose's avatar
Carsten Rose committed
* #9617 / Improve 'formModeGlobal=requiredOff'.

  * Feature `Form.formModeGlobal` implemented - STORE_SIP overwrites form definition.
  * New STORE_VAR variable 'allRequiredGiven'. Becomes '1' if all required fields are given, else 0.

* Add param 'L' & 'type' automatically to form save.
* Manual.rst: Procedure to find an irreproducible error.
* Change definition of QFQ system tables for 'modified' and 'created'. Use DATETIME instead of TIMESTAMP.

Bug Fixes
^^^^^^^^^

* #7639 / subrecord drag n drop:

 * `orderInterval` has not been respected.
Carsten  Rose's avatar
Carsten Rose committed
 * Update Manual.rst.
Carsten  Rose's avatar
Carsten Rose committed
 * Fake STORE_SIP so it can be used during processing sql1.
 * The record, currently loaded into form, is available via STORE_RECORD.
Carsten  Rose's avatar
Carsten Rose committed
 * Check for id/_id and ord/_ord.
 * Throw meaningful exception if missing 'id' or 'ord'.
Carsten  Rose's avatar
Carsten Rose committed

* Fixes bug that no mime_type_content is called if there is on file.
* Fix broken regex101 url.

Version 19.11.1
Carsten  Rose's avatar
Carsten Rose committed
---------------

Carsten  Rose's avatar
Carsten Rose committed
Date: 11.11.2019

Bug Fixes
^^^^^^^^^

 * #9532 / 'Advanced Upload' broken -  slaveId/sqlUpdate/... have been processed two times, after multiform code changes.

Version 19.11.0
---------------

Carsten  Rose's avatar
Carsten Rose committed
Date: 08.11.2019

Notes
^^^^^

New CSS Class:

* 'qfq-sticky' - to make an element sticky.

Update/new stored procedures:

* QMORE: change symbols from '..more' / '..less' to '...' / '<<'.
* QIFEMPTY: add empty detection for a) date, b) datetime, c) '0'.
* QDATE_FORMAT(timestamp). Return text in 'dd.mm.yyyy hh:mm' format or '-' if timestamp is empty.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #9521 / Textarea auto-grow. Update Manual.rst. New class qfq-auto-grow for textareas.
Carsten  Rose's avatar
Carsten Rose committed
* Update FormEditor to 80,1,350.
* Alerts a) changed overlay to blur and white, b) optimized to better reading for developer - ':hover' inside of error messages: black text and blue highlight.
* Add new CSS class 'qfq-sticky-element' - to stick individual elements.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #9354 / Missing border around form if there are no pills / no title
* #9053 / Using the tablesorter filter in form triggers dirty detection for save. Set qfq-skip-dirty on all tablesorter-filter.
* #2720 / Formelement 'radio' - required failed.
* #9512 / PDF merge fails on encrypted PDFs. Try to use qpdf to decrypt.
* #6232 / Missing required: Pill/Input not 'bring to front' - Textarea, Editor, Radio.
* #9300 / Fix Name restMethod-FormElement.
Carsten  Rose's avatar
Carsten Rose committed
* Add '@' to various PHP/IO function to suppress generic OS exception - now QFQ will report customized messages.
* FormEditor / error message: fix missing formId in STORE_SIP on calling FE directly from error message.
* Manual.rst: Tip for wkhtml added. Add description for 'fileButtonText'. Adjustments for 'slaveId' concept.


Carsten  Rose's avatar
Carsten Rose committed
Version 19.10.0
---------------

Date: 17.10.2019

Notes
^^^^^

* Background color of popups & error messages changed.
* slaveId/sqlInsert/sqlUpdate/sqlDelete are now available for all FormElements.
* New MySQL stored procedure strip_tags() function.

Features
^^^^^^^^

* #5695 / First implementation of multiform.
* #7495 / Removed dirty flag when 'enable-save-button' is set.
* Add MySQL strip_tags() function.

Bug Fixes
^^^^^^^^^

* #9329 / Fabric annotations. Fixed Scaling Problem on Static Canvas instances.
* #9298 / Fix timeout of file_get_contents. Extend timeout for downloadPage to 10min.
* #9274 / PHP 7.3 reports: switch statement with 'continue 2'.
* #9269 / fillStoreForm now fired two times in API calls. The first time during loadFormDefinition and the second time after the STORE_TYPO3 has been faked via SIP.
* Manual.rst: Add '!' to fillStoreVar Query
* Increase z-index in CSS 'dropdown-menu' class to 1060. The 'tablesorter > columnselector' will be hidden with 'qfq-sticky' by values < 1000.
* Reduce z-index in CSS 'qfq-sticky' class from 9999 to 1000. The 'tablesorter > columnselector' will be hidden with values > 1060.
Carsten  Rose's avatar
Carsten Rose committed

Carsten  Rose's avatar
Carsten Rose committed
Version 19.9.1
--------------

Date: 21.09.2019

Notes
^^^^^

* Use the CSS class 'qfq-sticky' in `<thead>` to make a table header 'sticky' - on long pages such tables headers are always
  visible.
* The page with the list of all forms: a new best practice report includes useful statistics `Form-Editor-Usage`_ - best
  is to replace the old code.

Features
^^^^^^^^

* #9203 / Pin the header of table (CCS 'sticky'), to make it always visible even if the page scrolls down.
* #9172 / AutoCron: new colum 'autoGenerated', 'xId'
* #9089 / Move Stored Procedure to SECURITY=INVOKER
* Manual.rst: Best practice `Form-Editor-Usage`_
* Reduce BS legend.font-size from 21 to 17.
* Change doc of tablesorter to use 'sorter-false' as class.

Bug Fixes
^^^^^^^^^

* #9074 / QFQ query with nested QFQ query failed, if the outer QFQ query is a multi column query ( ='{{!' ). Fixed.

Carsten  Rose's avatar
Carsten Rose committed
Version 19.9.0
--------------

Date: 09.09.2019

Notes
^^^^^

* Size of input elements now might be specified dynamically (with min and max height).
* Twig converts json objects to an array.

Features
^^^^^^^^

* Report.php: Twig, convert json object into associative array.
* Test SQL stored procedure in Form report.
* qfq-bs.css.less: a) reduce 'qfq-note' padding-top from 7 to 2 px, b) reduce 'legend' margin-bottom from 25 to 0.
* Debug output sendmail redirect all: addresses now always space delimited.
* FormEditor:

  * Remove FormElement 'tabindex'.
  * Change FormElement.class from 'Select' to 'Radio'.

* Manual.rst:

  * Clean syntax highlight.
  * Update realtime log file QFQ code.
  * Add 'Best Practice' code to show QFQ log files in realtime. Reformat some content.

* #7849 / New option 'fileTrash' and 'fileTrashText'.
* #7682 / 'Input textarea auto height'
* #4434 / Special column names now have to start with underscore. Earlier it was recognised even if there was no underscore.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #7860 / Special column name 'mailto' no handles text correctly if multi byte encoded. Fixed.
* #7849 / Missed filename after the file chooser selected an file. Fixed.
* #1201 / FE.parameter option 'tabindex' has never been implemented. Removed.
Carsten  Rose's avatar
Carsten Rose committed
  According https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex only the values '0' and '-1' are good.
* Add table html-id to subrecords, created by QFQ. Needed for tablesorter.
* Add TinyMCE to list of 'Software distributed together with QFQ'

Carsten  Rose's avatar
Carsten Rose committed
Version 19.8.0
--------------

Date: 28.08.2019

Notes
^^^^^

Features
^^^^^^^^

* Manual.rst:

   * Update tablesorter `class="sorter-false"`.
   * Add note to include font-awesome.
   * QFQ_LOG documentation.
   * Enhance wkhtml debug info.
   * Add link to https://mariadb.com/kb/en/library/stored-routine-privileges/

* Increase Length of column Form.forwardPage limit from 255 to 511.
* Index.rst: Add Rafi, Elias, Nicola as further contributors.
Carsten  Rose's avatar
Carsten Rose committed
* Add SQL stored procedure QIFEMPTY().
* #8806 / Add SQL stored procedure QNL2BR().
Carsten  Rose's avatar
Carsten Rose committed
* #8851 / Add sqlLogMode modifyAll and restrict sqlLogMode modify.
* #8859 / FormEditor: Filter + ColumnSelector.
* #8856 / AutoCron: SQL logMode should be defined separately.

Bug Fixes
^^^^^^^^^

* #8933 / Broken record lock: lock extend does not work - fixed
* #8846 / FormEditor: subrecord of FormElement might be wider than Form.
Carsten  Rose's avatar
Carsten Rose committed
* #8853 / fe.class=action: container should be hidden - hidden is wrong - FE-action might be assigned to templateGrou
  Container. New solution: if FE.class='action' only templateGroups are in the 'container' list.
Carsten  Rose's avatar
Carsten Rose committed
* #6656 / DragnDrop' into 'master'
* Update compatibility: API change in T3 makes QFQ incompatible with Typo3 >=9.4. Change compatibility back to <9.3.
Carsten  Rose's avatar
Carsten Rose committed
  Problem: sys_language_uid
Carsten  Rose's avatar
Carsten Rose committed
* Update QFQ from earlier/equal version than 0.19.2 fails to create table 'Cron'.


Carsten  Rose's avatar
Carsten Rose committed
Version 19.7.1
--------------

Date: 17.07.2019

Notes
^^^^^

* TWIG integration

Features
^^^^^^^^

* TWIG:

    * Add Twig Extension to parse QFQ Links
    * Pass assoc-array of query result as context
    * allow to pass template as string

* Database.php: extend function sql error message
* #8179 / extraButtonLock and extraButtonPassword might be specified without a value or with 0 or with 1.

Bug Fixes
^^^^^^^^^

* Database.php: fix CodeException
* Fabric: Readonly now displays annotations again.

Carsten  Rose's avatar
Carsten Rose committed
Version 19.7.0
--------------

Date: 02.07.2019

Notes
^^^^^

* Settings for tablesorter can now be saved.
* Selenium docker based is integrated now.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #7284 / tablesorter save sort order
* #8592 / Fixed button display, added Alert instead of disabled button.
Carsten  Rose's avatar
Carsten Rose committed
* #8204 / position required mark
* Excel.php: Delete superficial autoloader require
* Cleanup: hashPassword.php moved from Api to External.
* Cleanup unwanted git tracked files: Documentation-develop/jsdoc|...
* Selenium + Docker
* Update .gitignore - documentation directory moved several days ago.

Bug Fixes
^^^^^^^^^

* #6917 / Fix Monitor does not work.
* #8098 / Fix Language specific retype label or note has not been set correctly.
* Fix undefined index and potential undefined index.
* Fix Autoloader for External/AutoCron.php.
* Small fixes Manual.rst.
* Fix broken Manual: unwanted '<' after '{{!' lead to fully broken Manual.
* Fix path Source/api to Source/Api.

Carsten  Rose's avatar
Carsten Rose committed
Version 19.6.2
--------------

Date: 21.06.2019

Notes
^^^^^

The Rest API path changed:

Carsten  Rose's avatar
Carsten Rose committed
* old: typo3conf/ext/qfq/Source/api/rest.php
* new: typo3conf/ext/qfq/Classes/Api/rest.php
Carsten  Rose's avatar
Carsten Rose committed

QFQ is now PSR4 compliant.

Features
^^^^^^^^

* #8520 / Switch to psr4 composer.
* #8272 / Disable 'save' button as long as an upload is running.
* #7529 / Guarantee Sip Action plays only once.
* #8577 / Documentation enhanced for behaviour of SELECT '_test'.

Bug Fixes
^^^^^^^^^

* #7903 / Delete with 'table' as parameter doesn't work anymore.
* #8571 / Primary Key: report error if lower/uppercase don't match - in general if given primary key is not found in table definition.
* #8465 / Var substitute: '{{name:R:::0}}' default not used if it is '0'.

Carsten  Rose's avatar
Carsten Rose committed
Version 19.6.1
--------------

Date: 16.06.2019

Notes
^^^^^

* 'pdftk' is no longer used.
* Please install 'poppler-utils' - the command 'pdfunite' is the replacement of 'pdftk'.

Features
^^^^^^^^

* #8558 / Split error message in toUser and toDeveloper. Add error code.
* #8562 / Replace pdftk by pdfunite. 'pdftk' is outdated. It's hard to install on Ubuntu 18. It fails for recent PDFs.
  'pdfunite' is based on poppler. URLs are preserved. Orientation and size are preserved.

Bug Fixes
^^^^^^^^^

* Fix uniqIdQfq() - returned always badcaffeee1234
Marc Egger's avatar
Marc Egger committed
* Refactor function.sql to function.sql. Implement constants for Version numbers.
Carsten  Rose's avatar
Carsten Rose committed
* Update NewDoc.md
Carsten  Rose's avatar
Carsten Rose committed

Version 19.6.0
--------------

Date: 12.06.2019

Notes
^^^^^

* Add Marc Egger as Developer

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #8523 / htmlid: remove spaces (war #8460). Replace uniqid() by uniqIdQfq() which delivers a constant id in case of running unit tests
* #8430 / QFQ Doc mising.
Carsten  Rose's avatar
Carsten Rose committed

  * Index.rst: customize URL for 'report a problem'.
  * Sitemap.rst: new created to be included by Index.rst.
  * Reformat Index.rst according https://github.com/TYPO3-Documentation/TYPO3CMS-Example-ExtensionManual.git.
  * Move doc to docker generation. Update ReST Syntax URLs.
  * Remove 'extension/Documentation.outdated'.
  * Update .gitignore to not commit rendered doc.

Carsten  Rose's avatar
Carsten Rose committed
* Manual.rst: Excel Export / PDF export replace 'uid:<int>' with 'uid:<tt-content record id>'
Carsten  Rose's avatar
Carsten Rose committed
* Update SQL functions to hanlde errors more efficient.


Carsten  Rose's avatar
Carsten Rose committed
Version 19.5.1
--------------

Date: 22.5.19

Notes
^^^^^

* New dropdown menu, fully dynamic via '... AS _link' incl. SIP generation.
* New SQL stored procedure for use directly in SQL queries:

  * QMORE(text, length) - limits a text to 'length' characters, click on 'more' shows complete text.
  * QBAR(text) - escapes the character '|'. That one is heavily used in format strings for '... AS _link'.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #8391 / Additional line 'Website: ...' in sendmail redirect all.
* #8270 / SQL Stored procedure QMORE(text,length): Limit long text to 'length' characters. Show button 'more'.
* #8270 / SQL Stored procedure QBAR(text): Escape the character '|'.
* #8348 / Dynamic Dropdown menu via '... AS _link'
Carsten  Rose's avatar
Carsten Rose committed

Bug Fixes
^^^^^^^^^

* #8116 / Error-Dialog - Button for FE element is broken. First problem: replacing '\n' with '<br>' failed for FE link. Second problem: FormEditor fixed in case missing {{formId:S}}.
* #8315 / FE Datetime: 'd.m.yy hh:mm' thows an error
* #8278: Too long GET var crashes QFQ - Bug 1 - check GET Vars but try to report problem from POST var. Bug 2: writing log message crashed due to not initialized QFQ-config.
* Html2Pdf.php: Change logfile from sql.log to qfq.log
* formEditor.sql: Add specific pattern message for Form.name allowed characters
* Config.php: more precise error message

Carsten  Rose's avatar
Carsten Rose committed
Version 19.5.0
--------------

Date: 03.05.2019

Notes
^^^^^

* QFQ is now T3 V9.5 compatible.
* Minimal required version increased to T3 V7.
* QFQ description in ext_emconf.php updated > will be displayed on TER.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #5103 / Upload any file type: ``accept=*`` or ``accept=*/*`` or ``accept=*.*``.
Carsten  Rose's avatar
Carsten Rose committed
* Manual.rst: update all links to bootstrap to fixed version 3.4: https://getbootstrap.com/docs/3.4/...

Bug Fixes
^^^^^^^^^

* Manual.rst: Update BS glyphicon URL
* Manual.rst: replace '{{feUser:Y}}' by '{{feUser:T}}'
Carsten  Rose's avatar
Carsten Rose committed
* #8109 / Change email pattern and disable sanitize for FORM_UPDATE
* #8149 / Excel Export cutoff at Column AA
* #8113 / Fehler in Dokumentation für Default value
Carsten  Rose's avatar
Carsten Rose committed


Version 19.3.2
--------------

Date: 18.03.2019

Notes
^^^^^

* New Escape/Action Class:

Carsten  Rose's avatar
Carsten Rose committed
  * 'X': Throw an exception if a variable isn't found. Custom message can be defined.
Carsten  Rose's avatar
Carsten Rose committed
  * 'S': Stop replacing nested variables.

* Form forward:

  * 'url-sip': Call a target page with SIP encoded parameter
  * 'url-sip-skip-history': Call a target page with SIP encoded parameter, do not add current page to browser history.

* Report: new token 'fskipwrap' - comma separated list of column indexes. Suche columns won't be rendered with 'fbeg, fend'.

* Upload max file size:

  * Default changed:

    * old: 10MB
    * new: System limit

  * Definition via a) system configuration, b) qfq setup, c) per Form, d) per FormElement

Features
^^^^^^^^

* #8043 / New Escape/Action Class "Exception" if variable is not found.
* #8012 / New Escape/Action Class  "Stop replace" of nested variables.
* #8067 / url-sip / url-sip-skip-history - Form forwarding can now be used with SIP encoded parameter.
* #8072 / New token for Report: fskipwrap - wrapping of fields can be disabled per column.
* #8041 / Upload: maxFileSize based on system maximum, qfq config, form config, formElement config
* Manual.rst / Add more detailed description for '... AS _exec'. Add notes for 'fileSplit'.

Bug Fixes
^^^^^^^^^
* #8035 / Missing sql.log: throws an error - fixed.
* #8077 / PDF/fileSplit: uploaded PDF file with missing extension '.pdf' have not been recognized as PDF files - fixed.
* #8076 / splitPdf: using 'fileSplit=jpeg' and uploading a PDF with only one page, results in filename 'split.jpg'
  (missing index '-0'). New: split.jpg is renamed internally to split-0.jpg to provide a unified naming scheme.
* #8075 / Catch exception on filesize() - fixed: now return '-' for non existing files.

Carsten  Rose's avatar
Carsten Rose committed

Carsten  Rose's avatar
Carsten Rose committed
Version 19.3.1
--------------

Date: 15.03.2019

Bug Fixes
^^^^^^^^^

 * 8058 / Form > fillStoreVar: broken for TemplateGroup - Form.fillStoreVar not available during fillStoreForm().
 * 8048 / A retype FE should not be checked for 'required' during save.


Carsten  Rose's avatar
Carsten Rose committed
Version 19.3.0
--------------

Date: 05.03.2019

Notes
^^^^^

* New FormElement 'datalist' for fe.type='select'.
* FormElement 'annotate':

  * Now supports 'ReadOnly'.
  * 'grafic': Undo/Redo

Features
^^^^^^^^

* #7729 / Select as datalist
* #7783 / FormElement 'annotate' - ReadOnly mode is now supported for grafic/text.
* FormElement 'annotate/grafic' History for undo / redo
* FormEditor: by creating a new FormElement, the feIdContainer is now preselected based on the last choice.
* Manual.rst: started to use more predefined Sphinx formatting styles.

Bug Fixes
^^^^^^^^^

* #7978 / mail.log: not written in some cases - fixed
* #7949 / Table MailLog: missing column 'cc,bcc'
* Manual.rst: correct parameter 'mode' for special column name '_sendMail'


Carsten  Rose's avatar
Carsten Rose committed
Version 19.2.3
--------------

Date: 22.02.2019

Notes
^^^^^

Marc Egger's avatar
Marc Egger committed
New: `QFQ REST <https://docs.typo3.org/p/IMATHUZH/qfq/master/en-us/Manual.html#rest>`_
Carsten  Rose's avatar
Carsten Rose committed
interface implemented.

Features
^^^^^^^^

* Rest Implementation with GET,PUT,POST,DELETE and authorization token
* REST.md: add
* Manual.rst: reformat all sql code to use tyoposcript - it seems mysql does not work
* Manual.rst: Add some admonitions

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
* #7925 / Change CWD during split reduced to splitting only.
* #7925 / Fixed problem in mkDirParent() with absolute paths.
* #7925 / Make logger independent of CWD.
Carsten  Rose's avatar
Carsten Rose committed
* #7925 / Fixed problem with ``mktemp --tmpdir`` (difference Ubuntu 16 / 18) by using PHP function again.
Carsten  Rose's avatar
Carsten Rose committed
* #7925 / Fixed some 'undefined index' problems.
Carsten  Rose's avatar
Carsten Rose committed

Carsten  Rose's avatar
Carsten Rose committed
Version 19.2.2
Carsten  Rose's avatar
Carsten Rose committed
--------------

Carsten  Rose's avatar
Carsten Rose committed
Date: 19.02.2019

Notes
^^^^^

Marc Egger's avatar
Marc Egger committed
* QFQ now offers a basic REST API. Check https://docs.typo3.org/p/IMATHUZH/qfq/master/en-us/Manual.html#rest
Carsten  Rose's avatar
Carsten Rose committed

Features
^^^^^^^^

* 7910 / Check for double form names
* 7904 / REST api export. Manual.rst: describe QFQ REST API
* Latest phpStorm IDE complains about missing ext-json in composer.json. Added.
* Manual.rst: Example how to use 'password' escape class.

Bug Fixes
^^^^^^^^^


Version 19.2.1
--------------
Carsten  Rose's avatar
Carsten Rose committed

Carsten  Rose's avatar
Carsten Rose committed
Date: 18.02.2019
Carsten  Rose's avatar
Carsten Rose committed

Notes
^^^^^

* New default session timeout: if nothing special is needed, leave the config.sessionTimeout empty. If there is an old value
  best is to remove it.
* Variables with escape class='p' now hashes the content to be used as T3 FE passwords. This let's QFQ handle FE User
  registration or password reset.

Features
^^^^^^^^

* Manual.rst: update pathFilename to pathFileName an all places.
* Apply padding-top|botttom to fieldset via qfq-fieldset class.
* F7165 / fe user registration. New escape type 'p' for T3 passwords.

Bug Fixes
^^^^^^^^^

* #7634 / Session Timeout too short. Annoying 'session expired' message removed. Default timeout now takes the system defautl.
* #7864 / 'required'-FE Elements, deactivated via formModeGlobal=requiredOff missed the read marker. Class
  'required-field' is now always assigned. The final 'required' mode is still temporarily disabled.
* #7848 / extraColumName 'paged' - easier handling in case 'r=0' or empty 'U:...' - fixes #7848

Carsten  Rose's avatar
Carsten Rose committed

Version 19.2.0
--------------

Date: 07.02.2019

Bug Fixes
^^^^^^^^^
Carsten  Rose's avatar
Carsten Rose committed

Carsten  Rose's avatar
Carsten Rose committed
* #7714 / autocron fails to open logfiles - adjust CWD based on argv(0).


Version 19.1.3
--------------

Date: 28.1.2019

Notes
^^^^^

* If a variable violates a sanitize class, the substituted result can now be configured: a) !!<class>!!, b) '0', c) '', d) '<custom message>'.
* Alerts (based on _link class), might now show only 'ok' (alone, without 'cancel').
* Excel Import - three new options: importNamedSheetsOnly, importSetReadDataOnly, importListSheetNames

Features
^^^^^^^^

* SQL Error / underlining in exception dialog: Add two SQL errors to be underlined in exceptions. Extend to "... in 'order clause'"
* Extend allowed SQL commands in QFQ vars (have been already subscribed in that way in Manual.rst).
Carsten  Rose's avatar
Carsten Rose committed
* New escape mode 'C' - escapes ':' by '\'.' - useful for variables in variable definition.
* fillStoreVar: Replace setStore() with appendToStore()
* #6914 / Customized typeMessageViolation. Incl. unit tests.
Carsten  Rose's avatar
Carsten Rose committed
* #7743 / Move error messages to Constants.php. Unit tests use those constants now. 'data-pattern-error' only delivered
  if a 'pattern' is given. 'required' attribute only delivered is set. Detection of 'pattern error' on per QFQ default,
  custom instance wide, per form or per FormElement - per FormElement overwrites other. Move default pattern to constants.
  Make default error text more specific (only if default error text is not explicit set in config, form or form-element)
* #7747 / New options to import Excel files: importNamedSheetsOnly, importSetReadDataOnly, importListSheetNames
* #7684 / Optional hide second button (cancel) in link/question alerts.

Bug Fixes
^^^^^^^^^

* #7743 / Form-Element: Explicit given '0' for MIN or MAX has been interpreted as 'not set'.
* #7702 / Form,Form-Element: Unnecessary evaluation of column 'noteInternal' / 'adminNote'.
* #7695 / Form/URL Forward: pageAlias not substituted.
* #7686 / FormAction/sendmail: uninitialised sendMailAttachment.
* #7685 / Open FormElement from QFQ error message and save modified record: report error about missing {{formId:F}}.
* FormElement.type=select: fixed problem with dynamic update and mode=readonly - list was still selectable.
* Hint to skip leading zeros in version number.

Version 19.1.2
--------------
Carsten  Rose's avatar
Carsten Rose committed

Date: 17.01.2019

Notes
^^^^^

* Align FormElement labels left/center/right.
* Cleanup FormEditor.
Carsten  Rose's avatar
Carsten Rose committed
* All SQL commands now are allowed.
Carsten  Rose's avatar
Carsten Rose committed

Features
^^^^^^^^

* #7620 / Label align left/center/right. Defined by config/form/formelement.
* #7647 / Preparation for Selenium Tests - Implement new token 'A'  to add any custom attribute to '... AS _link'
* Cleanup FormEditor: FormElement as second pill. Hide MultiForm as long as it not active. Rename Various to Layout.
* Manual.rst: Add some tips. Add note how to extend TinyMCE valid_elements.
* Delete composer in Resources dir, run phpunit tests in gitlab pipeline.
* Database.php: allow all SQL commands.

Bug Fixes
^^^^^^^^^

* #7671 / On FormElements, 'fillStoreVar' is now detected and fired at first.
* Fix for checkbox-inline / radio-inline.
Carsten  Rose's avatar
Carsten Rose committed
* Check for non unique FormElements: multiple empty FE.name (e.g. for FE.type=subrecord) are allowed now.
Carsten  Rose's avatar
Carsten Rose committed
Version 19.1.1
--------------
Carsten  Rose's avatar
Carsten Rose committed

Date: 04.01.2019

Bug Fixes
^^^^^^^^^

* #7600 / Path to sendEmail has changed and is updated now.
* #7603 / Fix problem: formEditor.sql broken - missing semicolon. QFQ updates did not played formEditor.sql.
  Unit test for DatabaseUpdate(). Especially that formEditor.sql is running fine.
* #7594 / FE.type=extra: don't name it 'type' or 'id' or 'L' - more detailed error message and an explanation in Manual.rst.
* Config.php: error message about to high session timeout now reports the PHP settings.

Carsten  Rose's avatar
Carsten Rose committed
Version 19.1.0
--------------
Carsten  Rose's avatar
Carsten Rose committed

Date: 03.01.2019

Notes
^^^^^

Features
^^^^^^^^

* Session expired: report details about session timestamps
* File not found in FE.type=file: Show more clearly that the pathfilename is only shown when ShowDebugInfo=on.

Bug Fixes
^^^^^^^^^

* #7553 / If a pill is hidden, FE on that one should not be processed during save/update.
* #7573 / Upload: Do FillStoreVar before slaveId.
* #7551 / General error: Access to undefined index.
* #7544 / General error: Download.php / Line: 175.
* #7543 / General error: QuickFormQuery.php / Line: 1364. Happened during upload.
* Download Excel (and all other download types): Content-Disposition header delivered/suppressed in the opposite
  meaning as it should be. Seems to be fixed now.

Carsten  Rose's avatar
Carsten Rose committed
Version 18.12.3
Carsten  Rose's avatar
Carsten Rose committed
Date: 25.12.2018

Features
^^^^^^^^

* Form: Add text 'Record id/Created/Modified' to tooltip of save button.
Carsten  Rose's avatar
Carsten Rose committed
* #7540 / Form: Upload broken. HelperFile.php: correctRelativePathFileName() broken after refactor of qfq paths.
* #7514 / Report: Broken defaults in _pdf, _file, _link.
* #7538 / Report: Excel.php - access to undefined index.
* #7289 / Report: {{<level>.line.insertId}} - missing for altsql.
* #7539 / Report: Copy to clipboard not reliable. 'Direct' content now correctly encoded. 'Copy file content' fully implemented
  for text files.

Carsten  Rose's avatar
Carsten Rose committed
Version 18.12.2
---------------

Date: 24.12.2018

Notes
^^^^^

* Version skipped. Build problems in CI queue.

Version 18.12.1
---------------

Date: 22.12.2018

Notes
^^^^^

* Existing installations: update QFQ extension config form-layout.formBsColumns/formBsLabelColumns/formBsInputColumns,formBsNoteColumns.
Carsten  Rose's avatar
Carsten Rose committed
  old: '12', new: 'col-md-12 col-lg10' resp. smaller values for individual columns.
* New config values:

  * Config/flagProduction: yes/now - differentiate between development und production system. Will be used for
    'throwExceptionGeneralError' too.
  * Debug/throwExceptionGeneralError - shows/hide exception of general errors.

* Renamed config values:

  * SITE_PATH >> sitePath
  * EXT_PATH >> extPath
  * _dbName >> dbName

* Record locking: revert to old behaviour, that a locked record can't be modified by another form, even if the second
  form has modeRecordLock=NONE.

Carsten  Rose's avatar
Carsten Rose committed
* Autocron: update the system crontab entry to the new path (old 'qfq', new 'Source'):

Marc Egger's avatar
Marc Egger committed
   .../typo3conf/ext/qfq/Classes/External/autocron.php
Features
^^^^^^^^

* #7228 / Show error if form element with same name and class already exists.
* #7494 / Exception 'General Error': disable/enable per config.
* Adapt class paths in composer.json to the newly refactored folder names.
Carsten  Rose's avatar
Carsten Rose committed
* Add 'col-lg-10' to notes section.
* Added Alert Manager to have better control over the Alerts.
* Config.php: make 'reading dbname' Typo3 version dependent.
* Delete two old composer.json and call new composer in Makefile.
* Excel.php: change autoload.php path to new composer folder.
* Manual.rst: several places where the bs-column description are updated with the new way 'col-md-...' instead of '12'.
  Replace ''{{pageId' with '{{pageAlias'. Replace '... AS _Page' by '... AS _page'. Add 'tablesorter tablesorter-filter'
  to FormEditor example page.
* Move bootstrap.php and BindParamTest.php due to refactoring.
* phpunit.xml: implement const 'PHPUNIT_QFQ'. Store.php: set self::$phpUnit on const 'PHPUNIT_QFQ'
Marc Egger's avatar
Marc Egger committed
* Refactor: 'extension/qfq/qfq/...' to 'extension/Classes/Core/...'
* Refactor: Manual.rst update config variables (reorder), add 'qfqLog'. Support.php: formSubmitLog hardcoded to
  fileadmin/protected/log. DOCUMENTATION_QFQ > SYSTEM_DOCUMENTATION_QFQ. Remove config var 'logDir'.
* Refactor: SITE_PATH >> sitePath, EXT_PATH >> extPath, SYSTEM_PATH_EXT >> SYSTEM_EXT_PATH
* Remove report/Define.php, report/Error.php.

Bug Fixes
^^^^^^^^^

* #3464 / Checkboxes now disabled (readonly), even when rendered as Bootstrap. Fixes missing readonly for Template Groups.
* #6467 / Sanitizing a hidden field makes the form unsubmittable. Updated elementupdate for pattern, added "false" as an
  alternative to null.  'element-update' now get's 'pattern=<pattern>|false' on element-update.
* #7089 / FE.type=extra: value already set in SIP store.
* #7223 / Add "-" as allowed characters in filenames.
* #7455 / phpunit: Remove outdated report syntax. Catch exception on trying to open a non existing logfile.
* #7461 / Bug in Doku.
* #7464 / DragAndDrop - Undefined index: ord. Bug in subrecord fixed.
* AbstractException.php: fixed problem with empty $match in sql syntax highlighting.
* Block screen stuck seems fixed.
* Check not to try to number_format() empty string.
* config.qfq.example.php: add missing '>'.
* Fixed broken init in phpunit run. Fixed access to uninitialized var. Throw exception if dndTable or form is missing.
* Fixed missing $formElement[FE_DECIMAL_FORMAT]. Add 'missing primary record' check. Fixed missing fe['id'].
* Fixed problem with '?:' - implemented in 2016.
* Fixed problem with resultset in 'altsql'.
* formEditor.sql, Manual.rst: renamed '{{_dbName...:Y}}' to '{{dbName...:Y}}'.
* Manual.rst: Unify 'dbName*' documentation..
* phpunit: Update fixtures table 'Form', 'FormElement' & 'Dirty' definition. Update LDAP Test - surrounding spaces seems
  to be escaped now by '\20'. Create tests dir outside of source, create phpunit.xml, move some tests and make them work.
  Rename tests directory to Tests
* Record Lock. Revert change in cb2e2a70cfe5c251cffbfce65bdc0899da75a9c5: if a record lock exist, another form, with
  record lock mode=NONE, can't get write access to it. This is what the manual describes.
* Sanitize.php: fixes "Uninitialized string offset: 0" error.
* Save.php: Fixed exception (file size, mime type) for non-existing uploads.
* Store.php: fixed problem with wrong config varname for DB.
* Timeout check throws error since php.ini cookie lifetime is zero during unit test. Fix filepath relative to Typo3 dir
  when running unit test.
Carsten  Rose's avatar
Carsten Rose committed
Version 18.12.0
---------------

Date: 10.12.2018

Notes
^^^^^

* Config.qfq.php: the variable T3_DB_NAME is not necessary anymore.
* Following SYSTEM_STORE variables renamed. Old: '_dbNameQfq' ,'_dbNameData'. New: 'dbNameQfq' ,'dbNameData'
* New: Bootstrap 'col-lg-10' is defined on every form. On screens greater than 'md' the forms won't be expanded to 100% anymore.
Carsten  Rose's avatar
Carsten Rose committed

Features
^^^^^^^^

* #3992 / STORE_SYSTEM: dbNameQfq, dbNameData, dbNameT3
* Config.php: read 'dbNameT3' from TYPO3_CONF_VARS or from T3 config file.
* Download.php: get dbNameT3 now from STORE_SYSTEM
* #4906 / Php Session Timeout: can be specified globally in configuration and per form. Affects only logged in FE User.
Carsten  Rose's avatar
Carsten Rose committed
* #6866 / On logout destroy STORE_USER. Session.php: check if _COOKIE['fe_typo_user'] has changed - yes: clear STORE_USER. Store.php: Rearrange functions.
* #6999 / Bootstrap/Form: define columns for desktop 'col-lg-10'
Carsten  Rose's avatar
Carsten Rose committed
* #7138 / PDF / single source: deliver without converting
* #7293 / Implement new logging for file upload.
Carsten  Rose's avatar
Carsten Rose committed
* #7406 / dbinit might contain multiple sql statements now.
* #7407 / MariaDB / Ubuntu 18 complains about missing values if column of type TEXT isn't explicit specified in INSERT. New default for database.init=SET sql_mode = "NO_ENGINE_SUBSTITUTION"
* #7431 / FE.type=afterSave (FE Action): SQL won't report the causing FE.name/id
* #7434 / FE.type=beforeLoad / sqlValidate: Validation message not shown to user
* FormEditor.sql: Switch off 'MySQL strict setting of default values'