]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
Add test on getting starred entries using the API
[github/wallabag/wallabag.git] / app / config / config.yml
CommitLineData
93fd4692
NL
1imports:
2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
5
6framework:
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
24 handler_id: ~
25 fragments: ~
26 http_method_override: true
27
28# Twig Configuration
29twig:
30 debug: "%kernel.debug%"
31 strict_variables: "%kernel.debug%"
bd9f0815
NL
32 globals:
33 share_twitter: %share_twitter%
34 share_mail: %share_mail%
35 share_shaarli: %share_shaarli%
36 shaarli_url: %shaarli_url%
37 share_diaspora: %share_diaspora%
38 diaspora_url: %diaspora_url%
39 flattr: %flattr%
40 flattrable: 1
41 flattred: 2
42 carrot: %carrot%
43 show_printlink: %show_printlink%
44 export_epub: %export_epub%
45 export_mobi: %export_mobi%
46 export_pdf: %export_pdf%
b84a8055 47 version: %app.version%
fdab81e9 48 warning_message: %warning_message%
b84a8055
NL
49 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
50 flattr_url: "https://flattr.com/thing/1265480"
26864574
NL
51 form:
52 resources:
53 - LexikFormFilterBundle:Form:form_div_layout.html.twig
93fd4692
NL
54# Assetic Configuration
55assetic:
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
68doctrine:
69 dbal:
70 driver: "%database_driver%"
61b9fdd5
NL
71 host: "%database_host%"
72 port: "%database_port%"
73 dbname: "%database_name%"
74 user: "%database_user%"
75 password: "%database_password%"
93fd4692 76 charset: UTF8
9d50517c 77 path: "%database_path%"
93fd4692
NL
78
79 orm:
80 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
81 entity_managers:
82 default:
83 naming_strategy: wallabag_core.doctrine.prefixed_naming_strategy
84 auto_mapping: true
93fd4692
NL
85
86# Swiftmailer Configuration
87swiftmailer:
88 transport: "%mailer_transport%"
89 host: "%mailer_host%"
90 username: "%mailer_user%"
91 password: "%mailer_password%"
92 spool: { type: memory }
e4788de5
NL
93
94fos_rest:
95 param_fetcher_listener: true
96 body_listener: true
97 format_listener: true
98 view:
99 view_response_listener: 'force'
100 formats:
101 xml: true
102 json : true
103 templating_formats:
104 html: true
105 force_redirects:
106 html: true
107 failed_validation: HTTP_BAD_REQUEST
108 default_engine: twig
109 routing_loader:
a65f5d55 110 default_format: json
e4788de5 111
78cedc22 112nelmio_api_doc: ~
fca3c757
NL
113
114nelmio_cors:
115 defaults:
116 allow_credentials: false
117 allow_origin: []
118 allow_headers: []
119 allow_methods: []
120 expose_headers: []
121 max_age: 0
122 hosts: []
123 #origin_regex: false
124 paths:
125 '^/api/':
126 allow_origin: ['*']
127 allow_headers: ['X-Custom-Auth']
128 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
129 max_age: 3600
130 '^/':
131 #origin_regex: true
132 allow_origin: ['^http://localhost:[0-9]+']
133 allow_headers: ['X-Custom-Auth']
134 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
135 max_age: 3600
136 hosts: ['^api\.']
32da2a70
J
137
138liip_theme:
139 load_controllers: false
140 themes:
141 - baggy
9948d899 142 - material
32da2a70
J
143 autodetect_theme: wallabag_core.helper.detect_active_theme
144
145 path_patterns:
3e30422c
J
146 # app_resource:
147 # - %%app_path%%/views/themes/%%current_theme%%/%%template%%
148 # - %%app_path%%/views/%%template%%
32da2a70
J
149 bundle_resource:
150 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
3e30422c
J
151 # bundle_resource_dir:
152 # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
153 # - %%dir%%/views/%%bundle_name%%/%%override_path%%