From 6d0e95d3fe260764338dc714a3a391ec9c0680cd Mon Sep 17 00:00:00 2001
From: Carsten  Rose <carsten.rose@math.uzh.ch>
Date: Mon, 16 May 2022 23:33:05 +0200
Subject: [PATCH] New version 22.5.0

---
 CHANGELOG.md                        | 57 ++++++++++++++++++++++++++--
 Documentation-develop/NewVersion.md |  6 +--
 Documentation/Release.rst           | 53 +++++++++++++++++++++++++-
 Documentation/Settings.cfg          |  4 +-
 Documentation/conf.py               |  4 +-
 extension/RELEASE.txt               | 59 +++++++++++++++++++++++++++--
 extension/ext_emconf.php            |  2 +-
 version                             |  2 +-
 8 files changed, 169 insertions(+), 18 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 67750e2b5..28b1404b8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,7 +25,7 @@ warning::
 Release
 =======
 
-Version 21.x.x
+Version 22.x.x
 --------------
 
 Date: <date>
@@ -36,6 +36,54 @@ Features ^^^^^^^^
 
 Bug Fixes ^^^^^^^^^
 
+Version 22.5.0
+--------------
+
+Date: 16.5.2022
+
+Notes ^^^^^
+
+Features ^^^^^^^^
+
+* # 9052 / Report frontend editing: CodeMirror with syntax highlight.
+* # 10096 / Date time picker.
+* # 10782 / TinyMCE: image upload via drag'n'drop. 'fileUploadPath=fileadmin/...'.
+* # 13440 / Form: remember last used pill in localstore.
+* # 13543 / System: multiple base url can be configured.
+* # 13562 / System: if not set, set base url.
+* # 13572 / Form Load: better error message on try to load non existent record.
+* # 13581 / Copy to clipboard: small animation on icon.
+* # 13657 / Added two new twig report files to system: FormEditorTwig and autoCronTwig.
+* # 13679 / tablesorter/subrecord: view-saver added.
+* # 13788 / Date time picker: selectable weekdays.
+* Update / doc: datetimepicker requires moment.js - put it in example code before datetimepicker.
+* Update / QFQ config note to baseUrl.
+* Skip selenium to speed up.
+* Move Marc Egger to further contributor.
+
+Bug Fixes ^^^^^^^^^
+
+* # 9520 / Button Save inside form.
+* # 10646 / typeAhead: maxLength by default 512.
+* # 11134 / Set samesite header for cookies.
+* # 11325 / SQL CALL is handled seperate. All statements will execute. If only a SELECT statement is used in PROCEDURE then the output will shown, otherwise not.
+* # 12483 / Doc: update all references of config.qfq.php to qfq.json
+* # 12484 / config.render: old Both, new: Single.
+* # 13084,9724 / Dropdown list on iOS not clickable.
+* # 13527 / Form Multi: by default set r=0.
+* # 13658 / qfq.json: remove world readable.
+* # 13677 / FormEditor: Preview disabled if 'new.required' is given.
+* # 13722 / Detect and fix pdfunite problems "Gen inside xref table too large (bigger than INT_MAX)" via pdf2ps, ps2pdf.
+* # 13767 / Date time picker: up down button better design if required.
+* # 13797 / Checkbox: dynamic update (single and multi) fixed.
+* # 13818 / typeahead: fix for key/value problem: expects parameter 1 to be string, array given.
+* # 13827 / Date time picker should not offer user credentials (like username / password).
+* # 13842 / wkhtml and qfqpdf: broken SIP.
+* # 13860 / Safari: broken typeahead input.
+* # 13933 / Broken SIP: exception handling buggy.
+* # 13751 / Date time picker dynamic update aware.
+* Few replaces from config.qfq.php in Documentations.
+
 Version 21.12.0
 --------------
 
@@ -75,6 +123,7 @@ Bug Fixes ^^^^^^^^^
 * # 13507 / QFQ function should work without 'sql='
 * # 13525 / makefile adjusted for multiple users
 
+
 Version 21.6.0
 --------------
 
@@ -86,11 +135,11 @@ Notes ^^^^^
 
 Features ^^^^^^^^
 
+* # 8945 / Best practice `self-registration`_
 * # 12551 / Add QFQ bootstrap diagram
 * # 12615 / Implements silent HEIC/HEIF conversion to png. Write a note in realease notes, to install 'libheif-examples'.
 * # 12636 / New FormElement.encoding = 'single tick'
 * Form.rst: Update doc of Multi-Form
-* Best practice `self-registration`_
 
 Bug Fixes ^^^^^^^^^
 
@@ -776,12 +825,12 @@ Notes
 ^^^^^
 
 * Size of input elements now might be specified dynamically (with min and max height).
-* Twig converts json objects to an array.
+* Twig converts JSON objects to an array.
 
 Features
 ^^^^^^^^
 
