From e262bbc9ea23664a6240afc1f1aad98f341a93a7 Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Thu, 5 Dec 2013 12:57:28 +0100 Subject: [PATCH] Added config variable titles --- install/insert.sql | 47 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 10 deletions(-) diff --git a/install/insert.sql b/install/insert.sql index 86fe7847b..5a90a8284 100755 --- a/install/insert.sql +++ b/install/insert.sql @@ -5,13 +5,12 @@ INSERT INTO `lang`(`id`,`title`,`code`,`locale`,`url`,`date_format`,`time_format (4, 'Italiano', 'it', 'it_IT', '', 'd/m/Y', 'H:i:s', 'd/m/y H:i:s', ',', ' ', '2', '0', NOW(), NOW()); INSERT INTO `config` (`name`, `value`, `secured`, `hidden`, `created_at`, `updated_at`) VALUES -('session_config.default', '1', 1, 1, NOW(), NOW()), -('verifyStock', '1', 0, 0, NOW(), NOW()), +('session_config.handlers', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler', 0, 0, NOW(), NOW()), +('check-available-stock', '1', 0, 0, NOW(), NOW()), ('active-front-template', 'default', 0, 0, NOW(), NOW()), ('active-admin-template', 'default', 0, 0, NOW(), NOW()), ('active-pdf-template', 'default', 0, 0, NOW(), NOW()), ('active-mail-template', 'default', 0, 0, NOW(), NOW()), -('default_lang_without_translation', '1', 1, 1, NOW(), NOW()), ('rewriting_enable', '0', 0, 0, NOW(), NOW()), ('imagine_graphic_driver', 'gd', 0, 0, NOW(), NOW()), ('default_images_quality_percent', '75', 0, 0, NOW(), NOW()), @@ -23,27 +22,55 @@ INSERT INTO `config` (`name`, `value`, `secured`, `hidden`, `created_at`, `updat ('document_cache_dir_from_web_root', 'cache/documents', 0, 0, NOW(), NOW()), ('currency_rate_update_url', 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml', 0, 0, NOW(), NOW()), ('page_not_found_view', '404.html', 0, 0, NOW(), NOW()), -('passed_url_view', 'passed-url', 0, 0, NOW(), NOW()), +('obsolete_rewriten_url_view', 'obsolete-rewritten-url', 0, 0, NOW(), NOW()), ('use_tax_free_amounts', 0, 0, 0, NOW(), NOW()), ('process_assets', '1', 0, 0, NOW(), NOW()), ('thelia_admin_remember_me_cookie_name', 'tarmcn', 0, 0, NOW(), NOW()), ('thelia_admin_remember_me_cookie_expiration', 2592000, 0, 0, NOW(), NOW()), ('thelia_customer_remember_me_cookie_name', 'tcrmcn', 0, 0, NOW(), NOW()), ('thelia_customer_remember_me_cookie_expiration', 31536000, 0, 0, NOW(), NOW()), -('session_config.handlers', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler', 0, 0, NOW(), NOW()), -('store_name','', 0, 1, NOW(), NOW()), -('store_email','', 0, 1, NOW(), NOW()), ('url_site','', 0, 0, NOW(), NOW()), -('one_domain_foreach_lang','0', 1, 1, NOW(), NOW()), ('pdf_invoice_file', 'invoice', 0, 0, NOW(), NOW()), ('pdf_delivery_file', 'delivery', 0, 0, NOW(), NOW()), +('session_config.default', '1', 1, 1, NOW(), NOW()), +('default_lang_without_translation', '1', 1, 1, NOW(), NOW()), +('store_name','', 0, 1, NOW(), NOW()), +('store_email','', 0, 1, NOW(), NOW()), +('one_domain_foreach_lang','0', 1, 1, NOW(), NOW()), ('thelia_version','2.0.0-beta1', 1, 1, NOW(), NOW()), ('thelia_major_version','2', 1, 1, NOW(), NOW()), ('thelia_minus_version','0', 1, 1, NOW(), NOW()), ('thelia_release_version','0', 1, 1, NOW(), NOW()), -('thelia_extra_version','beta1', 1, 1, NOW(), NOW()) -; +('thelia_extra_version','beta1', 1, 1, NOW(), NOW()); +INSERT INTO `config_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `postscriptum`) VALUES +(1, 'en_US', 'Class name of the session handler', NULL, NULL, NULL), +(2, 'en_US', 'Check available product stock (1) or ignore it (0) when displaying and changing ordered quantity', NULL, NULL, NULL), +(3, 'en_US', 'Name of the active front-office template', NULL, NULL, NULL), +(4, 'en_US', 'Name of the active back-office template', NULL, NULL, NULL), +(5, 'en_US', 'Name of the active PDF template', NULL, NULL, NULL), +(6, 'en_US', 'Name of the active mailing template', NULL, NULL, NULL), +(7, 'en_US', 'Enable (1) or disable (0) URL rewriting', NULL, NULL, NULL), +(8, 'en_US', 'Name of the graphic driver used by the Imagine library (see https://imagine.readthedocs.org)', NULL, NULL, NULL), +(9, 'en_US', 'The default quality (in %) of the generated images', NULL, NULL, NULL), +(10, 'en_US', 'How original (full resolution) images are delivered in the web space (symlink or copy)', NULL, NULL, NULL), +(11, 'en_US', 'How document files are delivered in the web space (symlink or copy)', NULL, NULL, NULL), +(12, 'en_US', 'Path to the directory where images are stored', NULL, NULL, NULL), +(13, 'en_US', 'Path to the directory where documents are stored', NULL, NULL, NULL), +(14, 'en_US', 'The path to the image cache directory in the web space', NULL, NULL, NULL), +(15, 'en_US', 'The path to the document cache directory in the web space', NULL, NULL, NULL), +(16, 'en_US', 'The URL to update exchange rates', NULL, NULL, NULL), +(17, 'en_US', 'File name of the 404 (not found) view in the current template (with extension, e.g. 404.html)', NULL, NULL, NULL), +(18, 'en_US', 'Name of the template view returned when an obsolete (or inactive) product URL is invoked', NULL, NULL, NULL), +(19, 'en_US', 'Display and process prices with (0) or without (1) taxes.', NULL, NULL, NULL), +(20, 'en_US', 'Compile templates assets automatically upon asset source change (1 = yes, 0 = no)', NULL, NULL, NULL), +(21, 'en_US', '"Remember me" cookie name for administration users', NULL, NULL, NULL), +(22, 'en_US', '"Remember me" cookie expiration time, in seconds, for administration users', NULL, NULL, NULL), +(23, 'en_US', '"Remember me" cookie name for customer users', NULL, NULL, NULL), +(24, 'en_US', '"Remember me" cookie expiration time, in seconds, for customer users', NULL, NULL, NULL), +(25, 'en_US', 'Base URL of the shop (e.g. http://www.yourshopdomain.com)', NULL, NULL, NULL), +(26, 'en_US', 'Name of the invoice view in the current PDF template (without extension)', NULL, NULL, NULL), +(27, 'en_US', 'Name of the delivery view in the current PDF template (without extension)', NULL, NULL, NULL); INSERT INTO `module` (`id`, `code`, `type`, `activate`, `position`, `full_namespace`, `created_at`, `updated_at`) VALUES (1, 'TheliaDebugBar', 1, 1, 1, 'TheliaDebugBar\\TheliaDebugBar', NOW(), NOW()),