]>
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.0-alpha.2 | |
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 | items_on_page: 12 | |
39 | theme: material | |
40 | language: en | |
41 | rss_limit: 50 | |
42 | ||
43 | wallabag_import: | |
44 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] | |
45 | resource_dir: "%kernel.root_dir%/../web/uploads/import" | |
46 | ||
47 | # Twig Configuration | |
48 | twig: | |
49 | debug: "%kernel.debug%" | |
50 | strict_variables: "%kernel.debug%" | |
51 | form_themes: | |
52 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | |
53 | ||
54 | # Assetic Configuration | |
55 | assetic: | |
56 | debug: "%kernel.debug%" | |
57 | use_controller: false | |
58 | bundles: [ ] | |
59 | #java: /usr/bin/java | |
60 | filters: | |
61 | cssrewrite: ~ | |
62 | #closure: | |
63 | # jar: "%kernel.root_dir%/Resources/java/compiler.jar" | |
64 | #yui_css: | |
65 | # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar" | |
66 | ||
67 | # Doctrine Configuration | |
68 | doctrine: | |
69 | dbal: | |
70 | driver: "%database_driver%" | |
71 | host: "%database_host%" | |
72 | port: "%database_port%" | |
73 | dbname: "%database_name%" | |
74 | user: "%database_user%" | |
75 | password: "%database_password%" | |
76 | charset: UTF8 | |
77 | path: "%database_path%" | |
78 | ||
79 | orm: | |
80 | auto_generate_proxy_classes: "%kernel.debug%" | |
81 | entity_managers: | |
82 | default: | |
83 | auto_mapping: true | |
84 | ||
85 | stof_doctrine_extensions: | |
86 | default_locale: "%locale%" | |
87 | translation_fallback: true | |
88 | orm: | |
89 | default: | |
90 | tree: true | |
91 | sluggable: true | |
92 | ||
93 | doctrine_migrations: | |
94 | dir_name: "%kernel.root_dir%/DoctrineMigrations" | |
95 | namespace: Application\Migrations | |
96 | table_name: migration_versions | |
97 | name: Application Migrations | |
98 | ||
99 | # Swiftmailer Configuration | |
100 | swiftmailer: | |
101 | transport: "%mailer_transport%" | |
102 | host: "%mailer_host%" | |
103 | username: "%mailer_user%" | |
104 | password: "%mailer_password%" | |
105 | spool: { type: memory } | |
106 | ||
107 | fos_rest: | |
108 | param_fetcher_listener: true | |
109 | body_listener: true | |
110 | format_listener: true | |
111 | view: | |
112 | view_response_listener: 'force' | |
113 | formats: | |
114 | xml: true | |
115 | json : true | |
116 | templating_formats: | |
117 | html: true | |
118 | force_redirects: | |
119 | html: true | |
120 | failed_validation: HTTP_BAD_REQUEST | |
121 | default_engine: twig | |
122 | routing_loader: | |
123 | default_format: json | |
124 | ||
125 | nelmio_api_doc: | |
126 | sandbox: | |
127 | enabled: false | |
128 | name: wallabag API documentation | |
129 | ||
130 | nelmio_cors: | |
131 | defaults: | |
132 | allow_credentials: false | |
133 | allow_origin: [] | |
134 | allow_headers: [] | |
135 | allow_methods: [] | |
136 | expose_headers: [] | |
137 | max_age: 0 | |
138 | hosts: [] | |
139 | #origin_regex: false | |
140 | paths: | |
141 | '^/api/': | |
142 | allow_origin: ['*'] | |
143 | allow_headers: ['X-Custom-Auth'] | |
144 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
145 | max_age: 3600 | |
146 | '^/': | |
147 | #origin_regex: true | |
148 | allow_origin: ['^http://localhost:[0-9]+'] | |
149 | allow_headers: ['X-Custom-Auth'] | |
150 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
151 | max_age: 3600 | |
152 | hosts: ['^api\.'] | |
153 | ||
154 | liip_theme: | |
155 | load_controllers: false | |
156 | themes: | |
157 | - baggy | |
158 | - material | |
159 | autodetect_theme: wallabag_core.helper.detect_active_theme | |
160 | ||
161 | path_patterns: | |
162 | bundle_resource: | |
163 | - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%% | |
164 | ||
165 | fos_user: | |
166 | db_driver: orm | |
167 | firewall_name: main | |
168 | user_class: Wallabag\UserBundle\Entity\User | |
169 | registration: | |
170 | confirmation: | |
171 | enabled: %fosuser_confirmation% | |
172 | from_email: | |
173 | address: %from_email% | |
174 | sender_name: wallabag | |
175 | fos_oauth_server: | |
176 | db_driver: orm | |
177 | client_class: Wallabag\ApiBundle\Entity\Client | |
178 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
179 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
180 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
181 | service: | |
182 | user_provider: fos_user.user_manager | |
183 | ||
184 | scheb_two_factor: | |
185 | trusted_computer: | |
186 | enabled: true | |
187 | cookie_name: wllbg_trusted_computer | |
188 | cookie_lifetime: 2592000 | |
189 | ||
190 | email: | |
191 | enabled: %twofactor_auth% | |
192 | sender_email: %twofactor_sender% | |
193 | digits: 6 | |
194 | template: WallabagUserBundle:Authentication:form.html.twig | |
195 | mailer: wallabag_user.auth_code_mailer | |
196 | ||
197 | kphoen_rulerz: | |
198 | executors: | |
199 | doctrine: true |