1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-05 05:25:26 +02:00
Mealie est un gestionnaire de recettes et un planificateur de repas auto-hébergé. https://nightly.mealie.io
Find a file
Michael Genson 617cc1fdfb
Refactor Shopping List API (#2021)
* tidied up shopping list item models
redefined recipe refs and updated models
added calculated display attribute to unify shopping list item rendering
added validation to use a food's label if an item's label is null

* fixed schema reference

* refactored shopping list item service
route all operations through one central method to account for edgecases
return item collections for all operations to account for merging
consolidate recipe items before sending them to the shopping list

* made fractions prettier

* replaced redundant display text util

* fixed edgecase for zero quantity items on a recipe

* fix for pre-merging recipe ingredients

* fixed edgecase for merging create_items together

* fixed bug with merged updated items creating dupes

* added test for self-removing recipe ref

* update items are now merged w/ existing items

* refactored service to make it easier to read

* added a lot of tests

* made it so checked items are never merged

* fixed bug with dragging + re-ordering

* fix for postgres cascade issue

* added prevalidator to recipe ref to avoid db error
2023-01-28 15:45:02 -09:00
.devcontainer fix: devcontainer setup poetry venv setup (#2027) 2023-01-14 09:31:00 -09:00
.github chore(deps): update actions/cache action to v3.2.3 (#2018) 2023-01-24 13:15:03 -09:00
.vscode chore: refactor-docker-structure (#1948) 2022-12-31 09:01:15 -09:00
alembic feat: Improved Recipe Scaling Support and Shopping List Recipe Refactor (#1847) 2022-12-30 13:47:35 -09:00
dev chore: frontend testing setup (#1739) 2022-10-22 11:51:07 -08:00
docker hotfix: buildpath (#1958) 2022-12-31 09:12:45 -09:00
docs docs: Update references to license as AGPL not MIT (#2006) 2023-01-08 08:04:27 -09:00
frontend Refactor Shopping List API (#2021) 2023-01-28 15:45:02 -09:00
mealie Refactor Shopping List API (#2021) 2023-01-28 15:45:02 -09:00
tests Refactor Shopping List API (#2021) 2023-01-28 15:45:02 -09:00
.dockerignore Feature/CRF++ and server side locales (#731) 2021-10-09 13:08:23 -08:00
.gitattributes v0.2.0 (#143) 2021-02-08 09:47:40 -09:00
.gitignore chore: frontend testing setup (#1739) 2022-10-22 11:51:07 -08:00
.pre-commit-config.yaml chore: mypy, ruff, extract, openapi, and recipes-scraper updates (#1968) 2023-01-01 13:47:27 -09:00
.pylintrc Feature/group based notifications (#918) 2022-01-09 21:04:24 -09:00
alembic.ini Chore/update alembic file format (#1056) 2022-03-15 13:11:22 -08:00
cliff.toml chore: init git-cliff config 2022-05-29 17:34:41 -08:00
crowdin.yml fix: for erroneously-translated datetime config (#1362) 2022-06-09 08:54:41 -08:00
gunicorn_conf.py fix: apply API_PORT in containers (#1754) 2022-10-22 11:43:03 -08:00
LICENSE Change Mealie license to AGPLv3 (#1213) 2022-05-09 13:11:26 -08:00
makefile chore: refactor-docker-structure (#1948) 2022-12-31 09:01:15 -09:00
netlify.toml docs: add docs on restoring to PSQL server (#1584) 2022-08-20 11:53:48 -08:00
poetry.lock chore(deps): update dependency ruff to ^0.0.221 (#2022) 2023-01-14 09:32:56 -09:00
pyproject.toml Convert scraper to use async (#1915) 2023-01-28 15:43:27 -09:00
README.md docs: Update references to license as AGPL not MIT (#2006) 2023-01-08 08:04:27 -09:00
renovate.json Add renovate.json (#1922) 2022-12-29 14:22:02 -09:00
runtime.txt test ci/cd 2021-08-04 09:58:51 -08:00
SECURITY.md add security.md 2022-05-31 08:29:45 -08:00
template.env feat: LDAP improvements (#1487) 2022-09-15 19:33:36 -08:00

Contributors Forks Stargazers Issues AGPL License Docker Pulls CodeFactor


Mealie

A Place for All Your Recipes
Explore the docs »
View Demo · Report Bug · Docker Hub

Product Name Screen Shot

About The Project

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and Mealie will automatically import the relevant data or add a family recipe with the UI editor. Mealie also provides an API for interactions from 3rd party applications.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. If you're going to be working on the code-base, you'll want to use the nightly documentation to ensure you get the latest information.

If you are not a coder, you can still contribute financially. Financial contributions help me prioritize working on this project over others and helps me know that there is a real demand for project development.

Buy Me A Coffee

License

Distributed under the AGPL License. See LICENSE for more information.

Sponsors

Huge thanks to all the sponsors of this project on Github Sponsors and Buy Me a Coffee. Without you, this project would surely not be possible.

Thanks to Linode for providing Hosting for the Demo, Beta, and Documentation sites! Another big thanks to JetBrains for providing their IDEs for development.