Dhanush Reddy
178b1e2b47
fix some typos ( #14017 )
...
Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com >
2025-11-14 15:54:28 +02:00
Riqwan Thamir
0573bb924a
chore: Remove typeORM ( #9005 )
...
* chore: rename js files to txt
* chore: rename ts files to txt
* chore: delete environment helpers
* chore: convert global setup & teardown to txt
* chore: rename helper js/ts files to txt
* chore: rename seeder js/ts files to txt
* chore: remove typeorm
* chore: reintroduce used helpers
2024-09-05 15:45:30 +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
Philip Korsholm
148f537b47
feat(medusa): integrate pricing module to core ( #5304 )
...
* add pricing integraiton feature flag
* init
* first endpoint
* cleanup
* remove console.logs
* refactor to util and implement across endpoints
* add changeset
* rename variables
* remove mistype
* feat(medusa): move price module integration to pricing service (#5322 )
* initial changes
* chore: make product service always internal for pricing module
* add notes
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* nit
* cleanup
* update to object querying
* update cart integration test
* remove uppercase currency_code
* nit
* Feat/admin product pricing module reads (#5354 )
* initial changes to list prices for admin
* working price module implementation of list prices
* nit
* variant pricing
* redo integration test changes
* cleanup
* cleanup
* fix unit tests
* [wip] Core <> Pricing - price updates (#5364 )
* chore: update medusa-app
* wip
* get links and modules working with migration
* wip
* chore: make test pass
* Feat/rule type utils (#5371 )
* initial rule type utils
* update migration script
* chore: cleanup
* ensure prices are always decorated
* chore: use seed instead
* chore: fix oas conflict
* region id add to admin price read!
---------
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com >
* pr feedback
* create remoteQueryFunction type
* fix merge
* fix loaders issue
* Feat(medusa, types, pricing): pricing module migration script (#5409 )
* add migration script for money amounts in pricing module
* add changeset
* rename file
* cleanup imports
* update changeset
* add check for pricing module and ff
* feat(medusa,workflows,types): update prices on product and variant update (#5412 )
* wip
* chore: update product prices through workflow
* chore: cleanup
* chore: update product handler updates prices for variants
* chore: handle reverts
* chore: address pr comments
* chore: scope workflow handlers to flag handlers
* chore: update return
* chore: update db url
* chore: remove migration
* chore: increase jest timeout
* Feat(medusa): update migration and initDb to run link-migrations (#5437 )
* initial
* loader update
* more progress on loaders
* update integration tests and remote-query loader
* remove helper
* migrate isolated modules
* fix test
* fix integration test
* update with pr feedback
* unregister medusa-app
* re-register medusaApp
* fix featureflag
* set timeout
* set timeout
* conditionally run link-module migrations
* pr feedback 1
* add driver options for db
* throw if link is not defined in migration script
* pass config module directly
* include container in migrate command
* chore: increase timeout
* rm redis from api integration tests to test
* chore: temporarily skip tests
* chore: undo skips + add timeout for workflow tests
* chore: increase timeout for order edits
* re-add redis
* include final resolution
* add sharedcontainer to medusaapp loader
* chore: move migration under run command
* try removing redis_url from api tests
* chore: cleanup server on process exit
* chore: clear container on exit
* chore: adjustments
* chore: remove consoles
* chore: close express app on finish
* chore: destroy pg connection on shutdown
* chore: skip
* chore: unskip test
* chore: cleanup container pg connection
* chore: skip
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-10-30 14:42:17 +01:00
David Preininger
2caff2efc7
feat(medusa): Authentication overhaul ( #4064 )
...
* implemented bearer auth
* changed naming strat
* changed session auth to not use jwt
* typo
* changed auth header prefix for admin api token auth
* fixed supporting functions to work with new session type
* removed database calls for bearer auth improving performance
* removed unused deps
* changed auth in tests
* added integration tests
* Accepted suggested change
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* Typo
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* more typos
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* proper formatting
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* removed endregion
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* removed startregion
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* fixed admin JWT integration test
* added more fixes to integration tests
* Update OAS
* Create fluffy-donkeys-hope.md
* created API reference for new auth
* implemented getToken in medusa-js
* Apply suggestions from code review
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
* Apply suggestions from code review
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
* deleted files which should be autogenerated
* Update fluffy-donkeys-hope.md
* JSDoc update
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* added missing route exports
* implemented runtime domain safety in jwt token manager
* fixed jwt manager
* lint get-token files
* Update fluffy-donkeys-hope.md
* Revert "deleted files which should be autogenerated"
This reverts commit cd5e86623b822e6a6ac37322b952143ccc493df9.
* Revert "Apply suggestions from code review"
This reverts commit f02f07ce58fd9fcc2dfc80cadbb9df2665108d65.
* Revert "created API reference for new auth"
This reverts commit c9eafbb36453f5cf8047c79e94f470cb2d023c7d.
* renamed header for sending api access tokens
* medusa-js - changed apiKey header
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
Co-authored-by: olivermrbl <oliver@mrbltech.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-09-25 13:57:44 -04:00
Adrien de Peretti
4d326fbbdf
chore: Move factories and helpers to a better place ( #4551 )
...
* chore: Move factories and helpers to a better place
* align factory product variant
* fix factory cart
* add simple store fac
* fix tests
* fix tests
* fix
* fix cart seeder
2023-07-20 13:16:04 +02:00
Oliver Windall Juhl
809ab2e0eb
chore: Merge master to develop ( #3653 )
2023-03-31 13:09:57 +02:00
Riqwan Thamir
121b42acfe
chore(medusa): Typeorm upgrade to 0.3.11 ( #3041 )
2023-02-15 16:25:30 +01:00
Adrien de Peretti
4cb44a3a2e
fix(medusa): Discount allocation precision issues ( #3244 )
2023-02-13 17:22:18 +01:00
Frane Polić
5b63533c77
feat(medusa): Preserve custom adjustments when refreshing adjustments ( #3085 )
2023-02-06 19:22:05 +01:00
Frane Polić
4d6e63d68f
feat(medusa): Decorate OrderEdit LineItems with totals ( #3108 )
2023-02-06 17:32:26 +01:00