Commit Graph

4116 Commits

Author SHA1 Message Date
github-actions[bot]
0ffa48b07f chore(docs): Generated Pricing Module Reference (#5432)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-10-20 12:08:59 +00:00
github-actions[bot]
39de54e2e8 chore(docs): Generated JS Client Reference (#5434)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-10-20 11:47:19 +00:00
github-actions[bot]
8203dec3e2 chore(docs): Generated Product Module Reference (#5430)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-10-20 11:31:34 +00:00
github-actions[bot]
da05999f13 chore(docs): Generated API Reference (#5431)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-10-20 14:13:44 +03:00
github-actions[bot]
9dcd62c731 chore(docs): Generated JS Client Reference (#5421)
* chore(docs): Generated JS Client Reference (automated)

* fix js client reference

* fix links

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed nasser <shahednasser@gmail.com>
2023-10-20 14:01:27 +03:00
Shahed Nasser
83f46b9b32 docs: general fixes and enhancements (#5429)
* fix #5427

* fixes #5424

* add new s3 option

* make learning path steps clickable

* remove admin demo link

* fix documentation job conditions

* update user guide images

* update commerce modules titles to match their respective pages

* change icon of discount card

* change ref to head_ref in action condition

* remove refs prefix

* fix vale action's condition
2023-10-20 13:34:40 +03:00
olivermrbl
26833a48a0 chore: Bump @medusajs/medusa-js + medusa-react 2023-10-20 08:32:38 +02:00
olivermrbl
045d1b6a0c chore(medusa-react,medusa-js): Bump @medusajs/medusa deps 2023-10-20 08:24:32 +02:00
Shahed Nasser
1ebbf3dd33 chore: add condition for running documentation actions (#5418)
* chore: add condition for running documentation actions

* fix condition
2023-10-19 20:53:51 +03:00
github-actions[bot]
54659ae79f chore(docs): Generated Entities Reference (automated) (#5420)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-19 17:37:30 +00:00
github-actions[bot]
38bbc806e0 chore(docs): Generated Docs Announcement Bar (automated) (#5419)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-19 17:17:59 +00:00
github-actions[bot]
5c8a1eef12 chore(docs): Generated Services Reference (automated) (#5423)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-19 16:59:51 +00:00
Shahed Nasser
28d2f2ea98 docs: fix parameters display in module reference (#5425)
* prettify json output

* fix parameter optional + array children
2023-10-19 19:34:17 +03:00
Shahed Nasser
c28935b4e8 docs: update endpoints to use file-routing approach (#5397)
- Move the original guides for creating endpoints and middlewares to sub-sections in the Endpoints category.
- Replace existing guides for endpoints and middlewares with the new approach.
- Update all endpoints-related snippets across docs to use this new approach.
2023-10-19 15:56:26 +00:00
olivermrbl
b38f73726d chore: Release 2023-10-19 16:01:56 +02:00
github-actions[bot]
c0d74bc682 chore: Version Packages (#5340)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 15:58:48 +02:00
Florent Quienne
c1cabac721 fix(medusa): Dont set cache if ignore_cache option is true (#5408)
* Dont 'set' in cache if  ignore_cache option is true

* Create big-countries-drive.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-19 15:43:17 +02:00
Frane Polić
aba9ded2a3 feat(workflows): update product workflow (#4982)
**What**
- added "update product" workflow

Co-authored-by: Riqwan Thamir <5105988+riqwan@users.noreply.github.com>
2023-10-19 12:02:40 +00:00
Samir Alibabic
3aba6269ed feat(admin-ui): add Bosnian translation (#5395)
- Bosnian translation for Admin UI

Resolves: https://github.com/medusajs/medusa/issues/5346

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-19 09:00:59 +00:00
Anamarija Papić
d30f4477d9 feat(admin-ui): Add Croatian translation (#5377)
* feat(admin-ui): Add Croatian translation

* feat(admin-ui): Apply suggestions from code review

Minor fixes in Croatian translation

Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com>

* Create old-laws-clap.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com>
2023-10-19 10:23:15 +02:00
springstan
0f025ee19b feat(admin-ui): Correct some German translations (#5375)
* feat(admin-ui): Correct some German translations

* Correct German translation for returns

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-19 10:19:09 +02:00
pepijn-vanvlaanderen
0d7c5543dd feat(medusa): Add item and shipping tax totals to order (#5385)
* Expose item tax total and shipping tax total in order totals

* Added changeset

* Fixes to tests

* Fixes to integration tests

* Fixes to integration tests

* Fixes to integration tests

* Change changeset to patch
2023-10-19 09:57:37 +02:00
Derek Wene
5a5c96e211 fix(medusa-js): Types for bundler (#5400)
* fix(package.json): add types in exports to help with projects using tsconfig moduleResolution: bundler

* chore: add changeset
2023-10-19 09:16:56 +02:00
Shahed Nasser
a27083cd4b chore: fix actions of generating references (#5411) 2023-10-18 20:38:51 +03:00
Shahed Nasser
8d0a45ec14 chore: added TSDocs to product module service interface (#5341)
* added tsdocs for product module service

* general fixes

* added generate github action

* fix typedoc configurations

* update comments

* change configurations

* address PR feedback
2023-10-18 19:41:53 +03:00
olivermrbl
ffb0bbe4a7 chore(changesets): Update incorrect package name 2023-10-18 18:01:22 +02:00
Kasper Fabricius Kristensen
ddff919655 feat(medusa): support file based routing (#5365)
* feat(medusa): Implement file base routing mechanism

* cleanup

* cleanup and improvements

* improve tests

* update tests

* Create tame-trains-grin.md

* fix tests, move fixtures

* fix tests

* lint

* init work

* work on supported methods

* add config generator

* progress

* progress

* rework middleware registartion

* progress

* progress

* export MiddlewareConfig  type

* add type extensions

* work on improving logs

* work on loggers

* apply cors, json parsing, and admin authentication per default

* address feedback

* rm changeset

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-18 16:26:27 +02:00
Shahed Nasser
49ed7de752 chore: fix OAS for User Login JWT (#5403) 2023-10-18 17:12:30 +03:00
Riqwan Thamir
453297f525 chore: fix interfaces for product module (#5387)
Some changes based on @shahednasser's PR - https://github.com/medusajs/medusa/pull/5341
2023-10-18 13:38:12 +00:00
Oli Juhl
a0963f0edf fix(admin-ui): Remove t() on product.status update (#5394)
* fix(admin-ui): Remove t() on product.status update

* Create tidy-games-drum.md
2023-10-18 13:50:47 +02:00
David Preininger
98e2755514 fix(medusa-js): JwtTokenManager.registerJwt for store domain (#5406)
* fixed issue

* Create three-squids-add.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-18 13:10:53 +02:00
Adrien de Peretti
e47461d95c chore(orchestration): prevent throwing on already defined workflow (#5337)
**What**
At the moment, when importing something from medusa entry point, if two medusa packages are installed because of a plugin, the evaluation of the import can end up throwing that a workflow is already defined. To prevent that from happening, we can just not throw if it is already defined and just return prematurely and make it idempotent.
2023-10-18 09:47:22 +00:00
Shahed Nasser
a1807aea83 feat(create-medusa-app): add tracking for selected options (#5404)
Adds tracking for selected options in `create-medusa-app` to better understand how users are using Medusa.
2023-10-18 09:02:40 +00:00
Josip Matić
04e9dd6a6a fix(medusa-plugin-brightpearl): Missing discounts rule relation (#5390)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-18 07:26:50 +00:00
Oli Juhl
9c362f7214 chore(integration-tests): Add jest timeout to workflow tests (#5401) 2023-10-18 08:45:50 +02:00
Shahed Nasser
fc01375a8d docs: fix q parameter in search products section (#5399) 2023-10-17 19:57:36 +03:00
Shahed Nasser
c089b0f54b docs: added a note about official translations (#5398) 2023-10-17 19:36:58 +03:00
Shahed Nasser
2d74ec256f docs: resdesign and restructure modules references (#5372)
* docs: change format of module reference

* description fix

* update structure + comments

* added new options to README

* small text fix

* change section ordering

* change how required/optional are shown

* remove optional text

* docs: redesigned accordion
2023-10-16 19:51:55 +03:00
Shahed Nasser
3dada88c81 docs: fix links to create notification provider (#5380) 2023-10-16 13:20:51 +03:00
Nicklas Gellner
4fc48db11e docs: fix link not showing correctly (#5373)
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-10-16 11:18:45 +03:00
Oli Juhl
3b45fdf135 fix(admin-ui): Create analytics if FF is enabled (#5367)
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
2023-10-16 08:01:39 +02:00
Nicklas Gellner
7d62176f74 chore: Update README.md (#5295)
Remove PH link
2023-10-15 18:34:14 +02:00
Adrien de Peretti
69cf7215f1 fix(medusa, types): Mark properties as nullable to reflect their correct types (#5281)
* fix(medusa, types): Mark properties as nullable to reflect their correct types

* Create chilly-pugs-doubt.md

* fix column type to prevent inference

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
2023-10-15 18:10:36 +02:00
Kasper Fabricius Kristensen
3376f4ccc1 fix(admin-ui): alias design system packages (#5358)
* alias design system packages

* add changeset
2023-10-13 14:49:17 -07:00
Philip Korsholm
ca6e7dc350 feat(medusa): add pricing integration feature flag (#5287) 2023-10-13 13:35:06 +00:00
Nicklas Gellner
9e19359b5d docs: fix naming of stock location module (#5368)
It seems like we are using "Stock Location module" and not "Stock Level module"
2023-10-13 10:27:37 +03:00
Didier Guyon
ec27d02d99 fix(medusa): Filter statement in partitionItems_ method of Fulfillment Service (#5247)
* Fixed filter statement in partitionItems_ method of Fulfillment Service

* Fix custom batch job activity card

* Added changeset

* Revert unrelated change

---------

Co-authored-by: Pepijn van Vlaanderen <pepijn@webbers.com>
2023-10-12 10:55:07 -07:00
Shahed Nasser
cacc443fc2 chore(oas): add note about returned fields in list product variants endpoint (#5360) 2023-10-12 14:55:13 +03:00
Shahed Nasser
c02fdeb789 chore(oas): fix typo in product variant's OAS (#5352)
* chore(oas): fix typo in product variant's OAS

* fix oas error
2023-10-12 14:20:08 +03:00
Kasper Fabricius Kristensen
e04927a3cb fix(admin-ui): Price list domain fixes (#5339)
**Fixes**
- Fixes an issue where click the Delete button on a table item in the Price List overview would also navigate to the Price Lists page
- Fixes an issue where Region prices were not showing which region they belong to in the Bulk Editor
- Fixes an issue where the wrong widgets were being injected into the Price List domain

**Improvements**
- Align label for Expiry date field
- Add form validation to require setting the prices of at least one product variant when creating or adding prices to a Price List.
- Show a prompt warning if prices have not been set for all selected products in the create and add product flows.
2023-10-12 08:34:46 +00:00