X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fconfig.yml;h=408e1b1e4e2cd700cfae8d8587a21f8410ff6a31;hb=41c9eecfa728df7d8734ca1b0a69c55c93aafcea;hp=359af7262fbb66b39cd7a79cb08cffbd25d42f8f;hpb=d8f5b27012adbb18767ce000736fadd26f927123;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/config.yml b/app/config/config.yml index 359af726..408e1b1e 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -28,7 +28,7 @@ framework: assets: ~ wallabag_core: - version: 2.0.0-alpha.2 + version: 2.0.4 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" languages: en: 'English' @@ -37,10 +37,16 @@ wallabag_core: tr: 'Türkçe' fa: 'فارسی' ro: 'Română' + pl: 'Polish' + da: 'Dansk' + es: 'Español' + oc: 'Occitan' + it: 'Italiano' items_on_page: 12 theme: material language: en rss_limit: 50 + reading_speed: 1 wallabag_import: allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] @@ -77,6 +83,7 @@ doctrine: password: "%database_password%" charset: UTF8 path: "%database_path%" + server_version: 5.6 orm: auto_generate_proxy_classes: "%kernel.debug%" @@ -141,6 +148,11 @@ nelmio_cors: #origin_regex: false paths: '^/api/': + allow_origin: ['*'] + allow_headers: ['X-Custom-Auth'] + allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] + max_age: 3600 + '^/oauth/': allow_origin: ['*'] allow_headers: ['X-Custom-Auth'] allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] @@ -199,3 +211,13 @@ scheb_two_factor: kphoen_rulerz: executors: doctrine: true + +lexik_maintenance: + authorized: + ips: ['127.0.0.1'] + driver: + ttl: 3600 + class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver' + response: + code: 503 + status: "wallabag Service Temporarily Unavailable"