Commit Graph

118 Commits

Author SHA1 Message Date
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
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