Commit Graph

9554 Commits

Author SHA1 Message Date
Sebastian Rindom
0bcff435a3 Updates API endpoints to match new product-to-variant structure 2020-05-26 22:02:40 +02:00
Sebastian Rindom
3183efa94f Makes product variant operations go through product service 2020-05-26 18:21:54 +02:00
Oliver Windall Juhl
3debd7e108 Stripe payment provider plugin (#65)
Adds Stripe payment provider plugin

Closes #44
2020-05-25 21:08:16 +02:00
Sebastian Rindom
96377df101 updates tests 2020-05-25 14:06:10 +02:00
Sebastian Rindom
36c12fa66d init 2020-05-16 11:01:29 +02:00
Oliver Windall Juhl
420c1d8cdb Adds ProductVariant endpoints (#59)
Adds endpoints for product variants with tests.

Closes #58
2020-05-14 11:05:26 +02:00
Oliver Windall Juhl
809133fa2a Closes #53
Use email for reset password and reset password token
2020-05-11 13:55:44 +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
7ca03579db Fixes event-bus tests 2020-05-08 11:42: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
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
Sebastian Rindom
964e26e310 Merge branch 'master' of github.com:medusajs/medusa 2020-04-30 22:06:57 +02:00
Sebastian Rindom
da7dcdf777 Update .gitignore 2020-04-30 22:06:47 +02:00
dependabot[bot]
0726216ac6 Bump minimist from 1.2.0 to 1.2.5 in /packages/medusa-core-utils (#43)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.5.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-30 22:05:15 +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
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
Oliver Windall Juhl
e3cdde3c9e Fixes according to issue #21 (#35) 2020-04-14 21:44:05 +02:00
Oliver Windall Juhl
20735de62d Adds admin discount routes / endpoints (#34) 2020-04-12 17:18:07 +02:00
Oliver Windall Juhl
42fdd14e42 Adds admin API endpoints for product operations (#32) 2020-04-08 21:18:03 +02:00
Sebastian Rindom
904a2369fb Create CODEOWNERS 2020-04-08 10:58:42 +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
bc5dc5fab4 Fixes failing user tetst 2020-04-06 12:51:23 +02:00
Sebastian Rindom
35e0930650 v0.3.0 2020-04-06 12:14:08 +02:00
Sebastian Rindom
f0a9fd34f4 Publish 2020-04-06 12:13:55 +02:00
Sebastian Rindom
a83ab58c76 v0.2.0 2020-04-06 12:13:16 +02:00
Sebastian Rindom
9308707884 Publish 2020-04-06 12:12:33 +02:00
Sebastian Rindom
b874495fde v0.2.0-alpha.0 2020-04-04 15:48:28 +02:00
Sebastian Rindom
cc8ccd44b9 v0.1.27-alpha.0 2020-04-04 15:48:15 +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
Oliver Windall Juhl
8ab9b823b9 #22 Fixes create return value 2020-04-02 19:39:04 +02:00
Sebastian Rindom
51c97abec9 Remove ProductService dependency from ProductVariantService 2020-03-30 17:17:25 +02:00
Sebastian Rindom
808d0912e3 Load Services, Models and API from Core, Plugins and Project root (#23) 2020-03-30 16:52:20 +02:00
Sebastian Rindom
9740e9faac v0.1.12-alpha.0 2020-03-24 14:37:21 +01:00
Sebastian Rindom
c622162e0d Duplicate definition 2020-03-24 14:36:55 +01:00
Sebastian Rindom
f5d0ecd4ee v0.1.11-alpha.0 2020-03-24 14:36:01 +01:00
Sebastian Rindom
65e3a1852d load core models and app models separately 2020-03-24 14:35:37 +01:00
Sebastian Rindom
03a80797d8 v0.1.10-alpha.0 2020-03-24 14:24:51 +01:00
Sebastian Rindom
763ae82aff Imports core services and app services separately (#19) 2020-03-24 14:24:23 +01:00
Sebastian Rindom
f50de7fac3 Ignore tests in build 2020-03-24 14:23:07 +01:00
Sebastian Rindom
2692b860dc v0.1.9-alpha.0 2020-03-24 11:44:06 +01:00
Sebastian Rindom
5e8e94ba9e chore : dependency fix 2020-03-24 11:43:40 +01:00
Sebastian Rindom
d980c20491 v0.1.8-alpha.0 2020-03-24 11:41:31 +01:00
Sebastian Rindom
3fff45a0de v0.1.7-alpha.0 2020-03-24 11:38:54 +01:00