-* Report.php: Twig, convert json object into associative array.
+* 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.
diff --git a/Documentation-develop/NewVersion.md b/Documentation-develop/NewVersion.md
index 3bdacf9d4..d17a6389b 100644
--- a/Documentation-develop/NewVersion.md
+++ b/Documentation-develop/NewVersion.md
@@ -45,7 +45,7 @@ Neue Versionsnummer
    **Achtung**: die Release Minor darf KEINE fuehrenden Nullen enthalten!!! Ansonsten funktioniert die Verteilung vie
    TER nicht.
 
-   **Auto**: ./setVersion.sh 21.12.0
+   **Auto**: ./setVersion.sh 22.5.0
 
    Manuell:
     * extension/Documentation/_make/conf.py: release, version-
@@ -56,11 +56,11 @@ Neue Versionsnummer
 
     * **Commit & Push** to master branch:
 
-   New version 21.12.0
+   New version 22.5.0
 
 6) **New Tag**:
 
-   git tag v21.12.0
+   git tag v22.5.0
 
 7) **Merge 'master' into 'develop'**
 
diff --git a/Documentation/Release.rst b/Documentation/Release.rst
index f3285939b..4313e89c6 100644
--- a/Documentation/Release.rst
+++ b/Documentation/Release.rst
@@ -38,7 +38,7 @@
 Release
 =======
 
-Version 21.x.x
+Version 22.x.x
 --------------
 
 Date: <date>
@@ -52,6 +52,57 @@ Features
 Bug Fixes
 ^^^^^^^^^
 
+Version 22.5.0
+--------------
+
+Date: 16.5.2022
+
+Notes
+^^^^^
+
+Features
+^^^^^^^^
+
+* #9052 / Report frontend editing: CodeMirror with syntax highlight.
+* #10096 / Date time picker.
+* #10782 / TinyMCE: image upload via drag'n'drop. 'fileUploadPath=fileadmin/...'.
+* #13440 / Form: remember last used pill in localstore.
+* #13543 / System: multiple base url can be configured.
+* #13562 / System: if not set, set base url.
+* #13572 / Form Load: better error message on try to load non existent record.
+* #13581 / Copy to clipboard: small animation on icon.
+* #13657 / Added two new twig report files to system: FormEditorTwig and autoCronTwig.
+* #13679 / tablesorter/subrecord: view-saver added.
+* #13788 / Date time picker: selectable weekdays.
+* Update / doc: datetimepicker requires moment.js - put it in example code before datetimepicker.
+* Update / QFQ config note to baseUrl.
+* Skip selenium to speed up.
+* Move Marc Egger to further contributor.
+
+Bug Fixes
+^^^^^^^^^
+
+* #9520 / Button Save inside form.
+* #10646 / typeAhead: maxLength by default 512.
+* #11134 / Set samesite header for cookies.
+* #11325 / SQL CALL is handled seperate. All statements will execute. If only a SELECT statement is used in PROCEDURE then the output will shown, otherwise not.
+* #12483 / Doc: update all references of config.qfq.php to qfq.json
+* #12484 / config.render: old Both, new: Single.
+* #13084,9724 / Dropdown list on iOS not clickable.
+* #13527 / Form Multi: by default set r=0.
+* #13658 / qfq.json: remove world readable.
+* #13677 / FormEditor: Preview disabled if 'new.required' is given.
+* #13722 / Detect and fix pdfunite problems "Gen inside xref table too large (bigger than INT_MAX)" via pdf2ps, ps2pdf.
+* #13767 / Date time picker: up down button better design if required.
+* #13797 / Checkbox: dynamic update (single and multi) fixed.
+* #13818 / typeahead: fix for key/value problem: expects parameter 1 to be string, array given.
+* #13827 / Date time picker should not offer user credentials (like username / password).
+* #13842 / wkhtml and qfqpdf: broken SIP.
+* #13860 / Safari: broken typeahead input.
+* #13933 / Broken SIP: exception handling buggy.
+* #13751 / Date time picker dynamic update aware.
+* Few replaces from config.qfq.php in Documentations.
+
 Version 21.12.0
 --------------
 
diff --git a/Documentation/Settings.cfg b/Documentation/Settings.cfg
index 7bbf0e713..183f2d1cc 100644
--- a/Documentation/Settings.cfg
+++ b/Documentation/Settings.cfg
@@ -21,8 +21,8 @@
 ; you can use in 'conf.py'
 
 project = QFQ - Quick Form Query
-version = 21.12
-release = 21.12.0
+version = 22.5
+release = 22.5.0
 t3author = Carsten Rose
 copyright = since 2017 by the author
 
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 6e89f62c1..8229aed18 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -62,9 +62,9 @@ author = 'Carsten Rose, Benjamin Baer'
 # built documents.
 #
 # The short X.Y version.
