Commit Graph
2584 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
604badf71d chore(deps): bump loader-utils from 1.4.0 to 1.4.2 in /www/docs (#2653)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 15:40:48 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1a2d5e6309 chore(deps): bump socket.io-parser from 4.0.4 to 4.0.5 in /www/reference (#2652)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 13:51:36 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d4b41629cc chore(deps): bump loader-utils from 1.4.0 to 1.4.2 in /www/reference (#2651)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 13:47:54 +01:00
github-actions[bot]andGitHub 37378988f6 chore(docs): Generated Docs Announcement Bar (automated) (#2650) 2022-11-22 13:43:22 +01:00
olivermrbl ade898d434 chore(release): Publish 2022-11-22 13:35:50 +01:00
e7c4cc3751 fix(medusa): Separate JWT auth strategies per domain (#2646)
**What**
Separate JWT auth strategies per domain

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com>
2022-11-22 12:30:05 +00:00
github-actions[bot]andGitHub 6a1df8b1a9 chore(docs): Removed Docs Announcement Bar (automated) (#2611) 2022-11-21 08:46:08 +01:00
github-actions[bot]andGitHub 3aa082714b chore(docs): Generated Docs Announcement Bar (automated) (#2591) 2022-11-10 19:37:17 +01:00
olivermrbl 5dcbec3788 chore(release): Publish 2022-11-10 19:31:03 +01:00
Oliver Windall JuhlandGitHub 04e894ec39 hotfix(medusa-payment-stripe): Support provider specific intent options (#2581) 2022-11-10 19:28:35 +01:00
Shahed NasserandGitHub c0cdbd025e docs: fix duplicate labels (#2589) 2022-11-10 18:43:04 +02:00
Shahed NasserandGitHub 7c5523160d docs: changed introduction title (#2588) 2022-11-10 18:08:55 +02:00
Shahed NasserandGitHub 208809b635 docs: update readme (#2587)
* docs: added features list

* docs: update readme
2022-11-10 17:52:03 +02:00
Shahed NasserandGitHub 7b96bb1f1a docs: added settings user guides (#2586) 2022-11-10 16:31:56 +02:00
Adrien de PerettiandGitHub 699bb1d57b hotfix(medusa): Deleted region are missing on order retrieval (#2583) 2022-11-10 14:44:35 +01:00
Shahed NasserandGitHub 657d0a6586 docs: added user guide for tax-inclusive pricing (#2580) 2022-11-10 14:44:17 +02:00
Shahed NasserandGitHub 8f39ee26d9 docs: temporary fix for memory error that occurs during build (#2584)
* docs: temporary fixes for build error

* docs: added env variable to the build step

* docs: undo unnecessary updates
2022-11-10 14:04:34 +02:00
51c4cdd978 chore(docs): Generated Entities Reference (automated) (#2573)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2022-11-10 10:38:07 +02:00
88ac804b63 chore(docs): Generated Services Reference (automated) (#2575)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2022-11-10 10:36:05 +02:00
557352cdfe chore(docs): Generated JS Client Reference (automated) (#2576)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2022-11-10 10:35:17 +02:00
olivermrbl dda886a77f Merge branch 'master' into develop 2022-11-09 20:37:48 +01:00
olivermrbl 7914f2a82a chore: Version medusa-payment-stripe 2022-11-09 20:36:31 +01:00
olivermrbl 715bdf6b15 chore: Patch bump stripe 2022-11-09 20:35:21 +01:00
github-actions[bot]andGitHub a7aa53f0b2 chore(docs): Generated Docs Announcement Bar (automated) (#2577) 2022-11-09 21:08:02 +02:00
olivermrbl a4dd26e137 chore(release): Publish 2022-11-09 19:34:59 +01:00
olivermrbl 41fc095a3d Merge branch 'master' into develop 2022-11-09 19:32:30 +01:00
Oliver Windall JuhlandGitHub cfb24d72fa fix(medusa-telemetry): Fix incorrect import (#2574)
Duplicate of #2126
2022-11-09 16:51:37 +00:00
441690e90c chore(docs): Generated Entities Reference (automated) (#2571)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2022-11-09 18:30:17 +02:00
325b1e9017 chore(docs): Generated API Reference (#2572)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2022-11-09 18:30:06 +02:00
Shahed NasserandGitHub 884322447e docs: fixes to the API reference (#2570) 2022-11-09 18:24:48 +02:00
PatrickandGitHub 7b0ceeffb4 feat: /store api product types (#2552)
## What
Allow users to fetch ProductTypes from the storefront API.

## Why
This endpoint will allow developers to implement better faceted product search in Medusa without the need for search plugin. Developers will be able to use this to render refinement lists based on types, like this:
![image](https://user-images.githubusercontent.com/116003638/200417828-863065de-3607-49db-bd72-62a6815129fa.png)

## How
Endpoint `GET /store/products/types` and `GET /store/product-types` (use [product types listing in admin](https://github.com/medusajs/medusa/blob/master/packages/medusa/src/api/routes/admin/products/list-types.ts) as reference)

Support added in @medusajs/medusa-js
Support added in medusa-react

## Testing
Similar automated tests as `GET /admin/products/types` and `GET /admin/product-types`

---

Resolves CORE-699
2022-11-09 16:10:17 +00:00
Adrien de PerettiandGitHub 2d095a0ce1 fix(medusa): fix missing throw in the store cart create-payment-sessions (#2568) 2022-11-09 16:47:17 +01:00
Shahed NasserandGitHub 9e7e8c6d51 docs: migrated images to cloudinary from imgur (#2569) 2022-11-09 16:30:41 +02:00
Sebastian RindomandGitHub 8069ed5e99 fix(medusa): add support for retrying failed event bus jobs (#2566)
Closes CORE-770
2022-11-09 12:24:26 +00:00
olivermrbl 5ea4b728e7 chore: Add missing changeset 2022-11-09 10:56:02 +01:00
Shahed NasserandGitHub 0a31ea9d43 docs: added "users" user guides (#2565)
* docs: added "users" user guides

* docs: added user trial link to footer
2022-11-08 17:55:45 +02:00
Shahed NasserandGitHub 1167970211 docs: added manage collections user guide (#2564) 2022-11-08 13:30:43 +02:00
Shahed NasserandGitHub e16d076ffc docs: added manage customer user guide (#2562) 2022-11-07 19:42:41 +02:00
Shahed NasserandGitHub c00971423e docs: added upgrade guide for 1.6.1 (#2561) 2022-11-07 18:59:58 +02:00
Shahed NasserandGitHub c0639ef708 docs: added code blocks without headers (#2560) 2022-11-07 17:36:51 +02:00
Adrien de PerettiandGitHub 129ad4b687 fix(medusa): Order/Cart decorate totals should assign the items totals (#2546)
**What**

If `total` or `subtotal` are selected then get the line item totals and assign them to the items.

I also had to remove the totals from the cart update service since they are not used and that by having them the items get the tax lines attached and since the update is performed by passing the entire cart, it is trying to insert the tax lines with the cart update

**Tests**

Add an integration tests to validate that the items includes the totals in the order and draft order

FIXES CORE-687
2022-11-07 13:54:41 +00:00
Shahed NasserandGitHub bbf4039147 docs: redesigned announcement bar (#2559) 2022-11-07 14:13:54 +02:00
Philip KorsholmandGitHub 15d6f92964 Fix(medusa): Swaps in tax inclusive regions (#2557)
**What**
- Ensure that swaps can be created for orders with discounts in tax inclusive regions

**How**
- Retrieve cart with discounts and region before creating adjustments for line items in cart. 
  - In `discountService.calculateDiscountForLineItem` we used the method `totalsService.getLineItemTotals` if a line-item is tax inclusive. This method uses some fields from the cart that aren't populated on cart creation (such a `items` which caused the original error).

**Testing**
- add integration test `swaps > tax inclusive > "Complete swap flow with discount"` that creates a swap in the following environment
  - tax inclusive region 
  - tax inclusive line item to be swapped
  - fixed type discount with allocation: total

Fixes CORE-748
2022-11-07 10:47:26 +00:00
Philip KorsholmandGitHub 434b11af46 Fix(medusa): make shipping option requirements tax inclusive if the shipping option is (#2544)
**What**
- validate shipping option requirements including tax if the shipping option is tax inclusive

**Testing**
- " given a cart with total above min-threshold and subtotal below min-threshold shipping option with tax inclusive pricing is available and can be applied"
- "given a cart with total above max-threshold and subtotal below max-threshold shipping option with tax inclusive pricing is not available"

Fixes CORE-752
2022-11-04 14:04:07 +00:00
Shahed NasserandGitHub f7126fc9e1 docs: added meta image (#2550) 2022-11-04 15:42:43 +02:00
Shahed NasserandGitHub 2cf26d7071 docs: added robots.txt file (#2549) 2022-11-04 15:11:52 +02:00
Shahed NasserandGitHub 5cc8f26aae docs: added opengraph image (#2547)
* docs: added opengraph image

* re-ran install
2022-11-04 14:50:42 +02:00
olivermrbl a68af8a474 chore: Update lockfile 2022-11-04 13:32:23 +01:00
olivermrbl a3873b47f0 Merge branch 'master' into develop 2022-11-04 11:40:46 +01:00
olivermrbl 4542906619 chore(release): Publish 2022-11-04 11:37:56 +01:00