Skip to content

Releases: scherersoftware/cake-cktools

v3.1.0

19 Jun 09:26

Choose a tag to compare

Updated some third party dependencies

Stable Upgrade to CakePHP 3.6

16 Apr 09:14

Choose a tag to compare

  • No major changes besides compatibility to CakePHP 3.6
  • See previous pre-release notes
  • additionally fixed PdfGenerator where with some targets configured, an exception was wrongly thrown

Add missing translation

16 Jan 12:10

Choose a tag to compare

Pre-release

Add missing translation

Remove Cake 3.7 function, update datepicker 3rd party lib

16 Jan 11:34

Choose a tag to compare

  • refrain from using function \Cake\View\View::getRequest(), as it is only introduced in CakePHP 3.7
  • update datepicker library while maintaining IE8 compatibility.

Attention: If you want to ensure IE8 compatibility, you have to use bootstrap-datetimepicker.js and NOT bootstrap-datetimepicker.min.js, as only in the non minified version, we replaced the usage of JS trim with jQuery trim (IE support of JS trim starts with IE9)

CakePHP 3.6 support

12 Dec 17:02
8d3aac6

Choose a tag to compare

CakePHP 3.6 support Pre-release
Pre-release
v3.0.0-rc1

New major version for CakePHP 3.6 support (#17)

Fix handling of emptied date input

11 Dec 13:42

Choose a tag to compare

Proper clearing of the hidden inputs from v2.2.5 was enhanced to not only rely on the blur event.

Now it works on every input to the date input and clears the relevant inputs if the new value of the datepicker input is empty

Fix special character policy in StrictPasswordBehavior

10 Dec 17:19

Choose a tag to compare

  • Check presence of special characters when activated
  • added tests for StrictPasswordBehavior

Empty DatePicker selects completely

10 Dec 09:39

Choose a tag to compare

When emptying a date input field, the values of the hidden selects additionally get set to empty instead of only removing the selected attribute from whatever option was selected.

Update moved dependency

14 Nov 17:56

Choose a tag to compare

  • Added dependency for AuthHelper being moved to "codekanzlei/cake-auth-actions"
  • fix code style according to our new standard
  • fix bug when using CkToolsHelper::formButtons() with the useReferer Option

Fix edge case setting the month one forward

13 Nov 14:25

Choose a tag to compare

This release fixes a critical bug where, if the current day is not present in the month you have set into the inputs programmatically, the whole date shown in the date input picker is moved one month ahead.

For example, you are rendering a date input in an edit form where the date should be prefilled with 5th of November but the current date is the 31st of October, the date input would have shown the 5th of December.

This is due to the used JS method Date.setMonth, where if the second argument is not set, it will use the day of month of the current date and if this day is not present in the set month, the month of the resulting date will be one after the value given to the setMonth function. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMonth#Description