Commit Graph

1586 Commits

Author SHA1 Message Date
Sebastian Rindom
cd1f5afa5a chore(release): Publish
- gatsby-source-medusa@0.0.48
 - medusa-interfaces@1.1.33
 - @medusajs/medusa-js@1.0.11
 - medusa-payment-klarna@1.1.40
 - medusa-payment-paypal@1.0.39
 - medusa-plugin-algolia@0.0.7
 - medusa-plugin-brightpearl@1.1.44
 - medusa-plugin-mailchimp@1.1.38
 - medusa-plugin-meilisearch@0.0.13
 - medusa-plugin-restock-notification@0.0.31
 - medusa-plugin-segment@1.1.41
 - medusa-react@0.1.4
 - medusa-source-shopify@1.0.4
 - @medusajs/medusa@1.1.63
2022-02-06 19:28:19 +01:00
Sebastian Rindom
7d2b5b8bab fix: adds return reasons to swaps (#1026) 2022-02-04 16:25:00 +01:00
Kasper Fabricius Kristensen
d2a7534615 fix: admin collections default relations (#1023)
* added default relations to retrieve collection endpoint

* push snapshot

* added created at and updated at to collection list endpoint

* updated integration tests

* added q param to list collections

* updated snapshots
2022-02-04 16:24:42 +01:00
Oliver Windall Juhl
59bb413245 fix: Updating store currencies (#984)
* fix: Adds default currency to store currencies on create

* fix: Adds integration tests + currency update error handling

* add test

* Lowercase currency codes

* fix tests

* fix: Await drop database to stop Jest from complaining

* revert itnegration tests fix

* fix store tests
2022-02-03 20:03:25 +01:00
Sebastian Rindom
3bf32e5dc9 fix: adds order by functionality to products (#1021)
* fix: adds order by functionality to products

* feat: adds product tags list

* fix: adds client and react support for product tags

* fix: unit test

* Update packages/medusa/src/services/product-tag.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update packages/medusa/src/services/product-tag.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update packages/medusa/src/services/product-tag.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update packages/medusa/src/services/product-tag.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update packages/medusa/src/services/product-tag.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update packages/medusa/src/services/product-tag.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-02-03 19:03:15 +01:00
Sebastian Rindom
a81227fa74 Fix/count variants (#1020)
* fix: adds listAndCount to product variants

* fix: adds list and count with relations

* lint fix

* Update packages/medusa/src/services/product-variant.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update packages/medusa/src/services/product-variant.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-02-02 19:29:06 +01:00
Zakaria El Asri
2e384842d5 feat: medusa-react admin hooks (#978)
* add: medusa admin hooks + tests

* fix: remove unneeded props

* fix: deps

* fix: deps

* fix: deps

* fix: failing tests

* fix: failing tests

* fix: query key

* add: yarn workspaces

* fix: linting medusa-react

* fix: add prepare script

* fix: buildOptions

* fix: useAdminShippingOptions query

* fix: use qs instead for query params (#1019)

* fix: formatting

* debug: ci pipeline

* debug: log node_modules structure

* debug: use lerna bootstrap

* debug: update node version

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: add explicit build step

* fix: jsdoc

* debug: run build step

* debug: fix build errors

* debug: add build step to integration tests

* fix: failing test

* cleanup

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
2022-02-02 17:10:56 +01:00
Philip Korsholm
24175025d1 Fix: admin list products expand integration test (#974) 2022-02-02 08:35:16 +01:00
Philip Korsholm
7fcdac51ea Feat: object notation in queryparams (#1002)
* add object notation for queryparams

* test rule.type query params in list-discount

* pr feedback
2022-02-01 17:31:12 +01:00
Adrien de Peretti
f115855282 Fix(request) retries is broken (#1005)
At the moment, when the method `shouldRetryCondition` is called, the condition are using OR which does not take in count 0 which is also considered as false
a simple fix is the usage of nullish coalescing
2022-02-01 17:25:16 +01:00
Philip Korsholm
f4f9653efc Feat: admin collections filtering (#977)
* collections filtering

* filtering collection tests

* oas for list collections
2022-02-01 17:24:47 +01:00
Oliver Windall Juhl
fdc493df7f fix: Support array of payment status filters when listing orders (#1013) 2022-02-01 17:24:13 +01:00
Murilo Henrique
d87a3a5503 fix(docs): broken links reference of the plugins page (#1011) 2022-01-26 08:20:39 +01: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
Philip Korsholm
f61eaeec12 feat: expand store product filtering (#973) 2022-01-11 16:06:16 +01:00
Sebastian Rindom
6dbd8d318d Merge remote-tracking branch 'origin/master' into develop 2022-01-11 14:07:04 +01:00
Sebastian Rindom
bbc16d6b11 feat(create-medusa-app): add medusa.express (#981)
* feat(create-medusa-app): add medusa.express

* fix: pr comments
2022-01-11 14:06:16 +01:00
Oliver Windall Juhl
a0a21d15ef fix: Adds default currency to store currencies on create (#982) 2022-01-10 16:08:26 +01:00
Adrien de Peretti
ec7c10e446 Fix(medusa) product-option values type (#983) 2022-01-10 14:50:06 +01:00
Zakaria El Asri
d365839a08 fix: api claim types + tests (#967) 2022-01-07 11:45:23 +01:00
Zakaria El Asri
7cc3640796 fix: medusa-js admin endpoint types (#968) 2022-01-07 11:44:59 +01:00
Adrien de Peretti
0ac52b70fa fix: Type in AdminProductListTagsRes to use tags instead of types (#958) 2022-01-06 17:45:15 +01:00
Pawan Sharma
1de79283e5 docs: Fix create-strapi-app command by postfixing version (#966) 2022-01-06 17:43:25 +01:00
Sebastian Rindom
146a22d45e Create SECURITY.md 2022-01-06 13:05:04 +01:00
SaintMalik
0f9fbbb732 docs: Fix typos in docs (#497) 2022-01-04 16:35:38 +01:00
Philip Korsholm
5754534beb Feat: Client admin uploads (#952)
* convert uploads to ts

* add custom headers to request

* uploads resource

* uploads routes updates

* index export

* add oas

* remove delete uploads endpoint

* add new package for form-data

* remove exports for delete upload endpoint

* remove dev package from medusa-js

* automatic package upgrade of medusa
2022-01-04 16:18:17 +01:00
Adrien de Peretti
ae839513b8 Feat(plugins) Pass plugin options to the routes to be able to access specific options from the plugin configuration (#959) 2022-01-04 15:56:00 +01:00
rjhllr
180fb17503 Docs/plugin root pkg requirement (#962)
* add paragraph about where Medusa actually loads files from

* add info about registration name formatting

Co-authored-by: Robin Heller <rh@flowberry.io>
2022-01-04 15:54:11 +01:00
Adrien de Peretti
77d2014ab4 Fix(admin) create product type tag (#963) 2022-01-03 18:13:04 +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
Adrien de Peretti
4f2d2d8b5e fix(medusa) Enforce authentication on users and invites (#953) 2021-12-29 12:56:40 +01:00
Zakaria El Asri
2efab08040 fix: client admin endpoints (#956) 2021-12-25 13:57:07 +01:00
Philip Korsholm
f405e9c874 notifications client (#949) 2021-12-20 14:09:12 +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
Philip Korsholm
e0be2da15e Feat: Client admin products (#930)
* add exports in product

* add product resource

* fix failling tests

* import reflect metadata

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2021-12-17 12:30:04 +01:00
Philip Korsholm
59e268b919 Feat: Add users endpoint to medusajs (#925)
* add users endpoint to medusajs

* add exports to medusa

* use native omit

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
2021-12-16 16:22:40 +01:00
Zakaria El Asri
31fad7439c feat: add store admin endpoints to medusa-js (#938)
* add: store admin endpoint to medusa-js

* add: resource to admin class

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2021-12-16 16:14:58 +01:00
Zakaria El Asri
b9d6f95dbd feat: add returns admin endpoints to medusa-js (#935)
* add: returns admin endpoint to medusa-js

* fix: http verbs

* fix duplicate import

* fix: type for cancel

* fix: conflicting import

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
2021-12-16 15:10:41 +01:00
Zakaria El Asri
321c271e53 fix: allow integration tests to run from integration-test/api folder (#940) 2021-12-16 14:56:25 +01:00
Zakaria El Asri
8b1b551260 feat: medusa js admin shipping options (#934)
* add: shipping-options admin endpoint to medusa-js

* fix: retrieve return type for Collections

* fix typo in routes

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
2021-12-16 14:55:03 +01:00
Philip Korsholm
01b915585b Feat/client admin orders (#932)
* add export to medusa index

* add orders to medusa-client

* correct update entity

* add orders to admin resource

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
2021-12-16 14:43:16 +01:00
Zakaria El Asri
0acc462e1e feat: medusa-js admin return reasons (#931)
* add: return-reasons admin endpoint to medusa-js

* fix types

* fix jsdoc

* fix typo jsdoc collection

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
2021-12-16 14:34:14 +01:00
Zakaria El Asri
8532c966b5 feat: medusa js admin regions (#939) 2021-12-16 14:30:03 +01:00
Philip Korsholm
3da46723a0 Feat: add variants to medusa client (#927) 2021-12-16 14:28:54 +01:00
Philip Korsholm
f5d3e4de10 swaps in admin resources (#928) 2021-12-15 16:57:39 +01:00
Philip Korsholm
b70df6be94 Feat: client admin shipping profiles (#929)
* shipping profiles resource

* spelling
2021-12-15 14:21:43 +01:00
Oliver Windall Juhl
8782016095 fix(medusa-payment-klarna): Default shipping fee name in Klarna plugin (#926) 2021-12-15 13:18:25 +01:00
Ajibola Ojo
e4d4fd7671 Product typo corrected (#846) 2021-12-14 21:51:14 +01:00