Skip to content

Commit 4861529

Browse files
committed
Squashed 'applications/marello-application-ee/' changes from 2c69360..27fddcc
27fddcc Merge branch 'maintenance/3.2' f8a6d8d Merge branch 'maintenance/3.1' b1db9cc Merge commit '811ef2206a24fab7eadc1ce79793e0824b0943ae' 811ef22 Squashed 'package/marello-orocommerce-api-bridge/' changes from 8eed856..e3bbb1b 9688ace Merge commit 'b276cc4f074d49d5ec6350c57d688bf166f97cec' b276cc4 Squashed 'package/marello-orocommerce-bridge/' changes from 71530ac..37d46c2 18b3745 Merge commit '9f67f7572cfc6d39b784e82db4bdd16f358fc84f' 9f67f75 Squashed 'package/marello-subscriptions/' changes from 572ecd4cf6..22e314a744 556e55f Merge commit '9536aace135ecd468733ef940ba39f116809abfe' 9536aac Squashed 'package/marello-enterprise/' changes from c0f33b1..15fbabc 97e5b46 Merge commit 'fcf4a0a7663c216168cff63872e45378c8f3195d' fcf4a0a Squashed 'package/marello/' changes from d80705c..0b2497e e8d1233 Merge commit '5d7b3b1e1789bb3bfe3604a4bc3bce6e082978a8' 5d7b3b1 Squashed 'applications/marello-application/' changes from ce35880..14cf448 79db88d - prepare release EE 94ff1fe feature/MAR10001-1006-update-oro-platform-42: - Updated application structure - Added changelog - Upated package/package-lock json files - Added fix for global access organization on Refunds - Added fix for ProductSupplierRelationRepository with incorrect sort order in impode() 4f584c1 Merge branch 'feature/MAR10001-1006-update-oro-platform-42' of https://github.com/marellocommerce/development-mono-repository into feature/MAR10001-1006-update-oro-platform-42 e530eba MAR10001-1006: Update platform to Oro BAP 4.2 - update dev.lock with the latest version of oro 65e3d43 Merge branch 'feature/MAR10001-1006-update-oro-platform-42' of https://github.com/marellocommerce/development-mono-repository into feature/MAR10001-1006-update-oro-platform-42 02cafaa Merge commit 'd98be8ad7ddc91a7faab73f2a280bf82b8ca6666' into maintenance/3.1 d98be8a Squashed 'applications/marello-application/' changes from ce35880..c4b6e75 fb7d35a - remove version lock of laminas/laminas-diagnostics from root composer.json 36de34f - prepare release b7d3ec2 - updated oro platform to 4.1.17 93aa97a - Updated AppKernel.php in order to fix issue with loaded bundle that doesn't exist in dev environment d455b4c Merge branch 'feature/MAR10001-1006-update-oro-platform-42' of https://github.com/marellocommerce/development-mono-repository into feature/MAR10001-1006-update-oro-platform-42 776a466 MAR10001-1006: Update platform to Oro BAP 4.2 - fix functional tests - remove some deprecation code usages that causes warnings d5d625f feature/MAR10001-1006-update-oro-platform-42: - updated environments with build image of marello-application && marello-application-ee - removed old environment setup files - added dev.lock for marello-application ec79b63 Merge branch 'feature/MAR10001-1006-update-oro-platform-42' of https://github.com/marellocommerce/development-mono-repository into feature/MAR10001-1006-update-oro-platform-42 ccc1b20 MAR10001-1006: Update platform to Oro BAP 4.2 - fix unit tests according to new phpunit version 0540bd9 - Upgrade to Oro 4.2.7 - Fixes for PHP 8.0.x - Added fix for exposing fos js routes in marello enterprise application - Updated Dockerfile && docker-compose-ee.yml file for upgrade 4df5323 Merge branch 'develop' into feature/MAR10001-1006-update-oro-platform-42 ce47419 Merge branch 'maintenance/3.1' into feature/MAR10001-0-update-oro-platform 87f783e Merge branch 'maintenance/3.1' into develop 58f38ae Merge commit 'a9026146d19fc6cd027e1046e302574c90caced3' into maintenance/3.1 a902614 Squashed 'package/marello/' changes from f688b50..9bdcb5f 07c5025 Merge branch 'MAR10001-PR70' 55cf385 Merge branch 'MAR10001-PR70' into develop e4d70db Merge branch 'MAR10001-PR70' into maintenance/3.1 106e58d Merge commit '68555d9f81f680a62989f8110a509e701ae86de8' into MAR10001-PR70 16c1310 Merge branch 'MAR10001-PR68' into develop 9473221 Merge branch 'MAR10001-PR68' 3dd9d2f Merge branch 'MAR10001-PR68' into maintenance/3.1 346e429 Merge commit '7e67af671722a1ced9fc332f3361ab8a5503d2bc' into MAR10001-PR68 6f2f35f Merge commit '3b7bdd1d14f56c555caf234e8d8f0607013a8fc3' 3b7bdd1 Squashed 'package/marello/' changes from 73c2e39..d80705c 4936b2f Merge branch 'maintenance/3.0' 8df50a8 Merge branch 'maintenance/MAR10001-0-update-environments' into develop 2f12aeb Merge branch 'bugfix/MAR10001-1001-ordernumber-orderreference-search-in-refund-grid' into maintenance/3.1 bded067 Merge commit 'ef28bce435a1bc54d56132a96267c092852fac1b' into maintenance/3.0 ef28bce Squashed 'package/marello-orocommerce-bridge/' changes from f0fabf9..71530ac ef67d52 Merge branch 'bugfix/MAR10001-998-fix-refund-validation' into maintenance/3.1 68555d9 specify full namespaces in Doctrine DiscriminatorMap 080bcf6 task/MAR10001-0-fix-po-logic: - fix issue with PO still being created while config was disabled a7a369c - added hasColumn() checks on fields that might already be added in previous version 1ac2059 Merge commit '31e5dbd6a2b67a50f51ed8cd3c2e92b1d880bc20' into maintenance/3.1 31e5dbd Squashed 'package/marello/' changes from 0bc0152..f688b50 5785eec Merge branch 'task/MAR10001-0-order-on-demand' into maintenance/3.0 af75dcc task/MAR10001-0-order-on-demand: - Added additional option to explictly enable inventory on demand 094cb43 Merge commit 'cacd84fdc25bfba6449f9fae6efb80c9682cc406' into maintenance/3.0 eec7e33 Merge commit 'cacd84fdc25bfba6449f9fae6efb80c9682cc406' into maintenance/3.0 cacd84f Squashed 'package/marello/' changes from 0bc0152..73c2e39 b16f33e - Reinstated the order on demand feature, with additional setting to turn it on and off via the system configuration 3a931b8 Merge branch 'bugfix/MAR10001-0-fix-issue-with-schema-update' into feature/MAR10001-0-update-oro-platform 498ea7d - change environment on marello-reset composer script to prod 4397fde - updated platform to 4.2.3 on all main applications and combinations c3caf1f Merge branch 'feature/MAR10001-984' into maintenance/3.1 ed909d3 Merge branch 'feature/MAR10001-0-update-oro-platform' into maintenance/3.1 de30b84 - Changed Marello CE/EE to include Oro Platform 4.1.14 - Updated applications to be able to run 7.4 normally - Updated branch aliases for packages 41ef790 Merge branch 'bugfix/MAR10001-0-fix-invalid-yaml-magento2-bundle' 39f038e Merge branch 'task/MAR10001-982-0-add-company-number-to-grid-and-filter' into develop ccd40f8 - added company number column, filter and sorter 9d749c8 Merge branch 'merge-service-points-30' into maintenance/3.1 d6640f9 Merge branch 'feature/MAR10001-880' into merge-service-points-30 def0844 Merge branch 'feature/MAR10001-880' into merge-service-points-30 43204fa Merge branch 'feature/CRH19001-18_Service-points' into merge-service-points-30 0e5e29c Merge branch 'feature/CRH19001-18_Service-points' into merge-service-points-30 7b17852 Merge branch 'bugfix/MAR10001-product-unit-wrong-type-order-create' 7a2dcc2 - updated marello-enterprise tag 3533ff1 Merge commit '6dca2f914f41c1d50b12d89632b00f4c2bf4e2e3' into release/3.1 120ee79 Merge commit 'b2975e504ce49313f160f637df271153bdad6f03' 3c16da7 - remove locks from master 7d1ea52 Merge branch 'release/3.1' e6cabdd Merge commit 'e1d3bbf462667e07cca89196389fdfd925f4cd73' f0d3e3e - Preparing release changes ba21f16 Merge branch 'release/3.1' c5ed60b Merge commit '8ef804780109269a9d0078c99b98f46751d8b922' 7c3f91e Merge commit '1a6e4842329a1d135e43cd5092e0a40660ddb3fd' 90ffddc - preparing release bc3fe5f - updated dev.json/dev.locks - added missing translations - psr fixes - updated package-json's 6c88c0b Merge branch 'bugfix/MAR10001-0-products-grid-not-displaying' into develop a05a891 Merge branch 'bugfix/MAR10001-0-deployment-type' into develop ab47126 - Added deployment type to parameters dist 48f56ea - updated oro platform 71751e1 Merge branch 'bugfix/MAR10001-0-apply-fixes' into develop 73c2e39 - Added minor fixes to purchase orders view and form 0b1879a - Added minor fixes to purchase orders view and form 7b00a7d - Added possibility to update cost via marello-supplier-product-grid 4cb837d - Added possibility to update cost via marello-supplier-product-grid b354709 Merge commit 'ffba2a1d74fe5713fd615d1fb3b6980a41cb9f31' into maintenance/3.0 c0e9f67 Merge commit 'ffba2a1d74fe5713fd615d1fb3b6980a41cb9f31' into maintenance/3.0 3069f27 Merge commit 'ffba2a1d74fe5713fd615d1fb3b6980a41cb9f31' into maintenance/3.0 341c242 Merge commit 'f497f93ca471ade418553eea3289318a7c4bca23' into maintenance/3.0 1591559 Merge commit 'f497f93ca471ade418553eea3289318a7c4bca23' into maintenance/3.0 2723bd7 Merge commit 'f497f93ca471ade418553eea3289318a7c4bca23' into maintenance/3.0 ea89784 Merge commit '71530acca5abd305f2c328d3f74bb414c1b89844' into maintenance/3.0 9a16f47 Merge commit '71530acca5abd305f2c328d3f74bb414c1b89844' into maintenance/3.0 bc32cb4 Merge commit '71530acca5abd305f2c328d3f74bb414c1b89844' into maintenance/3.0 df7312f Merge commit '0bcb9bb847396efc745579839904136a8252ed58' into maintenance/3.0 26a030a Merge commit '0bcb9bb847396efc745579839904136a8252ed58' into maintenance/3.0 fcc9e1e Merge commit '0bcb9bb847396efc745579839904136a8252ed58' into maintenance/3.0 78525a8 Merge commit 'e779b8a1796d417078e3a9dfe89b0474e462caac' into maintenance/3.0 cf8c669 Merge commit 'e779b8a1796d417078e3a9dfe89b0474e462caac' into maintenance/3.0 f7387ee Merge commit 'e779b8a1796d417078e3a9dfe89b0474e462caac' into maintenance/3.0 4691dc1 Merge commit '4f68dc37da2773e1c4f6cee4e165f7a441154a90' into maintenance/3.0 dcc89de Merge commit '4f68dc37da2773e1c4f6cee4e165f7a441154a90' into maintenance/3.0 0846a6d Merge commit '4f68dc37da2773e1c4f6cee4e165f7a441154a90' into maintenance/3.0 cded449 Merge commit 'd34d82be891e77a23fd995c71dbfd92b8542ca00' into maintenance/3.0 7ffe871 Merge commit 'd34d82be891e77a23fd995c71dbfd92b8542ca00' into maintenance/3.0 746d1e3 - Added additional info on runtime exception for Product create/update if no default name is given - Added additional check on loading customer address when creating an order and the primary address is empty d4218be - Added additional info on runtime exception for Product create/update if no default name is given - Added additional check on loading customer address when creating an order and the primary address is empty d8cd80b - added additional check before loading the purchase price in the Purchase Order Item c5e866d - Added support to display extended fields on SalesChannel view & grid f1ae5c3 - fixed issue with extended_entity_name in datagrid on the wrong spot in the configuration ac086a6 - added extended entity names to datagrids - added additional filters to balanced inventory level datagrid 7e67af6 Non expected return type (interface non-implemented) e4a5112 - Updated validation for company number as it was wrongly failing the validation when updating the company itself and not having another company using this number ff92270 - updated product category grid on the category view to take the localized value of product name into account fb27de8 - Fixed issue with SalesChannels in colomn not being rendered in the Product grid - Fixed issue with SalesChannel filter in the Product grid 1052506 - changed type of OrderReference filter to string in order data grid to filter correctly (changed filter type from number to string) de4c45e - added default ACL config value for Tax Related entities e533e03 - fixed issue with rendering customer view where brackets where missing - added block identifiers in purchase order view to target blocks easier with event listeners - renamed duedate label to expected delivery date, due date field only has renamed labels for this - updated PO form view listener to add the WH delivery to the billing and shipping info block on the form - added general and additional ui section label translations in core bundle - updated validation for due date as it did get stuck when due date was in the past and validation for the whole PO was done 5df701d Merge branch 'task/MAR10001-0-skip-configurables-magento-integration' into develop 96b2ea2 Merge branch 'task/MAR10001-0-skip-configurables-magento-integration' 69c3020 - Added shipping method details to store additional information regarding the shipping method on the Marello Order 498798c Merge commit '3bc4ba916ecf196dfea78f68e553d7358f415336' into maintenance/3.0 b30e6a2 Merge commit '3bc4ba916ecf196dfea78f68e553d7358f415336' into maintenance/3.0 2fe8c53 - Added rendering for additional data block with dynamic entity fields 528b4f3 Merge branch 'task/MAR10001-0-add-force-flush-option-to-inventory-level-record' into develop fb69b55 - Added context option check for forceFlush in the inventorylevellogrecord fede6ba Merge commit '5af3aae6bdb711c0d6537f67c359ab897877ef37' into maintenance/3.0 ca7f87a Merge commit '5af3aae6bdb711c0d6537f67c359ab897877ef37' into maintenance/3.0 bbc7ca8 - Updated validation groups for Order validation - Added SKU to the available inventory validation message c139869 - added additional data block on PackingSlip view - Updated weight calculation by multiplying it with the orderItem quantity in order to show the total weight for the row instead of the individual unit 2e6dbe3 - Added Symfony\Component\Security\Core\Exception\AccessDeniedException instead of Oro\Bundle\SecurityBundle\Exception\ForbiddenException in the ReturnController as this class has been removed - Added translation for exception for clarification a470292 Merge branch 'task/MAR10001-0-url-encode-magento-sku' into develop a523e45 - remove enum field with OWNER_CUSTOM from form type in ReturnItem form as this will be managed by the platform itself - fix small issue with upgrade to 1_3_x versions for SalesBundle as it might already have a foreinkey relation which doesn't allow for the unique index removal 2b47b38 - added url encoding for SKU in requests to Magento as it might have slashes in the sku - removed validation from items in Marello order as it seems like the Count validation is not properly going of or validating the data correctly for some reason... 1689fa2 Merge branch 'maintenance/3.0' 47b2708 Merge commit '63f5e481b1b580ab73bcf6fd1d98fa0ba7595542' into maintenance/3.0 5860ffb Merge commit '63f5e481b1b580ab73bcf6fd1d98fa0ba7595542' into maintenance/3.0 3b86ae6 Merge branch 'maintenance/3.0' of https://github.com/marellocommerce/development-mono-repository into maintenance/3.0 10d5b30 - added default weight to products to prevent issues with assigning WH's in Packingslips and issues with shipment creation for UPS - Added migration that will update the default weight for products that don't have a weight yet (null) 5fd45f1 - added additional check on order view to make sure a customer exists on the order before trying to render properties of the customer 728e339 MM-42: Test and fix functionality (#66) 5675d75 MM-42: Test and fix functionality (#65) ea13d64 MM-40: Test and fix import order functionality (#63) 741e626 MM-38: Implement sync processors (#61) e704e9f MM-35: Fix issue 'Removed special product price won't sync on Magento side' (#58) dedeb1b - added non proxy class of the Marello Product Unit as without this it can cause issues when the 'normal' class is used to send templates instead of the Proxy class of the product unit 9d80633 - Added default value for $data property as in most cases it will expect an array even if the data is not set on an Entity f92a606 - updated email templates with name variable for ProductUnit - updated migration version for the application to load the new templates 2c3af6f - added ProductUnit variable provider for rendering the product unit in the email templates as this is an enum field which is behaving as an extended entity with a proxy class that wasn't allowed in the email templates 626ff0f - Added the shipping origin based on WFA rules back for shipping methods that use the origin to determine shipping costs, the addres of the warehouse remains an estimation 659a93c - updated field to check for available inventory, it used the balanced inventory instead of the inventory qty which is the qty that is left from the balanced inventory 7be50e1 - removed check that was going through the WFA rules that wasn't necessary for either Payment methods and Shipping methods on the Order creation e059902 - fixed renaming email templates for Order and Invoice notifications 937c296 - Updated email templates with new style d361e5f MAR10001-880: Service points updates(fixed conflicts) a1c7b24 MAR10001-880: Service points updates 4cf0ed2 Merge branch 'task/MAR10001-0-fix-orocommerce-integration-with-updated-filter' into develop 8441271 - updated WorkflowstartListener test to check new behaviour of the OrderWorkflowStart bb33a03 - Fixed issue with WorkflowStartListener where only the last order id (which came in batches) was getting a workflow start fbf2ac9 Merge branch 'task/MAR10001-0-fix-orderitemstatus-dashboard-widget' into develop 08f9f1d - Removed statuses that are NULL from the OrderItemStatus dashboard widget as they cannot be displayed correctly 42df0cb - added order status change for 'new' workflows in Marello a544ca4 Merge branch 'task/MAR10001-0-add-order-status' into develop ca16950 - added Order status to Order which will serve as preparation for the next step in the Order Management - currently no critical parts are relying on the new Order status as of yet, it's also not visibile in the current implementation 0d0a1b3 Merge branch 'bugfix/MAR10001-0-fix-inventory-item-grid' into develop 7669b9b Merge branch 'bugfix/MAR10001-0-fix-inventory-item-grid' into develop c973ae1 - renamed table alias as the datagrid was confused which one was the actual table and which one was the column of the ProductUnit in the InventoryItem grid e170523 - split the SalesBundle migrations as v1_3 was already released... 2d7858a Merge commit '13f45b207c1508037c410ccd81df50a5133f518c' into maintenance/3.0 510f97f Merge commit '13f45b207c1508037c410ccd81df50a5133f518c' into maintenance/3.0 9c7a5b2 Merge commit '7d530c86aa0b89d4eb35d4c3572aa82061ee76fe' into maintenance/3.0 0ceb77a Merge commit '7d530c86aa0b89d4eb35d4c3572aa82061ee76fe' into maintenance/3.0 d0e8d50 Merge branch 'task/ZON20001-0-update-m2-bundle' into maintenance/3.0 33eba24 Merge branch 'task/ZON20001-0-update-m2-bundle' into maintenance/3.0 7d06b51 Merge commit '081641f09cf3308af11b3488a0784b307303b669' into maintenance/3.0 138d8bd Merge commit '081641f09cf3308af11b3488a0784b307303b669' into maintenance/3.0 9cbeacd Merge commit 'e2e7875925ad96a42880ae7ac4ea9a9f3e46ba73' into maintenance/3.0 b59babd Merge commit 'e2e7875925ad96a42880ae7ac4ea9a9f3e46ba73' into maintenance/3.0 da8a1ff Merge commit 'e2af974edb72ae5923ecdf4dd34249e13ebf9f31' into maintenance/3.0 7554189 Merge commit 'e2af974edb72ae5923ecdf4dd34249e13ebf9f31' into maintenance/3.0 b70a3aa Merge branch 'feature/MAR10001-0-add-quantity-of-unit-inventory-item' into develop 7f802ec - renamed migrations to take newer versions of migrations into account on the develop branch fc3fef4 Merge branch 'feature/MAR10001-0-add-quantity-of-unit-inventory-item' into develop 04df3e3 - updated return notifications with ProductUnit on line items - added migration to update existing templates 67e9557 - updated email templates with Product Unit on the line items - Added migration to update email templates in existing installations 908ee7f - updated grids to include productUnit - updated PDF providers to include ProductUnit in PDF's - updated mappers either get the unit from the OrderItem or null a9eb6a5 - renamed unitOfMeasurement in InventoryItem to use the ProducUnit to keep it consistent in all entities having this relation - added ProductUnit to PackingSlipItem and InvoiceItem, InvoiceItem uses a different approach because it has a inheritance table and the EntityExtendBundle didn't really like this setup by adding an Extended field 0b36166 - updated test to check for the Unit Of Measurement being set on the OrderItem after the Order is saved eef4e67 - Updated OrderItemProductUnitListener to first check the InventoryItem for a UnitOfMeasurement before going straight to the default, the previous logic for checking it's empty before assigning is still in place - Updated service definition of the OrderItemProductUnitListener to use the InventoryItemManager and get the necessary data from there instead of only using the DoctrineHelper f0c438a - Added unitOfMeasurement to the InventoryItem view f0f2ad3 - added unitOfMeasurement to InventoryItem grid with filters and sorters be907e3 - Added unitOfMeasurement to InventoryItem - Updated tests for UoM - Added translations for inventory item UoM - Added default UoM when product is created (which is followed by creating and attaching the InventoryItem) 6a16bdb Merge branch 'task/MAR10001-0-fix-unique-indexes-customer-addresses' into develop c2b00f0 - removed unique index on Customer primary/shipping address as it is a theoretical posibility that they are exactly the same address c55bef7 - added config to include M2 bundle - updated dev.json/dev.lock with M2 875b87a Merge branch 'feature/magento2-integr' into task/ZON20001-0-update-m2-bundle 0021e8b Merge branch 'feature/magento2-integr' into task/ZON20001-0-update-m2-bundle 3b5dabf Merge branch 'task/MAR10001-932-add-validation-to-Order-delivery-date' into develop 34d7283 Merge branch 'task/MAR10001-0-price-alignment' into develop 8e65bc5 Merge branch 'task/MAR10001-0-add-replenishment-field-to-variant-grid' into develop 8dfe5fe Merge branch 'task/MAR10001-0-add-replenishment-field-to-variant-grid' into maintenance/3.0 ee15adb Merge branch 'task/MAR10001-932-add-validation-to-Order-delivery-date' into maintenance/3.0 6788d78 - Added the replenishment field to the variant grid for seeing continuation of the product 0f366ad - fixed some price alignment, not specifically to the right, but at least in line with each others TH; - even though Oro's right aligment did work, it only worked with a 'crowed' table, as soon as only a few columns are in the grid, the whole things 'falls apart' and are not actually aligned to the right ebc8363 - added validation message for DeliveryDate if date is not set in the future a89e910 - Added deliveryDate validation to make sure the date is set in the future and not in the past c264f47 Merge branch 'bugfix/MAR10001-938-ghost-warehouse-after-switching-type' into develop 1a40be8 MM-29: Add functionality to map relation between website and sales_channel on the integration form (#54) cc84bcd Merge branch 'bugfix/MAR10001-0-update-taxes-when-shipping-address-does-not-have-region-in-customer-address' into develop 38eba16 Merge branch 'bugfix/MAR10001-941-po-recalculation-advised-products' into develop fec2210 Merge branch 'bugfix/MAR10001-941-po-recalculation-advised-products' into maintenance/3.0 413ab5a - updated condition to trigger the tax calculations for Order rows when creating an Order through the GUI - previously the calculation wouldn't trigger because the region was not set in the customer's shippingAddress a2d4afd - fixed issue with recalculation not being triggered when items in the advised grid are either updated with an amount or quantity - added additional trigger / listener to trigger the recalculation in this collection fd18d4d - updated explictly assigning of status for payments that have a source selected - fixed filtering related entities when updating a payment without a source assigned 2732b90 - fixed unique constraints format...again :') f1a3892 Merge branch 'bugfix/MAR10001-939-cannot-complete-replenishment-order' into develop 638cda5 Merge branch 'bugfix/MAR10001-939-cannot-complete-replenishment-order' into develop b2975e5 - removed composer.lock file from master 9fc64ba Merge commit 'c5697c673a4193f88c63e21e067f6b4142305400' 318b676 Merge commit 'c5697c673a4193f88c63e21e067f6b4142305400' ce35880 Merge pull request #11 from clicktrend/patch-1 fb3ba63 Merge commit '6f65cdd1fdc06ce135a697156bed456424742fda' into maintenance/3.0 bac1e39 Merge commit '6f65cdd1fdc06ce135a697156bed456424742fda' into maintenance/3.0 bc9952c Merge commit '0434749faa01bc372d0f6507d95e6c63b21d687a' into maintenance/3.0 2dab594 Merge commit '0434749faa01bc372d0f6507d95e6c63b21d687a' into maintenance/3.0 b7f4c0e Merge commit '6f2927f4e544aaabbcbc424c47e238e257b99cb5' as 'package/marello-magento2-bundle' e8d7669 Merge commit '6f2927f4e544aaabbcbc424c47e238e257b99cb5' as 'package/marello-magento2-bundle' d4540e9 MM-27: Add missed functionality and bugfix - Fixed issue when first item from collection can return false bbf94da MM-27: Add missed functionality and bugfix - Fixed issue when first item from collection can return false 61a95f2 Merge branch 'feature/MAR10001-931' into develop 51055f0 - fixed issue with Migration where it was trying to create the order table on updating the application while it already exists - fixed issue with association name in the Enum field being inconsistent between the installer and the migration - Added additional enum options such as Box and Pallet 7eca964 - fixed issue with check on Payment term when rendering the pdf once downloaded - Some cs fixes in the payment bundle department e7c8029 - fix OrderExtension test to include the new twig functions 7377e59 Merge branch 'feature/MAR10001-920' into develop e388452 MAR10001-931: Update Order and OrderItem entities with additional fields 0be11c4 Merge branch 'maintenance/3.0' into develop 9b3d3fe Merge branch 'maintenance/3.0' into develop 1af4a2e Merge branch 'maintenance/3.0' into develop 9dbcd1c Merge branch 'maintenance/3.0' into develop 039ba0a Merge branch 'maintenance/3.0' into develop 78a6e61 Merge branch 'maintenance/3.0' into develop fe7ee95 Merge branch 'feature/MAR10001-909' into develop 58bb42c - renamed Company code to Company number - added pdf translation - moved company number on the PDF 177b62d Merge branch 'task/MAR10001-0-qol-fixes-orocommerce-bridge' into develop 9947664 Merge branch 'task/MAR10001-0-qol-fixes-orocommerce-bridge' into develop a1466dd Merge branch 'task/MAR10001-0-qol-fixes-orocommerce-bridge' into develop f847771 Merge branch 'task/MAR10001-0-qol-fixes-orocommerce-bridge' into develop 132d4b0 MAR10001-909: Add Company ID to Company 3cff7d4 Merge branch 'maintenance/3.0' into develop 2a68ce8 Merge branch 'maintenance/3.0' into develop 55048a6 MAR10001-909: Add Company ID to Company b06cfde Merge branch 'task/MAR10001-0-qol-fixes-orocommerce-bridge' into develop 965a577 Merge branch 'task/MAR10001-0-qol-fixes-orocommerce-bridge' into develop 0c2fd4b MAR10001-920: Payments Update fc8330c MAR10001-920: Payments Update 90c3238 MAR10001-920: Payments updates f71c6cd MAR10001-920: Payments updates ff26f8a Merge branch 'feature/MAR10001-911' into develop b62f79e Merge branch 'feature/MAR10001-911' into develop 365738d - fix issue of search handler test where the actual search handler changed implementation slightly to let the unit test fail 231dd56 - fixed issue with updating the application from 3.0.x to 3.1 during issues updating indexes on columns that don't exist 9f011dc - CS fixes 158a39f MAR10001-911: Update Product with SKU and organization unique index 670ddcf Merge branch 'feature/MAR10001-791' into release/3.1 2ef748b Merge branch 'feature/MAR10001-791' into release/3.1 b51d7fd Merge branch 'task/MAR10001-0-add-grid-view-labels' into develop 00a75fb Merge branch 'task/MAR10001-0-add-grid-view-labels' into develop d09fdc4 MAR10001-911: added migrations 7c5c499 MAR10001-911: added migrations 201a0e2 - updated pricing js views in order to be able to disable channelpricing without errors in the console 5ba2572 Merge branch 'task/MAR10001-895-add-invoice-type-to-creditmemo-invoice-view' into develop d6ebf16 Merge branch 'task/MAR10001-895-add-invoice-type-to-creditmemo-invoice-view' into develop 4a72df4 Merge branch 'task/MAR10001-896-update-invoice-entity-config' into develop ebb51c2 Merge branch 'task/MAR10001-896-update-invoice-entity-config' into develop a84cd77 Merge branch 'feature/MAR10001-870' into develop f35a522 Merge branch 'feature/MAR10001-870' into develop 353ec71 MAR10001-791: Marello Payments - fixed functional tests - fixed Invoice totalPaid, totalDue calculations ae947db Merge branch 'maintenance/3.0' into feature/MAR10001-791 2dad104 Merge branch 'maintenance/3.0' into feature/MAR10001-791 096ffa2 Merge branch '3.0' into feature/MAR10001-791 c635fe5 Merge branch '3.0' into feature/MAR10001-791 d8f6246 MAR10001-791: Marello Payments cb16773 MAR10001-791: Marello Payments 89c1f39 Update routing.yml 8913643 CRH19001-18; Update API for overrides 9ace12f CRH19001-18; Update API for overrides cd74db3 Merge branch 'bugfix/MAR10001-712-add-taxcode-remove-suppliers' into maintenance/2.1 fe3d83d Merge commit '73de19e5ff6867b2fb523997401df9d818e84235' into bugfix/GH-PR9-update-ororequirements fd1a7eb - remove lock files 942b01e - remove lock files from master 08ed5eb - Release preparation 2.1 fcbd86d Merge commit 'ce6c5c85565cf4ba66d2942b1c1aa34c3c389a33' into release/2.1 d79c4f4 Merge commit '7139917230723d97b9b8c99e27dcd5c3f7d2e8e1' into release/2.1 680e701 - updated version number in upgrade notes 61d89c6 - prepared composer.json files for release 8033763 - Updated dev.json and lock files to include `self.version` as internal pointer to packages of marello, marello-ee and subscriptions 9552e48 - updated dev.lock files 98eb6c0 - updated dev json and lock file to include oro 3.1.9 - small changes regarding docker environment files 4c72f7d - CS fixes - Fixed CreateProduct test in ProductController test to take the attribute family into account when creating new products d3ed4d0 - Merge commit '22a02abd2e26d568767c7824dba7970017871107' into feature/MAR10001-499 17383a0 - added composer.lock to .gitignore - remove composer.lock files 4ecfc51 - added composer.lock - added dev.lock - updated branch alias in marello package composer.json 05e1647 Add 'applications/marello-application-ee/' from commit 'd13f2b41e079dff4eee99f8874928459658daaff' a56511d Merge commit '44448293702551e588fff6fd5860d9d1e0db4a11' as 'package/marello' git-subtree-dir: applications/marello-application-ee git-subtree-split: 27fddcc
1 parent 6dca2f9 commit 4861529

