Commit Graph

7721 Commits

Author SHA1 Message Date
github-actions[bot] 34cd5b3f81 chore(docs): Updated UI Reference (automated) (#11393)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-02-11 11:56:10 +00:00
github-actions[bot] f22c5fa6af chore(docs): Generated DML JSON files (automated) (#11394)
* chore(docs): Generated DML JSON files (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-02-11 13:40:36 +02:00
github-actions[bot] 43180c1116 chore(docs): Update version in documentation (automated) (#11392)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-02-11 13:36:46 +02:00
Shahed Nasser 615b6f107e docs: document payment changes + account holder (#11242)
* docs: document payment changes + account holder

* added version
2025-02-11 13:27:10 +02:00
Shahed Nasser 320d84d191 docs: update default for medusa start (#11391)
* docs: update default NODE_ENV

* fix

* fix
2025-02-11 13:26:48 +02:00
olivermrbl 3c25aec006 chore: Release 2025-02-11 12:03:20 +01:00
olivermrbl 682dcf6507 chore: Version packages 2025-02-11 12:00:43 +01:00
Oli Juhl db03738b5f chore: Revert version range to ^ (#11390) 2025-02-11 11:35:25 +01:00
olivermrbl d3bf59bb7a chore: Add missing changeset for payment module 2025-02-11 10:11:53 +01:00
Riqwan Thamir cf788ec49e chore(types,framework): pick ssl types from tls lib (#11381)
* chore(types,framework): pick ssl types from tls lib

* chore: call from node:tls directly
2025-02-11 09:52:33 +01:00
Harminder Virk 244cd714b2 fix: add foreign keys to the generated query types output (#11388) 2025-02-11 14:16:10 +05:30
Shahed Nasser eb74167261 docs: fix path to modules in plugin (#11387) 2025-02-11 10:12:52 +02:00
Shahed Nasser 1e7c072efa docs: fix some index.html.md links resulting 404 (#11379) 2025-02-10 12:54:17 +02:00
Paul Nodet 3f6425bada fix(ui): add missing use client directives (#11368)
Fix #11367
2025-02-10 09:07:53 +00:00
Frane Polić 17e9673769 fix(core-flows): variants update unsets prices (#11349)
* fix: update variant flow for prices

* fix: import add test

* fix: test name
2025-02-10 09:13:47 +01:00
Ishrath Inaam 8f384d91df docs: fix typo in installation page.mdx (#11372) 2025-02-10 08:05:54 +00:00
Stevche Radevski 702d338284 fix: Minor fixes and cleanup to the payments setup (#11356)
This PR adds a couple new statuses to the payment collection and payment webhook results. The payment collection will now be marked as "completed" once the captured amount is the full amount of the payment collection.

There are several things left to improve the payment setup, so non-happy-path cases are handled correctly.
1. Currently the payment session and payment models serve a very similar purpose. Part of the information is found on one, and the other part on the other model, without any clear reason for doing so. We can simplify the payment module and the data models simply by merging the two.
2. We need to handle failures more gracefully, such as setting the payment session status to failed when such a webhook comes in.
3. We should convert the payment collection status and the different amounts to calculated fields from the payment session, captures, and refunds, as they can easily be a source of inconsistencies.
2025-02-09 15:42:02 +00:00
Kasper Fabricius Kristensen 3dbef519d9 fix(admin-vite-plugin,icons,ui,dashboard): Upgrade vitest in all packages and align Vite version (#11361) 2025-02-09 11:46:50 +01:00
Kasper Fabricius Kristensen d00825485f feat(ui,dashboard): Move Divider component to UI package (#11357) 2025-02-09 11:46:30 +01:00
Kasper Fabricius Kristensen acefcd7d80 fix(core-flows): Fix broken import of MedusaError (#11362) 2025-02-07 16:17:52 +00:00
Shahed Nasser cb0f065c9d fix(utils): add static identifier to AbstractNotificationProviderService (#11344) 2025-02-07 17:30:08 +02:00
Frane Polić d58c056c53 fix:(dashboard) pending difference rounding on order details page (#11336)
**Why**
- if pending difference is lass then the rounding threshold for currency the page would show for example "Refund -0.00$"

**What**
- example: hide the refund button if the pending difference in USD is -0.004
- example: show refund button if pending difference on USD is -0.007

---

CLOSES SUP-811
CLOSES https://github.com/medusajs/medusa/issues/11331
2025-02-07 15:24:43 +00:00
Kasper Fabricius Kristensen fcd3e2226e feat(ui,dashboard): Migrate SC tables to DataTable (#11106) 2025-02-07 14:26:49 +00:00
Shahed Nasser d588073cea docs: add help dropdown (#11364) 2025-02-07 15:41:03 +02:00
Shahed Nasser e04c1889bd docs: added authentication in integration tests (#11363) 2025-02-07 14:51:27 +02:00
Shahed Nasser 5c44811cb0 docs: document module providers in plugins (#11360)
* docs: document module providers in plugins

* small fixes

* add missing title
2025-02-07 14:17:14 +02:00
Shahed Nasser acc1e8e262 docs: update intro of custom item price (#11358)
* docs: update intro of custom item price guide

* small change
2025-02-07 12:41:19 +02:00
Shahed Nasser 3a6818e3c4 docs: generate OAS after cart promotion fixes (#11351) 2025-02-07 10:12:09 +02:00
Kasper Fabricius Kristensen 211997b137 fix(dashboard): Remove wrongful import of utils function (#11338)
Resolves SUP-819
2025-02-06 17:14:50 +00:00
Frane Polić 34e7fdafd2 fix(test): update flaky fulfillment test (#11312)
* fix: fulfillment test

* fix: missing option ids
2025-02-06 17:57:07 +01:00
Kasper Fabricius Kristensen f13c1215cb fix(cli): If NODE_ENV is not defined then default to production for medusa start (#11325)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-02-06 17:56:29 +01:00
Kasper Fabricius Kristensen 7d208afb07 fix(dashboard): Ensure conditional prices are assigned to region (#11335) 2025-02-06 16:55:11 +01:00
Shahed Nasser 073eb15d11 docs: update llms.txt (#11347) 2025-02-06 17:39:06 +02:00
Stevche Radevski 9e7069cdf4 chore: Remove unused payment method token model (#11342) 2025-02-06 14:57:56 +01:00
Shahed Nasser 7d0ba7037b docs: add railway troubleshooting for host (#11346) 2025-02-06 15:54:54 +02:00
Shahed Nasser d7342c6f82 chore(types): add TSDocs for retentionTime (#11345) 2025-02-06 15:22:32 +02:00
Shahed Nasser ccb332ce41 docs: fix empty return in references (#11343) 2025-02-06 14:35:45 +02:00
Shahed Nasser 0aa84fc371 docs: added custom item price guide (#11240)
* added examples sidebar

* added guide

* fixes

* add meta image

* update intro
2025-02-06 13:29:05 +02:00
Adrien de Peretti a33aebd895 feat(index): full sync operations (#11178)
Closes: FRMW-2892, FRMW-2893

**What**
Wired up the building block that we merged previously in order to manage data synchronization. The flow is as follow
- On application start
  - Build schema object representation from configuration
  - Check configuration changes
    - if new entities configured
      - Data synchronizer initialize orchestrator and start sync
        - for each entity
          - acquire lock
          - mark existing data as staled
          - sync all data by batch
          - marked them not staled anymore
          - acknowledge each processed batch and renew lock
          - update metadata with last synced cursor for entity X
          - release lock
      - remove all remaining staled data
    - if any entities removed from last configuration
      - remove the index data and relations

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-02-05 16:49:18 +00:00
Shahed Nasser 60f46e07fd docs: add ui to llms-full.txt (#11328) 2025-02-05 18:22:35 +02:00
Shahed Nasser db2aa58542 docs: update text in LLM editors section (#11329) 2025-02-05 18:22:14 +02:00
Shahed Nasser a655b49a7d docs: fix appending index.html.md to api reference links (#11327)
* docs: fix appending index.html.md to api reference links

* make hash in api reference lower case
2025-02-05 17:29:07 +02:00
Shahed Nasser bc53716d8d docs: clarify steps for medusa build (#11324) 2025-02-05 17:11:43 +02:00
Frane Polić 742babfe3f fix(core-flows): shipping profile update (#11322)
**What**
- prevent unsetting shipping profile on product update
2025-02-05 14:37:43 +00:00
Shahed Nasser 5f7ff7f9f0 docs: add generator for llms-full.txt (#11323)
* initial

* improvements

* finished implementation

* transform links to index.html.md links

* fix for resources
2025-02-05 16:34:39 +02:00
Shahed Nasser da25980d24 chore(core-flows): update the TSDocs of new steps (#11315) 2025-02-05 16:20:23 +02:00
Kasper Fabricius Kristensen 6db96c80d0 fix(ui,types): Add Metadata form for collection (#11300)
**What**
- Adds missing Metadata form for collections
- Fixes type of metadata in update payload
- Fixes an issue where deleting the last row of a metadata form would prevent adding new ones.

Resolves SUP-784
2025-02-05 12:53:30 +00:00
Shahed Nasser 4be327819f chore(types): add @version to new payment provider methods (#11316) 2025-02-05 12:51:08 +02:00
Shahed Nasser 9f1a3b2a42 fix(medusa, types): fix promotion HTTP types in cart (#11304) 2025-02-05 12:31:24 +02:00
Shahed Nasser d348204fe5 docs: document admin environment variables (#11313) 2025-02-05 11:47:07 +02:00