Skip to content

Commit 96d0650

Browse files
committed
[ibexa/oss] Created recipe for 4.0.2 release
1 parent b932c11 commit 96d0650

38 files changed

+1207
-0
lines changed
Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
html {
2+
position: relative;
3+
min-height: 100%;
4+
}
5+
body {
6+
font-size: 16px;
7+
line-height: 26px;
8+
color: #131C26;
9+
overflow-x: hidden;
10+
font-family: "Noto Sans";
11+
margin-bottom: 48px;
12+
}
13+
.header {
14+
&__container {
15+
height: 379px;
16+
background: #db0032;
17+
}
18+
}
19+
.logo {
20+
max-width: 117px;
21+
max-height: 33px;
22+
}
23+
h1 {
24+
font-size: 35px;
25+
line-height: 44px;
26+
font-family: 'Noto Sans';
27+
font-weight: 500;
28+
}
29+
h2 {
30+
font-size: 20px;
31+
line-height: 24px;
32+
font-family: 'Work Sans';
33+
font-weight: 700;
34+
}
35+
a {
36+
color: #252525;
37+
38+
&:hover {
39+
color: #db0032;
40+
text-decoration: none;
41+
}
42+
}
43+
ul {
44+
li:before {
45+
content:"\2022";
46+
font-size:12pt;
47+
}
48+
}
49+
.footer {
50+
position: absolute;
51+
bottom: 0;
52+
height: 48px;
53+
width: 100%;
54+
55+
.container-fluid {
56+
display: flex;
57+
align-items: flex-end;
58+
height: 100%;
59+
}
60+
}
61+
.copyright {
62+
opacity: .6;
63+
}
64+
.background-grey {
65+
background-color: #f7f7f9;
66+
}
67+
.ezrichtext-field {
68+
p {
69+
margin-bottom: 0;
70+
}
71+
}
72+
.description {
73+
max-width: 625px;
74+
}
75+
.references {
76+
&-list {
77+
&-item__link {
78+
padding-left: 15px;
79+
}
80+
}
81+
}
82+
.container--wide {
83+
max-width: 1566px;
84+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Reusable service for memcache cache for use in generic.php and plaformsh.php on demand
2+
#
3+
# For further reading on setup with Ibexa and Memcached:
4+
# https://doc.ibexa.co/en/latest/guide/persistence_cache/#memcached
5+
parameters:
6+
cache_namespace: '%env(CACHE_NAMESPACE)%'
7+
cache_dsn: '%env(CACHE_DSN)%'
8+
9+
services:
10+
cache.memcached:
11+
public: true
12+
parent: cache.adapter.memcached
13+
tags:
14+
- name: cache.pool
15+
clearer: cache.app_clearer
16+
# Example from vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/MemcachedTrait.php:
17+
# memcached://user:pass@localhost?weight=33'
18+
provider: 'memcached://%cache_dsn%'
19+
# Cache namespace prefix overriding the one used by Symfony globally
20+
# This makes sure cache is reliably shared across whole cluster and all Symfony env's
21+
# Can be used for blue/green deployment strategies when changes affect content cache.
22+
# For multi db setup adapt this to be unique per pool (one pool per database)
23+
# If you prefer default behaviour set this to null or comment out, and consider for instance:
24+
# https://symfony.com/doc/current/reference/configuration/framework.html#prefix-seed
25+
namespace: '%cache_namespace%'
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Optimized Redis cache adapter (from: https://github.com/ezsystems/symfony-tools)
2+
#
3+
# On platform.sh this is setup automatically in env/plaformsh.php.
4+
# For any other kind of use it can be enabled with CACHE_POOL, detected by env/generic.php.
5+
#
6+
# For further reading on setup with Ibexa and Redis:
7+
# https://doc.ibexa.co/en/latest/guide/persistence_cache/#redis
8+
parameters:
9+
cache_namespace: '%env(CACHE_NAMESPACE)%'
10+
cache_dsn: '%env(CACHE_DSN)%'
11+
12+
services:
13+
cache.redis:
14+
public: true
15+
class: Symfony\Component\Cache\Adapter\RedisTagAwareAdapter
16+
parent: cache.adapter.redis
17+
tags:
18+
- name: cache.pool
19+
clearer: cache.app_clearer
20+
# Examples from vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/RedisTrait.php:
21+
# redis://localhost:6379
22+
# redis://[email protected]:1234/13
23+
# redis://secret@/var/run/redis.sock/13?persistent_id=4&class=Redis&timeout=3&retry_interval=3
24+
# Example using Predis: redis://%cache_dsn%?class=\Predis\Client
25+
provider: 'redis://%cache_dsn%'
26+
# Cache namespace prefix overriding the one used by Symfony by default
27+
# This makes sure cache is reliably shared across whole cluster and all Symfony env's
28+
# Can be used for blue/green deployment strategies when changes affect content cache.
29+
# For multi db setup adapt this to be unique per pool (one pool per database)
30+
# If you prefer default behaviour set this to null or comment out, and consider for instance:
31+
# https://symfony.com/doc/current/reference/configuration/framework.html#prefix-seed
32+
namespace: '%cache_namespace%'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Optimized File cache adapter (from: https://github.com/ezsystems/symfony-tools)
2+
#
3+
# Loaded by default, for use on single server setups.
4+
parameters:
5+
cache_namespace: '%env(CACHE_NAMESPACE)%'
6+
7+
services:
8+
cache.tagaware.filesystem:
9+
public: true
10+
class: Symfony\Component\Cache\Adapter\FilesystemTagAwareAdapter
11+
parent: cache.adapter.filesystem
12+
tags:
13+
- name: cache.pool
14+
clearer: cache.app_clearer
15+
# Cache namespace prefix overriding the one used by Symfony by default
16+
# This makes sure cache is reliably shared across whole cluster and all Symfony env's
17+
# Can be used for blue/green deployment strategies when changes affect content cache.
18+
# For multi db setup adapt this to be unique per pool (one pool per database)
19+
# If you prefer default behaviour set this to null or comment out, and consider for instance:
20+
# https://symfony.com/doc/current/reference/configuration/framework.html#prefix-seed
21+
namespace: '%cache_namespace%'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
parameters:
2+
env(DFS_DATABASE_URL): '%env(resolve:DATABASE_URL)%'
3+
dfs_database_url: '%env(resolve:DFS_DATABASE_URL)%'
4+
ibexa.io.nfs.adapter.config:
5+
root: '%dfs_nfs_path%'
6+
path: '$var_dir$/$storage_dir$/'
7+
writeFlags: ~
8+
linkHandling: ~
9+
permissions: [ ]
10+
11+
# new doctrine connection for the dfs legacy_dfs_cluster metadata handler.
12+
doctrine:
13+
dbal:
14+
connections:
15+
dfs:
16+
# configure these for your database server
17+
driver: '%dfs_database_driver%'
18+
charset: '%dfs_database_charset%'
19+
default_table_options:
20+
charset: '%dfs_database_charset%'
21+
collate: '%dfs_database_collation%'
22+
url: '%dfs_database_url%'
23+
24+
# define the flysystem handler
25+
oneup_flysystem:
26+
adapters:
27+
nfs_adapter:
28+
custom:
29+
service: ibexa.io.nfs.adapter.site_access_aware
30+
31+
# define the handlers
32+
ibexa_io:
33+
binarydata_handlers:
34+
nfs:
35+
flysystem:
36+
adapter: nfs_adapter
37+
metadata_handlers:
38+
dfs:
39+
legacy_dfs_cluster:
40+
connection: doctrine.dbal.dfs_connection
41+
42+
# set the application handlers
43+
ibexa:
44+
system:
45+
default:
46+
io:
47+
metadata_handler: dfs
48+
binarydata_handler: nfs
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
overblog_graphql:
2+
definitions:
3+
mappings:
4+
auto_discover: false
5+
types:
6+
- type: yaml
7+
dir: "%kernel.project_dir%/config/graphql/types"
8+
suffix: ~
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
parameters:
2+
locale_fallback: en
3+
4+
# Identifier used to generate the CSRF token. Commenting this line will result in authentication
5+
# issues both in AdminUI and REST calls
6+
ibexa.rest.csrf_token_intention: authenticate
7+
8+
# You can uncomment following parameters to override the setting.
9+
# Their values correspond to the defaults being used.
10+
11+
# One of `legacy` (default) or `solr`
12+
#search_engine: '%env(SEARCH_ENGINE)%'
13+
14+
# Session save path as used by symfony session handlers (eg. used for dsn with redis)
15+
#ibexa.session.save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
16+
17+
# Predefined pools are located in config/packages/cache_pool/
18+
# You can add your own cache pool to the folder mentioned above.
19+
# In order to change the default cache_pool use environmental variable export.
20+
# The line below must not be altered as required cache service files are resolved based on environmental config.
21+
#cache_pool: '%env(CACHE_POOL)%'
22+
23+
# By default cache ttl is set to 24h, when using Varnish you can set a much higher value. High values depends on
24+
# using IbexaHttpCacheBundle (default as of v1.12) which by design expires affected cache on changes
25+
#httpcache_default_ttl: '%env(HTTPCACHE_DEFAULT_TTL)%'
26+
27+
# Settings for HttpCache
28+
#purge_server: '%env(HTTPCACHE_PURGE_SERVER)%'
29+
30+
# Varnish invalidation/purge token (for use on platform.sh, eZ Platform Cloud and other places you can't use IP for ACL)
31+
#varnish_invalidate_token: '%env(resolve:default::HTTPCACHE_VARNISH_INVALIDATE_TOKEN)%'
32+
33+
# Compile time handlers
34+
## These are defined at compile time, and hence can't be set at runtime using env()
35+
## config/env/generic.php takes care about letting you set them by env variables
36+
37+
## Session handler, by default set to file based (instead of ~) in order to be able to use %ezplatform.session.save_path%
38+
# env: SESSION_HANDLER_ID
39+
#ibexa.session.handler_id: session.handler.native_file
40+
41+
## Purge type used by HttpCache system ("local", "varnish"/"http", and on ee also "fastly")
42+
#purge_type: '%env(HTTPCACHE_PURGE_TYPE)%'
43+
44+
env(HTTPCACHE_PURGE_TYPE): local # default value to maintain BC
45+
46+
ibexa:
47+
# HttpCache settings, By default 'local' (Symfony HttpCache Proxy), by setting it to 'varnish' you can point it to Varnish
48+
http_cache:
49+
purge_type: '%purge_type%'
50+
51+
# Repositories configuration, setup default repository to support solr if enabled
52+
repositories:
53+
default:
54+
storage: ~
55+
search:
56+
engine: '%search_engine%'
57+
connection: default
58+
59+
# Siteaccess configuration, with one siteaccess per default
60+
siteaccess:
61+
list: [site]
62+
groups:
63+
site_group: [site]
64+
default_siteaccess: site
65+
match:
66+
URIElement: 1
67+
68+
# System settings, read in following order: `default`, <siteaccess-group>, <siteacces>, and `global`
69+
# TIP: For multisite installations organize shared config into SiteAccess groups,
70+
# on single-site you can place shared config under "default" for simplicity as shown below.
71+
system:
72+
default:
73+
# Cache pool service, needs to be different per repository (database) on multi repository install.
74+
cache_service_name: '%cache_pool%'
75+
# These reflect the current installers, complete installation before you change them. For changing var_dir
76+
# it is recommended to install clean, then change setting before you start adding binary content, otherwise you'll
77+
# need to manually modify your database data to reflect this to avoid exceptions.
78+
var_dir: var/site
79+
content:
80+
# As we by default enable IbexaHttpCacheBundle which is designed to expire all affected cache
81+
# on changes, and as error / redirects now have separate ttl, we easier allow ttl to be greatly increased
82+
default_ttl: '%httpcache_default_ttl%'
83+
# HttpCache purge server(s) setting, eg Varnish, for when ezpublish.http_cache.purge_type is set to 'varnish'.
84+
http_cache:
85+
purge_servers: ['%purge_server%']
86+
varnish_invalidate_token: '%varnish_invalidate_token%'
87+
88+
assets:
89+
icon_sets:
90+
public_icons: /bundles/ibexaadminui/img/ibexa-icons.svg
91+
default_icon_set: public_icons
92+
93+
site:
94+
languages: [eng-GB]
95+
96+
url_alias:
97+
slug_converter:
98+
transformation: 'urlalias_lowercase'
99+
100+
framework:
101+
translator: { fallback: '%locale_fallback%' }
102+
validation: { enable_annotations: true }
103+
default_locale: '%locale_fallback%'
104+
esi: true
105+
fragments: true
106+
http_method_override: true

0 commit comments

Comments
 (0)