]>
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' |
c89d35e8 | 33 | |
93fd4692 NL |
34 | # Twig Configuration |
35 | twig: | |
36 | debug: "%kernel.debug%" | |
37 | strict_variables: "%kernel.debug%" | |
bd9f0815 NL |
38 | globals: |
39 | share_twitter: %share_twitter% | |
40 | share_mail: %share_mail% | |
41 | share_shaarli: %share_shaarli% | |
42 | shaarli_url: %shaarli_url% | |
43 | share_diaspora: %share_diaspora% | |
44 | diaspora_url: %diaspora_url% | |
45 | flattr: %flattr% | |
46 | flattrable: 1 | |
47 | flattred: 2 | |
48 | carrot: %carrot% | |
49 | show_printlink: %show_printlink% | |
50 | export_epub: %export_epub% | |
51 | export_mobi: %export_mobi% | |
52 | export_pdf: %export_pdf% | |
b84a8055 | 53 | version: %app.version% |
18cf594f | 54 | twofactor_auth: %twofactor_auth% |
fdab81e9 | 55 | warning_message: %warning_message% |
b84a8055 NL |
56 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" |
57 | flattr_url: "https://flattr.com/thing/1265480" | |
26864574 NL |
58 | form: |
59 | resources: | |
60 | - LexikFormFilterBundle:Form:form_div_layout.html.twig | |
6682139e | 61 | |
93fd4692 NL |
62 | # Assetic Configuration |
63 | assetic: | |
64 | debug: "%kernel.debug%" | |
65 | use_controller: false | |
66 | bundles: [ ] | |
67 | #java: /usr/bin/java | |
68 | filters: | |
69 | cssrewrite: ~ | |
70 | #closure: | |
71 | # jar: "%kernel.root_dir%/Resources/java/compiler.jar" | |
72 | #yui_css: | |
73 | # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar" | |
74 | ||
75 | # Doctrine Configuration | |
76 | doctrine: | |
77 | dbal: | |
78 | driver: "%database_driver%" | |
61b9fdd5 NL |
79 | host: "%database_host%" |
80 | port: "%database_port%" | |
81 | dbname: "%database_name%" | |
82 | user: "%database_user%" | |
83 | password: "%database_password%" | |
93fd4692 | 84 | charset: UTF8 |
9d50517c | 85 | path: "%database_path%" |
93fd4692 NL |
86 | |
87 | orm: | |
88 | auto_generate_proxy_classes: "%kernel.debug%" | |
164bd801 J |
89 | entity_managers: |
90 | default: | |
164bd801 | 91 | auto_mapping: true |
93fd4692 | 92 | |
3c65dfb7 NL |
93 | stof_doctrine_extensions: |
94 | default_locale: "%locale%" | |
95 | translation_fallback: true | |
96 | orm: | |
97 | default: | |
98 | tree: true | |
99 | sluggable: true | |
100 | ||
93fd4692 NL |
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 } | |
e4788de5 NL |
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: | |
a65f5d55 | 125 | default_format: json |
e4788de5 | 126 | |
cd1298d6 NL |
127 | nelmio_api_doc: |
128 | sandbox: | |
129 | enabled: false | |
3c65dfb7 | 130 | name: wallabag API documentation |
fca3c757 NL |
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\.'] | |
32da2a70 J |
155 | |
156 | liip_theme: | |
157 | load_controllers: false | |
158 | themes: | |
159 | - baggy | |
9948d899 | 160 | - material |
32da2a70 J |
161 | autodetect_theme: wallabag_core.helper.detect_active_theme |
162 | ||
163 | path_patterns: | |
3e30422c J |
164 | # app_resource: |
165 | # - %%app_path%%/views/themes/%%current_theme%%/%%template%% | |
166 | # - %%app_path%%/views/%%template%% | |
32da2a70 J |
167 | bundle_resource: |
168 | - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%% | |
3e30422c J |
169 | # bundle_resource_dir: |
170 | # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%% | |
171 | # - %%dir%%/views/%%bundle_name%%/%%override_path%% | |
a1691859 NL |
172 | |
173 | fos_user: | |
174 | db_driver: orm | |
175 | firewall_name: main | |
1210dae1 | 176 | user_class: Wallabag\UserBundle\Entity\User |
fcb1fba5 | 177 | registration: |
fcb1fba5 NL |
178 | confirmation: |
179 | enabled: true | |
180 | ||
181 | fos_oauth_server: | |
182 | db_driver: orm | |
183 | client_class: Wallabag\ApiBundle\Entity\Client | |
184 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
185 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
186 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
187 | service: | |
188 | user_provider: fos_user.user_manager | |
2db616b5 NL |
189 | |
190 | scheb_two_factor: | |
2db616b5 NL |
191 | trusted_computer: |
192 | enabled: true | |
193 | cookie_name: wllbg_trusted_computer | |
0d6a7929 | 194 | cookie_lifetime: 2592000 |
2db616b5 NL |
195 | |
196 | email: | |
18cf594f NL |
197 | enabled: %twofactor_auth% |
198 | sender_email: %twofactor_sender% | |
2db616b5 NL |
199 | digits: 6 |
200 | template: WallabagUserBundle:Authentication:form.html.twig | |
625acf33 KG |
201 | |
202 | kphoen_rulerz: | |
203 | executors: | |
204 | doctrine: true |