Skip to content

Commit 806c129

Browse files
committed
Template for vv3.3.44
1 parent d2de05b commit 806c129

File tree

128 files changed

+28181
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+28181
-23
lines changed

.env

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
# In all environments, the following files are loaded if they exist,
2+
# the latter taking precedence over the former:
3+
#
4+
# * .env contains default values for the environment variables needed by the app
5+
# * .env.local uncommitted file with local overrides
6+
# * .env.$APP_ENV committed environment-specific defaults
7+
# * .env.$APP_ENV.local uncommitted environment-specific overrides
8+
#
9+
# Real environment variables win over .env files.
10+
#
11+
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12+
# https://symfony.com/doc/current/configuration/secrets.html
13+
#
14+
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
15+
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
16+
17+
###> symfony/framework-bundle ###
18+
APP_ENV=dev
19+
APP_SECRET=23f6ea3e37015edf47b583cad1f2a26c
20+
###< symfony/framework-bundle ###
21+
22+
###> ibexa/oss ###
23+
SEARCH_ENGINE=legacy
24+
# Uncomment following line if you want to change the purge type.
25+
# By default it will use `local` purge when running locally
26+
# and `varnish` for Platform.sh installations.
27+
# HTTPCACHE_PURGE_TYPE=local
28+
HTTPCACHE_DEFAULT_TTL=86400
29+
HTTPCACHE_PURGE_SERVER=http://localhost:80
30+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
31+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
32+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
33+
CACHE_POOL=cache.tagaware.filesystem
34+
# When using Redis or memcached adapter, you can configure it using DSN:
35+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
36+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
37+
CACHE_DSN=localhost
38+
CACHE_NAMESPACE=ezp
39+
DATABASE_CHARSET=utf8mb4
40+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
41+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
42+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
43+
DATABASE_VERSION=mariadb-10.3.0
44+
SESSION_HANDLER_ID=session.handler.native_file
45+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
46+
SOLR_DSN=http://localhost:8983/solr
47+
SOLR_CORE=collection1
48+
###< ibexa/oss ###
49+
50+
###> ibexa/content ###
51+
SEARCH_ENGINE=legacy
52+
# Uncomment following line if you want to change the purge type.
53+
# By default it will use `local` purge when running locally
54+
# and `varnish` for Platform.sh installations.
55+
# HTTPCACHE_PURGE_TYPE=local
56+
HTTPCACHE_DEFAULT_TTL=86400
57+
HTTPCACHE_PURGE_SERVER=http://localhost:80
58+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
59+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
60+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
61+
CACHE_POOL=cache.tagaware.filesystem
62+
# When using Redis or memcached adapter, you can configure it using DSN:
63+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
64+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
65+
CACHE_DSN=localhost
66+
CACHE_NAMESPACE=ezp
67+
DATABASE_CHARSET=utf8mb4
68+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
69+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
70+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
71+
DATABASE_VERSION=mariadb-10.3.0
72+
SESSION_HANDLER_ID=session.handler.native_file
73+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
74+
SOLR_CORE=collection1
75+
# Enable recommendations by setting valid id, key and uri
76+
RECOMMENDATION_CUSTOMER_ID=0
77+
RECOMMENDATION_LICENSE_KEY=
78+
RECOMMENDATION_HOST_URI=
79+
ELASTICSEARCH_DSN=http://localhost:9200
80+
# Enable fastly by setting valid service_id and key
81+
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
82+
# FASTLY_SERVICE_ID=""
83+
# FASTLY_KEY=""
84+
SISO_SEARCH_SOLR_HOST=localhost
85+
SISO_SEARCH_SOLR_PORT=8983
86+
SISO_SEARCH_SOLR_CORE=collection1
87+
# Do not add 'solr' to the path. It is automatically added by SolariumBundle
88+
SISO_SEARCH_SOLR_PATH=
89+
# SolariumBundle Solr DSN configuration
90+
# Note that the /solr suffix will be appended automatically to eZ Platform Solr Search Engine Bundle configuration
91+
SOLR_DSN=http://${SISO_SEARCH_SOLR_HOST}:${SISO_SEARCH_SOLR_PORT}${SISO_SEARCH_SOLR_PATH}
92+
JMS_PAYMENT_SECRET=def00000706ea7318427e72fcea2c8ceb86773a4310e35119c48e3029196acfead1ba8cc898f48d1ef9cb3f7ebe191ab46eaf67ec94a2b6bd17c079ac7277de0175b9e3e
93+
###< ibexa/content ###
94+
95+
###> ibexa/experience ###
96+
SEARCH_ENGINE=legacy
97+
# Uncomment following line if you want to change the purge type.
98+
# By default it will use `local` purge when running locally
99+
# and `varnish` for Platform.sh installations.
100+
# HTTPCACHE_PURGE_TYPE=local
101+
HTTPCACHE_DEFAULT_TTL=86400
102+
HTTPCACHE_PURGE_SERVER=http://localhost:80
103+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
104+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
105+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
106+
CACHE_POOL=cache.tagaware.filesystem
107+
# When using Redis or memcached adapter, you can configure it using DSN:
108+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
109+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
110+
CACHE_DSN=localhost
111+
CACHE_NAMESPACE=ezp
112+
DATABASE_CHARSET=utf8mb4
113+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
114+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
115+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
116+
DATABASE_VERSION=mariadb-10.3.0
117+
SESSION_HANDLER_ID=session.handler.native_file
118+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
119+
SOLR_CORE=collection1
120+
# Enable recommendations by setting valid id, key and uri
121+
RECOMMENDATION_CUSTOMER_ID=0
122+
RECOMMENDATION_LICENSE_KEY=
123+
ELASTICSEARCH_DSN=http://localhost:9200
124+
# Enable fastly by setting valid service_id and key
125+
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
126+
# FASTLY_SERVICE_ID=""
127+
# FASTLY_KEY=""
128+
SISO_SEARCH_SOLR_HOST=localhost
129+
SISO_SEARCH_SOLR_PORT=8983
130+
SISO_SEARCH_SOLR_CORE=collection1
131+
# Do not add 'solr' to the path. It is automatically added by SolariumBundle
132+
SISO_SEARCH_SOLR_PATH=
133+
# SolariumBundle Solr DSN configuration
134+
# Note that the /solr suffix will be appended automatically to eZ Platform Solr Search Engine Bundle configuration
135+
SOLR_DSN=http://${SISO_SEARCH_SOLR_HOST}:${SISO_SEARCH_SOLR_PORT}${SISO_SEARCH_SOLR_PATH}
136+
JMS_PAYMENT_SECRET=def00000706ea7318427e72fcea2c8ceb86773a4310e35119c48e3029196acfead1ba8cc898f48d1ef9cb3f7ebe191ab46eaf67ec94a2b6bd17c079ac7277de0175b9e3e
137+
###< ibexa/experience ###
138+
139+
###> ibexa/commerce ###
140+
SEARCH_ENGINE=legacy
141+
# Uncomment following line if you want to change the purge type.
142+
# By default it will use `local` purge when running locally
143+
# and `varnish` for Platform.sh installations.
144+
# HTTPCACHE_PURGE_TYPE=local
145+
HTTPCACHE_DEFAULT_TTL=86400
146+
HTTPCACHE_PURGE_SERVER=http://localhost:80
147+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
148+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
149+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
150+
CACHE_POOL=cache.tagaware.filesystem
151+
# When using Redis or memcached adapter, you can configure it using DSN:
152+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
153+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
154+
CACHE_DSN=localhost
155+
CACHE_NAMESPACE=ezp
156+
DATABASE_CHARSET=utf8mb4
157+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
158+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
159+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
160+
DATABASE_VERSION=mariadb-10.3.0
161+
SESSION_HANDLER_ID=session.handler.native_file
162+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
163+
SOLR_CORE=collection1
164+
# Enable recommendations by setting valid id, key and uri
165+
RECOMMENDATION_CUSTOMER_ID=0
166+
RECOMMENDATION_LICENSE_KEY=
167+
RECOMMENDATION_HOST_URI=
168+
ELASTICSEARCH_DSN=http://localhost:9200
169+
# Enable fastly by setting valid service_id and key
170+
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
171+
# FASTLY_SERVICE_ID=""
172+
# FASTLY_KEY=""
173+
SISO_SEARCH_SOLR_HOST=localhost
174+
SISO_SEARCH_SOLR_PORT=8983
175+
SISO_SEARCH_SOLR_CORE=collection1
176+
# Do not add 'solr' to the path. It is automatically added by SolariumBundle
177+
SISO_SEARCH_SOLR_PATH=
178+
# SolariumBundle Solr DSN configuration
179+
# Note that the /solr suffix will be appended automatically to eZ Platform Solr Search Engine Bundle configuration
180+
SOLR_DSN=http://${SISO_SEARCH_SOLR_HOST}:${SISO_SEARCH_SOLR_PORT}${SISO_SEARCH_SOLR_PATH}
181+
JMS_PAYMENT_SECRET=def00000706ea7318427e72fcea2c8ceb86773a4310e35119c48e3029196acfead1ba8cc898f48d1ef9cb3f7ebe191ab46eaf67ec94a2b6bd17c079ac7277de0175b9e3e
182+
###< ibexa/commerce ###
183+
184+
###> google/recaptcha ###
185+
# To use Google Recaptcha, you must register a site on Recaptcha's admin panel:
186+
# https://www.google.com/recaptcha/admin
187+
GOOGLE_RECAPTCHA_SITE_KEY=
188+
GOOGLE_RECAPTCHA_SECRET=
189+
###< google/recaptcha ###
190+
191+
###> excelwebzone/recaptcha-bundle ###
192+
EWZ_RECAPTCHA_SITE_KEY=
193+
EWZ_RECAPTCHA_SECRET=
194+
###< excelwebzone/recaptcha-bundle ###
195+
196+
###> nelmio/cors-bundle ###
197+
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
198+
###< nelmio/cors-bundle ###
199+
200+
###> doctrine/doctrine-bundle ###
201+
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
202+
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
203+
#
204+
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db"
205+
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4"
206+
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
207+
###< doctrine/doctrine-bundle ###
208+
209+
###> symfony/swiftmailer-bundle ###
210+
# For Gmail as a transport, use: "gmail://username:password@localhost"
211+
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
212+
# Delivery is disabled by default via "null://localhost"
213+
MAILER_URL=null://localhost
214+
###< symfony/swiftmailer-bundle ###
215+
216+
###> lexik/jwt-authentication-bundle ###
217+
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
218+
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
219+
JWT_PASSPHRASE=7c9e56c192499b06a2bf466255ce93cd48cd98de7ca8ad15f7b9fedfab1dd42f
220+
###< lexik/jwt-authentication-bundle ###
221+
222+
###> symfony/lock ###
223+
# Choose one of the stores below
224+
# postgresql+advisory://db_user:db_password@localhost/db_name
225+
LOCK_DSN=flock
226+
###< symfony/lock ###
227+
228+
###> nelmio/solarium-bundle ###
229+
SOLR_HOST=localhost
230+
SOLR_CORE=example
231+
###< nelmio/solarium-bundle ###

