Commit Graph

20 Commits

Author SHA1 Message Date
Sebastian Rindom
36c0f468f9 chore(release): Publish
- babel-preset-medusa-package@1.1.19
 - @medusajs/medusa-cli@1.1.24
 - medusa-core-utils@1.1.31
 - medusa-dev-cli@0.0.24
 - medusa-file-minio@1.0.1
 - medusa-file-s3@1.0.9
 - medusa-file-spaces@1.1.34
 - medusa-fulfillment-manual@1.1.31
 - medusa-fulfillment-webshipper@1.1.35
 - medusa-interfaces@1.1.32
 - @medusajs/medusa-js@1.0.6
 - medusa-payment-adyen@1.1.36
 - medusa-payment-klarna@1.1.36
 - medusa-payment-manual@1.0.13
 - medusa-payment-paypal@1.0.35
 - medusa-payment-stripe@1.1.35
 - medusa-plugin-add-ons@1.1.34
 - medusa-plugin-algolia@0.0.6
 - medusa-plugin-brightpearl@1.1.40
 - medusa-plugin-contentful@1.1.37
 - medusa-plugin-economic@1.1.34
 - medusa-plugin-mailchimp@1.1.34
 - medusa-plugin-meilisearch@0.0.12
 - medusa-plugin-permissions@1.1.34
 - medusa-plugin-restock-notification@0.0.27
 - medusa-plugin-segment@1.1.37
 - medusa-plugin-sendgrid@1.1.35
 - medusa-plugin-slack-notification@1.1.34
 - medusa-plugin-twilio-sms@1.1.34
 - medusa-plugin-wishlist@1.1.34
 - medusa-source-shopify@1.0.0
 - medusa-telemetry@0.0.11
 - medusa-test-utils@1.1.34
 - @medusajs/medusa@1.1.58
2021-12-08 13:21:54 +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
Sebastian Rindom
7586618d44 chore(release): Publish
- babel-preset-medusa-package@1.1.18
 - @medusajs/medusa-cli@1.1.23
 - medusa-dev-cli@0.0.23
 - medusa-payment-paypal@1.0.31
 - medusa-plugin-restock-notification@0.0.23
 - medusa-telemetry@0.0.10
 - @medusajs/medusa@1.1.54
2021-11-11 13:26:55 +01:00
Sebastian Rindom
528fc3a933 chore(release): Publish
- babel-preset-medusa-package@1.1.17
 - create-medusa-app@0.0.5
 - @medusajs/medusa-cli@1.1.22
 - medusa-core-utils@1.1.26
 - medusa-dev-cli@0.0.22
 - medusa-file-s3@1.0.4
 - medusa-file-spaces@1.1.29
 - medusa-fulfillment-manual@1.1.26
 - medusa-fulfillment-webshipper@1.1.30
 - medusa-interfaces@1.1.27
 - medusa-payment-adyen@1.1.31
 - medusa-payment-klarna@1.1.31
 - medusa-payment-manual@1.0.8
 - medusa-payment-paypal@1.0.30
 - medusa-payment-stripe@1.1.30
 - medusa-plugin-add-ons@1.1.29
 - medusa-plugin-brightpearl@1.1.34
 - medusa-plugin-contentful@1.1.31
 - medusa-plugin-discount-generator@1.1.19
 - medusa-plugin-economic@1.1.29
 - medusa-plugin-ip-lookup@1.1.19
 - medusa-plugin-mailchimp@1.1.29
 - medusa-plugin-meilisearch@0.0.5
 - medusa-plugin-permissions@1.1.29
 - medusa-plugin-restock-notification@0.0.22
 - medusa-plugin-segment@1.1.32
 - medusa-plugin-sendgrid@1.1.30
 - medusa-plugin-slack-notification@1.1.29
 - medusa-plugin-twilio-sms@1.1.29
 - medusa-plugin-wishlist@1.1.29
 - medusa-telemetry@0.0.9
 - medusa-test-utils@1.1.29
 - @medusajs/medusa@1.1.45
