X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fconfig.yml;h=666df96388039b31abf9477ce854caefba3bd7b3;hb=848c2e1b9750d73113983fef8fcc9055500acfd4;hp=dc6bccee00a768461d977b4e7e675d848a5032e7;hpb=e008c037f53324b931f027483f9f1053171109c5;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/config.yml b/app/config/config.yml index dc6bccee..666df963 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -28,17 +28,25 @@ 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' fr: 'Français' de: 'Deutsch' 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'] @@ -75,6 +83,7 @@ doctrine: password: "%database_password%" charset: UTF8 path: "%database_path%" + server_version: 5.6 orm: auto_generate_proxy_classes: "%kernel.debug%" @@ -143,6 +152,11 @@ nelmio_cors: allow_headers: ['X-Custom-Auth'] allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] max_age: 3600 + '^/oauth/': + allow_origin: ['*'] + allow_headers: ['X-Custom-Auth'] + allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] + max_age: 3600 '^/': #origin_regex: true allow_origin: ['^http://localhost:[0-9]+'] @@ -168,7 +182,7 @@ fos_user: user_class: Wallabag\UserBundle\Entity\User registration: confirmation: - enabled: true + enabled: %fosuser_confirmation% from_email: address: %from_email% sender_name: wallabag @@ -197,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"