RELEASE.txt 67.9 KB
Newer Older
Carsten  Rose's avatar
Carsten Rose committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.. ==================================================
.. Header hierachy
.. ==
..  --
..   ^^
..    ''
..     ;;
..      ,,
..
.. --------------------------------------------------
.. Best Practice T3 reST  https://docs.typo3.org/typo3cms/drafts/github/xperseguers/RstPrimer/
.. External Links: `Bootstrap <http://getbootstrap.com/>`_:
.. Add Images: https://wiki.typo3.org/ReST_Syntax#Images
..
.. -*- coding: utf-8 -*- with BOM.


.. include:: Includes.txt

.. _release:
Carsten  Rose's avatar
Carsten Rose committed
21

22
23
24
Release
=======

Carsten  Rose's avatar
Carsten Rose committed
25
26
Version 18.x.x
--------------
Carsten  Rose's avatar
Carsten Rose committed
27

Carsten  Rose's avatar
Carsten Rose committed
28
29
30
31
Date: <date>

Notes
^^^^^
Carsten  Rose's avatar
Carsten Rose committed
32

Carsten  Rose's avatar
Carsten Rose committed
33
34
35
Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
36
37
38
Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

Version 18.12.0
---------------

Date: 10.12.2018

Notes
^^^^^

* Config.qfq.php: the variable T3_DB_NAME is not necessary anymore.

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.
* #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 (Feature) Bootstrap/Form: define columns for desktop 'col-lg-10'
* #7138 / PDF / single source: deliver without converting
* #7293/ Implement new logging for file upload.
* #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'
* Logger.php: remove UserAgent - that one is logged in FormSubmitLog Table. Add 'cookie' to filter individual actions.
* New css classes for icons: .icon-flipped (mirrors icon), .icon-spin (icon spins once on hover), .icon-spin-reverse (mirror of icon spin).

Bug Fixes
^^^^^^^^^

* #7001 / Error message: if 'modeSql' fails, error message does not contain a reference to the causing FE.
* ErrorHandler.php: raise an error as an exception has been stopped in mid 2017 - reactivated now.
* Fix problem in upload elements: a) in exception FE_ID was not reported, b) fillStoreVar was not fired.
* FormAction.php: throw exception if 'fillStoreVar' selects more than one row.




80
81
Version 18.10.3
---------------
Carsten  Rose's avatar
Carsten Rose committed
82

Carsten  Rose's avatar
Carsten Rose committed
83
Date: 29.10.2018
Carsten  Rose's avatar
Carsten Rose committed
84
85
86
87

Notes
^^^^^

Carsten  Rose's avatar
Carsten Rose committed
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
* QFQ now recommends ImageMagick instead of GraphicsMagic, due to much better 'auto orient' (JPEG) capabilities.

Features
^^^^^^^^

* #4901 / Implement 'delete split files' if primary file is deleted (record) or replaced against a new one.
* #4901 / Implement 'fileSplitOptions'.
* #4901 / Implement PDF split based on IM 'convert' (jpeg).
* #7012 / Memory limit for file download - replace file_get_content() by readfile().
* #7112 / fabric: configure default color.
* thumbnail: empty path filename is no ignored, instead of throwing an exception. This is the same behaviour as
  building links - no definition means 'no link', and not 'error'.
* Refactor chmod(), unlink(), rename(), rmdir(), copy() to use by QFQ version which throws an exception.

Bug Fixes
^^^^^^^^^

* #3613 - Revert due to bug in dynamic show/hide (Revision 0bb99fd, Revision 77096ca7) -

Version 18.10.2
---------------

Date: 13.10.2018

Features
^^^^^^^^

* #2509 / Render encrypted mailto as single link
* #3281 / Trim form inputs
* #4649 / Add sqlBefore & sqlAfter to sendmail FE, move validate() before sqlBefore()/sqlAfter().
* #4922 / Some minor improvements to the excel import
* #5112 / Add incompatibility warning for encode specialchar and checkType allbut…
* #5450 / MySQL Exception: underline faulty area
* #6596 / uid ExcelExport / PDF
* #6944 / Add double comma SQL Hint


Bug Fixes
^^^^^^^^^

* #3529 / No double urldecode() of GET parameters
* #3613 / Label input note layout
* #3850 / Change set input maxlength
* #4545 / After delete: reload page with original parameters
* #4751 / Add bulleted und numbered lists back to tinyMCE Editor
* #4765 / Extend tooltip visibility for checkboxes and radio buttons
* #6911 / Only fire afterInsert on new record (also fix afterUpdate, beforeInsert,…
* #6929 / Treat single file argument like several file argument (savePdf: copy,…


Version 18.10.1
---------------

Date: 12.10.2018

Carsten  Rose's avatar
Carsten Rose committed
143
144
145
146
147
148
149
150
151
152
153
154
155
156
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'

Carsten  Rose's avatar
Carsten Rose committed
157
158
159
160
161
162
163
164
165
166
Version 18.10.0
---------------

Date: 04.10.2018

Features
^^^^^^^^

* #6894 / Upload: chmod for file creation.
* #6886 / Upload: Auto Orient - implementation.
Carsten  Rose's avatar
Carsten Rose committed
167
168
* #6721 / Log switching {{feUser:U}} to qfq.log. Log {{feUser:U}} to sql.log.
* #5458 / Add '{{feUser:U}}' to be shown on exception.
Carsten  Rose's avatar
Carsten Rose committed
169
* Manual.rst: Fix missing single tick in special column name '_=<var>'
Carsten  Rose's avatar
Carsten Rose committed
170
* Report / Variables copied to STORE_USER via "... AS '_=<varname>'" are now available in STORE_RECORD by {{<varname>:R}}
Carsten  Rose's avatar
Carsten Rose committed
171
172
173
174
175
176

Bug Fixes
^^^^^^^^^

* #6902 / Drag and drop in subrecords: expect 1 row got nothing.

Carsten  Rose's avatar
Carsten Rose committed
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
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

Carsten  Rose's avatar
Carsten Rose committed
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
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
Carsten  Rose's avatar
Carsten Rose committed
252

Carsten  Rose's avatar
Carsten Rose committed
253
254
255
256
257
258
259
260
261
262
263

Version 18.9.0
--------------

Date: 07.09.2018

Features
^^^^^^^^

* #6357 / Save pdf on server
* #5381 / Stored procedures can be called from QFQ Reports
Carsten  Rose's avatar
Carsten Rose committed
264
* #4996 / Log QFQ Update with timestamp.
Carsten  Rose's avatar
Carsten Rose committed
265
266
267
268
269
270
271
272
273
274
275
* #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.

Carsten  Rose's avatar
Carsten Rose committed
276
277
278
279
280
281
282
283
Version 18.8.2
--------------

Date: 28.8.18

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
284
* #6563 / Accept 0 as required.
Carsten  Rose's avatar
Carsten Rose committed
285
286
287
288
289
290
291
292
293

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
Carsten  Rose's avatar
Carsten Rose committed
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
---------------

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.

Carsten  Rose's avatar
Carsten Rose committed
314
315
316
Version 18.8.0
--------------

Carsten  Rose's avatar
Carsten Rose committed
317
Date: 25.08.2018
Carsten  Rose's avatar
Carsten Rose committed
318
319
320
321

Notes
^^^^^

Carsten  Rose's avatar
Carsten Rose committed
322
323
* Excel export
* Copy to clipboard
Carsten  Rose's avatar
Carsten Rose committed
324
325
326
327
328
329
330

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.
Carsten  Rose's avatar
Carsten Rose committed
331
* #6314 / HTML Mails enabled by specifying flag 'mode=html'.
Carsten  Rose's avatar
Carsten Rose committed
332
333
334
335
336
337
338
339
* 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.

Carsten  Rose's avatar
Carsten Rose committed
340
Bug Fixes
Carsten  Rose's avatar
Carsten Rose committed
341
342
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
343
344
345
346
347
348
349
350
* #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'.


Carsten  Rose's avatar
Carsten Rose committed
351
352
353
354
355
356
357
358
Version 18.6.1
--------------

Date: 21.06.2018

Notes
^^^^^

Carsten  Rose's avatar
Carsten Rose committed
359
360
361
* 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.

Carsten  Rose's avatar
Carsten Rose committed
362
363
364
Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
365
* sqlHint / Note if a query fails and contains some not replaced variables.
Carsten  Rose's avatar
Carsten Rose committed
366
367
368
369
* #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.
Carsten  Rose's avatar
Carsten Rose committed
370
371
372
373

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
374
375
376
377
378
379
* #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.
Carsten  Rose's avatar
Carsten Rose committed
380

Carsten  Rose's avatar
Carsten Rose committed
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
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
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
408
409
410
411
412
413
* #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".
Carsten  Rose's avatar
Carsten Rose committed
414
* #3971 / Form title: new design from form title.
Carsten  Rose's avatar
Carsten Rose committed
415
416
417
418
419
420

Bug Fixes
^^^^^^^^^

* #5077 / Dynamic Update & FE.type=required: Server fixed -

