From 78cedc2262fa6d13904915cacd546389d3f453fc Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 16 Feb 2015 21:31:16 +0100 Subject: Cleanup --- app/config/config.yml | 4 ++-- app/config/global.inc.php | 25 ------------------------- app/config/parameters.yml.dist | 2 +- 3 files changed, 3 insertions(+), 28 deletions(-) delete mode 100755 app/config/global.inc.php (limited to 'app') diff --git a/app/config/config.yml b/app/config/config.yml index 7dc1bf51..33db2458 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -5,7 +5,7 @@ imports: framework: #esi: ~ - #translator: { fallback: "%locale%" } + translator: { fallback: "%locale%" } secret: "%secret%" router: resource: "%kernel.root_dir%/config/routing.yml" @@ -103,4 +103,4 @@ fos_rest: routing_loader: default_format: json -nelmio_api_doc: ~ \ No newline at end of file +nelmio_api_doc: ~ diff --git a/app/config/global.inc.php b/app/config/global.inc.php deleted file mode 100755 index 8e62818b..00000000 --- a/app/config/global.inc.php +++ /dev/null @@ -1,25 +0,0 @@ - - * @copyright 2013 - * @license http://opensource.org/licenses/MIT see COPYING file - */ - -define('ROOT', dirname(__FILE__) . '/../..'); - -require_once ROOT . '/vendor/autoload.php'; - -# system configuration -require_once __DIR__ . '/config.inc.php'; -require_once __DIR__ . '/config.inc.default.php'; - -if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { - date_default_timezone_set('UTC'); -} - -if (defined('ERROR_REPORTING')) { - error_reporting(ERROR_REPORTING); -} diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index e1be2e6e..e936911c 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -38,4 +38,4 @@ parameters: export_pdf: true # List view - items_on_page: 12 \ No newline at end of file + items_on_page: 12 -- cgit v1.2.3 From d9085c63e35bb708f560722fff5f4f5ad322c27b Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 17 Feb 2015 21:03:23 +0100 Subject: Handle password change --- app/config/services.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'app') diff --git a/app/config/services.yml b/app/config/services.yml index d4485e42..91a03e10 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -3,6 +3,7 @@ parameters: security.authentication.provider.dao.class: Wallabag\CoreBundle\Security\Authentication\Provider\WallabagAuthenticationProvider security.encoder.digest.class: Wallabag\CoreBundle\Security\Authentication\Encoder\WallabagPasswordEncoder + security.validator.user_password.class: Wallabag\CoreBundle\Security\Validator\WallabagUserPasswordValidator services: # service_name: -- cgit v1.2.3 From 0bd2cb1ecd2f9194735af77142390a94723d1b39 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 22 Feb 2015 10:50:27 +0100 Subject: Handle default value for new user --- app/config/parameters.yml.dist | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index e936911c..258a585f 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -37,5 +37,7 @@ parameters: export_mobi: true export_pdf: true - # List view + # default user config items_on_page: 12 + theme: baggy + language: en_US -- cgit v1.2.3 From 732c2ad8971f427ec196acfac53dad034cefdef4 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 22 Feb 2015 17:18:54 +0100 Subject: sqlite doesn't support getListDatabasesSQL --- app/config/parameters.yml.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 258a585f..44969750 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -6,7 +6,7 @@ parameters: database_name: symfony database_user: root database_password: ~ - database_path: "%kernel.root_dir%/../data/db/poche.sqlite" + database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite" mailer_transport: smtp mailer_host: 127.0.0.1 -- cgit v1.2.3