Commit Graph
100 Commits
Author SHA1 Message Date
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 d9c17b5122 Merge branch 'hotfix/gift-card-creation' into develop 2021-03-08 16:14:22 +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
Sebastian Rindom 93fe261384 chore(release): Publish
- @medusajs/medusa@1.0.55
2021-01-06 13:25:08 +01:00
Sebastian Rindom 3ed62802fa hotfix(swap): add email to swap fulfillments 2021-01-06 13:24:29 +01:00
Sebastian Rindom cb0fc0d475 chore(release): Publish
- medusa-file-spaces@1.0.13
 - medusa-payment-adyen@1.0.13
 - medusa-payment-klarna@1.0.14
 - medusa-payment-stripe@1.0.15
 - medusa-plugin-add-ons@1.0.8
 - medusa-plugin-brightpearl@1.0.26
 - medusa-plugin-contentful@1.0.15
 - medusa-plugin-economic@1.0.13
 - medusa-plugin-mailchimp@1.0.15
 - medusa-plugin-permissions@1.0.13
 - medusa-plugin-segment@1.0.15
 - medusa-plugin-sendgrid@1.0.14
 - medusa-plugin-slack-notification@1.0.13
 - medusa-plugin-twilio-sms@1.0.12
 - medusa-plugin-wishlist@1.0.13
 - medusa-test-utils@1.0.13
 - @medusajs/medusa@1.0.53
2020-12-17 10:54:42 +01:00
Sebastian Rindom e7f2d20138 hotfix(medusa): match stringified id 2020-12-17 10:50:39 +01:00
Sebastian Rindom 09d427502e chore(release): Publish
- @medusajs/medusa@1.0.52
2020-12-09 19:11:36 +01:00
Sebastian Rindom ed4d2b4b3d fix: .gitignore 2020-12-09 19:11:02 +01:00
Sebastian Rindom 5410265143 chore(release): Publish
- @medusajs/medusa@1.0.51
2020-12-09 18:00:32 +01:00
Sebastian Rindom 59bb490c14 hotfix(medusa): missing this 2020-12-09 18:00:12 +01:00
Sebastian Rindom 911be9fa57 chore(release): Publish
- medusa-plugin-brightpearl@1.0.25
 - @medusajs/medusa@1.0.48
2020-12-02 17:38:22 +01:00
Sebastian Rindom 304431e7c3 fix: allow swaps with total < 0 (#143) 2020-12-02 17:37:46 +01:00
Sebastian Rindom 454504cdf4 chore(release): Publish
- medusa-plugin-brightpearl@1.0.24
 - @medusajs/medusa@1.0.47
2020-11-29 12:19:21 +01:00
Sebastian Rindom aae8d5e112 fix: swaps with discounts (#142) 2020-11-29 12:18:36 +01:00
Sebastian Rindom 9dbb40e287 chore(release): Publish
- @medusajs/medusa@1.0.46
2020-11-28 10:51:09 +01:00
Sebastian Rindom 9ea9b7ab77 hotfix(medusa): allow free products 2020-11-28 10:50:50 +01:00
Sebastian Rindom ec0268dbde chore(release): Publish
- @medusajs/medusa@1.0.45
2020-11-26 15:13:00 +01:00
Sebastian Rindom 83844de960 hotfix(medusa): adds variant retrieve/list endpoints 2020-11-26 15:12:37 +01:00
Sebastian Rindom dc801e83ba chore(release): Publish
- @medusajs/medusa@1.0.44
2020-11-24 14:45:23 +01:00
Sebastian Rindom 57b2e51334 hotfix(medusa): add discounts to swap cart 2020-11-24 14:45:07 +01:00
Sebastian Rindom 698ddc1e89 chore(release): Publish
- babel-preset-medusa-package@1.0.1
 - @medusajs/medusa-cli@1.0.11
 - medusa-core-utils@1.0.11
 - medusa-file-spaces@1.0.12
 - medusa-fulfillment-manual@1.0.12
 - medusa-fulfillment-webshipper@1.0.11
 - medusa-interfaces@1.0.14
 - medusa-payment-adyen@1.0.12
 - medusa-payment-klarna@1.0.13
 - medusa-payment-stripe@1.0.14
 - medusa-plugin-add-ons@1.0.7
 - medusa-plugin-brightpearl@1.0.23
 - medusa-plugin-contentful@1.0.13
 - medusa-plugin-economic@1.0.12
 - medusa-plugin-mailchimp@1.0.14
 - medusa-plugin-permissions@1.0.12
 - medusa-plugin-segment@1.0.14
 - medusa-plugin-sendgrid@1.0.13
 - medusa-plugin-slack-notification@1.0.12
 - medusa-plugin-twilio-sms@1.0.11
 - medusa-plugin-wishlist@1.0.12
 - medusa-test-utils@1.0.12
 - @medusajs/medusa@1.0.43
2020-11-24 14:03:42 +01:00
Sebastian Rindom fd04233238 feature: swaps (#137)
* feat: swap schema

* chore(refactor): move returns to separate service

* swap order creates return

* fix: adds returns/fulfillments/shipments and cart creation to swaps

* search products by variants

* feat: swaps ready

* fix: test passing

* chore: include customer expand fields on order

* add tests

* fix: add brightpearl plugin support

* fix: adds swap link template setting

* fix: tests

* fix(medusa-plugin-brightpearl): add swap status option

* docs: add swap description

* fix: adds GET swap in store api

* chore: unmock axios

* fix: passing klarna tests

* fix: pr
2020-11-24 14:02:49 +01:00
Sebastian Rindom c6996dd530 CircleCI project setup (#138) 2020-11-21 15:50:42 +01:00