Files
mealie/tests/data/migrations/plantoeat.csv
Hayden 4039ff6655 fix: support CSV/TXT upload and add validation for Plan to Eat import (#6360)
Plan to Eat exports CSV or TXT files directly, but the importer only accepted
ZIP archives. This caused a silent failure when users uploaded CSV files.

- Extend plantoeat_recipes() to detect ZIP vs CSV/TXT by magic bytes and
  process raw CSV/TXT files directly without requiring a ZIP wrapper
- Add _validate_archive() to return a clear error report entry when the
  uploaded file is neither a ZIP nor valid UTF-8 text
- Update frontend file input to accept .zip, .csv, and .txt
- Update i18n description to mention all accepted formats
- Add plantoeat.csv test fixture and integration tests for CSV import
  and invalid file type rejection
2026-05-13 17:24:08 -05:00

994 B

1TitleCourseCuisineMain IngredientDescriptionSourceUrlUrl HostPrep TimeCook TimeTotal TimeServingsYieldIngredientsDirectionsTagsRatingPublic UrlPhoto UrlPrivateNutritional Score (generic)CaloriesFatSaturated FatCholesterolSodiumSugarCarbohydrateFiberProteinCostCreated AtUpdated At
2Test RecipeMain CourseAmericanBeansThis is a description. Here is new line.Manually entered sourcehttps://eatwithclarity.com/sushi-bowl-with-sesame-tofu/757515071 loaf, Heading 2 itm Test, note , Heading2 3 pkg Two, note2 Directions. Will go here.Allergen-Friendly, Cheap, Test3https://app.plantoeat.com/recipes/38843883https://plantoeat.s3.amazonaws.com/recipes/29516709/470292506c8d9b71582487a7879ab7b197d06490-large.jpg?1628205591yes1316171819222021232023-10-13 20:29:292023-10-13 20:32:48
3Test Recipe22 itm Test, note 3 pkg Two, note2 Directions. Will go here.2023-10-13 20:29:292023-10-13 20:32:48