Carsten  Rose's avatar
Carsten Rose committed
421
422
423
424
425
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'.
Carsten  Rose's avatar
Carsten Rose committed
426
427
428
429
* 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...'.
Carsten  Rose's avatar
Carsten Rose committed
430
431
432
433
434
* #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.
Carsten  Rose's avatar
Carsten Rose committed
435
436


Carsten  Rose's avatar
Carsten Rose committed
437
438
439
440
441
442
443
444
445
446
Version 18.4.4
--------------

Date: 28.04.18

Bug Fixes
^^^^^^^^^

* Fix broken ext_emconf.php

Carsten  Rose's avatar
Carsten Rose committed
447
448
449
450
451
452
453
454
455
456
Version 18.4.3
--------------

Date: 28.04.18

Bug Fixes
^^^^^^^^^

* Version Number ...04... not supported by TE. Changing naming scheme to omit leading zero.

Carsten  Rose's avatar
Carsten Rose committed
457
458
459
460
461
462
463
464
Version 18.04.1
---------------

Date: 28.04.2018

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
465
* config: broken dbIndexQfq, dbIndexData.
Carsten  Rose's avatar
Carsten Rose committed
466

Carsten  Rose's avatar
Carsten Rose committed
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
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.
Carsten  Rose's avatar
Carsten Rose committed
484
485
  * Details: extraButtonInfo.
  * Replace config.qfq.ini on most places with 'configuration'.
Carsten  Rose's avatar
Carsten Rose committed
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500

* 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:

Carsten  Rose's avatar
Carsten Rose committed
501
  * Update form 'cron' to load/save records in DB_INDEX_QFQ.
Carsten  Rose's avatar
Carsten Rose committed
502
503
504
505
  * Fix problem with array in checkForOldJobs().
  * Implement check that re-trigger asynchronous cron jobs are handled correctly.


Carsten  Rose's avatar
Carsten Rose committed
506
507
508
509
510
511
512
513
514

Version 0.25.15
---------------

Date: 20.03.2018

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
515
* Fabric Read Only mockup.
Carsten  Rose's avatar
Carsten Rose committed
516
517
518
519

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
520
* #5706 / Fixed that problematic characters in 'fileDestination' has not been sanatized.
Carsten  Rose's avatar
Carsten Rose committed
521
522
* Fixed problem with buttons clipping trough alert.
* Client: wrong variable, updated CSS for long errors.
Carsten  Rose's avatar
Carsten Rose committed
523

Carsten  Rose's avatar
Carsten Rose committed
524
525
526
527
528
529
530
531
532
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.
Carsten  Rose's avatar
Carsten Rose committed
533
* Updated protocol.md with Alert description.
Carsten  Rose's avatar
Carsten Rose committed
534
535
* 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.
Carsten  Rose's avatar
Carsten Rose committed
536
537
* Client: Changed save timeout from 1500 to 3000.
* Client: removing the blackout screen when modal gets dismissed.
Carsten  Rose's avatar
Carsten Rose committed
538
539
540
541
542
543
* Client: modal alerts are now blocking everything.
* Manual.rst: fix RST syntax errors.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
544
* #5677-TinyMCE broken - fixed.
Carsten  Rose's avatar
Carsten Rose committed
545

Carsten  Rose's avatar
Carsten Rose committed
546

Carsten  Rose's avatar
Carsten Rose committed
547
548
549
550
551
552
553
554
Version 0.25.14
---------------

Date: 14.03.2018

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
555
* Change notification from 'save: success' to 'Save' and 'delete: success' to 'Delete'.
Carsten  Rose's avatar
Carsten Rose committed
556
557
558
559
560
561
562
563
564
* 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.


Carsten  Rose's avatar
Carsten Rose committed
565
566
567
568
569
570
571
Version 0.25.13
---------------

Date: 08.03.18

Features
^^^^^^^^
Carsten  Rose's avatar
Carsten Rose committed
572

Carsten  Rose's avatar
Carsten Rose committed
573
574
* 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.
Carsten  Rose's avatar
Carsten Rose committed
575
576
* #5603 / Report: final value of report columns (special column name).
* Fabric / delete now triggers form.changed / emojis work again.
Carsten  Rose's avatar
Carsten Rose committed
577
* #5571 / File Upload: save filesize and mimetype automatically in 'upload mode simple',if those columns exist.
Carsten  Rose's avatar
Carsten Rose committed
578
579
* #5423 / two new column names 'filesize', 'mimetype'.
* #5571 / File Upload: save filesize and mimetype.
Carsten  Rose's avatar
Carsten Rose committed
580
581
582
583
584
585

  * 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
Carsten  Rose's avatar
Carsten Rose committed
586
587
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
588
589
* Fabric: Corrected resizing with changed width in editor.
* #5640 / UTF8 encoded strings: MAX LENGTH wrong.
Carsten  Rose's avatar
Carsten Rose committed
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626

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.
Carsten  Rose's avatar
Carsten Rose committed
627
628
* #5425 / Thumbnail: render mode 7 - implemented, rewrite - secure thumbnails are now rendered on first access, not when
  'AS _thumbnail' is called.
Carsten  Rose's avatar
Carsten Rose committed
629
* Implemented $dbIndex for Report.
Carsten  Rose's avatar
Carsten Rose committed
630
631
632
* 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.
Carsten  Rose's avatar
Carsten Rose committed
633
634
* Make DB_INIT in config.qfq.ini set by default.
* Notes how to optimize PDF thumbnailing.
Carsten  Rose's avatar
Carsten Rose committed
635
636
* Reformat manual for config.qfq.ini. Copy config.qfq.example.ini to MANUAL.rst. Migrate config defaults from
  setIfNotSet() to array_merge().
Carsten  Rose's avatar
Carsten Rose committed
637
* Security: hide $SQL in error messages to regular user.
Carsten  Rose's avatar
Carsten Rose committed
638
639
* 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.
Carsten  Rose's avatar
Carsten Rose committed
640

Carsten  Rose's avatar
Carsten Rose committed
641
642
643
Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
644
645
646
* #3192 / Fill STORE_RECORD before loading table title.
* #5285 / Make typeAheadPedantic the default.
* #5348 / Exception/Report: level key missing.
Carsten  Rose's avatar
Carsten Rose committed
647
648
* #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.
Carsten  Rose's avatar
Carsten Rose committed
649
650
651
652
653
* #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'>.
Carsten  Rose's avatar
Carsten Rose committed
654

Carsten  Rose's avatar
Carsten Rose committed
655
656
657
658
659
660
661
662
663
664
665
666
667
Version 0.25.11
---------------

Date: 31.01.2018

Notes
^^^^^

* Violating a sanitize class now returns '!!<sanitize class>!!' instead of an empty string.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
668
* #5022 / Variable violates sanatize class: 'msg' instead of empty string - new identifier "!!<sanitize class>!!".
Carsten  Rose's avatar
Carsten Rose committed
669
670
671
* #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.
Carsten  Rose's avatar
Carsten Rose committed
672
673
* #5321 / Plain Link - render mode- only url - implemented.
* Add regex101 link to checkPattern FormEditor.
Carsten  Rose's avatar
Carsten Rose committed
674
675
676
677
678

Bug Fixes
^^^^^^^^^

* Fixed some broken help links in formEditor.sql.
Carsten  Rose's avatar
Carsten Rose committed
679
680
* #5306 / Exception: tt_content_uid wrong - fixed.
* #4303 / Download von doc/docx-Dateien / Download.php - Mime type wird nicht mehr an Dateiname angehängt.
Carsten  Rose's avatar
Carsten Rose committed
681
* #5316 / Help on how to send an E-Mail is wrong - several places fixed.
Carsten  Rose's avatar
Carsten Rose committed
682
683
684
* #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'.
Carsten  Rose's avatar
Carsten Rose committed
685
686
687
* Manual.rst: Remove broken link to W3C file upload.


Carsten  Rose's avatar
Carsten Rose committed
688
689
690
691
692
693
694
695
Version 0.25.10
---------------

Date: 26.01.2018

Notes
^^^^^

Carsten  Rose's avatar
Carsten Rose committed
696
* PROTOCOL.md: update notes.
Carsten  Rose's avatar
Carsten Rose committed
697
698
699
700
701
702
* Form / Upload: new option 'downloadButton' - if given renders a download button instead of showing the pathFileName.

Features
^^^^^^^^

* #5023 / Fabric: Cut, rotate and enhance uploaded images. Update Manual.
Carsten  Rose's avatar
Carsten Rose committed
703
704
705
* All FE 'typeahead' fields are set to 'autocomplete="off"'. Respect user setting for 'autocomplete' - if none given
  (mostly), set it for FE 'typeahead' to 'off'.
