Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Rindom ee93256e69 Tests passing 2020-08-05 15:26:00 +02:00
Sebastian Rindom 21bc096b2e Adds Oauth support to plugins 2020-08-04 17:13:47 +02:00
Sebastian Rindom e69c3aba01 creates webhook and cron job to update inventory 2020-08-03 14:05:56 +02:00
Sebastian Rindom c18677d5f2 Adds integration to send sales orders to brightpearl 2020-08-03 10:23:45 +02:00
Sebastian Rindom 630bf3abc6 Adds gift card support 2020-07-29 11:51:59 +02:00
Sebastian Rindom 4c9b876407 Adds gift card line item generation 2020-07-20 16:29:27 +02:00
Sebastian Rindom df47da50fa Gift cards are automatically added to gift card profile 2020-07-20 15:54:14 +02:00
Sebastian Rindom 0b8f1a5c31 adds wishlist plugin 2020-07-20 13:04:29 +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 312e405588 Robustness 2020-07-14 17:23: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 eeae2a056c Add orders to account 2020-07-13 10:58:03 +02:00
Sebastian Rindom 518bc95f70 respond unauthorized if not logged in 2020-07-12 12:15:45 +02:00
Sebastian Rindom 92759c8e47 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-12 12:11:41 +02:00
Sebastian Rindom 60b8bca753 Adds account support 2020-07-12 12:11:31 +02:00
Sebastian Rindom 3eb2e9fe49 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-11 16:32:16 +02:00
Sebastian Rindom 419d5db340 Klarna clean up 2020-07-11 16:32:05 +02:00
Sebastian Rindom b45fcae6fe Klarna orders 2020-07-10 16:30:32 +02:00
Sebastian Rindom d930d00723 Klarna orders 2020-07-10 15:41:42 +02:00
Sebastian Rindom 85601ca428 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-10 12:26:02 +02:00
Sebastian Rindom 4b4275a8ee Klarna support 2020-07-10 12:25:54 +02:00
Sebastian Rindom 788ededf4e Add model details 2020-07-10 08:34:32 +02:00
Sebastian Rindom d58a994ef0 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-09 18:19:21 +02:00
Sebastian Rindom aabec1e45e Adds delete line item, prepares checkout 2020-07-09 18:19:16 +02:00
Sebastian Rindom ceac726412 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-08 22:21:09 +02:00
Sebastian Rindom edd64b5f62 Adds cart creation 2020-07-08 18:26:56 +02:00
Sebastian Rindom 7247095078 Adds thumbnail to products 2020-07-07 14:54:24 +02:00
Sebastian Rindom 716415263d Adds an image connector; introduces file service 2020-07-07 14:36:48 +02:00
Sebastian Rindom 8c5fa44e5f Free shipping 2020-07-06 21:45:02 +02:00
Sebastian Rindom ca6dd7e257 Adds fulfillment option endpoint 2020-07-06 15:49:49 +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
Sebastian Rindom 2491bd6779 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-04 19:36:29 +02:00
Sebastian Rindom 45e0338c58 Option edits 2020-07-04 19:36:22 +02:00
Sebastian Rindom e9c80e80a4 Merge branch 'integration/dummy-project' of github.com:medusajs/medusa into integration/dummy-project 2020-07-04 12:16:37 +02:00
Sebastian Rindom c4cebce250 product editing 2020-07-04 12:16:28 +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
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
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
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 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
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
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