]>
Commit | Line | Data |
---|---|---|
93fd4692 NL |
1 | imports: |
2 | - { resource: parameters.yml } | |
3 | - { resource: security.yml } | |
4 | - { resource: services.yml } | |
5 | ||
6 | framework: | |
7 | #esi: ~ | |
78cedc22 | 8 | translator: { fallback: "%locale%" } |
93fd4692 NL |
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 | |
73cd160b JB |
24 | handler_id: session.handler.native_file |
25 | save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" | |
93fd4692 NL |
26 | fragments: ~ |
27 | http_method_override: true | |
d8dbe76b | 28 | assets: ~ |
93fd4692 | 29 | |
c89d35e8 NL |
30 | wallabag_core: |
31 | languages: | |
32 | en: 'English' | |
33 | fr: 'Français' | |
57cf6fd7 | 34 | de: 'Deutsch' |
f47101e0 | 35 | tr: 'Türkçe' |
77a7752a JB |
36 | |
37 | wallabag_import: | |
38 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] | |
b1d05721 | 39 | resource_dir: "%kernel.root_dir%/../web/uploads/import" |
c89d35e8 | 40 | |
93fd4692 NL |
41 | # Twig Configuration |
42 | twig: | |
43 | debug: "%kernel.debug%" | |
44 | strict_variables: "%kernel.debug%" | |
bd9f0815 NL |
45 | globals: |
46 | share_twitter: %share_twitter% | |
47 | share_mail: %share_mail% | |
48 | share_shaarli: %share_shaarli% | |
49 | shaarli_url: %shaarli_url% | |
50 | share_diaspora: %share_diaspora% | |
51 | diaspora_url: %diaspora_url% | |
52 | flattr: %flattr% | |
53 | flattrable: 1 | |
54 | flattred: 2 | |
55 | carrot: %carrot% | |
56 | show_printlink: %show_printlink% | |
57 | export_epub: %export_epub% | |
58 | export_mobi: %export_mobi% | |
59 | export_pdf: %export_pdf% | |
b89444ad TC |
60 | export_csv: %export_csv% |
61 | export_json: %export_json% | |
62 | export_txt: %export_txt% | |
63 | export_xml: %export_xml% | |
b84a8055 | 64 | version: %app.version% |
18cf594f | 65 | twofactor_auth: %twofactor_auth% |
fdab81e9 | 66 | warning_message: %warning_message% |
b84a8055 | 67 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" |
5c895a7f JB |
68 | form_themes: |
69 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | |
6682139e | 70 | |
93fd4692 NL |
71 | # Assetic Configuration |
72 | assetic: | |
73 | debug: "%kernel.debug%" | |
74 | use_controller: false | |
75 | bundles: [ ] | |
76 | #java: /usr/bin/java | |
77 | filters: | |
78 | cssrewrite: ~ | |
79 | #closure: | |
80 | # jar: "%kernel.root_dir%/Resources/java/compiler.jar" | |
81 | #yui_css: | |
82 | # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar" | |
83 | ||
84 | # Doctrine Configuration | |
85 | doctrine: | |
86 | dbal: | |
87 | driver: "%database_driver%" | |
61b9fdd5 NL |
88 | host: "%database_host%" |
89 | port: "%database_port%" | |
90 | dbname: "%database_name%" | |
91 | user: "%database_user%" | |
92 | password: "%database_password%" | |
93fd4692 | 93 | charset: UTF8 |
9d50517c | 94 | path: "%database_path%" |
93fd4692 NL |
95 | |
96 | orm: | |
97 | auto_generate_proxy_classes: "%kernel.debug%" | |
164bd801 J |
98 | entity_managers: |
99 | default: | |
164bd801 | 100 | auto_mapping: true |
93fd4692 | 101 | |
3c65dfb7 NL |
102 | stof_doctrine_extensions: |
103 | default_locale: "%locale%" | |
104 | translation_fallback: true | |
105 | orm: | |
106 | default: | |
107 | tree: true | |
108 | sluggable: true | |
109 | ||
292c1324 NL |
110 | doctrine_migrations: |
111 | dir_name: "%kernel.root_dir%/DoctrineMigrations" | |
112 | namespace: Application\Migrations | |
113 | table_name: migration_versions | |
114 | name: Application Migrations | |
115 | ||
93fd4692 NL |
116 | # Swiftmailer Configuration |
117 | swiftmailer: | |
118 | transport: "%mailer_transport%" | |
119 | host: "%mailer_host%" | |
120 | username: "%mailer_user%" | |
121 | password: "%mailer_password%" | |
122 | spool: { type: memory } | |
e4788de5 NL |
123 | |
124 | fos_rest: | |
125 | param_fetcher_listener: true | |
126 | body_listener: true | |
127 | format_listener: true | |
128 | view: | |
129 | view_response_listener: 'force' | |
130 | formats: | |
131 | xml: true | |
132 | json : true | |
133 | templating_formats: | |
134 | html: true | |
135 | force_redirects: | |
136 | html: true | |
137 | failed_validation: HTTP_BAD_REQUEST | |
138 | default_engine: twig | |
139 | routing_loader: | |
a65f5d55 | 140 | default_format: json |
e4788de5 | 141 | |
cd1298d6 NL |
142 | nelmio_api_doc: |
143 | sandbox: | |
144 | enabled: false | |
3c65dfb7 | 145 | name: wallabag API documentation |
fca3c757 NL |
146 | |
147 | nelmio_cors: | |
148 | defaults: | |
149 | allow_credentials: false | |
150 | allow_origin: [] | |
151 | allow_headers: [] | |
152 | allow_methods: [] | |
153 | expose_headers: [] | |
154 | max_age: 0 | |
155 | hosts: [] | |
156 | #origin_regex: false | |
157 | paths: | |
158 | '^/api/': | |
159 | allow_origin: ['*'] | |
160 | allow_headers: ['X-Custom-Auth'] | |
161 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
162 | max_age: 3600 | |
163 | '^/': | |
164 | #origin_regex: true | |
165 | allow_origin: ['^http://localhost:[0-9]+'] | |
166 | allow_headers: ['X-Custom-Auth'] | |
167 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
168 | max_age: 3600 | |
169 | hosts: ['^api\.'] | |
32da2a70 J |
170 | |
171 | liip_theme: | |
172 | load_controllers: false | |
173 | themes: | |
174 | - baggy | |
9948d899 | 175 | - material |
32da2a70 J |
176 | autodetect_theme: wallabag_core.helper.detect_active_theme |
177 | ||
178 | path_patterns: | |
32da2a70 J |
179 | bundle_resource: |
180 | - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%% | |
a1691859 NL |
181 | |
182 | fos_user: | |
183 | db_driver: orm | |
184 | firewall_name: main | |
1210dae1 | 185 | user_class: Wallabag\UserBundle\Entity\User |
fcb1fba5 | 186 | registration: |
fcb1fba5 NL |
187 | confirmation: |
188 | enabled: true | |
a40dd989 NL |
189 | from_email: |
190 | address: %from_email% | |
191 | sender_name: wallabag | |
fcb1fba5 NL |
192 | fos_oauth_server: |
193 | db_driver: orm | |
194 | client_class: Wallabag\ApiBundle\Entity\Client | |
195 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
196 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
197 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
198 | service: | |
199 | user_provider: fos_user.user_manager | |
2db616b5 NL |
200 | |
201 | scheb_two_factor: | |
2db616b5 NL |
202 | trusted_computer: |
203 | enabled: true | |
204 | cookie_name: wllbg_trusted_computer | |
0d6a7929 | 205 | cookie_lifetime: 2592000 |
2db616b5 NL |
206 | |
207 | email: | |
18cf594f NL |
208 | enabled: %twofactor_auth% |
209 | sender_email: %twofactor_sender% | |
2db616b5 NL |
210 | digits: 6 |
211 | template: WallabagUserBundle:Authentication:form.html.twig | |
23ff8d36 | 212 | mailer: wallabag_user.auth_code_mailer |
625acf33 KG |
213 | |
214 | kphoen_rulerz: | |
215 | executors: | |
216 | doctrine: true |