Commit Graph

1438 Commits

Author SHA1 Message Date
olivermrbl
8e43ef2b3a chore(release): Publish
- medusa-file-minio@1.0.6
 - medusa-file-s3@1.1.2
 - medusa-file-spaces@1.2.2
 - medusa-fulfillment-webshipper@1.3.2
 - @medusajs/medusa-js@1.2.2
 - medusa-payment-paypal@1.2.2
 - medusa-payment-stripe@1.1.40
 - medusa-plugin-algolia@0.2.2
 - medusa-plugin-contentful@1.2.2
 - medusa-plugin-mailchimp@1.1.41
 - medusa-plugin-meilisearch@0.2.2
 - medusa-plugin-sendgrid@1.3.2
 - medusa-plugin-slack-notification@1.3.2
 - medusa-plugin-twilio-sms@1.2.2
 - medusa-react@0.3.2
 - @medusajs/medusa@1.3.2
2022-06-19 13:11:05 +02:00
Oliver Windall Juhl
6b23208d63 fix(medusa): Include adjustments when authorizing payment (#1697) 2022-06-19 12:58:47 +02:00
olivermrbl
6c1a722b38 chore(release): Publish
- medusa-file-minio@1.0.5
 - medusa-file-s3@1.1.1
 - medusa-file-spaces@1.2.1
 - medusa-fulfillment-webshipper@1.3.1
 - @medusajs/medusa-js@1.2.1
 - medusa-payment-paypal@1.2.1
 - medusa-payment-stripe@1.1.39
 - medusa-plugin-algolia@0.2.1
 - medusa-plugin-contentful@1.2.1
 - medusa-plugin-mailchimp@1.1.40
 - medusa-plugin-meilisearch@0.2.1
 - medusa-plugin-sendgrid@1.3.1
 - medusa-plugin-slack-notification@1.3.1
 - medusa-plugin-twilio-sms@1.2.1
 - medusa-react@0.3.1
 - @medusajs/medusa@1.3.1
2022-05-31 09:12:18 +02:00
Philip Korsholm
3f23edea23 fix(medusa): Allow de-selecting configurations in price lists (#1596) 2022-05-30 19:34:34 +02:00
Adrien de Peretti
d0c679fc7e feat(medusa): Export BaseEntity/SoftDeletableEntity from the core (#1594) 2022-05-30 17:47:20 +02:00
Kasper Fabricius Kristensen
083ab09361 fix(medusa): Prevent discount type updates (#1584) 2022-05-30 09:44:53 +02:00
Adrien de Peretti
fa031fd28b feat(medusa): Support deleting prices from a price list by product or variant (#1555) 2022-05-30 09:41:57 +02:00
Sebastian Rindom
ad9cfedf04 chore: add telemetry ping (#1509)
* chore: add telemetry ping

* fix: add track and 6th hour
2022-05-28 13:58:48 +02:00
Kasper Fabricius Kristensen
5414148254 fix(medusa): Post /admin/discounts/:id not updating condition operator (#1573) 2022-05-24 12:28:40 +02:00
olivermrbl
ad85bd0006 Merge branch 'master' into develop 2022-05-24 10:02:35 +02:00
Adrien de Peretti
3503651ff2 Refactor(medusa): Create a BaseEntity and SoftDeletableEntity base class for common columns (#1315)
* refactor(medusa): Move some column to a base entity to make it easier to add new models without forgetting some columns

* styles(medusa): Cleanup models

* fix(medusa): typings due to model typings update

* feat(medusa): Cleanup models

* fix(medusa): A model must not return the generateId as part of the entity

* fix(medusa): Plugin integration snapshot

* fix(medusa): Typings from discount-rule-migration scripts

* refactor(medusa): Introduct BaseEntity/SoftDeletableEntity that the entity extends

* styles(medusa): Fix models linting

* test(medusa): Fix integration plugin tests

* feat(medusa): Create generateEntityId standalong function utility and update config to properly supprt ts spec files

* feat(medusa): Update entities to use the new utils to generate and apply the id

* test(medusa): Fix test suits

* feat(medusa): Improve generateEntityId utility
2022-05-23 14:27:58 +02:00
Kasper Fabricius Kristensen
2f08167480 fix(medusa): discount types across model, service and api (#1545) 2022-05-22 12:18:37 +02:00
Shahed Nasser
b4f0771202 small fixes 2022-05-20 11:44:20 +03:00
Shahed Nasser
be3ad001ee added readme links 2022-05-20 11:40:57 +03:00
Adrien de Peretti
4489b75f5a feat(medusa): List batch jobs + Introduce composable handler pattern (#1541) 2022-05-20 10:22:42 +02:00
Oliver Windall Juhl
f0ecef6b9a fix(medisa): Deleting price list should use remove (#1540) 2022-05-19 18:56:58 +02:00
Adrien de Peretti
58387936c9 fix(medusa-payment-paypal): Should not throw when canceling already canceled payment (#1470) 2022-05-19 18:28:51 +02:00
Kasper Fabricius Kristensen
a10ac19d8e fix(medusa): applicableness of discounts with conditions not related to customer groups (#1534)
Discounts with conditions not related to customer groups prevent the discount from being applicable to customers (#1534)
2022-05-19 09:00:35 +02:00
Kasper Fabricius Kristensen
46d9e6c44c fix(medusa): add q param to listAndCount product types and product tags (#1531) 2022-05-18 11:31:02 +02:00
Kasper Fabricius Kristensen
5ae5f15e98 fix(medusa): RMA on items from swaps and claims (#1182) 2022-05-17 11:19:46 +02:00
Oliver Windall Juhl
a87e1cdf65 feat(medusa): Add endpoint for retrieving a DiscountCondition (#1525) 2022-05-17 11:17:17 +02:00
Kasper Fabricius Kristensen
b02f2652be fix(medusa-react): useUpdatePaymentSession mutation (#1522) 2022-05-16 14:02:32 +02:00
Kasper Fabricius Kristensen
8dd27ecb7e fix(medusa): AddressPayload typing and removes Joi validation from CustomerService (#1520) 2022-05-16 13:43:59 +02:00
Oliver Windall Juhl
02eab5ee86 fix(medusa): Include adjustments in cart retrieval relations in setPaymentSessions (#1518) 2022-05-16 13:39:38 +02:00
Adrien de Peretti
edeac8ac72 feat(medusa): Add /admin/products/:id/variants end point (#1471)
* feat(medusa): Add /admin/products/:id/variants end point

* test(medusa): Fix get-variants test casees

* feat(medusa): Include the config to the ProdutService#retrieveVariants as a method parameter

* feat(medusa): Improve get-variants endpoint

* feat(medusa): Improve get-variants endpoint

* test(medusa): Fix unit tests

* test(medusa): Fix unit tests

* feat(medusa): Improve typings

* feat(medusa): Update according to feedback

* feat(medusa): Update according to feedback

* test(medusa): Fix list-variants tests

* feat(medusa): Getting the variants from the product end point should use the productVariantService

* fix(medusa): list-variants expand possibly undefined

* Fix(medusa): List-variants endpoint

* fix(medusa): Tests suite for list-variant

* test(integration-tests): Fix yarn lock

* test(integration-tests): Fix yarn lock
2022-05-16 12:19:34 +02:00
Frane Polić
79345d27ec fix(medusa-react): Invalidate price list product cache on various price list updates (#1503) 2022-05-16 11:28:28 +02:00
Adrien de Peretti
e31fe4af16 fix(medusa): CartService fix discounts empty array check on update (#1516)
* fix(medusa): CartService fix constraint check

* test(medusa): CartService test case, remove all discount if empty array is passed
2022-05-16 10:06:50 +02:00
Kasper Fabricius Kristensen
7605963ded fix(medusa): Use boolean on list shipping options params (#1493) 2022-05-16 10:05:48 +02:00
olivermrbl
4198ee7756 Merge branch 'master' into develop 2022-05-13 14:32:24 +02:00
Oliver Windall Juhl
9ca45ea492 feat(medusa): Add endpoints specific to DiscountConditions (#1355) 2022-05-13 12:42:23 +02:00
Philip Korsholm
a69b52e031 Feat: Filter price lists by customer group (#1431)
* add customer groups to price list factory

* add integration test for filtering price lists by customer group

* normalize list price list query

* add customer groups to list-price-list queryparameters

* query based on customergroups if they exist for price lists

* remove verbose flag

* add another price list with a customer group

* remove console.log

* pr feedback

* add query type to repository

* add query type to repository

* set groups to undefined instead of deleting parameter

* remove wildcard destructing

* make buildQuery type specific to price lists

* steal Adriens types

* fix(medusa): support searching for price lists (#1407)

* delete instead of settting groups to undefined

* add groups to query with q

* use simple customer group factory instead of manual creation

* Update simple-customer-group-factory.ts

* remove comma that breaks integration-tests

Co-authored-by: Zakaria El Asri <33696020+zakariaelas@users.noreply.github.com>
2022-05-12 04:22:46 +02:00
Adrien de Peretti
0b2a3a0f0e Merge pull request #1475 from medusajs/fix-cartServiceCreateLostShippingAddress 2022-05-11 22:02:24 +02:00
Frane Polić
03c5617896 fix(medusa): allow price list prices update when region_id is provided (#1472) 2022-05-11 07:43:19 +02:00
Adrien de Peretti
327614e126 feat(medusa-payment-stripe): Ability to add payment description and improve status resolution (#1404) 2022-05-10 17:34:41 +02:00
adrien2p
1c5647f69e style(medusa): Cleanup some tests case naming 2022-05-10 16:28:10 +02:00
adrien2p
d9bc6b4c41 style(medusa): Remove unused dependencies 2022-05-10 14:15:08 +02:00
Adrien de Peretti
65186036b5 Merge branch 'develop' into fix-cartServiceCreateLostShippingAddress 2022-05-10 11:16:19 +02:00
adrien2p
9b5354502f test(medusa): Fix test pipelines 2022-05-10 11:09:52 +02:00
Adrien de Peretti
eae37d8449 Merge pull request #1344 from adrien2p/feat-improveNewBaseService
feat(medusa): Move BaseService to the core and refactor it as part of the new TransactionBaseService
2022-05-09 17:05:18 +02:00
Adrien de Peretti
90870292c6 fix(medusa): Remove line-item.js file (#1414) 2022-05-09 09:52:15 +02:00
Adrien de Peretti
c67d6bee30 fix(medusa): PluginLoaders when loading services should only look for js files (#1473) 2022-05-09 09:42:47 +02:00
Adrien de Peretti
525910f72a fix(medusa-file-spaces): Allow duplicate filenames (#1474) 2022-05-09 09:41:18 +02:00
Zakaria El Asri
f71b9b3a87 fix(medusa): support searching for price lists (#1407) 2022-05-08 18:45:18 +02:00
Kasper Fabricius Kristensen
e7cb76ab6e fix: Cascade remove prices + option values on variant and product delete (#1465) 2022-05-08 16:12:31 +02:00
Philip Korsholm
e2d08316dd fix: Use correct product price when fetching product for pricelist (#1416) 2022-05-08 13:03:29 +02:00
Shahed Nasser
98f5c4ec8b fix(medusa-js): Updated URLs for JS Client (#1435) 2022-05-06 14:54:04 +02:00
adrien2p
f5edaf51ea fix(medusa): Proper fix of the cart service 2022-05-06 10:31:02 +02:00
adrien2p
32a65d27fc test(medusa): Add a test to check that the shipping_address is not erase when an id is have been given 2022-05-05 15:28:33 +02:00
adrien2p
c442be47d4 fix(medusa): CartService lost shipping address when using the id 2022-05-05 15:07:00 +02:00
Adrien de Peretti
3c75a65792 fix(medusa): MoneyAmountRepository#findManyForVariantInRegion sql statement for constraint related to price_list (#1462) 2022-05-05 07:56:34 +02:00