Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Rindom 3258955b46 fix: don't divide zero decimal currencies 2021-03-22 11:00:56 +01:00
Sebastian Rindom cfab2d408a fix: don't divide zero decimal currencies 2021-03-22 10:31:22 +01:00
Sebastian Rindom 2b282bd742 chore(release): Publish
- @medusajs/medusa-cli@1.1.4
 - medusa-core-utils@1.1.3
 - medusa-dev-cli@0.0.4
 - medusa-file-spaces@1.1.6
 - medusa-fulfillment-manual@1.1.3
 - medusa-fulfillment-webshipper@1.1.6
 - medusa-interfaces@1.1.4
 - medusa-payment-adyen@1.1.6
 - medusa-payment-klarna@1.1.7
 - medusa-payment-paypal@1.0.6
 - medusa-payment-stripe@1.1.6
 - medusa-plugin-add-ons@1.1.6
 - medusa-plugin-brightpearl@1.1.8
 - medusa-plugin-contentful@1.1.7
 - medusa-plugin-economic@1.1.6
 - medusa-plugin-mailchimp@1.1.6
 - medusa-plugin-permissions@1.1.6
 - medusa-plugin-segment@1.1.8
 - medusa-plugin-sendgrid@1.1.7
 - medusa-plugin-slack-notification@1.1.6
 - medusa-plugin-twilio-sms@1.1.6
 - medusa-plugin-wishlist@1.1.6
 - medusa-test-utils@1.1.6
 - @medusajs/medusa@1.1.14
2021-03-17 14:59:22 +01:00
Sebastian Rindom e08e252a1b Merge pull request #207 from medusajs/fix/discount-usage-limit
fix(medusa): Add usage count and usage limit functionality to discounts
2021-03-17 14:56:51 +01:00
Sebastian Rindom 9ac68615a0 Merge pull request #210 from medusajs/hotfix/expose-order-status
fix: expose statusses on order
2021-03-17 14:47:43 +01:00
Sebastian Rindom 430810054e Merge pull request #209 from medusajs/hotfix/release-permissions
fix: allows publish from master
2021-03-17 14:39:31 +01:00
Sebastian Rindom a26b12a536 fix: expose statusses on order 2021-03-17 14:35:53 +01:00
Sebastian Rindom bf5e80f445 fix: allows publish from master 2021-03-17 14:16:08 +01:00
Sebastian Rindom dbb75c292e Merge pull request #208 from medusajs/release/next
Release
2021-03-17 13:59:33 +01:00
Sebastian Rindom 811c88b566 chore(release): Publish
- @medusajs/medusa-cli@1.1.3
 - medusa-core-utils@1.1.2
 - medusa-dev-cli@0.0.3
 - medusa-file-spaces@1.1.5
 - medusa-fulfillment-manual@1.1.2
 - medusa-fulfillment-webshipper@1.1.5
 - medusa-interfaces@1.1.3
 - medusa-payment-adyen@1.1.5
 - medusa-payment-klarna@1.1.6
 - medusa-payment-paypal@1.0.5
 - medusa-payment-stripe@1.1.5
 - medusa-plugin-add-ons@1.1.5
 - medusa-plugin-brightpearl@1.1.7
 - medusa-plugin-contentful@1.1.6
 - medusa-plugin-economic@1.1.5
 - medusa-plugin-mailchimp@1.1.5
 - medusa-plugin-permissions@1.1.5
 - medusa-plugin-segment@1.1.7
 - medusa-plugin-sendgrid@1.1.6
 - medusa-plugin-slack-notification@1.1.5
 - medusa-plugin-twilio-sms@1.1.5
 - medusa-plugin-wishlist@1.1.5
 - medusa-test-utils@1.1.5
 - @medusajs/medusa@1.1.13
2021-03-17 11:08:30 +01:00
Sebastian Rindom 441811235a chore(release): Publish
- @medusajs/medusa-cli@1.1.2
 - medusa-core-utils@1.1.1
 - medusa-dev-cli@0.0.2
 - medusa-file-spaces@1.1.4
 - medusa-fulfillment-manual@1.1.1
 - medusa-fulfillment-webshipper@1.1.4
 - medusa-interfaces@1.1.2
 - medusa-payment-adyen@1.1.4
 - medusa-payment-klarna@1.1.5
 - medusa-payment-paypal@1.0.4
 - medusa-payment-stripe@1.1.4
 - medusa-plugin-add-ons@1.1.4
 - medusa-plugin-brightpearl@1.1.6
 - medusa-plugin-contentful@1.1.5
 - medusa-plugin-economic@1.1.4
 - medusa-plugin-mailchimp@1.1.4
 - medusa-plugin-permissions@1.1.4
 - medusa-plugin-segment@1.1.6
 - medusa-plugin-sendgrid@1.1.5
 - medusa-plugin-slack-notification@1.1.4
 - medusa-plugin-twilio-sms@1.1.4
 - medusa-plugin-wishlist@1.1.4
 - medusa-test-utils@1.1.4
 - @medusajs/medusa@1.1.12
2021-03-17 11:07:15 +01:00
Sebastian Rindom edbcc10983 chore: cli version 2021-03-17 11:05:51 +01:00
Sebastian Rindom dc450c6cb1 chore: contentful version 2021-03-17 11:03:09 +01:00
Sebastian Rindom 3c3d6a0d8f fix 2021-03-17 08:43:49 +01:00
Sebastian Rindom 29693bb666 Merge remote-tracking branch 'origin/develop' into release/next 2021-03-17 08:34:56 +01:00
Sebastian Rindom 227cdb6222 fix: contentful sync (#206) 2021-03-17 08:34:38 +01:00
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