Commit Graph

902 Commits

Author SHA1 Message Date
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
Kasper Fabricius Kristensen
f07cc0fa40 feat: In band inventory updates (#311)
Co-authored-by: olivermrbl <oliver@mrbltech.com>
2021-08-05 12:21:15 +02:00
Oliver Windall Juhl
6053c4a8dd feat: Add discountable flag to product (#329) 2021-08-05 10:40:12 +02:00
Zakaria El Asri
821d8be733 feat: add route for retrieving a swap (#326)
* feat: swap details

* test: add get-swap and list-swaps route tests

* test: add swaps integration tests

* fix: use IdMap.getId in complete-cart unit test

commit 289d191 uses the IdMap.getId in the SwapServiceMock retrieve method, so a unit test in complete-cart needs to be adjusted accordingly

* fix: prefix default fields and totals with 'cart'
2021-07-29 16:47:33 +01:00
Sebastian Rindom
329f8b134c chore(release): Publish
- babel-preset-medusa-package@1.1.13
 - @medusajs/medusa-cli@1.1.14
 - medusa-core-utils@1.1.19
 - medusa-dev-cli@0.0.18
 - medusa-file-spaces@1.1.22
 - medusa-fulfillment-manual@1.1.19
 - medusa-fulfillment-webshipper@1.1.23
 - medusa-interfaces@1.1.20
 - medusa-payment-adyen@1.1.24
 - medusa-payment-klarna@1.1.24
 - medusa-payment-manual@1.0.1
 - medusa-payment-paypal@1.0.23
 - medusa-payment-stripe@1.1.22
 - medusa-plugin-add-ons@1.1.22
 - medusa-plugin-brightpearl@1.1.27
 - medusa-plugin-contentful@1.1.24
 - medusa-plugin-discount-generator@1.1.13
 - medusa-plugin-economic@1.1.22
 - medusa-plugin-ip-lookup@1.1.13
 - medusa-plugin-mailchimp@1.1.22
 - medusa-plugin-permissions@1.1.22
 - medusa-plugin-restock-notification@0.0.15
 - medusa-plugin-segment@1.1.25
 - medusa-plugin-sendgrid@1.1.23
 - medusa-plugin-slack-notification@1.1.22
 - medusa-plugin-twilio-sms@1.1.22
 - medusa-plugin-wishlist@1.1.22
 - medusa-test-utils@1.1.22
 - @medusajs/medusa@1.1.33
2021-07-26 13:01:59 +02:00
Sebastian Rindom
4e003bebaa fix: support wishlist (#325) 2021-07-26 12:29:36 +02:00
Sebastian Rindom
f4a7138a58 feat: CLI + local linking (#313)
* fix: allow local cmd without exiting process

* fix: improves cli experience

* fix: allow running link with --develop

* test: adds snapshot testing of error logs

* chore: cleanup

* feat(medusa-cli): new command (#320)

* adds: new command

* fix: creates  command for easy project setup

* chore: deps

* chore: deps

* fix: loggin

* fix: logging

* fix: adds cli as dependency in core

* fix: consolidates CLI in medusa

* fix: use project deps medusa bin

* fix: use project deps medusa bin

* fix: use cli path

* fix: new command setup db + env vars

* fix: new command with db seed

* fix: cleanup
2021-07-26 10:09:55 +02:00
Sebastian Rindom
804a2f6ed9 docs: adds tutorial (#323)
* docs: adds installation guide for tutorial

* docs: adds creating your medusa server guide

* add quick starter

* rename to reflect docker usage

* docs: adds custom functionality tutorial

* docs: adds linking with medusa cloud

* fix: PR

Co-authored-by: olivermrbl <oliver@mrbltech.com>
2021-07-25 09:58:16 +02:00
Zakaria El Asri
06fd882a67 fix: parameterize integration tests' db credentials (#319)
* add: read db credentials from .env

* remove: console.log

* fix: default to default pg user and password
2021-07-23 11:27:05 +01:00
Zakaria El Asri
b378a4f8bc fix: enforce 1 shipping method per profile (#322)
prevents the scenario where multiple concurrent calls to insert a shipping method may lead to an inconsistent cart state with more than 1 shipping method per profile.
2021-07-23 11:26:20 +01:00
Abraham Ugbeshe
8c26a5fd88 chore: issue #299: implemented DUPLICATE_ERROR in places necessary (#314) 2021-07-22 18:28:12 +02:00
Sebastian Rindom
8783de17cd Feat/manual payment (#318)
What
A dummy payment provider for testing and potentially other relevant use cases like accepting cash payments. Also makes it possible to start server without notification/payment/fulfillment providers.

Why
When setting up a starter project it introduces unnecessary overhead to have to set up an account with a payment provider (e.g. Stripe). Adding a dummy provider will remove friction.

How
Extremely simple wrapper functionality.
2021-07-16 17:03:35 +02:00
olivermrbl
62b361ecfd chore(release): Publish
- @medusajs/medusa@1.1.32
2021-07-16 10:29:42 +02:00
Oliver Windall Juhl
fb14ca7124 hotfix: Add swaps.additional_items relation to order total calculation (#317) 2021-07-16 10:29:03 +02:00
Sebastian Rindom
f96d0d3ac9 chore(release): Publish
- babel-preset-medusa-package@1.1.12
 - @medusajs/medusa-cli@1.1.13
 - medusa-core-utils@1.1.18
 - medusa-dev-cli@0.0.17
 - medusa-file-spaces@1.1.21
 - medusa-fulfillment-manual@1.1.18
 - medusa-fulfillment-webshipper@1.1.22
 - medusa-interfaces@1.1.19
 - medusa-payment-adyen@1.1.23
 - medusa-payment-klarna@1.1.23
 - medusa-payment-paypal@1.0.22
 - medusa-payment-stripe@1.1.21
 - medusa-plugin-add-ons@1.1.21
 - medusa-plugin-brightpearl@1.1.26
 - medusa-plugin-contentful@1.1.23
 - medusa-plugin-discount-generator@1.1.12
 - medusa-plugin-economic@1.1.21
 - medusa-plugin-ip-lookup@1.1.12
 - medusa-plugin-mailchimp@1.1.21
 - medusa-plugin-permissions@1.1.21
 - medusa-plugin-restock-notification@0.0.14
 - medusa-plugin-segment@1.1.24
 - medusa-plugin-sendgrid@1.1.22
 - medusa-plugin-slack-notification@1.1.21
 - medusa-plugin-twilio-sms@1.1.21
 - medusa-plugin-wishlist@1.1.21
 - medusa-test-utils@1.1.21
 - @medusajs/medusa@1.1.31
2021-07-15 11:20:19 +02:00
Sebastian Rindom
ef7e52b74b hotfix(medusa-plugin-brightpearl): use new metadata signature (#316)
* hotfix(medusa-plugin-brightpearl): use new metadata signature

* fix: update signature
2021-07-15 11:18:44 +02:00
Sebastian Rindom
2585e958de release: next (#315)
Co-authored-by: Sebastian Mateos Nicolajsen <sebastian.m.nicolajsen@gmail.com>
Co-authored-by: Abraham Ugbeshe <abrahamugbeshe@gmail.com>
Co-authored-by: olivermrbl <oliver@mrbltech.com>
2021-07-15 09:37:27 +02:00
olivermrbl
44d31b4d83 chore(release): Publish
- babel-preset-medusa-package@1.1.10
 - @medusajs/medusa-cli@1.1.11
 - medusa-core-utils@1.1.16
 - medusa-dev-cli@0.0.15
 - medusa-file-spaces@1.1.19
 - medusa-fulfillment-manual@1.1.16
 - medusa-fulfillment-webshipper@1.1.20
 - medusa-interfaces@1.1.17
 - medusa-payment-adyen@1.1.21
 - medusa-payment-klarna@1.1.21
 - medusa-payment-paypal@1.0.20
 - medusa-payment-stripe@1.1.19
 - medusa-plugin-add-ons@1.1.19
 - medusa-plugin-brightpearl@1.1.24
 - medusa-plugin-contentful@1.1.21
 - medusa-plugin-discount-generator@1.1.10
 - medusa-plugin-economic@1.1.19
 - medusa-plugin-ip-lookup@1.1.10
 - medusa-plugin-mailchimp@1.1.19
 - medusa-plugin-permissions@1.1.19
 - medusa-plugin-restock-notification@0.0.12
 - medusa-plugin-segment@1.1.22
 - medusa-plugin-sendgrid@1.1.20
 - medusa-plugin-slack-notification@1.1.19
 - medusa-plugin-twilio-sms@1.1.19
 - medusa-plugin-wishlist@1.1.19
 - medusa-test-utils@1.1.19
 - @medusajs/medusa@1.1.29
2021-07-02 14:45:24 +02:00
Oliver Windall Juhl
8838b506c8 hotfix(medusa): Optimize swap repository findOne and find (#301) 2021-07-02 14:43:06 +02:00
Sebastian Rindom
1d21fa5010 chore(release): Publish
- medusa-plugin-brightpearl@1.1.23
 - medusa-plugin-contentful@1.1.20
 - medusa-plugin-restock-notification@0.0.11
 - @medusajs/medusa@1.1.28
2021-06-24 17:58:36 +02:00
Sebastian Rindom
a9425abcce Merge remote-tracking branch 'origin/develop' into release/next 2021-06-24 17:57:45 +02:00
Oliver Windall Juhl
c1bec4f843 cleanup: Eventbus, BP, Contentful, NotificationService (#292) 2021-06-24 17:56:02 +02:00
Sebastian Rindom
47cb022db4 chore(release): Publish
- medusa-plugin-brightpearl@1.1.22
2021-06-23 17:54:53 +02:00
Sebastian Rindom
fd82de6ef9 fix(brightpearl): chunked product availabilities in sync 2021-06-23 17:54:32 +02:00
Sebastian Rindom
91a48174b0 chore(release): Publish
- medusa-payment-adyen@1.1.20
2021-06-23 13:33:05 +02:00
Sebastian Rindom
9fee57f54f hotfix: endpoint 2021-06-23 13:32:27 +02:00
Sebastian Rindom
e10b2a674f chore(release): Publish
- medusa-payment-adyen@1.1.19
2021-06-23 13:30:49 +02:00
Sebastian Rindom
aad49ea355 hotfix: endpoint 2021-06-23 13:30:28 +02:00
Sebastian Rindom
d6f0bf50ef Merge branch 'master' into release/next 2021-06-22 15:48:02 +02:00
Sebastian Rindom
847458d010 chore(release): Publish
- medusa-payment-klarna@1.1.20
2021-06-22 15:41:12 +02:00
Sebastian Rindom
d759fb4862 chore(release): Publish
- babel-preset-medusa-package@1.1.9
 - @medusajs/medusa-cli@1.1.10
 - medusa-core-utils@1.1.15
 - medusa-dev-cli@0.0.14
 - medusa-file-spaces@1.1.18
 - medusa-fulfillment-manual@1.1.15
 - medusa-fulfillment-webshipper@1.1.19
 - medusa-interfaces@1.1.16
 - medusa-payment-adyen@1.1.18
 - medusa-payment-klarna@1.1.19
 - medusa-payment-paypal@1.0.19
 - medusa-payment-stripe@1.1.18
 - medusa-plugin-add-ons@1.1.18
 - medusa-plugin-brightpearl@1.1.21
 - medusa-plugin-contentful@1.1.19
 - medusa-plugin-discount-generator@1.1.9
 - medusa-plugin-economic@1.1.18
 - medusa-plugin-ip-lookup@1.1.9
 - medusa-plugin-mailchimp@1.1.18
 - medusa-plugin-permissions@1.1.18
 - medusa-plugin-restock-notification@0.0.10
 - medusa-plugin-segment@1.1.21
 - medusa-plugin-sendgrid@1.1.19
 - medusa-plugin-slack-notification@1.1.18
 - medusa-plugin-twilio-sms@1.1.18
 - medusa-plugin-wishlist@1.1.18
 - medusa-test-utils@1.1.18
 - @medusajs/medusa@1.1.27
2021-06-22 15:40:38 +02:00
Sebastian Rindom
668e8a7402 fix: release assist 2021-06-22 15:19:33 +02:00
Sebastian Rindom
db9d6c0cf5 Merge pull request #271 from medusajs/fix/mp
Fix/mp
2021-06-22 10:38:44 +02:00
Oliver Windall Juhl
350603ac57 fix: Adds manual return option (#290) 2021-06-22 09:05:17 +02:00
Sebastian Rindom
5829550517 fix: lint 2021-06-21 17:13:42 +02:00
Sebastian Rindom
c88c407096 fix: giftcard-order relation 2021-06-21 17:10:50 +02:00
Sebastian Rindom
57cf37d455 Merge remote-tracking branch 'origin/develop' into feat/stripe-giropay 2021-06-21 14:41:37 +02:00
Sebastian Rindom
5873682491 feat(stripe): adds giropay provider 2021-06-21 14:38:41 +02:00
Sebastian Rindom
05bda956d9 fix: wrong custom field 2021-06-17 10:57:02 +02:00
Sebastian Rindom
0d3e8f717d Merge pull request #284 from medusajs/fix/idable-fields
fix: adds transformer to map field names to field_id names
2021-06-16 08:54:14 +02:00
Sebastian Rindom
3c8d90e395 docs: tests + docs 2021-06-16 08:07:29 +02:00
Sebastian Rindom
712a2395ec docs: tests + docs 2021-06-16 08:07:12 +02:00
Sebastian Rindom
5fbadc688b Merge pull request #281 from medusajs/feat/contentful-extension
fix(contentful): add region sync + improvements
2021-06-16 07:46:07 +02:00
Sebastian Rindom
4b6445a1b0 fix: typo 2021-06-15 18:08:49 +02:00
Sebastian Rindom
88d96a29fd fix: adds transformer to map field names to field_id names 2021-06-15 17:55:22 +02:00
Sebastian Rindom
8e29e6e63c fix: region sync 2021-06-15 15:45:59 +02:00
Sebastian Rindom
27173d7e6a wip 2021-06-15 15:03:03 +02:00