Commit Graph

16 Commits

Author SHA1 Message Date
olivermrbl
c0f2d629ab PR Review fixes 2021-06-07 15:23:41 +02:00
Sebastian Rindom
cfab2d408a fix: don't divide zero decimal currencies 2021-03-22 10:31:22 +01:00
Oliver Windall Juhl
60f164913d hotfix(medusa): Add q to order filter validation (#192) 2021-03-03 15:35:13 +01:00
Oliver Windall Juhl
dd0491f521 feat(medusa): Add support for filtering with gt, lt, gte and lte (#190)
- Add support for filtering with lt, gt, lte, gte in the following format: created_at[gt]=01-26-1997
- Add middleware for cleaning request queries
- Add order query validation
- Temp. disables tags in claim integration tests
2021-03-01 11:32:17 +01:00
Sebastian Rindom
f1baca3cbd Replaces MongoDB support with PostgreSQL (#151)
- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
2021-01-26 10:26:14 +01:00
Sebastian Rindom
00cbf8444d fix(medusa-core-utils): adds country utils 2020-09-07 11:33:59 +02:00
Sebastian Rindom
520115a2ce fix(medusa): product variant metadata (#98)
fix(medusa-plugin-sendgrid): generic email support
2020-09-04 18:48:14 +02:00
Oliver Windall Juhl
eb47896668 fix(contentful-plugin): Keep existing entry fields 2020-08-27 18:03:46 +02:00
olivermrbl
20c8dc23a1 Adds Adyen payment provider 2020-08-06 12:12:31 +02:00
Sebastian Rindom
312e405588 Robustness 2020-07-14 17:23:43 +02:00
Sebastian Rindom
cd989c56a7 Setup future usage 2020-07-13 17:35:50 +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
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
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
ed472e9fba Creates test request helper for API endpoints
Separates common utils into the medusa-core-utils package.
Sets up a testing environment where mocked models/services/etc. can be placed in
__mocks__ folder within its corresponding directory. The mocks will
automatically be registered in a awilix container only used for testing.
2020-01-21 15:13:47 +01:00