* #5295 / Upload: check if given QFQ 'maxFileSize' is higher than php.in post_max_size, upload_max_filesize.
Carsten  Rose's avatar
Carsten Rose committed
706
707
708
* FE.Subrecord: rearranged column order, start columns with uppercase letter.
* New CSS class 'qfq-full-width-left': especially for buttons to become full width.
* New CSS class 'qfq-table-100' - 100% width, with auto width per column. FE.subrecord changed to  'qfq-table-100'.
Carsten  Rose's avatar
Carsten Rose committed
709
* #5302 / remove CSS class 'internal / external'.
Carsten  Rose's avatar
Carsten Rose committed
710
711
712
713

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
714
* #5189 / BCC SendMail Problem - fixed missing double ticks.
Carsten  Rose's avatar
Carsten Rose committed
715
716
717
718
719
720
721
722
723
724
725
* Manual.rst: Update documentation that the default escape type is 'm'. Remove subrecord/list (have been removed long
  time ago). Fix enumeration problem FE.type=radio `classButton`. Add short note for typeahead.js. Remove never
  implemented 'keySemdId...', 'ANREDE'. Fixed typo - replace '\' by '\\' on most places (not in code sections).
  More generic SQL to extract filename from pathFileName. Fixed several phinx syntax errors. Add example for
  'recent list'-records.
* Fixed problem with missing 'if note exits' in CREATE TABLE `Split`.
* #5030 / Manual.rst: Fixed example with XSS vulnerability.
* #5275 / typeahead.bundle.min.js missing in Manual.rst: fixed.
* FormEditor: 'typeahead' for column 'name' fixed. Attention: only succeed if DB_1_NAME is the final DB (mostly given).
* #5048 / Default value NULL in pathFileName breaks uploads.
* #5028 / Links im FormularEditor zeigen ins Leere (Fehlende Ziel-Anker) - fixed.
Carsten  Rose's avatar
Carsten Rose committed
726
* Make readonly BS radio buttons non-selectable.
Carsten  Rose's avatar
Carsten Rose committed
727

Carsten  Rose's avatar
Carsten Rose committed
728
Version 0.25.9
Carsten  Rose's avatar
Carsten Rose committed
729
730
--------------

