diff --git a/CHANGELOG.txt b/CHANGELOG.txt new file mode 100644 index 000000000..57daada08 --- /dev/null +++ b/CHANGELOG.txt @@ -0,0 +1,11 @@ +2.0.0-beta2 + http://doc.thelia.net is available in beta. + Increase performance in prod mode. + Front part (routes and controller) are now a dedicated module. + allow to create a customer in admin panel + translation is implemented : + - I18n directory in template or module. + - multiple extensions are available. We choose to used php but you can use other. + - You can translate your template or module from the admin. + Admin hook exists. With this hooks, a module can insert code in admin pages + diff --git a/composer.json b/composer.json index 9eb036a76..ad71d52e6 100755 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "homepage" : "http://thelia.net/v2", "support" : { "forum" : "http://thelia.net/forum", - "wiki" : "http://thelia.net/wiki" + "wiki" : "http://doc.thelia.net" }, "require":{ "php": ">=5.4", diff --git a/composer.lock b/composer.lock index 2b0e5a88a..a74c1b5ed 100755 --- a/composer.lock +++ b/composer.lock @@ -3,7 +3,7 @@ "This file locks the dependencies of your project to a known state", "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" ], - "hash": "009aced8b279e1c14558460fff2cc993", + "hash": "6dee359d61c06345d0e4cc045b19dc4e", "packages": [ { "name": "ensepar/html2pdf", diff --git a/core/lib/Thelia/Command/CacheClear.php b/core/lib/Thelia/Command/CacheClear.php index 1d4e7919c..3b56cbf00 100755 --- a/core/lib/Thelia/Command/CacheClear.php +++ b/core/lib/Thelia/Command/CacheClear.php @@ -52,7 +52,7 @@ class CacheClear extends ContainerAwareCommand "without-assets", null, InputOption::VALUE_NONE, - "remove cache assets" + "do not clear the assets cache in the web space" ) ; } @@ -82,17 +82,17 @@ class CacheClear extends ContainerAwareCommand } catch (\UnexpectedValueException $e) { // throws same exception code for does not exist and permission denied ... if (!file_exists($dir)) { - $output->writeln(sprintf("%s cache dir already clear", $dir)); + $output->writeln(sprintf("%s cache dir already cleared", $dir)); return; } throw $e; } catch (IOException $e) { - $output->writeln(sprintf("Error during clearing cache : %s", $e->getMessage())); + $output->writeln(sprintf("Error during clearing of cache : %s", $e->getMessage())); } - $output->writeln(sprintf("%s cache dir cleared successfully", $dir)); + $output->writeln(sprintf("%s cache directory cleared successfully", $dir)); } } diff --git a/core/lib/Thelia/Command/ModuleActivateCommand.php b/core/lib/Thelia/Command/ModuleActivateCommand.php index 1b8ac600f..139f21e9e 100755 --- a/core/lib/Thelia/Command/ModuleActivateCommand.php +++ b/core/lib/Thelia/Command/ModuleActivateCommand.php @@ -63,8 +63,6 @@ class ModuleActivateCommand extends BaseModuleGenerate } try { - new \TheliaDebugBar\TheliaDebugBar(); - $moduleReflection = new \ReflectionClass($module->getFullNamespace()); $moduleInstance = $moduleReflection->newInstance(); diff --git a/core/lib/Thelia/Config/Resources/action.xml b/core/lib/Thelia/Config/Resources/action.xml index 60c435a05..d8252f11b 100755 --- a/core/lib/Thelia/Config/Resources/action.xml +++ b/core/lib/Thelia/Config/Resources/action.xml @@ -4,12 +4,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd"> - - - - - - diff --git a/core/lib/Thelia/Config/Resources/config.xml b/core/lib/Thelia/Config/Resources/config.xml index 5a3548a9c..a5f79b8bf 100755 --- a/core/lib/Thelia/Config/Resources/config.xml +++ b/core/lib/Thelia/Config/Resources/config.xml @@ -4,11 +4,15 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd"> + + Symfony\Component\HttpKernel\HttpCache\Esi + Symfony\Component\HttpKernel\EventListener\EsiListener + Symfony\Component\HttpKernel\Fragment\EsiFragmentRenderer + Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer + - - @@ -17,6 +21,20 @@ + + + + + + + + + + + + + + Front\Controller\CustomerController::createAction diff --git a/templates/frontOffice/default/I18n/fr_FR.php b/templates/frontOffice/default/I18n/fr_FR.php index 5137cfcdd..90c91b403 100755 --- a/templates/frontOffice/default/I18n/fr_FR.php +++ b/templates/frontOffice/default/I18n/fr_FR.php @@ -13,6 +13,7 @@ return array( 'Address %nb' => 'Adresse n°', 'Address Update' => 'Mise à jour de l\'adresse', 'Address' => 'Adresse', + 'Address Line 2'=>'Complément d\'adresse', 'Amount' => 'Montant', 'Availability' => 'Disponibilité', 'Available' => 'Disponible', @@ -22,6 +23,7 @@ return array( 'Cancel' => 'Annuler', 'Cart' => 'Panier', 'Categories' => 'Catégories', + 'Cellphone'=> 'Portable', 'Change address' => 'Changer d\'adresse', 'Change my account information' => 'Modifier mes informations personnelles', 'Change my password' => 'Changer mon mot de passe', @@ -32,6 +34,7 @@ return array( 'Choose your delivery method' => 'Choisissez votre moyen de livraison', 'Choose your payment method' => 'Choisissez voter moyen de paiement', 'Code :' => 'Code', + 'Company Name'=>'Entreprise', 'Complementary address' => 'Résidence secondaire', 'Contact Us' => 'Contactez-nous', 'Continue Shopping' => 'Continuer mes achats', @@ -53,6 +56,7 @@ return array( 'Edit this address' => 'Editer cette adresse', 'Edit' => 'Editer', 'Email address' => 'Adresse e-mail', + 'Email Address' => 'Adresse e-mail', 'Follow us' => 'Suivez-nous', 'Forgot your Password?' => 'Mot de passé oublié ?', 'Free shipping' => 'Livraison gratuite', @@ -63,6 +67,7 @@ return array( 'In Stock' => 'Disponible', 'instead of' => 'au lieu de', 'Item(s)' => 'Produit(s)', + 'I would like to receive the newsletter or the latest news.' => 'Je veux m\'inscrire à la newsletter pour rester informé.', 'Language:' => 'Langue', 'Latest articles' => 'Nouveaux articles', 'Latest products' => 'Derniers produits', @@ -106,6 +111,7 @@ return array( 'Pagination' => 'Pagination', 'Password Forgotten' => 'Mot de passe oublié', 'Password' => 'Mot de passe', + 'Password confirmation'=>"Confirmer le mot de passe", 'per page' => 'par page', 'Personal Information' => 'Informations personnelles', 'Placeholder address label' => 'Maison, Domicile, Travail...', @@ -170,6 +176,7 @@ return array( 'Sort By' => 'Trier par', 'Special Price:' => 'Prix en promotion :', 'Status' => 'Etat', + 'Street Address'=>"Adresse", 'Subscribe' => 'Inscription', 'Tax Inclusive' => 'TVA incluse', 'Thank you for the trust you place in us.' => 'Merci pour votre confiance. ', diff --git a/templates/frontOffice/default/assets/img/carousel/slider1.jpg b/templates/frontOffice/default/assets/img/carousel/slider1.jpg new file mode 100644 index 000000000..3492ab6ee Binary files /dev/null and b/templates/frontOffice/default/assets/img/carousel/slider1.jpg differ diff --git a/templates/frontOffice/default/assets/img/carousel/slider1.png b/templates/frontOffice/default/assets/img/carousel/slider1.png deleted file mode 100644 index d2a1f3628..000000000 Binary files a/templates/frontOffice/default/assets/img/carousel/slider1.png and /dev/null differ diff --git a/templates/frontOffice/default/assets/img/carousel/slider2.jpg b/templates/frontOffice/default/assets/img/carousel/slider2.jpg new file mode 100644 index 000000000..08ce939cf Binary files /dev/null and b/templates/frontOffice/default/assets/img/carousel/slider2.jpg differ diff --git a/templates/frontOffice/default/assets/img/carousel/slider2.png b/templates/frontOffice/default/assets/img/carousel/slider2.png deleted file mode 100644 index eab0f625c..000000000 Binary files a/templates/frontOffice/default/assets/img/carousel/slider2.png and /dev/null differ diff --git a/templates/frontOffice/default/assets/img/carousel/slider3.jpg b/templates/frontOffice/default/assets/img/carousel/slider3.jpg new file mode 100644 index 000000000..a986bef0d Binary files /dev/null and b/templates/frontOffice/default/assets/img/carousel/slider3.jpg differ diff --git a/templates/frontOffice/default/assets/img/carousel/slider3.png b/templates/frontOffice/default/assets/img/carousel/slider3.png deleted file mode 100644 index 2e91fd0f2..000000000 Binary files a/templates/frontOffice/default/assets/img/carousel/slider3.png and /dev/null differ diff --git a/templates/frontOffice/default/assets/less/thelia/account.less b/templates/frontOffice/default/assets/less/thelia/account.less index ab72cae1c..7d5b46a1a 100644 --- a/templates/frontOffice/default/assets/less/thelia/account.less +++ b/templates/frontOffice/default/assets/less/thelia/account.less @@ -49,6 +49,7 @@ } // Message if no order or no address +.deliveries-warning, .address-warning, .orders-warning { clear: both; diff --git a/templates/frontOffice/default/index.html b/templates/frontOffice/default/index.html index fabd8a3d9..7937c824f 100644 --- a/templates/frontOffice/default/index.html +++ b/templates/frontOffice/default/index.html @@ -12,13 +12,13 @@ diff --git a/templates/frontOffice/default/order-delivery.html b/templates/frontOffice/default/order-delivery.html index 42ec5046d..99bb6550a 100644 --- a/templates/frontOffice/default/order-delivery.html +++ b/templates/frontOffice/default/order-delivery.html @@ -139,6 +139,7 @@ {/form_field} {/loop} + {elseloop rel="deliveries"}
{intl l="Sorry! We are not able to give you a delivery method for your order."}
{/elseloop} diff --git a/templates/frontOffice/default/register.html b/templates/frontOffice/default/register.html index 73d7f5f20..b94cdd2e8 100644 --- a/templates/frontOffice/default/register.html +++ b/templates/frontOffice/default/register.html @@ -265,7 +265,7 @@
{if $error } {$message} diff --git a/web/index.php b/web/index.php index 4d50cc633..378bf1430 100755 --- a/web/index.php +++ b/web/index.php @@ -1,4 +1,5 @@ handle($request)->prepare($request)->send(); $thelia->terminate($request, $response); diff --git a/web/index_dev.php b/web/index_dev.php index 6b06585cd..9d516407e 100755 --- a/web/index_dev.php +++ b/web/index_dev.php @@ -24,6 +24,7 @@ use Thelia\Core\Thelia; use Thelia\Core\HttpFoundation\Response; use Thelia\Core\HttpFoundation\Request; +use Thelia\Core\HttpKernel\HttpCache\HttpCache; //use Symfony\Component\DependencyInjection; @@ -45,6 +46,7 @@ if ( false === in_array($request->getClientIp(), $trustedIp)) { } else { $response = $thelia->handle($request)->prepare($request)->send(); $thelia->terminate($request, $response); + }