Commit Graph
300 Commits
Author SHA1 Message Date
Sebastian Rindom df47da50fa Gift cards are automatically added to gift card profile 2020-07-20 15:54:14 +02:00
Sebastian Rindom 3710f7f80a Adds dynamic coupon codes and segment plugin 2020-07-17 14:06:55 +02:00
Sebastian Rindom ec6a538877 All tests passing 2020-07-15 17:47:43 +02:00
Sebastian Rindom 44c7177e43 Automatic stripe customers; address 2020-07-14 08:10:09 +02:00
Sebastian Rindom cd989c56a7 Setup future usage 2020-07-13 17:35:50 +02:00
Sebastian Rindom 60b8bca753 Adds account support 2020-07-12 12:11:31 +02:00
Sebastian Rindom 419d5db340 Klarna clean up 2020-07-11 16:32:05 +02:00
Sebastian Rindom d930d00723 Klarna orders 2020-07-10 15:41:42 +02:00
olivermrbl 30c101a8be Adds create order transactiom 2020-07-10 10:23:31 +02:00
Sebastian Rindom 788ededf4e Add model details 2020-07-10 08:34:32 +02:00
olivermrbl 08cf7c7f2b Adds createFromCart and order.completed subscribers 2020-07-09 18:16:45 +02:00
Oliver Windall Juhl 5e83a7d38a Adds klarna payment provider (#79) 2020-07-09 12:30:25 +02:00
Sebastian Rindom 7247095078 Adds thumbnail to products 2020-07-07 14:54:24 +02:00
Sebastian Rindom 9c91ae77d2 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-06 11:52:25 +02:00
Sebastian Rindom f9b232da54 Defaults 2020-07-06 11:52:16 +02:00
olivermrbl 8804ab1595 Adds removeLineItem in CartService with tests 2020-07-05 12:28:44 +02:00
olivermrbl 3cf295b79a Merge branch 'master' into integration/dummy-project 2020-07-02 09:43:22 +02:00
Oliver Windall Juhl d56ccba2b1 Adds plugin for Contentful synchronization (#75)
Adds plugin for Contentful

Will create product and product variants in Contentful, when created in Medusa

Closes #47
2020-07-02 09:41:57 +02:00
Sebastian Rindom 3e033bf646 Adds default_currency to store settings 2020-06-30 22:06:01 +02:00
Sebastian Rindom ea0c563bd6 Product and variant creation 2020-06-29 22:03:32 +02:00
Sebastian Rindom bc5ff91a02 Adds Store Service to control store settings (#76)
Also adds support for `projectConfig.admin_cors` & `projectConfig.store_cors`
2020-06-29 10:23:24 +02:00
Sebastian Rindom 706ca8ac45 Makes ProductVariant operations go through ProductService (#68)
Ensures that we can reliably manage product variants and their relationship to products
2020-05-28 11:44:11 +02:00
Oliver Windall Juhl 8255a839f6 Adds OrderService and /orders endpoints
Adds OrderService

Adds endpoints for orders - both store and admin
2020-05-11 13:54:09 +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 6a78df1ecd Adds endpoints to manage customers (#54) 2020-05-07 13:31:38 +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
Oliver Windall Juhl a53822d298 Adds admin endpoints / routes for user (#36)
Adds all endpoints / routes for user operations
Tweaks in UserService
Adds update in UserService
Fixes old tests
2020-04-17 08:13:24 +02:00
Sebastian Rindom b7557db9f9 Adds Regions (#33)
Regions are a collection of countries that share some common functionality, e.g., currency, available fulfillment and shipping providers and a taxrate. The store operator can have as many Regions as needed.
2020-04-08 09:44:41 +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
Oliver Windall Juhl aff1ec3390 Adds DiscountService and TotalsService (#26) 2020-04-07 12:48:57 +02:00
Oliver Windall Juhl f6d5180e5f Adds medusa-plugin-permissions (#12) 2020-04-06 15:57:31 +02:00
Sebastian Rindom 6ae1a1d25e User fixes 2020-04-03 15:43:40 +02:00
Sebastian Rindom c82c9f3733 Singleton models; do not require user password 2020-04-03 12:53:52 +02:00
Sebastian Rindom 51aaf5105c Completes Cart Service and store/carts endpoints (#18)
Completes Cart Service to allow shopping and checkout flows.
2020-03-16 09:48:52 +01:00
Sebastian Rindom 30785ebb95 adds get cart and create cart endpoints; adds in 2020-02-25 15:56:37 +01:00
Sebastian Rindom 1926ad396a Import missing mongoose module 2020-02-25 12:06:57 +01:00
Oliver Windall Juhl bcaac913d2 Adds UserService (#10) 2020-02-18 20:14:20 +01:00
Sebastian Rindom 8fb5845874 Creates setRegion 2020-02-05 16:20:04 +01:00
Sebastian Rindom 2f2dd5eae3 Merge branch 'master' of github.com:srindom/medusa 2020-02-05 15:14:31 +01:00
Sebastian Rindom 1d939342b4 Creates prices modifiers in productVariant 2020-02-05 15:14:19 +01:00
Oliver Windall Juhl cc2e87754d Feature/customer service (#8)
Adds CustomerService
2020-02-05 12:25:58 +01:00
Sebastian Rindom cb727c8689 cart service: updateShippingAddress, updateBillingAdress, updateEmail; address validator in core utils 2020-02-05 10:20:58 +01:00
Sebastian Rindom eed979b9d9 Adds comment 2020-02-05 08:56:01 +01:00
Sebastian Rindom 8c515fa9d4 Adds addLineItem to cart service; adds canCoverQuantity to product variant service 2020-01-30 16:13:03 +01:00
Sebastian Rindom a912b81426 Refactor IdMap test helper to medusa-test-utils package 2020-01-30 09:54:12 +01:00
Sebastian Rindom edce88c34b Moves Medusa interfaces defines model schemas for Customer, Cart, Order 2020-01-30 09:38:08 +01:00
Sebastian Rindom 751adec7f7 Adds cart service skeleton 2020-01-28 16:25:28 +01:00
Sebastian Rindom b16f32f63f Adds cart service skeleton 2020-01-28 16:24:47 +01:00
olivermrbl 8c0f6107a0 Adds ProductVariantService 2020-01-28 12:16:59 +01:00
Sebastian Rindom c7cf9b8061 Add core 2020-01-18 15:08:22 +01:00