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
Shahed Nasser
a91fca69ac
docs: added a note about typescript declaration file ( #5361 )
2023-10-12 11:08:25 +03:00
Sebastian Rindom
66413d094e
feat: move create inventory to @medusajs/workflows ( #5301 )
...
**Why**
- We have some workflow-like flows in @medusajs/medusa. These should be moved over to the workflows package.
- Inventory Items <> Variant currently assume a 1-1 mapping. There should be support for a many-to-many mapping.
**What**
- PR introduces a feature flag for supporting many-to-many mappings for inventory and variants.
- Deletes legacy transaction handler in @medusajs/medusa.
- Adjusts existing createInventoryItems handler to remove dependency on variant data.
**Unkowns**
~~1. Couldn't find an existing test for the CreateProduct workflow. It should be tested that this still works as expected.~~
2. Have removed transaction managers as we should move to handling consistency through orchestration tooling. Are we ready for that?
2023-10-11 18:01:56 +00:00
pepijn-vanvlaanderen
bbd9dd408f
feat(medusa-file-s3): Added S3 directory config ( #5291 )
...
* Added S3 directory config
* Rename option directory to prefix
* Added changeset
2023-10-11 10:32:35 -07:00
Shahed Nasser
2c94186c7d
docs: add a note about yarn version support in Medusa Dev CLI guide ( #5355 )
2023-10-11 20:16:08 +03:00
Shahed Nasser
7a4c9dec49
docs: fix entity file path in Create Entity documentation ( #5351 )
2023-10-11 19:52:23 +03:00
Shahed Nasser
f0af8ecc89
docs: generate pricing module reference ( #5349 )
...
* docs: generate pricing module reference
* added notes about new configurations
2023-10-11 14:08:19 +03:00
Shahed Nasser
9c1c19f409
chore(docs-util): fix dependencies installation ( #5345 )
2023-10-11 10:46:06 +03:00
github-actions[bot]
daea35fe73
chore(docs): Generated JS Client Reference ( #5334 )
...
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-10 17:47:07 +00:00
Riqwan Thamir
378ca1b36e
feat(pricing,types,utils): Move calculate pricing query to a repository + rule type validation ( #5294 )
2023-10-10 15:05:19 +00:00
Riqwan Thamir
b62af612c7
feat(link-modules,modules-sdk,pricing): Medusa App Migrations + Core compatible migrations ( #5317 )
...
* chore: remove skipping logic for migrations
* chore: medusa app returns migrations to run for modules
* chore: added migration for feature compatible
* chore: added changelog
* chore: create table only if it does not exist
* chore: update migration to pluck from registered modules
* chore: cleanup
* chore: make product an internal service temp
* chore: added options and deps to module
* chore: added link module options
* chore: remove duplicate
* chore: added missing column names in core + remove from model
* chore: scope migrations to only to create if not exist - money amount, currency
---------
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2023-10-10 16:23:38 +02:00
Shahed Nasser
57bd38bb4b
chore: added and improved TSDoc of pricing module ( #5335 )
...
* adjusted tsdoc of methods and types in pricing module
* finished adding tsdocs
* small fixes
* remove reference files
* added github action
* fix typo in outPath
* Update packages/types/src/shared-context.ts
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* fix sharedContext description
* changed branch name of action
* added ignore for is_dynamic
* added private remark
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2023-10-10 13:23:54 +03:00
Sebastian Rindom
4ebcd3af6a
chore: adds test for inventory item creation as part of product creation ( #5312 )
...
* chore: adds test for inventory item creation as part of product creation
* chore: remove only
2023-10-09 14:24:11 -07:00
github-actions[bot]
074055acbb
chore(docs): Generated Services Reference (automated) ( #5333 )
...
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-10-09 19:57:05 +03:00
github-actions[bot]
431782d023
chore(docs): Generated Entities Reference (automated) ( #5332 )
...
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
2023-10-09 18:51:55 +03:00
Shahed Nasser
418ff2a33a
chore: fix tsconfig in utils ( #5328 )
2023-10-09 18:19:00 +03:00
Shahed Nasser
ef3d735113
docs: update price list's user guide ( #5323 )
...
* docs: update price list's user guide
* remove import links
* hide import prices docs
* add double quotes
* fix build error
* removed import prices section
* remove text about import
2023-10-09 17:31:32 +03:00
Shahed Nasser
85c4cdf9af
chore: fix path prefix of reference generation scripts ( #5324 )
...
* chore: fix path prefix of reference generation scripts
* fix build step
2023-10-09 16:43:54 +03:00
Shahed Nasser
05dbc7a877
docs: fix beta tag ( #5321 )
2023-10-09 14:05:55 +03:00
Shahed Nasser
ce93d75cc5
chore: fix generate reference command name in action ( #5320 )
...
* chore: fix generate reference command name
* fix require path in typedoc config
* add missing dependencies
2023-10-09 13:45:19 +03:00
github-actions[bot]
c135730838
chore(docs): Generated API Reference ( #5319 )
...
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
2023-10-09 13:24:39 +03:00
Shahed Nasser
4ada22d656
chore: fix OAS of batch delete product prices endpoint ( #5318 )
...
* chore: fix OAS of batch delete product prices endpoint
* fix oas check
2023-10-09 13:13:00 +03:00
Shahed Nasser
1c3faee158
docs: fix documentation actions ( #5316 )
...
* docs: fix documentation utility scripts
* change branch names
2023-10-09 12:43:14 +03:00
olivermrbl
441844ed89
chore: Release
2023-10-06 08:45:49 -07:00
github-actions[bot]
35d5fbe8cc
chore: Version Packages ( #5272 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-06 08:41:24 -07:00
Kasper Fabricius Kristensen
0f34e0f381
feat(admin-ui, medusa, medusa-react, medusa-js): Price List UI revamp ( #5233 )
...
* progress on cleanup
* rm forceMount
* close modal on succesful submit
* fix: invalidate price list query on useAdminCreatePriceListPrices
* sync translation keys
* add last translations
* sync translation keys
* improve tabbing between cells
* add comment
* fix: remove double variant, set collision boundary on column dropdown
* add widgets
* update lock file
* decrease details info size, and add missing status update function
* sync translation keys
* add snapshots and remove min/max
* add missing filter menu for customer groups table
* add translation keys for filter menu
* rm unused code
* Create tall-apricots-run.md
* Update tall-apricots-run.md
* fix: discard invalid paste values
* add translation keys
* bump snapshots + minor fixes
* rm console.log
* bump snapshots
* bump ui packages, and add missing tax inclusive display in New form
* update lock file
* fix filter menu
* update snapshot
* update ui package and fix sub menu position
---------
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-10-06 08:22:25 -07:00
Shahed Nasser
4ca70a0d0c
docs: fix horizontal scroll ( #5300 )
2023-10-05 22:38:54 +03:00