Kasper Fabricius Kristensen
e4ce2f4e07
chore(ui,icons,ui-preset,toolbox): Move design system packages to monorepo ( #5470 )
2023-11-07 22:17:44 +01:00
Kasper Fabricius Kristensen
f1a05f4725
feat(admin, admin-ui, medusa-js, medusa-react, medusa): Support Admin Extensions ( #4761 )
...
Co-authored-by: Rares Stefan <948623+StephixOne@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-08-17 12:14:45 +00:00
Riqwan Thamir
8af55aed87
feat(product, types, modules-sdk): added event bus events for products ( #4654 )
...
what:
- adds an eventbus dependency to product module.
- emits events on product, category and collection CUD
RESOLVES CORE-1450
2023-08-04 09:26:02 +00:00
Shahed Nasser
c04d93cd04
feat(create-medusa-app): update command for a better onboarding experience ( #4215 )
...
* feat(create-medusa-app): update command for a better onboarding experience
* use medusa-telemetry for tracking
* update used snapshot
* added changeset
* update yarn.lock
* increased facts timer
* updated snapshot version
* show facts throughout installation + add first_run to url
* added message after server termination
* print message only once
* added github to process terminated message
* address pr feedback
* added onboarding seeding
* fix for npm install
2023-06-07 20:34:50 +02:00
Adrien de Peretti
5307408894
feat(medusa-payment-paypal): Migrate to the new payment processor API ( #3414 )
...
* feat(medusa-payment-paypal): Migrate to the new payment processor API
* WIP
* WIP
* WIP unit tests
* WIP
* unit tests
* fix package.json
* yarn
* cleanup
* address feedback 1/2
* Start to implement a new Paypal SDK
* cleanup
* finalise sdk
* cleanup
* fix push missing file
* rename sdk methods
* unit test the http client
* WIP
* fix http client
* Create .changeset/empty-melons-eat.md
* refactor tests
* fix quote
* fix options
* cleanup
* do not retry auth
* WIP
* retry mechanism max attempts
* use both old and new options
* fix capture
* remove totals fields
* add missing method
* cleanup
* fix current tests
* authorize should update the data with the fresh order
* remove comments
* fix tests
* Update packages/medusa-payment-paypal/src/core/paypal-http-client.ts
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* fix unit tests
* update changeset
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-03-28 13:49:09 +02:00
Carlos R. L. Rodrigues
4e9d257d3b
Chore(medusa,utils,types,inventory,stock-location): remove core dependency modules ( #3531 )
2023-03-23 08:07:32 -03:00
Oliver Windall Juhl
74bc4b16a0
feat(medusa-plugin-algolia): Revamp Algolia search plugin ( #3510 )
2023-03-22 12:55:26 +01:00
Oliver Windall Juhl
ef5ef9f5a2
feat(medusa,event-bus-local,event-bus-redis): Event Bus modules ( #2599 )
2023-03-22 10:26:21 +01:00
Kasper Fabricius Kristensen
40de54b010
feat(admin,admin-ui,medusa): Add Medusa Admin plugin ( #3334 )
2023-03-03 10:09:16 +01:00
Adrien de Peretti
589d1c09b0
feat(medusa-payment-stripe): Stripe PaymentProcessor implementation ( #3257 )
2023-02-28 18:44:24 +01:00
Carlos R. L. Rodrigues
a94d9816fe
chore: Centralise ESLint rules ( #2162 )
...
* chore: centrilize eslint rules
2022-09-13 07:42:33 -03:00
Zakaria El Asri
f0be31120f
refactor(medusa): Migrate ProductService to TS ( #1625 )
...
* refactor: product service
* fix: type errors in consumers
* fix: use Status enum instead of ProductStatus
* fix: remove ProductStatus
* fix: rename ProductStatus
* fix: product model nullable fields
* fix: explicit typecasting in listVariants
* fix: use atomicPhase in public methods
* fix: use transactionManager in protected methods
* fix: remove disable eslint rule comment
* fix: retrieveVariants relations
* fix: retrieveVariants
* fix: FilterableProductProps validation
* fix: nullable thumbnail
* fix: tests by making model column types more explicit
* move upsert method to repo layer
* fix: unit tests
* fix: integration tests
* fix: product tags query + integration test
* fix: rename FindWithRelationsOptions to FindWithoutRelationsOptions
* fix (productRepository): use string[] for relations
* refactor: extract price relation filtering logic into util
* fix: failing unit test
* rename DTO suffix to Input suffix
* fix: missing awaits
* fix: check for images and tags length
* fix: remove unneeded function
* extract types used in product service to types folder
* fix: use text instead of varchar
* remove: reorderOptions from ProductService
* fix: product model
* fix: add private retrieve method
* fix: conflicts
* fix: failing unit test
* fix: integration test
* fix: remove ProductSelector type
* fix: remove validateId
* fix: use spread operator
* fix: repo method typings
* fix: remove comment
2022-06-20 10:50:46 +01:00
Sebastian Rindom
c56660fca9
feat: new tax api ( #979 )
...
* feat: add tax calculation strategy (#885 )
* feat: add tax calculation strategy
* fix: adds strategy loader
* fix: eslint ignore
* chore: cleanup
* fix: allow plugin overwrites
* fix: allow plugin overwrites
* fix: fake region
* Update packages/medusa/src/loaders/strategies.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* feat: adds tax related db entities + tax provider (#896 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: pr comments
* fix: unit test
* feat: totals service to ts (#911 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: adds TotalsServiceProps
* feat: adds integration tests for automatic tax calculation + shipping tax rates (#945 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: jsdoc types
* Feat/manual taxes (#950 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: add integration tests for manual taxes
* fix: cart service - cleanup jsdoc
* feat: add /carts/id/taxes to manually calculate taxes
* feat: add integration tests for order tax calculations
* fix: unit tests
* fix: merge
* fix: rm verbose
* fix: unit tests
* fix: object -> cartOrOrder
* fix: rounding
* Feat/complete order w tax lines (#951 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: add integration tests for manual taxes
* fix: cart service - cleanup jsdoc
* feat: add /carts/id/taxes to manually calculate taxes
* feat: add integration tests for order tax calculations
* feat: adds cart completion strategy + create order w. tax lines
* fix: unit tests
* fix: merge
* fix: rm verbose
* fix: unit tests
* fix: unit tests
* fix: unit tests
* fix: ensure calculation for list orders
* fix: unit tests
* fix: integration tests
* fix: adds cart order type gaurds
* Docs/tax api (#954 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: add integration tests for manual taxes
* fix: cart service - cleanup jsdoc
* feat: add /carts/id/taxes to manually calculate taxes
* feat: add integration tests for order tax calculations
* feat: adds cart completion strategy + create order w. tax lines
* fix: unit tests
* fix: merge
* fix: rm verbose
* fix: unit tests
* fix: unit tests
* fix: unit tests
* fix: ensure calculation for list orders
* fix: unit tests
* fix: integration tests
* docs: documents tax related methods and types
* fix: require either item_id or shipping_method_id
* feat: product type tax rate (#969 )
* feat: adds tax related db entities + tax provider
* fix: add tax provider tests
* fix: add tax service unit tests
* fix: tests + migrations
* feat: totals service to ts
* fix: remove totals.js
* fix: add shipping methods
* fix: add inherited tax lines
* chore: rm tax-line repo
* fix: test
* fix: tests
* fix: tests
* fix: unit test
* fix: integration test helpers
* fix: adds factories + tests automatic tax rates
* fix: remove verbose
* fix: adds TotalsServiceProps
* fix: add shipping tax lines
* fix: add migration for shipping taxes
* fix: integration tests for shipping taxes
* fix: integration tests for shipping taxes
* fix: add integration tests for manual taxes
* fix: cart service - cleanup jsdoc
* feat: add /carts/id/taxes to manually calculate taxes
* feat: add integration tests for order tax calculations
* feat: adds cart completion strategy + create order w. tax lines
* fix: unit tests
* fix: merge
* fix: rm verbose
* fix: unit tests
* fix: unit tests
* fix: unit tests
* fix: ensure calculation for list orders
* fix: unit tests
* fix: integration tests
* docs: documents tax related methods and types
* fix: require either item_id or shipping_method_id
* feat: adds returns tests for new tax system
* feat: adds return lines + integration tests for swaps
* feat: return integration tests
* feat: adds product type tax rates
* feat: add tax management endpoints
* fix: create single migration
* fix: adds tax rates to js client
* fix: strats
* Fix/plugin tests (#998 )
* plugin testing setup
* fix: test sendgrid plugin
* fix: test sendgrid plugin
* chore: clean
* chore: clean
* fix: clean up tests
* fix: remove dirty import
* fix: sendgrid + brightpearl
* fix: plugin integration tests
* fix: klarna
* fix: shipping method tax
* fix: remove taxrates
* fix: unit tests
* fix: integration
* fix: integration
* fix: plugins tests
* fix: ignore plugins
* fix: tests
* fix: taxes (#1017 )
* fix: taxes
* fix: taxes
* fix: faulty ref
* fix: create tax-lines with claim items
* fix: snapshot tax-liens
* fix: allows integration test teardown to force deleting tables
* fix: tests
* fix: merge
* fix: adds tax-rates to client
* fix: adds tax-rates to medusa-react
* fix: tests
* fix: tests
* fix: add product types
* fix: adds tax provider endpoint + cascaded deletes on tax rate relations
* fix: move errors to service layer
* fix: cleanup api
* fix: unit tests
* fix: error handler in base-service
* fix: Add order region to swap on createFulfillment (#1110 )
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2022-02-24 20:14:09 +01:00
Oliver Windall Juhl
2ca1a8762d
feat: Add Discount Admin endpoint to JS client ( #919 )
2021-12-14 09:47:15 +01:00
Oliver Windall Juhl
25fe224a10
feat: Adds Customer Admin routes to JS client ( #918 )
2021-12-13 21:32:47 +01:00
Oliver Windall Juhl
373532ecbc
feat: Typescript for API layer ( #817 )
...
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
Co-authored-by: Zakaria El Asri <33696020+zakariaelas@users.noreply.github.com >
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com >
Co-authored-by: Sebastian Rindom <seb@medusa-commerce.com >
2021-11-18 15:19:17 +01:00
Alok Kumar Sahoo
6c50d4ddfd
chore: make /packages/medusa/src/services/event-bus.js pass linting ( #575 )
2021-10-29 11:05:23 +02:00
Oliver Windall Juhl
3e68069a89
fix: Prepare routes for linting ( #603 )
2021-10-24 15:13:49 +02:00
Sebastian Rindom
ba2d92341d
Revert "fixed linting errors on packages/medusa/src/services/user.js #531 ( #543 )" ( #547 )
...
This reverts commit cf5b405a56 .
2021-10-13 19:50:10 +02:00
Sergiy Fomin
cf5b405a56
fixed linting errors on packages/medusa/src/services/user.js #531 ( #543 )
...
* fixed linting errors on packages/medusa/src/services/user.js #531
* fix: resolving a few issues as raised in the PR, issue: #531
Co-authored-by: Sergiy Fomin <sergiy.fomin@sourcedgroup.com >
2021-10-13 19:45:50 +02:00
Sebastian Rindom
8d7d0e4b05
fix: add prettier rules to eslint
2021-10-13 16:12:11 +02:00
Sebastian Rindom
30b6a793f1
chore: add lint-staged + husky
2021-10-12 22:09:46 +02:00