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
Carlos R. L. Rodrigues
af0140d317
feat(order): cancel fulfillment ( #7573 )
2024-06-02 09:33:24 -03:00
Harminder Virk
11528526fa
feat: loosely typed container
2024-05-31 15:22:03 +05:30
Stevche Radevski
6698f3ab7b
feat: Add http integration tests and enable them in pipeline ( #7532 )
2024-05-30 10:51:31 +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
Kasper Fabricius Kristensen
e5e5eb6e18
fix(dashboard): Clean Edit Variant form payload of empty strings ( #7512 )
...
* fix(dashboard): Clean Edit Variant form paylod of empty strings
* fix(dashboard,medusa): Allow passing null to update variant to unset fields
* fix product edit form
* cleanup
* cleanup
* pass prop
2024-05-29 17:09:40 +02:00
Riqwan Thamir
f0b9d5534e
chore: query inventory items by location id ( #7524 )
...
what:
- allows querying inventory items by the correct location_id
2024-05-29 14:14:10 +00: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
Carlos R. L. Rodrigues
bbca54efa7
chore(order): aggregate statuses ( #7497 )
2024-05-29 07:05:42 -03:00
Stevche Radevski
af7a885b5b
fix: Ensure sales channel updates don't remove sales channel on other products ( #7510 )
...
* fix: Make all product tests pass
* fix: Ensure product update doesnt remove sales channels on other products
2024-05-28 18:24:27 +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
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
Stevche Radevski
296473d994
feat: Update customer related typings and sdk methods ( #7440 )
2024-05-24 13:25:10 +02: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
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
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
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
Harminder Virk
3dbb256ddf
load resources from starter kit and introduce srcDir configuration
2024-05-21 15:02:53 +05:30
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