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