.env.dev

Whitespace-only changes.

.github/pull_request_template.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
| Question | Answer
2+
| ---------------------------------------- | ------------------
3+
| **JIRA issue** | EZP-XXXXX
4+
| **Type** | feature/bug/improvement
5+
| **Target Ibexa version** | `v3.x` - please update `x` accordingly
6+
| **BC breaks** | yes/no
7+
| **Doc needed** | yes/no
8+
9+
<!-- Replace this comment with Pull Request description -->
10+
11+
#### Checklist:
12+
- [ ] Provided PR description.
13+
- [ ] Tested the solution manually.
14+
- [ ] Checked that target branch is set correctly.
15+
- [ ] Asked for a review (ping `@ibexa/engineering`).

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
###> symfony/framework-bundle ###
3+
/.env.local
4+
/.env.local.php
5+
/.env.*.local
6+
/config/secrets/prod/prod.decrypt.private.php
7+
/public/bundles/
8+
/var/
9+
/vendor/
10+
###< symfony/framework-bundle ###
11+
12+
###> liip/imagine-bundle ###
13+
/public/media/cache/
14+
###< liip/imagine-bundle ###
15+
16+
###> lexik/jwt-authentication-bundle ###
17+
/config/jwt/*.pem
18+
###< lexik/jwt-authentication-bundle ###
19+
20+
###> symfony/webpack-encore-bundle ###
21+
/node_modules/
22+
/public/build/
23+
npm-debug.log
24+
yarn-error.log
25+
###< symfony/webpack-encore-bundle ###

README.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,38 @@
1-
# Ibexa DXP Commerce skeleton
1+
# Ibexa Flex website skeleton
22

3-
This is a website skeleton for Ibexa DXP Commerce edition. It requires a subscription.
4-
5-
Learn more about [Ibexa DXP](https://www.ibexa.co/products).
3+
This is a Symfony Flex website skeleton allowing installation of all editions of
4+
[Ibexa DXP](https://www.ibexa.co/products) and Ibexa Open Source.
65

76
## Installation
87

9-
Create a new project using composer:
10-
```
11-
composer create-project ibexa/commerce-skeleton ibexa_website
12-
```
8+
For installation instructions of Ibexa DXP see either
9+
[the official documentation](https://doc.ibexa.co/) or packages for specific editions:
10+
* [Ibexa Content](https://github.com/ibexa/content)
11+
* [Ibexa Experience](https://github.com/ibexa/experience)
12+
* [Ibexa Commerce](https://github.com/ibexa/commerce)
13+
14+
Ibexa DXP is licensed under Ibexa Business Use License Agreement (Ibexa BUL) and requires
15+
a subscription. Learn more about [Ibexa DXP](https://www.ibexa.co/products).
16+
17+
For installation instructions of Ibexa Open Source see [ibexa/oss](https://github.com/ibexa/oss)
18+
package.
1319

1420
## COPYRIGHT
15-
Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.
21+
Copyright (C) 1999-2021 Ibexa AS (formerly eZ Systems AS). All rights reserved.
1622

1723
## LICENSE
1824
This source code is available separately under the following licenses:
1925

2026
A - Ibexa Business Use License Agreement (Ibexa BUL),
21-
version 2.4 or later versions (as license terms may be updated from time to time)
27+
version 2.3 or later versions (as license terms may be updated from time to time)
2228
Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,
2329
as described at: https://www.ibexa.co/product
2430
For the full Ibexa BUL license text, please see:
25-
- LICENSE-bul file placed in the root of this source code, or
26-
- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
31+
https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
2732

2833
AND
2934

30-
B - Ibexa Trial and Test License Agreement (Ibexa TTL),
31-
version 2.2 or later versions (as license terms may be updated from time to time)
32-
Trial can be granted by Ibexa, reach out to Ibexa AS for evaluation access: https://www.ibexa.co/about-ibexa/contact-us
33-
For the full Ibexa TTL license text, please see:
35+
B - GNU General Public License, version 2
36+
Grants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:
3437
- LICENSE file placed in the root of this source code, or
35-
- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
38+
- https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

assets/app.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Welcome to your app's main JavaScript file!
3+
*
4+
* We recommend including the built version of this JavaScript file
5+
* (and its CSS file) in your base layout (base.html.twig).
6+
*/
7+
8+
// any CSS you import will output into a single css file (app.css in this case)
9+
import './styles/app.css';
10+
11+
// start the Stimulus application
12+
import './bootstrap';

assets/bootstrap.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { startStimulusApp } from '@symfony/stimulus-bridge';
2+
3+
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
4+
export const app = startStimulusApp(require.context(
5+
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
6+
true,
7+
/\.[jt]sx?$/
8+
));
9+
10+
// register any custom, 3rd party controllers here
11+
// app.register('some_controller_name', SomeImportedController);

assets/controllers.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"controllers": [],
3+
"entrypoints": []
4+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { Controller } from '@hotwired/stimulus';
2+
3+
/*
4+
* This is an example Stimulus controller!
5+
*
6+
* Any element with a data-controller="hello" attribute will cause
7+
* this controller to be executed. The name "hello" comes from the filename:
8+
* hello_controller.js -> "hello"
9+
*
10+
* Delete this file or adapt it for your use!
11+
*/
12+
export default class extends Controller {
13+
connect() {
14+
this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';
15+
}
16+
}
Lines changed: 12 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)