ezsystems / platform-ui-bundle
eZ Platform UI Bundle
Installs: 262 298
Dependents: 7
Suggesters: 0
Security: 0
Stars: 30
Watchers: 38
Forks: 49
Language:JavaScript
Type:ezplatform-bundle
Requires
Requires (Dev)
- matthiasnoback/symfony-dependency-injection-test: ^0.7
- mockery/mockery: ^0.9.5
- phpunit/phpunit: ~4.7
- symfony/symfony: ^3.4
- dev-master
- v2.1.1
- v2.1.1-rc1
- v2.1.0
- v2.1.0-rc1
- v2.1.0-beta1
- v2.0.2
- v2.0.2-rc1
- v2.0.1.2
- v2.0.1.1
- v2.0.1
- v2.0.0
- v2.0.0-rc1
- v2.0.0-beta2
- v2.0.0-beta1
- 1.13.x-dev
- v1.13.6
- v1.13.6-rc1
- v1.13.5
- v1.13.5-rc1
- v1.13.4
- v1.13.4-rc1
- v1.13.3
- v1.13.3-rc1
- v1.13.3-beta1
- v1.13.2
- v1.13.2-rc3
- v1.13.2-rc2
- v1.13.2-rc1
- v1.13.1
- v1.13.1-rc2
- v1.13.1-rc1
- v1.13.0.1
- v1.13.0
- v1.13.0-rc1
- v1.13.0-beta2
- v1.13.0-beta1
- v1.12.1
- v1.12.1-rc1
- v1.12.0.1
- v1.12.0
- v1.12.0-rc1
- v1.12.0-beta2
- v1.12.0-beta1
- v1.11.1
- v1.11.0
- v1.11.0-rc1
- v1.11.0-beta1
- v1.10.1
- v1.10.1-rc1
- v1.10.0
- v1.10.0-rc1
- v1.10.0-beta1
- dev-test_composer_plugin / 1.9.x-dev
- v1.9.1
- v1.9.1-rc2
- v1.9.1-rc1
- v1.9.0
- v1.9.0-rc2
- v1.9.0-rc1
- v1.9.0-beta1
- v1.8.1
- v1.8.1-rc1
- v1.8.0
- v1.8.0-rc1
- v1.8.0-beta1
- 1.7.x-dev
- v1.7.9
- v1.7.9-rc1
- v1.7.8
- v1.7.8-rc1
- v1.7.7
- v1.7.7-rc2
- v1.7.7-rc1
- v1.7.6
- v1.7.6-rc1
- v1.7.5
- v1.7.5-rc1
- v1.7.4
- v1.7.4-rc1
- v1.7.3
- v1.7.3-rc1
- v1.7.2
- v1.7.2-rc1
- v1.7.1.1
- v1.7.1
- v1.7.1-rc1
- v1.7.0.1
- v1.7.0
- v1.7.0-rc1
- v1.7.0-beta1
- v1.6.2.1
- v1.6.2
- v1.6.2-rc1
- v1.6.1
- v1.6.1-rc1
- v1.6.0
- v1.6.0-rc2
- v1.6.0-rc1
- v1.6.0-beta1
- 1.5.x-dev
- v1.5.2
- v1.5.2-rc1
- v1.5.1
- v1.5.1-rc1
- v1.5.0
- v1.5.0-rc1
- v1.5.0-beta2
- v1.5.0-beta1
- v1.4.2
- v1.4.2-rc1
- v1.4.1
- v1.4.1-rc1
- v1.4.0
- v1.4.0-rc1
- v1.4.0-beta1
- v1.3.3
- v1.3.3-rc1
- v1.3.2
- v1.3.2-rc1
- v1.3.1
- v1.3.1-rc1
- v1.3.0
- v1.3.0-rc2
- v1.3.0-rc1
- v1.3.0-beta1
- v1.2.2-rc1
- v1.2.1
- v1.2.1-rc1
- v1.2.0
- v1.2.0-rc5
- v1.2.0-rc4
- v1.2.0-rc3
- v1.2.0-rc2
- v1.2.0-rc1
- v1.1.0.1
- v1.1.0
- v1.1.0-rc1
- v1.0.1
- v1.0.0
- v1.0.0-rc1
- v1.0.0-beta9
- v1.0.0-beta8
- v1.0.0-beta7
- v1.0.0-beta6
- v1.0.0-beta5
- v1.0.0-beta4
- v1.0.0-beta3
- v1.0.0-beta2
- v1.0.0-beta1
- v1.0.0-alpha2
- v1.0.0-alpha1
- v0.9.4
- v0.9.3.1
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.7.0
- v0.5.0
- dev-dependabot/npm_and_yarn/acorn-7.1.1
- dev-ezp-27869_restore_translation
- dev-feature/EZP-25684_Improve_Version_Mngt_Multilingual_Content
- dev-ezp-27407_icons
- dev-composer_installer
- dev-tabs_css
- dev-pjax_request_matcher_swag
- dev-EZP-27423_UDWViewService_should_accept_locationID
- dev-proto_hybrid_enhanced
- dev-feature/EZP-26992_Content_tree_finder_based
- dev-HowToMakeACleanPR
- dev-PlatformUI_translation_doc
- dev-yui_webcomponents_black_boxing
- dev-proto_hybrid
- dev-Fix-EZP-26709_Incorrect_error_handling_myDraft_block
- dev-ezp26731-travis_check_strings
- dev-ezp-26309_rest_embedding
- dev-feature-bundle_generator
- dev-ezp-25137_cof_udw
- dev-feature/content-from-dashboard
- dev-EZP-26130_Search_for_content_with_many_locations_master
This package is auto-updated.
Last update: 2022-05-24 11:09:10 UTC
README
PlatformUIBundle is a bundle for eZ Platform providing a web application to manage your content and administrate your eZ Platform install.
If you find a bug, please create an issue in JIRA and don't forget to add as much details as you can (steps to reproduce, OS and browser(s) versions, ...) and to put PlatformUI (Admin UI & Content IU) in the Component/s field. Before submitting an issue you can also consult the list of opened bugs or the complete list of reported bugs, improvements or stories.
If you discover a security issue, please see how to responsibly report such issues on https://doc.ez.no/Security
Installation
eZ Platform 1.0 (2015.11) or higher are required to run the PlatformUI.
PlatformUI and its dependencies are installed and setup by default in eZ Platform. To run PlatformUI, you just have to open http://[uri_of_ez]/ez in your favorite browser.
If for whatever reason, PlatformUIBundle is not installed, here is what you need to do:
-
From your eZ Platform installation, run composer:
$ composer require ezsystems/platform-ui-bundle:dev-master
-
In
app/AppKernel.php
add an instance of the following classes to the list of registered bundles:public function registerBundles() { $bundles = array( // enabled bundles // ... new EzSystems\PlatformUIBundle\EzSystemsPlatformUIBundle(), new EzSystems\PlatformUIAssetsBundle\EzSystemsPlatformUIAssetsBundle(), new EzSystems\RepositoryFormsBundle\EzSystemsRepositoryFormsBundle(), ); }
-
In
app/config/routing.yml
include the eZPlatformUIBundle routing configuration:_ezpublishPlatformUIRoutes: resource: "@eZPlatformUIBundle/Resources/config/routing.yml"
-
Make sure the REST API is configured to use the session based authentication.
-
Run the following command:
$ php app/console assets:install --symlink
If you are running eZ Platform in the prod
environment, you also need to dump
the assets for Assetic with:
php app/console assetic:dump --env=prod
Once this is done, you can go to http://[uri_of_ez]/ez to run the eZ Platform UI application.
Developers tasks
Most developer related tasks can be run with Grunt and have several additional dependencies:
-
Install grunt, yuidoc, bower and grover globally (usually you need to be root):
# npm install -g grunt-cli yuidocjs grover bower gulp
-
Install phantomjs version 1.9.x
-
Install local npm and bower dependencies, from the bundle root, run:
$ npm install $ bower install
Once this is done, you can use any tasks registered in Grunt, the most interesting are:
-
Running the JavaScript unit tests
$ grunt test
-
Running a single JavaScript unit test
$ grover --server --console Tests/js/foo/bar/somefile.html
-
Generate a code coverage from those tests:
$ grunt coverage
The HTML coverage report is then available in
Tests/report/lcov-report/index.html
. -
Generate the JavaScript API doc:
$ grunt doc
-
Alternatively, you can run a live documentation server that will be available at http://127.0.0.1:3000 :
$ grunt livedoc
-
Update the custom AlloyEditor skin:
$ composer install # or composer update $ cd vendor/ezsystems/platform-ui-assets-bundle/Resources/public/vendors/alloy-editor/ $ npm install $ cd - $ grunt alloy-css
-
To test updating custom AlloyEditor skin against custom platform-ui-assets-bundle builds:
$ composer install --prefer-source $ cd vendor/ezsystems/platform-ui-assets-bundle/ $ git checkout <your_branch> $ ./bin/prepare_release.sh -v X.Y.X $ git checkout vX.Y.X $ echo -e `cd Resources/public/vendors/alloy-editor/ && npm install` $ cd - $ grunt alloy-css
To run the PHP unit tests, you first need to install the dev dependencies of the bundle. To do that, from the bundle root, run:
$ composer install --prefer-dist
Then, you can run the unit tests with:
$ php vendor/bin/phpunit