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

Implement EZP-21191: Implement new internal format to cover ezxml capabilities #459

Closed
wants to merge 114 commits into from

Conversation

2 participants
@pspanja
Copy link
Contributor

commented Jul 21, 2013

DO NOT MERGE

This PR relates to https://jira.ez.no/browse/EZP-21191

For the demo purposes a bundle is implemented, providing HTML5 editing with TinyMCE editor. Steps to enable EzPublishXhtml5EditTestBundle bundle are:

  1. register the bundle with kernel
  2. import routes
  3. disable CSRF protection
  4. disable basic auth for REST, so that session based auth is used instead
  5. create content with XmlText field definition "test"
  6. authenticate into frontend
  7. open created content with http://ezpublish.local/test/<contentId>

Usable example on how to configure youtube custom tag (using test fixtures):

ezpublish.yml

ezpublish:
    system:
        ezdemo_site_group:
            fieldtypes:
                ezxml:
                    output_custom_tags:
                        -
                            path: %kernel.root_dir%/../vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/Tests/XmlText/Converter/Xslt/_fixtures/docbook/custom_stylesheets/docbook_to_xhtml5_output.xsl
                            priority: 1
                    edit_custom_tags:
                        -
                            path: %kernel.root_dir%/../vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/Tests/XmlText/Converter/Xslt/_fixtures/docbook/custom_stylesheets/docbook_to_xhtml5_edit.xsl
                            priority: 1
                    input_custom_tags:
                        -
                            path: %kernel.root_dir%/../vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/Tests/XmlText/Converter/Xslt/_fixtures/xhtml5/custom_stylesheets/xhtml5_edit_to_docbook.xsl
                            priority: 0

pspanja added some commits Jul 5, 2013

Merge branch 'master' into fix-EZP-21136-xmltext-html5
Conflicts:
	eZ/Publish/Core/FieldType/XmlText/Type.php

pspanja added some commits Aug 2, 2013

Merge branch 'master' into implement-EZP-21191-xmltext-new-internal-f…
…ormat-MERGE

Conflicts:
	eZ/Bundle/EzPublishCoreBundle/DependencyInjection/Configuration/Parser/Content.php
	eZ/Bundle/EzPublishCoreBundle/EzPublishCoreBundle.php
	eZ/Bundle/EzPublishCoreBundle/FieldType/XmlText/Converter/Html5.php
	eZ/Bundle/EzPublishCoreBundle/Resources/config/default_settings.yml
	eZ/Bundle/EzPublishCoreBundle/Resources/config/fieldtypes.yml
	eZ/Publish/Core/FieldType/Tests/XmlText/Converter/EzLinkToHtml5Test.php
	eZ/Publish/Core/FieldType/Tests/XmlText/Input/EzXmlTest.php
	eZ/Publish/Core/FieldType/XmlText/Converter/EzLinkToHtml5.php
	eZ/Publish/Core/FieldType/XmlText/Converter/Html5.php
	eZ/Publish/Core/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Html5.xsl
	eZ/Publish/Core/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Html5_core.xsl
	eZ/Publish/Core/FieldType/XmlText/XmlTextStorage/Gateway/LegacyStorage.php

pspanja and others added some commits Aug 2, 2013

Merge branch 'master' into implement-EZP-21191-xmltext-new-internal-f…
…ormat

Conflicts:
	eZ/Bundle/EzPublishCoreBundle/Tests/DependencyInjection/Compiler/XmlTextConverterPassTest.php
	eZ/Bundle/EzPublishCoreBundle/Tests/DependencyInjection/Compiler/XmlTextHtml5OutputConverterPassTest.php
	eZ/Bundle/EzPublishCoreBundle/Tests/XmlTextConverterPassTest.php
	eZ/Publish/Core/FieldType/Tests/XmlText/Converter/Html5Test.php
	eZ/Publish/Core/FieldType/Tests/XmlTextTest.php
	eZ/Publish/Core/FieldType/XmlText/Converter/Xslt.php
	eZ/Publish/Core/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Html5_core.xsl
	eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/ContentExtension.php
	eZ/Publish/SPI/Tests/FieldType/XmlTextIntegrationTest.php
@pspanja

This comment has been minimized.

Copy link
Contributor Author

commented Dec 17, 2013

Instead of updating XmlText field type new RichText field type will be implemented.
Closing this PR in favor of #665.

@pspanja pspanja closed this Dec 17, 2013

@andrerom andrerom deleted the implement-EZP-21191-xmltext-new-internal-format branch Dec 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.