From 5bf24a2a9fb44cb176786f8f06251601ba6e0ed9 Mon Sep 17 00:00:00 2001 From: mmoreram Date: Sun, 14 Jun 2015 18:07:53 +0200 Subject: [PATCH 1/2] Reduced exposition of service layer * Some protected elements turned private --- .../MetricBundle/Model/IntervalContainer.php | 18 +++++------ .../MetricBundle/Model/PartialInterval.php | 4 +-- .../Admin/ProductBundle/ProductEvents.php | 31 ------------------- .../Validation/MinimumMoneyValidator.php | 9 ++++-- .../EventListener/CartPaidEventListener.php | 4 +-- .../OrderToPaidEventListener.php | 6 ++-- .../Services/PaymentBridge.php | 8 ++--- .../CompilerPass/FirewallCompilerPass.php | 10 +++--- .../EventListener/FirewallEventListener.php | 4 +-- .../Services/OAuthUserProvider.php | 10 +++--- .../StoreHttpExceptionListener.php | 12 +++---- .../StoreUnavailableEventListener.php | 4 +-- .../CoreBundle/Services/TemplateLocator.php | 4 +-- .../AddOrderCompletedMetricEventListener.php | 4 +-- .../Store/PageBundle/Twig/PageExtension.php | 2 +- .../Services/StoreCategoryTree.php | 8 ++--- ...memberPasswordCredentialsEventListener.php | 4 +-- 17 files changed, 57 insertions(+), 85 deletions(-) delete mode 100644 src/Elcodi/Admin/ProductBundle/ProductEvents.php diff --git a/src/Elcodi/Admin/MetricBundle/Model/IntervalContainer.php b/src/Elcodi/Admin/MetricBundle/Model/IntervalContainer.php index 8013b0a9..22d4b0fa 100644 --- a/src/Elcodi/Admin/MetricBundle/Model/IntervalContainer.php +++ b/src/Elcodi/Admin/MetricBundle/Model/IntervalContainer.php @@ -29,63 +29,63 @@ class IntervalContainer * * startDay */ - protected $startDay; + private $startDay; /** * @var int * * iterations */ - protected $iterations; + private $iterations; /** * @var array * * elementsIntervalFormat */ - protected $elementsIntervalFormat; + private $elementsIntervalFormat; /** * @var int * * elementsGrouping */ - protected $elementsGrouping; + private $elementsGrouping; /** * @var string * * elementsFormat */ - protected $elementsFormat; + private $elementsFormat; /** * @var int * * chartElementsSeparation */ - protected $chartElementsSeparation; + private $chartElementsSeparation; /** * @var string * * chartLegendFormat */ - protected $chartLegendFormat; + private $chartLegendFormat; /** * @var PartialInterval[] * * partial Intervals */ - protected $partialIntervals; + private $partialIntervals; /** * @var string[] * * elements */ - protected $elements; + private $elements; /** * Construct diff --git a/src/Elcodi/Admin/MetricBundle/Model/PartialInterval.php b/src/Elcodi/Admin/MetricBundle/Model/PartialInterval.php index bfd9e58b..74a5c8ad 100644 --- a/src/Elcodi/Admin/MetricBundle/Model/PartialInterval.php +++ b/src/Elcodi/Admin/MetricBundle/Model/PartialInterval.php @@ -27,14 +27,14 @@ class PartialInterval * * Elements */ - protected $elements; + private $elements; /** * @var string * * First */ - protected $first; + private $first; /** * Construct diff --git a/src/Elcodi/Admin/ProductBundle/ProductEvents.php b/src/Elcodi/Admin/ProductBundle/ProductEvents.php deleted file mode 100644 index 9c671af5..00000000 --- a/src/Elcodi/Admin/ProductBundle/ProductEvents.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @author Aldo Chiecchia - * @author Elcodi Team - */ - -namespace Elcodi\Admin\ProductBundle; - -/** - * Events launched related with the bamboo admin product bundle - */ -final class ProductEvents -{ - /** - * This event is dispatched then the categories order is changed - * - * event.name : categories.onorderchange - */ - const CATEGORIES_ONCHANGE = 'categories.onchange'; -} diff --git a/src/Elcodi/Admin/ProductBundle/Validation/MinimumMoneyValidator.php b/src/Elcodi/Admin/ProductBundle/Validation/MinimumMoneyValidator.php index 96b24a2f..4b01c048 100644 --- a/src/Elcodi/Admin/ProductBundle/Validation/MinimumMoneyValidator.php +++ b/src/Elcodi/Admin/ProductBundle/Validation/MinimumMoneyValidator.php @@ -31,8 +31,10 @@ class MinimumMoneyValidator extends ConstraintValidator /** * Validates the value to be greater or equal than the constraint value. * - * @param Money $value - * @param Constraint $constraint + * @param Money $value Value + * @param Constraint $constraint Constraint + * + * @return null */ public function validate($value, Constraint $constraint) { @@ -47,7 +49,8 @@ public function validate($value, Constraint $constraint) $minimumMoney = Money::create($constraint->value, $value->getCurrency()); if ($value->isLessThan($minimumMoney)) { - $this->context + $this + ->context ->buildViolation($constraint->message) ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING)) ->setParameter('{{ compared_value }}', $this->formatValue($minimumMoney, self::OBJECT_TO_STRING)) diff --git a/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/EventListener/CartPaidEventListener.php b/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/EventListener/CartPaidEventListener.php index ee13b344..c6e84d1a 100644 --- a/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/EventListener/CartPaidEventListener.php +++ b/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/EventListener/CartPaidEventListener.php @@ -32,14 +32,14 @@ class CartPaidEventListener * * Cart Wrapper */ - protected $cartWrapper; + private $cartWrapper; /** * @var CartOrderTransformer * * Cart to Order transformer */ - protected $cartOrderTransformer; + private $cartOrderTransformer; /** * Construct method diff --git a/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/EventListener/OrderToPaidEventListener.php b/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/EventListener/OrderToPaidEventListener.php index 9ef64581..82929f0f 100644 --- a/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/EventListener/OrderToPaidEventListener.php +++ b/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/EventListener/OrderToPaidEventListener.php @@ -33,21 +33,21 @@ class OrderToPaidEventListener * * MachineManager for payment */ - protected $paymentMachineManager; + private $paymentMachineManager; /** * @var ObjectManager * * Order object manager */ - protected $orderObjectManager; + private $orderObjectManager; /** * @var ObjectManager * * StateLine object manager */ - protected $stateLineObjectManager; + private $stateLineObjectManager; /** * Construct method diff --git a/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/Services/PaymentBridge.php b/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/Services/PaymentBridge.php index 6672dced..69101026 100644 --- a/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/Services/PaymentBridge.php +++ b/src/Elcodi/Bridge/PaymentSuiteBridgeBundle/Services/PaymentBridge.php @@ -37,28 +37,28 @@ class PaymentBridge implements PaymentBridgeInterface * * Order object */ - protected $order; + private $order; /** * @var OrderRepository * * Order repository */ - protected $orderRepository; + private $orderRepository; /** * @var CartWrapper * * Cart wrapper */ - protected $cartWrapper; + private $cartWrapper; /** * @var CurrencyConverter * * Currency converter */ - protected $currencyConverter; + private $currencyConverter; /** * @param OrderRepository $orderRepository Order repository diff --git a/src/Elcodi/Common/FirewallBundle/CompilerPass/FirewallCompilerPass.php b/src/Elcodi/Common/FirewallBundle/CompilerPass/FirewallCompilerPass.php index 69ac7ca0..36a5e2f3 100644 --- a/src/Elcodi/Common/FirewallBundle/CompilerPass/FirewallCompilerPass.php +++ b/src/Elcodi/Common/FirewallBundle/CompilerPass/FirewallCompilerPass.php @@ -36,7 +36,7 @@ class FirewallCompilerPass implements CompilerPassInterface * * Name of the tag to collect */ - protected $tagName; + private $tagName; /** * Constructor @@ -83,7 +83,7 @@ public function process(ContainerBuilder $container) * * @param array $listeners */ - protected function attachListeners( + private function attachListeners( ContainerBuilder $container, $providerKey, array $listeners @@ -108,7 +108,7 @@ protected function attachListeners( * * @return string */ - protected function attachEvents( + private function attachEvents( ContainerBuilder $container, $provider_key, array $events @@ -129,7 +129,7 @@ protected function attachEvents( * * @return array */ - protected function collectListenersByProviderKey(ContainerBuilder $container) + private function collectListenersByProviderKey(ContainerBuilder $container) { $providerKeys = []; @@ -166,7 +166,7 @@ protected function collectListenersByProviderKey(ContainerBuilder $container) * * @return string The firewall provider key */ - protected function getProviderKey(ContainerBuilder $container, array $tag, $listenerId) + private function getProviderKey(ContainerBuilder $container, array $tag, $listenerId) { if (!isset($tag['firewall'])) { throw new \RuntimeException(sprintf( diff --git a/src/Elcodi/Common/FirewallBundle/EventListener/FirewallEventListener.php b/src/Elcodi/Common/FirewallBundle/EventListener/FirewallEventListener.php index bf447d1d..b5385ce9 100644 --- a/src/Elcodi/Common/FirewallBundle/EventListener/FirewallEventListener.php +++ b/src/Elcodi/Common/FirewallBundle/EventListener/FirewallEventListener.php @@ -33,14 +33,14 @@ class FirewallEventListener implements ListenerInterface * * Event dispatcher */ - protected $eventDispatcher; + private $eventDispatcher; /** * @var array * * Listeners to attach on firewall activation */ - protected $listenerIds = []; + private $listenerIds = []; /** * Construct diff --git a/src/Elcodi/Store/ConnectBundle/Services/OAuthUserProvider.php b/src/Elcodi/Store/ConnectBundle/Services/OAuthUserProvider.php index cc1475c1..faf02729 100644 --- a/src/Elcodi/Store/ConnectBundle/Services/OAuthUserProvider.php +++ b/src/Elcodi/Store/ConnectBundle/Services/OAuthUserProvider.php @@ -42,35 +42,35 @@ class OAuthUserProvider implements OAuthAwareUserProviderInterface * * Where to search for valid users */ - protected $userProvider; + private $userProvider; /** * @var ObjectDirector * * Authorization Director */ - protected $authorizationDirector; + private $authorizationDirector; /** * @var ObjectDirector * * Customer Director */ - protected $customerDirector; + private $customerDirector; /** * @var ObjectManager * * Customer ObjectManager */ - protected $authorizationObjectManager; + private $authorizationObjectManager; /** * @var UserEventDispatcherInterface * * User event dispatcher */ - protected $userEventDispatcher; + private $userEventDispatcher; /** * Constructor diff --git a/src/Elcodi/Store/CoreBundle/EventListener/StoreHttpExceptionListener.php b/src/Elcodi/Store/CoreBundle/EventListener/StoreHttpExceptionListener.php index da3863c2..34f6b9a4 100644 --- a/src/Elcodi/Store/CoreBundle/EventListener/StoreHttpExceptionListener.php +++ b/src/Elcodi/Store/CoreBundle/EventListener/StoreHttpExceptionListener.php @@ -35,42 +35,42 @@ class StoreHttpExceptionListener * * Helps avoiding endless loops when the rendering throws */ - protected $isHandlingException = false; + private $isHandlingException = false; /** * @var EngineInterface * * Template engine */ - protected $templating; + private $templating; /** * @var TemplateLocator * * Template locator */ - protected $templateLocator; + private $templateLocator; /** * @var string * * Template by default */ - protected $defaultTemplate; + private $defaultTemplate; /** * @var string[] * * Template path by status code for rendering */ - protected $templateByCode; + private $templateByCode; /** * @var integer|null * * Status code for non http-exceptions, or null for no fallback */ - protected $fallbackCode; + private $fallbackCode; /** * Constructor diff --git a/src/Elcodi/Store/CoreBundle/EventListener/StoreUnavailableEventListener.php b/src/Elcodi/Store/CoreBundle/EventListener/StoreUnavailableEventListener.php index 79859988..38d3be57 100644 --- a/src/Elcodi/Store/CoreBundle/EventListener/StoreUnavailableEventListener.php +++ b/src/Elcodi/Store/CoreBundle/EventListener/StoreUnavailableEventListener.php @@ -33,14 +33,14 @@ class StoreUnavailableEventListener implements ListenerInterface * * Store */ - protected $store; + private $store; /** * @var string * * Message string when not available */ - protected $message; + private $message; /** * Constructor diff --git a/src/Elcodi/Store/CoreBundle/Services/TemplateLocator.php b/src/Elcodi/Store/CoreBundle/Services/TemplateLocator.php index fbde7f84..e3bacc4f 100644 --- a/src/Elcodi/Store/CoreBundle/Services/TemplateLocator.php +++ b/src/Elcodi/Store/CoreBundle/Services/TemplateLocator.php @@ -30,14 +30,14 @@ class TemplateLocator * * Render engine */ - protected $engine; + private $engine; /** * @var array * * Bundles to search */ - protected $bundles; + private $bundles; /** * Constructs the template locator diff --git a/src/Elcodi/Store/MetricBundle/EventListener/AddOrderCompletedMetricEventListener.php b/src/Elcodi/Store/MetricBundle/EventListener/AddOrderCompletedMetricEventListener.php index ffe9fb7d..c2ac74be 100644 --- a/src/Elcodi/Store/MetricBundle/EventListener/AddOrderCompletedMetricEventListener.php +++ b/src/Elcodi/Store/MetricBundle/EventListener/AddOrderCompletedMetricEventListener.php @@ -34,14 +34,14 @@ class AddOrderCompletedMetricEventListener * * Metric manager */ - protected $metricManager; + private $metricManager; /** * @var StoreInterface * * Store */ - protected $store; + private $store; /** * Construct diff --git a/src/Elcodi/Store/PageBundle/Twig/PageExtension.php b/src/Elcodi/Store/PageBundle/Twig/PageExtension.php index 91601323..e5636fed 100644 --- a/src/Elcodi/Store/PageBundle/Twig/PageExtension.php +++ b/src/Elcodi/Store/PageBundle/Twig/PageExtension.php @@ -33,7 +33,7 @@ class PageExtension extends Twig_Extension * * Page Repository */ - protected $pageRepository; + private $pageRepository; /** * Construct diff --git a/src/Elcodi/Store/ProductBundle/Services/StoreCategoryTree.php b/src/Elcodi/Store/ProductBundle/Services/StoreCategoryTree.php index 060e4ec0..f560e3d1 100644 --- a/src/Elcodi/Store/ProductBundle/Services/StoreCategoryTree.php +++ b/src/Elcodi/Store/ProductBundle/Services/StoreCategoryTree.php @@ -28,28 +28,28 @@ class StoreCategoryTree extends AbstractCacheWrapper * * The store category tree. */ - protected $storeCategoryTree; + private $storeCategoryTree; /** * @var boolean * * Load only categories with products */ - protected $loadOnlyCategoriesWithProducts; + private $loadOnlyCategoriesWithProducts; /** * @var string * * Cache key */ - protected $key; + private $key; /** * @var CategoryTree * * The category tree service to generate the full category tree */ - protected $categoryTreeService; + private $categoryTreeService; /** * Construct method diff --git a/src/Elcodi/Store/UserBundle/EventListener/RememberPasswordCredentialsEventListener.php b/src/Elcodi/Store/UserBundle/EventListener/RememberPasswordCredentialsEventListener.php index 2fa4d98e..20290916 100644 --- a/src/Elcodi/Store/UserBundle/EventListener/RememberPasswordCredentialsEventListener.php +++ b/src/Elcodi/Store/UserBundle/EventListener/RememberPasswordCredentialsEventListener.php @@ -32,14 +32,14 @@ class RememberPasswordCredentialsEventListener * * Token storage */ - protected $tokenStorage; + private $tokenStorage; /** * @var string * * Provider key */ - protected $providerKey; + private $providerKey; /** * Build method From a299aeebea3930b3887123b67f51ec47dbee95f3 Mon Sep 17 00:00:00 2001 From: mmoreram Date: Sun, 14 Jun 2015 17:54:40 +0200 Subject: [PATCH 2/2] Changed deps with Elcodi and added changelog --- CHANGELOG-0.5.md | 68 ++++++++++++++++++------------------- CHANGELOG-1.0.md | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ composer.json | 54 +++++++++++++++--------------- 3 files changed, 148 insertions(+), 61 deletions(-) create mode 100644 CHANGELOG-1.0.md diff --git a/CHANGELOG-0.5.md b/CHANGELOG-0.5.md index d23e3e00..0886f27f 100644 --- a/CHANGELOG-0.5.md +++ b/CHANGELOG-0.5.md @@ -76,40 +76,40 @@ https://github.com/elcodi/bamboo/compare/v0.5.2...v0.5.3 ### v0.5.15 (07-05-2015) -* [`c101c6c`](https://github.com/elcodi/elcodi/bamboo/c101c6cb22fe31fb7bb67101dbe7027ccc0fd5dc) Added Bridge for Visithor Bundle (mmoreram) -* [`9ec5ec4`](https://github.com/elcodi/elcodi/bamboo/9ec5ec4773f54a140766a657d6bef6b9f9095648) Added emails override and fixed data fixtures (Roger Gros) -* [`0f865d5`](https://github.com/elcodi/elcodi/bamboo/0f865d5c52fba398f144782b7e7acce73b5cc687) Updated cs style (mmoreram) -* [`98c716d`](https://github.com/elcodi/elcodi/bamboo/98c716d2931a56b6a54af93dc7c5564141437363) Product page shows subcategories products (Roger Gros) -* [`9c3f716`](https://github.com/elcodi/elcodi/bamboo/9c3f716375550a66295603da48400dfac9703e5b) Update composer.json (marcel) -* [`8f9f7d9`](https://github.com/elcodi/elcodi/bamboo/8f9f7d9cd24a0576c04589180755868eac31e742) Fixed composer dependencies (Roger Gros) -* [`c77fa8b`](https://github.com/elcodi/elcodi/bamboo/c77fa8bf2871f7c2726fda9e47466f3a6505960e) Some test fixes (mmoreram) -* [`cf4ad68`](https://github.com/elcodi/elcodi/bamboo/cf4ad684326e06ad6fc8a852fe084632b63b2ada) Updated and fixed tests (mmoreram) -* [`5d6ab13`](https://github.com/elcodi/elcodi/bamboo/5d6ab138b41ba376c203445cb28f40acdbdfebc0) update years on .formatter.yml's and also remove keys on under arguments: service definitions (Luis Cordova) -* [`5bf1bb7`](https://github.com/elcodi/elcodi/bamboo/5bf1bb721ea6dc102eb2b30f25192f605477b2e5) reusing existing symfony request functionality (Luis Cordova) -* [`7aed7c8`](https://github.com/elcodi/elcodi/bamboo/7aed7c834a9ef2f1d9b1547ad61d64255cb7a33f) various fixes (Luis Cordova) -* [`20292a8`](https://github.com/elcodi/elcodi/bamboo/20292a8ed164ec3284a89f3915ecce186bd70f8d) using the right method isMethod to test for GET (Luis Cordova) -* [`ee4f682`](https://github.com/elcodi/elcodi/bamboo/ee4f68236b534bd1c061aa4a54732144bf7cf533) remove unneeded require because AppKernel is already loaded via bootstrap (Luis Cordova) -* [`ff78971`](https://github.com/elcodi/elcodi/bamboo/ff78971ad78363fba9d01e87bde8f1b3d0ff70a4) remove slashes :) (Luis Cordova) -* [`cde3112`](https://github.com/elcodi/elcodi/bamboo/cde3112c53ec142bb96bfc45fd04615e5a161f0e) Disabled javascript tests in travis (mmoreram) -* [`4ba6c36`](https://github.com/elcodi/elcodi/bamboo/4ba6c3681b29ae0067b69a6343ef6ff6b4c62e64) Added javascript tests (mmoreram) -* [`a3d4c6c`](https://github.com/elcodi/elcodi/bamboo/a3d4c6c5b47f8ded6197773f53e658f3ffe9757f) Fixes upload images for variants and a small problem with 2 col grids (Toni Pinel) -* [`1eefa90`](https://github.com/elcodi/elcodi/bamboo/1eefa9013dd380b0fcc336ab49b39263e9b3d0c0) Fixed add address text (Roger Gros) -* [`17719f7`](https://github.com/elcodi/elcodi/bamboo/17719f7f786b3b1d6e69db90568a4397fa5abbf0) Added principal image to manufacturer and variant (Roger Gros) -* [`8035228`](https://github.com/elcodi/elcodi/bamboo/80352282e7804937ed52465153b08907a15f43e2) Saving principal image when saving product (Roger Gros) -* [`4f3f2f6`](https://github.com/elcodi/elcodi/bamboo/4f3f2f650e61101208fbd777e4b6164cb7cabd76) Solved bug on order images and input unchecked when the image uploader module is called. (Toni Pinel) -* [`f5c4251`](https://github.com/elcodi/elcodi/bamboo/f5c425133b75b9d397553d165fd43dbd23b434b0) Store name added to admin tab (Roger Gros) -* [`7afff71`](https://github.com/elcodi/elcodi/bamboo/7afff713a485a47cf20b23bba110727ab828d414) Updated frontendcore and fixed id miss on variants js (Toni Pinel) -* [`9f24a2f`](https://github.com/elcodi/elcodi/bamboo/9f24a2f5002e088ada9c2d54050f57bfe30dfd94) fix mink lowest version (Berny Cantos) -* [`f109b0e`](https://github.com/elcodi/elcodi/bamboo/f109b0e299a78c47107c6310a637f42a65e57357) add travis test for lowest dependencies (Berny Cantos) -* [`50e2ee2`](https://github.com/elcodi/elcodi/bamboo/50e2ee2ff7caf53d302dbc0a8c67038bdbeaadd5) Fixed media routes. Disabled i18n (mmoreram) -* [`43a6af4`](https://github.com/elcodi/elcodi/bamboo/43a6af4386e04e6537ea1a97deac501fe8993bc4) add missing factory method call (Luis Cordova) -* [`4193794`](https://github.com/elcodi/elcodi/bamboo/41937949fb90fa3a7c28ec413cb0021b31ce438b) Removed all container references in Fixtures (mmoreram) -* [`cd8cb90`](https://github.com/elcodi/elcodi/bamboo/cd8cb90d1c055f4f1659f1617c56ae9054856474) fix admin prefix in firewalls (Berny Cantos) -* [`a42cd30`](https://github.com/elcodi/elcodi/bamboo/a42cd3067862b3fd6e1491fc2d828ae6dfcce761) fix long name in configuration (Berny Cantos) -* [`e41bc57`](https://github.com/elcodi/elcodi/bamboo/e41bc57500a0d00071ffac8b5948490925f1d3a0) fix blog/page/email fixtures (Berny Cantos) -* [`a477a2c`](https://github.com/elcodi/elcodi/bamboo/a477a2ca001d5a2a94c1093428a55d9a065c62ce) error_templates configuration moved to main (Berny Cantos) -* [`d72cd76`](https://github.com/elcodi/elcodi/bamboo/d72cd7696cb11cc692d6236fec41641cdcecb22c) reprioritize store unavailable listeners (Berny Cantos) -* [`b5ea177`](https://github.com/elcodi/elcodi/bamboo/b5ea177d0a4f403e9e5199703cfa66114e8423a9) Added workflow tests with page tests (mmoreram) +* [`c101c6c`](https://github.com/elcodi/bamboo/commit/c101c6cb22fe31fb7bb67101dbe7027ccc0fd5dc) Added Bridge for Visithor Bundle (mmoreram) +* [`9ec5ec4`](https://github.com/elcodi/bamboo/commit/9ec5ec4773f54a140766a657d6bef6b9f9095648) Added emails override and fixed data fixtures (Roger Gros) +* [`0f865d5`](https://github.com/elcodi/bamboo/commit/0f865d5c52fba398f144782b7e7acce73b5cc687) Updated cs style (mmoreram) +* [`98c716d`](https://github.com/elcodi/bamboo/commit/98c716d2931a56b6a54af93dc7c5564141437363) Product page shows subcategories products (Roger Gros) +* [`9c3f716`](https://github.com/elcodi/bamboo/commit/9c3f716375550a66295603da48400dfac9703e5b) Update composer.json (marcel) +* [`8f9f7d9`](https://github.com/elcodi/bamboo/commit/8f9f7d9cd24a0576c04589180755868eac31e742) Fixed composer dependencies (Roger Gros) +* [`c77fa8b`](https://github.com/elcodi/bamboo/commit/c77fa8bf2871f7c2726fda9e47466f3a6505960e) Some test fixes (mmoreram) +* [`cf4ad68`](https://github.com/elcodi/bamboo/commit/cf4ad684326e06ad6fc8a852fe084632b63b2ada) Updated and fixed tests (mmoreram) +* [`5d6ab13`](https://github.com/elcodi/bamboo/commit/5d6ab138b41ba376c203445cb28f40acdbdfebc0) update years on .formatter.yml's and also remove keys on under arguments: service definitions (Luis Cordova) +* [`5bf1bb7`](https://github.com/elcodi/bamboo/commit/5bf1bb721ea6dc102eb2b30f25192f605477b2e5) reusing existing symfony request functionality (Luis Cordova) +* [`7aed7c8`](https://github.com/elcodi/bamboo/commit/7aed7c834a9ef2f1d9b1547ad61d64255cb7a33f) various fixes (Luis Cordova) +* [`20292a8`](https://github.com/elcodi/bamboo/commit/20292a8ed164ec3284a89f3915ecce186bd70f8d) using the right method isMethod to test for GET (Luis Cordova) +* [`ee4f682`](https://github.com/elcodi/bamboo/commit/ee4f68236b534bd1c061aa4a54732144bf7cf533) remove unneeded require because AppKernel is already loaded via bootstrap (Luis Cordova) +* [`ff78971`](https://github.com/elcodi/bamboo/commit/ff78971ad78363fba9d01e87bde8f1b3d0ff70a4) remove slashes :) (Luis Cordova) +* [`cde3112`](https://github.com/elcodi/bamboo/commit/cde3112c53ec142bb96bfc45fd04615e5a161f0e) Disabled javascript tests in travis (mmoreram) +* [`4ba6c36`](https://github.com/elcodi/bamboo/commit/4ba6c3681b29ae0067b69a6343ef6ff6b4c62e64) Added javascript tests (mmoreram) +* [`a3d4c6c`](https://github.com/elcodi/bamboo/commit/a3d4c6c5b47f8ded6197773f53e658f3ffe9757f) Fixes upload images for variants and a small problem with 2 col grids (Toni Pinel) +* [`1eefa90`](https://github.com/elcodi/bamboo/commit/1eefa9013dd380b0fcc336ab49b39263e9b3d0c0) Fixed add address text (Roger Gros) +* [`17719f7`](https://github.com/elcodi/bamboo/commit/17719f7f786b3b1d6e69db90568a4397fa5abbf0) Added principal image to manufacturer and variant (Roger Gros) +* [`8035228`](https://github.com/elcodi/bamboo/commit/80352282e7804937ed52465153b08907a15f43e2) Saving principal image when saving product (Roger Gros) +* [`4f3f2f6`](https://github.com/elcodi/bamboo/commit/4f3f2f650e61101208fbd777e4b6164cb7cabd76) Solved bug on order images and input unchecked when the image uploader module is called. (Toni Pinel) +* [`f5c4251`](https://github.com/elcodi/bamboo/commit/f5c425133b75b9d397553d165fd43dbd23b434b0) Store name added to admin tab (Roger Gros) +* [`7afff71`](https://github.com/elcodi/bamboo/commit/7afff713a485a47cf20b23bba110727ab828d414) Updated frontendcore and fixed id miss on variants js (Toni Pinel) +* [`9f24a2f`](https://github.com/elcodi/bamboo/commit/9f24a2f5002e088ada9c2d54050f57bfe30dfd94) fix mink lowest version (Berny Cantos) +* [`f109b0e`](https://github.com/elcodi/bamboo/commit/f109b0e299a78c47107c6310a637f42a65e57357) add travis test for lowest dependencies (Berny Cantos) +* [`50e2ee2`](https://github.com/elcodi/bamboo/commit/50e2ee2ff7caf53d302dbc0a8c67038bdbeaadd5) Fixed media routes. Disabled i18n (mmoreram) +* [`43a6af4`](https://github.com/elcodi/bamboo/commit/43a6af4386e04e6537ea1a97deac501fe8993bc4) add missing factory method call (Luis Cordova) +* [`4193794`](https://github.com/elcodi/bamboo/commit/41937949fb90fa3a7c28ec413cb0021b31ce438b) Removed all container references in Fixtures (mmoreram) +* [`cd8cb90`](https://github.com/elcodi/bamboo/commit/cd8cb90d1c055f4f1659f1617c56ae9054856474) fix admin prefix in firewalls (Berny Cantos) +* [`a42cd30`](https://github.com/elcodi/bamboo/commit/a42cd3067862b3fd6e1491fc2d828ae6dfcce761) fix long name in configuration (Berny Cantos) +* [`e41bc57`](https://github.com/elcodi/bamboo/commit/e41bc57500a0d00071ffac8b5948490925f1d3a0) fix blog/page/email fixtures (Berny Cantos) +* [`a477a2c`](https://github.com/elcodi/bamboo/commit/a477a2ca001d5a2a94c1093428a55d9a065c62ce) error_templates configuration moved to main (Berny Cantos) +* [`d72cd76`](https://github.com/elcodi/bamboo/commit/d72cd7696cb11cc692d6236fec41641cdcecb22c) reprioritize store unavailable listeners (Berny Cantos) +* [`b5ea177`](https://github.com/elcodi/bamboo/commit/b5ea177d0a4f403e9e5199703cfa66114e8423a9) Added workflow tests with page tests (mmoreram) ### v0.5.14 (27-04-2015) diff --git a/CHANGELOG-1.0.md b/CHANGELOG-1.0.md new file mode 100644 index 00000000..72f73a8b --- /dev/null +++ b/CHANGELOG-1.0.md @@ -0,0 +1,87 @@ +CHANGELOG for 1.0.0 +=================== + +This changelog references the relevant changes done in 1.x.x versions + +To get the diff for a specific change, go to +https://github.com/elcodi/bamboo/commit/XXX where XXX is the change hash To +get the diff between two versions, go to +https://github.com/elcodi/bamboo/compare/v1.0.0...v1.0.1 + +### v1.0.0-beta1 (14-06-2015) + +* [`58fad92`](https://github.com/elcodi/bamboo/commit/58fad92e1501d9fc733537d8e257c6d71e3d4e41) Fixed tests that were failing (mmoreram) +* [`d36c011`](https://github.com/elcodi/bamboo/commit/d36c0119f6c7bcfba72cb763625b5a4e60076a58) Removed table responsive because makes currencies and languages not work (Toni Pinel) +* [`f8bbbd9`](https://github.com/elcodi/bamboo/commit/f8bbbd9ae46d642d114c0e85a37ff32313837894) Added Elcodi HttpHeader to Bamboo (mmoreram) +* [`912608e`](https://github.com/elcodi/bamboo/commit/912608efad3b5c89215425225b8b5953580c1fce) Fixed shipping method switch (mmoreram) +* [`9929e2a`](https://github.com/elcodi/bamboo/commit/9929e2a98d61d324852485d8fce062b5d981520c) Fixed variants (Roger Gros) +* [`d5a1992`](https://github.com/elcodi/bamboo/commit/d5a1992d56b3337295c24fbad5a5216798fe8769) Unified all plugin lists controller (mmoreram) +* [`6fadc54`](https://github.com/elcodi/bamboo/commit/6fadc54f350502f929eb0f4fbd8805c76fe50fcd) split services to allow configuration (Berny Cantos) +* [`38c760e`](https://github.com/elcodi/bamboo/commit/38c760e3e1285569861357ebe2c4b0bd8ef20c24) add routing for plugin categories (Berny Cantos) +* [`db5f54d`](https://github.com/elcodi/bamboo/commit/db5f54d56936e1e4d3c1c5f87e8bdb3d39c66179) add translations (Berny Cantos) +* [`24007b3`](https://github.com/elcodi/bamboo/commit/24007b3905962de32f1b81af3e99e0fe1ec36221) fixup! allow category in plugin list (Berny Cantos) +* [`ca26c7c`](https://github.com/elcodi/bamboo/commit/ca26c7c297c5880d5c56e65c66afd6134fea226d) rename plugin menus to plugin_type (Berny Cantos) +* [`157617b`](https://github.com/elcodi/bamboo/commit/157617bfea0fb2fc6572dd1b432da022f159949a) allow category in plugin list (Berny Cantos) +* [`4035fdf`](https://github.com/elcodi/bamboo/commit/4035fdf4fa648c98fc8ef9c336b246e724a5aae9) Notifications can be closed on click anywhere (Toni Pinel) +* [`31c3c33`](https://github.com/elcodi/bamboo/commit/31c3c334b73efb0ec7ba27b06e197f216f0c434e) Improve tables on mobile devices (Toni Pinel) +* [`3550a48`](https://github.com/elcodi/bamboo/commit/3550a489f57968e06d91e43cf4c506fcfd59c6d5) Added translations and UX for paypal plugin (Toni Pinel) +* [`164bd55`](https://github.com/elcodi/bamboo/commit/164bd5568dda18c6bf277719513d0c1e186a5715) Translations and UX for Stripe plugin. Revised breadcrumb with the new organization of the menu. (Toni Pinel) +* [`07915e5`](https://github.com/elcodi/bamboo/commit/07915e5018fb5d13e4da7be603c0c319b89b6cf5) Added small fixes (mmoreram) +* [`2d808cc`](https://github.com/elcodi/bamboo/commit/2d808ccd60ed554d967e517cfd0d2789f10fb0e2) Fixed Bug on badge when menu is active (Toni Pinel) +* [`b475146`](https://github.com/elcodi/bamboo/commit/b47514698e4f89afc4aeeffea252fac1b1fd081f) Improvements and bug fixing on admin menu look & feel (Toni Pinel) +* [`14186ed`](https://github.com/elcodi/bamboo/commit/14186ed5f77028d27d730790addccc75de25cb19) Templates and plugins improvements (Toni Pinel) +* [`13a8e68`](https://github.com/elcodi/bamboo/commit/13a8e683972e1a41a2500feb6ff679b36ba5a1ee) Updated translations (Roger Gros) +* [`43e018a`](https://github.com/elcodi/bamboo/commit/43e018abe18cf7bbc6d0a0d37619c52ab11f7780) Fixed shipment flow (Roger Gros) +* [`8ec65e0`](https://github.com/elcodi/bamboo/commit/8ec65e0216dc8396448bbf21f41f30f8ed16c27f) Fixed tests for CustomShipping (mmoreram) +* [`9b03459`](https://github.com/elcodi/bamboo/commit/9b03459ce0a704d8d02c893d1ec727eacb7c22c3) Order warnings are shown even if 0 (mmoreram) +* [`5a544fd`](https://github.com/elcodi/bamboo/commit/5a544fdd0cb375fba059cf44d0f3a592499f09d1) Using new warnings in menu for non-shipped orders (mmoreram) +* [`66d3681`](https://github.com/elcodi/bamboo/commit/66d36815c4eda6c984244a48afc7251a4a31a294) Fixed admin order page for Shipping (mmoreram) +* [`342c4a1`](https://github.com/elcodi/bamboo/commit/342c4a12a3f79ceb11dc58dbcd21220cc0cce315) Update plugin.yml (Berny Cantos) +* [`90f1688`](https://github.com/elcodi/bamboo/commit/90f16881bde524b28ac2ea8ea5064223e3d45818) Fixed CustomShipping when disabled (mmoreram) +* [`7a82afa`](https://github.com/elcodi/bamboo/commit/7a82afa444e3e19ce1d44f3f44cb631f62da1660) Added management for store routing strategy (mmoreram) +* [`f8fba8f`](https://github.com/elcodi/bamboo/commit/f8fba8f1c8b67a8668880e7b90b214bf961d726f) Fixed some code for new Elcodi versions (mmoreram) +* [`f90ebd0`](https://github.com/elcodi/bamboo/commit/f90ebd0549ac9cb7205590ea8ac339765658ea50) Fixed menus (mmoreram) +* [`49be7b3`](https://github.com/elcodi/bamboo/commit/49be7b3733deb8c1c7c13cdc6bc6591be086fed7) Fixed and tested CommonShipping plugin (mmoreram) +* [`2decdee`](https://github.com/elcodi/bamboo/commit/2decdee0ccaea040e699ade72406fb8de82fd9c9) Fixed non-wanted line in config.yml (mmoreram) +* [`c1f57c1`](https://github.com/elcodi/bamboo/commit/c1f57c1694fe4c9a4a15c5a8e03e064ac32e7c83) Fixed some deprecation elements (mmoreram) +* [`a853161`](https://github.com/elcodi/bamboo/commit/a853161bc5d4a5f18c3260efd6c5316b5c272dcb) Added FR translations (Toni Pinel) +* [`db86c4a`](https://github.com/elcodi/bamboo/commit/db86c4a7e663d5e71e564133c961a203859589cb) Added SKU field (Toni Pinel) +* [`f5214ee`](https://github.com/elcodi/bamboo/commit/f5214ee26f54d45c2e5f325bb16b30835beef357) Updated naming of all project (mmoreram) +* [`04788b6`](https://github.com/elcodi/bamboo/commit/04788b613799785308c465ca313d98bec6041077) Updated readme warning message (mmoreram) +* [`e2003dd`](https://github.com/elcodi/bamboo/commit/e2003dd1a5028fbfa6e98a4719e5afb5f3a7a2a4) Updated all plugin readmes (mmoreram) +* [`d54d62e`](https://github.com/elcodi/bamboo/commit/d54d62e2d97628807e00e2b521000dba6af4e8f5) Removed location fixtures (mmoreram) +* [`8905b3e`](https://github.com/elcodi/bamboo/commit/8905b3eba385d3dfb62e574f6d03ee6a7da99fa3) Store + Shipping + Menus (mmoreram) +* [`8e55243`](https://github.com/elcodi/bamboo/commit/8e552437732a9178f0d7ae2142d4a889e9272d1d) Added Stripe full Behat Feature (mmoreram) +* [`28c2c1e`](https://github.com/elcodi/bamboo/commit/28c2c1eecdea43b091ade5a1deb3a961068313ae) Improving payments with tests (mmoreram) +* [`8c09cff`](https://github.com/elcodi/bamboo/commit/8c09cff09411f77c68e6ab7040e2b845946385d1) Added stripe plugin (Roger Gros) +* [`a205e1f`](https://github.com/elcodi/bamboo/commit/a205e1f091b512b70f8c81edb64a1ae34a3d498c) Fixed Kernel. Not using AbstractElcodiKernel anymore (mmoreram) +* [`a107dd8`](https://github.com/elcodi/bamboo/commit/a107dd849e1ce06ada6923131b3cf79487f66ab8) Fixed export button on product CSV plugin (Roger Gros) +* [`a9b3002`](https://github.com/elcodi/bamboo/commit/a9b3002e3224356ea72d8381ace046dbdbaa1a75) Improved the Plugin engine (mmoreram) +* [`09f9340`](https://github.com/elcodi/bamboo/commit/09f9340ff441468662f10870307a79a0be31645f) override elcodi.twig_extension.language (Berny Cantos) +* [`3b17ad9`](https://github.com/elcodi/bamboo/commit/3b17ad9e40d44599329d91b30e4c684bc3698501) fix jms-i18n setup (Berny Cantos) +* [`859dea3`](https://github.com/elcodi/bamboo/commit/859dea366dfb5d9c22b19b82ae2e800f1eedbd66) convert tabs to 4 spaces (Berny Cantos) +* [`98932b2`](https://github.com/elcodi/bamboo/commit/98932b20fe2da8dd6f9ed3b37a96f75d88ec472f) show only visible plugins (Berny Cantos) +* [`84d5200`](https://github.com/elcodi/bamboo/commit/84d5200ba4b3f14f257df9ba686e945a5186b18c) fixed reduced price in admin order detail (Joan Galvan) +* [`a935994`](https://github.com/elcodi/bamboo/commit/a9359945c9ec60dbbe09f74c1861fdb53f3bd8b3) Updated composer dependencies (mmoreram) +* [`af9d254`](https://github.com/elcodi/bamboo/commit/af9d25452288d9ac4a330f535ac8b011cdc44015) Remove 10 as max for attributes values (Toni Pinel) +* [`0f8ef42`](https://github.com/elcodi/bamboo/commit/0f8ef422b5b36fd39613cc1951deb78d4c48c2e7) Upload manufacturer logo fixed and improved (Toni Pinel) +* [`4170731`](https://github.com/elcodi/bamboo/commit/4170731e571d28da1bd859a9eadb2530358ee485) Updated messages.fr.yml (Mickaƫl Andrieu) +* [`3e86653`](https://github.com/elcodi/bamboo/commit/3e866534fe187338a2c85bc67ce2eeafc593c8b5) Fix order of the images on upload new images and a problem with iframes that avoid to add new variants if the Facebook plugin is enabled (Toni Pinel) +* [`55770b2`](https://github.com/elcodi/bamboo/commit/55770b230bdfab9cdfffea4d629794514f0227dc) Fixed currency pages and ordered languages and currencies (Roger Gros) +* [`4bdfe78`](https://github.com/elcodi/bamboo/commit/4bdfe78c24d4374fae338d3e0c8088ed89f12644) Reactivate master language if error (Toni Pinel) +* [`d0f56db`](https://github.com/elcodi/bamboo/commit/d0f56db2d7688b07a8b592a5c95e31a100048250) Set the radio to the previous status if there is a fail (Toni Pinel) +* [`c912c7e`](https://github.com/elcodi/bamboo/commit/c912c7ee0da26ee3130d10e013b73b0cd501c333) Added loading on tabs (Toni Pinel) +* [`9c5b592`](https://github.com/elcodi/bamboo/commit/9c5b59246654dc353659f26ba1473a13b5d5036b) Renamed modal-content to window-content to avoid name collision (Toni Pinel) +* [`3fa1fb6`](https://github.com/elcodi/bamboo/commit/3fa1fb654ac2d886ae70785595c934855f511392) Updated frontendcore and activated custom form validation (Toni Pinel) +* [`1aab1d6`](https://github.com/elcodi/bamboo/commit/1aab1d64acc4627313c39469cc67c5fd6fd58872) Language management fixed (Roger Gros) +* [`39ea1f0`](https://github.com/elcodi/bamboo/commit/39ea1f0d557ffbdad10ba7a3a296e5a8b5f211ba) Improved loading of currencies (Toni Pinel) +* [`d573ab1`](https://github.com/elcodi/bamboo/commit/d573ab10fb2d16af3f39504faf0cdb62ca2a6d15) Improved javascript to show notifications (Toni Pinel) +* [`323e780`](https://github.com/elcodi/bamboo/commit/323e78032c83221fa483eb83ad22074f0f82966b) Updated frontendcore and solved center box appearing on the left side (Toni Pinel) +* [`39fc607`](https://github.com/elcodi/bamboo/commit/39fc607735a7921e22584144d3728dcd2b4d9e28) Fixed code style (mmoreram) +* [`b1f44c5`](https://github.com/elcodi/bamboo/commit/b1f44c51a117e72e597b361fcaedf3ee574600be) Updated reload file to remove database (mmoreram) +* [`7e4309b`](https://github.com/elcodi/bamboo/commit/7e4309bc34a43be258d0b5473518ae9c0ce3cbbf) Updated dependency for prefer-lowest (mmoreram) +* [`9adb939`](https://github.com/elcodi/bamboo/commit/9adb9396b1712107b99db50116e67d86aa4f1024) coupon type fix (Joan Galvan) +* [`cd9093c`](https://github.com/elcodi/bamboo/commit/cd9093cf2ecb97583bb2ef406775065d5142a0bb) Check that products are assigned to only one category (Roger Gros) +* [`2741013`](https://github.com/elcodi/bamboo/commit/274101365fee458bb6ac5c43545ebabb2f9a999f) Updated install script (Aldo Chiecchia) +* [`e3b4019`](https://github.com/elcodi/bamboo/commit/e3b4019f3912457719cd03222aff079b5ef0d175) feature/added-some-translations (mmoreram) +* [`da6e9e4`](https://github.com/elcodi/bamboo/commit/da6e9e40c9b61bd351d9d0d4ae13d00e58fcdcce) Added stackable coupon configuration (Aldo Chiecchia) diff --git a/composer.json b/composer.json index 17d1f418..1db076e9 100644 --- a/composer.json +++ b/composer.json @@ -72,31 +72,31 @@ "mmoreram/cache-flush-bundle": "0.1.1", "mmoreram/http-headers-bundle": "1.0.0", - "elcodi/attribute-bundle": "0.5.18", - "elcodi/banner-bundle": "0.5.18", - "elcodi/cart-bundle": "0.5.18", - "elcodi/cart-coupon-bundle": "0.5.18", - "elcodi/core-bundle": "0.5.18", - "elcodi/coupon-bundle": "0.5.18", - "elcodi/currency-bundle": "0.5.18", - "elcodi/geo-bundle": "0.5.18", - "elcodi/language-bundle": "0.5.18", - "elcodi/media-bundle": "0.5.18", - "elcodi/menu-bundle": "0.5.18", - "elcodi/newsletter-bundle": "0.5.18", - "elcodi/product-bundle": "0.5.18", - "elcodi/rule-bundle": "0.5.18", - "elcodi/user-bundle": "0.5.18", - "elcodi/tax-bundle": "0.5.18", - "elcodi/state-transition-machine-bundle": "0.5.18", - "elcodi/entity-translator-bundle": "0.5.18", - "elcodi/page-bundle": "0.5.18", - "elcodi/metric-bundle": "0.5.18", - "elcodi/sitemap-bundle": "0.5.18", - "elcodi/shipping-bundle": "0.5.18", - "elcodi/fixtures-booster-bundle": "0.5.18", - "elcodi/plugin-bundle": "0.5.18", - "elcodi/comment-bundle": "0.5.18" + "elcodi/attribute-bundle": "^1.0", + "elcodi/banner-bundle": "^1.0", + "elcodi/cart-bundle": "^1.0", + "elcodi/cart-coupon-bundle": "^1.0", + "elcodi/core-bundle": "^1.0", + "elcodi/coupon-bundle": "^1.0", + "elcodi/currency-bundle": "^1.0", + "elcodi/geo-bundle": "^1.0", + "elcodi/language-bundle": "^1.0", + "elcodi/media-bundle": "^1.0", + "elcodi/menu-bundle": "^1.0", + "elcodi/newsletter-bundle": "^1.0", + "elcodi/product-bundle": "^1.0", + "elcodi/rule-bundle": "^1.0", + "elcodi/user-bundle": "^1.0", + "elcodi/tax-bundle": "^1.0", + "elcodi/state-transition-machine-bundle": "^1.0", + "elcodi/entity-translator-bundle": "^1.0", + "elcodi/page-bundle": "^1.0", + "elcodi/metric-bundle": "^1.0", + "elcodi/sitemap-bundle": "^1.0", + "elcodi/shipping-bundle": "^1.0", + "elcodi/fixtures-booster-bundle": "^1.0", + "elcodi/plugin-bundle": "^1.0", + "elcodi/comment-bundle": "^1.0" }, "replace": { "elcodi-templates/template": "self.version", @@ -115,8 +115,8 @@ "elcodi-plugin/custom-shipping": "self.version" }, "require-dev": { - "elcodi/elcodi": "0.5.18", - "elcodi/test-common-bundle": "0.5.18", + "elcodi/elcodi": "^1.0", + "elcodi/test-common-bundle": "^1.0", "doctrine/data-fixtures": "^1.1", "behat/behat": "^3.0",