Commit Graph
21 Commits
Author SHA1 Message Date
Philip Korsholm ac5b747490 Update product.js 2021-10-21 18:01:59 +02:00
Philip Korsholm 1bd13a6dd7 update cache number 2021-10-21 17:43:17 +02:00
Philip Korsholm ac6d9c6ec2 Update assert-changed-files-actions.sh 2021-10-21 17:39:20 +02:00
Philip Korsholm eb797677e9 Update action.yml 2021-10-21 17:31:43 +02:00
1b0dd60a33 Feat/new actions (#586)
* test

* test

* create integration testing workflow

* Create unit-testing.yml

* Rename integration-testing to integration-testing.yml

* initial testing

* Update assert-changed-files.sh

* Update integration-testing.yml

* Update unit-testing.yml

* Update assert-changed-files.sh

* Delete integration-testing.yml

* Update assert-changed-files.sh

* Update assert-changed-files.sh

* Update assert-changed-files.sh

* Update order.js

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Update unit-testing.yml

* Create cache-bootstrap.yml

* Update cache-bootstrap.yml

* Update cache-bootstrap.yml

* Update cache-bootstrap.yml

* Update unit-testing.yml

* extracted action

* corrected ext. name for int. tests

* checked out actions

* added fetching of actions

* updated

* updated

* moved package

* updated

* Update action.yml

* Update action.yml

* ended if statement

* updated

* updated

* removed error

* updated cache version

* update

* updated to more strict cache policy

* update

* updated

* updated

* update

* update

* update

* update

* update

* update

* update

* update

* updated to also include on PR

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* removed current branch from diff

* updated comment

* Update action.yml

* Update action.yml

* Update action.yml

* save before merge

* Update action.yml

* Update product.js

* Update product.js

* Update action.yml

* Update action.yml

* Update action.yml

* Update action.yml

* Update assert-changed-files-actions.sh

* Update assert-changed-files-actions.sh

* Update product-variant.js

* Update product.js

* Update product.js

* cleanup

Co-authored-by: Sebastian Mateos Nicolajsen <80953876+sebastiannicolajsen@users.noreply.github.com>
Co-authored-by: Sebastian M. Nicolajsen <sebastian.m.nicolajsen@gmail.com>
2021-10-21 17:15:29 +02:00
Philip Korsholm 6a02090287 Update action.yml 2021-10-21 14:53:21 +02:00
Philip Korsholm 0a11cf51d3 Update action.yml 2021-10-21 14:50:15 +02:00
Philip Korsholm 816b45baf7 Update action.yml 2021-10-21 14:24:04 +02:00
Philip Korsholm 5fa3892e4f Update action.yml 2021-10-21 14:19:31 +02:00
Philip Korsholm 2126a5e5d2 Update action.yml 2021-10-21 14:16:25 +02:00
Philip Korsholm ac21142ba7 Update action.yml 2021-10-21 14:12:24 +02:00
Philip Korsholm 40d7cb2109 Update action.yml 2021-10-21 14:11:54 +02:00
Philip Korsholm e8f9884abe Update action.yml 2021-10-21 09:20:15 +02:00
Philip Korsholm 117d90193a Update action.yml 2021-10-21 09:20:04 +02:00
Philip KorsholmandSebastian Rindom 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
pKorsholm 5ef2a3fbcb feat: Product filtering (#439) 2021-10-13 16:01:59 +02:00
pKorsholmandSebastian Rindom 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
pKorsholmandPhilip Korsholm 42cdfde6d9 Feat/nested return reasons (#418)
* api endpoints for nested return_reasons

* add nested return reasons to database

* add parent reason to update

* integration tests

* add children relation

* integration tests for nested returns and failing doubly nesting returns

* add delete-route and nested relations

* delete return reason route

* doubly nested return reason creation check and deletion

* nested return reasons migration

* list only parent reasons

* removed null filter

* remove empty migration

* add return reason filter to get list of categories with children

* removed console log

* corrected delete route

* return reason testing

* return reasons query

* listREasonsFromIDs

* create return testing

* listReasonsFromIds

* return reason tests

* failing if returnreason has child on return

* integration tests

* cascading deletes on return reasons

* more elegant checking for children of return reasons when creating a return

* remove console.log

* pr adjust

Co-authored-by: Philip Korsholm <phko@MacBook-Pro.localdomain>
2021-09-29 09:22:09 +02:00
pKorsholm fab155c246 Merge pull request #373 from medusajs/feat/product-variant-rank
Feat: Add product variant rank
2021-09-09 09:58:27 +02:00
pKorsholm 3992fc15a0 Merge pull request #367 from medusajs/docs/remove-spelling-errors
Docs: fix spelling errors in "2-adding custom functionality"
2021-09-06 13:31:50 +02:00