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