Commit Graph
4237 Commits
Author SHA1 Message Date
Oli JuhlandGitHub c2e7940f61 fix: Validate boolean query params (#8834) 2024-08-28 13:14:15 +02:00
Oli JuhlandGitHub dbe931ab00 feat(js-sdk): Add API key (#8838)
* feat(js-sdk): Add API key

* address PR comments

* Allow params to create + update
2024-08-28 13:07:06 +02:00
Shahed NasserandGitHub 8f8e2f5a65 fix(medusa): use correct request type for create cart API route (#8820) 2024-08-28 12:16:30 +03:00
Alexander NortungandGitHub afd6fdcdf6 fix: product category types (#8833) 2024-08-28 11:13:03 +02:00
Riqwan ThamirandGitHub c72b4847b9 fix(dashboard,js-sdk): fixes from rma flows testing (#8826) 2024-08-28 10:59:36 +02:00
Riqwan ThamirandGitHub 2ee374fafc fix(order): run migration before setting not null (#8831) 2024-08-28 10:10:35 +02:00
Harminder VirkandGitHub 69c5d122b1 feature: add db:setup command (#8830) 2024-08-28 13:08:48 +05:30
Frane PolićandGitHub e0a3b8fc2e feat(dashboard): summary shipping breakdown (#8779)
**What**
- display a shipping costs breakdown in the order summary
- allow to receive only non canceled returns
- show how many items is actually received with return in the timeline

**Question**
- should we display the shipping total somewhere as well

---

CLOSES CC-356
2024-08-28 06:44:22 +00:00
a430339d54 feat(notification-sendgrid): include ability to handle attachments (#8729)
* feat(notification-sendgrid): include ability to handle attachments array if passed to dynamicTemplateData.attachments

* docs: update sendgrid page.mdx

include attachments documentation in example

* ability to set from email, must be verified sender

* docs: update to include optional from property

* first-class optional vars for from & attachments

* docs: update for optional first-class vars

* Update www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

---------

Co-authored-by: Stevche Radevski <sradevski@live.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-08-28 09:39:41 +03:00
Alexander NortungandGitHub ac18b5d35f fix(product): Add metadata to property to product category data model (#8766)
* fix: Add metadata to property to product category data model

* chore: Add migration for adding metadata column to product category

* chore: Added test for product category metadata
2024-08-27 16:21:41 +02:00
Carlos R. L. RodriguesandGitHub ff6fcfb139 fix(core-flows,order): return damaged items (#8818) 2024-08-27 11:21:10 -03:00
Shahed NasserandGitHub 0c4f4c8a11 docs: updates following authentication flow changes (#8706)
* docs: updates following authentication flow changes

* generate sidebar

* added open api specs

* fix up OAS

* changes to existing pages

* change sidebar items

* update marketplace recipe
2024-08-27 15:47:39 +03:00
Frane PolićandGitHub 9197bdd77b feat(dashboard): cancel return request (#8761)
* wip: cancel return request

* fix: refactor

* feat: correct endpoint, add hook, fix types

* feat: add prompt
2024-08-27 13:57:12 +02:00
Oli JuhlandGitHub c11ef01c15 feat: Separate registration from authentication in auth domain (#8683)
* wip

* feat: Introduce register

* fix: user command

* fix: Invite HTTP tests

* fix: Auth tests

* fix: Invite modules tests
2024-08-27 13:44:52 +02:00
Harminder VirkandGitHub 2a5ee970e6 feat: move migrations commands to the new db namespace (#8810) 2024-08-27 16:40:00 +05:30
Adrien de PerettiandGitHub b09c19912b fix(orchestration, workflow-sdk): Local workflow separated orchestrator (#8765)
FIXES TRI-174

**What**
Currently, every time a Local workflow is being instantiated, it will grab the global workflow definition including the orchestrator instance. This leads to issues when we have concurrent running workflows which all register their event listeners to this single orchestrator instance which can lead to exhausting the listerners. 
With this fix, every local workflow will have a copy of the global workflow definition plus a new instance (cloned) of the orchestrator meaning that from now on, every local workflow will have its own orchestrator.
2024-08-27 08:59:56 +00:00
2bacf86d3c chore: Remove prepublishOnly script (#8699)
* wip

* wip

* verbose logging

* remove prepublish scripts

* chore: add back prepublish scripts

* wip

* remove prepublishOnly script

* chore: Clean up rest of build scripts

* add back build script

* feedback

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-08-27 10:31:38 +02:00
Harminder VirkandGitHub 98b4c76ece feature: add sync links command (#8775) 2024-08-27 13:43:54 +05:30
Harminder VirkandGitHub 965c3c99db refactor: cleanup error output and do not add red color to help output (#8778) 2024-08-27 13:18:22 +05:30
Frane PolićandGitHub 979f7704ee fix(dashboard): summary section return fixes (#8770)
**What**
- open receive Return if only one exists
- fix double dashed divider

---

FIXES CC-287 CC-361
2024-08-27 06:53:13 +00:00
Carlos R. L. RodriguesandGitHub 571f0c7629 chore(core-flows): product events (#8769) 2024-08-26 18:38:30 -03:00
Carlos R. L. RodriguesandGitHub 3b4eea08ef chore: peer dependency version (#8771)
* fix peer dependency version

* dotenv

* commands

* dotenv cli
2024-08-26 21:55:57 +02:00
Carlos R. L. RodriguesandGitHub afd25846f0 chore: dependencies reorg (#8744) 2024-08-26 09:37:05 +00:00
Harminder VirkandGitHub 7c2cfc132a feature: add db:create command (#8760) 2024-08-26 15:04:52 +05:30
Harminder VirkandGitHub 9a508056f6 feat: add env editor utility to edit update .env files (#8741) 2024-08-25 19:31:56 +05:30
Stevche RadevskiandGitHub 57e7653adf fix: Doing update to cart with shipping options set removes them (#8752) 2024-08-25 10:46:48 +02:00
Carlos R. L. RodriguesandGitHub 12670683af fix(payment-stripe): fix rounding (#8753) 2024-08-25 10:44:51 +02:00
Riqwan ThamirandGitHub 531285c1e9 feat(dashboard,types): add active order change panel - claims, exchanges & returns (#8738)
* feat(dashboard,types): add active order change panel - claims, exchanges & returns

* Apply suggestions from code review
2024-08-23 13:24:38 +02:00
Shahed NasserandGitHub 408ed2ee45 feat(create-medusa-app): set database name to project name (#8727)
* add check and prompt for db name

* change var format

* remove log

* remove log
2024-08-23 14:17:37 +03:00
Carlos R. L. RodriguesandGitHub 058378970a chore: dependecies reorg (#8535) 2024-08-23 07:16:04 -03:00
Riqwan ThamirandGitHub 59599ac237 feat(core-flows,dashboard): adds item validations for claims, returns and exchanges (#8735)
what:

- adds item validations for claims, returns and exchanges
- prevents autofocus on item add
- reset item quantity when error
2024-08-23 09:30:27 +00:00
Frane PolićandGitHub 49353f8c3c feat(dashboard): order edit UI (#8700)
**What**
- order edit create flow
- active order edit panel

**Note**
- basic implementation of the flow, edge cases from the design such as fulfilled quantities validation will be added in a followup
2024-08-23 06:42:06 +00:00
Riqwan ThamirandGitHub 02c6574e01 fix(admin-next,types): fixes order page from breaking in admin server (#8730) 2024-08-23 08:07:04 +02:00
Stevche RadevskiandGitHub 9ba52021d0 fix: Log on error by default in async workflow executions (#8723) 2024-08-22 13:33:11 +02:00
Carlos R. L. RodriguesandGitHub 4c43122358 chore(core-flows): order edit - remove item update action (#8722) 2024-08-22 11:32:27 +00:00
Carlos R. L. RodriguesandGitHub cad6dae231 fix(core-flows): allow backorder (#8721) 2024-08-22 13:28:22 +02:00
Shahed NasserandGitHub bc74e381ad feat(utils): use dotenv-expand to allow variables within env (#8720) 2024-08-22 13:51:36 +03:00
Riqwan ThamirandGitHub 4219674ead fix: enable next actions bar when refund is available (#8719) 2024-08-22 10:02:43 +00:00
Shahed NasserandGitHub 64820cebef chore(core-flows): move cart and line item flows outside definition (#8703)
* chore(core-flows): move cart and line item flows outside definition

* remove all references of definition

* export cart and line items
2024-08-22 12:19:37 +03:00
ChristianandGitHub bb4c58d526 feat: add missing crud to provider identity service (#8717) 2024-08-22 09:39:29 +02:00
Riqwan ThamirandGitHub 335061d8cd feat(medusa,types,core-flows): apply created_by values - claims, exchanges, returns, fulfillment (#8712)
what:

- Applies created_by values - claims, exchanges, returns, fulfillment

RESOLVES CC-96
2024-08-21 18:15:55 +00:00
Riqwan ThamirandGitHub cb6cc79018 feat(fulfillment,order): add created_by fields to fulfillment, return, claim, exchange (#8711)
what: 

- add created_by fields to fulfillment, return, claim, exchange
2024-08-21 17:59:42 +00:00
Riqwan ThamirandGitHub 01583baf6d chore(order): align mikroorm <> order module (#8710)
what:

- aligns the order module migrations with mikroorm snapshot
2024-08-21 17:37:17 +00:00
Carlos R. L. RodriguesandGitHub 24377053f0 fix(types): pluralize (#8709) 2024-08-21 14:04:16 -03:00
Carlos R. L. RodriguesandGitHub 27a2dcb10d feat(core-flows): order edit request (#8705) 2024-08-21 13:59:33 -03:00
Shahed NasserandGitHub 539266559c chore: update the medusa config TSDocs + options (#8697) 2024-08-21 17:46:14 +03:00
Riqwan ThamirandGitHub a5707fd3bc feat(dashboard): add activities for order - claim, exchange, payment (#8702)
what:

- add activities for order - claim, exchange, payment

<img width="382" alt="Screenshot 2024-08-21 at 16 12 31" src="https://github.com/user-attachments/assets/56627d63-69b4-4b9c-b9db-c670fe49bfc9">


RESOLVES CC-344
2024-08-21 14:38:18 +00:00
Riqwan ThamirandGitHub de7848f68d fix(core-flows): account for unfulfilled items while generating order status (#8698)
what:

- account for unfulfilled items while generating order status

RESOLVES CC-314
2024-08-21 14:33:43 +00:00
Riqwan ThamirandGitHub 0da9445d80 fix(dashboard): bust order preview cache to reset fulfilled quantity (#8687) 2024-08-21 16:23:49 +02:00
Riqwan ThamirandGitHub a7d03ec562 feat(dashboard,core-flows): ability to refund payment post RMA flow (#8685) 2024-08-21 09:58:09 +02:00