diff --git a/CHANGELOG.md b/CHANGELOG.md index dc813ed76..52eea3160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ -#2.0.0-beta5 +#2.0.0-RC1 - Remove container from BaseAction. - fix sending mail on order creation -- less files in default templates are already compile in css. +- less files in default templates are already compiled in css. - all validator message are translated - type argument is now a default argument and used for generating loop cache - fix total amount without discount in backoffice. Fix #235 @@ -9,6 +9,8 @@ - Do not allow to cumulate the same coupon many times. Fix #217 - colissimo module is now fully configurable - test suite are executed on PHP 5.4, 5.5, 5.6 and HHVM. Thelia is not fully compatible with HHVM +- add new attributes to loop pager (http://doc.thelia.net/en/documentation/loop/index.html#page-loop) +- we created a new github repo dedicated for modules : https://github.com/thelia-modules #2.0.0-beta4 - Tinymce is now a dedicated module. You need to activate it. diff --git a/Readme.md b/Readme.md index 0ae23b2f4..330a6f98a 100644 --- a/Readme.md +++ b/Readme.md @@ -45,7 +45,7 @@ Installation ``` bash $ curl -sS https://getcomposer.org/installer | php -$ php composer.phar create-project thelia/thelia path/ 2.0.0-beta4 +$ php composer.phar create-project thelia/thelia path/ 2.0.0-RC1 ``` Finish the installation using cli tools : diff --git a/core/lib/Thelia/Core/Thelia.php b/core/lib/Thelia/Core/Thelia.php index 2c8148c3e..2513541f0 100644 --- a/core/lib/Thelia/Core/Thelia.php +++ b/core/lib/Thelia/Core/Thelia.php @@ -58,7 +58,7 @@ use Thelia\Log\Tlog; class Thelia extends Kernel { - const THELIA_VERSION = '2.0.0-beta4'; + const THELIA_VERSION = '2.0.0-RC1'; public function init() { diff --git a/core/lib/Thelia/Install/Update.php b/core/lib/Thelia/Install/Update.php index ccab092c6..696c7da08 100644 --- a/core/lib/Thelia/Install/Update.php +++ b/core/lib/Thelia/Install/Update.php @@ -40,7 +40,8 @@ class Update '0' => '2.0.0-beta1', '1' => '2.0.0-beta2', '2' => '2.0.0-beta3', - '3' => '2.0.0-beta4' + '3' => '2.0.0-beta4', + '4' => '2.0.0-RC1', ); protected function isLatestVersion($version) diff --git a/install/insert.sql b/install/insert.sql index 177d2e30e..2d53b3801 100644 --- a/install/insert.sql +++ b/install/insert.sql @@ -39,11 +39,11 @@ INSERT INTO `config` (`name`, `value`, `secured`, `hidden`, `created_at`, `updat ('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-beta4', 1, 1, NOW(), NOW()), +('thelia_version','2.0.0-RC1', 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','beta4', 1, 1, NOW(), NOW()); +('thelia_extra_version','RC1', 1, 1, NOW(), NOW()); INSERT INTO `config_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `postscriptum`) VALUES @@ -1327,7 +1327,7 @@ INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES INSERT INTO `message` (`id`, `name`, `secured`, `created_at`, `updated_at`, `version`, `version_created_at`, `version_created_by`) VALUES (1, 'order_confirmation', NULL, NOW(), NOW(), 2, NOW(), NULL), -(2, 'lost_password', 1, NOW(), NOW(), 2, NOW(), NULL); +(2, 'lost_password', NULL, NOW(), NOW(), 2, NOW(), NULL); INSERT INTO `message_i18n` (`id`, `locale`, `title`, `subject`, `text_message`, `html_message`) VALUES (1, 'en_US', 'order confirmation', 'Commande : Commande : {$order_ref}', '{assign var="order_id" value=1}\r\n\r\n{loop name="order.invoice" type="order" id=$order_id customer="*"}\r\n {loop name="currency.order" type="currency" id=$CURRENCY}\r\n {assign "orderCurrency" $CODE}\r\n {/loop}\r\n{loop type="order_address" name="delivery_address" id=$INVOICE_ADDRESS}\r\n{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}\\r\\n\r\n{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}\\r\\n\r\n{$ZIPCODE} {$CITY}\\r\\n\r\n{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}\\r\\n\r\n{/loop}\r\nConfirmation de commande {$REF} du {format_date date=$INVOICE_DATE}\\r\\n\\r\\n\r\nLes articles commandés:\\r\\n\r\n{loop type="order_product" name="order-products" order=$ID}\r\n{if $WAS_IN_PROMO == 1}\r\n {assign "realPrice" $PROMO_PRICE}\r\n {assign "realTax" $PROMO_PRICE_TAX}\r\n {assign "realTaxedPrice" $TAXED_PROMO_PRICE}\r\n{else}\r\n {assign "realPrice" $PRICE}\r\n {assign "realTax" $PRICE_TAX}\r\n {assign "realTaxedPrice" $TAXED_PRICE}\r\n{/if}\r\n \\r\\n\r\n Article : {$TITLE}\r\n{ifloop rel="combinations"}\r\n {loop type="order_product_attribute_combination" name="combinations" order_product=$ID}\r\n {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}\\r\\n\r\n{/loop}\r\n{/ifloop}\\r\\n\r\n Quantité : {$QUANTITY}\\r\\n\r\n Prix unitaire TTC : {$realTaxedPrice} {$orderCurrency}\\r\\n\r\n{/loop}\r\n\\r\\n-----------------------------------------\\r\\n\r\nMontant total TTC : {$TOTAL_TAXED_AMOUNT - $POSTAGE} {$orderCurrency} \\r\\n\r\nFrais de port TTC : {$POSTAGE} {$orderCurrency} \\r\\n\r\nSomme totale: {$TOTAL_TAXED_AMOUNT} {$orderCurrency} \\r\\n\r\n==================================\\r\\n\\r\\n\r\nVotre facture est disponible dans la rubrique mon compte sur {config key="url_site"}\r\n{/loop}', '{loop name="order.invoice" type="order" id=$order_id customer="*"}\r\n {loop name="currency.order" type="currency" id=$CURRENCY}\r\n {assign "orderCurrency" $SYMBOL}\r\n {/loop}\r\n{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}\r\n {assign var="customer_ref" value=$REF}\r\n{/loop}\r\n\r\n\r\n
\r\n \r\n| Référence | \r\nDésignation | \r\nP.U. € | \r\nQté | \r\n
|---|---|---|---|
| {$REF} | \r\n{$TITLE}\r\n {ifloop rel="combinations"}\r\n {loop type="order_product_attribute_combination" name="combinations" order_product=$ID}\r\n {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE} \r\n {/loop}\r\n {/ifloop}\r\n | \r\n {$orderCurrency} {$realTaxedPrice} | \r\n{$QUANTITY} | \r\n
| \r\n | |||
| Montant total avant remise € | \r\n{$orderCurrency} {$TOTAL_TAXED_AMOUNT - $POSTAGE} | \r\n||
| Port € | \r\n{$orderCurrency} {$POSTAGE} | \r\n||
| Montant total de la commande € | \r\n{$orderCurrency} {$TOTAL_TAXED_AMOUNT} | \r\n||
LIVRAISON : {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}
\r\n {loop type="order_address" name="delivery_address" id=$INVOICE_ADDRESS}\r\nN° de client : {$customer_ref}
\r\nNom :\r\n {loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop} {$FIRSTNAME} {$LASTNAME}
\r\nN° et rue :\r\n {$ADDRESS1}
\r\nComplément : {$ADDRESS2}\r\n {$ADDRESS3}
\r\nCode postal : {$ZIPCODE}
\r\nVille : {$CITY}
\r\nPays : {loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
\r\nFACTURATION : paiement par {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}
\r\n {loop type="order_address" name="delivery_address" id=$DELIVERY_ADDRESS}\r\nN° de client : {$customer_ref}
\r\nNom :\r\n {loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop} {$FIRSTNAME} {$LASTNAME}
\r\nN° et rue :\r\n {$ADDRESS1}
\r\nComplément : {$ADDRESS2}\r\n {$ADDRESS3}
\r\nCode postal : {$ZIPCODE}
\r\nVille : {$CITY}
\r\nPays : {loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
\r\nLe suivi de votre commande est disponible dans la rubrique mon compte sur {config key="url_site"}
\r\nVous pouvez à présent vous connecter sur {config key="urlsite"}.
Please, change this password after your first connection
Vous pouvez à présent vous connecter sur {config key="urlsite"}.
N''oubliez pas de modifier votre mot de passe.
+ {$msg}
+ {loop name="badresponseorder" type="order" id={$order_id}}
+ {$REF}
+ {/loop}
+
+ {intl l="Please try again to order"}
+