Carsten  Rose's avatar
Carsten Rose committed
731
Date: 17.12.2017
Carsten  Rose's avatar
Carsten Rose committed
732
733
734
735

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
736
737
* #5133 / sendmail: subject and body html entity decode: Introduce options for 'subject' and 'body' to switch on/off HTML encoding / decoding
* Manual.rst: Add notes to QFQ installation, wkhtml problems, paragraph on 'sendEmail' Html2Pdf.php: Add error codes and a hint on wkhtml fails.
Carsten  Rose's avatar
Carsten Rose committed
738
* Reformat table qfq-letter.css.less: redefined h1, letter-receiver.
Carsten  Rose's avatar
Carsten Rose committed
739
740
741
742

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
743
744
* Bug in sendEmail: invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 575. Patch for sendEmail
  (see https://unix.stackexchange.com/a/68952).
Carsten  Rose's avatar
Carsten Rose committed
745
746
747
748
749
750
751
752
753
754


Version 0.25.8
--------------

Date: 11.12.2017

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
755
* #5080 / Dynamic PDF Letter.
Carsten  Rose's avatar
Carsten Rose committed
756
757
758
759
760
* #5083 / Bodytext / Report: join lines without spaces.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
761
762
* Fix problem with commit from 8.12.17 / Store.php: appendToStore.php stopped working - 'report' failed to replace
  '{{<column>:R}}'.
Carsten  Rose's avatar
Carsten Rose committed
763
764
* Store.php: fix problem with empty 'appendToStore()' call.

Carsten  Rose's avatar
Carsten Rose committed
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
Version 0.25.7
--------------

Date: 07.12.2017

Notes
^^^^^

* Report: parameter in '... AS _sendmail' needs token now - position dependent is removed now.
* Report: parameter 'a:' in '... AS _sendmail' replaced by 'F:' to be compatible with downloads. Do not separate files by comma.
* Manual: most occurences of 'U:' replaced by 'p:' - same meaning.

Features
^^^^^^^^

* #4255 / Attachments for emails implemented.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
785
786
* Bug - PHP Warning: Declaration of qfq\BuildFormTable::head() should be compatible with
  qfq\AbstractBuildForm::head($mode = qfq\FORM_LOAD) - fixed.
Carsten  Rose's avatar
Carsten Rose committed
787
788


Carsten  Rose's avatar
Carsten Rose committed
789
790
791
792
793
794
795
796
797
798
799
800
801
Version 0.25.6
--------------

Date: 03.12.2017

Notes
^^^^^

Bigger changes in update form after save/dynamic update.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
802
* #4865 / Pill Dynamic Updates Show / Hide.
Carsten  Rose's avatar
Carsten Rose committed
803
* #5031 / Missing details in DbException: New definition of SYSTEM_SHOW_DEBUG_INFO: even after config.qfq.ini is parsed
Carsten  Rose's avatar
Carsten Rose committed
804
805
  and SIP Infos has been read - if there is no BE User logged in, the value stays on 'auto' (earlier it has been replaced
  to 'no'). Staying on 'auto' keeps the information that replacing is still open and not replaced means 'no'-BE User logged in.
Carsten  Rose's avatar
Carsten Rose committed
806
807
808
* #5016 / Loose checkbox value on save - Dirty workaround - better solution necessary.
* #5017 / STORE_RECORD used in FormElement and via '#!report' - save & restore STORE_RECORD.
* #5004 / FormElement with state 'ReadOnly' will be saved with empty value - existing values will be overwritten - fixed.
Carsten  Rose's avatar
Carsten Rose committed
809
* 'element-update' for type 'UPLOAD seems to make trouble. Exclude it like 'SELECT'.
Carsten  Rose's avatar
Carsten Rose committed
810
811


Carsten  Rose's avatar
Carsten Rose committed
812
813
814
815
816
817
818
819
820
821
822
Version 0.25.5
--------------

Date: 23.11.17

Bug Fixes
^^^^^^^^^

* #4771: Workaround which switches off updates to SELECT lists, if they are part of a Multi-FE-Row.


Carsten  Rose's avatar
Carsten Rose committed
823
824
825
Version 0.25.4
--------------

Carsten  Rose's avatar
Carsten Rose committed
826
Date: 22.11.2017
Carsten  Rose's avatar
Carsten Rose committed
827
828
829
830
831
832

Notes
^^^^^

* New keywords / features in report:

Carsten  Rose's avatar
Carsten Rose committed
833
  * `altsql`: Fire the query if there is no record selected in `sql`. Shown after `althead`.
Carsten  Rose's avatar
Carsten Rose committed
834
835
836
837
838
839
  * `shead`: Static head - will always be shown (before `head`), independent of sql selects records or not.
  * `stail`: Static tail - will always be shown (after `tail`), independent of sql selects records or not.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
840
* #2948 / altsql, shead, stail - new directives in Report.
Carsten  Rose's avatar
Carsten Rose committed
841
842
843
844
845
846
847
848
* #4255 / Attachments fuer 'Email'. Static files can be attached to mails.

Bug Fixes
^^^^^^^^^

* #4980 / Variables in Report: a) nested not replaced, b) 'rbeg' not replaced, c) missing unit tests.


Carsten  Rose's avatar
Carsten Rose committed
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
Version 0.25.3
--------------

Date: 19.11.2017

Notes
^^^^^

* Report:

  * Special column name 'sendmail': the old way of position dependent parameter are deprecated. Instead use the new
    defined token. See https://docs.typo3.org/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-053/Manual.html#column_sendmail

  * Every row is now merged in STORE_RECORD. Inner SQL statement can now retrieve outer values via STORE_RECORD.
    E.g. `{{column:R}}`. No more level keys!

* The config.qfq.ini directive `VAR_ADD_BY_SQL` is replaced by `FILL_STORE_SYSTEM_BY_SQL_?`. Up to 3 statements are possible.

Features
^^^^^^^^

* Report / sendmail: control via token.
* #4967 / config.qfq.ini: Rename 'VAR_ADD_BY_SQL' to 'FILL_STORE_SYSTEM_BY_SQL_1'. Handle up to 3 FILL_STORE_SYSTEM_SQL_x.
  Implement an optional error message together with a full stop.
Carsten  Rose's avatar
Carsten Rose committed
873
* #4766 / Set STORE_RECORD in Report per row.
Carsten  Rose's avatar
Carsten Rose committed
874
875
876
877
878
879
880
881
882
883
884

Bug Fixes
^^^^^^^^^

* #4966 / Variable {{feUser:T}} is not available in config.qfq.ini `FILL_STORE_SYSTEM_?` - changed ordering of store
  initialization. Now: TCY...
* #4944 / Delete: broken when using 'tableName' (instead of form).
* #4904 / Undefined Index: DIRTY_FE_USER - PHP problem that constants cant be replaced inside of single ticks. Fixed.
* #4965: insert path to QFQ cookie/session, to make usage of multiple QFQ installation on one host possible.


Carsten  Rose's avatar
Carsten Rose committed
885
886
887
Version 0.25.2
--------------

Carsten  Rose's avatar
Carsten Rose committed
888
Date: 8.11.2017
Carsten  Rose's avatar
Carsten Rose committed
889
890
891
892
893
894
895
896
897
898
899
900

Notes
^^^^^

* Starting with this release, the default escape mode is 'm' (mysql_real_escape).

Features
^^^^^^^^

* Default Escape Type changed from 's' to 'm'. DatabaseUpdateData.php: removed the DB update from last commit - not necessary.
  Config.php: New default 'm' Evaluate.php: Respect EscapeTypeDefault in form definition.
  QuickFormQuery.php: Replace 'EscapeTypeDefault' in form defintion very early.
Carsten  Rose's avatar
Carsten Rose committed
901
* #4049 / QFQ Variables '{{...}}' might now contain a default value.
Carsten  Rose's avatar
Carsten Rose committed
902
903
904
905
906
* If 'pageAlias:T' is empty, take 'pageId:T'.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
907
908
909
* #4836 / Multiple entries in table after several clicks on save. Created a saveInProgress Variable.
* Replaced latest project homepage URL in Manual.rst.
* Fix example SQL for periodId in config.qfq.ini in Manual.rst.
Carsten  Rose's avatar
Carsten Rose committed
910
911
* Remove multiple header 'RELEASE' - there has to be only one.

Carsten  Rose's avatar
Carsten Rose committed
912
913
914
Version 0.25.1
--------------

Carsten  Rose's avatar
Carsten Rose committed
915
Date: 3.11.2017
Carsten  Rose's avatar
Carsten Rose committed
916
917
918
919

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
920
921
* #4857 / broken (stale) download: multiple 'u:..' or 'u:...'.
* #4212 / Broken JSON on response to save new record 'Unknown index' fixed by isset().
Carsten  Rose's avatar
Carsten Rose committed
922

Carsten  Rose's avatar
Carsten Rose committed
923
924
925
926
927
928
929
930
931
932
933
Version 0.25.0
--------------

Date: 10.10.2017

Notes
^^^^^

* The config.qfq.ini directives DB_USER, DB_NAME, DB_HOST, DB_PASSWORD are replaced by DB_1_USER, DB_1_NAME, DB_1_HOST,
  DB_1_PASSWORD. The old directives are still used, as long as the new directives does not exist.

Carsten  Rose's avatar
Carsten Rose committed
934
* New config.qfq.ini directives: DB_INDEX_DATA, DB_INDEX_QFQ.
Carsten  Rose's avatar
Carsten Rose committed
935
936
937

Features
^^^^^^^^
Carsten  Rose's avatar
Carsten Rose committed
938
* #4720 / Separate database handles for QFQ 'form' and QFQ 'data' - 'Form' might  now load/save from forign database/host/user.
Carsten  Rose's avatar
Carsten Rose committed
939

Carsten  Rose's avatar
Carsten Rose committed
940
941
942
943
944
945
946
947
948
949
950
951
952
953

Version 0.24.0
--------------

Date: 09.10.2017

Notes
^^^^^

* Change Remove SYSTEM_SECURITY_ABSOLUTE_GET_MAX_LENGTH - makes no sense to hardcode an upper limit.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
954
* Feature Manual.rst: Doc updated for latest subrecord column special names.
Carsten  Rose's avatar
Carsten Rose committed
955
* Feature AbstractBuildForm.php: new function subrecordHead(). Replaced several hard coded subrecord column names against constants.
Carsten  Rose's avatar
Carsten Rose committed
956
957
958
959
* Feature #4456 / formModeGlobal=requiredOff - update Manual.rst.
* Feature #4606 / _link: qualifier to render bootstrap button - fix unit tests for tooltip. Add tooltip to button/text,
  even if there is no link. Implement token  'b:...' for link class. Manual is updated. Open: `pageX` should be recoded
  to use the new 'b:' instead of hardcoed behaviour to render a button.
Carsten  Rose's avatar
Carsten Rose committed
960
* Feature: Upload Button - wrapped with Bootstrap Button. New option 'fileButtonText' to specify a button text.
Carsten  Rose's avatar
Carsten Rose committed
961
962
963
* Feature #3752 / Pills auf mode|modeSql=hidden|readonly setzen - implemented during 'form load' (not dynamic update).
* Feature: Neu wird nach dem Speichern das Formular nochmal komplett geladen. Das ist wichtig um die durch aftersave
  geaenderten Records in die Formularelemente zu bekommen.
Carsten  Rose's avatar
Carsten Rose committed
964
965
966
967
968
* Feature #4511 / Form: URL Forward - mode dynamic computed - more generic implementation.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
969
* Bug #4731 / Dynamic Update: load(post) triggers 'check required' - makes no sense during filling a form - fixed.
Carsten  Rose's avatar
Carsten Rose committed
970
971
* Bug #4730 / InvalidDate-00-00-2000 FE.type=date - detection of empty date was broken for '00.00.0000'.
* Bug Fixed problem in subrecord when no record is selected.
Carsten  Rose's avatar
Carsten Rose committed
972
* Bug #4620 / Easy Fix: saveButtonText / closeButtonText Formatierung.
Carsten  Rose's avatar
Carsten Rose committed
973

Carsten  Rose's avatar
Carsten Rose committed
974
975
976
977
978
979
980
981
Version 0.23.1
--------------

Date: 23.9.2017

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
982
* #4620 / Easy Fix: saveButtonText / closeButtonText Formatierung.
Carsten  Rose's avatar
Carsten Rose committed
983
984


Carsten  Rose's avatar
Carsten Rose committed
985
986
987
988
989
990
991
992
Version 0.23.0
--------------

Date: 17.09.2017

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
993
* #3752 / Pills auf mode|modeSql=hidden|readonly setzen - implemented during 'form load' (not dynamic update).
Carsten  Rose's avatar
Carsten Rose committed
994
995
996
997

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
998
999
1000
1001
1002
* #4548 /Template Group: 'form-update' broken - Broken Redirect after Save - Broken same HTML ID for FE copies in a
  template group.
* #4548 /Template Group: 'form-update' broken - max tg element value/index shown after save instead of last user
  supplied value, but save is ok. Neu wird nach dem Speichern das Formular nochmal komplett geladen. Das ist wichtig um
  die durch aftersave geaenderten Records in die Formularelemente zu bekommen.
Carsten  Rose's avatar
Carsten Rose committed
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016

Version 0.22
------------

Date: 14.09.2017

Notes
^^^^^

* Form Editor: element 'forwardPage' is static again (no dynamic update) - see features in #4511.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1017
* #4511 / Form: URL Forward - mode dynamic computed.
Carsten  Rose's avatar
Carsten Rose committed
1018
1019
1020
1021
1022
1023

Bug Fixes
^^^^^^^^^

* #4512 | SIP URL does not respect anker token '#'- fixed PLUS: L and type _GET Params included in links which contain a SIP (regular links still open).
* #4508 / Form: during Save with FE with 'report'-Note/Values an exception is thrown - report does not expect, to be called without typo3 - but this is the case during save and generating the JSON.
Carsten  Rose's avatar
Carsten Rose committed
1024
* #4021 / "required" asterik does not handle multi column labels correctly.
Carsten  Rose's avatar
Carsten Rose committed
1025
* #4423 / Date inputs with readonly: label is grey.
Carsten  Rose's avatar
Carsten Rose committed
1026
* Empty date might create '2001-00-00'.
Carsten  Rose's avatar
Carsten Rose committed
1027
1028
* #4504 / Upload Button: required asterik missing after save - seems to be a problem for every element - should be fixed now.

Carsten  Rose's avatar
Carsten Rose committed
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
Version 0.21.0
--------------

Date: 10.09.2017

Notes
^^^^^

* The Form-Editor now has two 'requiredParamter' fields: one for 'New' record and one 'Edit'. Existing settings will be
  automatically copied to both.
* The FormElement-Editor field 'Note' is not anymore a TinyMCE Editor. Instead a regular 'textarea' is used. Main reason
  are incompatibilities between TinyMCE HTML mode and the neede CR/LF linebreaks needed for 'Report' Syntax in the 'note'
  column.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1046
* #4431 / FE.type=note: QFQ Report Syntax in 'FE.value' and 'FE.note'.
Carsten  Rose's avatar
Carsten Rose committed
1047
* #4456 / formModeGlobal=requiredOff - Switches FormElement.mode=required to 'show' for all FE of the current Form.
Carsten  Rose's avatar
Carsten Rose committed
1048
* #4356 / Form: required parameter - split between 'New' & 'Edit'.
Carsten  Rose's avatar
Carsten Rose committed
1049

Carsten  Rose's avatar
Carsten Rose committed
1050
1051
1052
1053
1054
1055
Version 0.20.0
--------------

Changes
^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1056
* New configuration value EXTRA_BUTTON_INFO_POSITION in config.qfq.ini.
Carsten  Rose's avatar
Carsten Rose committed
1057
1058
1059
1060

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1061
* #4386 Fuer GRC: Optional Info Button bei 'input' wie bei 'textarea' - EXTRA_BUTTON_INFO_POSITION=below.
Carsten  Rose's avatar
Carsten Rose committed
1062
* #4429 / subrecord: new FE parameter 'subrecordTableCass' - a custom class for the subrecord table might be specified.
Carsten  Rose's avatar
Carsten Rose committed
1063
1064
1065
* #4428 / subrecord: mode=readonly.
* #4421 / subrecord: column of the sql1 row should go into the edit link - implemented.
* #4399 / Do not render '_pdf' when r:5 or empty string.
Carsten  Rose's avatar
Carsten Rose committed
1066
1067
1068
1069
1070

Bug Fixes
^^^^^^^^^

* #4396 / FE: Justify DATE and TIME in case it's DATETIME on a non primary table.
Carsten  Rose's avatar
Carsten Rose committed
1071
1072
1073
1074
* #2414 / Deaktivieren von Option 'new' bei subrecord hat keine Folge.
* #4426 / Subrecord: mode=hidden - still shown.
* #4425 / Subrecords: Table head is not wrapped in <thead>.
* #4331 / SQL Statement 'REPLACE' not fired - Keyword missing in list of SQL Keywords.
Carsten  Rose's avatar
Carsten Rose committed
1075
1076


Carsten  Rose's avatar
Carsten Rose committed
1077
1078
1079
1080
1081
1082
Version 0.19.7
--------------

Changes
^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1083
* #4306 / Update Text Subrecord: Please save this record first.
Carsten  Rose's avatar
Carsten Rose committed
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093

Features
^^^^^^^^

Bug Fixes
^^^^^^^^^

* #4278 / Language: Check that language settings are respectet inside of container / pill / fieldset / templateGroup.
* #4310 / Fixed error where custom values wouldn't be saved, nor not found for non pedantic.
* #4311 / Record Lock: expired lock wird nicht geloescht bei form reload.
Carsten  Rose's avatar
Carsten Rose committed
1094
* #4309 / typeahead: allow free entry.
Carsten  Rose's avatar
Carsten Rose committed
1095

Carsten  Rose's avatar
Carsten Rose committed
1096
1097
1098
1099
1100
1101
Version 0.19.6
--------------

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1102
* #4299 / HTML Element 'Select': Placeholder.
Carsten  Rose's avatar
Carsten Rose committed
1103
1104
* Changes to the alert generation and added btn-group for multiple buttons.
* Should only show reload button and be modal when the conflict is mandatory.
Carsten  Rose's avatar
Carsten Rose committed
1105
1106
1107
* #4144 / Close/New: bei acquireLock=false anschliessend keine Nachfrage ob gespeichert werden soll.
* #4120 / Removed Timeout from Dirty Alert Message.
* #4283 / FE.parameter=emptyMeansNull.
Carsten  Rose's avatar
Carsten Rose committed
1108
1109
1110
1111
1112
1113

Bug Fixes
^^^^^^^^^

* #4281 Prevent save from being clicked multiple times. Save no turns orange when saving.

Carsten  Rose's avatar
Carsten Rose committed
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
Version 0.19.5
--------------

Features
^^^^^^^^

* #3790 / Multilanguage: German/ English/ ...

Bug Fixes
^^^^^^^^^
* #4274 / ItemList: escape ',' ':'


Carsten  Rose's avatar
Carsten Rose committed
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
Version 0.19.4
--------------

Features
^^^^^^^^

* Feature: Form Paste Records - skip columns during copy if they do not exist on the source side.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1138
* #4266 / FormElement Type=Editor: value not saved - fixed.
Carsten  Rose's avatar
Carsten Rose committed
1139
1140
* #4253 / Record Lock not deleted, when window closes without save.

Carsten  Rose's avatar
Carsten Rose committed
1141
1142
1143
1144
1145
1146
Version 0.19.3
--------------

Changes
^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1147
* Changing buttons for the dirty Events depending on status.
Carsten  Rose's avatar
Carsten Rose committed
1148
1149
1150
1151
1152
1153
1154
1155
1156

Bug Fixes
^^^^^^^^^

* #4257 / Dynamic update broken - after changing JSON data structure, update load.php has been missed.

Open
^^^^

Carsten  Rose's avatar
Carsten Rose committed
1157
* #4253 / Record Lock not deleted when window closes without save.
Carsten  Rose's avatar
Carsten Rose committed
1158

Carsten  Rose's avatar
Carsten Rose committed
1159
1160
1161
1162
1163
1164
Version 0.19.2
--------------

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1165
1166
1167
1168
* #4250 / autocron: sending mails.
* #4248 / FormElement: TypeAhead fuer den Spaltennamen - Implemented.
* #4144 / Close/New: bei acquireLock=false anschliessend keine Nachfrage ob gespeichert werden soll.
* #4120: Removed Timeout from Dirty Alert Message.
Carsten  Rose's avatar
Carsten Rose committed
1169

Carsten  Rose's avatar
Carsten Rose committed
1170
1171
1172
1173
1174
1175
Version 0.19.1
--------------

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1176
1177
1178
1179
1180
 * #4172 / record locking: Bob tries to delete a record and get 'status=error': Client should disable 'delete' button.
 * #4185 / Detect modified record.
 * #4143 / New alert removes old alert(s).
 * #4173 / Form: User open's a new tab and press close - alert to inform user that he has to close the tab.
 * #1930, #3980 /  Client: Bei Form Submit den Status 'submit_reason=save|save,close' mitsenden.
Carsten  Rose's avatar
Carsten Rose committed
1181
1182
1183
1184
1185
 * Implemented: New > Close (save) now closes correctly the current page. Addtional, #1930 has been solved implizit.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1186
 * Bug #4174 / record locking: error message if delete fails due to record locking.
Carsten  Rose's avatar
Carsten Rose committed
1187
1188
 * Bug: SQL 'CREATE' implemented as a valid command.

Carsten  Rose's avatar
Carsten Rose committed
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
Version 0.19.0
--------------

Changes
^^^^^^^

* bower.json: change bootstrap version number from micro to minor.
* Sip.php: Guarantee that uniqid() is unique at least for the current user.
* Makefile: change installation of phpDocumentor to --alldeps and remove 'phpdoc/'.

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1202
* #3881 / Variables: Ex 'keySemId', New 'periodId' (System Store).
Carsten  Rose's avatar
Carsten Rose committed
1203
* AbstractBuildForm.php: if a datetime / timestamp has the string 'CURRENT_TIMESTAMP' it will be replaced by the current date/time.
Carsten  Rose's avatar
Carsten Rose committed
1204
* Add new STORE_TYPO3 vars: pageAlias, pageTitle.
Carsten  Rose's avatar
Carsten Rose committed
1205
* Config.php: cleanup of checking GET variables.
Carsten  Rose's avatar
Carsten Rose committed
1206
1207
* #3981 / Record Locking.
* Manual.rst: add documentation for record locking.
Carsten  Rose's avatar
Carsten Rose committed
1208
* Manual.rst: more details about QFQ variables.
Carsten  Rose's avatar
Carsten Rose committed
1209
* plantuml: sequence diagrams for record locking.
Carsten  Rose's avatar
Carsten Rose committed
1210
1211
1212
1213
1214
1215

Bug Fixes
^^^^^^^^^

* Bug #4158 / Delete Button im Form fehlen die SIP Parameter.
* Bug #4159 / missing htmlspecialchar_decode() for FE.value supplied content.
Carsten  Rose's avatar
Carsten Rose committed
1216
1217
* Bug Makefile: fixed unwanted removing of whole 'doc' by 'maintainer-clean' - doc nowadays contains QFQ related
  manually created documentation.
Carsten  Rose's avatar
Carsten Rose committed
1218
1219
1220
1221
* Bug typeahead.php: An exception catched in typeahead.php has been assigned as array element, instead of a whole array. Fixed.



Carsten  Rose's avatar
Carsten Rose committed
1222

Carsten  Rose's avatar
Carsten Rose committed
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
Version 0.18.7
--------------

Changes
^^^^^^^

* Makefile: 'make bootstrap' udpates all JS Lib packages. Double npm install removed.

Features
^^^^^^^^

* #3947 / Attack detectect: logout current user (only QFQ, FE User still logged in).
* #3959 / Class _link: implement 'any' Bootstrap glyphicons. New token 'G:' for '_link'.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1240
* #3953 / Radio buttons: Auswahl nicht angezeigt, wenn per itemList definiert.
Carsten  Rose's avatar
Carsten Rose committed
1241
* #3982 / Filename Sanatize: remove spaces. Filename not properbly enclosed by double ticks.
Carsten  Rose's avatar
Carsten Rose committed
1242

Carsten  Rose's avatar
Carsten Rose committed
1243
1244
1245
1246
1247
1248
Version 0.18.6
--------------

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1249
* #3460 / Report: new column types '_striptags, '_htmlentities', '_+Tag'.
Carsten  Rose's avatar
Carsten Rose committed
1250

Carsten  Rose's avatar
Carsten Rose committed
1251
1252
1253
1254
1255
1256
Version 0.18.5
--------------

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1257
* QuickFormQuery.php: added function to check if there are copyForm paste records.
Carsten  Rose's avatar
Carsten Rose committed
1258
1259
1260
1261
1262
1263
* Manual.rst, formEditor.sql: add several links in Form 'FormEditor' to the online documentation. The FormEditor now
  contains links to the Online Documentation. Add missing explanations: Required Parameter, Forward.

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1264
* #3912 / templateGroup: max. 5 instances are saved.
Carsten  Rose's avatar
Carsten Rose committed
1265
* Manual.rst: Fixed missing '{{' and '%' in examples.
Carsten  Rose's avatar
Carsten Rose committed
1266
1267
* #3925 / templateGroup / non primary / delete records: only one at a time.
* Makefile: Artifactory builds fails at chromedriver - temporary remove npm install of chromedriver.
Carsten  Rose's avatar
Carsten Rose committed
1268

Carsten  Rose's avatar
Carsten Rose committed
1269
1270
1271
1272
1273
Version 0.18.4
--------------

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

Carsten  Rose's avatar
Carsten Rose committed
1275
* #3910 / 'submitButtonText' not shown.
Carsten  Rose's avatar
Carsten Rose committed
1276

Carsten  Rose's avatar
Carsten Rose committed
1277
Version 0.18.3b
Carsten  Rose's avatar
Carsten Rose committed
1278
---------------
Carsten  Rose's avatar
Carsten Rose committed
1279
1280
1281
1282

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1283
* #3906 / Mark required inputs with an asterik.
Carsten  Rose's avatar
Carsten Rose committed
1284
1285
1286
1287

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1288
* #3903 / Copy/Paste form: references inside a record are not updated at all.
Carsten  Rose's avatar
Carsten Rose committed
1289

Carsten  Rose's avatar
Carsten Rose committed
1290
Version 0.18.3a
Carsten  Rose's avatar
Carsten Rose committed
1291
---------------
Carsten  Rose's avatar
Carsten Rose committed
1292
1293
1294
1295

Changes
^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
* Copy / Paste form: take care that there is now Form.id=3. This is now the reserved formId for the 'copyForm'.

      UPDATE `FormElement` SET formId=100 WHERE formId=3
      UPDATE `Form` SET `id` = '100' WHERE `Form`.`id` = 3;

Bug Fixes
^^^^^^^^^

Version 0.18.3
--------------

Carsten  Rose's avatar
Carsten Rose committed
1307
1308
1309
1310
1311
1312
1313
Features
^^^^^^^^

* #3899 / Copy/Paste

  * DatabaseUpdate.php: New table Clipboard, New FE.type='paste', New Form.forwardMode='url-sip' - will be applied for 0.18.3.
  * Store.php: New member in STORE_CLIENT 'CLIENT_COOKIE_QFQ' - might be used to identify current user.
Carsten  Rose's avatar
Carsten Rose committed
1314
  * formEditor.sql: New form 'copyForm'. New table 'Clipboard'.
Carsten  Rose's avatar
Carsten Rose committed
1315
1316
1317
1318
1319
1320
1321
1322


Version 0.18.2
--------------

Changes
^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1323
1324
* #3891 / Dynamic Update: Multiple Elements in a row - single show/hide - First implementation: Show / Hide via
  dynamicUpdate for a second element, wrapped in an own 'col-md' div.
Carsten  Rose's avatar
Carsten Rose committed
1325
1326
1327
1328

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1329
1330
* #3875 / FormElement 'extra': Fehler bei neuen Records.
* #3647 / Dynamic Update: Multiple Elements in a row not updated properly.
Carsten  Rose's avatar
Carsten Rose committed
1331
* #3890 / upload-FormElement: mode 'hide' without effect.
Carsten  Rose's avatar
Carsten Rose committed
1332
* #3876 / upload-FormElement: verschwindet bei dynamicUpdate.
Carsten  Rose's avatar
Carsten Rose committed
1333
1334
1335
1336
1337
1338

Version 0.18.1
--------------

* Update unit tests

Carsten  Rose's avatar
Carsten Rose committed
1339
Version 0.18.0
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
--------------

Changes
^^^^^^^
*  New defaults to FormElement.type=`file` (=Upload).

  * `access` = `application/pdf`
  * `maxFileSize` = `10485760` (10MB)

Features
^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1352
* Make the image shown for ExtraButtonInfo configureable. Manual.rst: added documentation for new config.qfq.ini
1353
  variables GFX_EXTRA_BUTTON_INFO_INLINE, GFX_EXTRA_BUTTON_INFO_BELOW.
Carsten  Rose's avatar
Carsten Rose committed
1354
* Manual.rst: description added for `extraButtonLock` ,`extraButtonPassword`, `extraButtonInfo`. Example on how to reuse
1355
1356
1357
  custom vars defined in `config.qfq.ini`. Add three more examples to _pdf. How to access local online documentation.
  Add note about wkhtml only on linux boxes. More wkhtml explanations.
* #3773 / Button: Info / Unlock / ShowPassword: FE_PARAMETER: extraButtonLock / extraButtonPassword / extraButtopnInfo.
Carsten  Rose's avatar
Carsten Rose committed
1358
* #3769 / Allow specific GET variables longer than SECURITY_GET_MAX_LENGTH. config.php: implemented special handling of
1359
1360
  GET vars, named with '..._<num>'.
* #3766 / SQL_LOG per tt_content record einstellbar machen. Add `sqlLog` and `sqlLogMode` to QFQ tt-content records.
Carsten  Rose's avatar
Carsten Rose committed
1361
  Add mode 'error' and `none` to sqlLogMode. Manual.rst: Added explanations for SQL_LOG, SQL_LOG_MODE, and tt-content
1362
  pendants sqlLog, sqlLogMode. Update config.qfq.ini to latest attributes.
Carsten  Rose's avatar
Carsten Rose committed
1363
1364
* Config.php: Set defaults for config.qfq.ini SQL_LOG and SQL_LOG_MODE.
* config.qfq.example.ini: Remove DB_NAME_TEST, Add some details about SQL_LOG, add example for TECHNICAL_CONTACT.
1365
1366
* Session.php: Activate cookie_httponly for QFQ cookies.
* Html2Pdf.php:  recode setting of $this->logFile.
Carsten  Rose's avatar
Carsten Rose committed
1367
* config.qfq.ini: new syntax for SHOW_DEBUG_INFO - [yes,no,auto][,download].
1368
1369
1370
* #3711 / Upload Button opens the camera on a smartphone. New attribute 'capture'.
* Database.php: Add SQL keyword 'DROP'.
* #3706 / Check File Upload: a) mime type, b) max file size. Implemented: file upload check for mime type and max file size.
Carsten  Rose's avatar
Carsten Rose committed
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
* New 'pageForward'-Mode: 'url-skip-history'.
* FormEditor:

  * Most radio FEs changed from HTML standard to Bootstrap Design.
  * FE 'feIdContainer' will only be shown if there is at least one FE container element.
  * Use dynamicUpdate to hide/show FE 'forwardPage'.
  * FE 'subrecordOption' shown only for FE.type==subrecord.
  * FE 'checkPattern' shown only for FE.checkType=='pattern|min%'.
  * In form 'FormElement' the FE 'formId' removed - not necessary.

* #3568 / Form: fuer alle Buttons (save, close, new, delete) eine optionale class & text konfigurierbar.
* #3569 / Input Optional '0' unterdruecken.
Carsten  Rose's avatar
Carsten Rose committed
1383
* #3863 / New config var 'DB_UPDATE' in config.qfq.ini.
1384
1385
1386
1387

Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1388
* #3770 / Attack Delay: merge processing to one codeplace. Config.php: new function attackDetectedExitNow(). Sip.php:
1389
  replace local sleep(PENALTY_TIME_BROKEN_SIP) with central function attackDetectedExitNow().
Carsten  Rose's avatar
Carsten Rose committed
1390
* #3768 / log to sql.log: ip, formname, feuser.
Carsten  Rose's avatar
Carsten Rose committed
1391
* Store.php: Fix problem that an empty SQL_LOG will be added to SYSTEM_PATH_EXT. Logger.php: do nothing if there is no
1392
  file defined.
Carsten  Rose's avatar
Carsten Rose committed
1393
* #3751 / download FE_GROUP protected pages failed. Implement additional 'SHOW_DEBUG_INFO = download' to track down
1394
1395
  problems with 'session forwarding'.
* Allow spaces in value when selection <radio> and <select> tags.
Carsten  Rose's avatar
Carsten Rose committed
1396
* #3812 / extraButtonInfo (extraButtonLock, extraButtonPassword) - Problems in TemplateGroups.
Carsten  Rose's avatar
Carsten Rose committed
1397
* #3832 / Dynamic Update und Radio buttons - leerer value ( '' ) kann nicht angewählt werden.
Carsten  Rose's avatar
Carsten Rose committed
1398
1399
1400
1401
1402
* #3612 / Konflikt typeAheadLdap mit dynamic modesql: inputs with typeahead lacks 'dynamicUpdate' via 'modeSql'.
* #3853 / New > Save: Reload des Forms mit neuer SIP und neu erstellter recordId.
* #3854 / Wrong final page: a) New > Save > Close, b) New > Save > Delete, c) New > New
  formEditor.sql: update table 'Form.forwardMode' to ('client', 'no', 'url', 'url-skip-history').
* #2337 / Checkbox: checked/unchecked parameters genügen nicht.
Carsten  Rose's avatar
Carsten Rose committed
1403
1404
* #2542 / FormElement-Typ 'note' funktioniert nicht mit dynamic update.
* #3863 / DB Update Fails: Expected no record, got 2 rows: SHOW TABLE STATUS WHERE Name='Form'.
1405

Carsten  Rose's avatar
Carsten Rose committed
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
Version 0.17.0
--------------

Changes
^^^^^^^

* ALTER TABLE  `FormElement` ADD  `encode` ENUM(  'none',  'specialchar' ) NOT NULL DEFAULT  'specialchar' AFTER  `subrecordOption` ;
* UPDATE `FormElement` SET encode='none' WHERE class='native' AND type='editor'

* ALTER TABLE  `Form` ADD  `escapeTypeDefault` ENUM(  '',  's',  'd',  'l',  'L',  'm',  '-' ) NOT NULL DEFAULT  '' AFTER  `permitEdit` ;
1416

Carsten  Rose's avatar
Carsten Rose committed
1417
* In order to not break functionality of existing forms, it might be necessary (bad for security, good for stability) to
1418
  leave existing forms untouched: `UPDATE Form SET escapeTypeDefault='-'`
Carsten  Rose's avatar
Carsten Rose committed
1419
1420
1421
1422
1423
1424
1425
1426
1427

* Play formEditor.sql

Features
^^^^^^^^

* New security option `escapeTypeDefault`: will be defined 1) sytem wide in config.qfq.ini, or 2) more specific per
  Form or 3) individually per variable. The later has priority.
