Skip to content

Commit

Permalink
composer create-project ibexa/experience-skeleton:3.3.15 ./ --no-install
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendupuis committed Feb 23, 2022
1 parent d56a95e commit 31b18ab
Show file tree
Hide file tree
Showing 79 changed files with 6,495 additions and 10,148 deletions.
108 changes: 57 additions & 51 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=772ef243856f2699d6562b59f6124e63
APP_SECRET=d38c7c968a23be776f69cc8c470e09d0
###< symfony/framework-bundle ###

###> symfony/mailer ###
Expand All @@ -27,50 +27,10 @@ APP_SECRET=772ef243856f2699d6562b59f6124e63
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7"
DATABASE_URL="postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8"
# DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7&charset=utf8mb4"
DATABASE_URL="postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8"
###< doctrine/doctrine-bundle ###

###> google/recaptcha ###
# To use Google Recaptcha, you must register a site on Recaptcha's admin panel:
# https://www.google.com/recaptcha/admin
GOOGLE_RECAPTCHA_SITE_KEY=
GOOGLE_RECAPTCHA_SECRET=
###< google/recaptcha ###

###> excelwebzone/recaptcha-bundle ###
EWZ_RECAPTCHA_SITE_KEY=
EWZ_RECAPTCHA_SECRET=
###< excelwebzone/recaptcha-bundle ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###

###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=null://localhost
###< symfony/swiftmailer-bundle ###

###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=e6f7c4674b3d8a1a98774ac85d3b3d93
###< lexik/jwt-authentication-bundle ###

###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=semaphore
###< symfony/lock ###

###> nelmio/solarium-bundle ###
SOLR_HOST=localhost
SOLR_CORE=example
###< nelmio/solarium-bundle ###

###> ibexa/oss ###
SEARCH_ENGINE=legacy
# Uncomment following line if you want to change the purge type.
Expand All @@ -80,15 +40,17 @@ SEARCH_ENGINE=legacy
HTTPCACHE_DEFAULT_TTL=86400
HTTPCACHE_PURGE_SERVER=http://localhost:80
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
CACHE_POOL=cache.tagaware.filesystem
# When using redis or memcached adapters, you can configure it using DSN:
# When using Redis or memcached adapter, you can configure it using DSN:
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
CACHE_DSN=localhost
CACHE_NAMESPACE=ezp
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to avoid it opening connection during situations where there is no service yet.
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
DATABASE_VERSION=mariadb-10.3.0
SESSION_HANDLER_ID=session.handler.native_file
Expand All @@ -106,15 +68,17 @@ SEARCH_ENGINE=legacy
HTTPCACHE_DEFAULT_TTL=86400
HTTPCACHE_PURGE_SERVER=http://localhost:80
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
CACHE_POOL=cache.tagaware.filesystem
# When using redis or memcached adapters, you can configure it using DSN:
# When using Redis or memcached adapter, you can configure it using DSN:
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
CACHE_DSN=localhost
CACHE_NAMESPACE=ezp
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to avoid it opening connection during situations where there is no service yet.
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
DATABASE_VERSION=mariadb-10.3.0
SESSION_HANDLER_ID=session.handler.native_file
Expand All @@ -135,7 +99,7 @@ SISO_SEARCH_SOLR_CORE=collection1
# Do not add 'solr' to the path. It is automatically added by SolariumBundle
SISO_SEARCH_SOLR_PATH=
# SolariumBundle Solr DSN configuration
# Note that /solr suffix will be appended autmatically to eZ Platform Solr Search Engine Bundle configuration
# Note that the /solr suffix will be appended automatically to eZ Platform Solr Search Engine Bundle configuration
SOLR_DSN=http://${SISO_SEARCH_SOLR_HOST}:${SISO_SEARCH_SOLR_PORT}${SISO_SEARCH_SOLR_PATH}
JMS_PAYMENT_SECRET=def00000706ea7318427e72fcea2c8ceb86773a4310e35119c48e3029196acfead1ba8cc898f48d1ef9cb3f7ebe191ab46eaf67ec94a2b6bd17c079ac7277de0175b9e3e
###< ibexa/content ###
Expand All @@ -149,15 +113,17 @@ SEARCH_ENGINE=legacy
HTTPCACHE_DEFAULT_TTL=86400
HTTPCACHE_PURGE_SERVER=http://localhost:80
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
CACHE_POOL=cache.tagaware.filesystem
# When using redis or memcached adapters, you can configure it using DSN:
# When using Redis or memcached adapter, you can configure it using DSN:
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
CACHE_DSN=localhost
CACHE_NAMESPACE=ezp
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to avoid it opening connection during situations where there is no service yet.
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
DATABASE_VERSION=mariadb-10.3.0
SESSION_HANDLER_ID=session.handler.native_file
Expand All @@ -177,7 +143,47 @@ SISO_SEARCH_SOLR_CORE=collection1
# Do not add 'solr' to the path. It is automatically added by SolariumBundle
SISO_SEARCH_SOLR_PATH=
# SolariumBundle Solr DSN configuration
# Note that /solr suffix will be appended autmatically to eZ Platform Solr Search Engine Bundle configuration
# Note that the /solr suffix will be appended automatically to eZ Platform Solr Search Engine Bundle configuration
SOLR_DSN=http://${SISO_SEARCH_SOLR_HOST}:${SISO_SEARCH_SOLR_PORT}${SISO_SEARCH_SOLR_PATH}
JMS_PAYMENT_SECRET=def00000706ea7318427e72fcea2c8ceb86773a4310e35119c48e3029196acfead1ba8cc898f48d1ef9cb3f7ebe191ab46eaf67ec94a2b6bd17c079ac7277de0175b9e3e
###< ibexa/experience ###

