Stevche Radevski
8a070d5d85
Revamp the authentication setup ( #7419 )
...
* feat: Add email pass authentication provider package
* feat: Revamp auth module and remove concept of scope
* feat: Revamp the auth module to be more standardized in how providers are loaded
* feat: Switch from scope to actor type for authentication
* feat: Add support for per-actor auth methods
* feat: Add emailpass auth provider by default
* fix: Add back app_metadata in auth module
2024-05-23 20:56:40 +02:00
Carlos R. L. Rodrigues
7b0cfe3b77
chore(modules-sdk): throw when failing to load module ( #7431 )
2024-05-23 16:16:36 +00:00
Riqwan Thamir
e3beaf5a29
chore: add cart links to promotions/product ( #7428 )
2024-05-23 16:54:09 +02:00
Carlos R. L. Rodrigues
e632b273b7
chore(medusa): upgrade medusa build ( #7425 )
2024-05-23 11:19:44 -03:00
Riqwan Thamir
d1d23f1e8d
feat(dashboard,medusa): Promotion Campaign fixes ( #7337 )
...
* chore(medusa): strict zod versions in workspace
* feat(dashboard): add campaign create to promotion UI
* wip
* fix(medusa): Missing middlewares export (#7289 )
* fix(docblock-generator): fix how type names created from Zod objects are inferred (#7292 )
* feat(api-ref): show schema of a tag (#7297 )
* feat: Add support for sendgrid and logger notification providers (#7290 )
* feat: Add support for sendgrid and logger notification providers
* fix: changes based on PR review
* chore: add action to automatically label docs (#7284 )
* chore: add action to automatically label docs
* removes the paths param
* docs: preparations for preview (#7267 )
* configured base paths + added development banner
* fix typelist site url
* added navbar and sidebar badges
* configure algolia filters
* remove AI assistant
* remove unused imports
* change navbar text and badge
* lint fixes
* fix build error
* add to api reference rewrites
* fix build error
* fix build errors in user-guide
* fix feedback component
* add parent title to pagination
* added breadcrumbs component
* remove user-guide links
* resolve todos
* fix details about authentication
* change documentation title
* lint content
* chore: fix bug with form reset
* chore: address reviews
* chore: fix specs
* chore: loads of FE fixes + BE adds
* chore: add more polishes + reorg files
* chore: fixes to promotions modal
* chore: cleanup
* chore: cleanup
* chore: fix build
* chore: fkix cart spec
* chore: fix module tests
* chore: fix moar tests
* wip
* chore: templates + fixes + migrate currency
* chore: fix build, add validation for max_quantity
* chore: allow removing campaigns
* chore: fix specs
* chore: scope campaigns based on currency
* remove console logs
* chore: add translations + update keys
* chore: move over filesfrom v2 to routes
* chore(dashboard): Delete old translation files (#7423 )
* feat(dashboard,admin-sdk,admin-shared,admin-vite-plugin): Add support for UI extensions (#7383 )
* intial work
* update lock
* add routes and fix HMR of configs
* cleanup
* rm imports
* rm debug from plugin
* address feedback
* address feedback
* temp skip specs
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
Co-authored-by: Stevche Radevski <sradevski@live.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
2024-05-23 15:28:00 +02:00
Kasper Fabricius Kristensen
4a10821bfe
fix(admin-next): add admin packages to changeset ( #7426 )
2024-05-23 15:16:19 +02:00
Harminder Virk
ada33e984d
refactor: silently load ts-node ( #7424 )
2024-05-23 18:34:34 +05:30
Kasper Fabricius Kristensen
f1176a0673
feat(dashboard,admin-sdk,admin-shared,admin-vite-plugin): Add support for UI extensions ( #7383 )
...
* intial work
* update lock
* add routes and fix HMR of configs
* cleanup
* rm imports
* rm debug from plugin
* address feedback
* address feedback
2024-05-23 14:02:19 +02:00
Kasper Fabricius Kristensen
521c252dee
chore(dashboard): Delete old translation files ( #7423 )
2024-05-23 14:00:39 +02:00
Harminder Virk
66279f1691
Remove redundant bin option in the medusa package ( #7418 )
2024-05-23 16:56:54 +05:30
Carlos R. L. Rodrigues
f3d19f5394
fix(workflows-sdk): use loaded modules when container is empty ( #7422 )
2024-05-23 08:26:16 -03:00
Oli Juhl
05077bab32
feat: Add copy invite action ( #7413 )
...
https://github.com/medusajs/medusa/assets/59018053/2a2d0d39-e020-4146-8679-cbc99d75c98e
2024-05-23 10:58:59 +00:00
Adrien de Peretti
37ae87fe9b
fix(admin-next, utils, medusa): Handle db errors properly and fix form ( #7416 )
...
* fix(admin-next, utils, medusa): Handle db errors properly and fix form
* fix(admin-next, utils, medusa): Handle db errors properly and fix form
* fix(admin-next, utils, medusa): Handle db errors properly and fix form
* fix(admin-next, utils, medusa): Handle db errors properly and fix form
2024-05-23 12:36:45 +02:00
Kasper Fabricius Kristensen
e01472aae6
chore(dashboard): Remove v1 code and medusa-react ( #7420 )
2024-05-23 09:40:30 +00:00
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