* #3544 / Form: view current form - It's now possible to direct view a form, which is currently loaded/edited in the
Carsten  Rose's avatar
Carsten Rose committed
1428
  FormEditor: Button 'eye' near left of button 'save'.
Carsten  Rose's avatar
Carsten Rose committed
1429
1430
1431
1432
1433
1434
1435
1436
1437
* #3552 / typeAheadLdapSearchPerToken - webpass kann nicht gleichzeitig nach Vornamen und Nachnamen suchen. Added option
  typeAheadLdapSearchPerToken to split search value in token and OR-combine every search with the individual tokens.
* Download latest QFQ builds and releases: https://w3.math.uzh.ch/qfq/.
* #3218, #3600 / download.php / export: QFQ is now able to create PDFs and ZIPs on the fly. The sources might be
  uploaded PDFs or Websites (local or remote) which will be converted to PDFs.
* Implement 'encode=specialchar' - new option per FormElement which is now the default for every FormElement.
* Sanatize.php: New function urlDecodeArr(). Decode all _GET vars.
* Implemented max GET parameter lenght. Default: 50.
* Implemented new escape class 'mysql' (realEscapeString).
Carsten  Rose's avatar
Carsten Rose committed
1438
* LICENSE.txt: Add GPLv3.
Carsten  Rose's avatar
Carsten Rose committed
1439
1440
1441
1442
* Html2Pdf.php: Add SIP support wkhtmltopdf URLs. Move cookies for wkhtmltopdf from commandline arguments to filebased.
* SessionCookie.php: New class to save current cookies in a file.
* Html2Pdf.php: implemented session forwarding to wkhtmltopdf.
* Session.php: introduced close(). This will unlock the current session. Take care on subsequent calls to reopen primary session again.
Carsten  Rose's avatar
Carsten Rose committed
1443
* Database.php: Set charset to real_escape_string() functions properly. Proxy for mysqli::real_escape_string().
Carsten  Rose's avatar
Carsten Rose committed
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
* Implement honeypot variables to detect bots.
* HTML special char encode all URL GET parameter. This can't be skipped.

