]>
Commit | Line | Data |
---|---|---|
1 | imports: | |
2 | - { resource: parameters.yml } | |
3 | - { resource: security.yml } | |
4 | - { resource: services.yml } | |
5 | ||
6 | framework: | |
7 | #esi: ~ | |
8 | translator: | |
9 | enabled: true | |
10 | fallback: "%locale%" | |
11 | secret: "%secret%" | |
12 | router: | |
13 | resource: "%kernel.root_dir%/config/routing.yml" | |
14 | strict_requirements: ~ | |
15 | form: ~ | |
16 | csrf_protection: ~ | |
17 | validation: | |
18 | enable_annotations: true | |
19 | templating: | |
20 | engines: ['twig'] | |
21 | default_locale: "%locale%" | |
22 | trusted_hosts: ~ | |
23 | trusted_proxies: ~ | |
24 | session: | |
25 | # handler_id set to null will use default session handler from php.ini | |
26 | handler_id: session.handler.native_file | |
27 | save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" | |
28 | fragments: ~ | |
29 | http_method_override: true | |
30 | assets: ~ | |
31 | ||
32 | wallabag_core: | |
33 | version: 2.1.3-dev | |
34 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" | |
35 | languages: | |
36 | en: 'English' | |
37 | fr: 'Français' | |
38 | de: 'Deutsch' | |
39 | tr: 'Türkçe' | |
40 | fa: 'فارسی' | |
41 | ro: 'Română' | |
42 | pl: 'Polish' | |
43 | da: 'Dansk' | |
44 | es: 'Español' | |
45 | oc: 'Occitan' | |
46 | it: 'Italiano' | |
47 | items_on_page: 12 | |
48 | theme: material | |
49 | language: '%locale%' | |
50 | rss_limit: 50 | |
51 | reading_speed: 1 | |
52 | cache_lifetime: 10 | |
53 | fetching_error_message: | | |
54 | wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/master/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. | |
55 | ||
56 | wallabag_user: | |
57 | registration_enabled: "%fosuser_registration%" | |
58 | ||
59 | wallabag_import: | |
60 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv'] | |
61 | resource_dir: "%kernel.root_dir%/../web/uploads/import" | |
62 | ||
63 | # Twig Configuration | |
64 | twig: | |
65 | debug: "%kernel.debug%" | |
66 | strict_variables: "%kernel.debug%" | |
67 | form_themes: | |
68 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | |
69 | exception_controller: wallabag_core.exception_controller:showAction | |
70 | ||
71 | # Doctrine Configuration | |
72 | doctrine: | |
73 | dbal: | |
74 | driver: "%database_driver%" | |
75 | host: "%database_host%" | |
76 | port: "%database_port%" | |
77 | dbname: "%database_name%" | |
78 | user: "%database_user%" | |
79 | password: "%database_password%" | |
80 | charset: UTF8 | |
81 | path: "%database_path%" | |
82 | unix_socket: "%database_socket%" | |
83 | server_version: 5.6 | |
84 | ||
85 | orm: | |
86 | auto_generate_proxy_classes: "%kernel.debug%" | |
87 | entity_managers: | |
88 | default: | |
89 | auto_mapping: true | |
90 | ||
91 | stof_doctrine_extensions: | |
92 | default_locale: "%locale%" | |
93 | translation_fallback: true | |
94 | orm: | |
95 | default: | |
96 | tree: true | |
97 | sluggable: true | |
98 | ||
99 | doctrine_migrations: | |
100 | dir_name: "%kernel.root_dir%/DoctrineMigrations" | |
101 | namespace: Application\Migrations | |
102 | table_name: migration_versions | |
103 | name: Application Migrations | |
104 | ||
105 | # Swiftmailer Configuration | |
106 | swiftmailer: | |
107 | transport: "%mailer_transport%" | |
108 | host: "%mailer_host%" | |
109 | username: "%mailer_user%" | |
110 | password: "%mailer_password%" | |
111 | spool: | |
112 | type: memory | |
113 | ||
114 | fos_rest: | |
115 | param_fetcher_listener: true | |
116 | body_listener: true | |
117 | format_listener: true | |
118 | view: | |
119 | view_response_listener: 'force' | |
120 | formats: | |
121 | xml: true | |
122 | json : true | |
123 | templating_formats: | |
124 | html: true | |
125 | force_redirects: | |
126 | html: true | |
127 | failed_validation: HTTP_BAD_REQUEST | |
128 | default_engine: twig | |
129 | routing_loader: | |
130 | default_format: json | |
131 | ||
132 | nelmio_api_doc: | |
133 | sandbox: | |
134 | enabled: false | |
135 | name: wallabag API documentation | |
136 | ||
137 | nelmio_cors: | |
138 | defaults: | |
139 | allow_credentials: false | |
140 | allow_origin: [] | |
141 | allow_headers: [] | |
142 | allow_methods: [] | |
143 | expose_headers: [] | |
144 | max_age: 0 | |
145 | hosts: [] | |
146 | #origin_regex: false | |
147 | paths: | |
148 | '^/api/': | |
149 | allow_origin: ['*'] | |
150 | allow_headers: ['X-Custom-Auth'] | |
151 | allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] | |
152 | max_age: 3600 | |
153 | '^/oauth/': | |
154 | allow_origin: ['*'] | |
155 | allow_headers: ['X-Custom-Auth'] | |
156 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
157 | max_age: 3600 | |
158 | '^/': | |
159 | #origin_regex: true | |
160 | allow_origin: ['^http://localhost:[0-9]+'] | |
161 | allow_headers: ['X-Custom-Auth'] | |
162 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
163 | max_age: 3600 | |
164 | hosts: ['^api\.'] | |
165 | ||
166 | liip_theme: | |
167 | load_controllers: false | |
168 | themes: | |
169 | - baggy | |
170 | - material | |
171 | autodetect_theme: wallabag_core.helper.detect_active_theme | |
172 | ||
173 | path_patterns: | |
174 | bundle_resource: | |
175 | - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%" | |
176 | ||
177 | fos_user: | |
178 | db_driver: orm | |
179 | firewall_name: secured_area | |
180 | user_class: Wallabag\UserBundle\Entity\User | |
181 | registration: | |
182 | confirmation: | |
183 | enabled: "%fosuser_confirmation%" | |
184 | from_email: | |
185 | address: "%from_email%" | |
186 | sender_name: wallabag | |
187 | fos_oauth_server: | |
188 | db_driver: orm | |
189 | client_class: Wallabag\ApiBundle\Entity\Client | |
190 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
191 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
192 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
193 | service: | |
194 | user_provider: fos_user.user_manager | |
195 | ||
196 | scheb_two_factor: | |
197 | trusted_computer: | |
198 | enabled: true | |
199 | cookie_name: wllbg_trusted_computer | |
200 | cookie_lifetime: 2592000 | |
201 | ||
202 | email: | |
203 | enabled: "%twofactor_auth%" | |
204 | sender_email: "%twofactor_sender%" | |
205 | digits: 6 | |
206 | template: WallabagUserBundle:Authentication:form.html.twig | |
207 | mailer: wallabag_user.auth_code_mailer | |
208 | ||
209 | kphoen_rulerz: | |
210 | executors: | |
211 | doctrine: true | |
212 | ||
213 | lexik_maintenance: | |
214 | authorized: | |
215 | ips: ['127.0.0.1'] | |
216 | driver: | |
217 | ttl: 3600 | |
218 | class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver' | |
219 | response: | |
220 | code: 503 | |
221 | status: "wallabag Service Temporarily Unavailable" | |
222 | ||
223 | old_sound_rabbit_mq: | |
224 | connections: | |
225 | default: | |
226 | host: "%rabbitmq_host%" | |
227 | port: "%rabbitmq_port%" | |
228 | user: "%rabbitmq_user%" | |
229 | password: "%rabbitmq_password%" | |
230 | vhost: / | |
231 | lazy: true | |
232 | producers: | |
233 | import_pocket: | |
234 | connection: default | |
235 | exchange_options: | |
236 | name: 'wallabag.import.pocket' | |
237 | type: topic | |
238 | import_readability: | |
239 | connection: default | |
240 | exchange_options: | |
241 | name: 'wallabag.import.readability' | |
242 | type: topic | |
243 | import_instapaper: | |
244 | connection: default | |
245 | exchange_options: | |
246 | name: 'wallabag.import.instapaper' | |
247 | type: topic | |
248 | import_wallabag_v1: | |
249 | connection: default | |
250 | exchange_options: | |
251 | name: 'wallabag.import.wallabag_v1' | |
252 | type: topic | |
253 | import_wallabag_v2: | |
254 | connection: default | |
255 | exchange_options: | |
256 | name: 'wallabag.import.wallabag_v2' | |
257 | type: topic | |
258 | import_firefox: | |
259 | connection: default | |
260 | exchange_options: | |
261 | name: 'wallabag.import.firefox' | |
262 | type: topic | |
263 | import_chrome: | |
264 | connection: default | |
265 | exchange_options: | |
266 | name: 'wallabag.import.chrome' | |
267 | type: topic | |
268 | consumers: | |
269 | import_pocket: | |
270 | connection: default | |
271 | exchange_options: | |
272 | name: 'wallabag.import.pocket' | |
273 | type: topic | |
274 | queue_options: | |
275 | name: 'wallabag.import.pocket' | |
276 | callback: wallabag_import.consumer.amqp.pocket | |
277 | import_readability: | |
278 | connection: default | |
279 | exchange_options: | |
280 | name: 'wallabag.import.readability' | |
281 | type: topic | |
282 | queue_options: | |
283 | name: 'wallabag.import.readability' | |
284 | callback: wallabag_import.consumer.amqp.readability | |
285 | import_instapaper: | |
286 | connection: default | |
287 | exchange_options: | |
288 | name: 'wallabag.import.instapaper' | |
289 | type: topic | |
290 | queue_options: | |
291 | name: 'wallabag.import.instapaper' | |
292 | callback: wallabag_import.consumer.amqp.instapaper | |
293 | import_wallabag_v1: | |
294 | connection: default | |
295 | exchange_options: | |
296 | name: 'wallabag.import.wallabag_v1' | |
297 | type: topic | |
298 | queue_options: | |
299 | name: 'wallabag.import.wallabag_v1' | |
300 | callback: wallabag_import.consumer.amqp.wallabag_v1 | |
301 | import_wallabag_v2: | |
302 | connection: default | |
303 | exchange_options: | |
304 | name: 'wallabag.import.wallabag_v2' | |
305 | type: topic | |
306 | queue_options: | |
307 | name: 'wallabag.import.wallabag_v2' | |
308 | callback: wallabag_import.consumer.amqp.wallabag_v2 | |
309 | import_firefox: | |
310 | connection: default | |
311 | exchange_options: | |
312 | name: 'wallabag.import.firefox' | |
313 | type: topic | |
314 | queue_options: | |
315 | name: 'wallabag.import.firefox' | |
316 | callback: wallabag_import.consumer.amqp.firefox | |
317 | import_chrome: | |
318 | connection: default | |
319 | exchange_options: | |
320 | name: 'wallabag.import.chrome' | |
321 | type: topic | |
322 | queue_options: | |
323 | name: 'wallabag.import.chrome' | |
324 | callback: wallabag_import.consumer.amqp.chrome |