Ítalo Sousa
f2d97dfb86
fix: make /packages/medusa/src/services/line-item.js pass eslint ( #555 )
2021-10-14 18:09:18 +02:00
Lucifer
303eb06b2a
chore: Make packages/medusa/src/services/shipping-option.js ( #540 )
2021-10-14 17:25:33 +02:00
Vladyslav
1791acb044
fix: make packages/medusa/src/services/draft-order.js pass eslint ( #554 )
2021-10-14 17:24:56 +02:00
zakariaelas
f7c765945b
fix: jsdoc custom shipping option service
2021-10-14 16:14:20 +01:00
zakariaelas
71d433c335
fix: remove custom shipping options from swapService create method call
2021-10-14 16:10:08 +01:00
Philip Korsholm
ba2de6906a
Feat:contentful plugin archive on delete
...
* extend plugin with methods for archival in contentful
* add events to services
* rename entities
* eventbusservice to delete
* Update packages/medusa-plugin-contentful/src/services/contentful.js
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* Update packages/medusa-plugin-contentful/src/services/contentful.js
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* Update packages/medusa-plugin-contentful/src/services/contentful.js
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* testing
* adjust options
* Update packages/medusa-plugin-contentful/src/services/contentful.js
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* adjust options
* Update packages/medusa-plugin-contentful/src/services/contentful.js
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* Update packages/medusa-plugin-contentful/src/services/contentful.js
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2021-10-14 17:00:27 +02:00
zakariaelas
7cdd628997
merge develop and resolve conflicts
2021-10-14 15:44:58 +01:00
zakariaelas
36aeb4fffa
fix: remove verbose mode in integration test + fix jsdoc
2021-10-14 14:50:28 +01:00
zakariaelas
dba1d5bb69
fix: adjustments based on seb's feedback
...
- remove eager from shipping_option relationship in `models/custom-shipping-options.ts`
- remove custom_shipping_options relation from cart model
2021-10-14 14:44:36 +01:00
Sebastian Rindom
62fda1043e
Merge pull request #559 from medusajs/chore/lint
...
chore: add better linting rules
2021-10-14 10:54:53 +02:00
saurabh042
a1ada93093
chore/lint : Make packages/medusa/src/services/order.js pass linting #515 ( #556 )
2021-10-14 10:49:57 +02:00
Vladyslav
1e13c831ab
fix: make packages/medusa/src/services/discount.js pass eslint ( #553 )
2021-10-14 10:36:58 +02:00
Rachel
fe599c709e
fix: make medusa/src/services/fulfillment.js pass eslint ( #557 )
...
* fix: make /packages/medusa/src/services/gift-card.js pass eslint
* fix: make medusa/src/services/fulfillment.js pass eslint
* chore: restore eslintignore change
* chore: clean up diffs
2021-10-14 10:31:23 +02:00
Vladyslav
ddeaf57f59
fix: make packages/medusa/src/services/claim.js pass eslint ( #551 )
2021-10-14 09:52:18 +02:00
Sebastian Rindom
d9608e15e8
fix: autofix
2021-10-13 20:19:09 +02:00
Ajordat
f926e0245c
fix: make packages/medusa/src/services/region.js pass eslint ( #542 )
...
* fix: make packages/medusa/src/services/region.js pass eslint
* Fix intendation
2021-10-13 20:18:21 +02:00
Sergiy Fomin
7565d139d4
PR to make a fix to issue #531 -- previous reverted PR #543 ( #548 )
...
* fixed linting errors on packages/medusa/src/services/user.js #531
fixing merge conflicts
* fix: resolving a few issues as raised in the PR, issue: #531
Co-authored-by: Sergiy Fomin <sergiy.fomin@sourcedgroup.com >
2021-10-13 20:16:25 +02:00
Sebastian Rindom
ba2d92341d
Revert "fixed linting errors on packages/medusa/src/services/user.js #531 ( #543 )" ( #547 )
...
This reverts commit cf5b405a56 .
2021-10-13 19:50:10 +02:00
Kasper Fabricius Kristensen
fc50aacde2
fix: options relations on GET variant ( #532 )
2021-10-13 19:46:44 +02:00
Sergiy Fomin
cf5b405a56
fixed linting errors on packages/medusa/src/services/user.js #531 ( #543 )
...
* fixed linting errors on packages/medusa/src/services/user.js #531
* fix: resolving a few issues as raised in the PR, issue: #531
Co-authored-by: Sergiy Fomin <sergiy.fomin@sourcedgroup.com >
2021-10-13 19:45:50 +02:00
Luke Nguyen
10f1d9df5c
fix: Make packages/medusa/src/services/transaction.js pass linting ( #534 )
2021-10-13 18:07:28 +02:00
Sebastian Rindom
9b0ca6e38c
Merge branch 'master' into develop
2021-10-13 17:56:38 +02:00
Sebastian Rindom
7c0700e03f
hotfix(medusa-plugin-restock-notification): add delay for event trigger ( #544 )
...
* fix: add delay before triggering email
* fix: non-blocking delay
2021-10-13 17:56:10 +02:00
pKorsholm
5ef2a3fbcb
feat: Product filtering ( #439 )
2021-10-13 16:01:59 +02:00
Sebastian Mateos Nicolajsen
c0e947f47a
fix: update product images ( #494 )
2021-10-13 12:05:58 +02:00
Rachel
06ee5df9a0
fix: make /packages/medusa/src/services/gift-card.js pass eslint ( #533 )
2021-10-13 09:48:41 +02:00
Sebastian Rindom
43a2b07866
fix: example
2021-10-12 22:13:52 +02:00
Sebastian Rindom
f02cb638db
chore: remove packages/*/.eslintrc|.prettierrc
2021-10-12 21:24:01 +02:00
Sebastian Mateos Nicolajsen
0cf9e416f3
Allow the user to log out ( #459 )
2021-10-12 11:09:38 +02:00
Sebastian Mateos Nicolajsen
84d4d791ea
feat: allow product selection on discounts allocated to a specific item ( #395 )
2021-10-11 13:46:32 +02:00
zakariaelas
3d088c351b
fix: more adjustments
...
add: composite unique constraint for shipping_option_id and cart_id
fix: fetchCartOptions to format custom shipping options like normal shipping options
fix: addShippingMethod should throw when custom shipping options is not empty and no optionId corresponds to custom shipping options
2021-10-07 14:54:05 +01:00
Vilfred Sikker Dreijer
fe0696569c
Feat/bancontact payment ( #452 )
...
* add bancontact stripe payment
* rename to BancontactProviderService
2021-10-07 11:01:37 +02:00
Sebastian Rindom
ee2f7c6333
fix: add delay before triggering email ( #458 )
2021-10-06 17:32:01 +02:00
zakariaelas
52be911e50
fix: adjustments based on feedback
...
rename RMAShippingOption to CustomShippingOption
update models and relations
update unit and integration tests
update services
2021-10-06 14:17:36 +01:00
Oliver Windall Juhl
17b192fe37
fix: Throw on cart creation when no region exist ( #455 )
...
If you try to create a cart without a region in your setup, we should throw a proper error message.
2021-10-06 11:19:38 +02:00
Sebastian Rindom
55d175bda4
hotfix(medusa): shipping address updates ( #454 )
...
* hotfix(medusa): shipping address updates
* fix: prettier
2021-10-06 09:11:42 +02:00
Sebastian Rindom
38813ec66f
fix: add integration test
2021-10-05 12:36:43 +02:00
Sebastian Rindom
5a67d1e7fd
fix: prettier
2021-10-04 18:06:19 +02:00
Sebastian Rindom
09247e00ef
hotfix(medusa): shipping address updates
2021-10-04 17:44:25 +02:00
zakariaelas
db83448d18
fix: tests
2021-10-01 16:41:27 +01:00
Oliver Windall Juhl
337fc16c38
docs: Add fileservice guides for S3 and Spaces ( #430 )
...
* docs: Add fileservice guides for S3 and Spaces
* fix: remove we in s3 guide
* fix: typos in spaces guide
2021-10-01 12:58:44 +02:00
Kasper Fabricius Kristensen
22f3f2af93
fix: shipping option updates ( #426 )
...
* fix to remove req
* tested fix
2021-10-01 08:18:56 +02:00
zakariaelas
632ad17e3f
fix: merge conflicts
2021-09-30 20:29:58 +01:00
zakariaelas
02ce006440
fix: jsdoc
2021-09-30 17:35:21 +01:00
zakariaelas
77ee0bf186
feat: rma shipping option + unit tests
2021-09-30 14:52:34 +01:00
pKorsholm
cd4afd1576
fix(medusa): hide password hash ( #429 )
...
* auth tests
* customer auth tests
* user auth test
* store auth snapshot
* auth snapshot
* auth with deleted password hashes
* manual field input for test scripts
* fix circleci with double retrieve of user and customer
* add email validation to user
* fix: cleanup
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2021-09-30 12:19:37 +02:00
pKorsholm
9b64828ec3
Feat:discount expiration date ( #403 )
...
* discount expiration validation and testing
* integration testing
* double quotes
* add iso8601 package
* api testing
* add joi validation of start and end dates as well as valid_duration
* valid_duration column
* service testing
* discount validation in services
* integration test with invalid date interval
* include valid_duration when fetching a discount
* rename variable for clarity
* add test for dynamic discount with expiration date
* remove debug code
* adjust tests to reflect valid_duration being included in default fields
* additional discount update validation
* fixed failing test
* set ends_at on dynamic discount creation
* discount integration tests
* removed unused console.log
* removed validation of dynamic discounts by duration and added ends_at to dynamic discount creation
* integration tests for dynamic discount with and without duration
* optional valid duration for dynamic discounts
* allow nullable dynamic discount durations
* expect assertions
* fix unit test after change to dynamic discounts without duration
* change to date instead of string
* add assertions
* error handling
* addressed feedback
2021-09-30 12:13:59 +02:00
Sebastian Rindom
10c87e8d5a
Merge remote-tracking branch 'origin/develop' into feat/meilisearch-plugin
2021-09-29 15:20:22 +02:00
Oliver Windall Juhl
ae0ab03fac
fix: Creating shipping options with requirements ( #428 )
2021-09-29 15:20:14 +02:00
Sebastian Rindom
d8e531890d
fix: update seeder to product published ( #423 )
2021-09-29 14:07:39 +02:00