Bug Fixes
^^^^^^^^^

* Sip.php: Parameter XDEBUG_SESSUIB_START excluded from GET parameter copied to SIP.
* Manual.rst: add libxrender1 to install by using wkhtmltopdf.
* Download.php: Skip 'pdftk' if there is only one PDF file to concatenate.
* #3615 / download.php: Das Popup schliesst nicht automatisch bei ZIP, im FF, Warnung in der Console, hourglass wobbles.
Carsten  Rose's avatar
Carsten Rose committed
1454
1455
* Split PHP 'print.php' in a pure API file 'print.php' and a class 'Html2Pdf.php' - the class will be reused by Download.php.
* #3573 / TypeaheadLdap: Prefetch funktioniert nicht.
Carsten  Rose's avatar
Carsten Rose committed
1456
1457
* #3547 / FE of type 'note' causes writing of empty fields.
* #3546 / Throw of a UserFormException with wrong parameter. Fixed.
Carsten  Rose's avatar
Carsten Rose committed
1458
* #3545 / Errormessages via API/JSON not displayed.
Carsten  Rose's avatar
Carsten Rose committed
1459
* #3536 / a) Datum (datetime / timestamp) werden nicht angezeigt, b) Angezeigte Datumsformat String und aktzeptierte Eingabe matchen nicht.
Carsten  Rose's avatar
Carsten Rose committed
1460
* #3533 / afterSave: sqlUpdate auf child-record ändert xId von Hauptrecord auf 0.
Carsten  Rose's avatar
Carsten Rose committed
1461

