Commit Graph

7890 Commits

Author SHA1 Message Date
Shahed Nasser
a4fd39e371 initial 2025-03-04 17:33:12 +02:00
Shahed Nasser
07e39609d9 docs: open prerequisite links in new tab (#11701) 2025-03-04 09:05:38 +02:00
Ismail Sabet
a39830e269 docs: fix Sanity example (#11697) 2025-03-04 07:04:53 +00:00
Sai-Santhan-Dodda
783f96439a docs: Added a missing "/" (#11696) 2025-03-04 07:01:13 +00:00
Frane Polić
e23f204b7c fix(dashboard, core-flows, medusa): prevent creation of empty fulfillments (#11664) 2025-03-03 16:54:20 +00:00
Shahed Nasser
40a9cffb34 docs: add more clarification to reset password in API reference (#11695) 2025-03-03 18:09:03 +02:00
Shahed Nasser
92514885e4 docs: add section on row click in DataTable (#11694)
* docs: add section on row click in DataTable

* update subscriptions example
2025-03-03 18:08:06 +02:00
Riqwan Thamir
ab96ad3b82 feat(utils): add error message when manager is not found in context (#11693) 2025-03-03 15:50:34 +01:00
Kasper Fabricius Kristensen
c28ae573e5 fix(dashboard): Use derived state in DataTable (#11487)
**What**
- Uses derived state in DataTable, to prevent the state in the URL and component from going out of sync.
- Introduces a way for RouteModals to restore URL params on close.

Resolves CMRC-936
2025-03-03 14:18:19 +00:00
Riqwan Thamir
51b0af193c fix(types,medusa): calculate taxes for original price (#11692) 2025-03-03 14:20:48 +01:00
Riqwan Thamir
954136f13a fix(dashboard): bust variant inventory cache on inventory update (#11690) 2025-03-03 12:53:34 +01:00
Frane Polić
7465604ae5 fix(dashboard): variant inventory section (#11669)
**What**
- fix fetching data need to display the info properly
- display condition

---

CLOES SUP-996
2025-03-03 10:46:10 +00:00
Shahed Nasser
82bcdc6271 docs: fix examples in workflows reference (#11688) 2025-03-03 12:20:40 +02:00
Shahed Nasser
61a0e4f3cf chore(workflows-sdk): fix examples in TSDocs (#11689) 2025-03-03 12:20:21 +02:00
Adrien de Peretti
d1efad9bf0 chore(): Improve cart update line items (#11666)
**What**
Currently, we are potentially providing an array of selector/data leading to fetching data sequentially before running on update which will fetch data again in batch and perform the update. Now we can pass the data directly which includes the id already and only perform one bulk fetch + one bulk update.

This pr also include a fix on the inventory validation, currently, only the item to update inventory is being checked, with this pr we also check the inventory for the items that needs to be created
2025-03-03 10:06:40 +00:00
Furman
39597b6b52 Add missing translations & change some badly translated (#11670) 2025-03-03 09:08:44 +01:00
Shahed Nasser
358400c38c docs: fix weird scroll behavior (#11668) 2025-02-28 17:34:22 +02:00
Frane Polić
bdf9723239 fix(dashboard): filter outbound shipping options in RMA (#11629)
**What**
- filter out return shipping options for Claims/Exchanges
- fix the incorrect display of "missing inventory" warning

---

CLOSES CMRC-946
CLOSES CMRC-947
2025-02-28 14:55:35 +00:00
Shahed Nasser
bf67f69f45 docs: move edit date to footer (#11667)
* docs: move edit date to footer

* fix build error
2025-02-28 16:27:42 +02:00
Adrien de Peretti
228b7b608d Chore/link module serialization (#11643) 2025-02-28 09:19:21 -03:00
Frane Polić
c50487ccab fix(core-flows): return created order return from workflow (#11642)
* fix: return created order return from workflow

* fix: type

* fix: middeware export
2025-02-28 10:15:13 +01:00
Frane Polić
4b7c6d7dd9 fix(dashboard): few admin bug fixes (#11655)
**What**
- OE id bug
- prevent canceling shipped/delivered fulfillment

---

CLOSES CMRC-935
CLOSES CMRC-938
2025-02-28 09:13:47 +00:00
Frane Polić
de0798dbed fix(dashboard): display CG in PL configuration details (#11653)
CLOSES CMRC-966
2025-02-28 09:12:45 +00:00
Roelof Kallenkoot
f55211c30e docs: typo on homePage codeTabs notificationModuleService (#11658)
**What - what changes are in this PR**
Typo on the homepage in the codeTabs

**Why - why are these changes relevant**
Simple typo that might be bothering more people than just me!

**How - how have the changes been implemented**
Fixed the typo from: `notificaitonModuleService` to `notificationModuleService`

**Testing - how has the changes been tested or how can the reviewer test the feature**
Should be simple enough not to require full testing locally!
2025-02-28 07:57:35 +00:00
Stevche Radevski
93dc10332d fix: Exclude the health endpoint from being logged (#11650) 2025-02-27 16:22:50 +01:00
Shahed Nasser
d9b2a73b44 docs: update subscriptions recipe with stripe payment (#11651)
* docs: update subscriptions recipe with stripe payment

* small change

* fix vale error
2025-02-27 16:52:56 +02:00
Frane Polić
12cf24a0de fix(medusa): deleting location level (#11630)
* fix: deleting inventory level

* refactor: use query
2025-02-27 14:07:33 +01:00
Adrien de Peretti
c250de7919 chore(): Prevent sub workflow events release early + redis unlink (#11641)
**What**
- Prevent event release when a workflow is run as step and finish
- Use `unlink` instead of `del` when removing keys from redist to push the execution to async thread
2025-02-27 10:33:30 +00:00
Adrien de Peretti
ca6a15717d chore(): Add support for extra pool configuration (#11636)
**What**
Support more pool configuration
2025-02-27 10:33:08 +00:00
Shahed Nasser
d493347980 docs: fix meta assets of user guide (#11639) 2025-02-27 12:07:18 +02:00
Harminder Virk
b0a16488e0 feat: add middleware-file-loader (#11638)
Fixes: FRMW-2920

The feature is called `middleware-file-loader`, because it does more than just collecting middlewares. It also collects the bodyParser config for routes
2025-02-27 09:42:29 +00:00
Frane Polić
090d15b1e4 fix(core-flows): unsafe access to a variant property (#11588)
**What**
- fix unsafe access `manage_inventory` flag if variant doesn't exist for the item

---

CLOSES https://github.com/medusajs/medusa/issues/11587
2025-02-27 07:58:47 +00:00
Riqwan Thamir
38beeb157e fix(core-flows): support 0 as a valid unit price for custom line items (#11631) 2025-02-26 19:32:35 +01:00
Adrien de Peretti
d254b2ddba chore(): Improve cascade soft deletetion/restoration and update (#11618)
**What**
- Fix soft deletion and restoration emitted events
- Improve soft deleted/restore algorithm
- Fix big number field handling null value during partial hydration from mikro orm
2025-02-26 18:01:36 +00:00
Adrien de Peretti
caf83cf78c chore: prevent workflow steps to call modules when not necessary (#11632)
**What**
Some steps were calling the modules even when nothing was needed which for some operations would create transaction for nothing leading to extra execution time that add up very quickly on cloud network

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-02-26 17:42:48 +00:00
Oli Juhl
54a6ef91ac chore: Move token from params to headers (#11281)
* chore: Move token from params to body

* chore: Add type

* wip

* chore: clean up

* clean ip
2025-02-26 17:41:16 +01:00
Shahed Nasser
4ec5219a72 docs: change question in user guide feedback form (#11628)
* docs: change question in user guide feedback form

* small changes

* small fix
2025-02-26 17:15:24 +02:00
Riqwan Thamir
a515e6e0c9 fix(promotion): scope uniqueness index to non deleted promotions (#11624)
what:

- scopes uniqueness index to only non deleted records
- explicit sorting of buy get promotions
  - This error popped up as we removed the uniqueness constraint which seems to have kept a specific order.  
  
  
RESOLVES https://github.com/medusajs/medusa/issues/11606
2025-02-26 14:25:43 +00:00
Shahed Nasser
d2d6a29a4a chore(types): improvements to tax provider tsdocs 2025-02-26 16:14:15 +02:00
Shahed Nasser
0eadcdd555 docs: updates to tax provider and other provider guides (#11626) 2025-02-26 16:13:05 +02:00
Carlos R. L. Rodrigues
65eb3aa6c8 chore(core-flows): use cart id when force_refresh is true (#11625) 2025-02-26 11:01:05 -03:00
BOUAZZA Ayyoub
93cbc6b669 Fix/add additionl data to product categories hook (#11226)
* fix: add additional_data to categoriesCreated hooks

* fix: restore yarn.lock

* fix: add additional_data param in the http validators

* fix: add additional_data to updateProductCategoriesWorkflow

* Update yarn.lock

* fix: fix merge

* fix: refert yarn.lock

* fix: revert tarn.lock

* Create clean-poets-promise.md

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2025-02-26 14:58:01 +01:00
Shahed Nasser
95eef899f7 docs: add notes + missing links for user guide (#11621)
* docs: add notes + missing links for user guide

* fix build errors

* fixes
2025-02-26 15:28:18 +02:00
Carlos R. L. Rodrigues
322d108c03 chore(core-flows): pass cart as reference to subflows (#11617) 2025-02-26 08:26:44 -03:00
Shahed Nasser
e8c953de25 docs: add new cards to recipe section (#11615) 2025-02-26 13:03:55 +02:00
Shahed Nasser
c9df82fefd docs: fix small typo (#11616) 2025-02-26 13:03:43 +02:00
Shahed Nasser
cdfa21cfb0 docs: add user guide tags + sidebar links for commerce modules (#11612)
* add tags

* docs: add tags for user guide + links in commerce modules sidebar

* generate sidebar
2025-02-26 12:08:29 +02:00
Carlos R. L. Rodrigues
fa1793e8e9 chore(core-utils): avoid overfetching to refresh cart (#11602)
What:
 * Not all Cart operations need a full refresh updating items. This PR introduces a flag to force the refresh for special ocasions, like updating the Cart's region, or transfering the Cart to another customer. For all other flows it will update only promotions, taxes and payment collection if needed.
2025-02-26 10:00:04 +00:00
Adrien de Peretti
eeebb35758 chore(product): revamp upsertWithReplace and Remove its usage from product creation (#11585)
**What**
- Move create product to use native create by structuring the data appropriately, it means no more `upsertWithReplace` being very poorly performant and got 20x better performances on staging
- Improvements in `upsertWithReplace` to still get performance boost for places that still relies on it. Mostly bulking the operations when possible

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-02-26 09:53:13 +00:00
Shahed Nasser
a35c9ed741 docs: add ERP recipe + Odoo guide (#11594)
* initial

* finish first draft

* finish odoo and erp guides

* add mention of completeCartWorkflow

* lint content

* iteration to intro

* add meta image

* small fix
2025-02-26 11:34:18 +02:00