diff --git a/composer.json b/composer.json index 357dca0..5ce3083 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "authors": [ { "name": "Bertrand Dunogier", - "email": "bertrand.dunogier@ez.no" + "email": "bertrand.dunogier@ibexa.co" } ], "replace": { diff --git a/doc/custom_app_schema.md b/doc/custom_app_schema.md index b251969..f898149 100644 --- a/doc/custom_app_schema.md +++ b/doc/custom_app_schema.md @@ -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). @@ -69,4 +69,4 @@ SomethingPayload: name: type: String -``` \ No newline at end of file +``` diff --git a/doc/howto/upload_binary_files.md b/doc/howto/upload_binary_files.md index 4a84087..b731726 100644 --- a/doc/howto/upload_binary_files.md +++ b/doc/howto/upload_binary_files.md @@ -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 \ @@ -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 -``` \ No newline at end of file +``` diff --git a/src/bundle/Resources/config/graphql/Content.types.yaml b/src/bundle/Resources/config/graphql/Content.types.yaml index 6891f1c..f05abaf 100644 --- a/src/bundle/Resources/config/graphql/Content.types.yaml +++ b/src/bundle/Resources/config/graphql/Content.types.yaml @@ -1,7 +1,7 @@ Content: type: object config: - description: "An eZ Platform repository ContentInfo." + description: "An Ibexa repository ContentInfo." fields: id: type: "Int" diff --git a/src/bundle/Resources/config/graphql/ContentType.types.yaml b/src/bundle/Resources/config/graphql/ContentType.types.yaml index 04b7d5a..78d73d4 100644 --- a/src/bundle/Resources/config/graphql/ContentType.types.yaml +++ b/src/bundle/Resources/config/graphql/ContentType.types.yaml @@ -1,7 +1,7 @@ ContentType: type: object config: - description: "An eZ Platform repository ContentType." + description: "An Ibexa repository ContentType." fields: id: type: "Int!" diff --git a/src/bundle/Resources/config/graphql/FieldDefinition.types.yaml b/src/bundle/Resources/config/graphql/FieldDefinition.types.yaml index f0554d2..989ced6 100644 --- a/src/bundle/Resources/config/graphql/FieldDefinition.types.yaml +++ b/src/bundle/Resources/config/graphql/FieldDefinition.types.yaml @@ -1,7 +1,7 @@ FieldDefinition: type: object config: - description: "An eZ Platform repository FieldDefinition." + description: "An Ibexa repository FieldDefinition." fields: id: type: Int diff --git a/src/bundle/Resources/config/graphql/Location.types.yaml b/src/bundle/Resources/config/graphql/Location.types.yaml index aadd093..ef20c69 100644 --- a/src/bundle/Resources/config/graphql/Location.types.yaml +++ b/src/bundle/Resources/config/graphql/Location.types.yaml @@ -1,7 +1,7 @@ Location: type: object config: - description: "An eZ Platform repository location." + description: "An Ibexa repository location." fields: id: type: "Int!" diff --git a/src/bundle/Resources/config/graphql/ObjectState.types.yaml b/src/bundle/Resources/config/graphql/ObjectState.types.yaml index ff29ebe..b4785b4 100644 --- a/src/bundle/Resources/config/graphql/ObjectState.types.yaml +++ b/src/bundle/Resources/config/graphql/ObjectState.types.yaml @@ -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!" diff --git a/src/bundle/Resources/config/graphql/ObjectStateGroup.types.yaml b/src/bundle/Resources/config/graphql/ObjectStateGroup.types.yaml index 4d7f17e..220f52a 100644 --- a/src/bundle/Resources/config/graphql/ObjectStateGroup.types.yaml +++ b/src/bundle/Resources/config/graphql/ObjectStateGroup.types.yaml @@ -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!" diff --git a/src/bundle/Resources/config/graphql/Platform.types.yaml b/src/bundle/Resources/config/graphql/Platform.types.yaml index 13d8650..0f04741 100644 --- a/src/bundle/Resources/config/graphql/Platform.types.yaml +++ b/src/bundle/Resources/config/graphql/Platform.types.yaml @@ -5,7 +5,7 @@ Platform: _repository: type: Repository resolve: { } - description: "eZ Platform repository API" + description: "Ibexa repository API" node: builder: Relay::Node builderConfig: diff --git a/src/bundle/Resources/config/graphql/Repository.types.yaml b/src/bundle/Resources/config/graphql/Repository.types.yaml index a779deb..396fa2a 100644 --- a/src/bundle/Resources/config/graphql/Repository.types.yaml +++ b/src/bundle/Resources/config/graphql/Repository.types.yaml @@ -1,7 +1,7 @@ Repository: type: object config: - description: "eZ Platform repository" + description: "Ibexa repository" fields: location: type: "Location" diff --git a/src/bundle/Resources/config/graphql/Section.types.yaml b/src/bundle/Resources/config/graphql/Section.types.yaml index f0414d0..15501d3 100644 --- a/src/bundle/Resources/config/graphql/Section.types.yaml +++ b/src/bundle/Resources/config/graphql/Section.types.yaml @@ -1,7 +1,7 @@ Section: type: object config: - description: "An eZ Platform repository section." + description: "An Ibexa repository section." fields: id: type: "Int!" diff --git a/src/bundle/Resources/config/graphql/User.types.yaml b/src/bundle/Resources/config/graphql/User.types.yaml index 323e908..666a6c1 100644 --- a/src/bundle/Resources/config/graphql/User.types.yaml +++ b/src/bundle/Resources/config/graphql/User.types.yaml @@ -1,7 +1,7 @@ User: type: object config: - description: "An eZ Platform repository User." + description: "An Ibexa repository User." fields: id: type: "Int" diff --git a/src/lib/Mutation/InputHandler/FieldType/RichText/HtmlRichTextConverter.php b/src/lib/Mutation/InputHandler/FieldType/RichText/HtmlRichTextConverter.php index cf17fbf..001af30 100644 --- a/src/lib/Mutation/InputHandler/FieldType/RichText/HtmlRichTextConverter.php +++ b/src/lib/Mutation/InputHandler/FieldType/RichText/HtmlRichTextConverter.php @@ -23,7 +23,7 @@ public function __construct(Converter $xhtml5Converter) public function convertToXml($text): DOMDocument { $text = <<$text +
$text
HTML5EDIT; $dom = new DOMDocument(); diff --git a/src/lib/Mutation/InputHandler/FieldType/RichText/MarkdownRichTextConverter.php b/src/lib/Mutation/InputHandler/FieldType/RichText/MarkdownRichTextConverter.php index 7e2cf72..070806e 100644 --- a/src/lib/Mutation/InputHandler/FieldType/RichText/MarkdownRichTextConverter.php +++ b/src/lib/Mutation/InputHandler/FieldType/RichText/MarkdownRichTextConverter.php @@ -30,7 +30,7 @@ public function convertToXml($text): DOMDocument $parseDown = new Parsedown(); $html = $parseDown->text($text); $input = <<$html +
$html
HTML5EDIT; $dom = new DOMDocument(); $dom->loadXML($input); diff --git a/src/lib/Schema/Domain/Content/Mapper/FieldDefinition/ConfigurableFieldDefinitionMapper.php b/src/lib/Schema/Domain/Content/Mapper/FieldDefinition/ConfigurableFieldDefinitionMapper.php index 7ab02c2..a3160f6 100644 --- a/src/lib/Schema/Domain/Content/Mapper/FieldDefinition/ConfigurableFieldDefinitionMapper.php +++ b/src/lib/Schema/Domain/Content/Mapper/FieldDefinition/ConfigurableFieldDefinitionMapper.php @@ -14,7 +14,7 @@ class ConfigurableFieldDefinitionMapper implements FieldDefinitionMapper, FieldD { /** * @var array - * Map of ez field type identifier to a GraphQL type + * Map of ibexa field type identifier to a GraphQL type */ private $typesMap;