Philip Korsholm
1d91fa4e08
fix(medusa-plugin-brightpearl): External ref split ( #4295 )
...
* order should be first part of external_ref
* add changeset
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-06-15 19:41:44 +02:00
Shahed Nasser
f98ba5bde8
feat(create-medusa-app,medusa-cli): Allow clearing project ( #4273 )
...
- Added build step
- Added `--no-boilerplate` option to `create-medusa-app` to allow clearing onboarding files
- Clear project files by default in medusa-cli
2023-06-15 17:31:30 +00:00
Philip Korsholm
f8643361cd
feat(admin-ui, medusa): Remove feature flag ( #4267 )
2023-06-15 16:55:29 +00:00
olivermrbl
c95b485a1e
chore: Use specific typeorm versions
2023-06-15 18:30:58 +02:00
Oliver Windall Juhl
9b42387fd3
chore: Add missing deps ( #4317 )
2023-06-15 18:27:31 +02:00
Derek Wene
81dfeb43ea
feat(medusa): add redis_prefix in configModule.projectConfig ( #4268 )
2023-06-14 16:24:35 +02:00
Liam Cooper
ca477c86af
feat(medusa): Preserve node flags in develop command ( #1860 )
2023-06-14 15:26:16 +02:00
Oliver Windall Juhl
afd1b67f1c
chore: Clean up deps, devDeps, and peerDeps across all packages ( #4276 )
...
* chore: Use caret for all Medusa deps
* Create wild-balloons-push.md
* Address PR feedback
* force build order
* add missing dep
* add missing dev deps
* addresses last comments
2023-06-14 15:18:11 +02:00
Adrien de Peretti
02b1bd07cd
fix(medusa): Query parser issues with large array ( #4213 )
...
* fix(medusa): Query parser issues with large array
* Create little-weeks-exercise.md
* add integration tests
2023-06-14 13:36:04 +02:00
Adrien de Peretti
8e708aaddf
fix(medusa): Remove items.refundable from the order default store fields ( #4294 )
...
* fix(medusa): Remove items.refundable from the order default store fields
* Create khaki-socks-thank.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-06-13 19:20:20 +02:00
Adrien de Peretti
2c0074031b
fix(medusa): getAvailableContext should first check if the inventory service is present ( #4293 )
...
* fix(medusa): getAvailableContext should first check if the inventory service is present
* Create clever-seals-share.md
2023-06-13 18:14:43 +02:00
Adrien de Peretti
14c0f62f84
feat: Product Module ( #4161 )
...
* chore: boilerplate setup
* wip: add Product, ProductTag, ProductType, ProductCollection models
* wip: `IProductService` definition
* wip: test function in index, build passing
* fix: where condition
* chore: get boilerplate working with modules sdk, create a boilerplate test, create product variant model, register services properly
* chore: added variant to model
* chore: changed definition details + add migrator
* cleanup and update product entity
* Update product unique index to include soft deleted
* Migrations tests
* generated migration
* update dev orm config
* add path aliases
* WIP
* chore: added boilerplate integration test + database helper + product variant migraiton + model
* chore: remove old test utils
* update ts and jest config to include path aliases
* tweak config
* WIP migrations variant
* Migrations round
* integration tests migrations polishing
* chore: fixed issues with test db
* fix path aliases when published
* use ts-alias
* fix connection loader
* fixes
* wip: product list
* (WIP): Data access layer
* (WIP): DAL cleanup services
* wip: `ProductTag` DAL
* wip: `ProductTag` expose list in product service
* (WIP): Continue DAL and test list product filtering/populate
* WIP: unit tests
* chore: added tests for service - productvariant
* chore: WIP finding issues with orm manager fork
* WIP fix fields selection
* chore: make text fixes work
* (WIP) product integration
* (WIP) product integration
* chore: create a product in variant test
* list product with relations
* wip: `ProductTag` service + integrations
* chore: added with and without serialization example
* chore: remove only in spec
* wip: `ProductCollection` service + integrations
* uncomment product.variants
* Update type IProductService
* (WIP) type work
* (WIP) Product variants relation
* WIP: replacable data layer
* (WIP): Use bundle types
* WIP: update type
* WIP upadte tests
* WIP
* wip: options/option values entites
* (WIP): cleanup
* wip: add option value to variant, fix collection
* Integration tests for custom data access layer
* update tests
* chore: merge with latest branch
* chore: scope tests to relations and add category to models/index
* chore: ignore dist folders for jest
* chore: modularize spec data file
* improve DX
* module fixture naming
* chore: added category tests + fix model
* chore: use kebab case
* chore: allow scoping products by category id
* chore: replace `kebabCase` import
* feat: add `deleted_at` to options
* improve typings
* chore: wip
* fix query util
* revert webpack
* fix: update option models, create option DTOs, tests wip, fix `deduplicateIfNecessary` returning `undefined`
* fix: merge conflict
* WIP connection
* rm unsues deps
* fix migrations
* fix query util
* chore: adds mpath on creation
* WIP update types
* improve typings
* WIP typeings improvement
* WIP
* deps
* chore: package medusa/product ot medusa-commerce/product
* chore: added product categories service + descendants filter
* add missing index
* Add support for strict categories not in
* Add support for strict categories not in
* lint
* rename module
* rename module
* Create small-ducks-doubt.md
* yarn lock
* update initialise
* chore: fix/finalise DTOs
* fix: wrong types in `IProductService`
* fix type
* Load database config from env if present (#4175 )
* Load database config from env if present
* Load database config from env if present
* options optionnal
* update util
* add defaults
* improve filterable interfaces
* fix import
* fix types
* remove medusa-telemetry from modules-sdk
* WIP fixing webpack issues when bootstraping module
* cleanup
* improve loading driver options
* cleanup
* yarn lock
* fix import
* improve sdk types and naming
* align orther modules initialise method
* fix module tests with singleton module
* fix module tests with singleton module
* add up/down migration scripts
* update types
* scripts
* cleanup migrations and scripts
* hash module singleton
* cleanup migration
* cleanup
* fix stringifyCircular usage
* improvements
* fix deps
* fix deps
* improve load config utils
* improve load config utils
* fix deps
* add declaration to the build
* update yarn
* Do not resolve a module path if the exports are explicitly given
* fix module registration resolution path when exports are provided. Explicitly check for false and assign an empty string in this scenario for segregation purpose
* add comment
* fix migration options to prevent set replica errors
* chore: update types to a proper depedency
* chore: update type package
* add seed scripts
* Add descriptive error during database config loading
* use MedusaError
* chore: added lodash to package
* add more test to the database config loader util
* create bin scripts
* add bin
* update argv retrieval
* update package.json
* chore: add product category to injected deps
* chore: replace with product category service
* move dotenv usage to the functions
* do not load db if there is custom manager
* chore: fix some tests on products repo
* chore: fixed product spec
* chore: skip products module on modules register
* stringifyCircular update
* chore: fix incorrect module resolution
* fix: circular stringify and non required module loading
* yarn lock
* target es5
* chore: mikro-orm back to 5.7.4
* revert module registry
* skip external modules
* es2020
* update indexes, migration and integration tests
* rm only
* unit test script should only run unit tests
* Exclude product integration from the unit tests and make use of the global integration script to run all packages integration tests
* fix integration tests
* improve setup
* cleanup
* log error on setup fail
* Create enum like for package names
* chore: remove EOL
* chore: review part 2
* renamve gateway to productModuleService
* chore: added filters and collections to productmoduleservice
* chore: add collection to the singleton instance
* chore: remove skipped test + add todo
* fix indexes on fields and relations + update migration
* update yarn lock
* update idx
* add foreign key
* rename interface and add listCategories
* rename product module definition
---------
Co-authored-by: fPolic <frane@medusajs.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
2023-06-09 20:47:24 +02:00
Philip Korsholm
79cca2ab80
feat(admin-ui): Filter reservations ( #4115 )
...
* initial filter
* clenaup
* reser filters correctly
* filter reservations
* ensure reset works
* update types
* add adjustment icon
* pr prep
* update filtering with proper description handling
* location filter updates and search removal
* removed greyed out dates + add created_by filtering
* update filtering with proper ordering
* filter out selected users
* fix array issues
* update spacing for searchable queries
* fix deselection bug for inventory item search
* update date filter;
* rename const a to initialFilters
* fix re-render issue
* ui updates
* update inventory filter to remove selected items
* fix width
* fix truncation for button text if desired
* add span classes
* add "go to reservations" popover
* add tooltip if location text is truncated
* fix long items
* typing
* minor fix for select value
* fix reservation quantity field updates
* add pb
* Update packages/admin-ui/ui/src/components/templates/reservations-table/index.tsx
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* feedback
* add changeset
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-06-08 17:57:39 +02:00
Shahed Nasser
947e6aac77
fix(create-medusa-app): handle todos ( #4262 )
2023-06-08 09:29:43 +03:00
Shahed Nasser
c04d93cd04
feat(create-medusa-app): update command for a better onboarding experience ( #4215 )
...
* feat(create-medusa-app): update command for a better onboarding experience
* use medusa-telemetry for tracking
* update used snapshot
* added changeset
* update yarn.lock
* increased facts timer
* updated snapshot version
* show facts throughout installation + add first_run to url
* added message after server termination
* print message only once
* added github to process terminated message
* address pr feedback
* added onboarding seeding
* fix for npm install
2023-06-07 20:34:50 +02:00
Shahed Nasser
8676ee7a2e
feat(medusa,medusa-cli): Added an invite option to the create user command, and allow seeding publishable api keys ( #4192 )
...
* feat(medusa,medusa-cli): Added an invite option to the create user command
* ensure process exits for invites
* addressed PR comments
* allow seeding publishable api keys
2023-06-07 20:34:27 +02:00
Frane Polić
1bd2e7a5be
fix(admin-ui): flickering Timeline ( #4231 )
...
* fix(admin-ui): prevent Timeline flickering while loading
* chore: changesets
---------
Co-authored-by: fPolic <frane@medusajs.com >
2023-06-07 10:58:30 +02:00
Adrien de Peretti
2db6a1d407
chore(medusa): Improve database loader error handling ( #4254 )
...
* chore(medusa): Improve database loader error handling
* Create sharp-melons-doubt.md
* move the database error handling to the utils
* fix unit tests
* tackle feedback
* fix unit tests
2023-06-07 10:57:29 +02:00
Shahed Nasser
926e284bac
docs: fix transformer option name for algolia ( #4253 )
2023-06-06 11:40:47 +03:00
Tsvetan Nikolov
3e2fe07d0a
docs: fix transformer option in meilisearch documentation ( #4250 )
...
* Fixed documentation about meilisearch transformer function
* updated medusa-plugin-meilisearch readme
---------
Co-authored-by: Tsvetan Nikolov <tsvetan.nikolov@coliquio.de >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-06-06 11:08:56 +03:00
Philip Korsholm
eadf13cb21
feat(medusa): variants expand inventory_items ( #4203 )
...
* add expand params for inventory items to product and variant endpoints in store
* add changeset
* update integration test naming
* make priceSeelctionParams extends findParams and adjust api accordingly
2023-06-05 20:14:05 +02:00
Shahed Nasser
4b5b7b5148
fix(create-medusa-app): remove seed command from create-medusa-app and improve success message ( #4247 )
...
## What
- Removed the `seed` process and the `--no-seed` option from the `create-medusa-app` command
- Improved the success message to include details about creating the database and running migrations before starting the backend.
## Why
As of removing support for SQLite, the `seed` command does not work most of the time on installation since there's no database configured and the default one isn't created by the user yet. This leads to an error message showing during the installation which leads the user into thinking the setup went wrong.
Also, the steps after the installation is done successfully don't include anything related to the database, which means that when the user starts the backend they'll see errors.
2023-06-05 16:30:42 +00:00
Philip Korsholm
869628bf4c
feat(admin-ui): Rename allocation to reservation ( #4133 )
...
* rename allocation -> reservation
* add changeset
* edit-reservation modal
* rename
2023-06-05 16:28:29 +02:00
Philip Korsholm
572280e1d1
fix(medusa-plugin-brightpearl): Add bp from sales channel of order where possible ( #4160 )
...
* add bp from sales channel of order where possible
* add changeset
* correct typo
* Add missing relations
---------
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2023-06-05 16:01:01 +02:00
Adrien de Peretti
af2dc4f75a
feat(medusa, inventory, stock-location): Remove unnecessary transaction usage in the modules and the list product end points ( #4232 )
2023-06-05 12:11:12 +02:00
Adrien de Peretti
d76ba0cd29
fix(medusa): Order edit missing transaction when consuming the inventory module ( #4211 )
...
* fix(medusa): Order edit missing transaction when consuming the inventory module
* Create hot-cougars-speak.md
* fix missing types
2023-06-05 11:01:28 +02:00
Josip Matić
109096465d
fix(medusa-fulfillment-manual): Missing retrieveDocuments override ( #4221 )
...
* adds missing retrieveDocuments override
* Create short-numbers-cheer.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-06-05 10:03:37 +02:00
Oliver Windall Juhl
260dc55b6f
chore(medusa,medusa-cli): Clean up new command + fix CI ( #4214 )
...
* chore(workflows): Use default starter template in action
* Use postgres by default in new
* Add skip DB flag
* Create thirty-tomatoes-hug.md
* address PR comments
2023-05-31 12:38:44 +02:00
Shahed Nasser
81fea66ef3
docs: added documentation for local file service ( #4162 )
...
* docs: added documentation for local file service
* fixed eslint errors
* change local file service package name
2023-05-30 19:31:57 +02:00
github-actions[bot]
8f8f6332b7
chore: Version Packages ( #4114 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30 12:11:45 +02:00
Oliver Windall Juhl
0f87d3d642
chore(medusa,admin-ui): Add reservations FF ( #4184 )
...
* chore(medusa,admin-ui): Add reservations FF
* Create five-ways-care.md
* Tweak description
2023-05-29 22:02:01 +02:00
Oliver Windall Juhl
783c16ebf6
chore: Update local file plugin package ( #4198 )
2023-05-29 20:38:26 +02:00
Oliver Windall Juhl
6998666c6e
fix(medusa): Upserting tax rates ( #4189 )
...
* fix(medusa): Upserting tax rates
* Create orange-bikes-sparkle.md
* add more tests
* add explicit null type
2023-05-29 13:31:39 +02:00
Oliver Windall Juhl
5988fa8f4c
fix(admin-ui): Omit purchasable variant prop on duplicate ( #4180 )
...
* fix(admin-ui): Omit purchasable variant prop on duplicate
* Create tall-cougars-juggle.md
2023-05-28 15:54:02 +02:00
Derek Wene
e3cfbcd4a7
fix(medusa): migrations cli should also pull from ${plugin}/dist ( #3956 )
...
* fix(medusa): migrations should also pull from dist
* chore: add changeset
2023-05-28 12:18:42 +02:00
Frane Polić
db41995307
chore(utils): clean util package deps ( #4146 )
2023-05-26 13:20:12 +02:00
Oliver Windall Juhl
f47b11293e
fix(admin-ui): Delete variant ( #4163 )
...
* fix(admin-ui): Delete variant
* Create slimy-houses-battle.md
2023-05-25 20:38:57 +02:00
Kasper Fabricius Kristensen
063d9b6d55
fix(admin-ui): Ensure order of variant options matches order of product options ( #4178 )
2023-05-25 20:36:27 +02:00
Kasper Fabricius Kristensen
9a46c11f2a
fix(admin-ui): Ensure that default invite link uses __BASE__ if set ( #4173 )
...
* ensure default invite link uses __BASE__ if it exists
* add changeset
2023-05-25 20:27:18 +02:00
Frane Polić
92f01cefbc
fix(medusa): downgrade papaparse version ( #4174 )
...
* fix: downgrade `papaparse` version
* chore: changesets
---------
Co-authored-by: fPolic <frane@medusajs.com >
2023-05-25 20:26:58 +02:00
Philip Korsholm
0a35f21af7
feat(medusa, inventory): Search inventory items by title and description ( #4154 )
...
* initial filtering based on query
* add changeset
* add expect clause to ensure other items are not inluded
2023-05-24 11:52:25 +01:00
Philip Korsholm
3a38c84f88
feat(medusa,inventory,types): Expand list-reservation capabilities ( #3979 )
...
**What**
- Add filter capabilities to reservation items based on:
- description query: "contains", "startsWith", "endsWith", "equals"
- date querying
**How**
- Introducing a new filtering primitive: "StringSearchOperator" resembling the "dateComparisonOperator"
Fixes CORE-1373
2023-05-24 09:54:25 +00:00
Tomek Pur
ddc90db530
feat(medusa-plugin-mailchimp): Migrate to TS + add update endpoint ( #4040 )
...
* - Refactored the .js files to .ts files
- Added typing
- Used 'WrapHandler' util instead of specific middleware in plugin
- Added additional PUT method to the /mailchimp/subscribe endpoint.
- Updated documentation where relevant.
* Added changeset
* Updated yarn.lock
* Used camelcase for method args in services/mailchimp.ts
---------
Co-authored-by: Tom Rupke <tom@adapptive.nl >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-05-23 13:33:56 +02:00
Philip Korsholm
5c01b4e6b6
fix(inventory): Use correct table name in migration ( #4155 )
...
* whoops
* add changeset
2023-05-23 12:42:21 +02:00
Philip Korsholm
4f3c8f5d70
feat(admin-ui,medusa): Reservations management ( #4081 )
...
* add location filtering to list-location levels
* cleanup
* add location filtering to list-location levels
* cleanup
* Initial work on route,table,new reservation form
* generated types
* add block
* udpate clients
* initial create reservation
* update actionables for reservation table
* update edit-allocation modal
* misc naming updates
* update reservations table
* add expand capabilities for list-reservations
* expand fields and show columns
* update oas
* make remove item work in focus modal
* add yarn lock
* add integration test
* Fix display when label doesn't match search term
* remove unused file
* Update packages/admin-ui/ui/src/components/templates/reservations-table/components/reservation-form/index.tsx
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/admin-ui/ui/src/domain/orders/details/allocations/edit-allocation-modal.tsx
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/admin-ui/ui/src/components/templates/reservations-table/new/index.tsx
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* initial changes
* add changeset
* update font size
* cleanup reservations table + select
* add decorated inventory item type
* use type
* feedback changes
* Update packages/admin-ui/ui/src/components/molecules/item-search/index.tsx
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* decorate response for list inventory item to include total quantities
* update decorated properties
* decorate type
* adrien feedback
* Update packages/generated/client-types/src/lib/models/DecoratedInventoryItemDTO.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* update join-utils
* fix caching
---------
Co-authored-by: Rares Capilnar <rares.capilnar@gmail.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-05-23 05:24:28 +02:00
Philip Korsholm
0476f52519
Feat(medusa, admin-ui): Update edit allocation modal ( #4071 )
...
* update edit-allocation modal
* add changeset
* update edit-allocation modal
* update allocation modal
2023-05-22 15:58:51 +02:00
Adrien de Peretti
c0e527d6e0
chore(medusa): Align build query utils ( #4148 )
2023-05-22 15:14:14 +02:00
Adrien de Peretti
bf18bd0c8a
feat(medusa): Revert pricing service setVariantPrices API ( #4130 )
2023-05-22 12:23:54 +02:00
Oliver Windall Juhl
c4aae6b976
feat(medusa-file-local): Local file storage plugin ( #4118 )
...
Simple local file storage to eliminate/reduce friction related to file services when developers are trying out Medusa for the first time
2023-05-22 09:11:38 +00:00
Philip Korsholm
eba21d9c5f
feat(medusa-plugin-contentful): Initial implementation of inventory module ( #3991 )
...
* cleanup contentful plugin
* initial implementation of inventory module in contentful
---------
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2023-05-18 10:12:34 +02:00