Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-1853: Used rebranded Ibexa name in codebase #301

Merged
merged 2 commits into from
Feb 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @copyright Copyright (C) Ibexa AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
require_once __DIR__ . '/vendor/autoload.php';
2 changes: 1 addition & 1 deletion features/standard/ContentType.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@IbexaOSS @IbexaContent @IbexaExperience @IbexaCommerce
Feature: Content types management
As an administrator
In order to customize my eZ installation
In order to customize my Ibexa installation
I want to manage my Content types.

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/standard/ContentTypeFields.feature
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Feature: Content fields setting and editing
| value | Edited Lorem ipsum dolor | | | | | Lorem ipsum dolor | Edited Lorem ipsum dolor |
| value | Edited Lorem ipsum | | | | | Lorem ipsum | Edited Lorem ipsum |
| value | 15:15 | | | | | 2:45:00 pm | 3:15:00 pm |
| text | Edited Test URL | url | http://www.ez.no | | | Test URL | Edited Test URL |
| text | Edited Test URL | url | http://www.ibexa.co | | | Test URL | Edited Test URL |
| value | video2.mp4.zip | | | | | video1.mp4 | video2.mp4 |
| value | image2.png.zip | | | | | image1.png | image2.png |
| value | binary2.txt.zip | | | | | binary1.txt | binary2.txt |
Expand Down
2 changes: 1 addition & 1 deletion features/standard/Roles.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@IbexaOSS @IbexaContent @IbexaExperience @IbexaCommerce
Feature: Roles management
As an administrator
In order to customize my eZ installation
In order to customize my Ibexa installation
I want to manage users Roles.

