Commit Graph

3323 Commits

Author SHA1 Message Date
Shahed Nasser
1651cfd4ac docs: added currency documentation pages (#3803)
* docs: added currency documentation pages

* fixes to OAS
2023-04-11 21:39:24 +03:00
Oliver Windall Juhl
654a546223 chore: Bump Typeorm (#3778) 2023-04-11 18:43:40 +02:00
Shahed Nasser
9b1348df48 docs: updated contentful documentation (#3800) 2023-04-11 18:45:33 +03:00
Frane Polić
78ff64e783 fix(medusa): validate customer for group discount (#3797)
* fix: validate customer for group discount

* fix: remove logger

* fix: add generated desc

* fix: add an integration test case

* refactor: update error message

* fix: typo

* refactor: move condition

---------

Co-authored-by: fPolic <frane@medusajs.com>
2023-04-11 14:16:18 +02:00
Shahed Nasser
99cc4b0571 docs: small fixes for guides using the start command (#3799) 2023-04-11 14:40:55 +03:00
Oliver Windall Juhl
7f6dc44beb fix(medusa): Add totals when retrieving order by cart id (#3777)
* fix(medusa): Add totals when retrieving order by cart id

* fix: Unit test

* Create .changeset/stupid-rockets-smile.md
2023-04-11 11:40:13 +02:00
github-actions[bot]
8f8816cbab chore(docs): Removed Docs Announcement Bar (automated) (#3795)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-04-11 10:04:46 +03:00
Shahed Nasser
8da342897c docs: commented out option 2 of admin as a temporary fix (#3789)
* docs: commented out option 2 as a temporary fix

* fix comments
2023-04-10 18:52:23 +03:00
Shahed Nasser
a964bea801 docs: changed message value in feedback component (#3786) 2023-04-10 14:25:28 +03:00
Shahed Nasser
6046323f42 chore: changed PR branch for docs workflows (#3781) 2023-04-10 11:31:39 +03:00
Shahed Nasser
ae017c4657 chore(docs): merge changes from master (#3780)
* chore(docs): Generated API Reference (#3761)

Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>

* docs: fix typo (#3771)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
Co-authored-by: Andre Schweighofer <fidrelity@users.noreply.github.com>
2023-04-10 11:15:54 +03:00
Oliver Windall Juhl
5280e1bdad chore: Automate releases (#3736)
* chore: Automate releases

* Update release.yml
2023-04-10 09:51:14 +02:00
Oliver Windall Juhl
085fedb1f7 chore(medusa): Upgrade ioredis-mock (#3704)
* chore(medusa): Upgrade ioredis-mock

* Create .changeset/old-spoons-bow.md

* chore: Increas jest timeout

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-09 16:10:04 +02:00
Rares Stefan
4104d9ccb2 fix(medusa-plugin-economic,medusa-plugin-mailchimp,medusa-plugin-restock-notification,medusa-plugin-sendgrid,medusa-plugin-wishlist): Temporarily remove payload validation in some plugins (#3763)
* Temporarily remove payload validation in some plugins

* Add changeset

* chore: Remove commented out code

* Revert discount generator plugin

---------

Co-authored-by: olivermrbl <oliver@mrbltech.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-04-08 21:09:13 +02:00
Adrien de Peretti
282e239dfc chore(medusa): Migrate price list repository (#3725)
* chore(medusa): Migrate price list repository

* Create grumpy-cars-tease.md

* fixes

* fix

* fix

* cleanup

---------

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2023-04-08 18:54:08 +02:00
Adrien de Peretti
1a60c6f58d fix(medusa): Throw on line item generation if variant does not have a price (#3766) 2023-04-08 18:32:59 +02:00
Riqwan Thamir
d533caa4c2 feat(medusa, admin-ui): add description field to product categories (#3768)
* feat(medusa): add description field to product categories

* chore: set nullable to false

* chore: added UI for description

* chore: added codegen files
2023-04-08 18:29:12 +02:00
Shahed Nasser
74c54a134d docs: use cloudinary env variable (#3769)
* docs: use cloudinary env variable

* fix error

* added default value

* add condition for cloud name
2023-04-07 14:15:48 +03:00
Shahed Nasser
a7b57e8201 docs: optimized cloudinary images (#3767) 2023-04-07 12:24:53 +03:00
Riqwan Thamir
abdb74d997 chore(medusa, utils): rename buildLegacyFieldsListFrom to objectToStringPath (#3738)
* chore(medusa): rename buildLegacyFieldsListFrom to objectToStringPath

* chore: address pr comments
2023-04-07 10:27:13 +02:00
Frane Polić
08f85fa33b fix(medusa): export product prices in human-readable format (#3739)
* fix: export product prices in human-readable format

* feat: add changesets

* fix: update snaps

* fix: update more snaps

---------

Co-authored-by: fPolic <frane@medusajs.com>
2023-04-07 09:59:28 +02:00
Shahed Nasser
d55d8656cf docs: updated contribution guidelines (#3760)
* docs: updated contribution guidelines

* fixed eslint errors
2023-04-07 10:47:21 +03:00
Shahed Nasser
8c8334203e docs: added node.js required version for next.js storefront (#3758)
* docs: added node.js required version for next.js storefront

* changed required version of node across docs

* small fix
2023-04-07 09:24:13 +03:00
Shahed Nasser
f04f5c3498 docs(oas): fixed OAS comments for 1.8 endpoints (#3751)
* docs(oas): fixed oas comments for 1.8 endpoints

* generated changes
2023-04-06 18:28:27 +03:00
Shahed Nasser
162c4e6e41 chore: added maintenance note to gatsby-source-medusa (#3759) 2023-04-06 18:00:44 +03:00
Frane Polić
6f48cc57bc fix(admin-ui): "cancel fulfillment" notification text (#3750)
* fix: "cancel fulfillment" notification text

* fix: add changesets

---------

Co-authored-by: fPolic <frane@medusajs.com>
2023-04-06 15:45:54 +02:00
Frane Polić
c24c2a9732 fix(medusa-react): update customer hook payload type (#3752)
Co-authored-by: fPolic <frane@medusajs.com>
2023-04-06 15:42:55 +02:00
Shahed Nasser
3693322a83 docs: resolved occurrences of gatsby storefront (#3754) 2023-04-06 16:41:07 +03:00
Oliver Windall Juhl
8277a74257 chore(ci): Don't ignore docs for required checks (#3749) 2023-04-06 15:22:21 +02:00
Frane Polić
72b76bbd3c fix(admin-ui): display SC update notification (#3755)
Co-authored-by: fPolic <frane@medusajs.com>
2023-04-06 15:21:03 +02:00
Shahed Nasser
9bbe1edbda docs: added troubleshooting guide for cma (#3756) 2023-04-06 16:19:08 +03:00
Shahed Nasser
7813664bba docs: added multi-warehouse how-to docs (#3747) 2023-04-06 13:49:35 +03:00
thephpguy
16f73baca1 docs: show how to use the sendgrid plugin dynamically. (#3679)
* Updating documentation to show how to use the plugin dynamically.

* Updating documentation to show how to use the sendgrid plugin dynamically.

* Update docs/content/plugins/notifications/sendgrid.mdx

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* Revert "Updating documentation to show how to use the plugin dynamically."

This reverts commit d81c097b1a4637ca773f83f3aa5673bbed58e0f8.

* Adding language type to code sample

* fixed eslint errors

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-04-06 13:02:23 +03:00
Riqwan Thamir
713d85a92c chore(medusa): migrate SalesChannel / ProductCategory repository (#3728)
* chore: Migrate sales channel repository

* chore: migrated product categories

* chore: remove alias + rename changset

* chore(medusa): Cleanup publishable api key sales channel repo

* rm comment

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
2023-04-05 18:33:16 +02:00
Rares Stefan
30ee10fddd fix(react): Fix input type on useAdminUpdateReservation mutation hook (#3732)
The hook was incorrectly expecting the input type for the creation mutation.

Resolves CORE-1316
2023-04-05 14:24:32 +00:00
Patrick
0b3c6fde30 feat(codegen:test): coverage x-expanded-relation + x-codegen.queryParams (#3675)
## What

Adding tests to cover `x-expanded-relation` and  `x-codegen.queryParams` handling

## Why

The logic that processes these OAS extension can be complex to reason with. Therefore, we should have automated tests to prevent unintentional regression.

## How

* Focus on `getModels` method and its sub-routines.
* Add coverage to getOperation codegen parsing.
* Add coverage to model and operation spec property.
2023-04-05 14:01:29 +00:00
olivermrbl
dd1e86b0d4 Merge branch 'master' into develop 2023-04-05 15:12:47 +02:00
Oliver Windall Juhl
8761ec59c7 chore(workflows): Use our default starter in CI (#3730) 2023-04-05 14:47:53 +02:00
Adrien de Peretti
60abb91b7c chore(medusa): Migrate payment collection repository api (#3724)
* chore(medusa): Migrate payment repository api

* Create fresh-ties-hide.md
2023-04-05 12:39:46 +02:00
Adrien de Peretti
eab2d22f7d chore(medusa): Migrate product tag repository (#3726)
* chore(medusa): Migrate product tag repository

* chore(medusa): cleanup

* chore(medusa): cleanup

* Create healthy-lies-eat.md

* chore(medusa): naming

* fix repo
2023-04-05 12:39:28 +02:00
Adrien de Peretti
4d69d8ef6a chore(medusa): Migrate product type repository (#3727)
* chore(medusa): Migrate product type repository

* Create pink-socks-brake.md
2023-04-05 12:39:15 +02:00
Adrien de Peretti
914d57336b chores(medusa): cleanup registrations life time (#3699) 2023-04-05 12:15:44 +02:00
Shahed Nasser
a56f021718 docs: fixed order of admin upgrade guides (#3729) 2023-04-05 11:53:24 +03:00
olivermrbl
4c268238a4 Merge branch 'master' into develop 2023-04-05 09:18:48 +02:00
David Frnoch
f5e6eab14e docs: update implementation examples links to master branch (#3707) 2023-04-04 21:32:11 +03:00
github-actions[bot]
70435d5631 chore(docs): Generated API Reference (#3718)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-04-04 21:02:44 +03:00
github-actions[bot]
51d0b88404 chore(docs): Generated Docs Announcement Bar (automated) (#3717)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-04-04 21:02:20 +03:00
github-actions[bot]
198f39f8d4 chore(docs): Generated Services Reference (automated) (#3719)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-04-04 21:01:53 +03:00
Shahed Nasser
3838067a54 docs: updated meta image (#3720) 2023-04-04 21:01:17 +03:00
olivermrbl
66c59d54ff chore(release): v1.8.0 2023-04-04 18:35:27 +02:00