]>
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 | |
73cd160b JB |
24 | handler_id: session.handler.native_file |
25 | save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" | |
93fd4692 NL |
26 | fragments: ~ |
27 | http_method_override: true | |
d8dbe76b | 28 | assets: ~ |
93fd4692 | 29 | |
c89d35e8 | 30 | wallabag_core: |
a74a6ca2 | 31 | version: 2.0.0-alpha.2 |
63e40f2d | 32 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" |
c89d35e8 NL |
33 | languages: |
34 | en: 'English' | |
35 | fr: 'Français' | |
57cf6fd7 | 36 | de: 'Deutsch' |
f47101e0 | 37 | tr: 'Türkçe' |
e2b4f0e2 | 38 | fa: 'فارسی' |
bc789687 JB |
39 | items_on_page: 12 |
40 | theme: material | |
41 | language: en | |
42 | rss_limit: 50 | |
77a7752a JB |
43 | |
44 | wallabag_import: | |
45 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] | |
b1d05721 | 46 | resource_dir: "%kernel.root_dir%/../web/uploads/import" |
c89d35e8 | 47 | |
93fd4692 NL |
48 | # Twig Configuration |
49 | twig: | |
50 | debug: "%kernel.debug%" | |
51 | strict_variables: "%kernel.debug%" | |
5c895a7f JB |
52 | form_themes: |
53 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | |
6682139e | 54 | |
93fd4692 NL |
55 | # Assetic Configuration |
56 | assetic: | |
57 | debug: "%kernel.debug%" | |
58 | use_controller: false | |
59 | bundles: [ ] | |
60 | #java: /usr/bin/java | |
61 | filters: | |
62 | cssrewrite: ~ | |
63 | #closure: | |
64 | # jar: "%kernel.root_dir%/Resources/java/compiler.jar" | |
65 | #yui_css: | |
66 | # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar" | |
67 | ||
68 | # Doctrine Configuration | |
69 | doctrine: | |
70 | dbal: | |
71 | driver: "%database_driver%" | |
61b9fdd5 NL |
72 | host: "%database_host%" |
73 | port: "%database_port%" | |
74 | dbname: "%database_name%" | |
75 | user: "%database_user%" | |
76 | password: "%database_password%" | |
93fd4692 | 77 | charset: UTF8 |
9d50517c | 78 | path: "%database_path%" |
93fd4692 NL |
79 | |
80 | orm: | |
81 | auto_generate_proxy_classes: "%kernel.debug%" | |
164bd801 J |
82 | entity_managers: |
83 | default: | |
164bd801 | 84 | auto_mapping: true |
93fd4692 | 85 | |
3c65dfb7 NL |
86 | stof_doctrine_extensions: |
87 | default_locale: "%locale%" | |
88 | translation_fallback: true | |
89 | orm: | |
90 | default: | |
91 | tree: true | |
92 | sluggable: true | |
93 | ||
292c1324 NL |
94 | doctrine_migrations: |
95 | dir_name: "%kernel.root_dir%/DoctrineMigrations" | |
96 | namespace: Application\Migrations | |
97 | table_name: migration_versions | |
98 | name: Application Migrations | |
99 | ||
93fd4692 NL |
100 | # Swiftmailer Configuration |
101 | swiftmailer: | |
102 | transport: "%mailer_transport%" | |
103 | host: "%mailer_host%" | |
104 | username: "%mailer_user%" | |
105 | password: "%mailer_password%" | |
106 | spool: { type: memory } | |
e4788de5 NL |
107 | |
108 | fos_rest: | |
109 | param_fetcher_listener: true | |
110 | body_listener: true | |
111 | format_listener: true | |
112 | view: | |
113 | view_response_listener: 'force' | |
114 | formats: | |
115 | xml: true | |
116 | json : true | |
117 | templating_formats: | |
118 | html: true | |
119 | force_redirects: | |
120 | html: true | |
121 | failed_validation: HTTP_BAD_REQUEST | |
122 | default_engine: twig | |
123 | routing_loader: | |
a65f5d55 | 124 | default_format: json |
e4788de5 | 125 | |
cd1298d6 NL |
126 | nelmio_api_doc: |
127 | sandbox: | |
128 | enabled: false | |
3c65dfb7 | 129 | name: wallabag API documentation |
fca3c757 NL |
130 | |
131 | nelmio_cors: | |
132 | defaults: | |
133 | allow_credentials: false | |
134 | allow_origin: [] | |
135 | allow_headers: [] | |
136 | allow_methods: [] | |
137 | expose_headers: [] | |
138 | max_age: 0 | |
139 | hosts: [] | |
140 | #origin_regex: false | |
141 | paths: | |
142 | '^/api/': | |
143 | allow_origin: ['*'] | |
144 | allow_headers: ['X-Custom-Auth'] | |
145 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
146 | max_age: 3600 | |
147 | '^/': | |
148 | #origin_regex: true | |
149 | allow_origin: ['^http://localhost:[0-9]+'] | |
150 | allow_headers: ['X-Custom-Auth'] | |
151 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
152 | max_age: 3600 | |
153 | hosts: ['^api\.'] | |
32da2a70 J |
154 | |
155 | liip_theme: | |
156 | load_controllers: false | |
157 | themes: | |
158 | - baggy | |
9948d899 | 159 | - material |
32da2a70 J |
160 | autodetect_theme: wallabag_core.helper.detect_active_theme |
161 | ||
162 | path_patterns: | |
32da2a70 J |
163 | bundle_resource: |
164 | - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%% | |
a1691859 NL |
165 | |
166 | fos_user: | |
167 | db_driver: orm | |
168 | firewall_name: main | |
1210dae1 | 169 | user_class: Wallabag\UserBundle\Entity\User |
fcb1fba5 | 170 | registration: |
fcb1fba5 | 171 | confirmation: |
3eb06f28 | 172 | enabled: %fosuser_confirmation% |
a40dd989 NL |
173 | from_email: |
174 | address: %from_email% | |
175 | sender_name: wallabag | |
fcb1fba5 NL |
176 | fos_oauth_server: |
177 | db_driver: orm | |
178 | client_class: Wallabag\ApiBundle\Entity\Client | |
179 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
180 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
181 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
182 | service: | |
183 | user_provider: fos_user.user_manager | |
2db616b5 NL |
184 | |
185 | scheb_two_factor: | |
2db616b5 NL |
186 | trusted_computer: |
187 | enabled: true | |
188 | cookie_name: wllbg_trusted_computer | |
0d6a7929 | 189 | cookie_lifetime: 2592000 |
2db616b5 NL |
190 | |
191 | email: | |
18cf594f NL |
192 | enabled: %twofactor_auth% |
193 | sender_email: %twofactor_sender% | |
2db616b5 NL |
194 | digits: 6 |
195 | template: WallabagUserBundle:Authentication:form.html.twig | |
23ff8d36 | 196 | mailer: wallabag_user.auth_code_mailer |
625acf33 KG |
197 | |
198 | kphoen_rulerz: | |
199 | executors: | |
200 | doctrine: true |