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
<?php | |
declare(strict_types=1); | |
namespace AppBundle\EventSubscriber\Blocks; | |
use Ibexa\FieldTypePage\Event\BlockResponseEvent; | |
use Ibexa\FieldTypePage\Event\BlockResponseEvents; | |
use Ibexa\FieldTypePage\Exception\BlockRenderException; | |
use Ibexa\FieldTypePage\FieldType\Page\Service\BlockService; |
vcl:
sub vcl_backend_response {
//..
# For static content strip all backend cookies and push to static storage
if (bereq.url ~ "\.(css|js|png|gif|jp(e?)g)|swf|ico") {
unset beresp.http.cookie;
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
<?php | |
declare(strict_types=1); | |
namespace App\Query\Visitors; | |
use eZ\Publish\API\Repository\Values\Content\Query\Criterion; | |
use eZ\Publish\Core\Base\Exceptions\InvalidArgumentException; | |
use eZ\Publish\Core\Search\Common\FieldNameResolver; | |
use eZ\Publish\Core\Search\Common\FieldValueMapper; |
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/src/lib/Gateway/MigrationMetadata/DoctrineGateway.php b/src/lib/Gateway/MigrationMetadata/DoctrineGateway.php | |
index 68c010c..725bd4e 100644 | |
--- a/src/lib/Gateway/MigrationMetadata/DoctrineGateway.php | |
+++ b/src/lib/Gateway/MigrationMetadata/DoctrineGateway.php | |
@@ -74,7 +74,7 @@ final class DoctrineGateway | |
: null; | |
$executionTime = isset($row[SchemaProvider::MIGRATION_METADATA_EXECUTION_TIME_COLUMN]) | |
- ? (float) ($row[SchemaProvider::MIGRATION_METADATA_EXECUTION_TIME_COLUMN] / 1000) | |
+ ? (float) ($row[SchemaProvider::MIGRATION_METADATA_EXECUTION_TIME_COLUMN]) |
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/src/bundle/Resources/config/services/step_executors.yaml b/src/bundle/Resources/config/services/step_executors.yaml | |
index 206aa87..571f083 100644 | |
--- a/src/bundle/Resources/config/services/step_executors.yaml | |
+++ b/src/bundle/Resources/config/services/step_executors.yaml | |
@@ -42,6 +42,8 @@ services: | |
$defaultUserLogin: '%ibexa.migrations.default.user_login%' | |
Ibexa\Platform\Migration\StepExecutor\ContentUpdateStepExecutor: | |
+ arguments: | |
+ $actionExecutor: '@Ibexa\Platform\Migration\StepExecutor\ActionExecutor\Content\Create\Executor' |
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
<?php | |
declare(strict_types=1); | |
namespace App\Actions\Location; | |
use Ibexa\Platform\Migration\ValueObject\Step\Action; | |
final class AssignContentLocations implements Action | |
{ |
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
{ | |
"type": "project", | |
"license": "proprietary", | |
"minimum-stability": "stable", | |
"prefer-stable": true, | |
"require": { | |
"php": ">=7.3", | |
"ext-ctype": "*", | |
"ext-iconv": "*", | |
"composer/package-versions-deprecated": "1.11.99.3", |
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
<?php | |
//execute the script with: php bin/console ezplatform:createuser | |
// SEE and adapt everything marked as !!!!!!IMPORTANT!!!!!!!! | |
// set all required field in "ezcontentclass_attribute" to 0 , only for user attributes | |
namespace AppBundle\Command; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
NewerOlder