cakephp-tools

A CakePHP Tools plugin containing lots of useful helpers, behaviors, components, shells, ...

MIT License

Downloads
688.9K
Stars
337
Committers
22
cakephp-tools - 1.5.1

Published by dereuromark almost 7 years ago

Bugfixes

  • ContactForm validation fix for body (schema was already using that field)
  • Don't display disabled elements in Paginator element

Improvements

  • autoPrefix for SVG font icons using FormatHelper::icon()
cakephp-tools - 1.5.0

Published by dereuromark almost 7 years ago

Improvements

  • Bitmasks now fully work in 3.x, the default callback was changed to beforeMarshal to allow validation to have the already transformed value, as well as marshalling not converting the array to invalid values.

  • ErrorHandlerMiddleware now only logs 404s to 404.log (instead of error.log) if those are not internally caused.

  • TypographicBehavior has been migrated from 2.x to 3.x

cakephp-tools - 1.4.6

Published by dereuromark almost 7 years ago

Bugfixes

Added MissingViewException to blacklist to get into 404 log instead of main error one.

cakephp-tools - 0.12.3

Published by dereuromark almost 7 years ago

Bugfixes

FlashComponent fix to account also for stacked messages (latest 2.x core changes)

cakephp-tools - 1.4.5

Published by dereuromark about 7 years ago

Small security fix to always hash a password (even if empty).
This can help to mitigate timing-based user enumeration attacks.
Follows https://github.com/cakephp/cakephp/pull/11095

cakephp-tools - 1.4.4

Published by dereuromark about 7 years ago

Bugfixes

Adjust behavior callbacks.

cakephp-tools - 0.12.2

Published by dereuromark over 7 years ago

  • Adjust version constraint.
  • Improve InlineCssLib
  • Remove calender stuff
cakephp-tools - 1.4.3

Published by dereuromark over 7 years ago

Improvements

  • The Language parsing has been further improved.
  • InvalidPrimaryKeyException has been added to 404 log list.
cakephp-tools - 1.4.2

Published by dereuromark over 7 years ago

Improvements

The Language parsing has been improved.

cakephp-tools - 1.4.1

Published by dereuromark over 7 years ago

Bugfixes

Fix TimelineHelper.

Additions

Add MultiColumnAuthenticate for log-in with email or username.

cakephp-tools - 1.4.0

Published by dereuromark over 7 years ago

Improvements

Add ToggleBehavior.

cakephp-tools - 1.3.3

Published by dereuromark over 7 years ago

  • Corrected list of 404 exceptions to go to 404 log.
cakephp-tools - 1.3.2

Published by dereuromark over 7 years ago

  • Fixed trimDeep() to not cast null to string, this is important for CommonBehavior data trimming
  • Fixed behavior callback signatures for 3.4+
  • Moved stripProtocol() from TextHelper to Utility
cakephp-tools - 3.x: Passwordable fix for current pwd

Published by dereuromark over 7 years ago

If on an edit form the password is optional, the current pwd becomes required, though, as soon as the password is not empty.
The validation rule is now adjusted to behave correctly.

cakephp-tools - CakePHP 3.4 compatibility

Published by dereuromark over 7 years ago

A few small regressions are happening due to changes between CakePHP 3.3 and 3.4:

  • Passwordable behavior fieldList = fields

Those are fixed and this new minor is now forcing PHP 5.6 and CakePHP 3.4+ for that reason.
Please upgrade your code to CakePHP 3.4.

PHP 7.1 is now also officially tested.

A small addition to the ToolsTestTrait now allows calling protected methods, just in case you need to test those methods as unit tests.

cakephp-tools - 3.x QrCodeHelper fixes

Published by dereuromark over 7 years ago

Small fixes to make the helper work again in 3.x - also added tests.

Also adjusted the Email class to CakePHP 3.4 compatibility.

cakephp-tools - 3.x Complete ErrorHandler

Published by dereuromark almost 8 years ago

Include all 404 exception types for the own error log type.

cakephp-tools - Improvements

Published by dereuromark almost 8 years ago

Improvements

UrlComponent for handling URLs in the controller scope:

  • buildReset() and buildComplete()
  • resetArray() and completeArray()
  • defaults()

just as for the UrlHelper which now has

  • buildReset() and buildComplete()
  • resetArray() and completeArray()
  • defaults()

"reset" always resets plugin and prefix automatically, this is very useful when working with navigation pieces that will always appear, even in plugin context and therefore must be reset here.
"complete" will always keep all URL pieces including the query string. This is useful when passing around filters and alike and don't want to lose them inside a certain scope.

Removals

Some things have been removed as they can now be found in their own plugin:

  • Flash component and helper are now in an own Flash plugin
  • AuthUser component and helper are now integrated in TinyAuth
  • JsHelper and CookieHelper are now in Shim
  • YearType is now in Shim

Also:

  • Deprecated Utility methods have been removed.

Deprecations

TreeHelper is now deprecated, use this stand-alone repo.

cakephp-tools - 2.x Bugfixes

Published by dereuromark almost 8 years ago

  • ResetBehavior: do not update modified if not desired
  • Version checks fixed for 2.10.x to be greater than 2.3.x etc
  • Emogrifier improvements
cakephp-tools - 3.x Allow Passwordable to update field list

Published by dereuromark almost 8 years ago

Passwordable behavior can now auto-update field list for its needed fields.
It can also force the field list if not provided. Otherwise the entity must have those fields accessible.

Package Rankings
Top 0.99% on Packagist.org
Badges
Extracted from project README
CI Coverage Status Minimum PHP Version Coding Standards