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

Merged
merged 2 commits into from
Feb 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"authors": [
{
"name": "Bertrand Dunogier",
"email": "bertrand.dunogier@ez.no"
"email": "bertrand.dunogier@ibexa.co"
}
],
"replace": {
Expand Down
4 changes: 2 additions & 2 deletions doc/custom_app_schema.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom application schema

If your application requires custom GraphQL resources, for instance for Doctrine entities, the schema generated from the eZ Platform repository can be customized. To do so, create the `app/config/graphql/Query.types.yml` file. It will be used as the GraphQL query root.
If your application requires custom GraphQL resources, for instance for Doctrine entities, the schema generated from the Ibexa repository can be customized. To do so, create the `app/config/graphql/Query.types.yml` file. It will be used as the GraphQL query root.

In that file, you can add new fields that use any custom type or custom logic you require, based
on [overblog/GraphQLBundle](https://github.com/overblog/GraphQLBundle).
Expand Down Expand Up @@ -69,4 +69,4 @@ SomethingPayload:
name:
type: String

```
```
4 changes: 2 additions & 2 deletions doc/howto/upload_binary_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Each file defind in the `map` is added to the request using the defined name:

## Uploading multiple files with `UploadFiles`

The `UploadFiles` mutation uses the [multi-file upload configuration](https://doc.ezplatform.com/en/latest/guide/file_management/#multi-file-upload) to create content items from a list of given binary files. We will decompose the following `curl` request, that uploads five files to the eZ Platform repository, below the container with location id 51:
The `UploadFiles` mutation uses the [multi-file upload configuration](https://doc.ezplatform.com/en/latest/guide/file_management/#multi-file-upload) to create content items from a list of given binary files. We will decompose the following `curl` request, that uploads five files to the Ibexa repository, below the container with location id 51:

```shell
curl -v -X POST \
Expand Down Expand Up @@ -156,4 +156,4 @@ The files are added one after the other, with the name given in `map`:
-F "file1"=@/tmp/files/file1.pdf \
-F "file2"=@/tmp/files/file2.zip \
-F "media"=@/tmp/files/media.mp4
```
```
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/graphql/Content.types.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Content:
type: object
config:
description: "An eZ Platform repository ContentInfo."
description: "An Ibexa repository ContentInfo."
fields:
id:
type: "Int"
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/graphql/ContentType.types.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ContentType:
type: object
config:
description: "An eZ Platform repository ContentType."
description: "An Ibexa repository ContentType."
fields:
id:
type: "Int!"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FieldDefinition:
type: object
config:
description: "An eZ Platform repository FieldDefinition."
description: "An Ibexa repository FieldDefinition."
fields:
id:
type: Int
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/graphql/Location.types.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Location:
type: object
config:
description: "An eZ Platform repository location."
description: "An Ibexa repository location."
fields:
id:
type: "Int!"
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/graphql/ObjectState.types.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ObjectState:
type: object
config:
description: "An eZ Platform content object state."
description: "An Ibexa content object state."
fields:
id:
type: "Int!"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ObjectStateGroup:
type: object
config:
description: "An eZ Platform content object state group."
description: "An Ibexa content object state group."
fields:
id:
type: "Int!"
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/graphql/Platform.types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Platform:
_repository:
type: Repository
resolve: { }
description: "eZ Platform repository API"
description: "Ibexa repository API"
node:
builder: Relay::Node
builderConfig:
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/graphql/Repository.types.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Repository:
type: object
config:
description: "eZ Platform repository"
description: "Ibexa repository"
fields:
location:
type: "Location"
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/graphql/Section.types.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Section:
type: object
config:
description: "An eZ Platform repository section."
description: "An Ibexa repository section."
fields:
id:
type: "Int!"
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/graphql/User.types.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
User:
type: object
config:
description: "An eZ Platform repository User."
description: "An Ibexa repository User."
fields:
id:
type: "Int"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(Converter $xhtml5Converter)
public function convertToXml($text): DOMDocument
{
$text = <<<HTML5EDIT
<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit">$text</section>
<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit">$text</section>
HTML5EDIT;

$dom = new DOMDocument();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function convertToXml($text): DOMDocument
$parseDown = new Parsedown();
$html = $parseDown->text($text);
$input = <<<HTML5EDIT
<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit">$html</section>
<section xmlns="http://ibexa.co/namespaces/ezpublish5/xhtml5/edit">$html</section>
HTML5EDIT;
$dom = new DOMDocument();
$dom->loadXML($input);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ConfigurableFieldDefinitionMapper implements FieldDefinitionMapper, FieldD
{
/**
* @var array
* Map of ez field type identifier to a GraphQL type
* Map ofibexa field type identifier to a GraphQL type
Nattfarinn marked this conversation as resolved.
Show resolved Hide resolved
*/
private $typesMap;

Expand Down