Skip to content

Commit a2fe0a4

Browse files
authored
IBX-9947: Rebranded field type identifiers (#173)
1 parent 0b4724e commit a2fe0a4

62 files changed

Lines changed: 334 additions & 334 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/bundle/ApiLoader/Factory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function getMediaFieldTypeProcessor(): MediaProcessor
4848
}
4949

5050
/**
51-
* Factory for ezpublish_rest.field_type_processor.ezimage.
51+
* Factory for ezpublish_rest.field_type_processor.ibexa_image.
5252
*
5353
* @param \Symfony\Component\Routing\RouterInterface $router
5454
*
@@ -80,7 +80,7 @@ public function getImageAssetFieldTypeProcessor(
8080
return new ImageAssetFieldTypeProcessor(
8181
$router,
8282
$this->repository->getContentService(),
83-
$this->configResolver->getParameter('fieldtypes.ezimageasset.mappings'),
83+
$this->configResolver->getParameter('fieldtypes.ibexa_image_asset.mappings'),
8484
$variationsIdentifiers
8585
);
8686
}

src/bundle/Resources/api_platform/examples/content/objects/POST/Content.json.example

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,28 @@
5959
"id": 488,
6060
"fieldDefinitionIdentifier": "title",
6161
"languageCode": "eng-GB",
62-
"fieldTypeIdentifier": "ezstring",
62+
"fieldTypeIdentifier": "ibexa_string",
6363
"fieldValue": "draft article"
6464
},
6565
{
6666
"id": 489,
6767
"fieldDefinitionIdentifier": "short_title",
6868
"languageCode": "eng-GB",
69-
"fieldTypeIdentifier": "ezstring",
69+
"fieldTypeIdentifier": "ibexa_string",
7070
"fieldValue": null
7171
},
7272
{
7373
"id": 490,
7474
"fieldDefinitionIdentifier": "author",
7575
"languageCode": "eng-GB",
76-
"fieldTypeIdentifier": "ezauthor",
76+
"fieldTypeIdentifier": "ibexa_author",
7777
"fieldValue": []
7878
},
7979
{
8080
"id": 491,
8181
"fieldDefinitionIdentifier": "intro",
8282
"languageCode": "eng-GB",
83-
"fieldTypeIdentifier": "ezrichtext",
83+
"fieldTypeIdentifier": "ibexa_richtext",
8484
"fieldValue": {
8585
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>draft draft</para></section>\n",
8686
"xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></section>\n"
@@ -90,7 +90,7 @@
9090
"id": 492,
9191
"fieldDefinitionIdentifier": "body",
9292
"languageCode": "eng-GB",
93-
"fieldTypeIdentifier": "ezrichtext",
93+
"fieldTypeIdentifier": "ibexa_richtext",
9494
"fieldValue": {
9595
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:ezxhtml=\"http://ibexa.co/xmlns/dxp/docbook/xhtml\" xmlns:ezcustom=\"http://ibexa.co/xmlns/dxp/docbook/custom\" version=\"5.0-variant ezpublish-1.0\"><para>draft draft draft</para></section>\n",
9696
"xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft draft</p></section>\n"
@@ -100,14 +100,14 @@
100100
"id": 493,
101101
"fieldDefinitionIdentifier": "enable_comments",
102102
"languageCode": "eng-GB",
103-
"fieldTypeIdentifier": "ezboolean",
103+
"fieldTypeIdentifier": "ibexa_boolean",
104104
"fieldValue": false
105105
},
106106
{
107107
"id": 494,
108108
"fieldDefinitionIdentifier": "image",
109109
"languageCode": "eng-GB",
110-
"fieldTypeIdentifier": "ezobjectrelation",
110+
"fieldTypeIdentifier": "ibexa_object_relation",
111111
"fieldValue": {
112112
"destinationContentId": null
113113
}

src/bundle/Resources/api_platform/examples/content/objects/POST/Content.xml.example

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,28 @@
3030
<id>481</id>
3131
<fieldDefinitionIdentifier>title</fieldDefinitionIdentifier>
3232
<languageCode>eng-GB</languageCode>
33-
<fieldTypeIdentifier>ezstring</fieldTypeIdentifier>
33+
<fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier>
3434
<fieldValue>draft article</fieldValue>
3535
</field>
3636
<field>
3737
<id>482</id>
3838
<fieldDefinitionIdentifier>short_title</fieldDefinitionIdentifier>
3939
<languageCode>eng-GB</languageCode>
40-
<fieldTypeIdentifier>ezstring</fieldTypeIdentifier>
40+
<fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier>
4141
<fieldValue/>
4242
</field>
4343
<field>
4444
<id>483</id>
4545
<fieldDefinitionIdentifier>author</fieldDefinitionIdentifier>
4646
<languageCode>eng-GB</languageCode>
47-
<fieldTypeIdentifier>ezauthor</fieldTypeIdentifier>
47+
<fieldTypeIdentifier>ibexa_author</fieldTypeIdentifier>
4848
<fieldValue/>
4949
</field>
5050
<field>
5151
<id>484</id>
5252
<fieldDefinitionIdentifier>intro</fieldDefinitionIdentifier>
5353
<languageCode>eng-GB</languageCode>
54-
<fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier>
54+
<fieldTypeIdentifier>ibexa_richtext</fieldTypeIdentifier>
5555
<fieldValue>
5656
<value key="xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
5757
&lt;section xmlns=&quot;http://docbook.org/ns/docbook&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; xmlns:ezxhtml=&quot;http://ibexa.co/xmlns/dxp/docbook/xhtml&quot; xmlns:ezcustom=&quot;http://ibexa.co/xmlns/dxp/docbook/custom&quot; version=&quot;5.0-variant ezpublish-1.0&quot;&gt;&lt;para&gt;draft draft&lt;/para&gt;&lt;/section&gt;
@@ -65,7 +65,7 @@
6565
<id>485</id>
6666
<fieldDefinitionIdentifier>body</fieldDefinitionIdentifier>
6767
<languageCode>eng-GB</languageCode>
68-
<fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier>
68+
<fieldTypeIdentifier>ibexa_richtext</fieldTypeIdentifier>
6969
<fieldValue>
7070
<value key="xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
7171
&lt;section xmlns=&quot;http://docbook.org/ns/docbook&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; xmlns:ezxhtml=&quot;http://ibexa.co/xmlns/dxp/docbook/xhtml&quot; xmlns:ezcustom=&quot;http://ibexa.co/xmlns/dxp/docbook/custom&quot; version=&quot;5.0-variant ezpublish-1.0&quot;&gt;&lt;para&gt;draft draft draft&lt;/para&gt;&lt;/section&gt;
@@ -79,14 +79,14 @@
7979
<id>486</id>
8080
<fieldDefinitionIdentifier>enable_comments</fieldDefinitionIdentifier>
8181
<languageCode>eng-GB</languageCode>
82-
<fieldTypeIdentifier>ezboolean</fieldTypeIdentifier>
82+
<fieldTypeIdentifier>ibexa_boolean</fieldTypeIdentifier>
8383
<fieldValue>false</fieldValue>
8484
</field>
8585
<field>
8686
<id>487</id>
8787
<fieldDefinitionIdentifier>image</fieldDefinitionIdentifier>
8888
<languageCode>eng-GB</languageCode>
89-
<fieldTypeIdentifier>ezobjectrelation</fieldTypeIdentifier>
89+
<fieldTypeIdentifier>ibexa_object_relation</fieldTypeIdentifier>
9090
<fieldValue>
9191
<value key="destinationContentId"/>
9292
</fieldValue>

src/bundle/Resources/api_platform/examples/content/objects/POST/ContentCreate.json.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
{
2424
"fieldDefinitionIdentifier": "title",
2525
"languageCode": "eng-GB",
26-
"fieldTypeIdentifier": "ezstring",
26+
"fieldTypeIdentifier": "ibexa_string",
2727
"fieldValue": "draft article"
2828
},
2929
{
3030
"fieldDefinitionIdentifier": "intro",
3131
"languageCode": "eng-GB",
32-
"fieldTypeIdentifier": "ezrichtext",
32+
"fieldTypeIdentifier": "ibexa_richtext",
3333
"fieldValue":
3434
{
3535
"xml": "<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></section>"
@@ -38,7 +38,7 @@
3838
{
3939
"fieldDefinitionIdentifier": "body",
4040
"languageCode": "eng-GB",
41-
"fieldTypeIdentifier": "ezrichtext",
41+
"fieldTypeIdentifier": "ibexa_richtext",
4242
"fieldValue": {
4343
"xml": "<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft draft </p></section>"
4444
}

src/bundle/Resources/api_platform/examples/content/objects/content_id/GET/Content.json.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,21 @@
5959
"id": 249,
6060
"fieldDefinitionIdentifier": "name",
6161
"languageCode": "eng-GB",
62-
"fieldTypeIdentifier": "ezstring",
62+
"fieldTypeIdentifier": "ibexa_string",
6363
"fieldValue": "Forms"
6464
},
6565
{
6666
"id": 250,
6767
"fieldDefinitionIdentifier": "short_name",
6868
"languageCode": "eng-GB",
69-
"fieldTypeIdentifier": "ezstring",
69+
"fieldTypeIdentifier": "ibexa_string",
7070
"fieldValue": null
7171
},
7272
{
7373
"id": 251,
7474
"fieldDefinitionIdentifier": "short_description",
7575
"languageCode": "eng-GB",
76-
"fieldTypeIdentifier": "ezrichtext",
76+
"fieldTypeIdentifier": "ibexa_richtext",
7777
"fieldValue": {
7878
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
7979
"xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
@@ -83,7 +83,7 @@
8383
"id": 252,
8484
"fieldDefinitionIdentifier": "description",
8585
"languageCode": "eng-GB",
86-
"fieldTypeIdentifier": "ezrichtext",
86+
"fieldTypeIdentifier": "ibexa_richtext",
8787
"fieldValue": {
8888
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
8989
"xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"

src/bundle/Resources/api_platform/examples/content/objects/content_id/GET/Content.xml.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@
3030
<id>249</id>
3131
<fieldDefinitionIdentifier>name</fieldDefinitionIdentifier>
3232
<languageCode>eng-GB</languageCode>
33-
<fieldTypeIdentifier>ezstring</fieldTypeIdentifier>
33+
<fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier>
3434
<fieldValue>Forms</fieldValue>
3535
</field>
3636
<field>
3737
<id>250</id>
3838
<fieldDefinitionIdentifier>short_name</fieldDefinitionIdentifier>
3939
<languageCode>eng-GB</languageCode>
40-
<fieldTypeIdentifier>ezstring</fieldTypeIdentifier>
40+
<fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier>
4141
<fieldValue/>
4242
</field>
4343
<field>
4444
<id>251</id>
4545
<fieldDefinitionIdentifier>short_description</fieldDefinitionIdentifier>
4646
<languageCode>eng-GB</languageCode>
47-
<fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier>
47+
<fieldTypeIdentifier>ibexa_richtext</fieldTypeIdentifier>
4848
<fieldValue>
4949
<value key="xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
5050
&lt;section xmlns=&quot;http://docbook.org/ns/docbook&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; version=&quot;5.0-variant ezpublish-1.0&quot;/&gt;
@@ -58,7 +58,7 @@
5858
<id>252</id>
5959
<fieldDefinitionIdentifier>description</fieldDefinitionIdentifier>
6060
<languageCode>eng-GB</languageCode>
61-
<fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier>
61+
<fieldTypeIdentifier>ibexa_richtext</fieldTypeIdentifier>
6262
<fieldValue>
6363
<value key="xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
6464
&lt;section xmlns=&quot;http://docbook.org/ns/docbook&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; version=&quot;5.0-variant ezpublish-1.0&quot;/&gt;

src/bundle/Resources/api_platform/examples/content/objects/content_id/currentversion/COPY/Version.json.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@
4141
"id": 477,
4242
"fieldDefinitionIdentifier": "name",
4343
"languageCode": "eng-GB",
44-
"fieldTypeIdentifier": "ezstring",
44+
"fieldTypeIdentifier": "ibexa_string",
4545
"fieldValue": "Features"
4646
},
4747
{
4848
"id": 478,
4949
"fieldDefinitionIdentifier": "short_name",
5050
"languageCode": "eng-GB",
51-
"fieldTypeIdentifier": "ezstring",
51+
"fieldTypeIdentifier": "ibexa_string",
5252
"fieldValue": null
5353
},
5454
{
5555
"id": 479,
5656
"fieldDefinitionIdentifier": "short_description",
5757
"languageCode": "eng-GB",
58-
"fieldTypeIdentifier": "ezrichtext",
58+
"fieldTypeIdentifier": "ibexa_richtext",
5959
"fieldValue": {
6060
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
6161
"xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
@@ -65,7 +65,7 @@
6565
"id": 480,
6666
"fieldDefinitionIdentifier": "description",
6767
"languageCode": "eng-GB",
68-
"fieldTypeIdentifier": "ezrichtext",
68+
"fieldTypeIdentifier": "ibexa_richtext",
6969
"fieldValue": {
7070
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
7171
"xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"

src/bundle/Resources/api_platform/examples/content/objects/content_id/currentversion/COPY/Version.xml.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@
2424
<id>477</id>
2525
<fieldDefinitionIdentifier>name</fieldDefinitionIdentifier>
2626
<languageCode>eng-GB</languageCode>
27-
<fieldTypeIdentifier>ezstring</fieldTypeIdentifier>
27+
<fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier>
2828
<fieldValue>Features</fieldValue>
2929
</field>
3030
<field>
3131
<id>478</id>
3232
<fieldDefinitionIdentifier>short_name</fieldDefinitionIdentifier>
3333
<languageCode>eng-GB</languageCode>
34-
<fieldTypeIdentifier>ezstring</fieldTypeIdentifier>
34+
<fieldTypeIdentifier>ibexa_string</fieldTypeIdentifier>
3535
<fieldValue/>
3636
</field>
3737
<field>
3838
<id>479</id>
3939
<fieldDefinitionIdentifier>short_description</fieldDefinitionIdentifier>
4040
<languageCode>eng-GB</languageCode>
41-
<fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier>
41+
<fieldTypeIdentifier>ibexa_richtext</fieldTypeIdentifier>
4242
<fieldValue>
4343
<value key="xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
4444
&lt;section xmlns=&quot;http://docbook.org/ns/docbook&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; version=&quot;5.0-variant ezpublish-1.0&quot;/&gt;
@@ -52,7 +52,7 @@
5252
<id>480</id>
5353
<fieldDefinitionIdentifier>description</fieldDefinitionIdentifier>
5454
<languageCode>eng-GB</languageCode>
55-
<fieldTypeIdentifier>ezrichtext</fieldTypeIdentifier>
55+
<fieldTypeIdentifier>ibexa_richtext</fieldTypeIdentifier>
5656
<fieldValue>
5757
<value key="xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
5858
&lt;section xmlns=&quot;http://docbook.org/ns/docbook&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; version=&quot;5.0-variant ezpublish-1.0&quot;/&gt;

src/bundle/Resources/api_platform/examples/content/objects/content_id/currentversion/GET/Version.json.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@
4141
"id": 477,
4242
"fieldDefinitionIdentifier": "name",
4343
"languageCode": "eng-GB",
44-
"fieldTypeIdentifier": "ezstring",
44+
"fieldTypeIdentifier": "ibexa_string",
4545
"fieldValue": "Features"
4646
},
4747
{
4848
"id": 478,
4949
"fieldDefinitionIdentifier": "short_name",
5050
"languageCode": "eng-GB",
51-
"fieldTypeIdentifier": "ezstring",
51+
"fieldTypeIdentifier": "ibexa_string",
5252
"fieldValue": null
5353
},
5454
{
5555
"id": 479,
5656
"fieldDefinitionIdentifier": "short_description",
5757
"languageCode": "eng-GB",
58-
"fieldTypeIdentifier": "ezrichtext",
58+
"fieldTypeIdentifier": "ibexa_richtext",
5959
"fieldValue": {
6060
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
6161
"xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"
@@ -65,7 +65,7 @@
6565
"id": 480,
6666
"fieldDefinitionIdentifier": "description",
6767
"languageCode": "eng-GB",
68-
"fieldTypeIdentifier": "ezrichtext",
68+
"fieldTypeIdentifier": "ibexa_richtext",
6969
"fieldValue": {
7070
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://docbook.org/ns/docbook\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"5.0-variant ezpublish-1.0\"/>\n",
7171
"xhtml5edit": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"/>\n"

0 commit comments

Comments
 (0)