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