Commit Graph

36 Commits

Author SHA1 Message Date
Oliver Windall Juhl
08324355a4 chore: Patch bump all dependencies + minor bumps winston (#3185) 2023-02-07 19:15:29 +01:00
olivermrbl
6481b0c357 chore(release): Publish 2023-01-18 18:48:57 +01:00
Kasper Fabricius Kristensen
150696de99 feat(medusa, medusa-js, medusa-react): Add endpoint to retrieve product tags from the storefront (#3051) 2023-01-18 10:47:15 +01:00
Adrien de Peretti
93d0dc1bdc fix(medusa): test, build and watch scripts (#3025) 2023-01-15 17:10:26 +01:00
olivermrbl
233d6904f8 chore(release): Publish 2022-12-22 15:54:20 +01:00
Patrick
0a9c891853 chore: explicitly add devDependencies for monorepo peerDependencies (#2808) 2022-12-15 08:46:52 +01:00
olivermrbl
ee8a71c692 chore(release): Publish 2022-11-02 16:44:54 +01:00
Philip Korsholm
3c5e31c645 fix(medusa, medusa-file-*): Protected uploads for file services (#2433) 2022-10-18 10:46:47 +02:00
olivermrbl
3efeb6b84f chore(release): Publish 2022-09-14 11:36:53 +02:00
Carlos R. L. Rodrigues
a94d9816fe chore: Centralise ESLint rules (#2162)
* chore: centrilize eslint rules
2022-09-13 07:42:33 -03:00
Frane Polić
ee8fe3a88b fix(medusa-file-spaces): return fileKey for Spaces upload (#2171)
**What**
- return `fileKey` in the response after the file is uploaded to Spaces

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-09-09 10:55:43 +00:00
Frane Polić
546a963f7b feat: import strategy - sales channels support (#2124)
**What**
- add support for specifying sales channel with import strategy
- additional:
  - refactor SC service to use `retrieve_` pattern
  - fix: pass arguments from `startServerWithEnvironment` to setup server
  - fix: minio undefined resolve/reject calls
  - fix: csv parser - detect missing columns from schema only if the column is required

**How**
- extending schema to expect sales channels columns in an import CSV file

RESOLVES CORE-304
2022-09-02 11:28:43 +00:00
Frane Polić
03221c4a19 feat: product import strategy (#1706)
* init: copy PI files

* feat: add subscribers, refactor strategies folder

* wip: strategies integration tests package

* fix: rename

* wip: use redis

* wip: use redis deps, redis setup in local tests

* fix: naming collision, medusa config

* fix: typing, update apply changes for new event ordering and reimplement interface

* feat: make redis container run in integration tests

* fix: missing yarn lock

* feat: redis setup v2

* fix: setup server imports

* fix: a lot of integration issues

* fix: a lot of integration issues v2, transform tags, fix `ops` object parsing

* wip: parsing product options

* feat: creating product and variants works, processing product/variant options, update schema

* fix: query keys, logic for finding existing variant

* fix: types

* feat: update product variant's options

* feat: parse MA records

* feat: creating/updating MA records, region detection, error handling

* feat: throw an error when creating an MA for nonexistent region

* refactor: remove unused methods

* refactor: use provided ids to track records, extract a couple of methods

* refactor: remove unused method

* refactor/wip: add initial comment for main methods

* refactor: replace usage of RedisJSON functionality with basic k/v api

* feat: async progress report

* types: define more precise types, cleanup

* feat: error handling

* feat: unit testing preprocessing

* feat: integration testing for CI, fix legacy bug where user is unable to create a variant if regional price is also sent as payload, add csv for integration tests

* fix: error throw for logs

* feat: add product endpoint snap

* refactor: remove log

* feat: add snaps, rebase

* refactor: add comments

* feat: snap update

* refactor: typo

* refactor: change error handler

* feat: Redis cleanup after the job is done

* testing :fix product unit test, remove integration snap, add inline object matcher

* testing: fix obsolete snaps

* refactor: update comments

* fix: rebase issue

* fix: rebase issue v2, remove log form an integration test

* fix: try reverting setup server

* fix: insert variants test

* refactor: don't pass tx manager, refactor methods

* refactor: don't use regionRepo, add `retrieveByName` to region repo

* refactor: don't use productRepo

* refactor: don't use `productVariantRepo`

* refactor: remove repo mocks from unit tests

* fix: product import unit tests

* feat: file cleanup on finalize, kill test logs

* wip: use files to persist ops instead of redis, move strategy class into `batch-job` folder

* fix: minio delete method, add file cleanup method to import, fix promise coordination

* fix: replace redis methods

* feat: store import ops as a file instead of Redis

* feat: test cleanup

* fix: change unit tests after Redis logic removal

* feat: use `results` for progress reporting, add `stat_descriptors` info after preprocessing, remove redis mentions

* feat: extract to other files, use directory from property, fix strategy loader to allow other files in `strategies` directory

* feat: fix instance progress counter

* fix: mock services types

* fix: update snaps

* fix: error handling stream, fix test file service name generation

* fix: remove dir with tmp files after testing

* fix: new yarn.lock after rebase

* fix: remove log, change object shape

* fix: add DI types

* refactor: remove container as a csv parser dep

* fix: remove seeder, change typings

* refactor: reimplement `retrieveByName` in the region service

* fix: unit tests typings

* fix: remove ts-ignore, complete typings for csv parser validators

* fix: don't keep track of progress since it is redundant and only keep track of `advancement_count`

* fix: return of the batch job seeder

* fix: update find region by name method

* fix: update types for service typings

* fix: update redis type usage

* fix: update unit tests file

* fix: unit tests

* fix: remove redis from integration test

* feat: refactor region retrieval by name

* feat: refactor product option update

* fix: remove repo import

* fix: return redis in test

* fix: handle stream error

* fix: tmp data cleanup

Co-authored-by: fPolic <frane@medusajs.com>
2022-08-25 22:16:51 +02:00
olivermrbl
384c8efb8b chore(release): Publish 2022-08-25 15:51:21 +02:00
olivermrbl
6663a6290b chore(release): Publish 2022-08-04 14:12:54 +02:00
Philip Korsholm
3cde817482 fix(medusa-file-minio): Add missing path import (#1991) 2022-08-04 12:35:30 +02:00
olivermrbl
bc7c2d9c4a chore(release): Publish 2022-08-03 18:34:24 +02:00
Philip Korsholm
812ba65d8f feat(medusa): Add streaming to Minio fileservice (#1619) 2022-07-10 12:34:28 +02:00
Zakaria El Asri
9fa4238ee4 chore: improve ci pipeline (#1764)
* fix: caching deps + add true parallelization to integration tests api

* fix: github action

* chore: upgrade to yarn berry (#1762)

* init migration

* remove: yarn.lock from all pkgs

* fix: build script in pkgs

* adjust yarn config

* fix: yarn.lock and yarnrc.yml

* fix: github actions

* fix: wrong type

* fix (medusa-react): use dts-cli instead of tsdx

* fix: yarn.lock

* fix: yarn v

* fix: prepare script

* add: comment on why we need to downgrade yarn before medusa-dev

* chore: move to Turborepo (#1763)

* increase number of parallel nodes

* fix (medusa-fulfillment-webshipper): build script

* fix: use new version of medusa-dev

* fix: rename cache-bootstrap to cache-deps
2022-07-10 12:11:11 +02:00
olivermrbl
915359d84b chore: fix yarn.lock conflicts 2022-07-05 10:17:09 +02:00
olivermrbl
f87c268913 chore(release): Publish
- @medusajs/medusa-cli@1.3.1
 - medusa-dev-cli@0.0.25
 - medusa-file-minio@1.0.7
 - medusa-file-s3@1.1.3
 - medusa-file-spaces@1.2.3
 - medusa-fulfillment-webshipper@1.3.3
 - medusa-interfaces@1.3.1
 - @medusajs/medusa-js@1.2.3
 - medusa-payment-paypal@1.2.3
 - medusa-payment-stripe@1.1.41
 - medusa-plugin-algolia@0.2.3
 - medusa-plugin-brightpearl@1.3.1
 - medusa-plugin-contentful@1.2.3
 - medusa-plugin-ip-lookup@1.2.1
 - medusa-plugin-mailchimp@1.1.42
 - medusa-plugin-meilisearch@0.2.3
 - medusa-plugin-sendgrid@1.3.3
 - medusa-plugin-slack-notification@1.3.3
 - medusa-plugin-twilio-sms@1.2.3
 - medusa-react@0.3.3
 - medusa-source-shopify@1.2.1
 - @medusajs/medusa@1.3.3
2022-07-05 09:51:23 +02:00
Philip Korsholm
cc29b641c9 feat(medusa): Delete and download url endpoints (#1705) 2022-06-24 10:37:32 +02:00
Oliver Windall Juhl
a5f717be5a fix(medusa-file-spaces,medusa-file-s3,medusa-file-minio): Add options to super call in file plugins (#1714) 2022-06-24 09:15:57 +02:00
Shahed Nasser
4583df8367 chore: added keywords for plugins (#1707)
* added keywords for plugins

* updated shopify plugin keywords
2022-06-23 16:12:33 +02:00
olivermrbl
1ee7691c2b Merge branch 'master' into develop 2022-06-19 13:12:21 +02:00
olivermrbl
8e43ef2b3a chore(release): Publish
- medusa-file-minio@1.0.6
 - medusa-file-s3@1.1.2
 - medusa-file-spaces@1.2.2
 - medusa-fulfillment-webshipper@1.3.2
 - @medusajs/medusa-js@1.2.2
 - medusa-payment-paypal@1.2.2
 - medusa-payment-stripe@1.1.40
 - medusa-plugin-algolia@0.2.2
 - medusa-plugin-contentful@1.2.2
 - medusa-plugin-mailchimp@1.1.41
 - medusa-plugin-meilisearch@0.2.2
 - medusa-plugin-sendgrid@1.3.2
 - medusa-plugin-slack-notification@1.3.2
 - medusa-plugin-twilio-sms@1.2.2
 - medusa-react@0.3.2
 - @medusajs/medusa@1.3.2
2022-06-19 13:11:05 +02:00
Philip Korsholm
8e42d37e84 feat(medusa): Extend file-service interface + move to core (#1577) 2022-06-04 10:11:17 +02:00
olivermrbl
6c1a722b38 chore(release): Publish
- medusa-file-minio@1.0.5
 - medusa-file-s3@1.1.1
 - medusa-file-spaces@1.2.1
 - medusa-fulfillment-webshipper@1.3.1
 - @medusajs/medusa-js@1.2.1
 - medusa-payment-paypal@1.2.1
 - medusa-payment-stripe@1.1.39
 - medusa-plugin-algolia@0.2.1
 - medusa-plugin-contentful@1.2.1
 - medusa-plugin-mailchimp@1.1.40
 - medusa-plugin-meilisearch@0.2.1
 - medusa-plugin-sendgrid@1.3.1
 - medusa-plugin-slack-notification@1.3.1
 - medusa-plugin-twilio-sms@1.2.1
 - medusa-react@0.3.1
 - @medusajs/medusa@1.3.1
2022-05-31 09:12:18 +02:00
Shahed Nasser
be3ad001ee added readme links 2022-05-20 11:40:57 +03:00
olivermrbl
c16df9383c chore(release): Publish
- create-medusa-app@0.0.6
 - gatsby-source-medusa@0.0.47
 - @medusajs/medusa-cli@1.1.27
 - medusa-file-minio@1.0.4
 - medusa-file-s3@1.0.12
 - medusa-file-spaces@1.1.37
 - @medusajs/medusa-js@1.0.10
 - medusa-payment-adyen@1.1.39
 - medusa-payment-klarna@1.1.39
 - medusa-payment-manual@1.0.16
 - medusa-payment-paypal@1.0.38
 - medusa-payment-stripe@1.1.38
 - medusa-plugin-add-ons@1.1.37
 - medusa-plugin-brightpearl@1.1.43
 - medusa-plugin-contentful@1.1.40
 - medusa-plugin-economic@1.1.37
 - medusa-plugin-mailchimp@1.1.37
 - medusa-plugin-permissions@1.1.37
 - medusa-plugin-restock-notification@0.0.30
 - medusa-plugin-segment@1.1.40
 - medusa-plugin-sendgrid@1.1.38
 - medusa-plugin-slack-notification@1.1.37
 - medusa-plugin-twilio-sms@1.1.37
 - medusa-plugin-wishlist@1.1.37
 - medusa-react@0.1.3
 - medusa-source-shopify@1.0.3
 - medusa-test-utils@1.1.37
 - @medusajs/medusa@1.1.62
2022-01-11 16:54:08 +01:00
olivermrbl
ec0f2df285 chore(release): Publish
- gatsby-source-medusa@0.0.46
 - @medusajs/medusa-cli@1.1.26
 - medusa-file-minio@1.0.3
 - medusa-file-s3@1.0.11
 - medusa-file-spaces@1.1.36
 - @medusajs/medusa-js@1.0.9
 - medusa-payment-adyen@1.1.38
 - medusa-payment-klarna@1.1.38
 - medusa-payment-manual@1.0.15
 - medusa-payment-paypal@1.0.37
 - medusa-payment-stripe@1.1.37
 - medusa-plugin-add-ons@1.1.36
 - medusa-plugin-brightpearl@1.1.42
 - medusa-plugin-contentful@1.1.39
 - medusa-plugin-economic@1.1.36
 - medusa-plugin-mailchimp@1.1.36
 - medusa-plugin-permissions@1.1.36
 - medusa-plugin-restock-notification@0.0.29
 - medusa-plugin-segment@1.1.39
 - medusa-plugin-sendgrid@1.1.37
 - medusa-plugin-slack-notification@1.1.36
 - medusa-plugin-twilio-sms@1.1.36
 - medusa-plugin-wishlist@1.1.36
 - medusa-react@0.1.2
 - medusa-source-shopify@1.0.2
 - medusa-test-utils@1.1.36
 - @medusajs/medusa@1.1.61
2021-12-29 13:02:39 +01:00
olivermrbl
abcf43b21c chore: release assist 2021-12-17 15:42:38 +01:00
olivermrbl
3bbd1e8507 chore: release assist 2021-12-17 15:39:27 +01:00
olivermrbl
81a7ff73d0 chore(release): Publish
- gatsby-source-medusa@0.0.45
 - @medusajs/medusa-cli@1.1.25
 - medusa-file-minio@1.0.2
 - medusa-file-s3@1.0.10
 - medusa-file-spaces@1.1.35
 - @medusajs/medusa-js@1.0.8
 - medusa-payment-adyen@1.1.37
 - medusa-payment-klarna@1.1.37
 - medusa-payment-manual@1.0.14
 - medusa-payment-paypal@1.0.36
 - medusa-payment-stripe@1.1.36
 - medusa-plugin-add-ons@1.1.35
 - medusa-plugin-brightpearl@1.1.41
 - medusa-plugin-contentful@1.1.38
 - medusa-plugin-economic@1.1.35
 - medusa-plugin-mailchimp@1.1.35
 - medusa-plugin-permissions@1.1.35
 - medusa-plugin-restock-notification@0.0.28
 - medusa-plugin-segment@1.1.38
 - medusa-plugin-sendgrid@1.1.36
 - medusa-plugin-slack-notification@1.1.35
 - medusa-plugin-twilio-sms@1.1.35
 - medusa-plugin-wishlist@1.1.35
 - medusa-react@0.1.1
 - medusa-source-shopify@1.0.1
 - medusa-test-utils@1.1.35
 - @medusajs/medusa@1.1.60
2021-12-17 14:24:00 +01:00
Sebastian Rindom
36c0f468f9 chore(release): Publish
- babel-preset-medusa-package@1.1.19
 - @medusajs/medusa-cli@1.1.24
 - medusa-core-utils@1.1.31
 - medusa-dev-cli@0.0.24
 - medusa-file-minio@1.0.1
 - medusa-file-s3@1.0.9
 - medusa-file-spaces@1.1.34
 - medusa-fulfillment-manual@1.1.31
 - medusa-fulfillment-webshipper@1.1.35
 - medusa-interfaces@1.1.32
 - @medusajs/medusa-js@1.0.6
 - medusa-payment-adyen@1.1.36
 - medusa-payment-klarna@1.1.36
 - medusa-payment-manual@1.0.13
 - medusa-payment-paypal@1.0.35
 - medusa-payment-stripe@1.1.35
 - medusa-plugin-add-ons@1.1.34
 - medusa-plugin-algolia@0.0.6
 - medusa-plugin-brightpearl@1.1.40
 - medusa-plugin-contentful@1.1.37
 - medusa-plugin-economic@1.1.34
 - medusa-plugin-mailchimp@1.1.34
 - medusa-plugin-meilisearch@0.0.12
 - medusa-plugin-permissions@1.1.34
 - medusa-plugin-restock-notification@0.0.27
 - medusa-plugin-segment@1.1.37
 - medusa-plugin-sendgrid@1.1.35
 - medusa-plugin-slack-notification@1.1.34
 - medusa-plugin-twilio-sms@1.1.34
 - medusa-plugin-wishlist@1.1.34
 - medusa-source-shopify@1.0.0
 - medusa-telemetry@0.0.11
 - medusa-test-utils@1.1.34
 - @medusajs/medusa@1.1.58
2021-12-08 13:21:54 +01:00
Edin Skeja
f2ba4018fc medusa-file-minio (#883)
* A first commit for medusa-file-minio

* Cleanup and remove unnecessary env vars

* Update packages

* Small fix big letter
2021-12-08 10:04:47 +01:00