Carsten  Rose's avatar
Carsten Rose committed
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
Version 0.16
------------

Changes
^^^^^^^

* Play:

    ALTER TABLE `FormElement` ADD INDEX `feIdContainer` (`feIdContainer`);
    ALTER TABLE `FormElement` ADD INDEX `ord` (`ord`);
    ALTER TABLE `FormElement` ADD INDEX `feGroup` (`feGroup`);

    ALTER TABLE `FormElement` ADD `adminNote` TEXT NOT NULL AFTER `note`;

* Play formEditor.sql

Features
^^^^^^^^

* formEditor.sql:

  * Added 'on update current timestamp'.
  * Add three indexes to formEditor.sql.
  * Column FormElement.adminNote added.
Carsten  Rose's avatar
Carsten Rose committed
1486
  * Change default width on Form for subrecord FormElement.name.
Carsten  Rose's avatar
Carsten Rose committed
1487
1488
  * Changed input height of 'parameter of FormEditor and FormElementEditor to 8 lines.

Carsten  Rose's avatar
Carsten Rose committed
1489
1490
* Enlarge placeholder value in FormElement. Old 512, New 2048..
* #3466 / Input Typeahead: optional only allow specified input. Mode: typeAheadPedantic.
Carsten  Rose's avatar
Carsten Rose committed
1491
1492
1493
* #3465 / Save button: optional 'active after form load': `Form.parameter.saveButtonActive` - if this attribute is set,
  the save button will be enabled directly on form load.
* #3463 / form.mode=readonly. Make a form complete `readonly`. This can be done statically or dynamically via variable (e.g. SIP).
Carsten  Rose's avatar
Carsten Rose committed
1494
* #3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im Formulareditor bearbeiten kann. Add checkbox left.
Carsten  Rose's avatar
Carsten Rose committed
1495
1496
1497
  to the 'EditForm'-Button, to toogle the 'FormElemnt'-Icons. Like the  'Form Edit'-Pencil, the 'FormElement Checkbox'
  is only displayed if the user is logged in BE.
* #3456 / LDAP: with Credentials (e.g. to access 'webpass'). Updated doc for a) config.qfq.ini: LDAP_1_RDN, LDAP_1_PASSWORD,
Carsten  Rose's avatar
Carsten Rose committed
1498
  b) Form.parameter|FormElement.parameter: ldapUseBindCredentials.
Carsten  Rose's avatar
Carsten Rose committed
1499
1500

  * ErrorHandler.php: removed details - the end user should not too many details.
Carsten  Rose's avatar
Carsten Rose committed
1501
1502
1503
  * FormAction.php, Ldap.php, QuickFormQuery.php: implement 'ldapUseBindCredentials'.
  * Ldap.php: set_error_handler() to catch ldap_bind() problems. Always set LDAP_OPT_PROTOCOL_VERSION=3 - this might
    cause problems with som LDAP Servers - we will see.
Carsten  Rose's avatar
Carsten Rose committed
1504
1505
1506
1507
1508


Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1509
* 3509 / SELECT Element: value wird nicht selektiert.
Carsten  Rose's avatar
Carsten Rose committed
1510
* 3502 / TemplateGroups: Checkboxen werden beim ersten Speichern (insert) nicht geschrieben - ein anschliessendes Update
Carsten  Rose's avatar
Carsten Rose committed
1511
1512
  ist ok.
* 3385 / templateGroup: insert/update/delete non primary records.
Carsten  Rose's avatar
Carsten Rose committed
1513
1514
1515

  * Non primary record leads to a problem that the default values, given as an array, are not replaced by scalar values. fixed.
  * Update doc how to insert/update/delete non primary templateGroup records.
Carsten  Rose's avatar
Carsten Rose committed
1516
1517
1518
1519
  * Removed $templateGroupIndex - solved implicit by defining a LIMIT on 'slaveId' . Implemented '%D' (one below %d).
    Implemented FE_SQL_HONOR_FORM_ELEMENTS - reduces unecassary SQL queries.
  * Fill STORE_RECORD during Formload - to read templateGroup records very early. Local copy of `getNativeFormElements()`,
    new `explodeTemplateGroupElements()`
