]> git.immae.eu Git - github/wallabag/wallabag.git/blob - app/config/config.yml
Translation file for the 'Romanian' language. Also recognised by ro_RO. Known in...
[github/wallabag/wallabag.git] / app / config / config.yml
1 imports:
2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
5
6 framework:
7 #esi: ~
8 translator: { fallback: "%locale%" }
9 secret: "%secret%"
10 router:
11 resource: "%kernel.root_dir%/config/routing.yml"
12 strict_requirements: ~
13 form: ~
14 csrf_protection: ~
15 validation: { enable_annotations: true }
16 templating:
17 engines: ['twig']
18 #assets_version: SomeVersionScheme
19 default_locale: "%locale%"
20 trusted_hosts: ~
21 trusted_proxies: ~
22 session:
23 # handler_id set to null will use default session handler from php.ini
24 handler_id: session.handler.native_file
25 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
26 fragments: ~
27 http_method_override: true
28 assets: ~
29
30 wallabag_core:
31 version: 2.0.0-alpha.2
32 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
33 languages:
34 en: 'English'
35 fr: 'Français'
36 de: 'Deutsch'
37 tr: 'Türkçe'
38 fa: 'فارسی'
39 ro: 'Română'
40 items_on_page: 12
41 theme: material
42 language: en
43 rss_limit: 50
44
45 wallabag_import:
46 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
47 resource_dir: "%kernel.root_dir%/../web/uploads/import"
48
49 # Twig Configuration
50 twig:
51 debug: "%kernel.debug%"
52 strict_variables: "%kernel.debug%"
53 form_themes:
54 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
55
56 # Assetic Configuration
57 assetic:
58 debug: "%kernel.debug%"
59 use_controller: false
60 bundles: [ ]
61 #java: /usr/bin/java
62 filters:
63 cssrewrite: ~
64 #closure:
65 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
66 #yui_css:
67 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
68
69 # Doctrine Configuration
70 doctrine:
71 dbal:
72 driver: "%database_driver%"
73 host: "%database_host%"
74 port: "%database_port%"
75 dbname: "%database_name%"
76 user: "%database_user%"
77 password: "%database_password%"
78 charset: UTF8
79 path: "%database_path%"
80
81 orm:
82 auto_generate_proxy_classes: "%kernel.debug%"
83 entity_managers:
84 default:
85 auto_mapping: true
86
87 stof_doctrine_extensions:
88 default_locale: "%locale%"
89 translation_fallback: true
90 orm:
91 default:
92 tree: true
93 sluggable: true
94
95 doctrine_migrations:
96 dir_name: "%kernel.root_dir%/DoctrineMigrations"
97 namespace: Application\Migrations
98 table_name: migration_versions
99 name: Application Migrations
100
101 # Swiftmailer Configuration
102 swiftmailer:
103 transport: "%mailer_transport%"
104 host: "%mailer_host%"
105 username: "%mailer_user%"
106 password: "%mailer_password%"
107 spool: { type: memory }
108
109 fos_rest:
110 param_fetcher_listener: true
111 body_listener: true
112 format_listener: true
113 view:
114 view_response_listener: 'force'
115 formats:
116 xml: true
117 json : true
118 templating_formats:
119 html: true
120 force_redirects:
121 html: true
122 failed_validation: HTTP_BAD_REQUEST
123 default_engine: twig
124 routing_loader:
125 default_format: json
126
127 nelmio_api_doc:
128 sandbox:
129 enabled: false
130 name: wallabag API documentation
131
132 nelmio_cors:
133 defaults:
134 allow_credentials: false
135 allow_origin: []
136 allow_headers: []
137 allow_methods: []
138 expose_headers: []
139 max_age: 0
140 hosts: []
141 #origin_regex: false
142 paths:
143 '^/api/':
144 allow_origin: ['*']
145 allow_headers: ['X-Custom-Auth']
146 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
147 max_age: 3600
148 '^/':
149 #origin_regex: true
150 allow_origin: ['^http://localhost:[0-9]+']
151 allow_headers: ['X-Custom-Auth']
152 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
153 max_age: 3600
154 hosts: ['^api\.']
155
156 liip_theme:
157 load_controllers: false
158 themes:
159 - baggy
160 - material
161 autodetect_theme: wallabag_core.helper.detect_active_theme
162
163 path_patterns:
164 bundle_resource:
165 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
166
167 fos_user:
168 db_driver: orm
169 firewall_name: main
170 user_class: Wallabag\UserBundle\Entity\User
171 registration:
172 confirmation:
173 enabled: %fosuser_confirmation%
174 from_email:
175 address: %from_email%
176 sender_name: wallabag
177 fos_oauth_server:
178 db_driver: orm
179 client_class: Wallabag\ApiBundle\Entity\Client
180 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
181 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
182 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
183 service:
184 user_provider: fos_user.user_manager
185
186 scheb_two_factor:
187 trusted_computer:
188 enabled: true
189 cookie_name: wllbg_trusted_computer
190 cookie_lifetime: 2592000
191
192 email:
193 enabled: %twofactor_auth%
194 sender_email: %twofactor_sender%
195 digits: 6
196 template: WallabagUserBundle:Authentication:form.html.twig
197 mailer: wallabag_user.auth_code_mailer
198
199 kphoen_rulerz:
200 executors:
201 doctrine: true