Commit 052d9529 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge branch 'master' into corrections

# Conflicts:
#	Documentation/Manual.rst
parents 402b0e3c d52cba21
Pipeline #2540 passed with stages
in 2 minutes and 47 seconds
# EditorConfig is awesome: http://EditorConfig.org
#
# Use as master: https://github.com/TYPO3-Documentation/T3DocTeam/blob/master/.editorconfig
# top-most EditorConfig file
root = false
[{*.rst, *.rst.txt}]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 3
# MD-Files
[*.md]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
# ignore generated documentation
*GENERATED*
# ignore typical clutter of IDEs and editors (this could be added in .git/info/exclude,
# but we add it here for convenience)
*~
*.bak
*.idea
*.project
*.swp
.project
.webprj
nbprojec
# Created by .ignore support plugin (hsz.mobi)
.python_virtualenv/
.virtual_env
......@@ -13,20 +27,27 @@
.support
.support_plantuml
.support_sonar
qfq.flowchart.dia.autosave
test.json
test.php
test.html
*.autosave
composer.lock
/Documentation-GENERATED-temp
/bower_components
/composer.phar
/css
/dist/
/doc/*.pdf
/doc/jsdoc
/doc/phpdoc
/doc/plantuml
/extension/Documentation/_make/build
/extension/Documentation/html
/extension/Resources/Private/vendor
/Documentation-develop/*.pdf
/Documentation-develop/jsdoc
/Documentation-develop/phpdoc
/Documentation-develop/plantuml
/extension/vendor
/extension/Documentation/_make
/extension/Resources/Public/Css
/extension/Resources/Public/fonts
/extension/Resources/Public/JavaScript
......@@ -37,3 +58,6 @@ test.php
/qfq.flowchart.dia.autosave
/support
/vendor
/javascript/src/.vscode
/javascript/src/npm-debug.log
before_script:
- VERSION=`cat ./version`
- RELDATE=`date '+%Y%m%d%H%M'`
- mkdir build || true
variables:
SELENIUM_LOGS_PATH: "/scratch/tmp/7/"
stages:
- before
- build
- selenium
documentation:
stage: before
script:
- docker pull t3docs/render-documentation
- source <(docker run --rm t3docs/render-documentation show-shell-commands)
- dockrun_t3rd makehtml
snapshot:
stage: build
except:
- tags
artifacts:
expire_in: 1 week
paths:
- build/
script:
- make VERSION=$VERSION snapshot
- chmod a+r qfq_$VERSION_*.zip
- scp qfq_$VERSION_*.zip w16:qfq/snapshots/
- make VERSION=${VERSION} phpunit_snapshot
- chmod a+r qfq_${VERSION}_*.zip
- echo "mv qfq_${VERSION}_*.zip qfq_${VERSION}_${RELDATE}-${CI_BUILD_REF_NAME}.zip"
- mv qfq_${VERSION}_*.zip qfq_${VERSION}_${RELDATE}-${CI_BUILD_REF_NAME}.zip
- scp qfq_${VERSION}_*.zip w16:qfq/snapshots/
- mv qfq_${VERSION}_*.zip build/qfq.zip
release:
stage: build
only:
- tags
artifacts:
expire_in: 1 week
paths:
- build/
script:
- make VERSION=${VERSION} phpunit_release
- chmod a+r qfq_${VERSION}_*.zip
- scp qfq_${VERSION}_*.zip w16:qfq/releases/
- mv qfq_${VERSION}_*.zip build/qfq.zip
selenium:
stage: selenium
script:
- make VERSION=$VERSION release
- chmod a+r qfq_$VERSION_*.zip
- scp qfq_$VERSION_*.zip w16:qfq/releases/
- unzip -q build/qfq.zip -d qfq
- cd docker/
- ./run_qfq_docker.sh -no-deploy
- ./deploy_to_container.sh ../qfq
- ./run_selenium_tests_docker.sh
- echo "hello"
after_script:
# remove containers and move logs to persistent location
- cd docker; ./remove-containers.sh <<< "y"
- cd ..
- umask 002
- mkdir "$SELENIUM_LOGS_PATH/$CI_COMMIT_SHORT_SHA"
- cp extension/Tests/selenium/selenium_logs/* "$SELENIUM_LOGS_PATH/$CI_COMMIT_SHORT_SHA/"
- echo "Selenium Logs copied to $SELENIUM_LOGS_PATH/$CI_COMMIT_SHORT_SHA/"
......@@ -9,7 +9,7 @@
..
.. --------------------------------------------------
.. Best Practice T3 reST https://docs.typo3.org/typo3cms/drafts/github/xperseguers/RstPrimer/
.. External Links: `Bootstrap <http://getbootstrap.com/>`_:
.. External Links: `Bootstrap <http://getbootstrap.com/>`_
.. Add Images: https://wiki.typo3.org/ReST_Syntax#Images
..
.. -*- coding: utf-8 -*- with BOM.
......@@ -22,20 +22,1079 @@
Release
=======
Version 0.future
----------------
Version 19.x.x
--------------
Date: <date>
Notes
^^^^^
Features
^^^^^^^^
Bug Fixes
^^^^^^^^^
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.
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.
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
^^^^^^^^^
* #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.
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'
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.
* Add SQL stored procedure QIFEMPTY().
* #8806 / Add SQL stored procedure QNL2BR().
* #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.
* #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.
* #6656 / DragnDrop' into 'master'
* Update compatibility: API change in T3 makes QFQ incompatible with Typo3 >=9.4. Change compatibility back to <9.3.
Problem: sys_language_uid
* Update QFQ from earlier/equal version than 0.19.2 fails to create table 'Cron'.
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.
Version 19.7.0
--------------
Date: 02.07.2019
Notes
^^^^^
* Settings for tablesorter can now be saved.
* Selenium docker based is integrated now.
Features
^^^^^^^^
* #7284 / tablesorter save sort order
* #8592 / Fixed button display, added Alert instead of disabled button.
* #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.
Version 19.6.2
--------------
Date: 21.06.2019
Notes
^^^^^
The Rest API path changed:
* old: typo3conf/ext/qfq/Source/api/rest.php
* new: typo3conf/ext/qfq/Classes/Api/rest.php
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'.
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
* Refactor function.sql to function.sql. Implement constants for Version numbers.
* Update NewDoc.md
Version 19.6.0
--------------
Date: 12.06.2019
Notes
^^^^^
* Add Marc Egger as Developer
Bug Fixes
^^^^^^^^^
* #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.
* 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.
* Manual.rst: Excel Export / PDF export replace 'uid:<int>' with 'uid:<tt-content record id>'
* Update SQL functions to hanlde errors more efficient.
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
^^^^^^^^
* #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'
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
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
^^^^^^^^
* #5103 / Upload any file type: ``accept=*`` or ``accept=*/*`` or ``accept=*.*``.
* 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}}'
* #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
Version 19.3.2
--------------
Date: 18.03.2019
Notes
^^^^^
* New Escape/Action Class:
* 'X': Throw an exception if a variable isn't found. Custom message can be defined.
* '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.
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.
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'
Version 19.2.3
--------------
Date: 22.02.2019
Notes
^^^^^
New: `QFQ REST <https://docs.typo3.org/p/IMATHUZH/qfq/master/en-us/Manual.html#rest>`_
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
^^^^^^^^^
* #7925 / Change CWD during split reduced to splitting only.
* #7925 / Fixed problem in mkDirParent() with absolute paths.
* #7925 / Make logger independent of CWD.
* #7925 / Fixed problem with ``mktemp --tmpdir`` (difference Ubuntu 16 / 18) by using PHP function again.
* #7925 / Fixed some 'undefined index' problems.
Version 19.2.2
--------------
Date: 19.02.2019