Git

You can anonymously read the source code, study it's features and documentation by going to the GitHub repository directoy:

https://github.com/ezpublishlegacy/ezpublish-spi

You can anonymously check out the source code released by this project from its Git repository:

git clone https://github.com/ezpublishlegacy/ezpublish-spi.git

You may be able to anonymously check out the source code released by this project from its expected composer package:

composer require ezpublishlegacy/ezpublish-spi

To be able to commit changes to the project's repository, you need to be a member of the project.

Latest log messages

  • c9bad9029d77d48e66d4fef96b7d6d055bf7810a on 21/02/2019 4:39 pm by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • fc960a68c375ecf574c6d25a4c2d337b65633975 on 18/02/2019 11:33 pm by André R <andre.romcke@gmail.com> [GitHub Diff]
    Message: EZP-30006: As a Developer I possibility to load several languages at once (#2524)

    Introduces API to load several languages at once (specifically by id or locale), exposes more specific methods on languageMask handler and in SPI to make language handling more efficient.
  • f83bf6763e5e44a84008a1d0ac69e932971af01d on 14/01/2019 10:14 am by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 32c84b799c1e3c1c732a637dd5f66c357e9916f4 on 14/01/2019 2:41 am by Maciej Kobus <webhdx@users.noreply.github.com> [GitHub Diff]
    Message: EZP-29997: Exposed information about removed content items in EmptyTrashSignal and DeleteTrashItemSignal (#2520)

    * EZP-29997: Expose information about removed content items in EmptyTrashSignal and DeleteTrashItemSignal

    * EZP-29997: Fix and update unit tests

    * EZP-29997: Made changes according to code review

    * Fixed unit tests
  • 376fe4cd3edeec6f2a7c8d00f98d5b29394ddba5 on 20/12/2018 10:14 am by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 9f25bb749b3bbeafbcf3b0609b934fae1a4d9350 on 20/12/2018 8:35 am by André R <ar@ez.no> [GitHub Diff]
    Message: Merge branch '7.3'
  • 2f9b3f518af0d9082ee8bfcbf35127ee7dd87158 on 20/12/2018 8:32 am by André R <ar@ez.no> [GitHub Diff]
    Message: Merge branch '7.2' into 7.3
  • 899f15e2586d1680b3fbd3e3604d158bf3b914d1 on 20/12/2018 8:31 am by André R <ar@ez.no> [GitHub Diff]
    Message: Merge branch '6.13' into 7.2
  • 787a455147e7f7b92b00c70182a62bda26b80291 on 20/12/2018 7:43 am by André R <ar@ez.no> [GitHub Diff]
    Message: Merge branch '6.7' into 6.13
  • 22d4981cfd80c3cfad7dc3da88b9b0d3c0621e69 on 20/12/2018 7:28 am by André R <andre.romcke@gmail.com> [GitHub Diff]
    Message: EZP-29899: Content loading can end up loading wrong version under concurrency (#2502)

    * EZP-29899: Content loading can end up loading wrong version under concurrency

    Under concurrency it's possible that current version number we get in content info
    is out of date by the time we ask for full content object. So change
    SPI to allow loading current version number directly.
  • 3b2b03f6c381a2408b32f670c07aed78f7be643b on 20/12/2018 2:01 am by André R <andre.romcke@gmail.com> [GitHub Diff]
    Message: EZP-29851: As a developer I want to be able to load several Locations at once, fast (#2493)

    * EZP-29851: As a developer I want to be able to load several Locations at once, fast

    Motivation
    ----------
    Like the other bulk loading API's added recently this is to optimize usage in:
    - Page builder
    - Cronjobs / Commands
    - GraphQL
    - REST
    - Admin UI
    - Internally in Repository itself
    - ...

    These changes allows for less PHP code to execute, less SQL lookups, and less cache lookups by taking advantage of
    Symfony Cache's multi get support.

    Biggest benfit will be on setups where cache server is on a different machine, this can save ~5ms
    for each and every lookup saved. Which can on complex landing pages mean saving up-to several seconds
    of load time when HTTPCache is cold or disabled.

    Design
    ------
    Like other multi load API's return iterable list of objects, in this case Locations.
    _Iterable as we might want to introduce custom collection in the future to expose more info, hence avoid hardcoding usage of plain PHP array type._

    ```
    /**
    * Return list of unique Locations, with location id as key.
    *
    * Missing items (NotFound) & those user does not have access to (Unauthorized), will be missing from the
    * list and not cause any exception. It's up to calling logic to determine if this should cause exception or not.
    *
    * @param array $locationIds
    * @param string[]|null $prioritizedLanguages Filter on and use as prioritized language code on translated properties of returned objects.
    * @param bool|null $useAlwaysAvailable Respect always available flag on content when filtering on $prioritizedLanguages.
    *
    * @return \eZ\Publish\API\Repository\Values\Content\Location[]|iterable
    */
    public function loadLocationList(array $locationIds, array $prioritizedLanguages = null, bool $useAlwaysAvailable = null): iterable;
    ```

    * Fix review comment in regards to REST Client fix

    * Fix review comment on SiteAccessAware repo tests return value usage
  • ebf7e345dbfce3533844bdef76d197289deb506f on 14/12/2018 10:12 am by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • c519a6444b44691d4f1a9cd9a298c19154f19c03 on 14/12/2018 7:17 am by Dawid Parafiński <vinniczek@gmail.com> [GitHub Diff]
    Message: EZP-29788: As a developer, I want to delete content type translation (#2494)

    * EZP-29788: As a developer, I want to delete content type translation

    * EZP-29788: Move handling into persistence layer

    * EZP-29788: Code review fix

    * EZP-29788: Unit tests for new removeContentTypeTranslation method

    * EZP-29788: BC breaks doc updated

    * EZP-29788: Changed typehinting for contentTypeId from mixed to int
  • ee01b3c3c82320c907d1cdd4faa21ca3280a7cfd on 14/12/2018 7:15 am by Dawid Parafiński <vinniczek@gmail.com> [GitHub Diff]
    Message: EZP-29764: As a Developer I want to update single Content Type translation (#2484)

    * Created integration test for updating CT with single new translation

    * EZP-29764: As a Developer I want to update single Content Type translation

    * EZP-29764: Replace UpdateStruct with Type object for update content type method

    * EZP-29764: Handling for content type field definitions

    * EZP-29764: Handling translation for new field definition

    * EZP-29764: Handling translation for new field definition

    * EZP-29764: Code review fixes

    * Add missing language_mask attribute to select query

    * Fix failing tests

    * EZP-29764: bc breaks update
  • 3365b51dfb5cbc92cf3e877452f6e87b6e58ba54 on 11/12/2018 10:13 am by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 6312cd88b51ec158fcd0f83f3c7692f9f2daeee8 on 11/12/2018 9:03 am by André R <ar@ez.no> [GitHub Diff]
    Message: Merge branch '7.3'
  • e2d29f008f436c9c53f20acc037014335c60a4d7 on 11/12/2018 9:03 am by André R <ar@ez.no> [GitHub Diff]
    Message: Merge branch '7.2' into 7.3
  • fd7c1227a90f68512883741fa2dc252d9f8368d2 on 11/12/2018 5:03 am by André R <andre.romcke@gmail.com> [GitHub Diff]
    Message: EZP-29823: Allow to filter Location on translations to not throw when lazy loading Content (#2480)

    * Created integration test for lazy-loading Location's not avail. Content

    This happens for the use case where Location has been loaded via
    SiteAccessAware Repository, but the underlying Content is not available
    for the languages specified by the SiteAccess prioritized languages list.

    * EZP-29823: [SPI] Add translation filtering on location load, & expose multi get SPI method while at it

    * Add useAlwaysAvailable flag on load methods

    * [API] Expose useAlwaysAvailable on Location load methods

    * Update eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabase.php

    Co-Authored-By: andrerom <andre.romcke@gmail.com>

    * Apply suggestions from code review

    Co-Authored-By: andrerom <andre.romcke@gmail.com>

    * CS

    * Cleanup use of generateLanguageMask()

    * Unused import

    * CS

    * CS

    * TMP Bulk loading API for loadLocationList

    * Revert "Cleanup use of generateLanguageMask()"

    This reverts commit dfb56052639684a0a143cb3492ac699ac32e0446.

    * Revert "TMP Bulk loading API for loadLocationList"

    This reverts commit a9be8aaff3e3efa4fff9e9bfdbe65b2fa12616f7.

    * Remove bulk loading locations (to be openened in seperate Pr after this)

    * CS

    * Pass useAlwaysAvailable argument to buildLocation() as well

    Push again to get CI to run.

    * Fix own review notes
  • 201c4ab6dd9a7c02e7bef41294b17608ba6e7ef8 on 09/12/2018 10:12 pm by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 59a0ea5d19dd9a7814190a022d6bff89584490f0 on 04/12/2018 4:44 am by André R <andre.romcke@gmail.com> [GitHub Diff]
    Message: EZP-29613: As a developer I want access to ContentType on Content to avoid re-loading it (#2444)

    API:
    * Initial simple addition of `Content->getContentType()` API
    * Implement getContentType() on Core User & UserGroup object
    * Add SPI method for multi load content types
    * Improve PHP doc on SPI/Persistence/Content/Type
    * Adapt content domain mappers to bulk load content types
    * Add unit test for Legacy/Content/Type/Handler::loadContentTypeList()
    * Change MemoryCachingHandler to correctly use loadContentTypeList() and not single load()
    * Change to use Doctrine QueryBuilder to fix loadTypesDataList(), use it for all loads for test coverage and consistency
    * Fix Legacy Search test to keep connection, also refactor to avoid duplication

    API:
    * Expose `ContentTypeService->loadContentTypeList()` in order to adapt for new loadContentListByContentInfo()

    Usage in Core, aka get rid of ContentType load operations:
    * Adapt FieldRenderingExtension to use Content->getContentType()
    * Optimize FieldHelper and it's usage in ContentExtension
    * Optimize RestExecutedView to use content->getContentType()
  • be1b5e8be2e884683325bb1c988309f03a5c201f on 31/10/2018 10:13 pm by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 2dbb6fb7c9197c649d9ccfe1741a8d3b82becfd7 on 17/10/2018 8:31 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '7.2' into 7.3
  • 2fdfcc63b3390c7ac5a0c013757230fe77aa3805 on 17/10/2018 8:29 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '6.13' into 7.2
  • 6f49227f04311599765e98f6a64637b69481e875 on 17/10/2018 7:59 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '6.7' into 6.13
  • d46a18e8cbfe2c8c8f0f8d707a0fc010f6b74bb4 on 17/10/2018 6:34 am by Andrew Longosz <alongosz@users.noreply.github.com> [GitHub Diff]
    Message: EZP-29721: Broken URL alias history is not restored after regenerating aliases (#2459)

    * Moved cleaning corrupted aliases after refreshing

    * Created integration tests for the use case

    * Implemented repairing broken URL Aliases after refreshing

    * Optimized mapping data for archiving aliases for deleted Translations

    * fixup! Created integration tests for the use case

    * fixup! Optimized mapping data for archiving aliases for deleted Translations
  • 0f0718462a363053a4171ed8d8884db4b6c5a6b6 on 28/09/2018 10:13 am by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 822f5acedaaae6de0fa75622dbabb9b1b32aee8c on 28/09/2018 6:55 am by Adam Wójs <adam@wojs.pl> [GitHub Diff]
    Message: EZP-29408: Impl. asset relation type (#2409)
  • 91dd507f1dfe23d915f07447c5d00398fcdf8ab0 on 24/09/2018 10:18 am by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 002d692640266d7f8c056c150ae99c06d2987bbf on 24/09/2018 9:27 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '7.2'
  • f4c921e4448aae3e03bad3a27af13fc8250fc327 on 24/09/2018 9:21 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '6.13' into 7.2
  • 40702cfb020a54d333bce6e6f47c707809ccbab9 on 24/09/2018 8:13 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '6.7' into 6.13
  • 80e51b77ffcfba4481bc4d064fa45cb2226026a1 on 24/09/2018 7:06 am by Andrew Longosz <alongosz@users.noreply.github.com> [GitHub Diff]
    Message: Improved code related to EZP-29139 (#2454)

    * Improved Query selection logic in Content Gateway

    * [SPI] Improved list of thrown exceptions in PhpDocs of URLAlias Handler
  • 2727cb767236f78174e8de41e1d0e592879ec642 on 20/09/2018 10:20 am by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • ee03aa1e943ac55102d7012d0eb98e45b7994e51 on 20/09/2018 9:11 am by Adam Wójs <adam@wojs.pl> [GitHub Diff]
    Message: EZP-29508: As an editor I want to manage ALT field with an image asset field type (#2451)

    * EZP-29508: As an editor I want to manage ALT field with an image asset field type

    * fixup! EZP-29508: As an editor I want to manage ALT field with an image asset field type

    * fixup! EZP-29508: As an editor I want to manage ALT field with an image asset field type

    * fixup! EZP-29508: As an editor I want to manage ALT field with an image asset field type

    * fixup! EZP-29508: As an editor I want to manage ALT field with an image asset field type
  • a5fc32c42b73510952b7a3158097df14ca4a3148 on 17/09/2018 10:20 pm by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 70431593eb51f4fcbee4f743be12bbee5487cc1c on 17/09/2018 10:19 am by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • 2a0a30dde766a9f7f8d70d67f034af3a3b0096f0 on 17/09/2018 10:18 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '7.2'
  • 1e5308d8ea55b92fcd340d2c7b9d68c28c056ba7 on 17/09/2018 10:10 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '6.13' into 7.2
  • 8e8e882dc29a81e38205510bd8de09ec6dac4838 on 17/09/2018 7:38 am by Andrew Longosz <andrzej.longosz@ez.no> [GitHub Diff]
    Message: Merge branch '6.7' into 6.13
  • c11bc98465434e97045fa1e27dfb54f0941eba9c on 17/09/2018 6:45 am by Andrew Longosz <alongosz@users.noreply.github.com> [GitHub Diff]
    Message: EZP-29139: RegenerateUrlAliasesCommand should keep historized Url Aliases (#2423)

    * EZP-29138: Implemented ezplatform:urls:regenerate-aliases command

    * Deprecated the ezplatform:regenerate:legacy_storage_url_aliases command.

    * [PAPI] Implemented LocationService::loadAllLocations API

    * [PAPI] Implemented ContentService::loadContentListByContentInfo API

    * [PAPI] Implemented URLAliasService cleanup APIs

    New UrlAliasService APIs:
    * refreshSystemUrlAliasesForLocation
    * deleteCorruptedUrlAliases

    * [SPI] Backported Content\Handler::loadContentInfoList

    * [SPI] Backported Content\Handler::loadContentList

    * Improved URLAlias Gateway loadPathData to throw API BadStateException

    * [Tests] Implemented integration tests for new APIs

    * [Installer] Removed corrupted URL alias entry from cleandata.sql
  • 186e0bbf220990debd849f69596e466e3d41958e on 17/09/2018 5:44 am by thiago2509 <thiago@mugo.ca> [GitHub Diff]
    Message: EZP-28881: Add a field to support "date object was trashed

    Closes #2379
  • 06b94d7adcb86572fcb385041718c7ff6749c7a8 on 12/09/2018 10:16 pm by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • ea520198004201141ef517653849aacebe7bdaa2 on 11/09/2018 11:34 am by Adam Wójs <adam@wojs.pl> [GitHub Diff]
    Message: EZP-29104: Implemented ImageAsset Field Type (#2403)

    * EZP-29104: ImageAsset field type (tests)

    * EZP-29104: ImageAsset field type (implementation)

    * EZP-29104: Impl. \eZ\Publish\SPI\FieldType\Indexable for ezimageasset FT
  • 6a038d0098c9aefbfc70039c46e00a973db00b64 on 09/09/2018 10:16 pm by Brookins Consulting <info@brookinsconsulting.com> [GitHub Diff]
    Message: Merge remote-tracking branch 'upstream/master'
  • dc447018c32c4af1b3a6a2559ae8168ac58ff1c9 on 09/09/2018 8:04 pm by André R <ar@ez.no> [GitHub Diff]
    Message: Merge branch '7.2'