Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Rindom 49f1d0f67a fix: merge 2021-03-16 22:39:29 +01:00
Sebastian Rindom 31d5bb017d fix: merge 2021-03-16 22:27:09 +01:00
Sebastian Rindom 3d0dff58c4 docs: fixture improvements + small fixes (#204)
* fix: deref arrays

* docs: clean up

* fix: update license
2021-03-16 18:15:41 +01:00
Sebastian Rindom b18beb5a84 Merge remote-tracking branch 'origin/develop' into release/next 2021-03-16 13:58:18 +01:00
Sebastian Rindom 90787be914 Merge branch 'develop' of github.com:medusajs/medusa into develop 2021-03-16 13:57:55 +01:00
Sebastian Rindom 192237b335 Return Reason (#205)
* feat: add return reasons

* feat: add return reasons

* feat: adds return reason entity

* fix: endpoint tag

* fix: endpoint tag

* fix: do not require label

* fix: PR
2021-03-16 13:57:33 +01:00
Sebastian Rindom 695b1fd0a5 feat: dev cli (#203)
* feat: adds dev-cli

* feat: adds dev-cli

* fix: works with org package names

* fix: medusa cli bin

* hotfix(brightpearl): rounding errors + failing customer test (#199)

* fix: verdacio publish

* fix: update yarn lock

* fix(CI): update node

* fix: update yarn lock
2021-03-16 09:51:04 +01:00
Sebastian Rindom f422c83c4b Merge remote-tracking branch 'origin/master' into develop 2021-03-16 09:12:41 +01:00
Sebastian Rindom 3fbf38ffc9 fix(medusa): expose items.refundable 2021-03-15 13:45:20 +01:00
Sebastian Rindom 6ad2b0e6e9 fix: merge api 2021-03-15 08:28:53 +01:00
Sebastian Rindom 7c7f86e8e8 fix: allows shipping option filters in return (#202)
* fix: allows shipping option filters in return

* fix: test

* chore: update fixtures

* docs: update openapi
2021-03-12 14:23:03 +01:00
Sebastian Rindom dd7b306333 feat(medusa): cart context (#201)
- Adds a context field to Cart
- context is automatically populated with ip + user agent
- context can be updated via POST /store/cart/:id or set when creating via POST /store/cart
2021-03-12 11:48:51 +01:00
Sebastian Rindom ffac0d3a3d fix: add region to gift-cards 2021-03-11 16:18:33 +01:00
Sebastian Rindom ca74226d4a docs: add new endpoints 2021-03-11 08:39:44 +01:00
Sebastian Rindom 833da81cc2 hotfix(brightpearl): rounding errors + failing customer test (#199) 2021-03-11 08:23:53 +01:00
Sebastian Rindom 0601b34765 chore: merge 2021-03-11 08:21:37 +01:00
Sebastian Rindom d02b804ed3 hotfix(brightpearl): rounding errors + failing customer test 2021-03-11 08:10:19 +01:00
Sebastian Rindom 252db5ef7e feat(medusa): storefront return (#194)
* feat: adds endpoint to lookup an order by its display_id and email

* feat: adds storefront returns

* fix: pr comments
2021-03-10 17:42:39 +01:00
Sebastian Rindom 1e5a1398d8 hotfix: docs build (#198)
* fix: build

* fix: build

* fix: build

* fix: build
2021-03-10 16:15:06 +01:00
Sebastian Rindom 82d2c352b2 hotfix(www): build fix 2021-03-10 11:57:06 +01:00
Sebastian Rindom 8edb32c742 docs: oas (#197)
Adds OpenAPI specification of Storefront and Admin APIs.
Updates docs project.
2021-03-10 11:51:54 +01:00
Sebastian Rindom d9c17b5122 Merge branch 'hotfix/gift-card-creation' into develop 2021-03-08 16:14:22 +01:00
Sebastian Rindom 975de99ee7 hotfix: gift card creation (#196)
* fix: enable gift-card creation without order_id

* fix: adds integration test to create endpoint
2021-03-08 15:58:59 +01:00
Sebastian Rindom 152ce6a2cb Merge branch 'master' into hotfix/gift-card-creation 2021-03-08 15:46:02 +01:00
Sebastian Rindom 521d306b71 fix: adds integration test to create endpoint 2021-03-08 15:44:37 +01:00
Sebastian Rindom 1263d24ca3 fix: enable gift-card creation without order_id (#195) 2021-03-08 15:31:39 +01:00
Sebastian Rindom 9ce935a779 fix: enable gift-card creation without order_id 2021-03-08 13:58:01 +01:00
Sebastian Rindom 0b172b6d77 Allow Gift Card balance lookup in the Storefront API (#193)
* feat: enable balance lookup for gift-cards
2021-03-08 13:26:30 +01:00
Sebastian Rindom bb7dcbd706 Merge remote-tracking branch 'origin/hotfix/total-round' into develop 2021-02-27 11:25:12 +01:00
Sebastian Rindom 7f5ee6bdcc hotfix: round totals (#188)
* fix: round totals

* fix: test
2021-02-27 11:14:39 +01:00
Sebastian Rindom caf1ecfd5a fix: test 2021-02-27 11:01:57 +01:00
Sebastian Rindom a1ba2e8b5c fix: round totals 2021-02-27 10:53:20 +01:00
Sebastian Rindom 1db683a789 Merge remote-tracking branch 'origin/hotfix/stripe-floor' into develop 2021-02-27 10:11:13 +01:00
Sebastian Rindom 999e8053ea fix(stripe): remove decimals on amounts (#187)
* fix: floor amounts

* fix: round instead of floor
2021-02-27 10:08:05 +01:00
Sebastian Rindom 74a6b67f9d fix: round instead of floor 2021-02-26 21:18:37 +01:00
Sebastian Rindom 5e2f550ae1 fix: floor amounts 2021-02-26 21:07:51 +01:00
Sebastian Rindom 1b7fa59bf7 hotfix(paypal): create new payment session if update fails (#186) 2021-02-26 13:13:28 +01:00
Sebastian Rindom adce71042d hotfix(paypal): create new payment session if update fails 2021-02-26 12:51:20 +01:00
Sebastian Rindom dc75b9e983 Merge branch 'release/next' 2021-02-26 09:58:53 +01:00
Sebastian Rindom 69ead386fb Merge remote-tracking branch 'origin/develop' into release/next 2021-02-25 15:01:27 +01:00
Sebastian Rindom cfcc9247a5 chore(release): Publish
- medusa-plugin-brightpearl@1.1.5
 - medusa-plugin-contentful@1.1.4
 - medusa-plugin-sendgrid@1.1.4
 - @medusajs/medusa@1.1.11
2021-02-25 14:44:48 +01:00
Sebastian Rindom 63e7ce765e Merge remote-tracking branch 'origin/develop' into release/next 2021-02-25 14:38:47 +01:00
Sebastian Rindom e646a04bf3 Merge remote-tracking branch 'origin/master' into develop 2021-02-25 14:38:34 +01:00
Sebastian Rindom 7be4bb5f2d fix: add tracking links to shipments 2021-02-25 14:37:17 +01:00
Sebastian Rindom 5cfc8d80bd fix: sendgrid tracking links 2021-02-25 14:12:09 +01:00
Sebastian Rindom 27e5eca21d chore(release): Publish
- medusa-fulfillment-webshipper@1.1.3
 - medusa-plugin-segment@1.1.5
 - @medusajs/medusa@1.1.10
2021-02-25 14:07:21 +01:00
Sebastian Rindom 12ecdb8dae chore(release): Publish
- medusa-plugin-segment@1.1.5-next.3
2021-02-25 11:05:06 +01:00
Sebastian Rindom 98aa404306 fix: normalize currency code 2021-02-25 11:04:18 +01:00
Sebastian Rindom 80a18d4273 chore(release): Publish
- medusa-plugin-segment@1.1.5-next.2
2021-02-25 10:54:11 +01:00
Sebastian Rindom d156911883 feat(segment): track shipments 2021-02-25 10:53:50 +01:00
Sebastian Rindom 3ee3663861 chore(release): Publish
- @medusajs/medusa@1.1.10-next.1
2021-02-25 08:42:20 +01:00
Sebastian Rindom 0320788aac fix: update-product 2021-02-25 08:41:55 +01:00
Sebastian Rindom e016183974 chore(release): Publish
- medusa-plugin-segment@1.1.5-next.1
2021-02-25 08:34:16 +01:00
Sebastian Rindom 262af34125 fix: versioning 2021-02-25 08:34:00 +01:00
Sebastian Rindom 0c294b7b3a fix: add subtitle to tracks 2021-02-25 08:32:45 +01:00
Sebastian Rindom d307dfc24f Merge remote-tracking branch 'origin/hotfix/bp-inventory' into develop 2021-02-24 09:04:37 +01:00
Sebastian Rindom 5edcbbd7e1 hotfix(brightpearl): wrap inventory update in transaction (#184) 2021-02-24 09:03:50 +01:00
Sebastian Rindom ba39cb16db hotfix(brightpearl): wrap inventory update in transaction 2021-02-24 08:52:39 +01:00
Sebastian Rindom 5ed9e3057d chore(release): Publish
- medusa-fulfillment-webshipper@1.1.3-next.0
 - medusa-plugin-segment@1.1.5-next.0
 - @medusajs/medusa@1.1.10-next.0
2021-02-22 08:49:25 +01:00
Sebastian Rindom e27cf72a8c feat(medusa-plugin-segment): adds category and type to segment events (#179) 2021-02-22 08:45:01 +01:00
Sebastian Rindom 99ad43bf47 feat(medusa): tracking links (#177)
* fix: creates tracking links on fulfillments

* fix: typo
2021-02-18 16:59:19 +01:00
Sebastian Rindom f32ae72782 hotfix(segment): remove tax from revenue calculation (#174) 2021-02-18 12:39:15 +01:00
Sebastian Rindom 8963f38023 hotfix: remove tax from revenue calculation 2021-02-18 11:46:46 +01:00
Sebastian Rindom 0f045ae619 chore(release): Publish
- @medusajs/medusa@1.1.9
2021-02-18 10:33:46 +01:00
Sebastian Rindom 5659d106e3 fix: performant relations 2021-02-18 10:31:09 +01:00
Sebastian Rindom c2a075a6b1 chore(release): Publish
- medusa-file-spaces@1.1.3
 - medusa-fulfillment-webshipper@1.1.2
 - medusa-interfaces@1.1.1
 - medusa-payment-adyen@1.1.3
 - medusa-payment-klarna@1.1.4
 - medusa-payment-paypal@1.0.3
 - medusa-payment-stripe@1.1.3
 - medusa-plugin-add-ons@1.1.3
 - medusa-plugin-brightpearl@1.1.4
 - medusa-plugin-contentful@1.1.3
 - medusa-plugin-economic@1.1.3
 - medusa-plugin-mailchimp@1.1.3
 - medusa-plugin-permissions@1.1.3
 - medusa-plugin-segment@1.1.4
 - medusa-plugin-sendgrid@1.1.3
 - medusa-plugin-slack-notification@1.1.3
 - medusa-plugin-twilio-sms@1.1.3
 - medusa-plugin-wishlist@1.1.3
 - medusa-test-utils@1.1.3
 - @medusajs/medusa@1.1.8
2021-02-17 12:05:32 +01:00
Sebastian Rindom 46006e4b06 fix: use parallel relation fetching (#173)
optimizes performance of queries with many left joins
2021-02-17 10:40:48 +01:00
Sebastian Rindom 0ed6b4a6a0 fix: price after discounts 2021-02-15 17:03:40 +01:00
Sebastian Rindom 6e6669dee8 fix: item reporting revenue discounted 2021-02-15 15:57:13 +01:00
Sebastian Rindom 93f68126bf fix: handles normalizeThumb without thumbnail 2021-02-15 14:07:39 +01:00
Sebastian Rindom 0cc2ccd3b2 fix: attachment generator for invoices 2021-02-15 13:46:33 +01:00
Sebastian Rindom 108f9c9a53 Merge branch 'release/next' of github.com:medusajs/medusa into release/next 2021-02-15 11:57:38 +01:00
Sebastian Rindom 7308946e56 feat: notifications (#172)
The Notifications API allows plugins to register Notification Providers which have `sendNotification` and `resendNotification`.

Each plugin can listen to any events transmittet over the event bus and the result of the notification send will be persisted in the database to allow for clear communications timeline + ability to resend notifications.
2021-02-15 11:59:37 +01:00
Sebastian Rindom 332d1608d2 Merge remote-tracking branch 'origin/master' into release/next 2021-02-14 23:33:47 +01:00
Sebastian Rindom 90c4f43934 hotfix: failing test 2021-02-14 23:32:27 +01:00
Sebastian Rindom 4229e241d0 fix: test 2021-02-14 23:18:15 +01:00
Sebastian Rindom 2a8b556256 fix: publish flow 2021-02-09 11:38:51 +01:00
Sebastian Rindom 82a58d98f0 fix: publish flow 2021-02-09 11:33:58 +01:00
Sebastian Rindom 00c130e40e docs: correct return type 2021-02-09 11:31:57 +01:00
Sebastian Rindom 8b050e22c9 chore(release): Publish
- medusa-payment-klarna@1.1.3
2021-02-09 11:21:01 +01:00
Sebastian Rindom 5ef13d49c0 fix: expired klarna orders 2021-02-09 11:07:52 +01:00
Sebastian Rindom 3578ff6364 chore(release): Publish
- medusa-payment-paypal@1.0.2
2021-02-09 10:23:50 +01:00
Sebastian Rindom cb788ce2f6 hotfix: typo 2021-02-09 10:23:16 +01:00
Sebastian Rindom dba0edee26 chore(release): Publish
- medusa-payment-paypal@1.0.1
 - medusa-plugin-brightpearl@1.1.3
 - @medusajs/medusa@1.1.7
2021-02-08 21:44:50 +01:00
Sebastian Rindom 427ae25016 feat: adds paypal (#168) (#169) 2021-02-08 21:40:59 +01:00
Sebastian Rindom c62dd66911 fix: creates release branching 2021-02-08 21:36:28 +01:00
Sebastian Rindom d8e806d8ff Hotfix/tag relation (#166)
* fix: remove default tag relation

* fix: auto fulfill bp swaps
2021-02-04 14:38:41 +01:00
Sebastian Rindom 728d08d2b8 chore(release): Publish
- @medusajs/medusa@1.1.6
2021-02-03 13:03:25 +01:00
Sebastian Rindom 15450546f0 chore: create indexes on foreign keys (#164) 2021-02-03 13:02:58 +01:00
Sebastian Rindom 698c63da8a chore(release): Publish
- medusa-file-spaces@1.1.2
 - medusa-fulfillment-webshipper@1.1.1
 - medusa-payment-adyen@1.1.2
 - medusa-payment-klarna@1.1.2
 - medusa-payment-stripe@1.1.2
 - medusa-plugin-add-ons@1.1.2
 - medusa-plugin-brightpearl@1.1.2
 - medusa-plugin-contentful@1.1.2
 - medusa-plugin-economic@1.1.2
 - medusa-plugin-mailchimp@1.1.2
 - medusa-plugin-permissions@1.1.2
 - medusa-plugin-segment@1.1.3
 - medusa-plugin-sendgrid@1.1.2
 - medusa-plugin-slack-notification@1.1.2
 - medusa-plugin-twilio-sms@1.1.2
 - medusa-plugin-wishlist@1.1.2
 - medusa-test-utils@1.1.2
 - @medusajs/medusa@1.1.5
2021-02-03 09:54:27 +01:00
Sebastian Rindom 690d339667 feat(medusa,brightpearl,segment,webshipper): claims (#163)
* chore: create tests

* chore: models

* fix: passing initial tests

* test: adds integration test

* test: clean up integration implementation

* fix: claims

* fix: brightpearl + webshipper

* tests: passing

* fix: update claim items

* fix: adds gitignore

* fix: pr comments

* fix: single migration

* fix(medusa-plugin-segment): adds item claimed event to segment
2021-02-03 09:49:12 +01:00
Sebastian Rindom b5b8ea0503 chore(release): Publish
- @medusajs/medusa@1.1.3
2021-01-27 18:56:16 +01:00
Sebastian Rindom 178d12fc71 fix: tax_rate extraction in totals service (#156) 2021-01-27 18:55:05 +01:00
Sebastian Rindom 5c98624c1b chore(release): Publish
- @medusajs/medusa@1.1.1
2021-01-26 12:09:39 +01:00
Sebastian Rindom 282eaae675 fix: customer not found (#152) 2021-01-26 12:10:06 +01:00
Sebastian Rindom ff49d23322 chore(release): Publish
- babel-preset-medusa-package@1.1.0
 - @medusajs/medusa-cli@1.1.0
 - medusa-core-utils@1.1.0
 - medusa-file-spaces@1.1.0
 - medusa-fulfillment-manual@1.1.0
 - medusa-fulfillment-webshipper@1.1.0
 - medusa-interfaces@1.1.0
 - medusa-payment-adyen@1.1.0
 - medusa-payment-klarna@1.1.0
 - medusa-payment-stripe@1.1.0
 - medusa-plugin-add-ons@1.1.0
 - medusa-plugin-brightpearl@1.1.0
 - medusa-plugin-contentful@1.1.0
 - medusa-plugin-discount-generator@1.1.0
 - medusa-plugin-economic@1.1.0
 - medusa-plugin-ip-lookup@1.1.0
 - medusa-plugin-mailchimp@1.1.0
 - medusa-plugin-permissions@1.1.0
 - medusa-plugin-segment@1.1.0
 - medusa-plugin-sendgrid@1.1.0
 - medusa-plugin-slack-notification@1.1.0
 - medusa-plugin-twilio-sms@1.1.0
 - medusa-plugin-wishlist@1.1.0
 - medusa-test-utils@1.1.0
 - @medusajs/medusa@1.1.0
2021-01-26 11:17:43 +01:00
Sebastian RindomandOliver Windall Juhl f1baca3cbd Replaces MongoDB support with PostgreSQL (#151)
- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
2021-01-26 10:26:14 +01:00
Sebastian Rindom 5f819486fc chore(release): Publish
- medusa-plugin-segment@1.0.16
2021-01-08 16:59:49 +01:00
Sebastian Rindom 8dad0b3ac7 hotfix(segment): better order tracking 2021-01-08 16:59:25 +01:00
Sebastian Rindom d84c40e207 chore(release): Publish
- @medusajs/medusa@1.0.56
2021-01-06 13:26:59 +01:00