2021-10-18 17:55:22 +02:00
Sebastian Rindom
0eecc128dc chore(release): Publish
- babel-preset-medusa-package@1.1.16
 - create-medusa-app@0.0.4
 - @medusajs/medusa-cli@1.1.21
 - medusa-core-utils@1.1.25
 - medusa-dev-cli@0.0.21
 - medusa-file-s3@1.0.3
 - medusa-file-spaces@1.1.28
 - medusa-fulfillment-manual@1.1.25
 - medusa-fulfillment-webshipper@1.1.29
 - medusa-interfaces@1.1.26
 - medusa-payment-adyen@1.1.30
 - medusa-payment-klarna@1.1.30
 - medusa-payment-manual@1.0.7
 - medusa-payment-paypal@1.0.29
 - medusa-payment-stripe@1.1.29
 - medusa-plugin-add-ons@1.1.28
 - medusa-plugin-brightpearl@1.1.33
 - medusa-plugin-contentful@1.1.30
 - medusa-plugin-discount-generator@1.1.18
 - medusa-plugin-economic@1.1.28
 - medusa-plugin-ip-lookup@1.1.18
 - medusa-plugin-mailchimp@1.1.28
 - medusa-plugin-meilisearch@0.0.4
 - medusa-plugin-permissions@1.1.28
 - medusa-plugin-restock-notification@0.0.21
 - medusa-plugin-segment@1.1.31
 - medusa-plugin-sendgrid@1.1.29
 - medusa-plugin-slack-notification@1.1.28
 - medusa-plugin-twilio-sms@1.1.28
 - medusa-plugin-wishlist@1.1.28
 - medusa-telemetry@0.0.8
 - medusa-test-utils@1.1.28
 - @medusajs/medusa@1.1.44
2021-10-18 17:55:07 +02:00
Sebastian Rindom
7e8fbf8fc3 chore(release): Publish
- @medusajs/medusa-cli@1.1.20
 - medusa-core-utils@1.1.24
 - medusa-file-s3@1.0.2
 - medusa-file-spaces@1.1.27
 - medusa-fulfillment-manual@1.1.24
 - medusa-fulfillment-webshipper@1.1.28
 - medusa-interfaces@1.1.25
 - medusa-payment-adyen@1.1.29
 - medusa-payment-klarna@1.1.29
 - medusa-payment-manual@1.0.6
 - medusa-payment-paypal@1.0.28
 - medusa-payment-stripe@1.1.28
 - medusa-plugin-add-ons@1.1.27
 - medusa-plugin-brightpearl@1.1.32
 - medusa-plugin-contentful@1.1.29
 - medusa-plugin-discount-generator@1.1.17
 - medusa-plugin-economic@1.1.27
 - medusa-plugin-ip-lookup@1.1.17
 - medusa-plugin-mailchimp@1.1.27
 - medusa-plugin-meilisearch@0.0.3
 - medusa-plugin-permissions@1.1.27
 - medusa-plugin-restock-notification@0.0.20
 - medusa-plugin-segment@1.1.30
 - medusa-plugin-sendgrid@1.1.28
 - medusa-plugin-slack-notification@1.1.27
 - medusa-plugin-twilio-sms@1.1.27
 - medusa-plugin-wishlist@1.1.27
 - medusa-telemetry@0.0.7
 - medusa-test-utils@1.1.27
 - @medusajs/medusa@1.1.43
2021-10-18 17:30:12 +02:00
Sebastian Rindom
1b64a58605 chore(release): Publish
- @medusajs/medusa-cli@1.1.19
 - medusa-core-utils@1.1.23
 - medusa-file-s3@1.0.1
 - medusa-file-spaces@1.1.26
 - medusa-fulfillment-manual@1.1.23
 - medusa-fulfillment-webshipper@1.1.27
 - medusa-interfaces@1.1.24
 - medusa-payment-adyen@1.1.28
 - medusa-payment-klarna@1.1.28
 - medusa-payment-manual@1.0.5
 - medusa-payment-paypal@1.0.27
 - medusa-payment-stripe@1.1.27
 - medusa-plugin-add-ons@1.1.26
 - medusa-plugin-brightpearl@1.1.31
 - medusa-plugin-contentful@1.1.28
 - medusa-plugin-discount-generator@1.1.16
 - medusa-plugin-economic@1.1.26
 - medusa-plugin-ip-lookup@1.1.16
 - medusa-plugin-mailchimp@1.1.26
 - medusa-plugin-meilisearch@0.0.2
 - medusa-plugin-permissions@1.1.26
 - medusa-plugin-restock-notification@0.0.19
 - medusa-plugin-segment@1.1.29
 - medusa-plugin-sendgrid@1.1.27
 - medusa-plugin-slack-notification@1.1.26
 - medusa-plugin-twilio-sms@1.1.26
 - medusa-plugin-wishlist@1.1.26
 - medusa-telemetry@0.0.6
 - medusa-test-utils@1.1.26
 - @medusajs/medusa@1.1.42
