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 #22

Merged
merged 3 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 .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
| Question | Answer
| ------------------ | ------------------
| **JIRA issue** | [EZP-XXXXX](https://jira.ez.no/browse/EZP-XXXXX)
| **JIRA issue** | [IBX-XXXXX](https://issues.ibexa.co/browse/IBX-XXXXX)
| **Type** | Bug/Improvement/Feature/Misc
| **Target version** | latest stable `0.8` for bug fixes, `master` for new features
| **BC breaks** | yes/no
Expand Down
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 composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"authors": [
{
"name": "eZ Systems",
"email": "dev-team@ez.no"
"email": "dev-team@ibexa.co"
}
],
"require": {
Expand Down
6 changes: 3 additions & 3 deletions docs/using_tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ corresponding tags as listed above. These can be found in `src/ResponseTagger`.

### For responses with X-Location-Id

For custom or eZ controllers _(like REST at the time of writing)_ still using `X-Location-Id`, a dedicated response
For custom or Ibexa controllers _(like REST at the time of writing)_ still using `X-Location-Id`, a dedicated response
listener `XLocationIdResponseSubscriber` handles translating this to tags so the cache can be properly invalidated by
this bundle. It supports comma separated location id values which was only partially supported in earlier versions:

Expand All @@ -108,13 +108,13 @@ this bundle. It supports comma separated location id values which was only parti
$response->headers->set('X-Location-Id', '123,212,42');
```

*NOTE: This is currently marked as Deprecated, and for rendering eZ content it is thus adviced to refactor to use Content
*NOTE: This is currently marked as Deprecated, and for rendering Ibexa content it is thus adviced to refactor to use Content
View. For other needs there is an FOS tag handler for Twig and PHP that can be used, see below for further info.*


### For custom needs using FOSHttpCache (tagging relations and more)

For custom needs, including template logic for eZ content relations which is here used for examples, there are two ways
For custom needs, including template logic for Ibexa content relations which is here used for examples, there are two ways
to tag your responses.

#### Twig use
Expand Down
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.
*/
namespace spec\Ibexa\HttpCache\EventSubscriber;
Expand Down
2 changes: 1 addition & 1 deletion spec/EventSubscriber/HttpCacheResponseSubscriberSpec.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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.
*/
namespace spec\Ibexa\HttpCache\EventSubscriber;
Expand Down
2 changes: 1 addition & 1 deletion spec/EventSubscriber/RestKernelViewSubscriberSpec.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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.
*/
namespace spec\Ibexa\HttpCache\EventSubscriber;
Expand Down
2 changes: 1 addition & 1 deletion spec/EventSubscriber/XLocationIdResponseSubscriberSpec.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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.
*/
namespace spec\Ibexa\HttpCache\EventSubscriber;
Expand Down
2 changes: 1 addition & 1 deletion spec/Handler/TagHandlerSpec.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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.
*/
namespace spec\Ibexa\HttpCache\Handler;
Expand Down
2 changes: 1 addition & 1 deletion spec/ProxyClient/VarnishSpec.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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.
*/
namespace spec\Ibexa\HttpCache\ProxyClient;
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ services:
- '@logger'
- header_formatter: '@fos_http_cache.tag_handler.header_formatter'
strict: '%fos_http_cache.tag_handler.strict%'
# Custom eZ options (todo: Port to FOS)
# Custom Ibexa options (todo: Port to FOS)
tag_max_length: '%ibexa.http_cache.tags.header_max_length%'
tag_max_length_ttl: '%ibexa.http_cache.tags.header_reduced_ttl%'

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Twig/ContentTaggingExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Twig\TwigFunction;

/**
* Twig content extension for eZ Publish specific usage.
* Twig content extension for Ibexa specific usage.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Twig content extension for Ibexa specific usage.
* Twig content extension for Ibexa DXP specific usage.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really, applies both to Ibexa Open Source and Ibexa DXP

* Exposes helpers to play with public API objects.
*/
class ContentTaggingExtension extends AbstractExtension
Expand Down