ninegate/src/ninegate-1.0/app/config/config.yml

187 lines
6.8 KiB
YAML
Raw Normal View History

2018-12-18 09:44:39 +01:00
imports:
- { resource: parameters.yml }
- { resource: template.yml }
- { resource: security.yml }
- { resource: services.yml }
- { resource: "@CadolesCoreBundle/Resources/config/services.yml" }
2019-03-21 17:15:06 +01:00
- { resource: "@CadolesPortalBundle/Resources/config/services.yml" }
2019-07-16 12:10:32 +02:00
- { resource: "@CadolesWebsocketBundle/Resources/config/services.yml" }
2018-12-18 09:44:39 +01:00
- { resource: twig.yml }
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: fr
framework:
#esi: ~
#translator: { fallbacks: ['%locale%'] }
secret: '%secret%'
router:
resource: '%kernel.project_dir%/app/config/routing.yml'
strict_requirements: ~
form: ~
csrf_protection: ~
validation: { enabled: true, enable_annotations: true }
#serializer: { enable_annotations: true }
default_locale: '%locale%'
trusted_hosts: ~
session:
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
handler_id: session.handler.native_file
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
2019-06-17 17:09:00 +02:00
name: ninegate
2018-12-18 09:44:39 +01:00
fragments: ~
http_method_override: true
templating:
engines: ['twig']
assets: ~
php_errors:
log: true
# Twig Configuration
twig:
debug: '%kernel.debug%'
strict_variables: '%kernel.debug%'
form_themes:
2019-03-13 17:30:41 +01:00
- 'CadolesCoreBundle:Form:fields.html.twig'
2018-12-18 09:44:39 +01:00
- 'TetranzSelect2EntityBundle:Form:fields.html.twig'
2019-04-16 09:49:49 +02:00
paths:
'%kernel.project_dir%/src/Cadoles/CoreBundle/Resources/public/themes/': Theme
2018-12-18 09:44:39 +01:00
# Swiftmailer Configuration
swiftmailer:
transport: '%mailer_transport%'
host: '%mailer_host%'
port: '%mailer_port%'
username: '%mailer_user%'
password: '%mailer_password%'
auth_mode: '%mailer_authmode%'
encryption: '%mailer_encryption%'
2019-06-25 15:53:10 +02:00
timeout: 5
2018-12-18 09:44:39 +01:00
stream-options:
ssl:
allow_self_signed : true
verify_peer: false
spool:
type: file
path: '%kernel.project_dir%/var/spoolmail'
# Assetic Configuration
assetic:
debug: "%kernel.debug%"
use_controller: false
2019-07-17 14:40:12 +02:00
bundles:
- CadolesCoreBundle
2018-12-18 09:44:39 +01:00
filters:
cssrewrite: ~
# onupload configuration
oneup_uploader:
mappings:
avatar:
frontend: dropzone # or any uploader you use in the frontend
2019-03-12 14:50:57 +01:00
logo:
frontend: dropzone # or any uploader you use in the frontend
2019-06-13 13:15:55 +02:00
niveau01:
frontend: dropzone # or any uploader you use in the frontend
2019-03-12 14:50:57 +01:00
header:
frontend: dropzone # or any uploader you use in the frontend
2019-03-13 17:30:41 +01:00
icon:
frontend: dropzone # or any uploader you use in the frontend
2019-04-02 11:26:41 +02:00
slide:
frontend: dropzone # or any uploader you use in the frontend
2019-04-16 09:49:49 +02:00
blogarticle:
frontend: dropzone # or any uploader you use in the frontend
2019-06-25 15:53:10 +02:00
importuser:
frontend: dropzone # or any uploader you use in the frontend
namer: cadoles.core.upload.namer.same
storage:
directory: "%kernel.root_dir%/../uploads/importuser"
2019-04-02 11:26:41 +02:00
file:
frontend: dropzone # or any uploader you use in the frontend
namer: cadoles.core.upload.namer.same
storage:
directory: "%kernel.root_dir%/../uploads/file"
2018-12-18 09:44:39 +01:00
# gregwar captcha configuration
gregwar_captcha: ~
2019-03-12 14:50:57 +01:00
2019-03-13 17:30:41 +01:00
# light_saml configuration
2019-03-12 14:50:57 +01:00
light_saml_symfony_bridge:
own:
entity_id: '%saml_entityid%'
credentials:
-
certificate: "%kernel.root_dir%/../vendor/lightsaml/lightsaml/web/sp/saml.crt"
key: "%kernel.root_dir%/../vendor/lightsaml/lightsaml/web/sp/saml.key"
password: ~
party:
idp:
2019-03-13 17:30:41 +01:00
files: '%saml_idps_list%'
2019-07-16 12:10:32 +02:00
# websocket configuration
gos_web_socket:
client:
session_handler: session.handler.native_file
firewall: main
shared_config: true
server:
port: %websocket_port% #The port the socket server will listen on
2019-07-23 15:32:35 +02:00
host: %websocket_host% #The host ip to bind to
2019-07-16 12:10:32 +02:00
router:
resources:
- "@CadolesWebsocketBundle/Resources/config/topic.yml"
2019-07-23 15:32:35 +02:00
pushers:
wamp:
host: %websocket_host%
port: %websocket_portinterne%
2019-07-16 12:10:32 +02:00
2019-03-13 17:30:41 +01:00
# ckeditor configuration
ivory_ck_editor:
base_path: "ckeditor"
js_path: "ckeditor/ckeditor.js"
configs:
full_config:
language: fr
toolbar: "my_toolbar_1"
uiColor: "#ffffff"
extraPlugins: ["html5video","pastebase64"]
2019-03-13 17:30:41 +01:00
light_config:
language: fr
toolbar: "my_toolbar_2"
uiColor: "#ffffff"
2019-07-17 11:50:37 +02:00
removePlugins: 'elementspath'
small_config:
language: fr
toolbar: "my_toolbar_3"
uiColor: "#ffffff"
removePlugins: 'elementspath'
plugins:
html5video:
path: "ckeditor/plugins/html5video/" # with trailing slash
filename: "plugin.js"
2019-08-22 10:01:02 +02:00
pastebase64:
path: "ckeditor/plugins/pastebase64/" # with trailing slash
filename: "plugin.js"
2019-03-13 17:30:41 +01:00
toolbars:
configs:
my_toolbar_1: [ "@document1", "-", "@clipboard1", "-", "@basicstyles1", "-", "@paragraph1", "/", "@links1", "-", "@insert1", "-", "@styles1", "-" , "@colors1", "-" , "@tools1" ]
my_toolbar_2: [ "@basicstyles1", "-", "@paragraph2", "-", "@insert2", "-", "@styles1"]
2019-07-17 11:50:37 +02:00
my_toolbar_3: [ "@basicstyles1", "-", "@paragraph3", "-", "@insert3"]
2019-03-13 17:30:41 +01:00
items:
document1: [ 'Source','-','NewPage','DocProps','Preview','Print','-','Templates' ]
clipboard1: [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ]
basicstyles1: [ 'Bold','Italic','Underline','RemoveFormat' ]
paragraph1: [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ]
paragraph2: [ 'JustifyLeft','JustifyCenter','JustifyRight','NumberedList','BulletedList' ]
2019-07-17 11:50:37 +02:00
paragraph3: [ 'NumberedList','BulletedList' ]
2019-03-13 17:30:41 +01:00
links1: [ 'Link','Unlink','Anchor' ]
insert1: [ 'Image','Html5video','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ]
2019-03-13 17:30:41 +01:00
insert2: [ 'Image','Table','Smiley','Link','Unlink' ]
2019-07-17 11:50:37 +02:00
insert3: [ 'Smiley','Link','Unlink' ]
2019-03-13 17:30:41 +01:00
styles1: [ 'Styles','Format','Font','FontSize' ]
colors1: [ 'TextColor','BGColor' ]
tools1: [ 'Maximize', 'ShowBlocks','-','About' ]