Carsten  Rose's avatar
Carsten Rose committed
1520
1521
1522

* TypeAhead.js: Handle <ENTER> key properly.
* #3462 / FormElement.parameter: requiredList not ok for non numeric content. STORE_FORM had been called without 'sanatize class'.
Carsten  Rose's avatar
Carsten Rose committed
1523
  Therefore, all non numeric values has been sanatized by default. New: SANATIZE_ALLOW_ALL.
Carsten  Rose's avatar
Carsten Rose committed
1524
1525
1526
* Corrected error message to use 'itemList' instead of 'itemValues'. Renamed constant too.
* #2542 / FormElement-Typ 'note' funktioniert nicht mit dynamic update. 'Label' and 'note' are fixed - 'value' is still not updated, open.

Carsten  Rose's avatar
Carsten Rose committed
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
Version 0.15
------------

Changes
^^^^^^^

 * Play formEditor.sql.

   * Form 'FormElement' failed to display the formtitle of the current form in case of a new FE.
   * Updated subrecord in 'Form' for 'FormElements' - columns 'size' and 'sql1' removed and 'dyn' inserted. Play formEditor.sql.

   *  #3431, Parameter keyword 'typeAheadLdapKeyPrintf' changed to 'typeAheadLdapIdPrintf'.::

Carsten  Rose's avatar
Carsten Rose committed
1540
1541
1542
1543
1544
        UPDATE FormElement SET parameter = REPLACE(parameter, 'typeAheadLdapKeyPrintf', 'typeAheadLdapIdPrintf')

   * Size 'placeholder' increased::

        ALTER TABLE  `FormElement` CHANGE  `placeholder`  `placeholder` VARCHAR( 2048 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT  '';
Carsten  Rose's avatar
Carsten Rose committed
1545
1546
1547
1548
1549
1550
1551
1552

Features
^^^^^^^^

 * Introduce new config.qfq.ini setting 'EDIT_FORM_PAGE' - by default set to 'form' - the wrench symbol on every Form
   will direct to that page. Fix #3420 / Quicklink 'editform' on form: directs to the current T3 page which might be insufficient.
 * Form 'subrecord' columns: the default width limit of 20 chars are disabled if 'nostrip' is specifed.
 * #3431 / typeAheadSql: columnname 'key' is a reserverd SQL statement - replace by 'id'. Additional the parametername
Carsten  Rose's avatar
Carsten Rose committed
1553
1554
   'typeAheadLdapKeyPrintf' renamed to 'typeAheadLdapIdPrintf'. By using 'id' instead of 'key' the quoting of the columnname
   is not necessary anoymore.
Carsten  Rose's avatar
Carsten Rose committed
1555
1556
1557
1558
1559
1560



Bug Fixes
^^^^^^^^^

Carsten  Rose's avatar
Carsten Rose committed
1561
 * #3419 / typeAheadSql: Array with only one column or non standard columnnames are not handeld properbly.
Carsten  Rose's avatar
Carsten Rose committed
1562
1563
   Detection of missing LIMIT implemented.
 * #3425 / Form.parameter, FormElement.parameter: comment handling, trailing & leading spaces
Carsten  Rose's avatar
Carsten Rose committed
1564
1565
   Manual.rst: commented handling of 'comment character' and 'escaping of leading/trailing spaces'
   Support.php: new funtion handleEscapeSpaceComment().
Carsten  Rose's avatar
Carsten Rose committed
1566
1567
1568
 * Evaluate.php: parse all F|FE.parameter via handleEscapeSpaceComment(). A leading '#' or ' ' might be escaped by '\'.
 * Saving 'extra' FE in STORE_SIP has been done with inappropiate FE_NAME. Correct is the pure FE_NAME, without any
   extension like recordId. Unessary and broken decoding removed.
Carsten  Rose's avatar
Carsten Rose committed
1569
 * #3426 / Dynamic Update: Inputs loose the new content and shows the old value.
Carsten  Rose's avatar
Carsten Rose committed
1570
 * Through fix #2064 the FE.checkType has not been used anymore. This is fixed now.
Carsten  Rose's avatar
Carsten Rose committed
1571
 * #3433 / templateGroup on primary Record: Values of removed copies are not deleted. The new implementation creates empty
Carsten  Rose's avatar
Carsten Rose committed
1572
1573
1574
1575
   fake instances of all copies of templateGroup FormElements. Those are empty. Before save, the submitted form values
   will be expanded with the empty fake templateGroup FormElements and such empty values will be saved.


Carsten  Rose's avatar
Carsten Rose committed
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
Version 0.14
------------

Changes
^^^^^^^

 * Play formEditor.sql.

   * All Form & FormEditor input elements now have a maxlength definition of 0, which means take the column definition value.
   * Drop-down list of container assignment:

     * Display 'type' ('pill', 'fieldset', 'templategroup') instead of 'class' (always 'container').
Carsten  Rose's avatar
Carsten Rose committed
1588
1589
     * Display 'name' (internal name) instead of 'label' (shown on the website and might not so usefull as 'name' which
       is nowhere else used than in that drop-down.
Carsten  Rose's avatar
Carsten Rose committed
1590
1591
1592

   * FormElement.placeholder colum width extended to 512:

Carsten  Rose's avatar
Carsten Rose committed
1593
     ALTER TABLE `FormElement` CHANGE `placeholder` `placeholder` VARCHAR(512) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ''
Carsten  Rose's avatar
Carsten Rose committed
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605

 * New class Ldap.php.

Features
^^^^^^^^

 * Typeahead for SQL and LDAP Datasources implemented.
 * formEditor.sql: Changed width of column FormElement.placeholder from 255 to 512. Removed hardcoded 'size' in FormElement 'placeholder'.
 * Character Count: Display a `counter` on input or textarea fields, activated by specifying the formElement.parameter 'characterCountWrap'.
 * Evaluate.php: Two new escape options 'l' and 'L'. Backport of ldap_escape() for PHP <5.6. Multiple escaping for one value now possible.
 * Manual.rst: add some example for TypeAhead and for saving LDAP value.
 * Load foreign values in templatGroups - saving is not implemented yet.
Carsten  Rose's avatar
Carsten Rose committed
1606
 * Manual: Added howto prevent <p>-wrap in TinyMCE.
Carsten  Rose's avatar
Carsten Rose committed
1607
 * TemplateGroup: Add button now disabled if max. number of copies reached.
Carsten  Rose's avatar
Carsten Rose committed
1608
 * #3414 / QuickFormQuery.php: wrap whole form in 'col-md-XX' - User controls the width of an QFQ form.
Carsten  Rose's avatar
Carsten Rose committed
1609
1610
1611
1612
1613

Bug Fixes
^^^^^^^^^

 * Dynamic Update has been broken since implementing of 'element-update' (#3180). Now both methods, 'element-update' and 'form-update' should be fine.
1614
 * qfq-bs.css.less: Fixed problem with 'typeahead input elements' not expanded to Bootstrap column width. Changed
Carsten  Rose's avatar
Carsten Rose committed
1615
   Layout/Design Typeahead drop-down box. Add hoover for the drop-down box with a blue background.
Carsten  Rose's avatar
Carsten Rose committed
1616
1617
1618
1619
1620
1621
 * AbstractBuildForm.php: #3374 - textarea elements now contains 'maxlength' attribute.
 * BuildFormBootstrap.php: wrapping of optional 'submitButtonText' now done with the 'per form' values.
 * typeahead.php: if there is an exception, the message body is sent as regular 'content' for the drop-down box. At the
   moment this is the only way to transmit any error messages.
 * formEditor.sql: removed all 'maxLength' string values for 'Form' and 'FormElement' forms.
 * Save button becomes active if a templateGroup copy is removed.
Carsten  Rose's avatar
Carsten Rose committed
1622
 * #3413 / Form ohne Pill hat kein padding am Rand. Fix: if there are no pills, an additinal col-md-12 will be rendered.
Carsten  Rose's avatar
Carsten Rose committed
1623
1624


1625
Version 0.13
1626
------------
1627
1628

Changes
1629
^^^^^^^
1630

1631
1632
1633
1634
1635
 * Play formEditor.sql.
 * formEditor.sql:

   * Checktype of `Form.name` restricted to `alnumx` (prior `all`).
   * Changed `access` for Form `form` & '`ormElement` from `always` to `sip`.
1636

Carsten  Rose's avatar
Carsten Rose committed
1637
 * Table `FormElement`:
1638

Carsten  Rose's avatar
Carsten Rose committed
1639
   * Modified column: `checkType` - new value `numerical`.
1640
1641
1642
1643

     ALTER TABLE FormElement MODIFY COLUMN checkType ENUM('alnumx','digit','numerical','email','min|max','min|max date',
       'pattern','allbut','all') NOT NULL DEFAULT 'alnumx'

1644
 * Example Report for `forms` extended by a delete button per row.
1645

1646
Features
1647
^^^^^^^^
1648

1649
 * print.php: offers 'print page' for any local page - create a PDF on the fly (printout is then browser independent).
Carsten  Rose's avatar