]>
Commit | Line | Data |
---|---|---|
1 | imports: | |
2 | - { resource: parameters.yml } | |
3 | - { resource: security.yml } | |
4 | - { resource: services.yml } | |
5 | ||
6 | framework: | |
7 | #esi: ~ | |
8 | translator: | |
9 | enabled: true | |
10 | fallback: "%locale%" | |
11 | secret: "%secret%" | |
12 | router: | |
13 | resource: "%kernel.root_dir%/config/routing.yml" | |
14 | strict_requirements: ~ | |
15 | form: ~ | |
16 | csrf_protection: ~ | |
17 | validation: | |
18 | enable_annotations: true | |
19 | templating: | |
20 | engines: ['twig'] | |
21 | default_locale: "%locale%" | |
22 | trusted_hosts: ~ | |
23 | trusted_proxies: ~ | |
24 | session: | |
25 | # handler_id set to null will use default session handler from php.ini | |
26 | handler_id: session.handler.native_file | |
27 | save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" | |
28 | fragments: ~ | |
29 | http_method_override: true | |
30 | assets: ~ | |
31 | ||
32 | wallabag_core: | |
33 | version: 2.0.7 | |
34 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" | |
35 | languages: | |
36 | en: 'English' | |
37 | fr: 'Français' | |
38 | de: 'Deutsch' | |
39 | tr: 'Türkçe' | |
40 | fa: 'فارسی' | |
41 | ro: 'Română' | |
42 | pl: 'Polish' | |
43 | da: 'Dansk' | |
44 | es: 'Español' | |
45 | oc: 'Occitan' | |
46 | it: 'Italiano' | |
47 | items_on_page: 12 | |
48 | theme: material | |
49 | language: en | |
50 | rss_limit: 50 | |
51 | reading_speed: 1 | |
52 | ||
53 | wallabag_import: | |
54 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] | |
55 | resource_dir: "%kernel.root_dir%/../web/uploads/import" | |
56 | ||
57 | # Twig Configuration | |
58 | twig: | |
59 | debug: "%kernel.debug%" | |
60 | strict_variables: "%kernel.debug%" | |
61 | form_themes: | |
62 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | |
63 | ||
64 | # Doctrine Configuration | |
65 | doctrine: | |
66 | dbal: | |
67 | driver: "%database_driver%" | |
68 | host: "%database_host%" | |
69 | port: "%database_port%" | |
70 | dbname: "%database_name%" | |
71 | user: "%database_user%" | |
72 | password: "%database_password%" | |
73 | charset: UTF8 | |
74 | path: "%database_path%" | |
75 | server_version: 5.6 | |
76 | ||
77 | orm: | |
78 | auto_generate_proxy_classes: "%kernel.debug%" | |
79 | entity_managers: | |
80 | default: | |
81 | auto_mapping: true | |
82 | ||
83 | stof_doctrine_extensions: | |
84 | default_locale: "%locale%" | |
85 | translation_fallback: true | |
86 | orm: | |
87 | default: | |
88 | tree: true | |
89 | sluggable: true | |
90 | ||
91 | doctrine_migrations: | |
92 | dir_name: "%kernel.root_dir%/DoctrineMigrations" | |
93 | namespace: Application\Migrations | |
94 | table_name: migration_versions | |
95 | name: Application Migrations | |
96 | ||
97 | # Swiftmailer Configuration | |
98 | swiftmailer: | |
99 | transport: "%mailer_transport%" | |
100 | host: "%mailer_host%" | |
101 | username: "%mailer_user%" | |
102 | password: "%mailer_password%" | |
103 | spool: | |
104 | type: memory | |
105 | ||
106 | fos_rest: | |
107 | param_fetcher_listener: true | |
108 | body_listener: true | |
109 | format_listener: true | |
110 | view: | |
111 | view_response_listener: 'force' | |
112 | formats: | |
113 | xml: true | |
114 | json : true | |
115 | templating_formats: | |
116 | html: true | |
117 | force_redirects: | |
118 | html: true | |
119 | failed_validation: HTTP_BAD_REQUEST | |
120 | default_engine: twig | |
121 | routing_loader: | |
122 | default_format: json | |
123 | ||
124 | nelmio_api_doc: | |
125 | sandbox: | |
126 | enabled: false | |
127 | name: wallabag API documentation | |
128 | ||
129 | nelmio_cors: | |
130 | defaults: | |
131 | allow_credentials: false | |
132 | allow_origin: [] | |
133 | allow_headers: [] | |
134 | allow_methods: [] | |
135 | expose_headers: [] | |
136 | max_age: 0 | |
137 | hosts: [] | |
138 | #origin_regex: false | |
139 | paths: | |
140 | '^/api/': | |
141 | allow_origin: ['*'] | |
142 | allow_headers: ['X-Custom-Auth'] | |
143 | allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] | |
144 | max_age: 3600 | |
145 | '^/oauth/': | |
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 | bundle_resource: | |
167 | - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%" | |
168 | ||
169 | fos_user: | |
170 | db_driver: orm | |
171 | firewall_name: secured_area | |
172 | user_class: Wallabag\UserBundle\Entity\User | |
173 | registration: | |
174 | confirmation: | |
175 | enabled: "%fosuser_confirmation%" | |
176 | from_email: | |
177 | address: "%from_email%" | |
178 | sender_name: wallabag | |
179 | fos_oauth_server: | |
180 | db_driver: orm | |
181 | client_class: Wallabag\ApiBundle\Entity\Client | |
182 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
183 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
184 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
185 | service: | |
186 | user_provider: fos_user.user_manager | |
187 | ||
188 | scheb_two_factor: | |
189 | trusted_computer: | |
190 | enabled: true | |
191 | cookie_name: wllbg_trusted_computer | |
192 | cookie_lifetime: 2592000 | |
193 | ||
194 | email: | |
195 | enabled: "%twofactor_auth%" | |
196 | sender_email: "%twofactor_sender%" | |
197 | digits: 6 | |
198 | template: WallabagUserBundle:Authentication:form.html.twig | |
199 | mailer: wallabag_user.auth_code_mailer | |
200 | ||
201 | kphoen_rulerz: | |
202 | executors: | |
203 | doctrine: true | |
204 | ||
205 | lexik_maintenance: | |
206 | authorized: | |
207 | ips: ['127.0.0.1'] | |
208 | driver: | |
209 | ttl: 3600 | |
210 | class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver' | |
211 | response: | |
212 | code: 503 | |
213 | status: "wallabag Service Temporarily Unavailable" |