Commit Graph

6001 Commits

Author SHA1 Message Date
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
Shahed Nasser 216faf0369 docs: improvements to heroku guide (#4249) 2023-06-05 18:12:26 +03: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
Shahed Nasser 2637b82933 docs: general fixes across documentation (#4248)
* docs: added details about the migration revert command

* added a note about running postgres before the backend

* added a link to typeorm's documentation

* fix broken links

* fixed section title

* fixed admonitions
2023-06-05 13:25:44 +03: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
Shahed Nasser d385dd2054 docs: improved the steps in create-medusa-app (#4245)
* docs: improved the steps in create-medusa-app

* small edits
2023-06-05 11:20:21 +03: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
github-actions[bot] b23207ef88 chore(docs): Removed Docs Announcement Bar (automated) (#4244)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-06-05 10:12:29 +03:00
Shahed Nasser c22b4ace0c docs: remove mentions of SQLite (#4045)
* docs: removed mentions of sqlite

* removed mentions of the seed option

* remove sidebar link

* Made PostgreSQL a required tool

* fixed heading
2023-06-01 14:23:45 +03:00
github-actions[bot] 274056a38d chore(docs): Generated API Reference (#4205)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-05-31 17:10:23 +03:00
github-actions[bot] 5c8ef2d370 chore(docs): Generated Services Reference (automated) (#4206)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-05-31 16:44:22 +03:00
Shahed Nasser 96468739dd docs: update backend installation steps (#4210) 2023-05-31 15:27:22 +03:00
Hardus van der Berg b00a9a87fe docs: fixed code in create endpoints documentation (#4219)
sample

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-05-31 15:01:52 +03: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
Oliver Windall Juhl f3920730dc docs: Add 1.12.0 upgrade guide (#4204)
* docs: Add 1.12.0 upgrade guide

* Add note on breaking changes

* added new action required

* eslint fixes

* Add another breaking change note

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-05-30 21:00:49 +02:00
Shahed Nasser b7f236445a docs: updated price selection strategy doc (#4208) 2023-05-30 19:37:07 +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] cfbda33473 chore(docs): Generated Docs Announcement Bar (automated) (#4207)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-05-30 15:46:47 +03:00
olivermrbl d61d0d4cba chore: Release 2023-05-30 12:14:12 +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
olivermrbl 81eeaa3294 chore(medusa): Minor bump 2023-05-30 11:39:43 +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
Shahed Nasser 06019f100a docs: fix import of cors (#4201)
* docs: fix import of cors

* eslint fixes
2023-05-29 18:06:20 +03: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
Lacey Pevey ded667f568 docs: remove extra word in architecture-overview.md (#4187)
Remove word that seems it was not intended to be there.

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-05-29 11:31:04 +03: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
Shahed Nasser 345beb7010 docs: added no console eslint rule (#4170) 2023-05-24 19:57:37 +03:00
Shahed Nasser e281469eb8 docs: enhanced sidebar context (#4165) 2023-05-24 17:40:13 +03: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
olivermrbl 3d1eb3f4d4 chore: Remove incorrect entry in changeset 2023-05-24 11:24:12 +02:00
Shahed Nasser 8a63ec38e8 docs: added details about publishable API keys in roadmap (#4157)
* docs: added details about publishable API keys in roadmap

* added a link for checkout flow documentation
2023-05-23 17:56:37 +03:00
Shahed Nasser 8b83bf94b6 docs: hide sidebar button on pages with no sidebar (#4158) 2023-05-23 17:31:03 +03: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
Shahed Nasser 87444488b5 docs: added show/hide sidebar button (#4150)
* docs: added show/hide sidebar button

* added check for browser

* fix build error

* solve build errors
2023-05-22 19:44:50 +03: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