Commit Graph

1906 Commits

Author SHA1 Message Date
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
a33c1cfb14 chore: Update yarn.lock 2022-05-24 10:09:45 +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
Shahed Nasser
5e0e5b90fc docs: Fix dark mode logos in API reference (#1504) 2022-05-22 16:51:13 +02:00
Shahed Nasser
5428195af3 docs: Fixed broken PayPal link (#1490) 2022-05-22 16:48:26 +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
851cda616d Merge pull request #1543 from medusajs/docs/packages-readme-links
Docs: added documentation links to packages' readme
2022-05-20 13:30:12 +03: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
Sebastian Rindom
f17e44d88a fix(medusa): join claim items on receive return (#1539) 2022-05-19 13:04:25 +02:00
Shahed Nasser
636edb6530 Merge pull request #1538 from medusajs/docs/fix-edit-link
Docs: fix edit url
2022-05-19 11:56:37 +03:00
Shahed Nasser
8e38f8115c change to edit page 2022-05-19 11:04:27 +03:00
Shahed Nasser
abd011e1c5 fix edit url 2022-05-19 11:03:29 +03: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
olivermrbl
7700b28e8d Merge branch 'master' into develop 2022-05-19 08:51:41 +02:00
Shahed Nasser
d6330e6a07 Merge pull request #1536 from medusajs/docs/fix-stripe
Docs: small fixes in Stripe documentation
2022-05-18 19:59:20 +03:00
Shahed Nasser
5bdd74b3f3 Merge pull request #1454 from medusajs/docs/development
Docs: updated development guide
2022-05-18 19:58:38 +03:00
Shahed Nasser
331bfde61f small fixes 2022-05-18 19:43:49 +03:00
Shahed Nasser
a423aed086 fixes 2022-05-18 19:24:42 +03:00
Shahed Nasser
12570631cf Merge branch 'master' into docs/development 2022-05-18 19:14:52 +03:00
Shahed Nasser
eadb76eefb chore(docs): Small modifications to quickstart guide (#1523) 2022-05-18 17:08:22 +02:00
Shahed Nasser
8836a129ab Merge pull request #1532 from mkaychuks/patch-2
Update deploying-on-heroku.md
2022-05-18 16:57:40 +03: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
Achufusi Ifeanyichukwu
910df6a1a2 Update deploying-on-heroku.md
definition of term "PaaS (Platform as a Service)"
2022-05-18 08:00:57 +01:00
olivermrbl
847508af02 Merge branch 'master' into develop 2022-05-17 15:04:35 +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
Shahed Nasser
9e4f787604 Merge pull request #1527 from diepower/patch-1
link fixed
2022-05-17 11:06:42 +03:00
diepower
6b33acd979 link fixed
MeiliSearch article URL was wrong
2022-05-16 23:55:03 +03: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
Shahed Nasser
021e6e451a fix links in other pages 2022-05-16 14:35:04 +03: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
Shahed Nasser
75e44992fb Merge pull request #1511 from mkaychuks/patch-1
Update deploying-on-heroku.md
2022-05-16 11:13:02 +03: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
Achufusi Ifeanyichukwu
ac7a17e4fc Update deploying-on-heroku.md
For your consideration, I changed "in this below example" to "in this example below"
2022-05-13 17:09:29 +01:00
olivermrbl
4198ee7756 Merge branch 'master' into develop 2022-05-13 14:32:24 +02:00
Shahed Nasser
40d8d88cb9 Merge pull request #1506 from mkaychuks/patch-5
Update setting-up-a-nextjs-storefront-for-your-medusa-project.md
2022-05-13 15:25:18 +03:00
Shahed Nasser
659ab83b2a Merge pull request #1507 from mkaychuks/patch-6
Update create-medusa-app.md
2022-05-13 15:24:25 +03:00
Oliver Windall Juhl
9ca45ea492 feat(medusa): Add endpoints specific to DiscountConditions (#1355) 2022-05-13 12:42:23 +02:00