-version = '21.12'
+version = '22.5'
 # The full version, including alpha/beta/rc tags.
-release = '21.12.0'
+release = '22.5.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/extension/RELEASE.txt b/extension/RELEASE.txt
index 5e11b84f2..4313e89c6 100644
--- a/extension/RELEASE.txt
+++ b/extension/RELEASE.txt
@@ -38,7 +38,7 @@
 Release
 =======
 
-Version 21.x.x
+Version 22.x.x
 --------------
 
 Date: <date>
@@ -52,6 +52,57 @@ Features
 Bug Fixes
 ^^^^^^^^^
 
+Version 22.5.0
+--------------
+
+Date: 16.5.2022
+
+Notes
+^^^^^
+
+Features
+^^^^^^^^
+
+* #9052 / Report frontend editing: CodeMirror with syntax highlight.
+* #10096 / Date time picker.
+* #10782 / TinyMCE: image upload via drag'n'drop. 'fileUploadPath=fileadmin/...'.
+* #13440 / Form: remember last used pill in localstore.
+* #13543 / System: multiple base url can be configured.
+* #13562 / System: if not set, set base url.
+* #13572 / Form Load: better error message on try to load non existent record.
+* #13581 / Copy to clipboard: small animation on icon.
+* #13657 / Added two new twig report files to system: FormEditorTwig and autoCronTwig.
+* #13679 / tablesorter/subrecord: view-saver added.
+* #13788 / Date time picker: selectable weekdays.
+* Update / doc: datetimepicker requires moment.js - put it in example code before datetimepicker.
+* Update / QFQ config note to baseUrl.
+* Skip selenium to speed up.
+* Move Marc Egger to further contributor.
+
+Bug Fixes
+^^^^^^^^^
+
+* #9520 / Button Save inside form.
+* #10646 / typeAhead: maxLength by default 512.
+* #11134 / Set samesite header for cookies.
+* #11325 / SQL CALL is handled seperate. All statements will execute. If only a SELECT statement is used in PROCEDURE then the output will shown, otherwise not.
+* #12483 / Doc: update all references of config.qfq.php to qfq.json
+* #12484 / config.render: old Both, new: Single.
+* #13084,9724 / Dropdown list on iOS not clickable.
+* #13527 / Form Multi: by default set r=0.
+* #13658 / qfq.json: remove world readable.
+* #13677 / FormEditor: Preview disabled if 'new.required' is given.
+* #13722 / Detect and fix pdfunite problems "Gen inside xref table too large (bigger than INT_MAX)" via pdf2ps, ps2pdf.
+* #13767 / Date time picker: up down button better design if required.
+* #13797 / Checkbox: dynamic update (single and multi) fixed.
+* #13818 / typeahead: fix for key/value problem: expects parameter 1 to be string, array given.
+* #13827 / Date time picker should not offer user credentials (like username / password).
+* #13842 / wkhtml and qfqpdf: broken SIP.
+* #13860 / Safari: broken typeahead input.
+* #13933 / Broken SIP: exception handling buggy.
+* #13751 / Date time picker dynamic update aware.
+* Few replaces from config.qfq.php in Documentations.
+
 Version 21.12.0
 --------------
 
@@ -108,11 +159,11 @@ Notes
 Features
 ^^^^^^^^
 
+* #8945 / Best practice `self-registration`_
 * #12551 / Add QFQ bootstrap diagram
 * #12615 / Implements silent HEIC/HEIF conversion to png. Write a note in realease notes, to install 'libheif-examples'.
 * #12636 / New FormElement.encoding = 'single tick'
 * Form.rst: Update doc of Multi-Form
-* Best practice `self-registration`_
 
 Bug Fixes
 ^^^^^^^^^
@@ -803,12 +854,12 @@ Notes
 ^^^^^
 
 * Size of input elements now might be specified dynamically (with min and max height).
-* Twig converts json objects to an array.
+* Twig converts JSON objects to an array.
 
 Features
 ^^^^^^^^
 
-* Report.php: Twig, convert json object into associative array.
+* 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.
diff --git a/extension/ext_emconf.php b/extension/ext_emconf.php
index 996b0dc20..4d07abb44 100644
--- a/extension/ext_emconf.php
+++ b/extension/ext_emconf.php
@@ -12,7 +12,7 @@ $EM_CONF['qfq'] = array(
     'dependencies' => 'fluid,extbase',
     'clearcacheonload' => true,
     'state' => 'stable',
-    'version' => '21.12.0',
+    'version' => '22.5.0',
     'constraints' => [
         'depends' => [
             'typo3' => '7.0.0-10.9.99',
diff --git a/version b/version
index 26f03c10e..d1c5363fe 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-21.12.0
+22.5.0
-- 
GitLab