Commit Graph

71 Commits

Author SHA1 Message Date
Sebastian Rindom 249b666529 chore(release): Publish
- medusa-core-utils@1.1.6
 - medusa-file-spaces@1.1.9
 - medusa-fulfillment-manual@1.1.6
 - medusa-fulfillment-webshipper@1.1.9
 - medusa-interfaces@1.1.7
 - medusa-payment-adyen@1.1.9
 - medusa-payment-klarna@1.1.10
 - medusa-payment-paypal@1.0.9
 - medusa-payment-stripe@1.1.9
 - medusa-plugin-add-ons@1.1.9
 - medusa-plugin-brightpearl@1.1.12
 - medusa-plugin-contentful@1.1.10
 - medusa-plugin-economic@1.1.9
 - medusa-plugin-mailchimp@1.1.9
 - medusa-plugin-permissions@1.1.9
 - medusa-plugin-restock-notification@0.0.3
 - medusa-plugin-segment@1.1.12
 - medusa-plugin-sendgrid@1.1.10
 - medusa-plugin-slack-notification@1.1.9
 - medusa-plugin-twilio-sms@1.1.9
 - medusa-plugin-wishlist@1.1.9
 - medusa-test-utils@1.1.9
 - @medusajs/medusa@1.1.19
2021-04-13 12:39:08 +02:00
olivermrbl 94c08c07c5 chore(release): Publish
- medusa-core-utils@1.1.5
 - medusa-file-spaces@1.1.8
 - medusa-fulfillment-manual@1.1.5
 - medusa-fulfillment-webshipper@1.1.8
 - medusa-interfaces@1.1.6
 - medusa-payment-adyen@1.1.8
 - medusa-payment-klarna@1.1.9
 - medusa-payment-paypal@1.0.8
 - medusa-payment-stripe@1.1.8
 - medusa-plugin-add-ons@1.1.8
 - medusa-plugin-brightpearl@1.1.11
 - medusa-plugin-contentful@1.1.9
 - medusa-plugin-economic@1.1.8
 - medusa-plugin-mailchimp@1.1.8
 - medusa-plugin-permissions@1.1.8
 - medusa-plugin-segment@1.1.11
 - medusa-plugin-sendgrid@1.1.9
 - medusa-plugin-slack-notification@1.1.8
 - medusa-plugin-twilio-sms@1.1.8
 - medusa-plugin-wishlist@1.1.8
 - medusa-test-utils@1.1.8
 - @medusajs/medusa@1.1.18
2021-04-09 09:08:02 +02:00
Sebastian Rindom 88c4e957fc chore(release): Publish
- medusa-core-utils@1.1.4
 - medusa-file-spaces@1.1.7
 - medusa-fulfillment-manual@1.1.4
 - medusa-fulfillment-webshipper@1.1.7
 - medusa-interfaces@1.1.5
 - medusa-payment-adyen@1.1.7
 - medusa-payment-klarna@1.1.8
 - medusa-payment-paypal@1.0.7
 - medusa-payment-stripe@1.1.7
 - medusa-plugin-add-ons@1.1.7
 - medusa-plugin-brightpearl@1.1.9
 - medusa-plugin-contentful@1.1.8
 - medusa-plugin-economic@1.1.7
 - medusa-plugin-mailchimp@1.1.7
 - medusa-plugin-permissions@1.1.7
 - medusa-plugin-segment@1.1.9
 - medusa-plugin-sendgrid@1.1.8
 - medusa-plugin-slack-notification@1.1.7
 - medusa-plugin-twilio-sms@1.1.7
 - medusa-plugin-wishlist@1.1.7
 - medusa-test-utils@1.1.7
 - @medusajs/medusa@1.1.15
