Skip to content

Releases: Aplia/ezp-content-tools

Add namespaced class support for Phinx migrations

31 Aug 12:57
Compare
Choose a tag to compare

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

04 Jun 07:08
d2975ee
Compare
Choose a tag to compare
v1.8.7

Fixed eZUser usage in migration conf

Log in admin user for migrations

02 Jun 14:01
fd7affb
Compare
Choose a tag to compare

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

24 Feb 11:30
Compare
Choose a tag to compare
v1.8.4

Add ezp_search_and_replace to composer bin export

Set correct permissions for ezp_search_and_replace

24 Feb 10:13
Compare
Choose a tag to compare
v1.8.3

Set correct permissions for ezp_search_and_replace

Multiple bugfixes and reformatting

24 Feb 09:54
Compare
Choose a tag to compare
  • 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 underscoreToCamelCase function to a new utility class Formatter.php
  • Reformatted README.md

Fixed incorrectly throwing ObjectDoesNotExist

22 Feb 14:55
44e864f
Compare
Choose a tag to compare

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

30 Jul 11:51
Compare
Choose a tag to compare
  • 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

21 Jan 13:57
Compare
Choose a tag to compare
  • 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

21 Jan 11:26
Compare
Choose a tag to compare
v1.7.22

Fixed `setAttribute(..., null)` on an ezbinaryfile datatype emptying …