Skip to content

Commit aaf1eed

Browse files
author
Ibexa Jenkins
committed
Template for v4.6.16
1 parent 1f7fe06 commit aaf1eed

File tree

166 files changed

+33219
-22
lines changed

Some content is hidden

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

166 files changed

+33219
-22
lines changed

.env

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
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=2083d5223ffd3202f71256cf328ed0f9
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+
TRUSTED_PROXIES=127.0.0.1
34+
CACHE_POOL=cache.tagaware.filesystem
35+
# When using Redis or memcached adapter, you can configure it using DSN:
36+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
37+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
38+
CACHE_DSN=localhost
39+
CACHE_NAMESPACE=ibexa
40+
DATABASE_CHARSET=utf8mb4
41+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
42+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
43+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
44+
DATABASE_VERSION=mariadb-10.3.0
45+
SESSION_HANDLER_ID=session.handler.native_file
46+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
47+
SOLR_DSN=http://localhost:8983/solr
48+
SOLR_CORE=collection1
49+
IBEXA_EDITION=oss
50+
###< ibexa/oss ###
51+
52+
###> ibexa/headless ###
53+
SEARCH_ENGINE=legacy
54+
# Uncomment following line if you want to change the purge type.
55+
# By default it will use `local` purge when running locally
56+
# and `varnish` for Platform.sh installations.
57+
# HTTPCACHE_PURGE_TYPE=local
58+
HTTPCACHE_DEFAULT_TTL=86400
59+
HTTPCACHE_PURGE_SERVER=http://localhost:80
60+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
61+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
62+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
63+
TRUSTED_PROXIES=127.0.0.1
64+
CACHE_POOL=cache.tagaware.filesystem
65+
# When using Redis or memcached adapter, you can configure it using DSN:
66+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
67+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
68+
CACHE_DSN=localhost
69+
CACHE_NAMESPACE=ezp
70+
DATABASE_CHARSET=utf8mb4
71+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
72+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
73+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
74+
DATABASE_VERSION=mariadb-10.3.0
75+
SESSION_HANDLER_ID=session.handler.native_file
76+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
77+
SOLR_DSN=http://localhost:8983/solr
78+
SOLR_CORE=collection1
79+
# Enable Personalization by setting valid id, key and uri
80+
PERSONALIZATION_CUSTOMER_ID=0
81+
PERSONALIZATION_LICENSE_KEY=
82+
PERSONALIZATION_HOST_URI=
83+
ELASTICSEARCH_DSN=http://localhost:9200
84+
# Enable fastly by setting valid service_id and key
85+
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
86+
# FASTLY_SERVICE_ID=""
87+
# FASTLY_KEY=""
88+
IBEXA_EDITION=headless
89+
IBEXA_VARIATION_HANDLER_IDENTIFIER=alias
90+
# Configure OAuth2 server
91+
OAUTH2_PUBLIC_KEY_PATH=
92+
OAUTH2_PRIVATE_KEY_PATH=
93+
OAUTH2_PRIVATE_KEY_PASSPHRASE=
94+
OAUTH2_ENCRYPTION_KEY=
95+
###< ibexa/headless ###
96+
97+
###> ibexa/experience ###
98+
SEARCH_ENGINE=legacy
99+
# Uncomment following line if you want to change the purge type.
100+
# By default it will use `local` purge when running locally
101+
# and `varnish` for Platform.sh installations.
102+
# HTTPCACHE_PURGE_TYPE=local
103+
HTTPCACHE_DEFAULT_TTL=86400
104+
HTTPCACHE_PURGE_SERVER=http://localhost:80
105+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
106+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
107+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
108+
TRUSTED_PROXIES=127.0.0.1
109+
CACHE_POOL=cache.tagaware.filesystem
110+
# When using Redis or memcached adapter, you can configure it using DSN:
111+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
112+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
113+
CACHE_DSN=localhost
114+
CACHE_NAMESPACE=ezp
115+
DATABASE_CHARSET=utf8mb4
116+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
117+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
118+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
119+
DATABASE_VERSION=mariadb-10.3.0
120+
SESSION_HANDLER_ID=session.handler.native_file
121+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
122+
SOLR_DSN=http://localhost:8983/solr
123+
SOLR_CORE=collection1
124+
# Enable Personalization by setting valid id, key and uri
125+
PERSONALIZATION_CUSTOMER_ID=0
126+
PERSONALIZATION_LICENSE_KEY=
127+
PERSONALIZATION_HOST_URI=
128+
ELASTICSEARCH_DSN=http://localhost:9200
129+
# Enable fastly by setting valid service_id and key
130+
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
131+
# FASTLY_SERVICE_ID=""
132+
# FASTLY_KEY=""
133+
IBEXA_EDITION=experience
134+
# Default LOCK_DSN value (semaphore) makes project require additional 'sysvsem' PHP extension.
135+
# If you have that extension feel free to reconfigure this env value back to 'semaphore'.
136+
# 'flock' is safe replacement and is backward compatible. Required by Symfony Rate Limiter.
137+
IBEXA_LOCK_DSN=flock
138+
IBEXA_VARIATION_HANDLER_IDENTIFIER=alias
139+
# Configure OAuth2 server
140+
OAUTH2_PUBLIC_KEY_PATH=
141+
OAUTH2_PRIVATE_KEY_PATH=
142+
OAUTH2_PRIVATE_KEY_PASSPHRASE=
143+
OAUTH2_ENCRYPTION_KEY=
144+
###< ibexa/experience ###
145+
146+
###> ibexa/commerce ###
147+
SEARCH_ENGINE=legacy
148+
# Uncomment following line if you want to change the purge type.
149+
# By default it will use `local` purge when running locally
150+
# and `varnish` for Platform.sh installations.
151+
# HTTPCACHE_PURGE_TYPE=local
152+
HTTPCACHE_DEFAULT_TTL=86400
153+
HTTPCACHE_PURGE_SERVER=http://localhost:80
154+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
155+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
156+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
157+
TRUSTED_PROXIES=127.0.0.1
158+
CACHE_POOL=cache.tagaware.filesystem
159+
# When using Redis or memcached adapter, you can configure it using DSN:
160+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
161+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
162+
CACHE_DSN=localhost
163+
CACHE_NAMESPACE=ezp
164+
DATABASE_CHARSET=utf8mb4
165+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
166+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
167+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
168+
DATABASE_VERSION=mariadb-10.3.0
169+
SESSION_HANDLER_ID=session.handler.native_file
170+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
171+
SOLR_DSN=http://localhost:8983/solr
172+
SOLR_CORE=collection1
173+
# Enable Personalization by setting valid id, key and uri
174+
PERSONALIZATION_CUSTOMER_ID=0
175+
PERSONALIZATION_LICENSE_KEY=
176+
PERSONALIZATION_HOST_URI=
177+
ELASTICSEARCH_DSN=http://localhost:9200
178+
# Enable fastly by setting valid service_id and key
179+
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
180+
# FASTLY_SERVICE_ID=""
181+
# FASTLY_KEY=""
182+
IBEXA_EDITION=commerce
183+
# Default LOCK_DSN value (semaphore) makes project require additional 'sysvsem' PHP extension.
184+
# If you have that extension feel free to reconfigure this env value back to 'semaphore'.
185+
# 'flock' is safe replacement and is backward compatible. Required by Symfony Rate Limiter.
186+
IBEXA_LOCK_DSN=flock
187+
IBEXA_VARIATION_HANDLER_IDENTIFIER=alias
188+
# Configure OAuth2 server
189+
OAUTH2_PUBLIC_KEY_PATH=
190+
OAUTH2_PRIVATE_KEY_PATH=
191+
OAUTH2_PRIVATE_KEY_PASSPHRASE=
192+
OAUTH2_ENCRYPTION_KEY=
193+
###< ibexa/commerce ###
194+
195+
###> symfony/swiftmailer-bundle ###
196+
# For Gmail as a transport, use: "gmail://username:password@localhost"
197+
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
198+
# Delivery is disabled by default via "null://localhost"
199+
MAILER_URL=null://localhost
200+
###< symfony/swiftmailer-bundle ###
201+
202+
###> nelmio/cors-bundle ###
203+
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
204+
###< nelmio/cors-bundle ###
205+
206+
###> doctrine/doctrine-bundle ###
207+
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
208+
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
209+
#
210+
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
211+
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4"
212+
DATABASE_URL="postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
213+
###< doctrine/doctrine-bundle ###
214+
215+
###> lexik/jwt-authentication-bundle ###
216+
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
217+
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
218+
JWT_PASSPHRASE=3e8331bcb25e2b1b9028e2d7d7ee73c7cdfdd6a7edabadebfd36974ff7d8481e
219+
###< lexik/jwt-authentication-bundle ###
220+
221+
###> symfony/lock ###
222+
# Choose one of the stores below
223+
# postgresql+advisory://db_user:db_password@localhost/db_name
224+
LOCK_DSN=flock
225+
###< symfony/lock ###

.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: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
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 Headless](https://github.com/ibexa/headless)
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
1521
Copyright (C) 1999-2024 Ibexa AS (formerly eZ Systems AS). All rights reserved.
@@ -18,18 +24,15 @@ Copyright (C) 1999-2024 Ibexa AS (formerly eZ Systems AS). All rights reserved.
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+
}

assets/images/caret-down.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)