Releases: scherersoftware/cake-cktools
Fix edge case setting the month one forward
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
Remove Moxiemanager leftovers
Removed Moxiemanager code, a file management plugin for the TinyMCE Editor, for licensing reasons.
The TinyMCE editor SHOULD work now, but we give no warranty that it does out of the box, as is reflected in missing instructions for this WYSIWYG editor in our README.
Fix strict MIME checking
Fix non executable response with strict MIME checking in Chrome
Fix deprecated function calls
Many mixed CakePHP functions (getter and setter in one) which are marked as deprecated were replaced by their respective explicit getters and setters to ease the migration to CakePHP 4 in the future.
Improve jQuery UI Sortable
Add a fix to keep the width of a sorted item to it's full width during sorting.
Also change the selector to support multiple <tbody> elements.
v2.0.0
Fix controller inflection in JS SortableComponent
v1.3.3
When the name of thecontroller with the sortable list consisted of more than two words, the pseudo inflector in the SortableComponent only changed the first underscore to a dash, resulting in a request to example FooBar_baz which could not be resolved to the originally meant FooBarBazController.
v2.0.0-rc1: Cleanup CkTools
- Remove Api, System Contents and moxiemanager - Add travis - Add strict types - Add PasswordHasher shell
v2.0.0-rc2: Cleanup CkTools
- Fix type hint
- cleanup
Improve SecurityComponent
This release is all about headers.
We added the possibility to configure the CSP headers by array and a small chapter about the component to the README, which now has nicely styled headers too.