]>
Commit | Line | Data |
---|---|---|
1 | imports: | |
2 | - { resource: parameters.yml } | |
3 | - { resource: security.yml } | |
4 | - { resource: services.yml } | |
5 | ||
6 | framework: | |
7 | #esi: ~ | |
8 | translator: { fallback: "%locale%" } | |
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 | ||
28 | wallabag_core: | |
29 | languages: | |
30 | en: 'English' | |
31 | fr: 'Français' | |
32 | de: 'Deutsch' | |
33 | import: | |
34 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] | |
35 | ||
36 | # Twig Configuration | |
37 | twig: | |
38 | debug: "%kernel.debug%" | |
39 | strict_variables: "%kernel.debug%" | |
40 | globals: | |
41 | share_twitter: %share_twitter% | |
42 | share_mail: %share_mail% | |
43 | share_shaarli: %share_shaarli% | |
44 | shaarli_url: %shaarli_url% | |
45 | share_diaspora: %share_diaspora% | |
46 | diaspora_url: %diaspora_url% | |
47 | flattr: %flattr% | |
48 | flattrable: 1 | |
49 | flattred: 2 | |
50 | carrot: %carrot% | |
51 | show_printlink: %show_printlink% | |
52 | export_epub: %export_epub% | |
53 | export_mobi: %export_mobi% | |
54 | export_pdf: %export_pdf% | |
55 | version: %app.version% | |
56 | twofactor_auth: %twofactor_auth% | |
57 | warning_message: %warning_message% | |
58 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" | |
59 | flattr_url: "https://flattr.com/thing/1265480" | |
60 | form: | |
61 | resources: | |
62 | - LexikFormFilterBundle:Form:form_div_layout.html.twig | |
63 | ||
64 | # Assetic Configuration | |
65 | assetic: | |
66 | debug: "%kernel.debug%" | |
67 | use_controller: false | |
68 | bundles: [ ] | |
69 | #java: /usr/bin/java | |
70 | filters: | |
71 | cssrewrite: ~ | |
72 | #closure: | |
73 | # jar: "%kernel.root_dir%/Resources/java/compiler.jar" | |
74 | #yui_css: | |
75 | # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar" | |
76 | ||
77 | # Doctrine Configuration | |
78 | doctrine: | |
79 | dbal: | |
80 | driver: "%database_driver%" | |
81 | host: "%database_host%" | |
82 | port: "%database_port%" | |
83 | dbname: "%database_name%" | |
84 | user: "%database_user%" | |
85 | password: "%database_password%" | |
86 | charset: UTF8 | |
87 | path: "%database_path%" | |
88 | ||
89 | orm: | |
90 | auto_generate_proxy_classes: "%kernel.debug%" | |
91 | entity_managers: | |
92 | default: | |
93 | auto_mapping: true | |
94 | ||
95 | stof_doctrine_extensions: | |
96 | default_locale: "%locale%" | |
97 | translation_fallback: true | |
98 | orm: | |
99 | default: | |
100 | tree: true | |
101 | sluggable: true | |
102 | ||
103 | # Swiftmailer Configuration | |
104 | swiftmailer: | |
105 | transport: "%mailer_transport%" | |
106 | host: "%mailer_host%" | |
107 | username: "%mailer_user%" | |
108 | password: "%mailer_password%" | |
109 | spool: { type: memory } | |
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: | |
127 | default_format: json | |
128 | ||
129 | nelmio_api_doc: | |
130 | sandbox: | |
131 | enabled: false | |
132 | name: wallabag API documentation | |
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'] | |
148 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
149 | max_age: 3600 | |
150 | '^/': | |
151 | #origin_regex: true | |
152 | allow_origin: ['^http://localhost:[0-9]+'] | |
153 | allow_headers: ['X-Custom-Auth'] | |
154 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
155 | max_age: 3600 | |
156 | hosts: ['^api\.'] | |
157 | ||
158 | liip_theme: | |
159 | load_controllers: false | |
160 | themes: | |
161 | - baggy | |
162 | - material | |
163 | autodetect_theme: wallabag_core.helper.detect_active_theme | |
164 | ||
165 | path_patterns: | |
166 | # app_resource: | |
167 | # - %%app_path%%/views/themes/%%current_theme%%/%%template%% | |
168 | # - %%app_path%%/views/%%template%% | |
169 | bundle_resource: | |
170 | - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%% | |
171 | # bundle_resource_dir: | |
172 | # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%% | |
173 | # - %%dir%%/views/%%bundle_name%%/%%override_path%% | |
174 | ||
175 | fos_user: | |
176 | db_driver: orm | |
177 | firewall_name: main | |
178 | user_class: Wallabag\UserBundle\Entity\User | |
179 | registration: | |
180 | confirmation: | |
181 | enabled: true | |
182 | ||
183 | fos_oauth_server: | |
184 | db_driver: orm | |
185 | client_class: Wallabag\ApiBundle\Entity\Client | |
186 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
187 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
188 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
189 | service: | |
190 | user_provider: fos_user.user_manager | |
191 | ||
192 | scheb_two_factor: | |
193 | trusted_computer: | |
194 | enabled: true | |
195 | cookie_name: wllbg_trusted_computer | |
196 | cookie_lifetime: 2592000 | |
197 | ||
198 | email: | |
199 | enabled: %twofactor_auth% | |
200 | sender_email: %twofactor_sender% | |
201 | digits: 6 | |
202 | template: WallabagUserBundle:Authentication:form.html.twig | |
203 | mailer: wallabag_user.auth_code_mailer | |
204 | ||
205 | kphoen_rulerz: | |
206 | executors: | |
207 | doctrine: true |