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