Commit Graph

5803 Commits

Author SHA1 Message Date
Shahed Nasser 8f97af0d91 docs: update config to be camel case (#7501) 2024-05-28 15:52:03 +03:00
Harminder Virk 82be054a1a chore: Rename config properties to camelCase (#7498)
* refactor: rename config types to camelCase

* refactor: update config references to use renamed options

* refactor: update more references

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-05-28 14:49:29 +02:00
Stevche Radevski e60b4bafe1 feat: Add google authentication package, cleanup old code (#7496) 2024-05-28 14:25:40 +02:00
Frane Polić 6117af2704 feat(dashboard): restructure create product flow (#7374) 2024-05-28 13:59:02 +02:00
Kasper Fabricius Kristensen 76ec10f375 feat(dashboard): Add campaign InjectionZones (#7494) 2024-05-28 11:40:53 +00:00
Harminder Virk 6fa364d728 ci: remove unsupported scripts-prepend-node-path command (#7499) 2024-05-28 13:36:49 +02:00
Shahed Nasser 65be42c818 docs: add integrations page (#7421)
* add integrations page

* update payment provider docs

* use stripe icon
2024-05-28 13:25:03 +03:00
Oli Juhl c9de1d28a4 feat: Assign store default sales channel in cart creation (#7495) 2024-05-28 12:12:01 +02:00
Harminder Virk ef6d748784 feat: add Filesystem util and load env util (#7487) 2024-05-28 15:31:13 +05:30
Kasper Fabricius Kristensen 164bb988e7 fix(dashboard): Make Region header h1 (#7485)
Closes CORE-2113
2024-05-28 08:56:08 +00:00
Stevche Radevski fb16ef485c fix: Use the correct header for publishable key (#7492) 2024-05-28 08:32:42 +00:00
Shahed Nasser f8252b3d27 chore(medusa): pin @swc/core version to 1.5.7 (#7490) 2024-05-28 09:35:32 +02:00
Shahed Nasser 223b3978b2 docs: fix data payload of events in subscribers (#7406) 2024-05-28 09:24:40 +02:00
Kasper Fabricius Kristensen 9d3c7829bc fix(dashboard): Styling of dashed divider (#7483) 2024-05-28 08:48:26 +02:00
Riqwan Thamir 916f0cb6d0 fix(dashboard): Set default tax region as parent if no province is chosen (#7484)
* chore: allow tax region to be optional if no province is chosen

* chore: fallback region
2024-05-28 08:48:00 +02:00
Frane Polić 582c9c9acf fix: api key details section (#7488) 2024-05-28 08:45:34 +02:00
Oli Juhl ad21bd30b1 fix: errors thrown in transformer (#7480)
* chore: wup

* throw on error

* add back test

---------

Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
2024-05-28 08:44:33 +02:00
Kasper Fabricius Kristensen 2f20dbd50d fix(ui): Add checked style to RadioGroup.ChoiceBox (#7479)
<img width="362" alt="image" src="https://github.com/medusajs/medusa/assets/45367945/441ffdb3-557e-4eea-9fc0-b09a7a9e9d4a">

**What**
- Adds checked active shadow to component
- Cleans up usage of component in promotion domain

CLOSES CORE-2101, CORE-2075
2024-05-27 21:00:24 +00:00
Kasper Fabricius Kristensen 729c34b016 fix(dashboard): Users list styling (#7482)
CLOSES CORE-2109
2024-05-27 20:28:24 +00:00
Kasper Fabricius Kristensen e7091cfbb7 fix(dashboard): Profile styling (#7481) 2024-05-27 22:11:54 +02:00
Kasper Fabricius Kristensen 2efa016c6e feat(dashboard,admin-shared): Last injection zones (#7478)
* add reservations

* add final injection zones
2024-05-27 19:38:26 +02:00
Adrien de Peretti d2b5768c02 feat: re integrate transform middleware lost files and features (#7477)
**What**
Re integrate the transform query tests + missing features. It was originally mistekenly removed from one the team pr, also, I have adjusted the API and tests

**NOTE**
It does not include a full clean up of the typings and the backward compatibility remains for now
2024-05-27 16:36:53 +00:00
Shahed Nasser 7b059562d7 fix(core-flows): change default currency to eur (#7476) 2024-05-27 19:23:38 +03:00
Kasper Fabricius Kristensen eeb063ebdf fix(types): Export DetailWidgetProps (#7469)
* rename folder to ui, as admin breaks paths in integration tests for some reason

* rename to admin
2024-05-27 18:20:40 +02:00
Riqwan Thamir 7baedf73d5 feat(core-flows,types,utils,medusa): Update existing line items when adding the same variant to cart (#7470)
* feat(core-flows,types,utils,medusa): Update existing line items when adding the same variant to cart

* chore: split steps into 2 for add-to-cart

* chore: split steps into 2 for add-to-cart

* chore: iterate safely

* chore: parallelize upsert
2024-05-27 17:54:11 +02:00
Kasper Fabricius Kristensen 81c27e3524 feat(dashboard,admin-shared): InjectionZones for Profile, Store, Users and Login (#7471) 2024-05-27 15:45:51 +00:00
Adrien de Peretti 45bcdfec17 fix: Listening events (#7474)
* fix: Listening events

* cleanup
2024-05-27 15:31:57 +02:00
Stevche Radevski 10ef32c5a3 feat: Apply authentication middleware globally (#7396)
* feat: Apply auth middleware globally

* feat: Remove local auth middleware where it makes sense
2024-05-27 15:24:53 +02:00
Carlos R. L. Rodrigues 62ef82f497 feat(order): fulfillment workflow (#7385)
FIXES: CORE-2162 CORE-2167 CORE-2041
2024-05-27 12:49:33 +00:00
Shahed Nasser 639758ffec chore(create-medusa-app): remove .github directory (#7473)
As we're adding some actions to the starter, it doesn't make sense to keep them in the cloned projects with `create-medusa-app`. This PR removes the `.github` directory from the project after cloning it
2024-05-27 12:43:49 +00:00
Shahed Nasser 98615c388b docs-util: fixes to base OAS + circular-patch redocly plugin (#7382)
* docs-util: remove MultipleErrors schema from base OAS

* fixes to circular patch plugin

* general fixes

* change nested schemas to references
2024-05-27 14:29:48 +02:00
Shahed Nasser b5b41c7a33 chore: remove duplicate package in changeset (#7472)
Remove `@medusajs/ui` from the preview changeset because it's added twice which causing an error in the release pipeline
2024-05-27 14:29:03 +02:00
Adrien de Peretti e275e01d85 chore: Cleanup medusa test utils (#7464)
* chore: Cleanup medusa test utils

* update yarn

* cleanup

* fix key

* cleanup

* fixes

* fixes

* fixes

* fixes

* fix runners

* fix bootstrap

* naming

* Improve runners options

* Improve runners options

* Improve runners options

* cleanup

* fix tests
2024-05-27 14:14:32 +02:00
Kasper Fabricius Kristensen ab2e8fcd45 feat(dashboard,ui,types,admin-shared): Add more extension zones + pass data to widgets (#7465) 2024-05-27 12:47:12 +02:00
Kasper Fabricius Kristensen 0b0e210f67 feat(dashboard,admin-shared): Add injection zones to regions, shipping profiles, and locations (#7467) 2024-05-27 12:46:58 +02:00
Oli Juhl ebc4215f16 fix: Change num_code column from int to varchar (#7463) 2024-05-27 10:28:07 +02:00
Adrien de Peretti b8bc3ed16f chore: Start cleaning up medusa-core-utils (#7450)
**What**
- remove medusa-core-utils
- dispatch the utils where they belongs
- update usage

**NOTE**
I have been wondering if the graceful class should go into the utils package or medusa package, I ve put it in the medusa package as it seems to be the best place I can see for now and is tight to the server as well. Also, I wanted to avoid the utils package to depends on http and net dependencies, happy to change that if you feel like it
2024-05-27 08:00:15 +00:00
Stevche Radevski 28a3f9a3df feat: Add list cart option typings, make region optional on update cart (#7455) 2024-05-27 09:37:10 +02:00
Oli Juhl 3b93bc9f55 chore: Remove babel package from changeset (#7462) 2024-05-26 21:17:56 +02:00
Kasper Fabricius Kristensen b4a02413e2 feat(dashboard,admin-shared): Add more injection zones (orders, collections, categories) (#7447)
* add more injection zones

* fix position
2024-05-26 20:30:20 +02:00
Adrien de Peretti f585b13c96 chore: remove babel usage (#7452) 2024-05-24 20:51:12 +02:00
Stevche Radevski 8acba7aba6 feat: Add customer address methods to sdk (#7445) 2024-05-24 19:01:11 +02:00
Muhammad Naimul Islam 2b55208c1c docs: fix component title and description in alert.mdx (#7435)
- Removed the incorrect title and description from the Alert component page
- Added new title and description for the Alert component page
2024-05-24 15:55:42 +00:00
Harminder Virk ba66ab8d56 Update teams.yml (#7451) 2024-05-24 20:37:13 +05:30
Adrien de Peretti 77d72c5791 fix(customer): Unique constraint on customer email (#7439)
**What**
Prevent creating multiple customers with the same email
2024-05-24 14:20:54 +00:00
Kasper Fabricius Kristensen 066fd3c3d2 feat(dashboard): Add more injection zones (customer, customer groups) (#7448) 2024-05-24 14:19:33 +00:00
Adrien de Peretti d354b253d5 chore: Fixes somes command and migrate to ts (#7444)
**What**
Fix some commands that are using the loaders return unproperly and cleanup, also includes a migration to ts
2024-05-24 14:17:58 +00:00
Shahed Nasser 7390821da5 fix(link-modules): move readonly link to readonly directory (#7446) 2024-05-24 16:32:25 +03:00
Adrien de Peretti fff1b3ef9c chore(medusa, workflows-sdk): Workflow default to throw the first error (#7442)
**What**
Currently when a workflow fail it will throw an error which contains the messages of all error thrown durring the workflow lifetime. Therefore, in our cases we are always preventing workflow to throw and grab the first error that we then re throw.
This pr eliminate that need by throwing back the first error among the error thrown by a workflow as it is the main case. In case someone need a special handling they can still set the option throwOnError to false and handle the error the way they need
2024-05-24 12:55:05 +00:00
Adrien de Peretti 16651f9849 chore(medusa): Loader shutdown fixes (#7443)
**What**
prepare shutdown was called after modules shutdown
2024-05-24 12:38:37 +00:00