Commit Graph
51 Commits
Author SHA1 Message Date
olivermrbl 70a27f55f8 chore: bump dependencies 2021-06-09 10:28:24 +02:00
Sebastian Rindom 3d16a24a2a Merge branch 'develop' into feat/draft-orders 2021-06-08 15:48:17 +02:00
olivermrbl 862f8282c4 fix merge conflicts 2021-06-03 11:25:18 +02:00
Sebastian Rindom 7887ca90d9 chore: test fix 2021-06-03 10:37:34 +02:00
olivermrbl d6d7b30a52 chore: bump babel cli 2021-06-02 18:47:20 +02:00
olivermrbl 0516bf7a5f minor test fix 2021-06-02 18:39:22 +02:00
Sebastian Rindom ce2d22428f chore: babel deps 2021-05-31 14:33:44 +02:00
Sebastian Rindom 0050fc7b18 chore: babel deps 2021-05-31 14:23:32 +02:00
Sebastian Rindom 813a1c95a8 fix: babel 2021-05-31 14:08:05 +02:00
olivermrbl b560f1197b clean up lock files 2021-05-26 14:43:10 +02:00
dependabot[bot] e4617ff93e chore(deps): bump y18n from 4.0.0 to 4.0.3 in /packages/medusa (#235)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 10:42:25 +02:00
Sebastian Rindom 9d810971a7 fix: working api 2021-04-06 15:01:13 +02:00
olivermrbl fa2c6f9beb fix merge conflicts 2021-03-17 08:52:00 +01:00
olivermrbl c513813bb6 fix(medusa): Add usage_count + usage_limit to discount 2021-03-17 08:42:14 +01:00
Sebastian Rindom 31d5bb017d fix: merge 2021-03-16 22:27:09 +01:00
dependabot[bot] 34bb39afa3 chore(deps): bump dot-prop from 4.2.0 to 4.2.1 in /packages/medusa (#140)
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 10:13:28 +01:00
dependabot[bot] 5eff8f6aa1 chore(deps): bump highlight.js from 10.4.0 to 10.5.0 in /packages/medusa (#154)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.4.0...10.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 10:01:17 +01:00
Sebastian Rindom 252db5ef7e feat(medusa): storefront return (#194)
* feat: adds endpoint to lookup an order by its display_id and email

* feat: adds storefront returns

* fix: pr comments
2021-03-10 17:42:39 +01:00
Sebastian Rindom 5659d106e3 fix: performant relations 2021-02-18 10:31:09 +01:00
Sebastian Rindom 46006e4b06 fix: use parallel relation fetching (#173)
optimizes performance of queries with many left joins
2021-02-17 10:40:48 +01:00
Oliver Windall Juhl c4d1203155 feat(medusa): Product category, type and tags 2021-02-12 08:42:19 +01:00
Sebastian Rindom 690d339667 feat(medusa,brightpearl,segment,webshipper): claims (#163)
* chore: create tests

* chore: models

* fix: passing initial tests

* test: adds integration test

* test: clean up integration implementation

* fix: claims

* fix: brightpearl + webshipper

* tests: passing

* fix: update claim items

* fix: adds gitignore

* fix: pr comments

* fix: single migration

* fix(medusa-plugin-segment): adds item claimed event to segment
2021-02-03 09:49:12 +01:00
Oliver Windall Juhl 103749eb65 hotfix: customer address updates + mongo ids (#153) 2021-01-26 14:59:50 +01:00
Sebastian RindomandOliver Windall Juhl 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
Oliver Windall Juhl 09d7ed232b feat(medusa): Adds filtering to order listing for use in admin (#149) 2020-12-28 16:45:02 +01:00
Sebastian Rindom c6996dd530 CircleCI project setup (#138) 2020-11-21 15:50:42 +01:00
dependabot[bot] 0626293bb2 chore(deps): bump acorn from 6.4.0 to 6.4.2 in /packages/medusa (#128)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.2.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-17 17:14:02 +02:00
dependabot[bot] 98d37ac194 chore(deps): bump lodash from 4.17.15 to 4.17.20 in /packages/medusa (#112)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-17 17:11:56 +02:00
Oliver Windall Juhl e3d8eea3cd (feat): Adds phone number to Customer 2020-09-09 16:55:34 +02:00
Sebastian Rindom fdfc213d24 fix: more economical use of redis clients 2020-09-01 10:58:40 +02:00
Sebastian Rindom 16d3c88c4f fix: update password hashing 2020-08-30 16:04:57 +02:00
Sebastian Rindom f56bd6ab08 Updates hashing method 2020-08-30 09:59:46 +02:00
Oliver Windall Juhl 9dc6999a9a feat(pagination): Adds MVP pagination to orders and products for admin routes 2020-08-27 17:51:23 +02:00
Oliver Windall Juhl eeca05117a Adds ip lookup middleware for cart creation 2020-08-25 09:51:30 +02:00
dependabot[bot] f065072c25 Bump bcrypt from 3.0.7 to 5.0.0 in /packages/medusa (#90)
Bumps [bcrypt](https://github.com/kelektiv/node.bcrypt.js) from 3.0.7 to 5.0.0.
- [Release notes](https://github.com/kelektiv/node.bcrypt.js/releases)
- [Changelog](https://github.com/kelektiv/node.bcrypt.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kelektiv/node.bcrypt.js/compare/v3.0.7...v5.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 21:06:21 +02:00
Sebastian Rindom 8918429388 Use express-sessions 2020-08-21 23:26:17 +02:00
Sebastian Rindom 6e25418014 Package fixes 2020-08-20 14:53:50 +02:00
olivermrbl 782acf4dca Adds query builder 2020-08-12 20:55:31 +02:00
Sebastian Rindom 21bc096b2e Adds Oauth support to plugins 2020-08-04 17:13:47 +02:00
Sebastian Rindom 630bf3abc6 Adds gift card support 2020-07-29 11:51:59 +02:00
Sebastian Rindom 716415263d Adds an image connector; introduces file service 2020-07-07 14:36:48 +02:00
Oliver Windall Juhl d6fc477636 SendGrid plugin (#77)
Closes #73 and #77
2020-07-03 18:00:54 +02:00
Sebastian Rindom 96377df101 updates tests 2020-05-25 14:06:10 +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
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 bc5dc5fab4 Fixes failing user tetst 2020-04-06 12:51:23 +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 5e8e94ba9e chore : dependency fix 2020-03-24 11:43:40 +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