diff --git a/.travis.yml b/.travis.yml index 4542fdcb6..7a7c9056c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,6 @@ matrix: - php: hhvm env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency allow_failures: - - php: 7.0 - php: hhvm branches: diff --git a/app/config/config.yml b/app/config/config.yml index f2538c902..8403a458f 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -198,6 +198,7 @@ scheb_two_factor: sender_email: %twofactor_sender% digits: 6 template: WallabagUserBundle:Authentication:form.html.twig + mailer: wallabag_user.auth_code_mailer kphoen_rulerz: executors: diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index b475d6370..149179c2e 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -52,10 +52,11 @@ parameters: export_mobi: true export_pdf: true wallabag_url: http://v2.wallabag.org + wallabag_support_url: 'https://www.wallabag.org/pages/support.html' # default user config items_on_page: 12 theme: material - language: en_US + language: en from_email: no-reply@wallabag.org rss_limit: 50 diff --git a/app/config/tests/parameters.yml.dist.mysql b/app/config/tests/parameters.yml.dist.mysql index 5b29690c4..096ad8c76 100644 --- a/app/config/tests/parameters.yml.dist.mysql +++ b/app/config/tests/parameters.yml.dist.mysql @@ -52,6 +52,7 @@ parameters: export_mobi: true export_pdf: true wallabag_url: http://v2.wallabag.org + wallabag_support_url: 'https://www.wallabag.org/pages/support.html' # default user config items_on_page: 12 diff --git a/app/config/tests/parameters.yml.dist.pgsql b/app/config/tests/parameters.yml.dist.pgsql index efdac9617..ca3f6ea20 100644 --- a/app/config/tests/parameters.yml.dist.pgsql +++ b/app/config/tests/parameters.yml.dist.pgsql @@ -52,6 +52,7 @@ parameters: export_mobi: true export_pdf: true wallabag_url: http://v2.wallabag.org + wallabag_support_url: 'https://www.wallabag.org/pages/support.html' # default user config items_on_page: 12 diff --git a/app/config/tests/parameters.yml.dist.sqlite b/app/config/tests/parameters.yml.dist.sqlite index 276d11471..92460bcfc 100644 --- a/app/config/tests/parameters.yml.dist.sqlite +++ b/app/config/tests/parameters.yml.dist.sqlite @@ -52,6 +52,7 @@ parameters: export_mobi: true export_pdf: true wallabag_url: http://v2.wallabag.org + wallabag_support_url: 'https://www.wallabag.org/pages/support.html' # default user config items_on_page: 12 diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php index 84b78a89b..3b3c1e979 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php @@ -25,7 +25,7 @@ class LoadConfigData extends AbstractFixture implements OrderedFixtureInterface $adminConfig->setTheme('material'); $adminConfig->setItemsPerPage(30); - $adminConfig->setLanguage('en_US'); + $adminConfig->setLanguage('en'); $manager->persist($adminConfig); @@ -34,7 +34,7 @@ class LoadConfigData extends AbstractFixture implements OrderedFixtureInterface $bobConfig = new Config($this->getReference('bob-user')); $bobConfig->setTheme('default'); $bobConfig->setItemsPerPage(10); - $bobConfig->setLanguage('fr_FR'); + $bobConfig->setLanguage('fr'); $manager->persist($bobConfig); diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig index cc797c632..d9850f7a9 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig @@ -40,6 +40,10 @@ {{ form_start(form.rss) }} {{ form_errors(form.rss) }} +