2021-03-30 15:17:51 +02: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 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
Oliver Windall Juhl dd0491f521 feat(medusa): Add support for filtering with gt, lt, gte and lte (#190)
- Add support for filtering with lt, gt, lte, gte in the following format: created_at[gt]=01-26-1997
- Add middleware for cleaning request queries
- Add order query validation
- Temp. disables tags in claim integration tests
2021-03-01 11:32:17 +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 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 ff49d23322 chore(release): Publish
- babel-preset-medusa-package@1.1.0
 - @medusajs/medusa-cli@1.1.0
 - medusa-core-utils@1.1.0
 - medusa-file-spaces@1.1.0
 - medusa-fulfillment-manual@1.1.0
 - medusa-fulfillment-webshipper@1.1.0
 - medusa-interfaces@1.1.0
 - medusa-payment-adyen@1.1.0
 - medusa-payment-klarna@1.1.0
 - medusa-payment-stripe@1.1.0
 - medusa-plugin-add-ons@1.1.0
 - medusa-plugin-brightpearl@1.1.0
 - medusa-plugin-contentful@1.1.0
 - medusa-plugin-discount-generator@1.1.0
 - medusa-plugin-economic@1.1.0
 - medusa-plugin-ip-lookup@1.1.0
 - medusa-plugin-mailchimp@1.1.0
 - medusa-plugin-permissions@1.1.0
 - medusa-plugin-segment@1.1.0
 - medusa-plugin-sendgrid@1.1.0
 - medusa-plugin-slack-notification@1.1.0
 - medusa-plugin-twilio-sms@1.1.0
 - medusa-plugin-wishlist@1.1.0
 - medusa-test-utils@1.1.0
 - @medusajs/medusa@1.1.0
2021-01-26 11:17:43 +01:00
Sebastian Rindom f1baca3cbd Replaces MongoDB support with PostgreSQL (#151)
- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
2021-01-26 10:26:14 +01:00
Sebastian Rindom 698ddc1e89 chore(release): Publish
- babel-preset-medusa-package@1.0.1
 - @medusajs/medusa-cli@1.0.11
 - medusa-core-utils@1.0.11
 - medusa-file-spaces@1.0.12
 - medusa-fulfillment-manual@1.0.12
 - medusa-fulfillment-webshipper@1.0.11
 - medusa-interfaces@1.0.14
 - medusa-payment-adyen@1.0.12
 - medusa-payment-klarna@1.0.13
 - medusa-payment-stripe@1.0.14
 - medusa-plugin-add-ons@1.0.7
 - medusa-plugin-brightpearl@1.0.23
 - medusa-plugin-contentful@1.0.13
 - medusa-plugin-economic@1.0.12
 - medusa-plugin-mailchimp@1.0.14
 - medusa-plugin-permissions@1.0.12
 - medusa-plugin-segment@1.0.14
 - medusa-plugin-sendgrid@1.0.13
 - medusa-plugin-slack-notification@1.0.12
 - medusa-plugin-twilio-sms@1.0.11
 - medusa-plugin-wishlist@1.0.12
 - medusa-test-utils@1.0.12
 - @medusajs/medusa@1.0.43
2020-11-24 14:03:42 +01:00
Sebastian Rindom fd04233238 feature: swaps (#137)
* feat: swap schema

* chore(refactor): move returns to separate service

* swap order creates return

* fix: adds returns/fulfillments/shipments and cart creation to swaps

* search products by variants

* feat: swaps ready

* fix: test passing

* chore: include customer expand fields on order

* add tests

* fix: add brightpearl plugin support

* fix: adds swap link template setting

* fix: tests

* fix(medusa-plugin-brightpearl): add swap status option

* docs: add swap description

* fix: adds GET swap in store api

* chore: unmock axios

* fix: passing klarna tests

* fix: pr
2020-11-24 14:02:49 +01:00
olivermrbl a3d01b6c9a chore(release): Publish
- medusa-interfaces@1.0.13
 - @medusajs/medusa@1.0.31
2020-10-20 17:08:32 +02:00
Oliver Windall Juhl cc23a3b070 feat(medusa-interfaces): Adds schema options to base model 2020-10-20 17:07:47 +02:00
Sebastian Rindom 7401b11a4a chore(release): Publish
- medusa-fulfillment-webshipper@1.0.6
 - medusa-interfaces@1.0.12
 - @medusajs/medusa@1.0.26
2020-10-14 17:59:30 +02:00
Sebastian Rindom c1e821d9d4 feat: return shipping and flow (#125)
Adds support for return shipping methods and changes returns to have a request/receive flow. Store operators should now first request a return, noting the line items that will be returned. When the inventory is received the return will be registered triggering the refund. Return shipping methods can now be created for all regions.
2020-10-14 17:58:23 +02:00
Sebastian Rindom e2cbdeafc6 chore(release): Publish
- medusa-fulfillment-webshipper@1.0.1
 - medusa-interfaces@1.0.11
 - medusa-plugin-add-ons@1.0.3
 - medusa-plugin-brightpearl@1.0.16
 - medusa-plugin-mailchimp@1.0.12
 - @medusajs/medusa@1.0.20
2020-10-05 08:45:31 +02:00
Sebastian Rindom 893a7f69af feat: webshipper (#118)
* register fulfillment providers as singletons

* fix: adds subscribers/api endpoints and webhook handlers

* Adds readme

* Allow document attachments to orders:

* chore: gitignore utils

* chore: rm compiled files
2020-10-05 08:44:12 +02:00
Sebastian Rindom cd39798b4b chore(release): Publish 2020-09-09 09:24:51 +02:00
Sebastian Rindom db519fbaa6 fix: updates license 2020-09-09 09:15:58 +02:00
Sebastian Rindom 0627276619 v1.0.7 2020-09-07 11:36:03 +02:00
Sebastian Rindom 8143fe1ae6 v1.0.1 2020-09-05 15:59:26 +02:00
Sebastian Rindom 755040a0f2 v1.0.1-beta.0 2020-09-04 19:03:18 +02:00
Sebastian Rindom e24d180ea3 v1.0.0 2020-09-03 13:43:58 +02:00
Sebastian Rindom 9650f7d1c1 v1.0.0-alpha.30 2020-08-28 11:47:23 +02:00
Sebastian Rindom 8896e239cb v1.0.0-alpha.27 2020-08-27 18:04:51 +02:00
Oliver Windall Juhl 9dc6999a9a feat(pagination): Adds MVP pagination to orders and products for admin routes 2020-08-27 17:51:23 +02:00
Sebastian Rindom e2572adadf v1.0.0-alpha.24 2020-08-27 10:48:41 +02:00
Sebastian Rindom 20643bbb52 v1.0.0-alpha.3 2020-08-20 13:57:50 +02:00
Sebastian Rindom 56ad2bdd91 Release ready 2020-08-20 13:57:31 +02:00
Sebastian Rindom 3cc7cbe512 v1.0.0-alpha.2 2020-08-20 13:52:58 +02:00
Sebastian Rindom 1d3b8befe4 Release ready 2020-08-20 13:52:29 +02:00
Sebastian Rindom b26bba807b v1.0.0-alpha.1 2020-08-20 13:48:35 +02:00
Sebastian Rindom 6952ee34df Fix build scripts 2020-08-20 13:47:56 +02:00
Sebastian Rindom a1cf900ed8 v1.0.0-alpha.0 2020-08-20 13:42:06 +02:00
Sebastian Rindom 21bc096b2e Adds Oauth support to plugins 2020-08-04 17:13:47 +02:00
Sebastian Rindom ec6a538877 All tests passing 2020-07-15 17:47:43 +02:00
Sebastian Rindom cd989c56a7 Setup future usage 2020-07-13 17:35:50 +02:00
Sebastian Rindom b45fcae6fe Klarna orders 2020-07-10 16:30:32 +02:00
olivermrbl 30c101a8be Adds create order transactiom 2020-07-10 10:23:31 +02:00
Sebastian Rindom 716415263d Adds an image connector; introduces file service 2020-07-07 14:36:48 +02:00
Sebastian Rindom f9b232da54 Defaults 2020-07-06 11:52:16 +02:00
Sebastian Rindom 4c2aec2838 Adds publish/subscribe pattern to allow plugins and projects to hook into events (#55)
Also adds CLI to ease development.
2020-05-07 13:47:27 +02:00
Sebastian Rindom 516bc7675d Adds Middleware API (#40)
* Adds test project

* Adds e2e for end-2-end tests

* Update gitignore

* Update loaders

* Creates test project

* v0.1.27

* Upgrade

* dependency fixes

* Load project plugins in the plugin loader

* Issue with instanceof

* Fixes versioning issues

* Adds medusa middleware api

* Adds documentation

* Fixes tests
2020-05-01 13:33:03 +02:00
Sebastian Rindom feda00d2d1 Decorators (#42)
Adds decorator functionality to BaseService
2020-04-30 21:39:30 +02:00
Sebastian Rindom 2273cc519a Revert "[medusa-interfaces] : Adds decorator functionality to BaseService (#39)" (#41)
This reverts commit 9c76754e79.
2020-04-30 21:16:09 +02:00
Sebastian Rindom 9c76754e79 [medusa-interfaces] : Adds decorator functionality to BaseService (#39)
Plugins and projects can add decorators in services. E.g. if a plugin needs to load some additional information on carts the plugin can register a decorator via: `cartService.addDecorator(someFunc)` which will be available later through `cartService.runDecorators()`.
2020-04-30 20:40:22 +02:00
Sebastian Rindom ea4185eddd Creates ShippingProfileService & ShippingOptionService (#30)
Adds ShippingProfiles:

With Shipping Profiles store operators can group products together and select which shipping options can fulfill the products. The shipping profiles are region agnostic, but for products to be shippable to a given region the shipping profile must have a shipping option associated that ships to this region.

Adds Shipping Options:

Shipping Options represents a way that the customer can have their order shipped. The shipping option has a fulfillment provider associated to determine who fulfills orders with the given shipping method. If a fulfillment provider has multiple ways that they can ship a shipping option for each of the fulfillment provider's shipping options can be created.
2020-04-07 16:35:27 +02:00
Sebastian Rindom bc5dc5fab4 Fixes failing user tetst 2020-04-06 12:51:23 +02:00