###> google/recaptcha ###
# To use Google Recaptcha, you must register a site on Recaptcha's admin panel:
# https://www.google.com/recaptcha/admin
GOOGLE_RECAPTCHA_SITE_KEY=
GOOGLE_RECAPTCHA_SECRET=
###< google/recaptcha ###

###> excelwebzone/recaptcha-bundle ###
EWZ_RECAPTCHA_SITE_KEY=
EWZ_RECAPTCHA_SECRET=
###< excelwebzone/recaptcha-bundle ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###

###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=null://localhost
###< symfony/swiftmailer-bundle ###

###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=9e36a8950a71c5a5873b69a41260d73d
###< lexik/jwt-authentication-bundle ###

###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=semaphore
###< symfony/lock ###

###> nelmio/solarium-bundle ###
SOLR_HOST=localhost
SOLR_CORE=example
###< nelmio/solarium-bundle ###
19 changes: 0 additions & 19 deletions .env.local.template

This file was deleted.

10 changes: 0 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
###< symfony/framework-bundle ###

###> symfony/phpunit-bridge ###
.phpunit
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###
Expand All @@ -34,12 +33,3 @@
npm-debug.log
yarn-error.log
###< symfony/webpack-encore-bundle ###

###> adriendupuis/ezplatform-ee-docker ###
auth.json
ide-twig.json
/config/graphql/
/public/assets/build/*
/public/assets/ezplatform/build/*
/public/assets/translations/*
###< adriendupuis/ezplatform-ee-docker ###
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (C) 1999-2020 Ibexa AS (formerly eZ Systems AS). All rights reserved.
This source code is available separately under the following licenses:

A - Ibexa Business Use License Agreement (Ibexa BUL),
version 2.3 or later versions (as license terms may be updated from time to time)
version 2.4 or later versions (as license terms may be updated from time to time)
Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,
as described at: https://www.ibexa.co/product
For the full Ibexa BUL license text, please see:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (C) 1999-2020 Ibexa AS (formerly eZ Systems AS). All rights reserved.
This source code is available separately under the following licenses:

A - Ibexa Business Use License Agreement (Ibexa BUL),
version 2.3 or later versions (as license terms may be updated from time to time)
version 2.4 or later versions (as license terms may be updated from time to time)
Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,
as described at: https://www.ibexa.co/product
For the full Ibexa BUL license text, please see:
Expand Down
30 changes: 11 additions & 19 deletions LICENSE-bul
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Ibexa Business Use License Agreement ("Ibexa BUL") Version 2.3
Ibexa Business Use License Agreement ("Ibexa BUL") Version 2.4


IMPORTANT: Please read the following license agreement carefully.

This Ibexa Business License Agreement (“Ibexa BUL”) is between Ibexa AS
(Norwegian business registration no. 981601564, formerly eZ Systems AS),
a Norwegian company ("Licensor", “Ibexa” or “we”), and the customer ("Licensee"
(Norwegian business registration no. 981601564), a Norwegian company
("Licensor", “Ibexa” or “we”), and the customer ("Licensee"
or "you"). By installing all or any portion of the Licensed Software (or
authorizing any other person to do so), you accept the terms and conditions of
this Ibexa BUL. If you acquired the Licensed Software without an opportunity to
Expand All @@ -25,20 +25,15 @@ eZ Publish Platform) downloaded, ordered or otherwise legally acquired

"Licensed Copy" means one sample of the Licensed Software.

"Subscription Agreement" means the Ibexa Digital Experience Platform (DXP)
Subscription Agreement, or other applicable Ibexa subscription (such as eZ
Enterprise or eZ Platform Enterprise Subscription Agreement), entitling
you to a BUL to the Licensed Software.

2. License grant

2.1 You may
If you have entered into an Ibexa Subscription Agreement, you have paid the
correct fees and you comply with the terms of this Ibexa BUL, we grant you a
limited, non-exclusive and non-transferable right to:

(a) install and run the Licensed Copy on the agreed number of websites
or with the agreed number of database content objects; and
(a) install and run the Licensed Copy according to the terms
defined by the Ibexa Subscription Agreement

(b) modify or make improvements, patches, workarounds and bug fixes
(collectively "Licensee Modifications") to the Licensed Copy, or permit
Expand Down Expand Up @@ -78,11 +73,8 @@ not use the Licensed Software.
Please see the Ibexa Subscription Agreement for the prices and terms of payment,
that apply.

Within six months of the termination or expiration of any such Ibexa
Subscription Agreement, all use of the Licensed Software has to stop,
unless the Ibexa Subscription Agreement is renewed within such six month
period. During this six month period, Ibexa is not liable for any loss
or damage (of any kind) with you.
All use of the Licensed Software has to stop immediately after the termination or
expiration of any such Ibexa Subscription Agreement.

5. Audit rights
To make sure everyone is contributing their part to enable us to
Expand Down Expand Up @@ -115,7 +107,7 @@ Software, and confirm the destruction within 7 (seven) days.
7. Intellectual property rights
You agree that no copyright, other intellectual property or proprietary
rights in the Licensed Software and related documentation are
transferred to you. No trademarks of Ibexa may be used by you without Ibexa’
transferred to you. No trademarks of Ibexa may be used by you without Ibexa’s
express written permission. If permission is granted, use must always
take place in accordance with our guidelines as they may be updated from
time to time. For Licensee Modifications, you must, in the modified
Expand All @@ -132,7 +124,7 @@ accuracy of informational content. We do not warrant that the Licensed
Software will meet your requirements or that the operation of it will be
uninterrupted or error-free, or that errors will be corrected. The
entire risk of the Licensed Software's quality and performance is
therefore with you
therefore with you.

9. Limitation of liability
To the extent permitted by law, we do not have liability with respect to
Expand All @@ -159,7 +151,7 @@ any third party supplier Ibexa is distributing software for, or other
licensee, alleging that the Licensed Software infringes a patent.

10.2 Transfer
Without Ibexa’ written permission, you may not sublicense or otherwise
Without Ibexa’s written permission, you may not sublicense or otherwise
transfer your rights and obligations under this Ibexa BUL to any other
person or party. Any attempt by you to do so, will terminate this Ibexa BUL
without further notice. Ibexa may assign its rights hereunder at any time
Expand Down Expand Up @@ -210,7 +202,7 @@ You are responsible for complying with any applicable local laws,
including export and import regulations.

10.7 Entire agreement
This Ibexa BUL comprises the entire agreement, and replaces all earlier
This Ibexa BUL and Ibexa Subscription Agreement comprise the entire agreement, and replace all earlier
proposals, understandings and agreements, oral and written, between us.

10.8 Update of terms
Expand Down
10 changes: 8 additions & 2 deletions assets/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import { startStimulusApp } from '@symfony/stimulus-bridge';
import '@symfony/autoimport';

// Registers Stimulus controllers from controllers.json and in the controllers/ directory
export const app = startStimulusApp(require.context('./controllers', true, /\.(j|t)sx?$/));
export const app = startStimulusApp(require.context(
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
true,
/\.[jt]sx?$/
));

// register any custom, 3rd party controllers here
// app.register('some_controller_name', SomeImportedController);
2 changes: 1 addition & 1 deletion assets/controllers/hello_controller.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller } from 'stimulus';
import { Controller } from '@hotwired/stimulus';

/*
* This is an example Stimulus controller!
Expand Down
40 changes: 7 additions & 33 deletions bin/console
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,15 @@

use App\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Dotenv\Dotenv;
use Symfony\Component\ErrorHandler\Debug;

if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL;
if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
}

set_time_limit(0);
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';

require dirname(__DIR__).'/vendor/autoload.php';
return function (array $context) {
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);

if (!class_exists(Application::class) || !class_exists(Dotenv::class)) {
throw new LogicException('You need to add "symfony/framework-bundle" and "symfony/dotenv" as Composer dependencies.');
}

$input = new ArgvInput();
if (null !== $env = $input->getParameterOption(['--env', '-e'], null, true)) {
putenv('APP_ENV='.$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $env);
}

if ($input->hasParameterOption('--no-debug', true)) {
putenv('APP_DEBUG='.$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = '0');
}

(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');

if ($_SERVER['APP_DEBUG']) {
umask(0000);

if (class_exists(Debug::class)) {
Debug::enable();
}
}

$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$application = new Application($kernel);
$application->run($input);
return new Application($kernel);
};
Loading

0 comments on commit 31b18ab

Please sign in to comment.