Commit 477f6997 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge branch 'master' into 4901PdfSplit

# Conflicts:
#	extension/Documentation/Manual.rst
parents e2a701f3 a6622ff1
/.python_virtualenv # Created by .ignore support plugin (hsz.mobi)
/.plantuml_install .python_virtualenv/
.virtual_env
.bowerpackages
.doc_plantuml
.idea
.npmpackages
.phpdocinstall
.plantuml
.plantuml_install
.python_virtualenv
.sonar_scanner
.support
.support_plantuml
.support_sonar
test.json
test.php
*.autosave
/bower_components
/composer.phar
/css
/dist/
/doc/*.pdf /doc/*.pdf
/.doc_plantuml /doc/jsdoc
/.support /doc/phpdoc
/.support_plantuml
/.plantuml
/doc/plantuml /doc/plantuml
/extension/Documentation/_make/build /extension/Documentation/_make/build
/doc/phpdoc /extension/Documentation/html
/.idea /extension/Resources/Private/vendor
/extension/Resources/Public/Css
/extension/Resources/Public/fonts
/extension/Resources/Public/JavaScript
/fonts
/js
/node_modules /node_modules
/packages /packages
/bower_components
# Created by .ignore support plugin (hsz.mobi)
/.bowerpackages
/.npmpackages
/.phpdocinstall
/js
/css
/fonts
/qfq.flowchart.dia.autosave /qfq.flowchart.dia.autosave
/support /support
/extension/Resources/Public/fonts /vendor
/extension/Resources/Public/JavaScript
/extension/Resources/Public/Css
/doc/jsdoc
/dist/
.python_virtualenv/
.virtual_env
/.support_sonar
/.sonar_scanner
before_script:
- VERSION=`cat ./version`
snapshot:
except:
- tags
script:
- make VERSION=$VERSION snapshot
- chmod a+r qfq_$VERSION_*.zip
- scp qfq_$VERSION_*.zip w16:qfq/snapshots/
release:
only:
- tags
script:
- make VERSION=$VERSION release
- chmod a+r qfq_$VERSION_*.zip
- scp qfq_$VERSION_*.zip w16:qfq/releases/
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
Release Release
======= =======
Version 0.future Version 18.x.x
---------------- --------------
Date: <date> Date: <date>
...@@ -36,10 +36,767 @@ Features ...@@ -36,10 +36,767 @@ Features
Bug Fixes Bug Fixes
^^^^^^^^^ ^^^^^^^^^
Version 18.10.1
---------------
Date: 12.10.18
Notes
^^^^^
Features
^^^^^^^^
* #5578 / Safari only handles one filetype in upload dialog.
* #6991 / Optional process 'readonly' FE during save. New FE parameter 'processReadOnly = 0|1'.
Bug Fixes
^^^^^^^^^
* #6880 / Fixed Exceptions with too many details to end user.
* 'Drag and drop' failed due to fillStoreForm requests {{form:S}} which was not necessary for drag and drop.
* Upload: rename 'chmod' to 'chmodFile'. Implement 'chmodDir'. Permissions applied for all new created directories.
* Upload: replace 'rename' with 'copy/unlink'
Version 18.10.0
---------------
Date: 04.10.2018
Notes
^^^^^
Features
^^^^^^^^
* #6894 / Upload: chmod for file creation.
* #6886 / Upload: Auto Orient - implementation.
* #6721: Log switching {{feUser:U}} to qfq.log. Log {{feUser:U}} to sql.log.
* #5458: Add '{{feUser:U}}' to be shown on exception.
* Manual.rst: Fix missing single tick in special column name '_=<var>'
* Report: Variables copied to STORE_USER via "... AS '_=<varname>'" are now available in STORE_RECORD by {{<varname>:R}}
Bug Fixes
^^^^^^^^^
* #6902 / Drag and drop in subrecords: expect 1 row got nothing.
Version 18.9.2
--------------
Date: 16.09.2018
Notes
^^^^^
* To use the new 'tablesorter' feature, please add 'tablesorter-bootstrap.css', 'jquery.tablesorter.combined.min.js',
'jquery.tablesorter.pager.min.js', 'widget-columnSelector.min.js' in your Typo3 template record.
See https://docs.typo3.org/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-053/Manual.html#setup-css-js
* *Existing* QFQ installations: update your CSS/JS includes! The new tablesorter jquery plugin might break (JS errors
seen on the console) your installation, if it isn't included!
* If you use the extension 'UZH Corporate Design Template':
* Update to the latest version 18.9.0.
* Add constants in the Typo3 template record 'ext: main': ::
cd.extra.css.file5 = typo3conf/ext/qfq/Resources/Public/Css/tablesorter-bootstrap.css
cd.extra.js.file10 = typo3conf/ext/qfq/Resources/Public/JavaScript/jquery.tablesorter.combined.min.js
cd.extra.js.file11 = typo3conf/ext/qfq/Resources/Public/JavaScript/jquery.tablesorter.pager.min.js
cd.extra.js.file12 = typo3conf/ext/qfq/Resources/Public/JavaScript/widget-columnSelector.min.js
* STORE_USER: check the examples - great new feature to temporary save user settings.
Features
^^^^^^^^
* #6721 / STORE_USER: variables per browser session
* #6690 / Tablesorter for subrecords
Bug Fixes
^^^^^^^^^
Version 18.9.1
--------------
Date: 15.09.2018
Notes
^^^^^
* Report
* Type of nesting delimiter in 'report' now limited to '{', '[', '(', '['
* Hide/reuse report content later: `10.content=hide` and later `1000.head = {{10.content}}`
* New Excel import - copy Excel files directly into a DB table.
* Forms with named primary key different than 'id' are now supported.
Features
^^^^^^^^
* #1261 / Tablesorter, incl. saved sort, combined column sort, filters, pagination
* #3129 / suggestion for subrecord title design
* #4922 / Excel import
* #6300 / Disable preview button for requiredNew forms
* #6314 / HTML Mode & sendMailSubjectHtmlEntity for Forms.
* #6481 / Add custom primary key option to Forms.
* #6645 / better error message for incomplete download as link
* #6650 / Report hide content (line) - use later via a variable. First version - problem with enclosed ticks.
* #6653 / Add save button class/glyphicon/tooltip for submit button
* Thesis code correction
* Update QFQ download URL
Bug Fixes
^^^^^^^^^
* AbtractBuildForm.php: fix problem with subrecords in MultiDB Environment.
* #2340 / Report: Problematic Bracket - form now on, only ''{[(<'' will change the nesting token.
* #3333 / Fixed subquery recognition in reports '10.sql, 10.1.sql ...'
* #4837 / Don't display hidden pills
* #5467 / Fill Record Store when evaluating min/max parameters
* #6621 / Fix shifted subrecord head
* #6646 / Fix broken extraInfoButton for some FEs
Version 18.9.0
--------------
Date: 07.09.2018
Features
^^^^^^^^
* #6357 / Save pdf on server
* #5381 / Stored procedures can be called from QFQ Reports
* #4996 / Log QFQ Update with timestamp.
* #6255 / Inline Report Editing - now with SIP and save.php api
Bug Fixes
^^^^^^^^^
* #6465 / Allow newlines in form action queries (e.g. sqlInsert)
* #4654 / Better FE color highlighting (UX)
* #5689 / Default BS Columns for FormElement match Form setting
* #6484 / Download Links mit css class
* #6576 / download buttons are now rendered disabled with render mode r:3
* Cookie Sitepath: wrong detected in case of API calls.
Version 18.8.2
--------------
Date: 28.8.18
Features
^^^^^^^^
* #6563 / Accept 0 as required.
Bug Fixes
^^^^^^^^^
* DatabaseUpdateData.php: add missed 'on the fly' update for Form.title, changed in FormEditor.sql in 18.8.1
* 6562 / sendmail: redirect all mail - the sender is replaced too.
* Manual.rst: several typos fixed
Version 18.8.1
---------------
Date: 26.08.2018
Features
^^^^^^^^
* #4432 / Every 'form submit' will be logged with raw data.
* #4763 / Render vertical text more stable: '... AS _vertical'
* #4996 / Log QFQ Version update
* #5403 / Tooltip on pills are now supported
* #5876 / Subrecord title of column 'Edit' & 'Delete' are now customizable.
* #6249 / Subrecords can now be reordered via drag and drop.
* #6333 / Add to qfq.log: IP Address, User Agent, QFQ Cookie, FE User
Bug Fixes
^^^^^^^^^
* #6401 / Handle Backticks in sendmail
* #6452 / Empty form title: no title row will be rendered anymore.
Version 18.8.0
--------------
Date: 25.08.2018
Notes
^^^^^
* Excel export
* Copy to clipboard
Features
^^^^^^^^
* #4922 / Excel Export - create Excel sheets from scratch or based on a template.
* #3294 / Improve Typo3 QFQ backend layout. Add sparql syntax highlighting.
* #5878 / Formelement.type=note with #!report - whitespace is trimmed.
* #6314 / HTML Mails enabled by specifying flag 'mode=html'.
* Import/Merge form: A new form 'copyFormFromExt' (see file `copyFormFromExt.sql`) offers a one click import of external
QFQ forms (incl. renumbering of id's).
* formEditor.sql: resized Form.title from 255 to 511 (requested by IK Tool)
* Drag and Drop now offers the possibility to show the renumbered values.
* Manual.rst: security hints, T3 Setup best practice, text input retype, charactercountwrap.
* Config.qfq: central defaults for DATA_MATCH, DATA_ERROR
* Bootstrap QFQ development: switched from bower to npm only.
Bug Fixes
^^^^^^^^^
* #5843 / File upload: limitation to file extensions are no case insensitive.
* #6247 / Replace deprecated each function
* #6281 / FormElement / column 'note': token '#!report' - STORE_RECORD does not work.
* #6331 / File Upload: Wrong error message if filesize is much too big.
* #6229 / Add QFQ icon to content element and content element wizard
* AbstractException.php: fixed problem with htmlEntities() on link to 'Edit Form' and 'Edit FormElement'.
Version 18.6.1
--------------
Date: 21.06.2018
Notes
^^^^^
* Configuration QFQ: form-config.formDataPatternError. New behaviour: If this field is empty, a more specific default
message is shown (instead of one message for all situations). Best is to clear this field.
Features
^^^^^^^^
* sqlHint: Note if a query fails and contains some not replaced variables.
* #4438 / Log attack detected: will be logged now to fileadmin/protected/log/qfq.log.
* #4041 / Subrecord: Spalte 'id' automatisch mit '<span class="text-muted">' wrappen.
* #5885 / show 'sql.log' in FE.
* #6121 / Formular: ID per Default in Titel.
Bug Fixes
^^^^^^^^^
* #6283 / Form: hide title frame if empty.
* #4299 / HiddenSelect' into 'master'.
* #6276 / default data-required-error moved to central Config.php.
* #5884 / sql.log by default public - protect against access.
* #6276 / Default check_type messages not shown.
* #6233 / Alert 'Form incomplete' - stays until click - auto disappear would be better.
Version 18.6.0
--------------
Date: 13.06.2018
Notes
^^^^^
* config.qfq.ini migrated to config.qfq.php - the old config.qfq.ini get's `chmod 000`.
* Most of config.qfq.ini migrated to Typo3 / Extension Manager - all but the DB /LDAP credentials.
* Keep in config.qfq.ini: ::
# Rename DB credentials from DB_<key> to DB_1_<key>, with key = 'NAME|HOST|USER|PASSWORD'
DB_1_USER = ...
DB_1_SERVER = ...
DB_1_PASSWORD = ...
DB_1_NAME = ...
* NEW: Drag and drop to sort elements! Check the Manual.
* `URL forwardMode`
* `client` renamed to `auto`.
* `close` added.
Features
^^^^^^^^
* #6100 / Url Forward Auto: Update Manual.rst. The F.parameter.saveAndClose has been removed again. Mode 'close' can be assigned statically or dynamic.
* #6178 / Input: Step: New option 'step' for FE.parameter.
* Download.php: references to non existing files now reported as missing file, not 'wrong mimetype' anymore.
* #4918 / Drag'n'Drop reorder elements DRAGANDDROP.md, PROTOCOL.md: Doc for "drag'n' drop" implementation.
* dragAndDrop.php: API endpoint DragAndDrop.php: Class for implementing drag'n' drop functionality.
* Link.php: implement new renderMode=8 - returning only the sip. QuickFormQuery.php: New entry point for processing "drag'n' drop".
* #3971 / Form title: new design from form title.
Bug Fixes
^^^^^^^^^
* #5077 / Dynamic Update & FE.type=required: Server fixed -
a) dynamic calculated modeSql respected,
b) formModeGlobal=requiredOff respected,
c) dynamic FE with mode='hidden' are not saved anymore.
* #6176 / Icon not aligned when error text: Buttons now wrapped in one 'input-group'.
* Manual.rst: reformat autocron QFQ code.
* #5880 / Skip Error Message during dynamicUpdate.
* #5870 / Missing file config.qfq.ini: Clean QFQ message.
* #5924 / config.qfq.ini/LocalConfiguration.php: several places in formEditor.sql still contained the 'dbIndex...'.
* #6168 Configuration language setting ignored: Form and FormElement editor still used uppercase config values for
language configuration. Updated to the new camel case notation.
* #5890 / config.qfq.ini is public readable. Renamed file to config.qfq.php. Implement a basic migration assistant to
copy DB credentials to new config.qfq.php. All other values have to be copied to extmanager/qfq-configuration manually.
* #6216 / Oops, an error occurred! Code - unhandled exception will be caught now.
Version 18.4.4
--------------
Date: 28.04.18
Bug Fixes
^^^^^^^^^
* Fix broken ext_emconf.php
Version 18.4.3
--------------
Date: 28.04.18
Bug Fixes
^^^^^^^^^
* Version Number ...04... not supported by TE. Changing naming scheme to omit leading zero.
Version 18.04.1
---------------
Date: 28.04.2018
Bug Fixes
^^^^^^^^^
* config: broken dbIndexQfq, dbIndexData.
Version 18.04.0
---------------
Date: 26.04.2018
Notes
^^^^^
* QFQ marked as 'stable'
* New version numbering: Year.Month.Index
* Manual.rst:
* AutoCron documentation enhanced.
* Replace '{{form:S}}' against '{{form:SE}}'.
* Check list for 'new installations'.
* Description for config variables enhanced.
* Details 'how record locking' is done.
* Details: extraButtonInfo.
* Replace config.qfq.ini on most places with 'configuration'.
* Path of 'sql.log' / 'mail.log' are now relative to <site path> (not <ext path> as before).
Features
^^^^^^^^
* formEditor.sql: update table cron.
* AutoCron.php: allow https connections with invalid certificate (e.g. 'localhost' is not listed as a valid hostname).
* ext_conf_template.txt: Extension manager configuration setup.
Bug Fixes
^^^^^^^^^
* AutoCron:
* Update form 'cron' to load/save records in DB_INDEX_QFQ.
* Fix problem with array in checkForOldJobs().
* Implement check that re-trigger asynchronous cron jobs are handled correctly.
Version 0.25.15
---------------
Date: 20.03.2018
Features
^^^^^^^^
* Fabric Read Only mockup.
Bug Fixes
^^^^^^^^^
* #5706 / Fixed that problematic characters in 'fileDestination' has not been sanatized.
* Fixed problem with buttons clipping trough alert.
* Client: wrong variable, updated CSS for long errors.
Version 0.25.14a
----------------
Date: 15.03.2018
Features
^^^^^^^^
* Change getMimeType() in Report in case file is missing or `file` beaks: instead to throw an exception, an empty string is returned.
* Updated protocol.md with Alert description.
* Update Status message for save/delete.
* Makefile: 1) remove sonar, add dependency to let update-qfq-doc run. 2) do qfq doc commit inside of the Makefile.
* Client: Changed save timeout from 1500 to 3000.
* Client: removing the blackout screen when modal gets dismissed.
* Client: modal alerts are now blocking everything.
* Manual.rst: fix RST syntax errors.
Bug Fixes
^^^^^^^^^
* #5677-TinyMCE broken - fixed.
Version 0.25.14
---------------
Date: 14.03.2018
Features
^^^^^^^^
* Change notification from 'save: success' to 'Save' and 'delete: success' to 'Delete'.
* DB update: write intermediate QFQ version after every step.
Bug Fixes
^^^^^^^^^
* #5652 / TypeAheadSql: destroyed SQL statement. Fixed broken compare and missing init of $sqlTest.
* #5668 / Fix Broken SIP after login.
Version 0.25.13
---------------
Date: 08.03.18
Features
^^^^^^^^
* AutoCron: Added doc for autocron. Extend AutoCron.php to be MultiDB aware. Update der AutoCron form.
* #4720 / Separate Database for Form & FormElement - Multi DB - fixed problem that 'Quick Edit Form / FormElement' has been broken in MultiDB Setup.
* #5603 / Report: final value of report columns (special column name).
* Fabric / delete now triggers form.changed / emojis work again.
* #5571 / File Upload: save filesize and mimetype automatically in 'upload mode simple',if those columns exist.
* #5423 / two new column names 'filesize', 'mimetype'.
* #5571 / File Upload: save filesize and mimetype.
* STORE_VARS contains now 'mimeType' and 'fileSize'.
* sqlBefore and sqlAfter will be fired in Upload Advanced and new in Upload Simple as well.
* STORE_VARS contains now `filenameOnly`. It can be used in downloadButton=....
Bug Fixes
^^^^^^^^^
* Fabric: Corrected resizing with changed width in editor.
* #5640 / UTF8 encoded strings: MAX LENGTH wrong.
Version 0.25.12
---------------
Date: 18.02.2018
Notes
^^^^^
* New
* FE.parameter:
* timeIsOptional
* enterAsSubmit
* FE.checkType: Auto
* Thumbnail rendering. Public or secure.
* Update
* Multi DB Support: Form & Report
Features
^^^^^^^^
* #5064 / Throw user form exception on invalid date.
* #5308 / TimeIsOptional parameter.
* #5318 / Allow sendmail speaking word token, adjust documentation and fix some typos.
* #5347 / Error Message (Exception): BS colored box for report error messages. Hide technical informations, show it on click.
* #5392 / Violate message with expected date format.
* #5414 / Add checkType Auto, refactor setDefault methods, add smart detection of defaults, extend documentation and rules.
* #3470 / Enter As Submit= on/off - implemented.
* #4437 / violate sanitize message.
* #4542 / input-type-decimal' into 'master'.
* #5298 / Update docs for HTML mails.
* #5333 / Thumbnail: implementation.
* #5425 / Thumbnail: render mode 7 - implemented, rewrite - secure thumbnails are now rendered on first access, not when
'AS _thumbnail' is called.
* Implemented $dbIndex for Report.
* Implemeted two new STORE_SYSTEM variables: '_dbNameData' and '_dbNameQfq' - those will be automatically filled qfq
during instantiation QuickFormQuery(). They can be used in Report to easily access the needed DB.
* Increased Formelement.label from 255 to 511.
* Make DB_INIT in config.qfq.ini set by default.
* Notes how to optimize PDF thumbnailing.
* Reformat manual for config.qfq.ini. Copy config.qfq.example.ini to MANUAL.rst. Migrate config defaults from
setIfNotSet() to array_merge().
* Security: hide $SQL in error messages to regular user.
* New FE.parameter 'inputType'. Can optional be given by webmaster. Additional, the 'type="number"' will be automatically
set, if the column is of type 'int' or if 'min' and 'max' is numerically.
Bug Fixes
^^^^^^^^^
* #3192 / Fill STORE_RECORD before loading table title.
* #5285 / Make typeAheadPedantic the default.
* #5348 / Exception/Report: level key missing.
* #5367 / Error Report: reworked alerts, updated css for alerts, 'full level' missing, content too much escaped: Fixed
too much escaping. Form / FormElement Links in error messages now with BS Buttons.
* #5382 / Double quotes in tooltips are now escaped with &quot;.
* #5390 / input validation decimal broken. fixed.
* #5430 / Add unique ID to each radio button for dynamic update.
* Form: 'FormElement' > 'Container' - relied on '{{formId:S}}' even if the FE record already exist - fixed.
* Subrecord Title - now wrapped with <label class='control-label'>.
Version 0.25.11
---------------
Date: 31.01.2018
Notes
^^^^^
* Violating a sanitize class now returns '!!<sanitize class>!!' instead of an empty string.
Features
^^^^^^^^
* #5022 / Variable violates sanatize class: 'msg' instead of empty string - new identifier "!!<sanitize class>!!".
* #4813 / Exception during form load: show 'form edit link' if editor is logged in.
* formEditor.sql: Increas size of Form.title to give more room for SQL statements in.
* Manual.rst: enhance debug tipps.
* #5321 / Plain Link - render mode- only url - implemented.
* Add regex101 link to checkPattern FormEditor.
Bug Fixes
^^^^^^^^^
* Fixed some broken help links in formEditor.sql.
* #5306 / Exception: tt_content_uid wrong - fixed.
* #4303 / Download von doc/docx-Dateien / Download.php - Mime type wird nicht mehr an Dateiname angehängt.
* #5316 / Help on how to send an E-Mail is wrong - several places fixed.
* #5311 / Error Msg SLQ_RAW != SQL_FINAL: Debug message shows outdated SQL_RAW.
* #5309 / min/max broken for date fields. Add min/max attributes to input and date input tag.
* Fabric now detects 'dirty'.
* Manual.rst: Remove broken link to W3C file upload.