Releases: Aplia/ezp-content-tools
Releases · Aplia/ezp-content-tools
Add namespaced class support for Phinx migrations
This adds support for configuring Phinx
migrations with namespaces.
To make use of this new feature, add the following block to the
project.ini
:
[Migration]
NamespacedPaths[Namespace\Path]=extension/mysite/migrations
Multiple namespaced paths can be added if needed.
Fixed eZUser usage in migration conf
v1.8.7 Fixed eZUser usage in migration conf
Log in admin user for migrations
The migration bootstrap()
function now ensures that an admin is logged in for all migration operations.
This helps avoid permission problems or restrictive workflows when running migrations.
It reads Migration/User
from project.ini
, if this is not set or empty it defaults to the admin user with ID 14.
Migration/User
may either be a numerical ID or a login name.
Add ezp_search_and_replace to composer bin export
v1.8.4 Add ezp_search_and_replace to composer bin export
Set correct permissions for ezp_search_and_replace
v1.8.3 Set correct permissions for ezp_search_and_replace
Multiple bugfixes and reformatting
- Added missing use statements
- Fixed variable and function references (unset, unused, scope, typos, etc..)
- Fixed missing new keywords before some class initializations
- Added type comments to some variables to help the editors language server
- Split script from class in
SearchAndReplace.php
- Moved script to
bin/ezp_search_and_replace
- Added namespace to SearchAndReplace.php
- Updated readme to reflect the new structure
- Moved script to
- Moved
underscoreToCamelCase
function to a new utility classFormatter.php
- Reformatted README.md
Fixed incorrectly throwing ObjectDoesNotExist
A missing not operator (!
) in the if-statements resulted in an ObjectDoesNotExist
exception being thrown when the object actually existed.
V1.8: ContentTypeAttribute and ezselection featuress
- Improved
value
property on ContentTypeAttribute to always access the stored data, either from DB or from new entries. - Added SelectionType helper class for making it easier to work with ezselection entries.
- Some minor bugfixes.
ContentType::update can now omit cache clearing
- ContentType::update now has an option 'clearCache', if set to false the cache clearing will be skipped.
Fixes for removing attribute content on image and file types
v1.7.22 Fixed `setAttribute(..., null)` on an ezbinaryfile datatype emptying …