Commit Graph

136 Commits

Author SHA1 Message Date
olivermrbl
758c72bdf1 Fixes as a result of 'end-to-end-backend' test 2020-07-03 17:00:27 +02:00
olivermrbl
63a2f126c5 Adds default shipping profile 2020-07-02 18:04:33 +02:00
olivermrbl
e4f75be5ca Small fixes 2020-07-02 16:08:00 +02:00
olivermrbl
92ae54696d Finalized contentful plugin 2020-07-02 16:04:58 +02:00
olivermrbl
f9476da6d6 Finalized Contentful product sync 2020-07-02 14:22:41 +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
04d2d707e9 Avoid double registers 2020-07-02 07:16:17 +02:00
Sebastian Rindom
602cd2f914 Expand variants 2020-07-01 20:28:01 +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
ae372de305 Pass tests 2020-06-29 17:17:16 +02:00
Sebastian Rindom
25776ab940 Adds stash 2020-06-29 17:06:55 +02:00
Sebastian Rindom
48310ff384 Merge master 2020-06-29 16:23:54 +02:00
Sebastian Rindom
d9b4d32fa3 integration switch 2020-06-29 16:23:07 +02:00
Sebastian Rindom
a7951ca29c Create default store 2020-06-29 10:47:56 +02:00
Sebastian Rindom
5170a7bd83 chore: removes product variant routes 2020-06-29 10:26:33 +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
9244abe7b0 remove log 2020-05-28 20:22:18 +02:00
Sebastian Rindom
44219e85c1 Merge remote-tracking branch 'origin/master' into integration/dummy-project 2020-05-28 20:19:05 +02:00
Sebastian Rindom
47e60e39c7 gitignore mocks 2020-05-28 20:18:46 +02:00
Sebastian Rindom
98a72ca7b4 registers payment/fulfillment providers with correct names 2020-05-28 20:17:13 +02:00
Sebastian Rindom
ef43fb2030 Makes all endpoints return objects (#71) 2020-05-28 20:15:17 +02:00
Sebastian Rindom
9b51cf857c merges master 2020-05-28 14:37:49 +02:00
Sebastian Rindom
3c7864dfca Creates updateSession and createSession in PaymentProviderService (#70) 2020-05-28 14:36:13 +02:00
Sebastian Rindom
76a532dbc0 Merge remote-tracking branch 'origin/master' into integration/dummy-project 2020-05-28 11:44:38 +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
Sebastian Rindom
de35931d7a Updates method to reflect correct payment provider API 2020-05-27 22:53:26 +02:00
Sebastian Rindom
022367a9d8 Adds store/regions endpoints; fixes payment provider service 2020-05-27 20:03:21 +02:00
Sebastian Rindom
2c1d16cf10 Merge branch 'feature/variants' into integration/dummy-project 2020-05-27 18:48:45 +02:00
Sebastian Rindom
ecfbb22e03 Merge remote-tracking branch 'origin/master' into integration/dummy-project 2020-05-27 18:48:27 +02:00
Sebastian Rindom
ad4f9479ea Update stripe gitignore 2020-05-27 18:47:52 +02:00
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