X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fconfig.yml;h=b2699c83aa5512077d9eddf21a05370bcf89bb73;hb=2db616b586f473238706e554e809086935e0f33a;hp=367aa2763537dff1868576d823b42cbc014c06d3;hpb=3e30422cdae3cc45f44c3039c2d38b99121dd9e9;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/config.yml b/app/config/config.yml index 367aa276..b2699c83 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -45,8 +45,12 @@ twig: export_mobi: %export_mobi% export_pdf: %export_pdf% version: %app.version% + warning_message: %warning_message% paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" flattr_url: "https://flattr.com/thing/1265480" + form: + resources: + - LexikFormFilterBundle:Form:form_div_layout.html.twig # Assetic Configuration assetic: @@ -75,7 +79,10 @@ doctrine: orm: auto_generate_proxy_classes: "%kernel.debug%" - auto_mapping: true + entity_managers: + default: + naming_strategy: wallabag_core.doctrine.prefixed_naming_strategy + auto_mapping: true # Swiftmailer Configuration swiftmailer: @@ -103,7 +110,9 @@ fos_rest: routing_loader: default_format: json -nelmio_api_doc: ~ +nelmio_api_doc: + sandbox: + enabled: false nelmio_cors: defaults: @@ -133,6 +142,7 @@ liip_theme: load_controllers: false themes: - baggy + - material autodetect_theme: wallabag_core.helper.detect_active_theme path_patterns: @@ -144,3 +154,33 @@ liip_theme: # bundle_resource_dir: # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%% # - %%dir%%/views/%%bundle_name%%/%%override_path%% + +fos_user: + db_driver: orm + firewall_name: main + user_class: Wallabag\UserBundle\Entity\User + registration: + confirmation: + enabled: true + +fos_oauth_server: + db_driver: orm + client_class: Wallabag\ApiBundle\Entity\Client + access_token_class: Wallabag\ApiBundle\Entity\AccessToken + refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken + auth_code_class: Wallabag\ApiBundle\Entity\AuthCode + service: + user_provider: fos_user.user_manager + +scheb_two_factor: + + trusted_computer: + enabled: true + cookie_name: wllbg_trusted_computer + cookie_lifetime: 5184000 + + email: + enabled: true + sender_email: no-reply@wallabag.org + digits: 6 + template: WallabagUserBundle:Authentication:form.html.twig