This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # adapte l'URL et ton password | |
| curl 'http://ezpublish5.loc/api/ezp/v2/user/sessions' -H 'Content-Type: application/vnd.ez.api.SessionInput+json' -H 'Accept: application/xml' --data-binary '{"SessionInput":{"login":"admin","password":"ezpublish"}}' | |
| # adapte l'URL, le nom de la session et l'identifiant | |
| curl 'http://ezpublish5.loc/api/ezp/v2/user/users/14' -H 'Accept: application/vnd.ez.api.User+json' -H 'Cookie: eZSESSID=v4cpacftmk0148pg7ferpstkm4' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png" /> | |
| <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png" /> | |
| <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png" /> | |
| <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png" /> | |
| <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png" /> | |
| <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png" /> | |
| <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png" /> | |
| <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png" /> | |
| <link rel="icon" type="image/png" href="/favicon-196x196.png" sizes="196x196" /> | |
| <link rel="icon" type="image/png" href="/favicon-160x160.png" sizes="160x160" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://yui.yahooapis.com/3.10.3/build/yui/yui.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <pre></pre> | |
| <script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/bin/shell/common.sh b/bin/shell/common.sh | |
| index 57149b8..f5330ef 100755 | |
| --- a/bin/shell/common.sh | |
| +++ b/bin/shell/common.sh | |
| @@ -1,13 +1,13 @@ | |
| #!/bin/bash | |
| -VERSION="5.1.0alpha1" | |
| +VERSION="5.2.0alpha1" | |
| VERSION_RELEASE="0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YUI.add('ez-stuff', function (Y) { | |
| "use strict"; | |
| var L = Y.Lang, | |
| MY_CLASS = 'ez-stuff-renderer'; | |
| /** | |
| * Provides Y.eZ.Stuff | |
| * | |
| * @module ez-stuff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ phpunit --coverage-text eZ/Publish/Core/SignalSlot/Tests/ | |
| PHPUnit 3.7.10 by Sebastian Bergmann. | |
| Configuration read from /home/dp/dev/ezpublish5/vendor/ezsystems/ezpublish-kernel/phpunit.xml | |
| ............................................................... 63 / 243 ( 25%) | |
| ............................................................... 126 / 243 ( 51%) | |
| ............................................................... 189 / 243 ( 77%) | |
| ...................................................... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "languageCode" : "eng-GB", | |
| "fieldDefinitionIdentifier" : "image", | |
| "fieldValue" : { | |
| "variants" : [ | |
| { | |
| "variant" : "original", | |
| "url" : "http://example.com/fancy_site/original/images/{path}", | |
| "contentType" : "image/jpeg" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "ContentCreate": { | |
| "ContentType": { | |
| "_href": "/content/types/26" | |
| }, | |
| "mainLanguageCode": "eng-GB", | |
| "LocationCreate": { | |
| "ParentLocation": { | |
| "_href": "/content/locations/1/43/52" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 11 SELECT `ezuser_role`.`contentobject_id` `ezuser_role_contentobject_id`, `ezrole`.`id` `ezrole_id`, `ezrole`.`name` `ezrole_name`, `ezpolicy`.`id` `ezpolicy_id`, `ezpolicy`.`function_name` `ezpolicy_function_name`, `ezpolicy`.`module_name` `ezpolicy_module_name`, `ezpolicy_limitation`.`identifier` `ezpolicy_limitation_identifier`, `ezpolicy_limitation_value`.`value` `ezpolicy_limitation_value_value` FROM `ezuser_role` AS `ezuser_role_search` LEFT JOIN `ezrole` ON `ezrole`.`id` = `ezuser_role_search`.`role_id` LEFT JOIN `ezuser_role` ON `ezuser_role`.`role_id` = `ezrole`.`id` LEFT JOIN `ezpolicy` ON `ezpolicy`.`role_id` = `ezrole`.`id` LEFT JOIN `ezpolicy_limitation` ON `ezpolicy_limitation`.`policy_id` = `ezpolicy`.`id` LEFT JOIN `ezpolicy_limitation_value` ON `ezpolicy_limitation_value`.`limitation_id` = `ezpolicy_limitation`.`id` WHERE `ezuser_role_search`.`contentobject_id` IN ( '42' ) | |
| 11 SELECT `ezcontentobject_tree`.`path_string` FROM `ezcontentobject_tree` WHERE `ezcontentobject_tree`.`contentobject_i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <pre id="rest-output"></pre> | |
| <script> | |
| var resource = '/api/ezp/v2/content/objects/102', | |
| log = document.getElementById( 'rest-output' ); | |
| log.innerHTML = "Loading the content info from " + resource + "..."; | |
| var request = new XMLHttpRequest(); | |
| request.open('GET', resource, true); | |
| request.onreadystatechange = function () { |