@javascript
Expand Down
4 changes: 2 additions & 2 deletions src/bundle/Controller/ContentViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function __construct(
public function locationViewAction(Request $request, ContentView $view): ContentView
{
// We should not cache ContentView because we use forms with CSRF tokens in template
// JIRA ref: https://jira.ez.no/browse/EZP-28190
// JIRA ref: https://issues.ibexa.co/browse/EZP-28190
$view->setCacheEnabled(false);

if (!$view->getContent()->contentInfo->isTrashed()) {
Expand Down Expand Up @@ -189,7 +189,7 @@ public function locationViewAction(Request $request, ContentView $view): Content
public function embedViewAction(ContentView $view): ContentView
{
// We should not cache ContentView because we use forms with CSRF tokens in template
// JIRA ref: https://jira.ez.no/browse/EZP-28190
// JIRA ref: https://issues.ibexa.co/browse/EZP-28190
$view->setCacheEnabled(false);

$this->supplyPathLocations($view);
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/DependencyInjection/IbexaAdminUiExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private function prependJMSTranslation(ContainerBuilder $container): void
* Looks for Resources/encore/ files in every registered and enabled bundle.
* Dumps json list of paths to files it finds.
*
* @param string $targetPath Where to put eZ Encore paths configuration file (default: var/encore)
* @param string $targetPath Where to put Ibexa Encore paths configuration file (default: var/encore)
*/
private function dumpConfigurationPathsToFile(
string $configName,
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/services/pagination.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
arguments:
- '@Ibexa\Bundle\AdminUi\View\Template\EzPagerfantaTemplate'
tags:
- { name: 'pagerfanta.view', alias: 'ez' }
- { name: 'pagerfanta.view', alias: 'ibexa' }

Ibexa\AdminUi\Pagination\Mapper\AbstractPagerContentToDataMapper:
abstract: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
</span>
</div>
<div class="row justify-content-center align-items-center ibexa-pagination__btn mb-5">
{{ pagerfanta(pager, 'ez', pager_options|merge({
{{ pagerfanta(pager, 'ibexa', pager_options|merge({
'routeParams': {
'_fragment': 'ibexa-tab-location-view-locations'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

{% if usages.haveToPaginate %}
<div class="row justify-content-center align-items-center ibexa-pagination__spacing mb-5">
{{ pagerfanta(usages, 'ez') }}
{{ pagerfanta(usages, 'ibexa') }}
</div>
{% endif %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
</div>
{% endif %}

{{ pagerfanta(pager, 'ez', paginaton_params|default({})) }}
{{ pagerfanta(pager, 'ibexa', paginaton_params|default({})) }}
</div>
2 changes: 1 addition & 1 deletion src/bundle/View/EzPagerfantaView.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function getDefaultProximity()
*/
public function getName()
{
return 'ez';
return 'ibexa';
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
use Ibexa\Contracts\Core\Repository\Values\ValueObject;

/**
* A FormDataMapper will convert a value object from eZ content repository to a usable form data.
* A FormDataMapper will convert a value object from Ibexa content repository to a usable form data.
*/
interface FormDataMapperInterface
{
/**
* Maps a ValueObject from eZ content repository to a data usable as underlying form data (e.g. create/update struct).
* Maps a ValueObject from Ibexa content repository to a data usable as underlying form data (e.g. create/update struct).
*
* @param \Ibexa\Contracts\Core\Repository\Values\ValueObject $repositoryValueObject
* @param array $params
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Form/Data/FormMapper/ContentCreateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class ContentCreateMapper implements FormDataMapperInterface
{
/**
* Maps a ValueObject from eZ content repository to a data usable as underlying form data (e.g. create/update struct).
* Maps a ValueObject from Ibexa content repository to a data usable as underlying form data (e.g. create/update struct).
*
* @param \Ibexa\Contracts\Core\Repository\Values\ContentType\ContentType|\Ibexa\Contracts\Core\Repository\Values\ValueObject $contentType
* @param array $params
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Form/Data/FormMapper/ContentTranslationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class ContentTranslationMapper implements FormDataMapperInterface
{
/**
* Maps a ValueObject from eZ content repository to a data usable as underlying form data (e.g. create/update
* Maps a ValueObject from Ibexa content repository to a data usable as underlying form data (e.g. create/update
* struct).
*
* @param \Ibexa\Contracts\Core\Repository\Values\Content\Content|\Ibexa\Contracts\Core\Repository\Values\ValueObject $content
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Form/Data/FormMapper/ContentTypeDraftMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct(
}

/**
* Maps a ValueObject from eZ content repository to a data usable as underlying form data (e.g. create/update struct).
* Maps a ValueObject from Ibexa content repository to a data usable as underlying form data (e.g. create/update struct).
*
* @param \Ibexa\Contracts\Core\Repository\Values\ContentType\ContentTypeDraft|\Ibexa\Contracts\Core\Repository\Values\ValueObject $contentTypeDraft
* @param array $params
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Form/Data/FormMapper/ContentUpdateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class ContentUpdateMapper implements FormDataMapperInterface
{
/**
* Maps a ValueObject from eZ content repository to a data usable as underlying form data (e.g. create/update struct).
* Maps a ValueObject from Ibexa content repository to a data usable as underlying form data (e.g. create/update struct).
*
* @param \Ibexa\Contracts\Core\Repository\Values\Content\Content|\Ibexa\Contracts\Core\Repository\Values\ValueObject $contentDraft
* @param array $params
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Form/Data/FormMapper/UserUpdateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class UserUpdateMapper
{
/**
* Maps a ValueObject from eZ content repository to a data usable as underlying form data (e.g. create/update struct).
* Maps a ValueObject from Ibexa content repository to a data usable as underlying form data (e.g. create/update struct).
*
* @param \Ibexa\Contracts\Core\Repository\Values\User\User $user
* @param \Ibexa\Contracts\Core\Repository\Values\ContentType\ContentType $contentType
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Pagination/Pagerfanta/NotificationAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Pagerfanta\Adapter\AdapterInterface;

/**
* Pagerfanta adapter for eZ Publish content search.
* Pagerfanta adapter for Ibexa content search.
* Will return results as notification list.
*/
class NotificationAdapter implements AdapterInterface
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Pagination/Pagerfanta/TrashItemAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Pagerfanta\Adapter\AdapterInterface;

/**
* Pagerfanta adapter for eZ Publish content search.
* Pagerfanta adapter for Ibexa content search.
* Will return results as SearchHit objects.
*/
class TrashItemAdapter implements AdapterInterface
Expand Down
2 changes: 1 addition & 1 deletion src/lib/QueryType/ContentSubtreeQueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final class ContentSubtreeQueryType extends SubtreeQueryType
{
public static function getName(): string
{
return 'EzPlatformAdminUi:ContentSubtree';
return 'IbexaAdminUi:ContentSubtree';
}

protected function getSubtreePathFromConfiguration(): string
Expand Down
2 changes: 1 addition & 1 deletion src/lib/QueryType/LocationPathQueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class LocationPathQueryType extends OptionsResolverBasedQueryType
{
public static function getName(): string
{
return 'EzPlatformAdminUi:LocationPath';
return 'IbexaAdminUi:LocationPath';
}

protected function configureOptions(OptionsResolver $optionsResolver): void
Expand Down
2 changes: 1 addition & 1 deletion src/lib/QueryType/MediaSubtreeQueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final class MediaSubtreeQueryType extends SubtreeQueryType
{
public static function getName(): string
{
return 'EzPlatformAdminUi:MediaSubtree';
return 'IbexaAdminUi:MediaSubtree';
}

protected function getSubtreePathFromConfiguration(): string
Expand Down
2 changes: 1 addition & 1 deletion src/lib/QueryType/TrashSearchQueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function configureOptions(OptionsResolver $optionsResolver): void

public static function getName(): string
{
return 'EzPlatformAdminUi:TrashSearchQuery';
return 'IbexaAdminUi:TrashSearchQuery';
}

protected function addCriteria(TrashSearchData $searchData, Query $query): void
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Strategy/NotificationTwigStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function setDefault(string $defaultTemplate)
*
* @return string
*
* @throws \EzSystems\Notification\Exception\NoValidResultException
* @throws \Ibexa\AdminUi\Exception\NoValidResultException
*/
public function decide($contentId): string
{
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/QueryType/SearchQueryTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

final class SearchQueryTypeTest extends TestCase
{
private const EXPECTED_QUERY_STRING = 'eZ Platform';
private const EXPECTED_QUERY_STRING = 'Ibexa';
private const EXPECTED_SECTION_ID = 2;
private const EXPECTED_CONTENT_TYPE_IDS = [3, 5, 7];
private const EXPECTED_USER_ID = 11;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Symfony\Component\Yaml\Yaml;

/**
* Test extracting translation messages for eZ Platform permission system policy map.
* Test extracting translation messages for Ibexa permission system policy map.
*/
class LimitationTranslationExtractorTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions tests/lib/Validator/Constraint/UniqueURLValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function testUnsupportedValueType()

public function testValid()
{
$url = 'http://ez.no';
$url = 'http://ibexa.co';

$this->urlService
->expects($this->once())
Expand All @@ -75,7 +75,7 @@ public function testValid()
public function testInvalid()
{
$constraint = new UniqueURL();
$url = 'http://ez.no';
$url = 'http://ibexa.co';

$this->urlService
->expects($this->once())
Expand Down Expand Up @@ -119,7 +119,7 @@ public function testInvalid()
public function testEditingIsValid()
{
$id = 1;
$url = 'http://ez.no';
$url = 'http://ibexa.co';

$this->urlService
->expects($this->once())
Expand Down