Stevche Radevski
37b794b89d
chore: Move upload tests to HTTP layer ( #7610 )
2024-06-05 12:24:33 +00:00
Harminder Virk
2b62686ec6
implement events to the pricing module ( #7584 )
2024-06-05 17:33:49 +05:30
Stevche Radevski
fafc92b875
Revamp auth module to support multiple providers linked to a single auth identity ( #7521 )
2024-06-05 07:47:16 +00:00
Oli Juhl
dc087bf310
feat: Move shipping option + profile test and more ( #7609 )
2024-06-05 08:36:41 +02:00
Stevche Radevski
e44fe78b96
fix: Several fixes to store product endpoints, moved several test suites to HTTP ( #7601 )
...
* chore: Move publishable api key tests to HTTP
* chore: Move store tests to HTTP folder
* fix: Add tests for store products, fix several bugs around publishable keys
2024-06-04 21:00:07 +02:00
Harminder Virk
8d9d78029b
Remove redundant methods from pricing module ( #7597 )
2024-06-04 16:33:06 +05:30
Stevche Radevski
0929c4f457
Feat: Add product tag endpoints, move tests to HTTP folder ( #7591 )
...
* chore: Move product type tests to HTTP folder
* feat: Add product tags endpoints and move tests to HTTP folder
2024-06-04 10:56:22 +02:00
Riqwan Thamir
ecfbfcc707
feat(core-flows,modules-sdk,types,medusa,link-modules): adds variant <> inventory item link endpoints ( #7576 )
...
what:
- adds variant inventory link management endpoints:
```
Link inventory item to variant
POST /products/:id/variants/:vid/inventory-items
Update variant's inventory item link
POST /products/:id/variants/:vid/inventory-items/:iid
Unlink variant's inventory item
DELETE /products/:id/variants/:vid/inventory-items/:iid
```
- a batch endpoint that does the above 3 across variants
```
POST /products/:id/variants/inventory-items
```
2024-06-03 18:23:29 +00:00
Carlos R. L. Rodrigues
122186a78d
chore(order): cancel order ( #7586 )
2024-06-03 12:31:33 -03:00
Oli Juhl
0c0c510a37
chore: Move admin region tests ( #7582 )
2024-06-03 14:25:43 +02:00
Oli Juhl
65d3222973
chore: Move customer + customer group integration tests and fixes issues ( #7577 )
...
* chore: Move customer + customer group and fixes issues
* remove /customer sendpoint
2024-06-03 10:52:32 +02:00
Adrien de Peretti
9608bf06ef
feat: Event emitting part 1/N (Fulfillment) ( #7391 )
...
**What**
Add support for event emitting in the fulfillment module
**NOTE**
It does not include the review of the events for the abstract module factory if the method is not implemented in the module itself and rely on the default implementation
2024-06-03 08:29:35 +00:00
Carlos R. L. Rodrigues
af0140d317
feat(order): cancel fulfillment ( #7573 )
2024-06-02 09:33:24 -03:00
Stevche Radevski
3ede9d7863
fix: Use integer for variant and category ranks ( #7572 )
2024-06-01 16:25:04 +02:00
Stevche Radevski
cec9af1b80
feat: Add support for uploading media in admin ( #7564 )
2024-05-31 13:11:34 +02:00
Harminder Virk
11528526fa
feat: loosely typed container
2024-05-31 15:22:03 +05:30
Carlos R. L. Rodrigues
8a5d9d04a3
chore(payment): provider call outside db transaction ( #7536 )
2024-05-30 07:24:06 -03:00
Carlos R. L. Rodrigues
096372463e
chore(promotion): big number calc ( #7537 )
2024-05-30 07:23:57 -03:00
Stevche Radevski
89b0876abc
fix: Build auth-google as commonjs module ( #7528 )
2024-05-29 17:17:25 +02:00
Stevche Radevski
aeda24265d
feat: Remove returning token from customer and user endpoints ( #7523 )
...
* chore: Move generateJwtToken to utils
* feat: Stop returning token on user and customer endpoints
2024-05-29 17:13:01 +02:00
Carlos R. L. Rodrigues
f1ced57d5f
chore: payment auto capture + remove enum from utils ( #7513 )
...
What:
- handles payments session that are auto captured
- removes all the enums from `@medusajs/types`
- move all `@medusajs/types` to devDependencies
2024-05-29 11:12:59 +00:00
Oli Juhl
dbb23d20be
chore: Remove currency + country logs ( #7508 )
2024-05-28 16:42:32 +02:00
Oli Juhl
e020b49493
chore: Add missing types deps ( #7504 )
2024-05-28 15:20:29 +02: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
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
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
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
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
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
Shahed Nasser
7390821da5
fix(link-modules): move readonly link to readonly directory ( #7446 )
2024-05-24 16:32:25 +03:00
Shahed Nasser
98808b6caa
fix(link-modules): remove duplicate fulfillment set location link ( #7441 )
...
Remove the link defined in `location-fulfillment-set` because it's a duplicate of `fulfillment-set-location`.
2024-05-24 12:04:44 +00:00
Stevche Radevski
135772b27b
feat: Revert to using app_metadata for authentication ( #7433 )
2024-05-23 22:01:41 +02:00
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
Riqwan Thamir
e3beaf5a29
chore: add cart links to promotions/product ( #7428 )
2024-05-23 16:54:09 +02: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
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
9a10adfd91
fix: Remove log for read only links ( #7410 )
2024-05-22 22:36:23 +02:00
Carlos R. L. Rodrigues
e760dbc953
fix(link-modules): fix warn on readonly links ( #7403 )
2024-05-22 13:07:30 +00: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
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
Carlos R. L. Rodrigues
f57dc98c7a
chore(order): Paid Total and Refunded Total ( #7373 )
2024-05-20 15:48:57 -03: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
Carlos R. L. Rodrigues
48aa09be23
Chore(order): endpoints - Part 1:N ( #7360 )
2024-05-19 14:51:08 -03:00
Oli Juhl
bf4724b8e6
feat: Destroy session + introduce http config ( #7336 )
2024-05-19 12:40:28 +02:00
Harminder Virk
cf15f5d498
refactor: use flatMap
2024-05-17 15:31:50 +05:30
Harminder Virk
72f98ea50b
refactor: implement query suggestions from Adrien
2024-05-17 14:42:57 +05:30
Harminder Virk
1abf9f19b3
test: increase notification module tests timeout
2024-05-17 13:10:35 +05:30
Harminder Virk
9c97356098
Merge branch 'develop' into fix/2152
2024-05-17 09:54:37 +05:30