2021-10-18 17:29:59 +02:00
Sebastian Rindom
f02cb638db chore: remove packages/*/.eslintrc|.prettierrc 2021-10-12 21:24:01 +02:00
Sebastian Rindom
9e181352d0 chore(release): Publish
- babel-preset-medusa-package@1.1.15
 - create-medusa-app@0.0.3
 - @medusajs/medusa-cli@1.1.18
 - medusa-core-utils@1.1.22
 - medusa-dev-cli@0.0.20
 - medusa-file-spaces@1.1.25
 - medusa-fulfillment-manual@1.1.22
 - medusa-fulfillment-webshipper@1.1.26
 - medusa-interfaces@1.1.23
 - medusa-payment-adyen@1.1.27
 - medusa-payment-klarna@1.1.27
 - medusa-payment-manual@1.0.4
 - medusa-payment-paypal@1.0.26
 - medusa-payment-stripe@1.1.25
 - medusa-plugin-add-ons@1.1.25
 - medusa-plugin-brightpearl@1.1.30
 - medusa-plugin-contentful@1.1.27
 - medusa-plugin-discount-generator@1.1.15
 - medusa-plugin-economic@1.1.25
 - medusa-plugin-ip-lookup@1.1.15
 - medusa-plugin-mailchimp@1.1.25
 - medusa-plugin-permissions@1.1.25
 - medusa-plugin-restock-notification@0.0.18
 - medusa-plugin-segment@1.1.28
 - medusa-plugin-sendgrid@1.1.26
 - medusa-plugin-slack-notification@1.1.25
 - medusa-plugin-twilio-sms@1.1.25
 - medusa-plugin-wishlist@1.1.25
 - medusa-telemetry@0.0.5
 - medusa-test-utils@1.1.25
 - @medusajs/medusa@1.1.40
2021-09-15 11:44:37 +02:00
Sebastian Rindom
1d05854fe4 chore(release): Publish
- babel-preset-medusa-package@1.1.14
 - create-medusa-app@0.0.1
 - @medusajs/medusa-cli@1.1.17
 - medusa-core-utils@1.1.21
 - medusa-dev-cli@0.0.19
 - medusa-file-spaces@1.1.24
 - medusa-fulfillment-manual@1.1.21
 - medusa-fulfillment-webshipper@1.1.25
 - medusa-interfaces@1.1.22
 - medusa-payment-adyen@1.1.26
 - medusa-payment-klarna@1.1.26
 - medusa-payment-manual@1.0.3
 - medusa-payment-paypal@1.0.25
 - medusa-payment-stripe@1.1.24
 - medusa-plugin-add-ons@1.1.24
 - medusa-plugin-brightpearl@1.1.29
 - medusa-plugin-contentful@1.1.26
 - medusa-plugin-discount-generator@1.1.14
 - medusa-plugin-economic@1.1.24
 - medusa-plugin-ip-lookup@1.1.14
 - medusa-plugin-mailchimp@1.1.24
 - medusa-plugin-permissions@1.1.24
 - medusa-plugin-restock-notification@0.0.17
 - medusa-plugin-segment@1.1.27
 - medusa-plugin-sendgrid@1.1.25
 - medusa-plugin-slack-notification@1.1.24
 - medusa-plugin-twilio-sms@1.1.24
 - medusa-plugin-wishlist@1.1.24
 - medusa-telemetry@0.0.4
 - medusa-test-utils@1.1.24
 - @medusajs/medusa@1.1.39
2021-09-14 18:28:37 +02:00
Sebastian Rindom
e7bfd6202f chore: release assist 2021-09-14 16:04:13 +02:00
Sebastian Mateos Nicolajsen
cf66f97758 feat: update and cancel swaps, claims, and returns (#310) 2021-09-10 13:57:34 +02:00
Kasper Fabricius Kristensen
16b0fa377a fix: make shipping_option_id on requirements optional (#340)
* changed validator so that reqiurement shipping_option_id is now optional + added integration test that confirms that when an update contains a requirement without an ID it is created

* fix: formatting

* fix: un-bump babel-preset-medusa-package

* chore: update yarn.lock

* fix: implemented suggested changes, need to validate behaviour on clean branch so NOT ready for merging just yet

* fix: implemented suggested changes, need to validate behaviour on clean branch so NOT ready for merging just yet

* afix: made it impossible to set a min. subtotal requirement that is greater than max. subtotal

* fix: added explanation to error

* fix: Error when removing requirement on update

Co-authored-by: olivermrbl <oliver@mrbltech.com>
2021-09-09 09:03:00 +02:00
Sebastian Rindom
690718602c chore(release): Publish
- @medusajs/medusa-cli@1.1.16
 - medusa-telemetry@0.0.3
 - @medusajs/medusa@1.1.37
2021-08-17 09:06:43 +02:00
Sebastian Rindom
1039d040e9 Add SQLite support for easy setup (#336)
* Modifies schema to allow SQLite as a DB driver. SQLite is preinstalled in most OSes allowing for minimal prerequisites in the installation process.

* Removes Redis dependency and replaces "real" redis instance with ioredis-mock this is not feature complete and errors are expected.

* Updates medusa new command to only ask for Postgres credentials if the starter template has database_type === "postgres" in medusa-config.js

* Small improvements to bin resolution

* Improvements to endpoint stability
2021-08-16 15:45:26 +02:00
Sebastian Rindom
8275b1623e chore(release): Publish
- @medusajs/medusa-cli@1.1.15
 - medusa-core-utils@1.1.20
 - medusa-file-spaces@1.1.23
 - medusa-fulfillment-manual@1.1.20
 - medusa-fulfillment-webshipper@1.1.24
 - medusa-interfaces@1.1.21
 - medusa-payment-adyen@1.1.25
 - medusa-payment-klarna@1.1.25
 - medusa-payment-manual@1.0.2
 - medusa-payment-paypal@1.0.24
 - medusa-payment-stripe@1.1.23
 - medusa-plugin-add-ons@1.1.23
 - medusa-plugin-brightpearl@1.1.28
 - medusa-plugin-contentful@1.1.25
 - medusa-plugin-economic@1.1.23
 - medusa-plugin-mailchimp@1.1.23
 - medusa-plugin-permissions@1.1.23
 - medusa-plugin-restock-notification@0.0.16
 - medusa-plugin-segment@1.1.26
 - medusa-plugin-sendgrid@1.1.24
 - medusa-plugin-slack-notification@1.1.23
 - medusa-plugin-twilio-sms@1.1.23
 - medusa-plugin-wishlist@1.1.23
 - medusa-telemetry@0.0.2
 - medusa-test-utils@1.1.23
 - @medusajs/medusa@1.1.34
2021-08-05 17:23:19 +02:00
Sebastian Rindom
c8d8fa28ca fix: deps 2021-08-05 13:22:05 +02:00
Sebastian Rindom
9475ed7689 fix: ci detection 2021-08-05 13:17:17 +02:00
Sebastian Rindom
b988b67118 fix: canary assist 2021-08-05 12:30:57 +02:00
Sebastian Rindom
cfe19f7f9d feat: medusa-telemetry (#328)
* feat: adds a telemetry package to collect anonymous usage data

* fix: update telemetry host

* fix: adds medusa telemetry --disable

* fix: add tracking of link,login,new

* fix: interactively collect db credentials

* fix: require seed file

* fix: removes tracking from reporter
2021-08-05 12:23:05 +02:00