22 files changed

Lines changed: 24878 additions & 6589 deletions

.gitignore

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,21 @@ behat.yml
1414
!var/logs/
1515
/var/logs/*
1616
!var/logs/.gitkeep
17-
!var/attachment/
18-
/var/attachment/*
19-
!var/attachment/.gitkeep
20-
!var/import_export/
21-
/var/import_export/*
22-
!var/import_export/.gitkeep
17+
!var/data/
18+
/var/data/*
19+
!var/data/.gitkeep
2320
!var/oro-check.php
2421
!var/SymfonyRequirements.php
2522
!var/OroRequirements.php
2623
/vendor
2724
build/
2825
/cov
2926
/public/bundles
30-
/public/css
31-
/public/js
27+
!public/js/
28+
/public/js/*
29+
!public/js/.gitkeep
3230
/public/build
3331
/public/layout-build
34-
/public/uploads/users/*
3532
/public/media/cache
3633
/public/media/js
3734
/public/build.js
@@ -46,4 +43,3 @@ phpunit.xml
4643
/.web-server-pid
4744
/.vagrant
4845
/node_modules
49-
/package.json

CHANGELOG.md

Lines changed: 302 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 35 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,30 @@ This document contains information on how to download, install, and start using
88

99
Marello Enterprise is a Symfony 4.4 based application with the following requirements:
1010

11-
* PHP 7.3.13 or above with command line interface
11+
* PHP 7.4.14 or above with command line interface
1212
* PHP Extensions
13-
* Ctype
14-
* Fileinfo
15-
* GD 2.0 and above
16-
* Intl (ICU library 4.4 and above)
17-
* JSON
18-
* Mbstring
19-
* Mysql
20-
* PCRE 8.0 and above
21-
* SimpleXML
22-
* Tokenizer
23-
* Xml
24-
* Zip
25-
* MySQL 5.7 or above
13+
* ctype
14+
* curl
15+
* fileinfo
16+
* gd
17+
* intl (ICU library 4.4 and above)
18+
* json
19+
* mbstring
20+
* openssl
21+
* mysql
22+
* pcre
23+
* simplexml
24+
* tokenizer
25+
* xml
26+
* zip
27+
* imap
28+
* soap
29+
* bcmath
30+
* ldap
31+
* pgsql
32+
* MySQL 8.0 or PostgreSQL >=12.5 (optional)
33+
* Elasticsearch >=7.7, <8.0 (optional)
34+
* RabbitMQ 3.8.x (optional)
2635

2736
## Installation instructions
2837

@@ -42,7 +51,7 @@ where x.y.z is the latest [release tag](https://github.com/marellocommerce/marel
4251

4352
- Install [Composer][1] globally following the official Composer installation documentation
4453

45-
- Make sure that you have [NodeJS][3] >=12.0 installed
54+
- Make sure that you have [NodeJS][4] >=12.0, <15.0 installed
4655

4756
- Install Marello dependencies with composer. If installation process seems too slow you can use `--prefer-dist` option. Go to marello-application folder and run composer installation:
4857

@@ -85,8 +94,8 @@ php bin/console oro:message-queue:consume --env=prod
8594
```
8695
**Note** We do recommend to use a supervisor for running the ``oro:message-queue:consume`` command. This will make sure that the command and
8796
the consumer will run all the time. This has become important for every Oro Platform based application since a lot of background tasks depend
88-
on the consumer to run. For more information about configuration and what supervisor can do for you can either be found in the [Oro(CRM) docs][5] or the
89-
[site of Supervisord][6].
97+
on the consumer to run. For more information about configuration and what supervisor can do for you can either be found in the [Oro(CRM) docs][6] or the
98+
[site of Supervisord][7].
9099

91100
**Note:** ``bin/console`` is a path from project root folder. Please make sure you are using full path for crontab configuration or if you running console command from other location.
92101

@@ -96,7 +105,7 @@ Installed PHP Accelerators must be compatible with Symfony and Doctrine (support
96105

97106
Note that the port used in Websocket must be open in firewall for outgoing/incoming connections
98107

99-
Using MySQL 5.6 on HDD is potentially risky because of performance issues
108+
Using MySQL 8.0.x on HDD is potentially risky because of performance issues
100109

101110
Recommended configuration for this case:
102111

@@ -106,7 +115,7 @@ And ensure that timeout has default value
106115

107116
wait_timeout = 28800
108117

109-
See [Optimizing InnoDB Disk I/O][2] for more
118+
See [Oro's recommendation regarding optimization][2] and [Optimizing InnoDB Disk I/O][3] for more
110119

111120
## PostgreSQL installation notes
112121

@@ -119,15 +128,16 @@ CREATE EXTENSION "uuid-ossp";
119128

120129
## Web Server Configuration
121130

122-
The Marello Enterprise application is based on the Symfony standard application so web server configuration recommendations are the [same][4].
131+
The Marello Enterprise application is based on the Symfony standard application so web server configuration recommendations are the [same][5].
123132

124133
## Package Manager Configuration
125134

126135
Github OAuth token should be configured in package manager settings
127136

128137
[1]: https://getcomposer.org/
129-
[2]: https://dev.mysql.com/doc/refman/5.6/en/optimizing-innodb-diskio.html
130-
[3]: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
131-
[4]: https://symfony.com/doc/3.4/setup/web_server_configuration.html
132-
[5]: https://oroinc.com/orocrm/doc/current/install-upgrade/installation-quick-start-dev/crm#step-4-post-installation-environment-configuration
133-
[6]: https://supervisord.org/
138+
[2]: https://doc.oroinc.com/backend/setup/system-requirements/database-optimization/
139+
[3]: https://dev.mysql.com/doc/refman/8.0/en/optimizing-innodb-diskio.html
140+
[4]: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
141+
[5]: https://symfony.com/doc/4.4/setup/web_server_configuration.html
142+
[6]: https://oroinc.com/orocrm/doc/current/install-upgrade/installation-quick-start-dev/crm#step-4-post-installation-environment-configuration
143+
[7]: https://supervisord.org/

composer.json

Lines changed: 37 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
"type": "composer",
2424
"url": "https://packagist.orocrm.com"
2525
},
26-
"asset-packagist": {
27-
"type": "composer",
28-
"url": "https://asset-packagist.orocrm.com"
29-
},
3026
"platform-enterprise": {
3127
"type": "vcs",
3228
"url": "https://github.com/oroinc/platform-enterprise.git"
@@ -45,35 +41,41 @@
4541
}
4642
},
4743
"require": {
48-
"oro/platform-enterprise": "4.1.*",
49-
"oro/platform-serialised-fields": "4.1.*",
50-
"oro/calendar-bundle": "4.1.*",
51-
"oro/health-check-bundle": "4.1.*",
52-
"marellocommerce/marello-enterprise": "~3.1.0"
44+
"oro/platform-enterprise": "4.2.*",
45+
"oro/platform-serialised-fields": "4.2.*",
46+
"oro/calendar-bundle": "4.2.*",
47+
"oro/health-check-bundle": "4.2.*",
48+
"oro/oauth2-server": "4.2.*",
49+
"marellocommerce/marello-enterprise": "~3.2.0"
5350
},
5451
"require-dev": {
55-
"behat/behat": "3.4.*",
56-
"behat/gherkin": "4.6.0",
57-
"behat/mink": "dev-master#6d637f7af4816c26ad8a943da2e3f7eef1231bea",
58-
"behat/mink-extension": "2.3.*",
59-
"behat/mink-selenium2-driver": "1.3.1",
60-
"behat/symfony2-extension": "2.1.*",
61-
"guzzlehttp/guzzle": "^6.0.0",
62-
"nelmio/alice": "3.6.*",
63-
"theofidry/alice-data-fixtures": "1.0.*",
64-
"phpunit/phpunit": "7.5.*",
65-
"johnkary/phpunit-speedtrap": "3.0.*",
66-
"mybuilder/phpunit-accelerator": "dev-master",
52+
"behat/behat": "~3.8.1",
53+
"behat/gherkin": "~4.7.1",
54+
"behat/mink": "~1.8.1",
55+
"behat/mink-extension": "~2.3.1",
56+
"behat/mink-selenium2-driver": "~1.4.0",
57+
"behat/symfony2-extension": "~2.1.5",
58+
"friendsofphp/php-cs-fixer": "~2.18.2",
59+
"johnkary/phpunit-speedtrap": "~3.3.0",
60+
"nelmio/alice": "~3.8.0",
61+
"oro/twig-inspector": "1.0.*",
62+
"phpmd/phpmd": "2.8.*",
63+
"phpunit/phpunit": "~9.5.1",
64+
"sebastian/phpcpd": "6.0.*",
6765
"squizlabs/php_codesniffer": "3.5.*",
68-
"phpmd/phpmd": "2.6.*",
69-
"sebastian/phpcpd": "4.0.*",
70-
"phpunit/phpcov": "5.0.*",
71-
"symfony/phpunit-bridge": "4.4.*",
72-
"friendsofphp/php-cs-fixer": "2.16.*",
73-
"oro/twig-inspector": "1.0.*"
66+
"symfony/browser-kit": "4.4.18",
67+
"symfony/css-selector": "4.4.18",
68+
"symfony/debug": "4.4.18",
69+
"symfony/debug-bundle": "4.4.18",
70+
"symfony/dom-crawler": "4.4.18",
71+
"symfony/phpunit-bridge": "4.4.18",
72+
"symfony/stopwatch": "4.4.18",
73+
"symfony/var-dumper": "4.4.18",
74+
"symfony/var-exporter": "4.4.18",
75+
"symfony/web-profiler-bundle": "4.4.18",
76+
"theofidry/alice-data-fixtures": "~1.4.0"
7477
},
7578
"config": {
76-
"component-dir": "public/bundles/components",
7779
"bin-dir": "bin",
7880
"fxp-asset": {
7981
"enabled": false
@@ -82,37 +84,33 @@
8284
"scripts": {
8385
"post-install-cmd": [
8486
"@build-parameters",
85-
"@build-bootstrap",
86-
"@install-requirements-file",
8787
"@set-permissions",
8888
"@install-assets",
8989
"@set-assets-version"
9090
],
9191
"post-update-cmd": [
9292
"@build-parameters",
93-
"@build-bootstrap",
94-
"@install-requirements-file",
9593
"@set-permissions",
96-
"@install-assets",
94+
"@update-assets",
9795
"@set-assets-version"
9896
],
9997
"build-parameters": [
10098
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
10199
],
102-
"build-bootstrap": [
103-
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
104-
],
105-
"install-requirements-file": [
106-
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
107-
],
108100
"set-permissions": [
109101
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setPermissions"
110102
],
111103
"install-assets": [
112104
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::installAssets"
113105
],
106+
"update-assets": [
107+
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::updateAssets"
108+
],
114109
"set-assets-version": [
115110
"Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setAssetsVersion"
111+
],
112+
"set-parameters": [
113+
"Oro\\Bundle\\InstallerBundle\\Composer\\ParametersHandler::set"
116114
]
117115
},
118116
"minimum-stability": "dev",

config/config.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ framework:
2727
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
2828
gc_maxlifetime: 3600
2929
cookie_httponly: true
30+
cookie_secure: 'auto'
3031
fragments:
3132
enabled: true
3233
path: /_fragment # used for controller action in template
@@ -37,7 +38,7 @@ framework:
3738
twig:
3839
debug: "%kernel.debug%"
3940
strict_variables: "%kernel.debug%"
40-
exception_controller: "Oro\\Bundle\\UIBundle\\Controller\\ExceptionController::showAction"
41+
exception_controller: null # use framework.error_controller instead
4142
globals:
4243
bap:
4344
layout: base.html.twig # default layout across all Oro bundles
@@ -57,21 +58,21 @@ fos_rest:
5758
decoders:
5859
json: fos_rest.decoder.json
5960
view:
60-
failed_validation: HTTP_BAD_REQUEST
61-
default_engine: php
61+
failed_validation: HTTP_BAD_REQUEST
62+
default_engine: php
6263
formats:
63-
json: true
64-
xml: false
64+
json: true
65+
xml: false
6566
format_listener:
6667
rules:
6768
- { path: '^/api/rest', priorities: [ json ], fallback_format: json, prefer_extension: false }
6869
- { path: '^/api/soap', stop: true }
6970
- { path: '^/', stop: true }
7071
routing_loader:
71-
default_format: json
72+
default_format: json
7273

7374
fos_js_routing:
74-
routes_to_expose: [oro_*]
75+
routes_to_expose: ['oro_.*', 'oropro_.*', 'marello_.*']
7576

7677
stof_doctrine_extensions:
7778
default_locale: en
@@ -81,15 +82,9 @@ stof_doctrine_extensions:
8182
translatable: true
8283
tree: true
8384

84-
services:
85-
twig.extension.intl:
86-
class: Twig_Extensions_Extension_Intl
87-
tags:
88-
- { name: twig.extension }
89-
9085
oro_translation:
91-
locales: [en, fr]
92-
templating: "OroUIBundle:Form:translatable.html.twig"
86+
locales: [en, fr]
87+
templating: "OroUIBundle:Form:translatable.html.twig"
9388

9489
lexik_maintenance:
9590
authorized:
@@ -134,8 +129,14 @@ oro_locale:
134129

135130
oro_attachment:
136131
upload_file_mime_types:
132+
- text/csv
133+
- text/plain
137134
- application/msword
135+
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
138136
- application/vnd.ms-excel
137+
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
138+
- application/vnd.ms-powerpoint
139+
- application/vnd.openxmlformats-officedocument.presentationml.presentation
139140
- application/pdf
140141
- application/zip
141142
- image/gif

config/parameters.yml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ parameters:
66
database_user: root
77
database_password: ~
88
database_driver_options: []
9+
database_server_version: ~
910

1011
mailer_transport: smtp
1112
mailer_host: 127.0.0.1
@@ -57,3 +58,7 @@ parameters:
5758
message_queue_transport: 'dbal'
5859
message_queue_transport_config: ~
5960
deployment_type: ~
61+
62+
# Post processors binary
63+
liip_imagine.jpegoptim.binary: null
64+
liip_imagine.pngquant.binary: null

config/parameters_test.yml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ parameters:
66
database_user: root
77
database_password: ~
88
database_driver_options: []
9+
database_server_version: ~
910

1011
mailer_transport: smtp
1112
mailer_host: 127.0.0.1
@@ -53,3 +54,7 @@ parameters:
5354
message_queue_transport: 'null'
5455
message_queue_transport_config: {}
5556
deployment_type: ~
57+
58+
# Post processors binary
59+
liip_imagine.jpegoptim.binary: null
60+
liip_imagine.pngquant.binary: null

config/security.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
security:
22
encoders:
3-
Symfony\Component\Security\Core\User\User: plaintext
4-
5-
firewalls:
6-
dev:
7-
pattern: ^/(_(profiler|wdt)|css|images|js)/
8-
security: false
3+
Symfony\Component\Security\Core\User\User: plaintext

0 commit comments

Comments
 (0)