Skip to content

Instantly share code, notes, and snippets.

View dpobel's full-sized avatar

Damien Pobel dpobel

View GitHub Profile
behat/behat v3.3.1 Scenario-oriented BDD framework for PHP 5.3
behat/gherkin v4.4.5 Gherkin DSL parser for PHP 5.3
behat/mink v1.7.1 Browser controller/emulator abstraction for PHP
behat/mink-browserkit-driver v1.3.2 Symfony2 BrowserKit driver for Mink framework
behat/mink-extension v2.2 Mink extension for Behat
behat/mink-goutte-driver v1.2.1 Goutte driver for Mink framework
behat/mink-selenium2-driver v1.3.1 Selenium2 (WebDriver) driver for Mink framework
behat/symfony2-extension 2.1.1 Symfony2 framework extension for Behat
behat/transliterator v1.2.0 String transliterator
composer/ca-bundle 1.0.7 Lets you find a path to the system CA bundle, an

Location tab markup and behavior

Expected markup:

<form action="/admin/content/locations" method="post">
  <div class="ez-list-toolbar">
    <h2 class="ez-list-toolbar-label">Content locations</h2>
    <div class="ez-list-toolbar-tools">
      <input type="hidden" name="contentId" value="41"><!-- unsure if it's neeeded -->
<keybind key="XF86AudioPrev">
<action name="Execute">
<execute>dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous</execute>
</action>
</keybind>
<?xml version="1.0" encoding="UTF-8"?>
<ErrorMessage media-type="application/vnd.ez.api.ErrorMessage+xml">
<errorCode>404</errorCode>
<errorMessage>Not Found</errorMessage>
<errorDescription>Could not find 'location' with identifier ''</errorDescription>
<trace>#0 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/ExceptionConversion.php(59): eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\DoctrineDatabase-&gt;getBasicNodeData('')
#1 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/TreeHandler.php(156): eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\ExceptionConversion-&gt;getBasicNodeData('')
#2 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Handler.php(111): eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler-&gt;loadLocation('')
#3 /home/dp/dev/ezplatform/app/cache/dev/appDevDebugProjectContainer
Running "copy:alloy-skin" (copy) task
Created 2 directories, copied 3 files
Running "copy:alloy-override" (copy) task
Copied 2 files
Running "shell:alloy-generateskin" (shell) task
[10:17:29] Using gulpfile ~/dev/alloy-editor/gulpfile.js
[10:17:29] Starting 'build-css'...
[10:17:29] Starting 'generate-fonts'...
<?php
namespace DP\TestCommandsBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class CreateRichTextCustomTagCommand extends ContainerAwareCommand
{
diff --git a/Resources/public/js/views/ez-discoverybarview.js b/Resources/public/js/views/ez-discoverybarview.js
index 0fdea61..fb93e0e 100644
--- a/Resources/public/js/views/ez-discoverybarview.js
+++ b/Resources/public/js/views/ez-discoverybarview.js
@@ -45,19 +45,19 @@ YUI.add('ez-discoverybarview', function (Y) {
new Y.eZ.ButtonActionView({
actionId: "minimizeDiscoveryBar",
disabled: false,
- label: Y.eZ.Translator.trans('tree.minimize', {}, 'editorial'),
+ label: Y.eZ.Translator.trans('discoverybar.minimize', {}, 'editorial'),
Using worker: worker-linux-docker-d7734e2e.prod.travis-ci.org:travis-linux-7
travis_fold:start:system_info
Build system information
Build language: php
Build group: stable
Build dist: precise
Build image provisioning date and time
Thu Feb 5 15:09:33 UTC 2015
Operating System Details
{
"Content": {
"_media-type": "application\/vnd.ez.api.Content+json",
"_href": "\/api\/ezp\/v2\/content\/objects\/14",
"_remoteId": "1bb4fe25487f05527efa8bfd394cecc7",
"_id": 14,
"ContentType": {
"_media-type": "application\/vnd.ez.api.ContentType+json",
"_href": "\/api\/ezp\/v2\/content\/types\/4"
},
@dpobel
dpobel / create-rich-text-type.sh
Last active August 29, 2015 14:21
Some resources to use RichText fields in eZ Platform
curl 'http://ez.loc/api/ezp/v2/content/typegroups/1/types?publish=true' -X POST \
-i -d @richtexttesttype.json \
-H 'X-CSRF-Token: m2gcsBYLoJXjzoc4lOL4GmHtYoVxJ5MA-zz-jiXOfoQ' \
-H 'Accept: application/vnd.ez.api.ContentType+json' \
-H 'Cookie: is_logged_in=true; eZSESSID=g8e7539e0ub73et4ujd50ea417' \
-H 'Content-Type: application/vnd.ez.api.ContentTypeCreate+json'