Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Rindom d9608e15e8 fix: autofix 2021-10-13 20:19:09 +02:00
Sebastian Rindom ba2d92341d Revert "fixed linting errors on packages/medusa/src/services/user.js #531 (#543)" (#547)
This reverts commit cf5b405a56.
2021-10-13 19:50:10 +02:00
Sebastian Rindom 8d7d0e4b05 fix: add prettier rules to eslint 2021-10-13 16:12:11 +02:00
Sebastian Rindom 751d1edd62 fix: update circleci node 2021-10-12 22:34:09 +02:00
Sebastian Rindom 43a2b07866 fix: example 2021-10-12 22:13:52 +02:00
Sebastian Rindom 442d4ff3c9 fix: correct path 2021-10-12 22:10:36 +02:00
Sebastian Rindom 30b6a793f1 chore: add lint-staged + husky 2021-10-12 22:09:46 +02:00
Sebastian Rindom f02cb638db chore: remove packages/*/.eslintrc|.prettierrc 2021-10-12 21:24:01 +02:00
Sebastian Rindom eb95b4d7bc Merge remote-tracking branch 'origin/master' into develop 2021-10-01 13:20:24 +02:00
Sebastian Rindom 27ebe2aaf9 Merge release/next 2021-10-01 13:20:00 +02:00
Sebastian Rindom 70c101c8a5 merge master 2021-10-01 13:00:53 +02:00
Sebastian Rindom d8e531890d fix: update seeder to product published (#423) 2021-09-29 14:07:39 +02:00
Sebastian Rindom 4ee6c0afb2 docs: Carts in Medusa (#406) 2021-09-21 08:03:18 +02:00
Sebastian RindomandColdMeekly bf43896d19 fix: customer endpoints shouldn't use customer id already provided through authentication (#402)
* Updated customers/:id to customers/me - untested

* fix: integration +unit tests

* docs: fix oas docs

Co-authored-by: ColdMeekly <20516479+ColdMeekly@users.noreply.github.com>
2021-09-17 08:27:46 +02:00
Sebastian Rindom dd1025fd53 fix: flip seed flag to default to true (#398) 2021-09-15 11:15:00 +02:00
Sebastian Rindom 59bb3a62c6 docs: add guide on fulfillment api (#388)
* Create fulfillment-api.md

* fix: sidebar
2021-09-13 19:26:11 +02:00
Sebastian Rindom 0812acaf0d fix: adds transform medusa ids (#385) 2021-09-12 11:29:57 +02:00
Sebastian Rindom ec6d16e945 feat: adds create-medusa-app (#377)
* feat: copied from medusa-cli

* chore: gitignore

* fix: add admin + storefront

* fix: dev experience enhancement
2021-09-10 16:02:54 +02:00
Sebastian Rindom da40c240d1 Update README.md 2021-09-08 08:10:43 +02:00
Sebastian Rindom ae82cfc70a feat: creates support for swaps on the storefront (#355) 2021-08-30 12:14:56 +02:00
Sebastian Rindom bd1e115696 fix: account for non-division currencies in sales credit (#342) 2021-08-30 12:03:46 +02:00
Sebastian Rindom 40400b483c chore(release): Publish
- @medusajs/medusa@1.1.38
2021-08-17 13:19:49 +02:00
Sebastian Rindom 8f60f430cc fix: add cross-spawn (#341) 2021-08-17 13:18:25 +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 617e13a56b Update README.md (#337)
* Update README.md

* Update README.md

* Update README.md

* Create CONTRIBUTING.md

* Update README.md

* Update README.md

* Update CONTRIBUTING.md

* Update README.md
2021-08-17 09:05:54 +02:00
Sebastian Rindom 9467f7ecbd fix: build openapi (#338) 2021-08-16 15:45:50 +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 09d1b1a141 chore(release): Publish
- @medusajs/medusa@1.1.36
2021-08-11 09:37:47 +02:00
Sebastian Rindom 9a701ff229 fix: improves integration tests (#332)
* fix: improves integration tests

* fix: giftcard order with total 0

* fix: remove breaking eager
2021-08-11 09:26:25 +02:00
Sebastian Rindom 8edf8aacfa chore(release): Publish
- @medusajs/medusa@1.1.35
2021-08-09 16:34:37 +02:00
Sebastian Rindom 3d65ed9b78 hotfix(medusa): null check 2021-08-09 16:34:12 +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 1295ceb792 fix: return lines allow_discounts 2021-08-05 17:01:11 +02:00
Sebastian Rindom 65d50724a6 Merge remote-tracking branch 'origin/develop' into release/next 2021-08-05 16:44:48 +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
Sebastian Rindom 8bdccc6db6 Update adding-custom-functionality.md 2021-07-28 11:48:57 +02: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 Rindomandolivermrbl 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
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
Sebastian Rindom 429daf8f8c Merge remote-tracking branch 'origin/master' into develop 2021-07-15 11:53:48 +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 79521ceb3e Merge remote-tracking branch 'origin/master' into develop 2021-07-15 09:51:33 +02:00
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
Sebastian Rindom 78eddd056e chore(release): Publish
- babel-preset-medusa-package@1.1.11
 - @medusajs/medusa-cli@1.1.12
 - medusa-core-utils@1.1.17
 - medusa-dev-cli@0.0.16
 - medusa-file-spaces@1.1.20
 - medusa-fulfillment-manual@1.1.17
 - medusa-fulfillment-webshipper@1.1.21
 - medusa-interfaces@1.1.18
 - medusa-payment-adyen@1.1.22
 - medusa-payment-klarna@1.1.22
 - medusa-payment-paypal@1.0.21
 - medusa-payment-stripe@1.1.20
 - medusa-plugin-add-ons@1.1.20
 - medusa-plugin-brightpearl@1.1.25
 - medusa-plugin-contentful@1.1.22
 - medusa-plugin-discount-generator@1.1.11
 - medusa-plugin-economic@1.1.20
 - medusa-plugin-ip-lookup@1.1.11
 - medusa-plugin-mailchimp@1.1.20
 - medusa-plugin-permissions@1.1.20
 - medusa-plugin-restock-notification@0.0.13
 - medusa-plugin-segment@1.1.23
 - medusa-plugin-sendgrid@1.1.21
 - medusa-plugin-slack-notification@1.1.20
 - medusa-plugin-twilio-sms@1.1.20
 - medusa-plugin-wishlist@1.1.20
 - medusa-test-utils@1.1.20
 - @medusajs/medusa@1.1.30
2021-07-15 08:40:05 +02:00
Sebastian Rindom 688f384d77 Merge pull request #312 from medusajs/fix/customer-billing-address
fix(medusa): updating customer billing address
2021-07-13 11:36:35 +02:00
Sebastian Rindom fcd5ce0a6b docs: typo 2021-07-13 10:48:57 +02:00
Sebastian Rindom 79ed86daec docs: route 2021-07-13 10:43:07 +02:00
Sebastian Rindom 5a1cbc68b7 fix: allow updating billing address on customer 2021-07-13 10:41:06 +02:00
Sebastian Rindom ddf94ca5be Merge pull request #309 from medusajs/fix/segment-return-reasons
fix(medusa-plugin-segment): sends return reasons on Order Refunded event
2021-07-12 13:22:44 +02:00
Sebastian Rindom beba7fbbf2 Merge pull request #308 from medusajs/fix/paypal-complete-order
fix(medusa-payment-paypal): fixes bug where swap carts completed by webhook resulted in regular orders
2021-07-09 12:09:19 +02:00
Sebastian Rindom 55ba9bae05 fix: sends return reasons to segment on Order Refunded event 2021-07-09 11:56:34 +02:00
Sebastian Rindom fca29cc5cc fix: support for hook completion of swap carts 2021-07-09 10:46:34 +02:00
Sebastian Rindom 1f6ee0fc00 fix: paypal order 2021-07-09 10:46:34 +02:00
Sebastian Rindom b8657d7ee7 Merge pull request #305 from medusajs/fix/create-fulfillment
fix: create fulfillment
2021-07-08 10:53:06 +02:00
Sebastian Rindom 0603a86d65 fix: create fulfillment 2021-07-08 10:28:26 +02:00
Sebastian Rindom ce8cc65ae0 Merge pull request #302 from klefcodes/master
docs: fixed typo
2021-07-05 08:01:22 +02:00
Sebastian Rindom b5cd62f19d Merge pull request #300 from medusajs/fix/customer-order-tracking-links
fix(medusa): adds tracking links to customer orders
2021-07-02 16:23:46 +02:00
Sebastian Rindom c0132700b7 fix: adds tracking links to customer orders 2021-07-02 14:17:20 +02:00
Sebastian Rindom 8434ab7424 Merge pull request #277 from medusajs/dependabot/npm_and_yarn/packages/medusa-core-utils/lodash-4.17.21
chore(deps): bump lodash from 4.17.20 to 4.17.21 in /packages/medusa-core-utils
2021-06-30 12:51:19 +02:00
Sebastian Rindom b96f437fad Merge pull request #298 from medusajs/fix/customer-metadata-update
fix(medusa): improved /store/customers endpoints
2021-06-30 12:45:38 +02:00
Sebastian Rindom c33c431889 chore: remove console.log 2021-06-29 16:54:24 +02:00
Sebastian Rindom 41bb7463bb chore: update tests 2021-06-29 16:44:52 +02:00
Sebastian Rindom 6342e68d06 fix: better store/customer support 2021-06-29 16:31:30 +02:00
Sebastian Rindom 19dcaf8fb3 Merge pull request #291 from medusajs/release/next
Release/next
2021-06-24 19:22:17 +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
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
Sebastian Rindom 6255550a13 Merge pull request #287 from medusajs/fix/gift-cards-db
fix(medusa): giftcard-order relation
2021-06-21 17:37:43 +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 9555d8fe6e Merge pull request #286 from medusajs/feat/stripe-giropay
feat(stripe): add giropay
2021-06-21 15:47:05 +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
Sebastian Rindom a2e6972c02 chore(release): Publish
- medusa-payment-klarna@1.1.19
2021-06-14 16:23:54 +02:00
Sebastian Rindom 4ce7ecd4de Merge pull request #279 from medusajs/hotfix/klarna-address
fix: address fix
2021-06-14 16:22:47 +02:00