Commit Graph

2118 Commits

Author SHA1 Message Date
Sebastian Rindom 5cb09184d4 chore: merge master 2021-12-08 10:12:22 +01:00
Sebastian Mateos Nicolajsen 2aac1551d2 Docs/stripe payment (#844)
* initial outline

* added intitial docs for stripe

* centered imgs

* corrected plugins dah

* updated according to comments
2021-12-08 10:11:13 +01:00
Kasper Fabricius Kristensen 577bcc23d4 feat: medusa-source-shopify loader (#563)
* added statuses to product + unit test for updating status

* add update to product model

* added integration tests

* added integration test to validate that updating status to null results in invalid_data error

* removed comment

* update GET /store/products integration test

* fixed unit test with IdMap

* init plugin

* changed dbehaviour on invalid status input on admin list products

* mprices

* updated migration to add status = published on all existing products + added integration test on GET /admin/products when status null is provided

* merged product status

* init ShopifyService

* made requested changes to migration and GET /store/products

* fixed test

* made requested changes to migration

* push progress on source plugin

* add webhook product/create handler

* fixed normalization of variant weight

* removed weight func

* work on events

* finished product hooks (error on new variant needs to be fixed)

* fixed order status

* create fulfillments

* update fulfillment on cancel

* refactored services, handle returns though medusa, helper methods

* order updates

* removed dist

* update gitignore

* emit cahnges to product

* added redis ignore check to prevent update loops

* fixed product-variant.deleted event

* fix more events

* fix test

* fix: order taxes

* added refund with no items

* fixes to hooks

* fixed handling refunds and returns issued from Shopify

* added unit tests to ShopifyProductService and ShopifyCollectionService

* linting fix

* prepared loader PR

* fix: jsDocs

* fix: pager

* fix: build output and babelrc

* chore: linting

* fix: address type

* fix: migration clean up

* fix: update snapshots with ext_ids

Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
2021-12-08 10:09:21 +01:00
Edin Skeja f2ba4018fc medusa-file-minio (#883)
* A first commit for medusa-file-minio

* Cleanup and remove unnecessary env vars

* Update packages

* Small fix big letter
2021-12-08 10:04:47 +01:00
Sebastian Rindom 2c9df0f7f7 chore: merge master 2021-12-08 09:56:59 +01:00
Sebastian Rindom 329767e279 fix: ensures that delayed restock notifications are being sent (#881)
* fix: ensures that delayed restock notifications are being sent

* fix: default options to empty object

* fix: tests
2021-12-08 09:55:00 +01:00
Adrien de Peretti b212afae50 Feat() Add readme to integration-tests (#862) 2021-12-08 09:54:45 +01:00
Sebastian Rindom 7d6fc5c9e1 fix: widen range of discount limit conditions (#895) 2021-12-08 09:42:45 +01:00
Sebastian Rindom ed04132533 fix(medusa): migrate cart service to typescript (#884)
* fix: migrate cart service to typescript

* fix: jsdoc inventory service

* fix: revert route unit test change

* fix: typo

* fix: revert integration test packages

* fix: cleanup

* fix: tests

* fix: integration tests

* fix: create props type guards

* fix: move total field to common types
2021-12-07 19:26:00 +01:00
Niketan Gulekar 03ffab5d61 Documentation for File Service (#894) 2021-12-07 19:21:23 +01:00
Zakaria El Asri e8b6d2139d fix: return reasons type (#893) 2021-12-07 17:23:32 +01:00
Oliver Windall Juhl 6579c13111 feat: Admin shipping options routes to Typescript (#891) 2021-12-07 17:07:23 +01:00
Zakaria El Asri 487356a96f fix: medusa-js complete cart types + oas comments (#889) 2021-12-07 11:02:53 +01:00
Derek Wene 4e7a92c1b6 Fix draft order line items (#873) 2021-12-07 11:02:35 +01:00
Zakaria El Asri e0064026ed fix: update payment session route (#887) 2021-12-07 10:11:03 +01:00
Zakaria El Asri efadffe37a fix: refresh payment session oas comment (#888) 2021-12-07 10:10:07 +01:00
Derek Wene 89472b7d88 fix(medusa): order tax_rate type (#879)
* fix(order): tax_rate column should be numeric, not integer, since region.tax_rate uses numeric

* chore: cleanup

* fix(tax_rate): use REAL database numeric type for tax_rate column on order and region
2021-12-06 09:58:04 +01:00
Kio 1690b64910 small typo (#880)
small typo, small fix. <3
2021-12-03 16:47:26 +01:00
Philip Korsholm 80089d04d8 Fix: get fulfillment options (#852) 2021-12-03 13:19:25 +01:00
Joey Eamigh 64b93b5953 adding proper support for the spaces_url param (#876) 2021-12-03 09:44:57 +01:00
Kennan Seno 0523d9478f Update doc and website references to new domain (#856) 2021-12-01 18:11:34 +01:00
Oliver Windall Juhl 33bdb8f06c fix: Docs redirect to new domain (#853) 2021-12-01 15:39:01 +01:00
Zakaria El Asri 74bc9c618f fix: create cart with items (#851)
* fix: create cart with items

* remove: verbose mode

* fix: unit test
2021-12-01 10:53:01 +01:00
Zakaria El Asri 032fcb97ca fix: fine-tuning (#847)
fix: checkout guide markdown + punctuation
fix: remove @docusaurus/theme-search-algolia from project root package.json
fix: use 400 font-weight for paragraphs as opposed to current 450
2021-11-26 14:41:01 +01:00
Oliver Windall Juhl 1de0b28f38 docs: Adds guides for plugins and storefront starters (#840) 2021-11-23 18:08:00 +01:00
Sebastian Rindom dec205f38e Update quick-start.md (#838) 2021-11-23 10:04:27 +01:00
Sebastian Rindom 7f7682ef01 chore: remove gitignored files 2021-11-23 09:54:59 +01:00
Sebastian Rindom 0846222d19 chore: merge master 2021-11-23 09:53:59 +01:00
Sebastian Rindom 4fcf9c1ee5 chore(release): Publish
- medusa-core-utils@1.1.30
 - medusa-file-s3@1.0.8
 - medusa-file-spaces@1.1.33
 - medusa-fulfillment-manual@1.1.30
 - medusa-fulfillment-webshipper@1.1.34
 - medusa-interfaces@1.1.31
 - @medusajs/medusa-js@1.0.5
 - medusa-payment-adyen@1.1.35
 - medusa-payment-klarna@1.1.35
 - medusa-payment-manual@1.0.12
 - medusa-payment-paypal@1.0.34
 - medusa-payment-stripe@1.1.34
 - medusa-plugin-add-ons@1.1.33
 - medusa-plugin-algolia@0.0.5
 - medusa-plugin-brightpearl@1.1.39
 - medusa-plugin-contentful@1.1.36
 - medusa-plugin-economic@1.1.33
 - medusa-plugin-mailchimp@1.1.33
 - medusa-plugin-meilisearch@0.0.11
 - medusa-plugin-permissions@1.1.33
 - medusa-plugin-restock-notification@0.0.26
 - medusa-plugin-segment@1.1.36
 - medusa-plugin-sendgrid@1.1.34
 - medusa-plugin-slack-notification@1.1.33
 - medusa-plugin-twilio-sms@1.1.33
 - medusa-plugin-wishlist@1.1.33
 - medusa-test-utils@1.1.33
 - @medusajs/medusa@1.1.57
2021-11-23 09:49:33 +01:00
Sebastian Rindom 38b0e295b2 fix: bumps class-transformer to 0.5.1 (#837)
* fix: bumps class transformer to 0.5.1

* fix(medusa): bumps class transformer to 0.5.1
2021-11-23 09:47:16 +01:00
Oliver Windall Juhl ab84aca9cb chore: Add medusa-js README (#828) 2021-11-23 09:14:02 +01:00
Dmitriy Fishman f43908c4fb Update fulfillment-api.md (#834) 2021-11-23 09:13:13 +01:00
Zakaria El Asri ded496cee5 fix: medusa-js fine-tuning (#836) 2021-11-22 23:30:36 +01:00
olivermrbl 948f8b2593 chore: release assist 2021-11-22 17:18:27 +01:00
Oliver Juhl 7770046479 chore(release): Publish
- medusa-core-utils@1.1.29
 - medusa-file-s3@1.0.7
 - medusa-file-spaces@1.1.32
 - medusa-fulfillment-manual@1.1.29
 - medusa-fulfillment-webshipper@1.1.33
 - medusa-interfaces@1.1.30
 - @medusajs/medusa-js@1.0.4
 - medusa-payment-adyen@1.1.34
 - medusa-payment-klarna@1.1.34
 - medusa-payment-manual@1.0.11
 - medusa-payment-paypal@1.0.33
 - medusa-payment-stripe@1.1.33
 - medusa-plugin-add-ons@1.1.32
 - medusa-plugin-algolia@0.0.4
 - medusa-plugin-brightpearl@1.1.38
 - medusa-plugin-contentful@1.1.35
 - medusa-plugin-economic@1.1.32
 - medusa-plugin-mailchimp@1.1.32
 - medusa-plugin-meilisearch@0.0.10
 - medusa-plugin-permissions@1.1.32
 - medusa-plugin-restock-notification@0.0.25
 - medusa-plugin-segment@1.1.35
 - medusa-plugin-sendgrid@1.1.33
 - medusa-plugin-slack-notification@1.1.32
 - medusa-plugin-twilio-sms@1.1.32
 - medusa-plugin-wishlist@1.1.32
 - medusa-test-utils@1.1.32
 - @medusajs/medusa@1.1.56
2021-11-22 17:10:54 +01:00
Oliver Windall Juhl 0380cdf0b2 docs: Adds new index page and design tweaks (#833) 2021-11-22 17:01:18 +01:00
olivermrbl b7329e9083 Merge branch 'develop' of https://github.com/medusajs/medusa into develop 2021-11-22 13:41:20 +01:00
olivermrbl 72c5030da3 Merge branch 'master' into develop 2021-11-22 13:40:55 +01:00
Oliver Windall Juhl f387b4919f fix: Addresses breaking change from library class-transformer (#835)
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com>
2021-11-22 13:39:38 +01:00
Sebastian Rindom 8f0879a785 Merge remote-tracking branch 'origin/master' into develop 2021-11-20 16:00:44 +01:00
Sebastian Rindom 59761163c2 chore: merge release 2021-11-20 15:59:31 +01:00
Derek Wene ebb7c0aa53 Fix: admin api create customer (#826) 2021-11-20 11:50:28 +01:00
Sebastian Rindom 11e1808bc7 chore(release): Publish
- @medusajs/medusa-js@1.0.3
 - @medusajs/medusa@1.1.55
2021-11-19 10:51:04 +01:00
Sebastian Rindom 5fa4848b17 fix: release 2021-11-19 10:50:47 +01:00
Sebastian Rindom 322466bc99 chore(release): Publish
- medusa-core-utils@1.1.28
 - medusa-file-s3@1.0.6
 - medusa-file-spaces@1.1.31
 - medusa-fulfillment-manual@1.1.28
 - medusa-fulfillment-webshipper@1.1.32
 - medusa-interfaces@1.1.29
 - @medusajs/medusa-js@1.0.2
 - medusa-payment-adyen@1.1.33
 - medusa-payment-klarna@1.1.33
 - medusa-payment-manual@1.0.10
 - medusa-payment-paypal@1.0.32
 - medusa-payment-stripe@1.1.32
 - medusa-plugin-add-ons@1.1.31
 - medusa-plugin-algolia@0.0.3
 - medusa-plugin-brightpearl@1.1.37
 - medusa-plugin-contentful@1.1.34
 - medusa-plugin-economic@1.1.31
 - medusa-plugin-mailchimp@1.1.31
 - medusa-plugin-meilisearch@0.0.9
 - medusa-plugin-permissions@1.1.31
 - medusa-plugin-restock-notification@0.0.24
 - medusa-plugin-segment@1.1.34
 - medusa-plugin-sendgrid@1.1.32
 - medusa-plugin-slack-notification@1.1.31
 - medusa-plugin-twilio-sms@1.1.31
 - medusa-plugin-wishlist@1.1.31
 - medusa-test-utils@1.1.31
 - @medusajs/medusa@1.1.54
2021-11-19 10:30:35 +01:00
Sebastian Rindom 7017015f1c chore: release assist 2021-11-19 10:29:58 +01:00
Sebastian Rindom aa460f6359 chore: release assist 2021-11-19 10:29:02 +01:00
Sebastian Rindom a69b1e85be chore(release): Publish
- medusa-core-utils@1.1.27
 - medusa-file-s3@1.0.5
 - medusa-file-spaces@1.1.30
 - medusa-fulfillment-manual@1.1.27
 - medusa-fulfillment-webshipper@1.1.31
 - medusa-interfaces@1.1.28
 - @medusajs/medusa-js@1.0.1
 - medusa-payment-adyen@1.1.32
 - medusa-payment-klarna@1.1.32
 - medusa-payment-manual@1.0.9
 - medusa-payment-paypal@1.0.31
 - medusa-payment-stripe@1.1.31
 - medusa-plugin-add-ons@1.1.30
 - medusa-plugin-algolia@0.0.2
 - medusa-plugin-brightpearl@1.1.36
 - medusa-plugin-contentful@1.1.33
 - medusa-plugin-economic@1.1.30
 - medusa-plugin-mailchimp@1.1.30
 - medusa-plugin-meilisearch@0.0.8
 - medusa-plugin-permissions@1.1.30
 - medusa-plugin-restock-notification@0.0.23
 - medusa-plugin-segment@1.1.33
 - medusa-plugin-sendgrid@1.1.31
 - medusa-plugin-slack-notification@1.1.30
 - medusa-plugin-twilio-sms@1.1.30
 - medusa-plugin-wishlist@1.1.30
 - medusa-test-utils@1.1.30
 - @medusajs/medusa@1.1.53
2021-11-19 10:26:29 +01:00
Philip Korsholm f162b4a2a1 Feat/api reference curl examples (#720)
* curl reference initial

* add tooltips to curl command

* refactor copy component

* move copy to copy component

* formatting

* always include required fields

* add example values

* format svg

* fix property extraction

* explainer comment
2021-11-19 10:18:16 +01:00
Derek Wene 2d9879ea09 feat: admin api - allow customers to be created and updated with metadata (#824)
* feat: admin api - allow customers to be created and updated with metadata

* feat: add integration test for metadata
2021-11-18 18:50:36 +01:00