Commit Graph

5280 Commits

Author SHA1 Message Date
Shahed Nasser
9cbe0085d0 feat(create-medusa-app): remove admin email prompt (#7417)
* feat(create-medusa-app): remove admin email prompt

* change to constant
2024-05-23 12:23:45 +03:00
Oli Juhl
b0209e1114 fix: Navigate to orders on signin (#7415) 2024-05-23 10:11:25 +02:00
Kasper Fabricius Kristensen
ccf335fcf4 fix(dashboard): settings navigation loop (#7412)
* fix: settings navigation loop

* fix comment
2024-05-23 10:07:10 +02:00
Shahed Nasser
6f1b90f207 fix(dashboard): fixes to strings (#7411)
* fix(dashboard): fix the text of manage areas

* add missing string

* add missing react import
2024-05-23 11:07:01 +03:00
Oli Juhl
9a10adfd91 fix: Remove log for read only links (#7410) 2024-05-22 22:36:23 +02:00
Oli Juhl
4ee47cf9b1 fix: Accept invite in admin (#7393)
* fix: Accept invite in admin

* fix: Accept invite in admin

* minor fix
2024-05-22 21:40:38 +02:00
Shahed Nasser
bb5872de48 fix(dashboard): fix reservation's button text + documentation links (#7405)
* fix(dashboard): fix reservation's button text

* change documentation links
2024-05-22 18:39:19 +03:00
Harminder Virk
965a50d483 fix: Commands loading entrypoints (#7404)
* fix: enable worker mode when executing user and migrate commands

* refactor: do not enable worker mode for migrate command

* refactor: auto detect is application is using ts-node

* refactor: remove directories node from config

* style: update comments next to enabling worker mode
2024-05-22 19:31:13 +05:30
Oli Juhl
c198e2329c chore: Change default log level (#7402) 2024-05-22 15:16:45 +02:00
Carlos R. L. Rodrigues
e760dbc953 fix(link-modules): fix warn on readonly links (#7403) 2024-05-22 13:07:30 +00:00
Shahed Nasser
5e0f98f578 fix(admin-sdk): error when admin needs build (#7401)
Fix the error shown when admin is not built instructing the user to run the `build` command.
2024-05-22 13:02:24 +00:00
Shahed Nasser
24a2ab754a fix(create-medusa-app): fix seed step to use seed script in package.json (#7397)
Fix the seed step to use the `seed` script defined in `package.json` to avoid issues if the file is renamed or path is changed
2024-05-22 11:41:45 +00:00
Shahed Nasser
6ab7cbd529 chore: fixes to ConfigModule's docblocks (#7390) 2024-05-22 13:40:53 +03:00
Shahed Nasser
6fa23a2695 feat(medusa): add error handling to exec script (#7394) 2024-05-22 12:39:34 +02:00
Shahed Nasser
154673f3d8 docs: fixes and changes based on latest updates (#7322)
* docs: changes based on DX changes

* remove fields no longer needed

* remove unnecessary parameters

* fixes to authenticate middleware usage

* add highlight to migrations config

* change configuration to http

* added missing remote link docs

* fix name in sidebar

* added notification module docs + updated file module docs

* add vale exceptions

* fix vale errors

* added docs on custom cli scripts
2024-05-22 13:37:48 +03:00
Harminder Virk
ff5d573887 refactor: register plugin routes before the Medusa core routes (#7395) 2024-05-22 15:34:53 +05:30
Shahed Nasser
2187b82d5d fix(core-flows,types): general fixes to workflow types (#7392) 2024-05-22 11:27:12 +02:00
Stevche Radevski
5ede560f70 feat(auth): Revamp authentication setup (#7387)
* chore: Clean up authentication middlewares

* chore: Rename AuthUser to AuthIdentity

* feat: Define link between user, customer, and auth identity

* feat: Use links for auth, update auth context content

* fix: Adjust user create command with new auth setup

* fix: Make auth login more dynamic, review fixes

* fix: Change test assertions for created by
2024-05-22 10:27:32 +02:00
Frane Polić
b7df447682 fix(core-flows): set SalesChannels on Product update (#7272) 2024-05-21 21:48:34 +02:00
Shahed Nasser
e443a7be3f feat(create-medusa-app): install v2 by default (#7381)
- Remove `v2` option and install V2 starter branch by default.
- Use new `exec` command to seed data
- Install v2 branch of next.js starter if the option is provided.
- Change the opened browser to `localhost:9000/app`.
- Added a bunch of todos for onboarding flows once we have that
2024-05-21 19:45:43 +00:00
Shahed Nasser
1f43290cec feat(medusa-cli): added branch option (#7384) 2024-05-21 21:17:01 +02:00
Adrien de Peretti
c4fde7ea5c feat(core-flows, fulfillment): Add create return specific method and add more tests (#7357)
* feat(core-flows, fulfillment): Add create return specific method and add more tests

* fix defautl providers in tests fixtures

* more tests

* wip fixes

* fix flow and tests

* cleanup
2024-05-21 13:48:59 +02:00
Stevche Radevski
35dc3c5cf7 fix: Minor HTTP typing fixes (#7380) 2024-05-21 12:16:08 +02:00
Riqwan Thamir
43613f3f58 chore: pick the default store region (#7369)
* chore: pick the default store region

* chore: fix test

* chore: remove from defaults workflow and move to seeds

* chore: undo payment provider change

* chore: rearrange conditionals
2024-05-21 12:05:01 +02:00
Harminder Virk
3dbb256ddf load resources from starter kit and introduce srcDir configuration 2024-05-21 15:02:53 +05:30
Shahed Nasser
73c917fdce feat(medusa,medusa-cli): add an exec command (#7376) 2024-05-21 10:56:44 +02:00
Riqwan Thamir
442b0b2038 chore: rename route from api-v2 to api (#7379)
* chore: rename route from api-v2 to api

* chore: change oas references

* chore: remove v2 ref
2024-05-21 10:44:02 +02:00
Stevche Radevski
e72174c4ff fix: Minor updates to the http typings (#7378) 2024-05-21 10:19:35 +02:00
Stevche Radevski
2371626198 feat(sdk): Type all store endpoints in the SDK (#7375)
The typings will need further refinement, but we can do that once closer to a public release
2024-05-20 19:41:58 +00:00
Carlos R. L. Rodrigues
f57dc98c7a chore(order): Paid Total and Refunded Total (#7373) 2024-05-20 15:48:57 -03:00
Stevche Radevski
025536e2a5 feat(sdk): Replace region calls with the SDK in admin, apply typings … (#7371) 2024-05-20 14:47:31 +00:00
Frane Polić
521b4e7926 feat(dashboard): order fulfillment UI (#7262)
* feat: initial impl. of Unfulfilled section and create flow

* feat: create fulfillment

* feat: order <> fulfillment link, fulfillment section

* feat: accept order_id when creating fulfillment

* feat: finish create and cancel

* fix: integration test

* refactor: real Order<>Fulfillment link instead readonly, add link step to the workflow

* fix: revert `order_id` definitions

* chore: add changeset

* fix: build

* fix: address comments

* fix: fetch inventory and location levels for fulfilled variant

* fix: loading inventory details

* add isList to order fulfillment link

* fix: duplicate declaration

* fix: type

* refactor: link orders step, fix client

* fix: move translations to the new file

* fix: pass order id in test

---------

Co-authored-by: olivermrbl <oliver@mrbltech.com>
2024-05-20 13:41:09 +02:00
Oli Juhl
c9bffdfecb feat: expose backend url in admin options (#7370) 2024-05-20 11:24:15 +02:00
Stevche Radevski
028f63eb63 feat: Add missing typings for the http layer and cleanup some (#7260) 2024-05-20 09:27:21 +02:00
Shahed Nasser
cd312287f5 docs-util: add type argument of MedusaRequest as query parameter for get requests (#7359) 2024-05-20 09:51:37 +03:00
Shahed Nasser
5d4bf83145 docs: fix code block highlighting for lines starting with spaces (#7356) 2024-05-20 09:49:52 +03:00
Carlos R. L. Rodrigues
48aa09be23 Chore(order): endpoints - Part 1:N (#7360) 2024-05-19 14:51:08 -03:00
olivermrbl
0d0c0b4329 chore: Update preview release changeset 2024-05-19 14:16:26 +02:00
Oli Juhl
c0813a3547 fix: undefined BACKEND_URL in client (#7367) 2024-05-19 13:51:36 +02:00
Oli Juhl
bf4724b8e6 feat: Destroy session + introduce http config (#7336) 2024-05-19 12:40:28 +02:00
Frane Polić
ce75755ac6 feat(dashboard): manage groups from customer details (#7346) 2024-05-19 11:10:13 +02:00
Stevche Radevski
05e42bc6fc feat: Add back the subscribers API and load v2 subscribers (#7358) 2024-05-17 15:37:56 +00:00
Stevche Radevski
00a37cede1 feat: Add support for authentication to the sdk, and plug it in the admin (#7349)
* feat: Add support for authentication to the sdk, and plug it in the admin

* fix: await fetch before returning in sdk
2024-05-17 14:37:38 +02:00
Harminder Virk
ff337498a0 Merge pull request #7348 from medusajs/fix/2152
Fix issue related to removing last product from the collection
2024-05-17 15:47:37 +05:30
Harminder Virk
cf15f5d498 refactor: use flatMap 2024-05-17 15:31:50 +05:30
Harminder Virk
72718101c6 Merge branch 'develop' into fix/2152 2024-05-17 14:43:21 +05:30
Harminder Virk
72f98ea50b refactor: implement query suggestions from Adrien 2024-05-17 14:42:57 +05:30
Frane Polić
df8f4169e5 fix(dashboard): variants list query key (#7354) 2024-05-17 10:18:36 +02:00
Harminder Virk
9ff3b08b0b Merge branch 'develop' into fix/2152 2024-05-17 13:24:39 +05:30
Harminder Virk
1abf9f19b3 test: increase notification module tests timeout 2024-05-17 13:10:35 +05:30