Compare commits

...

947 Commits

Author SHA1 Message Date
renovate[bot]
d6de0d0b3d chore(deps): update dependency coverage to v7.6.8 (#4603)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 20:13:43 +01:00
Kenni Lund
dce6d86cbf docs: Update API path in home-assistant.md (#4614) 2024-11-26 18:00:17 +00:00
renovate[bot]
3539385429 fix(deps): update dependency uvicorn to v0.32.1 (#4586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 12:25:04 +01:00
renovate[bot]
e97f1f805b fix(deps): update dependency openai to v1.55.1 (#4609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 10:21:29 +01:00
renovate[bot]
83edff1c78 chore(deps): update dependency mkdocs-material to v9.5.46 (#4607)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 16:50:56 +01:00
Saireddy1369
efb72b1859 fix: Incorrect date format in Add to mealplan modal (#4605) 2024-11-25 15:38:50 +00:00
github-actions[bot]
5afa611ec3 chore(auto): Update pre-commit hooks (#4606)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-11-25 09:34:11 +00:00
Michael Genson
82cc9e11f7 dev: Fix json2ts codegen (#4590) 2024-11-25 09:25:35 +00:00
Michael Genson
3fc120236d chore(deps): Bump Ruff (#4602) 2024-11-24 14:56:39 +11:00
renovate[bot]
e32bae4575 fix(deps): update dependency openai to v1.55.0 (#4587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 09:53:19 +01:00
Michael Genson
327da02fc8 feat: Structured Yields (#4489)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-11-20 08:46:27 -06:00
renovate[bot]
c8cd68b4f0 chore(deps): update dependency mkdocs-material to v9.5.45 (#4585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 14:43:04 +01:00
renovate[bot]
f31b76e2ff fix(deps): update dependency bcrypt to v4.2.1 (#4583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 14:05:14 +01:00
Jonas Graubner
426f91fb50 fix: Enable OIDC with Synology SSO Server (#4544) 2024-11-19 14:15:58 +00:00
renovate[bot]
f194a6d8c8 fix(deps): update dependency openai to v1.54.5 (#4580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 14:16:42 +01:00
Dom
6e4f9a234b fix: 4497 (#4562)
Co-authored-by: Dominik <dominik.ziegenhagel@gmail.com>
2024-11-19 00:35:49 +00:00
github-actions[bot]
76eccdff8c chore(auto): Update pre-commit hooks (#4572)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-11-18 21:42:40 +01:00
renovate[bot]
a7330f11e6 fix(deps): update dependency pyjwt to v2.10.0 (#4567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 14:23:58 -06:00
Brian Choromanski
d993ddf600 docs: Update docker compose examples (#4550) 2024-11-17 15:34:01 +00:00
Kuchenpirat
54f994defc fix: container name for account unlock and password reset (#4568) 2024-11-17 09:20:18 -06:00
Ryan William O'Hara
db4789099a fix: Update Firefox User-Agent string (#4546)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-11-17 15:10:11 +01:00
renovate[bot]
172698afce chore(deps): update dependency coverage to v7.6.7 (#4557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 15:28:55 +00:00
renovate[bot]
8f9d602004 chore(deps): update dependency ruff to v0.7.4 (#4556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 15:17:44 +00:00
renovate[bot]
d3b574ea84 chore(deps): update dependency coverage to v7.6.6 (#4555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 09:06:57 -06:00
Michael Genson
4f5a0bf9f5 fix: Wakelock Toggle Broken (#4554) 2024-11-15 07:26:55 +01:00
renovate[bot]
d965ceaff6 chore(deps): update dependency coverage to v7.6.5 (#4552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 11:29:19 -06:00
Michael Genson
bcd0fcc920 feat: Improve Recipe Imports with Cleaner (#4517) 2024-11-13 15:30:50 +00:00
renovate[bot]
085c489b05 fix(deps): update dependency openai to v1.54.4 (#4549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 19:46:14 +00:00
renovate[bot]
af46a6ce33 fix(deps): update dependency fastapi to v0.115.5 (#4548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 19:35:40 +00:00
Kuchenpirat
b1f81b4b95 fix: Cookmode hide additional ingredients if all ingredients are linked (#4539) 2024-11-12 15:12:41 +00:00
Arsène Reymond
622c1b11f5 feat: Groups/households custom invitations (#4252)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-11-12 03:30:08 +00:00
Lex
7ada42a791 feat: Add Ingredients to Recipe Query Filter options (#4534)
Co-authored-by: alexxxxxxxandria <github@lex.alexandria.best>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-11-11 17:20:29 +00:00
Brian Turek
ea4adfa335 fix: Add support for HTTPS in healthcheck (#4538) 2024-11-11 10:58:12 -06:00
github-actions[bot]
365d77e599 chore(auto): Update pre-commit hooks (#4535)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-11-11 12:40:55 +01:00
github-actions[bot]
0ef8c52c6a docs(auto): Update image tag, for release v2.2.0 (#4536)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-11-11 12:31:07 +01:00
Tarek Auf der Strasse
d419acd61e feat: Added a dedicated cookmode dialog that allows for individual scrolling (#4464) 2024-11-11 12:21:44 +01:00
renovate[bot]
65c35adc9d fix(deps): update dependency extruct to ^0.18.0 (#4524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-10 18:05:38 +00:00
renovate[bot]
83b4846f0c chore(deps): update dependency ruff to v0.7.3 (#4522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-10 11:55:43 -06:00
Carter
6bc7ada20a feat: OIDC: add the ability to override the requested scopes (#4530) 2024-11-09 10:52:12 -06:00
Carter
8ce6f9038a feat: adds descriptions to feature checks and add them to logs (#4504) 2024-11-08 05:37:53 +00:00
Michael Genson
e3c6d4c66c fix: JSON Mode Resets Page State (#4519) 2024-11-07 17:43:07 +00:00
renovate[bot]
381a698220 fix(deps): update dependency openai to v1.54.3 (#4520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 22:55:41 +00:00
renovate[bot]
c866557d58 fix(deps): update dependency openai to v1.54.2 (#4518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 18:28:57 +00:00
renovate[bot]
bb5da2cb54 fix(deps): update dependency alembic to v1.14.0 (#4512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 09:38:11 -06:00
Michael Genson
0fed5f54f6 fix: Prevent Users From Being Created With Missing Group/Household (#4500) 2024-11-05 23:52:33 +00:00
Michael Genson
f4bde93960 fix: "No Label" on Shopping List can't be toggled (#4513)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-11-05 23:12:52 +00:00
renovate[bot]
62300deea0 fix(deps): update dependency orjson to v3.10.11 (#4495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 21:32:37 +01:00
Michael Genson
87f4b23711 feat: Show Cookbooks from Other Households (#4452) 2024-11-05 13:57:30 -06:00
renovate[bot]
8983745106 chore(deps): update dependency mkdocs-material to v9.5.44 (#4516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 20:17:57 +01:00
renovate[bot]
8872fd52cd fix(deps): update dependency openai to v1.54.1 (#4515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 19:48:34 +01:00
renovate[bot]
b81b97d934 fix(deps): update dependency openai to v1.54.0 (#4510)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 19:31:14 +01:00
renovate[bot]
f798fafb3e chore(deps): update dependency rich to v13.9.4 (#4491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 16:32:54 +01:00
github-actions[bot]
dbbbe06a23 chore(auto): Update pre-commit hooks (#4506)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-11-04 17:08:17 +00:00
Wim de Groot
4b9eb5077a feat: implement the possibility to add tls (#4456)
Signed-off-by: Wim de Groot <34519486+wim-de-groot@users.noreply.github.com>
2024-11-04 16:17:08 +00:00
Michael Genson
ff6db2374d fix: Scripts Missing Repo Params (#4487)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-11-03 18:17:01 +00:00
renovate[bot]
3e69ea94d5 chore(deps): update dependency ruff to v0.7.2 (#4488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-01 23:56:03 -05:00
renovate[bot]
2e114cfa69 fix(deps): update dependency pydantic-settings to v2.6.1 (#4486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-01 20:00:10 -05:00
Shlok Sheth
eb34ef0156 fix: Added Nutrients Suffix to the PrintView and some formatting to that (#4493) 2024-11-01 22:12:25 +00:00
Brian Choromanski
446755f678 feat: vrslev/pre-commit-autoupdate archived (#4421) 2024-11-01 21:55:17 +00:00
renovate[bot]
08fe2d32b0 chore(deps): update dependency mkdocs-material to v9.5.43 (#4481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 22:04:52 +01:00
renovate[bot]
fb653ee2f6 fix(deps): update dependency python-multipart to ^0.0.17 (#4479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 07:52:36 -05:00
renovate[bot]
a326a8c717 fix(deps): update dependency fastapi to v0.115.4 (#4459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 15:42:56 -05:00
renovate[bot]
6e7cb5fb86 fix(deps): update dependency python-multipart to ^0.0.16 (#4400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 20:28:14 +00:00
renovate[bot]
9289bd8e05 fix(deps): update dependency openai to v1.53.0 (#4475)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 15:16:37 -05:00
Kuchenpirat
985b5634b7 fix: round ingredient amounts when not using fractions (#4470) 2024-10-30 15:12:45 +00:00
github-actions[bot]
2b2bc041bd docs(auto): Update image tag, for release v2.1.0 (#4471)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-10-30 13:35:39 +00:00
Kuchenpirat
6e16d4cc91 fix: set useFractions on Unit creation to true by default (#4469) 2024-10-30 08:27:02 -05:00
Hayden
53a566d08a chore(l10n): New Crowdin updates (#4468) 2024-10-30 08:54:21 +00:00
Kuchenpirat
fb0a747549 fix: recipe scaler throwing error on empty serving size (#4466) 2024-10-29 16:28:53 +01:00
Michael Genson
6e045bf0c3 fix: Random Recipes not choosing from all recipes (#4435)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-29 15:47:54 +01:00
Michael Genson
8d1ce5c190 fix: Disable Foreign Key Checks During Restore (#4444)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-29 12:43:57 +00:00
github-actions[bot]
3bf6840cbc chore(auto): Update pre-commit hooks (#4460)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-10-29 12:06:13 +00:00
Hayden
0053f76531 chore(l10n): New Crowdin updates (#4461) 2024-10-28 23:39:58 +00:00
Michael Genson
05ac18f00b docs: Added Missing Refs to Default Household (#4450) 2024-10-28 15:24:30 +01:00
Brian Choromanski
8b6c75877d docs: Swagger/OpenAPI Organization (#4446) 2024-10-26 10:17:25 -05:00
Michael Genson
0e25c7485d fix: Drag Delay Only Apply On Touch (#4453) 2024-10-25 21:49:07 +02:00
Carter
ea0d2ece6a fix: Add cacertfile to client args when provided (#4451) 2024-10-25 11:53:58 -05:00
Michael Genson
f7e595b404 fix: Images Using Wrong Content Type (#4441) 2024-10-25 14:53:42 +00:00
Frederic Hemberger
d48320f0a5 docs: Fix protocol in example URLs (#4428)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-25 09:20:24 +00:00
Cody
2240ab01d2 feat: Shopping list UI overhaul - collapsible labels (#4378)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-25 07:07:44 +00:00
Hayden
ae9276b55c chore(l10n): New Crowdin updates (#4447) 2024-10-25 06:41:50 +00:00
renovate[bot]
b5643a9399 fix(deps): update dependency rapidfuzz to v3.10.1 (#4439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 17:27:57 +00:00
renovate[bot]
702180aeda chore(deps): update dependency mypy to v1.13.0 (#4419)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 17:17:56 +00:00
renovate[bot]
458d2bb61b chore(deps): update dependency ruff to v0.7.1 (#4438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 17:06:20 +00:00
renovate[bot]
5a83f55a00 fix(deps): update dependency fastapi to v0.115.3 (#4413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 11:54:26 -05:00
Hayden
04ef4037b7 docs: properly set site_url for docs (#4442) 2024-10-24 16:43:22 +00:00
Michael Genson
fdb5ff9ec0 fix: Add Touch Delay to Draggable on Touch Pads (#4440) 2024-10-24 16:24:42 +00:00
Michael Genson
302002d630 fix: Remove Unused Transfer Option from Shopping List (#4436)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-24 16:07:12 +00:00
Michael Genson
2305438423 fix: Add SMTP Timeout (#4437) 2024-10-24 17:58:24 +02:00
Michael Genson
34bd4a74c2 fix: Reset Locked Users (#4429)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-24 16:33:05 +02:00
Kuchenpirat
dacd0acff6 dev: add secondary db to trivy (#4434) 2024-10-24 13:48:25 +00:00
Hayden
010c6d8eb2 chore(l10n): New Crowdin updates (#4432) 2024-10-24 11:51:57 +00:00
renovate[bot]
3eac3e6648 fix(deps): update dependency openai to v1.52.2 (#4431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 08:37:20 +02:00
boc-the-git
3dd61f7742 feat: Add summary to recipe instructions (#4410)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-23 11:27:47 +02:00
Hayden
99fec90288 chore(l10n): New Crowdin updates (#4422) 2024-10-23 07:43:04 +00:00
renovate[bot]
d05f27dfe5 fix(deps): update dependency openai to v1.52.1 (#4418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 08:28:43 +02:00
renovate[bot]
4c84f48e81 fix(deps): update dependency orjson to v3.10.10 (#4417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 14:34:41 -05:00
renovate[bot]
441b51a6e7 chore(deps): update dependency rich to v13.9.3 (#4416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 12:06:02 -05:00
Kuchenpirat
bf2a69735d feat: Group and household deletion tooltips (#4414) 2024-10-22 17:45:21 +02:00
Dan Webb
61511d17d3 Fix(docs): Minor typo on backend-config page (#4412)
Signed-off-by: Dan Webb <dan.webb@damacus.io>
2024-10-22 15:07:03 +00:00
github-actions[bot]
248e560a5c docs(auto): Update image tag, for release v2.0.0 (#4408)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-22 07:56:59 +00:00
Hayden
09beac24c8 chore(l10n): New Crowdin updates (#4409) 2024-10-22 09:19:18 +02:00
Michael Genson
a7c8b33cca dev: Improve Docs Generation (#4402)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-21 15:01:40 +00:00
github-actions[bot]
674ad237f1 chore(auto): Update pre-commit hooks (#4406)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-10-21 14:37:39 +00:00
Hayden
8ecddb07ae chore(l10n): New Crowdin updates (#4405) 2024-10-21 09:06:48 +02:00
renovate[bot]
b86c01e405 chore(deps): update dependency coverage to v7.6.4 (#4403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-20 20:27:31 -05:00
renovate[bot]
124301823c chore(deps): update dependency mkdocs-material to v9.5.42 (#4398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-20 17:01:44 -05:00
Hayden
c784a64c44 chore(l10n): New Crowdin updates (#4397) 2024-10-20 17:23:15 +11:00
renovate[bot]
e79aeb9e8c fix(deps): update dependency pydantic-settings to v2.6.0 (#4383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-20 02:18:48 +00:00
renovate[bot]
85fe770be0 fix(deps): update dependency pillow-heif to ^0.20.0 (#4388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-19 21:04:34 -05:00
renovate[bot]
6f157b60a5 chore(deps): update dependency mypy to v1.12.1 (#4395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-20 01:49:18 +00:00
renovate[bot]
1e6bbc6699 fix(deps): update dependency orjson to v3.10.9 (#4394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-19 20:38:25 -05:00
Michael Genson
543a53cab4 fix: Bulk Update Owner Removes Some Recipe Data (#4393) 2024-10-19 15:36:34 -05:00
boc-the-git
a17529bd71 dev: Add highlights and new contributors to release template (#4391) 2024-10-19 13:33:33 +02:00
Michael Genson
1dc7b24146 feat: Change Recipe Owner (#4355)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-10-19 09:33:32 +00:00
Kuchenpirat
60ea83d737 dev: add internal dev section to release notes (#4390) 2024-10-19 09:20:47 +00:00
Hayden
8180aefc0b chore(l10n): New Crowdin updates (#4389) 2024-10-19 18:04:06 +11:00
Hayden
007c99c77a chore(l10n): New Crowdin updates (#4387) 2024-10-18 09:18:04 +02:00
renovate[bot]
292ff8313b chore(deps): update dependency ruff to ^0.7.0 (#4384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 22:15:03 +00:00
renovate[bot]
79b3308f15 chore(deps): update dependency psycopg2-binary to v2.9.10 (#4375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 17:03:53 -05:00
renovate[bot]
56a557fc82 fix(deps): update dependency openai to v1.52.0 (#4385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 16:49:51 -05:00
Michael Genson
b8e62ab8dd feat: Query Filter Builder for Cookbooks and Meal Plans (#4346) 2024-10-17 17:35:39 +02:00
renovate[bot]
2a9a6fa5e6 fix(deps): update dependency sqlalchemy to v2.0.36 (#4369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 11:09:09 +02:00
Michael Genson
79b36024a4 fix: Mealplans Disappearing/Can't be edited (#4379) 2024-10-17 08:45:50 +00:00
Hayden
c40d2d0486 chore(l10n): New Crowdin updates (#4382) 2024-10-17 08:01:45 +02:00
besque
8da08cdd60 docs: removed TRACE log level from backend-config.md (#4381) 2024-10-16 19:08:29 +00:00
Michael Genson
e47d171463 fix: Good data being deleted upon restore (#4376)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-16 14:56:07 +00:00
Carter
80caa5ffaf fix: Prevent login via credentials when Auth Method is Mealie (#4370) 2024-10-16 14:34:51 +00:00
renovate[bot]
03485ecc73 fix(deps): update dependency uvicorn to ^0.32.0 (#4367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-16 06:51:32 +00:00
Hayden
b3ad32ee31 chore(l10n): New Crowdin updates (#4371) 2024-10-16 06:38:12 +00:00
Michael Genson
6d89fe37ad fix: Prevent Bad Cookbook Names (#4364) 2024-10-15 17:54:58 +00:00
renovate[bot]
1af2473a72 fix(deps): update dependency pillow to v11 (#4366)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 11:03:06 -05:00
renovate[bot]
77de9fee98 chore(deps): update dependency mkdocs-material to v9.5.41 (#4365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 17:46:58 +02:00
Michael Genson
cba381cb67 fix: Handle Data With Invalid User (#4325)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-14 15:10:55 +00:00
renovate[bot]
02791e294d chore(deps): update dependency mypy to v1.12.0 (#4362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 14:20:03 +00:00
renovate[bot]
7f396ab483 fix(deps): update dependency fastapi to v0.115.2 (#4352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 09:09:56 -05:00
Hayden
0e299e98ee chore(l10n): New Crowdin updates (#4360) 2024-10-14 04:16:03 +00:00
renovate[bot]
4e839711eb chore(deps): update dependency coverage to v7.6.3 (#4359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 23:07:02 -05:00
Tom Brennan
02c0fe993b feat: adding the rest ofthe nutrition properties from schema.org (#4301) 2024-10-13 15:04:29 +02:00
Hayden
3aea229f2d chore(l10n): New Crowdin updates (#4356) 2024-10-12 22:58:28 -05:00
Hayden
d08b3d8943 chore(l10n): New Crowdin updates (#4351) 2024-10-12 09:35:35 +02:00
renovate[bot]
91353d6d7e chore(deps): update dependency coverage to v7.6.2 (#4338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-12 01:14:55 +00:00
renovate[bot]
d12d3d12ef fix(deps): update dependency isodate to ^0.7.0 (#4330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-11 20:04:22 -05:00
Michael Genson
e06572b7ca feat: User Tooltip (#4319) 2024-10-12 00:36:26 +00:00
Michael Genson
a2bdb02a7f fix: More Fault Tolerance with OpenAI Schemas (#4328)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-10-12 00:24:22 +00:00
Hayden
433336b8b4 chore(l10n): New Crowdin updates (#4344) 2024-10-11 19:10:20 -05:00
Aaron Echols
d50d4bee08 docs: update oidc-v2.md (#4347) 2024-10-10 14:33:57 -05:00
renovate[bot]
445f55812b fix(deps): update dependency uvicorn to v0.31.1 (#4343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-10 14:00:44 +00:00
renovate[bot]
0e247f22f8 chore(deps): update dependency mkdocs-material to v9.5.40 (#4345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 15:47:44 +02:00
Nicole Zeckner
4e4bc1b542 docs: Update rest call for home assistant (#4341) 2024-10-10 02:30:41 +00:00
Michael Genson
8379e3565f fix: Fix Locked User Reset (#4342) 2024-10-10 02:17:02 +00:00
Kuchenpirat
d36041fa75 chore: cancel running pull request jobs on new push (#4339)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-10-09 09:51:10 -05:00
Kuchenpirat
655122c390 fix: user creation without username or fullName (#4337) 2024-10-09 14:35:27 +00:00
github-actions[bot]
07e70b419d chore(auto): Update pre-commit hooks (#4321)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-09 16:21:01 +02:00
renovate[bot]
b4ebe4f9a6 chore(deps): update dependency pre-commit to v4.0.1 (#4333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 13:55:36 +02:00
renovate[bot]
172160c862 fix(deps): update dependency openai to v1.51.2 (#4332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 13:33:11 +02:00
Brian Choromanski
01a43f28f2 feat: Added support for plural_name for foods (#4305) 2024-10-08 21:56:50 -05:00
Marc
00baa397dd feat: Add image source label to dockerfiles (#4331) 2024-10-08 09:38:06 -05:00
renovate[bot]
a2beab6cbb fix(deps): update dependency openai to v1.51.1 (#4326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 18:45:36 +02:00
Kuchenpirat
56bd68d824 fix: recipe scaling (#4324) 2024-10-07 16:31:49 +00:00
renovate[bot]
a559335bd7 chore(deps): update dependency pre-commit to v4 (#4318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 21:03:02 -05:00
Michael Genson
b0ed242ff2 fix: Strip Timezone from Timestamps in DB (#4310)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-06 06:30:30 +00:00
Hayden
b5c0104aba chore(l10n): New Crowdin updates (#4317) 2024-10-05 21:51:50 +00:00
Carter
5ed0ec029b feat: Add OIDC_CLIENT_SECRET and other changes for v2 (#4254)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-10-05 21:12:11 +00:00
renovate[bot]
4f1abcf4a3 chore(deps): update dependency ruff to v0.6.9 (#4315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 18:45:59 +00:00
renovate[bot]
7140dcb188 fix(deps): update dependency recipe-scrapers to v15.2.1 (#4316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 13:35:46 -05:00
renovate[bot]
8f229b0dde chore(deps): update dependency rich to v13.9.2 (#4314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 12:16:16 +00:00
Michael Genson
113347a6e5 docs: Fix Formatting (#4309)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-10-02 15:20:14 +00:00
Hayden
c904f2d818 chore(l10n): New Crowdin updates (#4308) 2024-10-02 15:07:54 +00:00
renovate[bot]
49fe6a6057 chore(deps): update dependency rich to v13.9.1 (#4299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 19:51:51 +10:00
Brian Choromanski
fef3f1cee3 fix: GH Actions node deprecation (#4306) 2024-10-02 11:21:22 +10:00
renovate[bot]
fa32a6489c fix(deps): update dependency openai to v1.51.0 (#4303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 19:45:30 +00:00
Michael Genson
3d1b08779b fix: Shopping List Label Text Color (#4302) 2024-10-01 17:47:51 +02:00
Hayden
f1d56cad9c chore(l10n): New Crowdin updates (#4300) 2024-10-01 14:42:49 +00:00
Kuchenpirat
14dbd79c7f feat: refactor recipe scaling (#4298) 2024-10-01 16:31:04 +02:00
Kuchenpirat
1bd3d38dfc fix: scrape images as list (#4293) 2024-09-30 12:07:14 -05:00
Tom Brennan
49a392f4e2 fix: add setting to fix mypy pydantic warning on vs code dev container setup (#4292) 2024-09-30 16:34:22 +00:00
Michael Genson
4c1d855690 feat: Create Recipe From HTML or JSON (#4274)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-30 15:52:13 +00:00
renovate[bot]
edf420491f fix(deps): update dependency python-multipart to ^0.0.12 (#4284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 15:34:54 +00:00
Kuchenpirat
75bbe34ce5 docs: add note on recipe scaling to docs (#4287) 2024-09-30 15:25:37 +00:00
github-actions[bot]
743d52ef81 chore(auto): Update pre-commit hooks (#4285)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-09-30 15:16:28 +00:00
Hayden
e125d1a45a chore(l10n): New Crowdin updates (#4289) 2024-09-30 14:39:06 +00:00
renovate[bot]
df359a58a4 chore(deps): update dependency mkdocs-material to v9.5.39 (#4283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 15:53:02 +02:00
renovate[bot]
73fafa9fb3 fix(deps): update dependency python-multipart to ^0.0.11 (#4281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 14:44:27 +10:00
Cody
28b0190648 feat: Shopping list UI overhaul - add wakelock (#4236)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-28 15:16:06 +00:00
boc-the-git
8fe1b0c123 fix: Hide rating on notes (#4278) 2024-09-28 15:05:14 +00:00
Hayden
30cf37effa chore(l10n): New Crowdin updates (#4280) 2024-09-28 15:57:01 +02:00
renovate[bot]
cd305cd47d fix(deps): update dependency uvicorn to ^0.31.0 (#4277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-28 10:24:52 +00:00
renovate[bot]
a9dcb1538a chore(deps): update dependency ruff to v0.6.8 (#4272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-28 20:13:04 +10:00
renovate[bot]
30699ac4cd fix(deps): update dependency openai to v1.50.2 (#4273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-28 19:52:17 +10:00
Michael Genson
4712994242 feat: Add Household Filter to Meal Plan Rules (#4231) 2024-09-27 14:06:45 +00:00
jlssmt
38502e82d4 feat: add regex to url before scraping (#4174)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-27 13:02:34 +02:00
Hayden
f8cd8b00a5 chore(l10n): New Crowdin updates (#4271) 2024-09-26 12:01:27 +00:00
renovate[bot]
8f2f4d45af chore(deps): update dependency mkdocs-material to v9.5.38 (#4270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 11:39:47 +02:00
renovate[bot]
291808b204 fix(deps): update dependency openai to v1.48.0 (#4269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 17:25:46 +00:00
Michael Genson
75166b5b0f docs: Update Docs for Households (#4266)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-25 17:30:49 +02:00
Hayden
f7608071d8 chore(l10n): New Crowdin updates (#4268) 2024-09-25 22:01:21 +10:00
renovate[bot]
64a1a652ca chore(deps): update dependency mkdocs-material to v9.5.37 (#4267) 2024-09-25 13:09:06 +02:00
Seamus Lowry
2053f29ff8 feat: sort labels by name,asc in shopping lists (#4253) 2024-09-24 21:33:30 +00:00
renovate[bot]
82737613b4 chore(deps): update dependency pylint to v3.3.1 (#4265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 17:44:42 +02:00
Cody
04dc593b16 feat: Shopping list UI overhaul - add label headings per category (#4235)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-24 16:29:06 +02:00
Hayden
d1e3b64a19 chore(l10n): New Crowdin updates (#4264) 2024-09-24 12:24:31 +02:00
renovate[bot]
7922e4d2c1 fix(deps): update dependency tzdata to v2024.2 (#4261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 21:42:44 +02:00
renovate[bot]
f393c05d6d fix(deps): update dependency openai to v1.47.1 (#4259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 10:50:48 -05:00
renovate[bot]
eb640ac270 fix(deps): update dependency alembic to v1.13.3 (#4258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 15:31:05 +00:00
renovate[bot]
02a36509b6 fix(deps): update dependency rapidfuzz to v3.10.0 (#4257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 10:18:26 -05:00
github-actions[bot]
1d4ff66824 chore(auto): Update pre-commit hooks (#4255)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-09-23 11:49:46 +00:00
Hayden
13522a0402 chore(l10n): New Crowdin updates (#4256) 2024-09-23 12:31:17 +02:00
Michael Genson
ea1f727a8b feat: OpenAI Custom Headers/Params and Debug Page (#4227)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-23 11:04:36 +02:00
Michael Genson
7c274de778 feat: Filter Recipes By Household (and a ton of bug fixes) (#4207)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-22 14:59:20 +00:00
renovate[bot]
2a6922a85c chore(deps): update dependency ruff to v0.6.7 (#4249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 22:28:49 -05:00
renovate[bot]
c4f753ee32 fix(deps): update dependency python-multipart to ^0.0.10 (#4248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 22:12:14 -05:00
bigcat2014
c774f626ee fix: Exclude additional sensitive information from mealie logs (#4218)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-09-21 22:07:47 +00:00
renovate[bot]
abc1174877 fix(deps): update dependency openai to v1.47.0 (#4245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 15:46:18 +02:00
renovate[bot]
f7a1ef597a chore(deps): update dependency mkdocs-material to v9.5.36 (#4247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 11:31:13 +02:00
renovate[bot]
12938f9cd5 chore(deps): update dependency pylint to v3.3.0 (#4243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 09:23:22 -05:00
Kuchenpirat
7f4e958198 fix: revert shopping list items - increased width (#4241) 2024-09-20 21:44:30 +10:00
renovate[bot]
67791e4d86 chore(deps): update dependency ruff to v0.6.6 (#4240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 04:23:00 +00:00
Michael Genson
ba363da251 chore: Optimize Loads on Queries (#4220)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-09-19 23:10:10 -05:00
Cody
e971efd809 feat: Shopping list UI overhaul - label sorted by default (#4238)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-19 22:24:46 +02:00
Cody
09b688cc22 feat: Shopping list UI overhaul - increase list item width (#4237)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-19 21:48:21 +02:00
renovate[bot]
22edec4d9a fix(deps): update dependency openai to v1.46.1 (#4234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 21:27:48 +02:00
Hayden
821766a6ae chore(l10n): New Crowdin updates (#4233) 2024-09-19 11:14:16 +02:00
renovate[bot]
96a2ccb5e4 chore(deps): update dependency mkdocs-material to v9.5.35 (#4229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 11:24:58 +02:00
Hayden
d41273592a chore(l10n): New Crowdin updates (#4230) 2024-09-18 10:24:26 +02:00
renovate[bot]
64273144d9 fix(deps): update dependency pydantic to v2.9.2 (#4225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 03:34:28 +00:00
renovate[bot]
edb43a80a1 fix(deps): update dependency openai to v1.46.0 (#4226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 03:21:38 +00:00
renovate[bot]
f736423fff fix(deps): update dependency fastapi to ^0.115.0 (#4228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 22:08:19 -05:00
Michael Genson
fd0257c1b8 feat: Additional Household Permissions (#4158)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-17 10:48:14 -05:00
renovate[bot]
b1820f9b23 fix(deps): update dependency openai to v1.45.1 (#4215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 08:13:13 +02:00
renovate[bot]
cff33cb15c fix(deps): update dependency sqlalchemy to v2.0.35 (#4221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 18:57:09 -05:00
Michael Genson
8778559a20 chore: Improve Alembic Migration Generation (#4192) 2024-09-16 13:52:12 +00:00
github-actions[bot]
77208384ed chore(auto): Update pre-commit hooks (#4213)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-09-16 10:20:25 +00:00
Michael Genson
dbbd662e7d feat: Allow Cookbooks To Share Names (#4186) 2024-09-15 11:42:58 +00:00
Michael Chisholm
abe4504640 fix(deps): Update dependencies for Python 3.12 (#4204) 2024-09-15 01:48:50 +00:00
Michael Genson
d8dbcac196 feat: Use Backend for Recipe Post Actions (#4163) 2024-09-14 14:59:36 +00:00
renovate[bot]
8bd26d2230 fix(deps): update dependency fastapi to v0.114.2 (#4206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-14 01:12:27 +00:00
renovate[bot]
400d251381 chore(deps): update dependency ruff to v0.6.5 (#4205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 19:59:47 -05:00
renovate[bot]
7088bea90a fix(deps): update dependency openai to v1.45.0 (#4203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 19:38:52 -05:00
Hayden
0eb3e3f7ca chore(l10n): New Crowdin updates (#4201) 2024-09-12 09:49:08 -05:00
Kuchenpirat
6f1df3a95e feat: Reorder ShoppingListItemEditor (#4200) 2024-09-12 09:07:26 -05:00
renovate[bot]
c97053ef83 chore(deps): update dependency pydantic-to-typescript2 to v1.0.6 (#4199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 21:59:37 +10:00
Michael Genson
f796258529 fix: Broken Social Preview Links (#4183) 2024-09-12 09:43:23 +00:00
Michael Genson
f6cf58334f fix: Tweak recipe card height to be consistent (#4150)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-09-11 22:59:15 +00:00
Ryan Breen
dda6f297d8 docs: boolean value in docker-compose examples not deserializable in env variables (#4130)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-09-11 22:47:40 +00:00
boc-the-git
97c3135a43 feat: Change autolabeler regex to include : (#4196) 2024-09-11 14:03:17 +00:00
renovate[bot]
871160cb42 fix(deps): update dependency pydantic-settings to v2.5.2 (#4195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 10:12:35 +00:00
renovate[bot]
e77b9e972f fix(deps): update dependency fastapi to v0.114.1 (#4194)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 20:01:23 +10:00
renovate[bot]
e1f382f8ba fix(deps): update dependency pydantic-settings to v2.5.0 (#4191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 10:38:45 -05:00
renovate[bot]
baf78573f7 chore(deps): update dependency rich to v13.8.1 (#4190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 14:44:50 +00:00
renovate[bot]
e579017e6d chore(deps): update dependency pytest to v8.3.3 (#4189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 14:32:50 +00:00
boc-the-git
589b226360 feat: Add autolabeler functionality for PRs (#4188) 2024-09-10 09:23:23 -05:00
renovate[bot]
98ac9cd290 fix(deps): update dependency openai to v1.44.1 (#4185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 20:33:43 +00:00
Hayden
6253fdb3db chore(l10n): New Crowdin updates (#4181) 2024-09-09 14:23:07 +00:00
github-actions[bot]
7ff532429f chore(auto): Update pre-commit hooks (#4179)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-09-09 14:14:42 +00:00
renovate[bot]
a14a4bcf89 fix(deps): update dependency pydantic to v2.9.1 (#4180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 20:57:20 +10:00
Hayden
12a4b16bde chore(l10n): New Crowdin updates (#4176) 2024-09-08 15:44:57 +02:00
Hayden
98f91351d5 chore(l10n): New Crowdin updates (#4171) 2024-09-07 15:37:51 +02:00
renovate[bot]
6a4a88371f fix(deps): update dependency openai to v1.44.0 (#4170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-07 03:09:50 +00:00
renovate[bot]
fc749f520a fix(deps): update dependency fastapi to ^0.114.0 (#4169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 21:57:57 -05:00
Vlad Shulcz
5b3be18fe2 feat: Added feature to limit mealplan data by date range (#4111)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-07 02:37:42 +00:00
Michael Genson
0aaa40432d docs: Fix OpenAI docs link (#4168) 2024-09-07 01:35:10 +00:00
paaff
6ecdb39a2d docs: add keep screen alive entry (#4116)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-09-06 19:03:05 +00:00
Michael Genson
29c5944d92 docs: Added OpenAI Page to mkdocs (#4167) 2024-09-06 08:38:55 -08:00
renovate[bot]
68ec3f7e42 fix(deps): update dependency sqlalchemy to v2.0.34 (#4156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 09:32:28 -05:00
Michael Genson
59e5094669 docs: OpenAI Documentation (#4165) 2024-09-06 12:09:19 +00:00
renovate[bot]
ed5cd2a0c5 fix(deps): update dependency openai to v1.43.1 (#4164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 20:07:24 +00:00
renovate[bot]
bb2badc526 fix(deps): update dependency pydantic to v2.9.0 (#4162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 14:54:14 -05:00
renovate[bot]
41df1d67e0 fix(deps): update dependency fastapi to ^0.113.0 (#4161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 16:44:13 +00:00
renovate[bot]
4d3edbfccb chore(deps): update dependency ruff to v0.6.4 (#4160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 11:31:45 -05:00
renovate[bot]
979a977d77 fix(deps): update dependency fastapi to v0.112.3 (#4159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 09:08:13 -05:00
boc-the-git
b2c8585ec5 chore: Set "documentation" label on PR (#4153) 2024-09-04 14:06:30 +00:00
boc-the-git
70d5f1a918 chore: Set 'chore' label on PR (#4154) 2024-09-04 08:58:07 -05:00
Hayden
82169fc316 chore(l10n): New Crowdin updates (#4145) 2024-09-04 11:15:35 +00:00
boc-the-git
c2fb4d3fa7 feat: Automate release drafting (#4147) 2024-09-04 08:08:39 +10:00
renovate[bot]
4734fae891 fix(deps): update dependency sqlalchemy to v2.0.33 (#4149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 13:56:25 -05:00
Brian Choromanski
787b826aa1 fix: PWA respects orientation lock (#4143) 2024-09-03 00:01:21 +00:00
renovate[bot]
22cdb7305b fix(deps): update dependency apprise to v1.9.0 (#4141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 20:35:14 +00:00
renovate[bot]
107fc138fd fix(deps): update dependency rapidfuzz to v3.9.7 (#4142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 15:23:43 -05:00
renovate[bot]
e9285881f0 chore(deps): update dependency mkdocs-material to v9.5.34 (#4133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 15:12:06 -05:00
github-actions[bot]
e0b5d76278 fix(auto): Update pre-commit hooks (#4138)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-09-02 10:23:48 +00:00
Michael Genson
9acf9ec27c feat: Cross-Household Recipes (#4089) 2024-09-01 02:54:10 +00:00
Hayden
7ef2e91ecf chore(l10n): New Crowdin updates (#4132) 2024-08-31 15:24:12 -08:00
renovate[bot]
220c383ccb chore(deps): update dependency pylint to v3.2.7 (#4131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-31 15:23:58 -08:00
Michael Genson
a3f474e088 feat: Change OpenAI Image Format to JPG (#4117) 2024-08-30 21:24:25 +00:00
Hayden
2ad6e1b198 chore(l10n): New Crowdin updates (#4127) 2024-08-30 13:02:06 -05:00
ipitio
8b6d8e60eb docs: Update ghcr pulls badge endpoint (#4124) 2024-08-30 12:14:36 +00:00
Michael Genson
9e392cbdad fix: Update Task Template for V2 (#4078) 2024-08-30 10:25:22 +00:00
renovate[bot]
29f21a0cd8 fix(deps): update dependency openai to v1.43.0 (#4122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 10:14:42 +00:00
Michael Genson
22e9c8b462 fix: Docs Reference Old Build (#4096) 2024-08-30 10:03:44 +00:00
Hayden
eae474d9b9 chore(l10n): New Crowdin updates (#4121) 2024-08-29 17:45:15 +00:00
renovate[bot]
296a1a036c chore(deps): update dependency ruff to v0.6.3 (#4120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 11:22:08 -05:00
Hayden
0ca1b6e57c chore(l10n): New Crowdin updates (#4115) 2024-08-28 17:24:26 +00:00
Hayden
9636fc82f6 chore(l10n): New Crowdin updates (#4113) 2024-08-27 11:51:54 -05:00
renovate[bot]
e4aeb01acb fix(deps): update dependency httpx to v0.27.2 (#4112)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 14:47:44 +00:00
renovate[bot]
4c6357e8dc chore(deps): update dependency rich to v13.8.0 (#4105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 13:08:07 -05:00
renovate[bot]
91a7e09569 fix(deps): update dependency authlib to v1.3.2 (#4102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 17:37:34 +00:00
renovate[bot]
2c2c07feb2 chore(deps): update dependency mypy to v1.11.2 (#4093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 17:25:04 +00:00
renovate[bot]
c49610ec74 fix(deps): update dependency fastapi to v0.112.2 (#4092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 12:10:32 -05:00
github-actions[bot]
587002c523 fix(auto): Update pre-commit hooks (#4101)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-08-26 16:57:27 +00:00
Hayden
7466e5d7f5 chore(l10n): New Crowdin updates (#4104) 2024-08-26 11:43:16 -05:00
renovate[bot]
795f5ea4f1 fix(deps): update dependency recipe-scrapers to v15.1.0 (#4103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 16:19:45 +00:00
Hayden
9b6f323b6f chore(l10n): New Crowdin updates (#4098) 2024-08-25 15:30:20 -05:00
boc-the-git
c688114e15 docs: Tidy unicorn workers description (#4095) 2024-08-25 03:05:50 +00:00
Hayden
042ac6bfa5 chore(l10n): New Crowdin updates (#4090) 2024-08-24 11:14:33 -05:00
Arsène Reymond
67dc0d7066 fix: Image height in home screen mobile format (#4088) 2024-08-23 13:26:12 -05:00
Hayden
22057cad19 chore(l10n): New Crowdin updates (#4087) 2024-08-23 16:09:56 +00:00
renovate[bot]
ce13242f61 chore(deps): update dependency mkdocs-material to v9.5.33 (#4085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 14:40:47 +00:00
renovate[bot]
7dd66a52d5 chore(deps): update dependency ruff to v0.6.2 (#4075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 14:27:23 +00:00
renovate[bot]
6ed2b99188 chore(deps): update dependency pytest-asyncio to ^0.24.0 (#4074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 14:15:09 +00:00
Sach
29f88eade0 fix: Recipe with a single 'space' as the title returns "404 page not found" (#4065)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-08-23 14:03:10 +00:00
Hayden
a63cdf8534 chore(l10n): New Crowdin updates (#4076) 2024-08-22 15:28:57 +00:00
Michael Genson
eb170cc7e5 feat: Add Households to Mealie (#3970) 2024-08-22 10:14:32 -05:00
Hayden
0c29cef17d chore(l10n): New Crowdin updates (#4068)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-08-22 10:01:22 +02:00
VolumeData21
f86d4d5d8d fix: removed version line from docker compose yml files (#4072) 2024-08-22 09:42:41 +02:00
github-actions[bot]
c721533557 docs(auto): Update image tag, for release v1.12.0 (#4064)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-08-21 11:27:25 +00:00
renovate[bot]
0d06494bbf fix(deps): update dependency openai to v1.42.0 (#4060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 20:47:39 +10:00
Hayden
9c04950948 chore(l10n): New Crowdin updates (#4058) 2024-08-20 15:10:27 +00:00
vahtos
34c37a2bee docs: fix import bookmarklet trailing slashes (#4057) 2024-08-20 14:54:15 +00:00
Brian Choromanski
2cd1e0ad37 feat: Seed support for plural units (#3933)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-08-20 14:33:20 +00:00
renovate[bot]
828afe6674 fix(deps): update dependency openai to v1.41.1 (#4056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 21:38:42 -05:00
renovate[bot]
6a705b7352 chore(deps): update dependency mkdocs-material to v9.5.32 (#4053)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 20:36:49 -05:00
github-actions[bot]
3fa931466e fix(auto): Update pre-commit hooks (#4052)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-08-20 00:04:42 +00:00
renovate[bot]
4ba8269ff1 fix(deps): update dependency openai to v1.41.0 (#4042)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 18:54:19 -05:00
Hayden
581310b57d chore(l10n): New Crowdin updates (#4054) 2024-08-19 21:16:45 +02:00
renovate[bot]
ace18ab4aa fix(deps): update dependency fastapi to v0.112.1 (#4041)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-18 21:18:11 +00:00
renovate[bot]
abae973454 chore(deps): update dependency ruff to ^0.6.0 (#4039)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-18 16:05:45 -05:00
Ikko Eltociear Ashimine
08bc29ca8a docs: update home-assistant.md (#4049) 2024-08-18 18:59:35 +02:00
Hayden
9d7ef1837b chore(l10n): New Crowdin updates (#4047) 2024-08-18 17:45:57 +02:00
Michael Genson
8a15f400e1 feat: Import + Translate recipe images with OpenAI (#3974)
Co-authored-by: Johan Lindell <johan@lindell.me>
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-08-18 08:07:01 +10:00
Hayden
3d921cb677 chore(l10n): New Crowdin updates (#4043) 2024-08-16 15:14:28 +02:00
renovate[bot]
f0e065efa4 fix(deps): update dependency openai to v1.40.6 (#4023)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 12:02:27 +00:00
renovate[bot]
d06589b31b fix(deps): update dependency uvicorn to v0.30.6 (#4030)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 21:53:06 +10:00
Hayden
3405bc4eb6 chore(l10n): New Crowdin updates (#4034) 2024-08-13 22:35:10 +00:00
Hayden
a75eb07a47 chore(l10n): New Crowdin updates (#4025) 2024-08-12 22:11:52 +00:00
Christian Clauss
432914e310 fix: Lint Python code with ruff (#3799) 2024-08-12 15:09:30 +00:00
Andrew Morgan
65ece35966 fix: Don't load from secrets dir if nonexistent or inaccessible (#4002)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-08-12 14:55:32 +00:00
renovate[bot]
f11af52d30 fix(deps): update dependency lxml to v5.3.0 (#4015)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 10:56:25 +00:00
renovate[bot]
b4da5c3d5a fix(deps): update dependency openai to v1.40.3 (#4012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 10:43:59 +00:00
renovate[bot]
a4e416cabc fix(deps): update dependency orjson to v3.10.7 (#4009)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 10:33:29 +00:00
github-actions[bot]
26173704aa fix(auto): Update pre-commit hooks (#4020)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-08-12 10:24:15 +00:00
Hayden
5876c1ecf7 chore(l10n): New Crowdin updates (#4019) 2024-08-11 17:09:17 -05:00
Hayden
c4a339ed36 chore(l10n): New Crowdin updates (#4016) 2024-08-11 00:49:18 +02:00
Hayden
2967eca819 chore(l10n): New Crowdin updates (#4011) 2024-08-10 09:28:46 +02:00
boc-the-git
66b19eecfb feat: If there's only one shopping list, navigate directly to it (#3958) 2024-08-09 14:11:54 +00:00
renovate[bot]
37d93d4e4b chore(deps): update dependency ruff to v0.5.7 (#4005)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-08-09 10:57:38 +00:00
renovate[bot]
656d46e9cb fix(deps): update dependency openai to v1.40.2 (#4008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 20:47:16 +10:00
Hayden
169d659b72 chore(l10n): New Crowdin updates (#4007) 2024-08-08 23:36:04 +02:00
TheSuperBeaver
f92a9afbe5 feat: Added fr-BE (#4004) 2024-08-08 09:50:14 -05:00
renovate[bot]
d53f81cdfb fix(deps): update dependency openai to v1.40.1 (#4001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 13:17:57 -05:00
renovate[bot]
bd4f858ba7 fix(deps): update dependency pyyaml to v6.0.2 (#3996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 22:53:25 -05:00
renovate[bot]
ce3a95f38a fix(deps): update dependency rapidfuzz to v3.9.6 (#3997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 22:11:10 -05:00
Hayden
e3ffa03ffd chore(l10n): New Crowdin updates (#3995) 2024-08-06 16:07:42 -05:00
renovate[bot]
79910deb8a fix(deps): update dependency openai to v1.40.0 (#3994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 17:43:07 +00:00
Michael Genson
e0c532ab94 fix: Bump tzdata 2024.1 (#3993) 2024-08-06 09:29:34 -05:00
renovate[bot]
73c09ab138 fix(deps): update dependency openai to v1.39.0 (#3989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 16:46:18 -05:00
renovate[bot]
7edf0ee3cc fix(deps): update dependency tzdata to v2024 (#3990)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 20:40:05 +00:00
renovate[bot]
48381fe897 fix(deps): update dependency sqlalchemy to v2.0.32 (#3988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 15:27:10 -05:00
github-actions[bot]
e68300037c fix(auto): Update pre-commit hooks (#3987)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-08-05 15:04:43 +00:00
renovate[bot]
c643f24a72 chore(deps): update dependency coverage to v7.6.1 (#3985)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 09:54:14 -05:00
renovate[bot]
7820ddc8f7 fix(deps): update dependency uvicorn to v0.30.5 (#3979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 17:46:21 +00:00
renovate[bot]
ca3cb2447c fix(deps): update dependency fastapi to ^0.112.0 (#3977)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 17:35:19 +00:00
renovate[bot]
a55fdb634d chore(deps): update dependency mkdocs-material to v9.5.31 (#3978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 17:23:35 +00:00
renovate[bot]
8b0c607712 chore(deps): update dependency ruff to v0.5.6 (#3980)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 17:12:25 +00:00
renovate[bot]
8c990a5dd2 fix(deps): update dependency openai to v1.38.0 (#3981)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 16:59:42 +00:00
renovate[bot]
abf5cf0116 fix(deps): update dependency pyjwt to v2.9.0 (#3973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 11:25:35 -05:00
renovate[bot]
84069bf9df fix(deps): update dependency openai to v1.37.2 (#3976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 09:04:11 +02:00
Hayden
059e5b7ea2 chore(l10n): New Crowdin updates (#3975) 2024-08-02 08:48:16 +02:00
Michael Genson
3677d04b56 fix: Make recipe scraper cleaner more fault tolerant (#3967)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-08-01 08:33:46 +02:00
renovate[bot]
05c034fca2 fix(deps): update dependency uvicorn to v0.30.4 (#3971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 21:02:44 -05:00
Kuchenpirat
17d1cd26dc fix: recipe clean_time function missing translator argument on recursion (#3969) 2024-07-31 17:22:30 +00:00
github-actions[bot]
c9bbae6f77 docs(auto): Update image tag, for release v1.11.0 (#3965)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-07-31 18:44:37 +02:00
renovate[bot]
a41ad8c6ed chore(deps): update dependency mypy to v1.11.1 (#3963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 19:26:12 -05:00
João Antunes
9c38c89c44 Update swag.md (#3961) 2024-07-30 21:19:18 +00:00
renovate[bot]
998440d064 fix(deps): update dependency pydantic-settings to v2.4.0 (#3960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 17:14:12 +00:00
renovate[bot]
b01d12c377 chore(deps): update dependency pre-commit to v3.8.0 (#3954)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 12:02:42 -05:00
renovate[bot]
1dee574a08 fix(deps): update dependency pillow-heif to ^0.18.0 (#3949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 11:40:42 -05:00
renovate[bot]
257c4461a3 fix(deps): update dependency rapidfuzz to v3.9.5 (#3959)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 11:12:17 -05:00
renovate[bot]
01f4257190 fix(deps): update dependency apprise to v1.8.1 (#3942)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 16:00:07 +00:00
renovate[bot]
d7b7dd6c83 fix(deps): update dependency recipe-scrapers to v15 (#3955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-07-30 17:48:47 +02:00
github-actions[bot]
23c2eab682 fix(auto): Update pre-commit hooks (#3957)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-07-29 10:41:26 +00:00
Michael Genson
def346d16d fix: Reduce search tolerance on organizers page (#3950) 2024-07-28 04:23:26 +00:00
tyme-dev
cc324b29ae fix: Homepage icon and text update (#3922)
Co-authored-by: Timothy Pace <Timothy@timothy.dev>
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-07-28 04:08:34 +00:00
Michael Genson
9d58f9b266 fix: Offline Shopping List Fixes V2 - Electric Boogaloo (#3837)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-07-27 21:25:58 -05:00
renovate[bot]
30b2776f3c fix(deps): update dependency openai to v1.37.1 (#3943)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 12:27:34 +02:00
Hayden
60d23d0686 chore(l10n): New Crowdin updates (#3944) 2024-07-26 10:15:33 +00:00
Hayden
edf649dea6 fix: prevent postgres credentials leak (#3895)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-07-25 20:27:50 +00:00
renovate[bot]
29b4a3cd22 chore(deps): update dependency ruff to v0.5.5 (#3940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 20:07:09 +00:00
renovate[bot]
f3a5148628 fix(deps): update dependency bcrypt to v4.2.0 (#3928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 11:55:26 -08:00
renovate[bot]
33abd777e0 chore(deps): update dependency pytest to v8.3.2 (#3939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 11:22:12 +00:00
Hayden
739055caf6 chore(l10n): New Crowdin updates (#3938) 2024-07-25 21:10:07 +10:00
Kuchenpirat
8c29bd3439 fix: task py:migrate description (#3932) 2024-07-23 15:43:21 +00:00
renovate[bot]
2c4d0b692b chore(deps): update dependency mkdocs-material to v9.5.30 (#3930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 17:31:01 +02:00
Brian Choromanski
946b79b77a feat: PWA Additions (#3896)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-07-23 17:04:15 +02:00
Hayden
cd154d09b2 chore(l10n): New Crowdin updates (#3929) 2024-07-23 07:26:34 +10:00
github-actions[bot]
236c930b54 fix(auto): Update pre-commit hooks (#3925)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-07-22 18:08:24 +00:00
renovate[bot]
980c847e36 fix(deps): update dependency openai to v1.37.0 (#3927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 12:58:29 -05:00
renovate[bot]
91700771e6 chore(deps): update dependency pylint to v3.2.6 (#3923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 22:02:55 +00:00
Hayden
abb6ad5fd0 chore(l10n): New Crowdin updates (#3921) 2024-07-21 16:50:51 -05:00
renovate[bot]
ac7af02f77 chore(deps): update dependency pytest to v8.3.1 (#3916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-20 22:39:57 -05:00
Hayden
525b398687 chore(l10n): New Crowdin updates (#3917) 2024-07-21 03:08:27 +00:00
renovate[bot]
fafc836ccc chore(deps): update dependency ruff to v0.5.4 (#3915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-20 21:58:11 -05:00
renovate[bot]
c617b829e5 fix(deps): update dependency openai to v1.36.1 (#3919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-20 21:42:13 -05:00
Michael Genson
5b1e827d45 fix: Convert Daily Schedule Time to UTC (#3914) 2024-07-20 21:57:02 +00:00
boc-the-git
e33b62be2a docs: Change allow signup to false (#3913) 2024-07-20 10:38:57 -05:00
Arsène Reymond
60c33b499c feat: Internationalize sent emails (#3818) 2024-07-20 10:32:24 +00:00
Hayden
c205dff523 chore(l10n): New Crowdin updates (#3911) 2024-07-20 10:19:38 +00:00
renovate[bot]
ce69899c4b fix(deps): update dependency uvicorn to v0.30.3 (#3912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-20 20:09:31 +10:00
renovate[bot]
a4183e3453 chore(deps): update dependency mypy to v1.11.0 (#3910)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 17:27:56 -05:00
renovate[bot]
ab39408a24 fix(deps): update dependency openai to v1.36.0 (#3909)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 12:09:20 -05:00
boc-the-git
8c6c98483c docs: Remove duplicated "step 2" (#3908) 2024-07-19 14:32:40 +02:00
renovate[bot]
ae095ab572 chore(deps): update dependency ruff to v0.5.3 (#3905)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 16:58:55 -05:00
renovate[bot]
65356bc21a fix(deps): update dependency openai to v1.35.15 (#3906)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 22:42:34 +02:00
renovate[bot]
3aed5de3fc chore(deps): update dependency pytest-asyncio to v0.23.8 (#3901)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 18:29:24 -05:00
renovate[bot]
a4e9e54dae fix(deps): update dependency fastapi to v0.111.1 (#3891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 09:51:28 -05:00
renovate[bot]
8f698e437e fix(deps): update dependency recipe-scrapers to v14.58.0 (#3894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 11:34:48 +00:00
boc-the-git
ab0d36825a fix: Create directory used for Docker Secrets (#3888) 2024-07-17 06:24:53 -05:00
renovate[bot]
4e2f6c57f1 fix(deps): update dependency openai to v1.35.14 (#3897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 09:10:37 +02:00
renovate[bot]
de4cb8ba83 chore(deps): update dependency mkdocs-material to v9.5.29 (#3889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 10:35:31 +00:00
github-actions[bot]
375f43c596 fix(auto): Update pre-commit hooks (#3893)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-07-15 10:26:27 +00:00
renovate[bot]
3034945e7e chore(deps): update dependency ruff to v0.5.2 (#3890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 20:16:07 +10:00
Hayden
8e5effa532 chore(l10n): New Crowdin updates (#3887) 2024-07-13 15:40:41 +02:00
Litchi Pi
3b81d3b18a fix: Use env variable to get alembic config file in exporter (#3882)
Signed-off-by: Litchi Pi <litchi.pi@proton.me>
2024-07-12 12:18:06 +00:00
Michael Genson
d0f8b5773d fix: Bump other version numbers in GH workflow (#3840) 2024-07-12 11:30:22 +00:00
renovate[bot]
14910162dc chore(deps): update dependency coverage to v7.6.0 (#3884)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 21:00:35 +10:00
Hayden
035f780d27 chore(l10n): New Crowdin updates (#3886) 2024-07-11 22:22:37 +02:00
renovate[bot]
f10161ee92 fix(deps): update dependency recipe-scrapers to v14.57.1 (#3883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 09:56:19 -05:00
Michael Genson
b1a100a8c5 feat: Push On Hand Items to Bottom Of Add To Shopping List Dialog (#3862)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-07-10 20:41:15 +00:00
Hayden
7db39d32d1 chore(l10n): New Crowdin updates (#3878) 2024-07-10 15:24:34 -05:00
renovate[bot]
10921f9a64 fix(deps): update dependency openai to v1.35.13 (#3877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 13:48:02 -05:00
renovate[bot]
ba1c44172e fix(deps): update dependency tzdata to v2024 (#3825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 17:01:27 +00:00
zeskeertwee
fd2dc15a15 fix: Follow redirects during scraping (#3875) 2024-07-10 16:49:13 +00:00
renovate[bot]
47124488bb fix(deps): update dependency pydantic to v2.8.2 (#3844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 10:10:21 -05:00
Marcus Noble
6e680c972a feat: Show recipe tags on mobile view and meal plan (#3864)
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-07-10 09:43:33 +00:00
renovate[bot]
1fd2eb37ae fix(deps): update dependency openai to v1.35.12 (#3873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 19:33:45 +10:00
Hayden
923a59791a chore(l10n): New Crowdin updates (#3869) 2024-07-09 10:12:16 +00:00
Carter
1fcc2c755a fix: Add a default value of list when a user's group is None (#3872) 2024-07-08 21:13:04 -05:00
Michael Genson
d5f7a883df fix: Make Mealie Timezone-Aware (#3847)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-07-08 21:12:20 +00:00
Michael Genson
17f9eef551 docs: Update API Docs (#3856) 2024-07-08 10:01:31 +00:00
Elijah Mock
ca1ab33291 docs: Fix FAQ typos (#3866) 2024-07-07 19:11:53 -05:00
Michael Genson
6e6ae80c46 fix: Restore Webhook Test Functionality (#3857)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-07-06 19:10:01 +00:00
Hayden
aa6e109162 chore(l10n): New Crowdin updates (#3860) 2024-07-06 21:01:58 +02:00
renovate[bot]
a6e4b778c1 fix(deps): update dependency openai to v1.35.10 (#3843)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 19:16:40 +00:00
github-actions[bot]
31c7cb7906 docs(auto): Update image tag, for release v1.10.2 (#3851)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-07-05 19:07:22 +00:00
Michael Genson
d954b5cf48 fix: Minor Typo (#3855)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-07-05 18:58:52 +00:00
renovate[bot]
e5c2f5570f chore(deps): update dependency ruff to v0.5.1 (#3854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 10:43:22 -05:00
Michael Genson
e344f3f1e6 fix: Temporary TZ Issue Fix For Shopping Lists (#3850) 2024-07-05 12:08:04 +10:00
github-actions[bot]
6a7f0edbc6 docs(auto): Update image tag, for release v1.10.1 (#3836)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-07-03 18:57:23 +00:00
Hayden
d2fd4e0843 chore(l10n): New Crowdin updates (#3838) 2024-07-03 18:38:40 +02:00
boc-the-git
d639d168fa fix: Revert "fix: Offline Shopping List Fixes" (#3835) 2024-07-03 12:08:13 +00:00
renovate[bot]
7931e383b2 fix(deps): update dependency openai to v1.35.9 (#3831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-03 16:48:56 +10:00
renovate[bot]
7bfb8c78a6 fix(deps): update dependency rapidfuzz to v3.9.4 (#3832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 20:15:58 -05:00
renovate[bot]
9a2b2a59a2 fix(deps): update dependency orjson to v3.10.6 (#3829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 21:41:55 +00:00
renovate[bot]
0c0ff8f19d chore(deps): update dependency mkdocs-material to v9.5.28 (#3827)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 21:30:56 +00:00
renovate[bot]
6bbd9a162e fix(deps): update dependency openai to v1.35.8 (#3828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-03 07:20:11 +10:00
renovate[bot]
4d6fc9a4c9 fix(deps): update dependency pillow-heif to ^0.17.0 (#3826)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 09:10:04 -05:00
Michael Genson
53c89b340a fix: Offline Shopping List Fixes (#3823)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-07-02 21:11:13 +10:00
renovate[bot]
dc64484b8e fix(deps): update dependency recipe-scrapers to v14.57.0 (#3804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-07-01 19:39:22 +00:00
renovate[bot]
aabab73310 fix(deps): update dependency pydantic to v2.8.0 (#3824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 12:34:25 -05:00
renovate[bot]
542d0e5218 fix(deps): update dependency pillow to v10.4.0 (#3822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 11:57:37 -05:00
Hayden
a3a21eb533 chore(l10n): New Crowdin updates (#3821) 2024-06-30 16:43:00 +02:00
Vladyslav Velychko
b0cc7c4c25 fix: Daily task scheduler can be off by an hour (#3820) 2024-06-30 11:57:20 +00:00
boc-the-git
e80ba7dff3 fix: Typo, assert_derserialize => assert_deserialize (#3814) 2024-06-29 15:25:04 +00:00
Hayden
bdac51bae2 chore(l10n): New Crowdin updates (#3817) 2024-06-29 16:34:44 +02:00
Michael Genson
f4827abc1d feat: Offline Shopping List (#3760)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-06-29 09:58:58 +00:00
renovate[bot]
63a180ef2c chore(deps): update dependency pylint to v3.2.5 (#3813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-29 19:50:40 +10:00
boc-the-git
a062a4beaa feat: Add the ability to flag a food as "on hand", to exclude from shopping list (#3777) 2024-06-28 15:16:04 +00:00
renovate[bot]
4831adb0f3 chore(deps): update dependency ruff to ^0.5.0 (#3807)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-06-28 15:03:03 +00:00
Hayden
97550899d0 chore(l10n): New Crowdin updates (#3812) 2024-06-28 16:06:14 +02:00
Michael Genson
da11204cd7 feat: Auto-label new shopping list items (#3800) 2024-06-28 10:03:23 +00:00
Olly Welch
9795b4c553 feat: check all in shopping list view (#3786)
Co-authored-by: Olly Welch <mail@ollywelch.com>
2024-06-28 09:37:21 +00:00
Michael Genson
3e1adfa65d feat: Make OpenAI Request Timeout Configurable (#3808) 2024-06-28 08:35:16 +00:00
renovate[bot]
88214cd61f fix(deps): update dependency openai to v1.35.7 (#3810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-28 09:57:21 +02:00
renovate[bot]
f1b53483da fix(deps): update dependency openai to v1.35.6 (#3806)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 19:04:58 +02:00
renovate[bot]
5ccac83d08 fix(deps): update dependency alembic to v1.13.2 (#3801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 08:35:56 -05:00
renovate[bot]
5594b303bc fix(deps): update dependency openai to v1.35.5 (#3802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-26 15:36:10 -05:00
Thomas Pijper
58100d0515 feat: Added serving size to print view (#3796)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-06-26 11:31:08 +00:00
Christian Clauss
e2033b2d67 fix: pre-commit autoupdate && pre-commit run --all-files (#3780) 2024-06-26 10:41:46 +00:00
Michael Genson
5e0f8a4bf7 feat: Add Alerts for Ingredient Parsing Errors (#3795) 2024-06-26 10:33:11 +00:00
renovate[bot]
477899fce3 chore(deps): update dependency pylint to v3.2.4 (#3798)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-26 08:44:24 +00:00
renovate[bot]
04d481fcbf fix(deps): update dependency openai to v1.35.4 (#3797)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-26 18:34:38 +10:00
Michael Genson
5572e51933 feat: Prevent Shopping Lists From Rendering If Redirecting (#3768) 2024-06-25 13:41:41 +00:00
renovate[bot]
44915ace12 fix(deps): update dependency aiofiles to v24 (#3784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 21:45:44 +10:00
renovate[bot]
906a143363 chore(deps): update dependency mypy to v1.10.1 (#3791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 10:00:45 +00:00
Hayden
c41bfbab1e chore(l10n): New Crowdin updates (#3789) 2024-06-25 19:51:20 +10:00
renovate[bot]
69fca013d8 fix(deps): update dependency pydantic-settings to v2.3.4 (#3785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 20:43:39 +00:00
renovate[bot]
24a17e4001 chore(deps): update dependency coverage to v7.5.4 (#3774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 06:34:07 +10:00
Hayden
6cbd004fb9 chore(l10n): New Crowdin updates (#3782) 2024-06-23 20:51:24 -05:00
boc-the-git
5d8210d570 docs: Add database changes, remove changelogs (#3778) 2024-06-23 15:34:17 +00:00
Hayden
8d6dc1c6ee chore(l10n): New Crowdin updates (#3775)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-06-23 08:56:22 +00:00
Michael Genson
0e520ba43c feat: Add Additional Plan To Eat Columns To Import (#3776) 2024-06-23 03:26:54 +00:00
Hayden
a9b40cd862 chore(l10n): New Crowdin updates (#3771) 2024-06-22 01:40:33 +00:00
Michael Genson
ba48e9414c fix: Comments Disappear After Edit (#3767)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-06-22 10:44:22 +10:00
Michael Genson
72aa1b2514 fix: Open AI Parsing Fails When Group Has No Units (#3769) 2024-06-21 21:59:57 +00:00
Michael Genson
b4f07f9d62 fix: Prevent Dragging Ingredients to Instructions and Vice Versa (#3770) 2024-06-22 07:42:05 +10:00
boc-the-git
eb36912e5c feat: If only 1 shopping list, navigate straight to it (Shopping List QoL) (#3764)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-06-21 12:17:39 +00:00
boc-the-git
d923b4c7fa fix: Typo in label (#3765) 2024-06-21 10:23:15 +00:00
Hayden
4ecf88379c chore(l10n): New Crowdin updates (#3738) 2024-06-21 10:09:29 +00:00
renovate[bot]
857c8d42e2 fix(deps): update dependency tzdata to v2024 (#3763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-06-21 08:14:48 +00:00
renovate[bot]
982802c427 fix(deps): update dependency openai to v1.35.3 (#3762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 04:02:20 +00:00
Hayden
4d1381c055 chore: remove gunicorn in favor of uvicorn workers (#3761) 2024-06-20 22:52:09 -05:00
Kuchenpirat
adab596683 feat: bulk assign label to foods (#3750) 2024-06-20 22:42:42 +00:00
renovate[bot]
e08fc4e25e fix(deps): update dependency openai to v1.35.2 (#3759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 21:20:31 +02:00
renovate[bot]
e8ee37fd43 chore(deps): update dependency ruff to v0.4.10 (#3758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 19:06:40 +00:00
renovate[bot]
bfe249dc42 fix(deps): update dependency sqlalchemy to v2.0.31 (#3752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 21:48:27 +10:00
renovate[bot]
15989e0c93 fix(deps): update dependency openai to v1.35.1 (#3756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 18:10:48 -05:00
renovate[bot]
9af06ce442 fix(deps): update dependency openai to v1.35.0 (#3753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 15:06:49 -05:00
Michael Genson
22fc29742a fix: Make OpenAI Image Scraping More Fault Tolerant (#3749) 2024-06-18 18:25:53 +02:00
Jonathan Beaulieu
20b1b3de35 feat: Insert instruction step above or below. #3731 (#3732) 2024-06-18 13:45:12 +00:00
github-actions[bot]
82d930e645 docs(auto): Update image tag, for release v1.9.0 (#3747)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-06-18 09:55:46 +00:00
boc-the-git
d96c36333b docs: Provide meaningful URLs for some badges (#3742)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-06-18 09:21:53 +00:00
Asdoos
b220cd6431 feat: Show nutrition on recipe print (#3740)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-06-18 11:08:22 +02:00
Brian Choromanski
598b0f3707 feat: Added images to PWA shortcuts (#3744) 2024-06-17 15:33:41 -05:00
renovate[bot]
c18b9d3184 chore(deps): update dependency mkdocs-material to v9.5.27 (#3741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-16 18:10:51 +02:00
renovate[bot]
e64d070603 chore(deps): update dependency ruff to v0.4.9 (#3737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-14 12:01:11 -05:00
renovate[bot]
d843370c07 fix(deps): update dependency orjson to v3.10.5 (#3734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-14 08:04:57 -05:00
boc-the-git
269be953ce docs: Fix typo in python logging docs (#3736) 2024-06-14 07:55:37 -05:00
Bart Kummel
9f7d74aecf fix: Make fractions in the ingredient list look a tiny bit nicer (#3725) 2024-06-13 13:04:45 +00:00
renovate[bot]
4a0a8e8a5e fix(deps): update dependency pydantic-settings to v2.3.3 (#3733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 21:16:59 +10:00
boc-the-git
75895cab79 docs: Adjust badges in README (#3728)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-06-13 04:11:10 +00:00
renovate[bot]
be0cdee8b7 fix(deps): update dependency openai to v1.34.0 (#3730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-12 23:02:59 -05:00
renovate[bot]
6024c8bc05 fix(deps): update dependency pydantic to v2.7.4 (#3729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-12 16:37:52 +00:00
Greirson Lee-Thorp
b3241d3e8b docs: Add n8n backup automation example guide (#3648)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-06-12 09:42:57 +00:00
Hayden
01b9987812 chore(l10n): New Crowdin updates (#3726) 2024-06-11 18:53:17 +02:00
renovate[bot]
4e613e15f0 fix(deps): update dependency orjson to v3.10.4 (#3722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 09:57:53 -05:00
renovate[bot]
5298bdc90f fix(deps): update dependency pydantic-settings to v2.3.2 (#3723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 09:48:39 -05:00
boc-the-git
2a6bb7d444 docs: Add doco for db changes (#3721) 2024-06-10 13:34:02 +02:00
Hayden
21f1d46b6d chore(l10n): New Crowdin updates (#3720) 2024-06-09 10:10:31 -05:00
Hayden
df15a9e74e chore(l10n): New Crowdin updates (#3716) 2024-06-08 15:06:59 +00:00
renovate[bot]
f53cae7c7b fix(deps): update dependency openai to v1.33.0 (#3715)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-07 21:27:28 -05:00
renovate[bot]
219138fce1 fix(deps): update dependency openai to v1.32.1 (#3713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-07 21:19:45 +00:00
Michael Genson
4634ad5666 fix: Recipe Keeper Errors and Other Safari Issues (#3712)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-06-07 15:35:36 +00:00
Hayden
eab7c0d9e5 chore(l10n): New Crowdin updates (#3711) 2024-06-07 15:10:54 +00:00
Michael Genson
4afb767375 feat: Open AI Recipe Scraper (#3690) 2024-06-07 11:45:50 +00:00
renovate[bot]
a49c32e663 fix(deps): update dependency openai to v1.32.0 (#3709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-07 09:54:50 +02:00
renovate[bot]
5d55e4b4ff chore(deps): update dependency pylint to v3.2.3 (#3706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 14:22:08 -05:00
renovate[bot]
98c5d142eb fix(deps): update dependency openai to v1.31.2 (#3707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 12:03:22 -05:00
renovate[bot]
c0db6ff3d1 chore(deps): update dependency mkdocs-material to v9.5.26 (#3705)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 15:43:23 +02:00
renovate[bot]
b71310cdaf fix(deps): update dependency pydantic-settings to v2.3.1 (#3701)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:29:31 -05:00
renovate[bot]
91fb750768 fix(deps): update dependency openai to v1.31.1 (#3700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 17:20:25 +00:00
renovate[bot]
7f1139618d chore(deps): update dependency ruff to v0.4.8 (#3699)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 17:10:04 +00:00
github-actions[bot]
42b2bc7c15 docs(auto): Update image tag, for release v1.8.0 (#3698)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-06-05 09:52:58 +00:00
renovate[bot]
583bd742fb fix(deps): update dependency authlib to v1.3.1 (#3696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 18:04:09 -05:00
renovate[bot]
af86ed2028 chore(deps): update dependency pytest to v8.2.2 (#3695)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 14:49:33 -05:00
renovate[bot]
80dc1dcaad fix(deps): update dependency pydantic to v2.7.3 (#3689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 19:11:05 +00:00
renovate[bot]
90e184c0fc fix(deps): update dependency pydantic-settings to v2.3.0 (#3688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 18:58:27 +00:00
renovate[bot]
393103662f fix(deps): update dependency openai to v1.31.0 (#3691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 15:18:30 +00:00
Hayden
6e2957fb1e chore(l10n): New Crowdin updates (#3694) 2024-06-04 10:05:53 -05:00
boc-the-git
e7a668e64e feat: Ensure PR title fits convention (#3683) 2024-06-04 13:41:02 +00:00
Hayden
88577b696b New Crowdin updates (#3693) 2024-06-04 12:33:42 +02:00
Hayden
289038ba17 New Crowdin updates (#3687) 2024-06-03 07:43:44 +00:00
boc-the-git
4aec294c26 docs: Add Key Features to README (#3678)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-06-03 00:40:49 +00:00
renovate[bot]
99a13bd0c4 fix(deps): update dependency uvicorn to v0.30.1 (#3685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-02 19:32:21 +10:00
Hayden
3bd4353685 New Crowdin updates (#3684) 2024-06-02 09:30:18 +02:00
Michael Genson
109ec651cc fix: Broken Data Management Tabs (#3680) 2024-06-01 21:46:31 +00:00
Dennis Gaida
166582acf4 [docs] add possible log levels (#3638)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-06-02 07:11:40 +10:00
Michael Genson
4bc88e653f feat: Handle Safari-mangled backup ZIPs and improve backup UI (#3674) 2024-06-01 15:58:42 +00:00
Michael Genson
94e91d3602 feat: Update Shopping List Timestamp on List Item Update (#3453) 2024-06-01 11:07:50 +00:00
renovate[bot]
d6ce607a4e fix(deps): update dependency rapidfuzz to v3.9.3 (#3673)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-01 10:42:57 +00:00
renovate[bot]
9e8822fabe chore(deps): update dependency ruff to v0.4.7 (#3672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-01 20:32:44 +10:00
Hayden
0734ec9ce8 New Crowdin updates (#3675) 2024-06-01 11:13:31 +02:00
Jonathan Beaulieu
f4f2b863e0 feat: Add recipekeeper migration (#3642) 2024-05-31 09:58:04 +00:00
DataDalton
a7fcb6c84d docs: Update documentation link on main readme (#3657) 2024-05-31 06:34:19 +00:00
renovate[bot]
abcee51d0c fix(deps): update dependency openai to v1.30.5 (#3670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-30 17:00:31 +10:00
renovate[bot]
8b61f95c8c fix(deps): update dependency requests to v2.32.3 (#3668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-05-30 06:34:55 +00:00
renovate[bot]
e01bb60aab fix(deps): update dependency rapidfuzz to v3.9.2 (#3667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-30 06:24:55 +00:00
Hayden
bf5340b902 New Crowdin updates (#3669) 2024-05-30 16:13:43 +10:00
renovate[bot]
985041e61f fix(deps): update dependency uvicorn to ^0.30.0 (#3659)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 14:40:17 +00:00
renovate[bot]
70edf36073 fix(deps): update dependency lxml to v5.2.2 (#3389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 09:31:36 -05:00
renovate[bot]
15a0d25caa fix(deps): update dependency extruct to ^0.17.0 (#3666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 09:21:06 -05:00
aljora
445754c5d8 Setting backend passwords with docker compose secrets (#3656)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-05-29 19:53:24 +10:00
Hayden
831cd9c543 New Crowdin updates (#3665) 2024-05-29 08:59:06 +00:00
renovate[bot]
abaf6062c6 chore(deps): update dependency ruff to v0.4.6 (#3663)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 19:47:40 -05:00
renovate[bot]
125c3914b3 fix(deps): update dependency pydantic to v2.7.2 (#3662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 19:08:46 +00:00
renovate[bot]
93cb6bf341 chore(deps): update dependency coverage to v7.5.3 (#3660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 18:57:54 +00:00
renovate[bot]
46fb2b2c5a fix(deps): update dependency openai to v1.30.4 (#3661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 13:48:59 -05:00
Hayden
ac2a77b3b0 New Crowdin updates (#3658) 2024-05-28 08:00:49 +02:00
renovate[bot]
66a6426d15 chore(deps): update dependency mkdocs-material to v9.5.25 (#3655)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 10:44:49 +00:00
Hayden
508ae30133 New Crowdin updates (#3653) 2024-05-27 09:27:28 +02:00
boc-the-git
e3c642debf feat: Set default number of days on meal planner (#3650) 2024-05-26 21:30:15 +00:00
renovate[bot]
af9e0f27a3 chore(deps): update dependency coverage to v7.5.2 (#3651)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-26 09:56:26 -05:00
boc-the-git
e07467df57 fix: Set the daily schedule to a specific time, rather than 24hr from start up (#3645) 2024-05-26 04:00:51 +00:00
renovate[bot]
55b91bf847 fix(deps): update dependency openai to v1.30.3 (#3646)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-24 19:39:11 +00:00
renovate[bot]
58fc46af9f chore(deps): update dependency ruff to v0.4.5 (#3636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-24 21:45:47 +10:00
Hayden
8e4fe55df1 New Crowdin updates (#3641) 2024-05-23 19:54:57 -05:00
renovate[bot]
f150c3f41e fix(deps): update dependency openai to v1.30.2 (#3640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 15:00:34 +02:00
github-actions[bot]
36c7ae5b4b docs(auto): Update image tag, for release v1.7.0 (#3637)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-05-23 07:08:46 +00:00
Hayden
d1c5a6ed8c New Crowdin updates (#3635) 2024-05-23 07:48:06 +02:00
Michael Genson
ca26639525 feat: Data Management from Shopping List (#3603)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-05-22 21:58:16 +00:00
renovate[bot]
89982f3e5f fix(deps): update dependency requests to v2.32.2 (#3632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 20:32:00 +10:00
renovate[bot]
8485b17490 fix(deps): update dependency openai to v1.30.1 (#3633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 09:57:12 +00:00
Michael Genson
5c57b3dd1a feat: OpenAI Ingredient Parsing (#3581) 2024-05-22 09:45:07 +00:00
renovate[bot]
4c8bbdcde2 chore(deps): update dependency mkdocs-material to v9.5.24 (#3629)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-21 21:59:17 +10:00
renovate[bot]
2607066570 fix(deps): update dependency apprise to v1.8.0 (#3588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 23:19:03 +00:00
renovate[bot]
8b7c8be51d fix(deps): update dependency requests to v2.32.1 (#3631)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 18:08:33 -05:00
nephlm
c70a5cb72c fix: Fix file not found error with individual recipe export/download. (#3579) 2024-05-20 17:53:14 -05:00
Michael Genson
c610ec1344 fix: Broken Import (#3630) 2024-05-20 07:55:01 -08:00
Michael Genson
61becdbec7 chore: Remove Server Tasks (#3592) 2024-05-20 14:51:37 +00:00
renovate[bot]
78d2a3b8aa chore(deps): update dependency pylint to v3.2.2 (#3625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 20:37:03 +10:00
Michael Genson
a4c3b0da71 fix: NLP Ingredient Parser Misses Some Fractions (#3618) 2024-05-20 10:18:11 +00:00
Hayden
3d3279738b New Crowdin updates (#3622) 2024-05-20 00:36:33 +00:00
renovate[bot]
495d643ed9 fix(deps): update dependency rapidfuzz to v3.9.1 (#3623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-19 19:28:23 -05:00
renovate[bot]
9094d24e50 chore(deps): update dependency pytest to v8.2.1 (#3621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-19 15:53:19 -05:00
renovate[bot]
aa4d0f9958 chore(deps): update dependency pytest-asyncio to v0.23.7 (#3620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-19 10:59:31 -05:00
renovate[bot]
cb821994ae chore(deps): update dependency pylint to v3.2.1 (#3616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-18 12:53:27 -05:00
Hayden
b07a3a31f7 New Crowdin updates (#3614) 2024-05-17 17:48:33 -05:00
Zac Warham
68ff5f4b1c Fixed comment describing method (#3611) 2024-05-17 00:30:01 +00:00
renovate[bot]
cde9d166a4 chore(deps): update dependency mkdocs-material to v9.5.23 (#3605)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-05-16 22:29:23 +00:00
Hayden
041145423f New Crowdin updates (#3604) 2024-05-16 17:11:54 -05:00
renovate[bot]
c227519fb7 chore(deps): update dependency pylint to v3.2.0 (#3598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 09:04:29 -05:00
Hayden
94223d2903 New Crowdin updates (#3596) 2024-05-13 12:24:07 -05:00
renovate[bot]
e015c65d92 chore(deps): update dependency pylint to v3.1.1 (#3595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 15:30:03 +00:00
renovate[bot]
53916badf3 chore(deps): update dependency mkdocs-material to v9.5.22 (#3589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-12 20:00:30 -05:00
Michael Genson
c82549ccb4 feat: Default To Fractions When Unit Is Empty (#3587)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-05-12 14:15:26 -05:00
Hayden
554b3fa749 New Crowdin updates (#3590) 2024-05-12 17:59:58 +01:00
Carter
3f263281e7 Add time-based caching for JWKS fetching (#3586) 2024-05-11 21:21:55 -05:00
renovate[bot]
dc47145af6 chore(deps): update dependency pre-commit to v3.7.1 (#3583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-11 17:24:29 +00:00
Hayden
0ccee3584c New Crowdin updates (#3585) 2024-05-11 12:15:17 -05:00
Hayden
dc8aadc327 New Crowdin updates (#3580) 2024-05-10 15:28:14 +00:00
renovate[bot]
efbb571bc2 chore(deps): update dependency ruff to v0.4.4 (#3577)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 18:39:31 -05:00
Hayden
1df75328d7 New Crowdin updates (#3576) 2024-05-09 14:45:26 +02:00
Hayden
85e402ccc3 New Crowdin updates (#3575) 2024-05-08 14:18:40 +02:00
github-actions[bot]
53a1f04562 docs(auto): Update image tag, for release v1.6.0 (#3571)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-05-07 18:04:46 +02:00
Michael Genson
418a8ec72b fix: Recipe Search Quirks and Session Storage (#3541)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-05-06 15:01:56 +00:00
renovate[bot]
770630bf73 fix(deps): update dependency sqlalchemy to v2.0.30 (#3568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 19:40:32 +10:00
renovate[bot]
89ee7475a6 fix(deps): update dependency jinja2 to v3.1.4 (#3570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 01:46:21 +00:00
Hayden
bca5dd8282 New Crowdin updates (#3569) 2024-05-05 20:35:46 -05:00
Michael Genson
dabd93c919 chore(deps): update dependency ruff to v0.4.3 (#3564) 2024-05-05 11:26:14 +00:00
Michael Genson
6991dff3e6 fix: Make Nextcloud Migrations Fault Tolerant (#3544) 2024-05-05 11:17:29 +00:00
Hayden
b0eece789d New Crowdin updates (#3565) 2024-05-04 21:44:22 -05:00
Arsène Reymond
9fad4a9dce fix: Shopping list labels reordering dialog (#3540)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-05-04 20:27:04 +00:00
renovate[bot]
22d8c4d5dc fix(deps): update dependency bcrypt to v4.1.3 (#3560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-04 16:19:05 +00:00
renovate[bot]
7be24d3479 chore(deps): update dependency coverage to v7.5.1 (#3563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-04 11:09:12 -05:00
renovate[bot]
fbceb61b9a chore(deps): update dependency mkdocs-material to v9.5.21 (#3555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 19:51:57 +00:00
renovate[bot]
1be5bfaef1 fix(deps): update dependency orjson to v3.10.3 (#3553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 11:05:52 -05:00
Carter
fac1df31d3 Make OIDC groups claim configurable and optional (#3552) 2024-05-02 22:55:47 -05:00
renovate[bot]
6957e2fa74 fix(deps): update dependency rapidfuzz to v3.9.0 (#3550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 01:25:43 +00:00
renovate[bot]
4f02fae284 fix(deps): update dependency fastapi to ^0.111.0 (#3549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 20:15:56 -05:00
Hayden
f2615c97e9 New Crowdin updates (#3548) 2024-05-02 20:06:21 -05:00
Hayden
6b4c9a400d New Crowdin updates (#3542) 2024-05-02 08:33:54 +02:00
Michael Genson
cca11b5a12 chore(deps): update dependency ruff to v0.4.2 (#3533)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-05-01 16:07:10 +00:00
Michael Genson
f697a7ee34 docs: formatting (#3539) 2024-05-01 07:58:55 -08:00
Kuchenpirat
0d73338e12 cleanup: parser localization (#3538) 2024-05-01 09:06:43 -05:00
renovate[bot]
2f4c6bd500 fix(deps): update dependency orjson to v3.10.2 (#3535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 19:32:30 +10:00
Michael Genson
3807778e2f feat: Recipe Actions (#3448)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-05-01 09:20:52 +02:00
Hayden
ee87a14401 New Crowdin updates (#3534) 2024-05-01 00:58:59 +00:00
Michael Genson
ec458a0a08 fix: Security Issues (#3530)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-04-30 20:53:55 +00:00
renovate[bot]
2ff37c86d6 chore(deps): update dependency pytest to v8.2.0 (#3522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 14:58:32 +00:00
renovate[bot]
b7da3c0f73 fix(deps): update dependency tzdata to v2024 (#3527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-04-30 14:54:31 +00:00
renovate[bot]
d799136f0d fix(deps): update dependency fastapi to v0.110.3 (#3532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 14:46:52 +00:00
renovate[bot]
d1d5754c6d chore(deps): update dependency mkdocs-material to v9.5.20 (#3517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 14:34:55 +00:00
renovate[bot]
52662fdce2 chore(deps): update dependency mypy to v1.10.0 (#3516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 09:25:46 -05:00
Hayden
8df6033c19 New Crowdin updates (#3531) 2024-04-30 08:45:00 +02:00
Hayden
c23660007e chore: bump user agent (#3457) 2024-04-29 12:18:00 -05:00
Michael Genson
786aa2279c chore: Replace python-jose with PyJWT (#3521)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-04-29 09:49:13 +00:00
Hayden
ab8c3be367 New Crowdin updates (#3523) 2024-04-27 00:19:50 -05:00
Hayden
8bf8dfd3ed New Crowdin updates (#3520) 2024-04-26 09:51:33 +02:00
renovate[bot]
b3aa7aeb1a fix(deps): update dependency recipe-scrapers to v14.56.0 (#3518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 20:15:33 +02:00
Hayden
0f2b1d8d3a New Crowdin updates (#3515) 2024-04-24 16:18:23 +10:00
renovate[bot]
4de6391684 chore(deps): update dependency coverage to v7.5.0 (#3514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 18:21:41 +00:00
renovate[bot]
c3e68b7d8a fix(deps): update dependency pydantic to v2.7.1 (#3513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 13:11:19 -05:00
Hayden
7557d2e818 New Crowdin updates (#3510) 2024-04-23 09:04:28 +02:00
renovate[bot]
c22a2fc4a8 fix(deps): update dependency fastapi to v0.110.2 (#3497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 12:05:43 +00:00
Hayden
ad94a4f42f New Crowdin updates (#3507) 2024-04-22 08:22:55 +02:00
Hayden
e6bf3b3acd New Crowdin updates (#3501) 2024-04-19 19:31:21 +02:00
Michael Genson
711dd93851 fix: Ratings UI and Filter Issues (#3459)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-04-19 17:52:41 +02:00
Carter
2b6d7811ca OIDC - Specifically check for 401 status before resetting (#3500) 2024-04-19 14:51:04 +00:00
renovate[bot]
3373abf787 chore(deps): update dependency ruff to v0.4.1 (#3498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-19 09:20:26 -05:00
Michael Genson
741d37f59e feat: Group Shopping List Items By Food (#3471)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-04-19 11:00:40 +00:00
Michael Genson
b38c19ce71 fix: Missing Translations (#3494) 2024-04-19 10:42:50 +00:00
Carter
1a385e941c Add new OIDC TLS CA Certfile option (#3496) 2024-04-19 20:36:03 +10:00
Carter
c6f5b62ad0 Fix OIDC infinite loop if user is not in OIDC_USER_GROUP (#3487) 2024-04-19 00:17:45 +00:00
renovate[bot]
84dad84326 chore(deps): update dependency ruff to ^0.4.0 (#3495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 18:42:07 -05:00
Hayden
f369c8fd6e New Crowdin updates (#3493) 2024-04-18 12:19:22 -05:00
github-actions[bot]
467cf46c6d docs(auto): Update image tag, for release v1.5.1 (#3482)
Co-authored-by: hay-kot <64056131+hay-kot@users.noreply.github.com>
2024-04-18 06:28:13 +00:00
Kuchenpirat
360b8e21d9 fix: MultiPurposeLabel text color (#3485) 2024-04-17 12:24:54 -05:00
Hayden
0b851e79ec New Crowdin updates (#3484) 2024-04-17 16:44:40 +00:00
renovate[bot]
faf716cb7e fix(deps): update dependency gunicorn to v22 (#3479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 23:07:01 -05:00
Michael Genson
46f1ad7941 fix: Bad Recipe Rating Calc Preventing App Startup (#3475) 2024-04-16 20:47:15 +00:00
p0lycarpio
6e1112c73e fix: make groups private by default (#3474) 2024-04-16 15:12:00 -05:00
Hayden
6bd5a82b92 rewrite logger to support custom config files (#3104) 2024-04-16 15:52:49 +00:00
renovate[bot]
cba076b6a4 chore(deps): update dependency ruff to v0.3.7 (#3458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 10:41:00 -05:00
Michael Genson
2ff1135b00 fix: duplicate ld+json data (#3444)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-04-16 10:54:14 +00:00
renovate[bot]
467b9c6d65 fix(deps): update dependency apprise to v1.7.6 (#3464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-04-16 10:46:17 +00:00
renovate[bot]
176e471276 fix(deps): update dependency orjson to v3.10.1 (#3467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 20:35:27 +10:00
renovate[bot]
193888fb30 chore(deps): update dependency mkdocs-material to v9.5.18 (#3468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 00:13:49 -05:00
Hayden
13edefbf41 New Crowdin updates (#3465) 2024-04-14 19:21:05 +02:00
Hayden
fd33468fda New Crowdin updates (#3462) 2024-04-13 17:24:37 +02:00
Michael Genson
2a541f081a feat: User-specific Recipe Ratings (#3345) 2024-04-11 21:28:43 -05:00
renovate[bot]
8ab09cf03b fix(deps): update dependency tzdata to v2024 (#3456)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 01:49:18 +00:00
Hayden
9e6ae2e514 chore: remove black (#3437) 2024-04-11 20:36:55 -05:00
renovate[bot]
94678fe6e0 chore(deps): update dependency ruff to v0.3.6 (#3451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 15:39:17 -05:00
renovate[bot]
ed533c8fad fix(deps): update dependency pydantic to v2.7.0 (#3452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 15:24:24 -05:00
Hayden
93f7d15917 New Crowdin updates (#3447) 2024-04-10 14:39:49 +02:00
Hayden
53aa4dab51 New Crowdin updates (#3443) 2024-04-09 15:07:18 +02:00
tba-code
92659c64eb fix: properly escape postgres password (#3424)
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-04-08 14:47:57 +00:00
Hayden
6f871c6bdb New Crowdin updates (#3441) 2024-04-08 10:57:49 +00:00
renovate[bot]
f4f511aad6 Update dependency rapidfuzz to v3.8.1 (#3439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 20:08:52 +10:00
Hayden
03d384f3a5 New Crowdin updates (#3435) 2024-04-07 09:45:46 -08:00
renovate[bot]
0c2917a112 Update dependency rapidfuzz to v3.8.0 (#3431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-06 12:02:11 -05:00
boc-the-git
606a8f03a3 Merge pull request #3429 from mealie-recipes/l10n_mealie-next
New Crowdin updates
2024-04-06 21:40:31 +11:00
Hayden
2d31c0abf2 New translations en-us.json (French, Canada) 2024-04-06 05:29:58 -05:00
Hayden
15c752d428 New translations en-us.json (Latvian) 2024-04-06 05:29:58 -05:00
Hayden
b254cf3833 New translations en-us.json (Croatian) 2024-04-06 05:29:57 -05:00
Hayden
0bd023d8a8 New translations en-us.json (Portuguese, Brazilian) 2024-04-06 05:29:56 -05:00
Hayden
aad50f2267 New translations en-us.json (Icelandic) 2024-04-06 05:29:55 -05:00
Hayden
fcbc57b392 New translations en-us.json (Galician) 2024-04-06 05:29:54 -05:00
Hayden
a62299e6ef New translations en-us.json (Vietnamese) 2024-04-06 05:29:53 -05:00
Hayden
82563fa948 New translations en-us.json (Chinese Traditional) 2024-04-06 05:29:52 -05:00
Hayden
7583c56b35 New translations en-us.json (Chinese Simplified) 2024-04-06 05:29:51 -05:00
Hayden
b9cc2dc257 New translations en-us.json (Ukrainian) 2024-04-06 05:29:50 -05:00
Hayden
0dcf81e764 New translations en-us.json (Turkish) 2024-04-06 05:29:49 -05:00
Hayden
3d3763d4b9 New translations en-us.json (Serbian (Cyrillic)) 2024-04-06 05:29:49 -05:00
Hayden
517727a4b6 New translations en-us.json (Slovenian) 2024-04-06 05:29:48 -05:00
Hayden
1c26dff1e9 New translations en-us.json (Slovak) 2024-04-06 05:29:47 -05:00
Hayden
ed1834d945 New translations en-us.json (Russian) 2024-04-06 05:29:46 -05:00
Hayden
bf8bc88ffb New translations en-us.json (Portuguese) 2024-04-06 05:29:45 -05:00
Hayden
6c48eba5f7 New translations en-us.json (Norwegian) 2024-04-06 05:29:44 -05:00
Hayden
dc7df0d4aa New translations en-us.json (Dutch) 2024-04-06 05:29:43 -05:00
Hayden
45d5194f19 New translations en-us.json (Lithuanian) 2024-04-06 05:29:42 -05:00
Hayden
8ad1a15bf1 New translations en-us.json (Korean) 2024-04-06 05:29:41 -05:00
Hayden
57aeb401b8 New translations en-us.json (Japanese) 2024-04-06 05:29:41 -05:00
Hayden
e15a2f35e2 New translations en-us.json (Italian) 2024-04-06 05:29:40 -05:00
Hayden
b28e135ceb New translations en-us.json (Hungarian) 2024-04-06 05:29:39 -05:00
Hayden
148aca5e85 New translations en-us.json (Hebrew) 2024-04-06 05:29:38 -05:00
Hayden
1ac7f90c28 New translations en-us.json (Finnish) 2024-04-06 05:29:37 -05:00
Hayden
413a8a82fc New translations en-us.json (Greek) 2024-04-06 05:29:36 -05:00
Hayden
72c414bf94 New translations en-us.json (German) 2024-04-06 05:29:35 -05:00
Hayden
b67263e63f New translations en-us.json (Danish) 2024-04-06 05:29:34 -05:00
Hayden
1673eedff7 New translations en-us.json (Czech) 2024-04-06 05:29:33 -05:00
Hayden
d3ee5f34f8 New translations en-us.json (Catalan) 2024-04-06 05:29:32 -05:00
Hayden
683f1ac69e New translations en-us.json (Bulgarian) 2024-04-06 05:29:31 -05:00
Hayden
d6d0f7de71 New translations en-us.json (Arabic) 2024-04-06 05:29:30 -05:00
Hayden
dd0eaac45f New translations en-us.json (Afrikaans) 2024-04-06 05:29:29 -05:00
Hayden
f8e672c7ac New translations en-us.json (French) 2024-04-06 05:29:28 -05:00
Hayden
2aa9d84d6c New translations en-us.json (Romanian) 2024-04-06 05:29:27 -05:00
Hayden
2c13c4760e New translations en-us.json (Polish) 2024-04-06 05:29:26 -05:00
Hayden
62bf733548 New translations en-us.json (English, United Kingdom) 2024-04-06 05:29:25 -05:00
Hayden
2c72ea17a2 New translations en-us.json (Swedish) 2024-04-06 05:29:24 -05:00
Hayden
06406c86f5 New translations en-us.json (Spanish) 2024-04-06 05:29:23 -05:00
boc-the-git
b7f7712011 fix: Update description for manage data page (#3427)
* Update description for manage data page

* Add some punctuation consistency.

* Capitalise item types

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>

---------

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-04-05 22:04:32 +02:00
Hayden
4b13686261 New Crowdin updates (#3425)
* New translations en-us.json (Hungarian)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Slovenian)

* New translations en-us.json (Turkish)

* New translations en-us.json (Ukrainian)
2024-04-05 10:05:13 +00:00
tba-code
9fade36014 feat: Support HEIF, HEIC and AVIF recipe image uploads (#3409)
* feat: Support HEIF, HEIC and AVIF recipe image uploads

* fix: lint import block

* fix: avif now included

* fix: lint import block
2024-04-04 18:31:10 -05:00
Carter
eb1d569e95 Infinite redirect fix again (#3419)
* override the check method to not care about the id token if we have a valid mealie token

* prevent auto log in with auth check is already good

* fix check

* simplify check logic
2024-04-04 21:23:33 +00:00
tba-code
1099e30a1d feat: Add OIDC_USER_CLAIM (#3422)
* feat: Add OIDC_USER_CLAIM

* fix: add validation
2024-04-04 21:16:54 +00:00
tba-code
fa9a2d64f7 fix: unstyled docs 404 page (#3421) 2024-04-04 18:56:27 +02:00
boc-the-git
de142c47df Merge pull request #3420 from mealie-recipes/l10n_mealie-next
New Crowdin updates
2024-04-04 22:00:23 +11:00
Hayden
c990420a87 New translations en-us.json (Slovenian) 2024-04-04 04:58:11 -05:00
Hayden
d772e3bb4f New translations en-us.json (French, Canada) 2024-04-04 04:58:10 -05:00
Hayden
bb8080475c New translations en-us.json (Latvian) 2024-04-04 04:58:09 -05:00
Hayden
c1e05f57db New translations en-us.json (Croatian) 2024-04-04 04:58:08 -05:00
Hayden
9ad68542e0 New translations en-us.json (Portuguese, Brazilian) 2024-04-04 04:58:07 -05:00
Hayden
83997dbb47 New translations en-us.json (Icelandic) 2024-04-04 04:58:06 -05:00
Hayden
b5f3c5bef7 New translations en-us.json (Galician) 2024-04-04 04:58:04 -05:00
Hayden
ddd97cce10 New translations en-us.json (Vietnamese) 2024-04-04 04:58:03 -05:00
Hayden
0ecd57a50b New translations en-us.json (Chinese Traditional) 2024-04-04 04:58:02 -05:00
Hayden
e4efcee0df New translations en-us.json (Chinese Simplified) 2024-04-04 04:58:00 -05:00
Hayden
a6920f057e New translations en-us.json (Ukrainian) 2024-04-04 04:58:00 -05:00
Hayden
dbb212ceda New translations en-us.json (Turkish) 2024-04-04 04:57:59 -05:00
Hayden
5d5805459a New translations en-us.json (Serbian (Cyrillic)) 2024-04-04 04:57:58 -05:00
Hayden
3e68920e69 New translations en-us.json (Slovenian) 2024-04-04 04:57:57 -05:00
Hayden
91c978a309 New translations en-us.json (Slovak) 2024-04-04 04:57:56 -05:00
Hayden
e7c101c96b New translations en-us.json (Russian) 2024-04-04 04:57:55 -05:00
Hayden
004f3552c0 New translations en-us.json (Portuguese) 2024-04-04 04:57:54 -05:00
Hayden
cd56149371 New translations en-us.json (Norwegian) 2024-04-04 04:57:53 -05:00
Hayden
8edea0a7e0 New translations en-us.json (Dutch) 2024-04-04 04:57:52 -05:00
Hayden
df15e97026 New translations en-us.json (Lithuanian) 2024-04-04 04:57:51 -05:00
Hayden
760462e12f New translations en-us.json (Korean) 2024-04-04 04:57:50 -05:00
Hayden
60793bb560 New translations en-us.json (Japanese) 2024-04-04 04:57:49 -05:00
Hayden
7c84d3dea5 New translations en-us.json (Italian) 2024-04-04 04:57:47 -05:00
Hayden
eee1c5733d New translations en-us.json (Hungarian) 2024-04-04 04:57:46 -05:00
Hayden
cf0a7ae9c9 New translations en-us.json (Hebrew) 2024-04-04 04:57:45 -05:00
Hayden
be80d3e74c New translations en-us.json (Finnish) 2024-04-04 04:57:44 -05:00
Hayden
db1fabf5c8 New translations en-us.json (Greek) 2024-04-04 04:57:43 -05:00
Hayden
e7e73772e0 New translations en-us.json (German) 2024-04-04 04:57:42 -05:00
Hayden
e5cab0e4d0 New translations en-us.json (Danish) 2024-04-04 04:57:41 -05:00
Hayden
6a14d5b7db New translations en-us.json (Czech) 2024-04-04 04:57:40 -05:00
Hayden
57106c4cce New translations en-us.json (Catalan) 2024-04-04 04:57:38 -05:00
Hayden
61c6a991f3 New translations en-us.json (Bulgarian) 2024-04-04 04:57:37 -05:00
Hayden
6824b3c269 New translations en-us.json (Arabic) 2024-04-04 04:57:36 -05:00
Hayden
6b13166880 New translations en-us.json (Afrikaans) 2024-04-04 04:57:35 -05:00
Hayden
b2747d77e1 New translations en-us.json (French) 2024-04-04 04:57:34 -05:00
Hayden
fc4d1b88d0 New translations en-us.json (Romanian) 2024-04-04 04:57:32 -05:00
Hayden
8798bd6e55 New translations en-us.json (Polish) 2024-04-04 04:57:31 -05:00
Hayden
cef61ae29f New translations en-us.json (English, United Kingdom) 2024-04-04 04:57:30 -05:00
Hayden
e304d48e84 New translations en-us.json (Swedish) 2024-04-04 04:57:29 -05:00
Hayden
4f1a7c55b9 New translations en-us.json (Spanish) 2024-04-04 04:57:28 -05:00
boc-the-git
bae7acbc3b Merge pull request #3395 from tba-code/postgres-url-feature
feat: PostgresProvider - Add POSTGRES_URL_OVERRIDE
2024-04-04 13:18:45 +11:00
boc-the-git
c0cf6a9aca Merge branch 'mealie-next' into postgres-url-feature 2024-04-04 13:12:39 +11:00
Kuchenpirat
f4570faf1a cleanup: Add Organizers translation (#3415)
* Add Organizers translation

* 🧹
2024-04-03 15:07:20 -05:00
Tarek Al-Qarqaz
9548a7eb70 fix: removed period in POSTGRES_URL_OVERRIDE for consistency 2024-04-03 14:01:30 +00:00
Tarek Al-Qarqaz
d5e3a1dacb change: updated POSTGRES_URL_OVERRIDE description 2024-04-03 14:00:25 +00:00
tba-code
1ce760ec7e Merge branch 'mealie-recipes:mealie-next' into postgres-url-feature 2024-04-03 08:57:19 -05:00
github-actions[bot]
9e23ed1a07 docs(auto): Update image tag, for release v1.4.0 (#3411)
* Update image tag, for release v1.4.0

* Commit without changing anything.. to trigger workflows on PR 3411

---------

Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-04-03 06:02:19 -05:00
Tarek Al-Qarqaz
b3885cc3f8 change: docs now use TZ variable over read only bind mount /etc/timezone 2024-04-02 16:38:19 +00:00
tba-code
5da990abd4 Merge branch 'mealie-recipes:mealie-next' into postgres-url-feature 2024-04-02 10:18:48 -05:00
Carter
f709d11952 fix: (OAuth) redirect to direct login on failure (#3406) 2024-04-02 15:13:30 +00:00
Hayden
2a3463b746 security: gh security recs (#3368)
* change ALLOW_SIGNUP to default to false

* add 1.4.0 tag for OIDC docs

* new notes on security inline with security/policy review

* safer transport for external requests

* fix linter errors

* docs: Tidy up wording/formatting

* fix request errors

* whoops

* fix implementation with std lib

* format

* Remove check on netloc_parts. It only includes URL after any @

---------

Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
Co-authored-by: Brendan <b.oconnell14@gmail.com>
2024-04-02 07:04:42 -08:00
Tarek Al-Qarqaz
cb7302d2d9 fix: added validation to POSTGRES_URL_OVERRIDE 2024-04-02 12:24:51 +00:00
Tarek Al-Qarqaz
a30084a199 change: POSTGRES_URL_OVERRIDE note wording in docs 2024-04-02 11:23:06 +00:00
tba-code
c0654a5d95 Merge branch 'mealie-recipes:mealie-next' into postgres-url-feature 2024-04-02 06:21:35 -05:00
boc-the-git
737a370874 Merge pull request #3408 from mealie-recipes/renovate/fastapi-0.x-lockfile
fix(deps): update dependency fastapi to v0.110.1
2024-04-02 22:01:13 +11:00
boc-the-git
2a2b6f312b Merge branch 'mealie-next' into renovate/fastapi-0.x-lockfile 2024-04-02 21:54:02 +11:00
boc-the-git
96d220acbd Merge pull request #3407 from mealie-recipes/renovate/mkdocs-material-9.x-lockfile
chore(deps): update dependency mkdocs-material to v9.5.17
2024-04-02 21:52:45 +11:00
renovate[bot]
b9a9b8695d fix(deps): update dependency fastapi to v0.110.1 2024-04-02 08:13:19 +00:00
renovate[bot]
e80c8a50e6 chore(deps): update dependency mkdocs-material to v9.5.17 2024-04-02 08:13:05 +00:00
renovate[bot]
41795799e6 chore(deps): update dependency ruff to v0.3.5 (#3405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 20:52:36 +00:00
renovate[bot]
9980e49eef fix(deps): update dependency pillow to v10.3.0 (#3402)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 15:42:02 -05:00
tba-code
945810c47a Merge branch 'mealie-recipes:mealie-next' into postgres-url-feature 2024-04-01 06:32:17 -05:00
Kuchenpirat
a283828461 refactor: Sidebar UI (#3390)
* Refactor sidebar links in DefaultLayout.vue

* 🧹
2024-04-01 10:16:52 +02:00
Hayden
7c365b7c03 New translations en-us.json (German) (#3400) 2024-03-31 18:43:59 -08:00
renovate[bot]
16da55f58b chore(deps): update dependency mkdocs-material to v9.5.16 (#3397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-31 18:02:16 -08:00
Tarek Al-Qarqaz
35f6b0e80e fix: POSTGRES_URL is now POSTGRES_URL_OVERRIDE 2024-03-31 04:49:41 +00:00
Tarek Al-Qarqaz
ab37c2e8c0 change: reverted BASE_URL value, removed notes, removed mention of POSTGRES_URL_OVERRIDE 2024-03-31 04:48:21 +00:00
Tarek Al-Qarqaz
d1f82df936 change: reverted BASE_URL value, removed note, removed incorrect lines 2024-03-31 04:47:15 +00:00
Tarek Al-Qarqaz
6c7cb7e795 change: rename POSTGRES_URL to POSTGRES_URL_OVERRIDE / no longer changes value 2024-03-31 04:42:38 +00:00
tba-code
ecf80b8e9c Merge branch 'mealie-recipes:mealie-next' into postgres-url-feature 2024-03-30 18:50:20 -05:00
boc-the-git
e280734e33 Merge pull request #3394 from mealie-recipes/renovate/apprise-1.x-lockfile
fix(deps): update dependency apprise to v1.7.5
2024-03-31 09:33:06 +11:00
Tarek Al-Qarqaz
24d8854723 fix: typo in db_providers.py 2024-03-30 20:55:00 +00:00
Tarek Al-Qarqaz
2f9b711973 revert: revert typo in docker tag. 2024-03-30 20:18:13 +00:00
Tarek Al-Qarqaz
2b09495e87 fix: update sqlite doc for consistency 2024-03-30 19:39:15 +00:00
Tarek Al-Qarqaz
ae5a1a9af2 feat: PostgresProvider - Add POSTGRES_URL override. 2024-03-30 19:38:23 +00:00
renovate[bot]
a312c4dbf3 fix(deps): update dependency apprise to v1.7.5 2024-03-30 16:50:07 +00:00
renovate[bot]
79fb1fb299 fix(deps): update dependency tzdata to v2024 (#3386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 18:00:15 -05:00
boc-the-git
b7c1cdfd46 Merge pull request #3383 from mealie-recipes/renovate/orjson-3.x-lockfile
fix(deps): update dependency orjson to v3.10.0
2024-03-28 21:53:13 +11:00
renovate[bot]
09873d4814 fix(deps): update dependency orjson to v3.10.0 2024-03-28 01:13:59 +00:00
Hayden
7f596c653b New Crowdin updates (#3381)
* New translations en-us.json (Greek)

* New translations en-us.json (Japanese)

* New translations en-us.json (Korean)

* New translations en-us.json (Greek)

* New translations en-us.json (Greek)

* New translations en-us.json (Japanese)

* New translations en-us.json (Japanese)

* New translations en-us.json (Japanese)

* New translations en-us.json (Japanese)
2024-03-27 17:36:23 +01:00
boc-the-git
bb06b0414b Housekeeping (#3380) 2024-03-27 10:40:13 +01:00
Hayden
6b720bafd6 New Crowdin updates (#3379)
* New translations en-us.json (Japanese)

* New translations en-us.json (Korean)
2024-03-26 17:59:38 +01:00
Kuchenpirat
6449591143 feat: cookbook editor on cookbook page (#3378)
* remove unnecessairy string

* add edit functionality to cookbook page

* restrict to own group
2024-03-26 08:02:20 -05:00
Kuchenpirat
8fb43246b2 fix: add auto-select-first attribute to RecipeOrganizerSelector.vue (#3376) 2024-03-25 16:52:41 +00:00
Hayden
95d3fd4958 New Crowdin updates (#3377)
* New translations en-us.json (German)

* New translations en-us.json (Portuguese)
2024-03-25 16:38:04 +00:00
Michael Genson
dfbc890f2c fix: Recipe Search URL State (#3332)
* fix several state issues with explore page
- update state when there are no query params
- only call search if the query params actually changed
- wait until ready to call API

* store last search query in user prefs

* restore chip tag click to anonymous user
2024-03-25 16:04:42 +00:00
renovate[bot]
21886ab4b8 Update dependency rapidfuzz to v3.7.0 (#3370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 14:56:10 +00:00
Kuchenpirat
4b0df3ace8 Reset the search input after selection on the RecipeOrganizerSelector (#3373)
* Reset the search input after selection on the RecipeOrganizerSelector

* remove unused import
2024-03-25 14:47:10 +00:00
renovate[bot]
7505b5cf65 Update dependency pre-commit to v3.7.0 (#3369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 14:39:35 +00:00
renovate[bot]
45e71da402 Update dependency SQLAlchemy to v2.0.29 (#3362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 09:30:02 -05:00
Hayden
3ded63dfdf New translations en-us.json (Bulgarian) (#3366) 2024-03-24 17:35:12 +01:00
boc-the-git
735c3e3146 Merge pull request #3358 from mealie-recipes/renovate/mkdocs-material-9.x-lockfile
Update dependency mkdocs-material to v9.5.15
2024-03-24 21:27:35 +11:00
boc-the-git
83861cfcb8 Merge branch 'mealie-next' into renovate/mkdocs-material-9.x-lockfile 2024-03-24 21:21:16 +11:00
boc-the-git
c22ff8ccad Merge pull request #3361 from mealie-recipes/l10n_mealie-next
New Crowdin updates
2024-03-24 21:21:01 +11:00
Hayden
9a17a484f3 New translations en-us.json (Turkish) 2024-03-23 11:13:55 -05:00
renovate[bot]
bc6734399f Update dependency mkdocs-material to v9.5.15 2024-03-23 06:44:01 +00:00
boc-the-git
8e6f2a3d61 Merge pull request #3355 from mealie-recipes/l10n_mealie-next
New Crowdin updates
2024-03-23 07:12:01 +11:00
Hayden
20fa3a25f2 New translations en-us.json (French, Canada) 2024-03-22 11:15:57 -05:00
Hayden
1a9f5470ca New translations en-us.json (Latvian) 2024-03-22 11:15:56 -05:00
Hayden
2254d114be New translations en-us.json (Croatian) 2024-03-22 11:15:55 -05:00
Hayden
ef22d29ef1 New translations en-us.json (Portuguese, Brazilian) 2024-03-22 11:15:54 -05:00
Hayden
ef165cd276 New translations en-us.json (Icelandic) 2024-03-22 11:15:53 -05:00
Hayden
e6477920ce New translations en-us.json (Galician) 2024-03-22 11:15:52 -05:00
Hayden
c49584d027 New translations en-us.json (Vietnamese) 2024-03-22 11:15:50 -05:00
Hayden
e56eabf1e2 New translations en-us.json (Chinese Traditional) 2024-03-22 11:15:49 -05:00
Hayden
a35f2ae56a New translations en-us.json (Chinese Simplified) 2024-03-22 11:15:49 -05:00
Hayden
2a4a195dcb New translations en-us.json (Ukrainian) 2024-03-22 11:15:48 -05:00
Hayden
6318e8d1c6 New translations en-us.json (Turkish) 2024-03-22 11:15:46 -05:00
Hayden
b7a4899302 New translations en-us.json (Serbian (Cyrillic)) 2024-03-22 11:15:46 -05:00
Hayden
7fe6ef4da5 New translations en-us.json (Slovenian) 2024-03-22 11:15:45 -05:00
Hayden
0391763d18 New translations en-us.json (Slovak) 2024-03-22 11:15:44 -05:00
Hayden
3250384862 New translations en-us.json (Russian) 2024-03-22 11:15:43 -05:00
Hayden
1bf496751c New translations en-us.json (Portuguese) 2024-03-22 11:15:42 -05:00
Hayden
580700458c New translations en-us.json (Norwegian) 2024-03-22 11:15:41 -05:00
Hayden
6c6276cb79 New translations en-us.json (Dutch) 2024-03-22 11:15:40 -05:00
Hayden
787f9293fb New translations en-us.json (Lithuanian) 2024-03-22 11:15:38 -05:00
Hayden
aa0547ae69 New translations en-us.json (Korean) 2024-03-22 11:15:37 -05:00
Hayden
1c6b0f1122 New translations en-us.json (Japanese) 2024-03-22 11:15:36 -05:00
Hayden
014721b6f7 New translations en-us.json (Italian) 2024-03-22 11:15:35 -05:00
Hayden
692d8a5681 New translations en-us.json (Hungarian) 2024-03-22 11:15:34 -05:00
Hayden
120d4cfc5a New translations en-us.json (Hebrew) 2024-03-22 11:15:33 -05:00
Hayden
e3b3f70621 New translations en-us.json (Finnish) 2024-03-22 11:15:32 -05:00
Hayden
c5e55a2207 New translations en-us.json (Greek) 2024-03-22 11:15:31 -05:00
Hayden
f6d508af92 New translations en-us.json (German) 2024-03-22 11:15:30 -05:00
Hayden
516a732b12 New translations en-us.json (Danish) 2024-03-22 11:15:28 -05:00
Hayden
dfd4943304 New translations en-us.json (Czech) 2024-03-22 11:15:27 -05:00
Hayden
511e08e7e9 New translations en-us.json (Catalan) 2024-03-22 11:15:26 -05:00
Hayden
ed50dfc145 New translations en-us.json (Bulgarian) 2024-03-22 11:15:25 -05:00
Hayden
ee542255a5 New translations en-us.json (Arabic) 2024-03-22 11:15:24 -05:00
Hayden
32fa9d4439 New translations en-us.json (Afrikaans) 2024-03-22 11:15:23 -05:00
Hayden
f2be3383ac New translations en-us.json (French) 2024-03-22 11:15:22 -05:00
Hayden
fd6874e8dd New translations en-us.json (Romanian) 2024-03-22 11:15:21 -05:00
Hayden
09e514fa84 New translations en-us.json (Polish) 2024-03-22 11:15:20 -05:00
Hayden
f4678f99ed New translations en-us.json (English, United Kingdom) 2024-03-22 11:15:19 -05:00
Hayden
4e9670acf6 New translations en-us.json (Swedish) 2024-03-22 11:15:18 -05:00
Hayden
fb097ca095 New translations en-us.json (Spanish) 2024-03-22 11:15:16 -05:00
boc-the-git
8f40d13f20 Merge pull request #3352 from michael-genson/feat/migrate-from-my-recipe-box
feat: Migrate from My Recipe Box
2024-03-22 20:40:01 +11:00
boc-the-git
2aaef9ae54 Merge branch 'mealie-next' into feat/migrate-from-my-recipe-box 2024-03-22 20:33:37 +11:00
boc-the-git
a6d31638e2 Merge pull request #3354 from cmintey/signing-algorithm-env-var
Add OIDC environment variable for specififying the signing algorithm
2024-03-22 20:21:59 +11:00
Carter Mintey
f73aefce4e lint 2024-03-22 01:46:45 +00:00
Carter Mintey
ff5131018b add new environment variable for specififying the signing algorithm 2024-03-22 01:32:33 +00:00
renovate[bot]
1c6c5042ae chore(deps): update dependency ruff to v0.3.4 (#3353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 18:23:58 -05:00
Michael Genson
d770009e0d added reactive accepted file types 2024-03-21 16:21:37 +00:00
Michael Genson
4a0b211f27 added test 2024-03-21 16:17:01 +00:00
Michael Genson
7dcf2ca33d added migration to frontend and cleaned up migration page 2024-03-21 16:11:33 +00:00
Michael Genson
95c15504d0 fixed BaseOverflowButton divider 2024-03-21 16:11:18 +00:00
Michael Genson
4e38625bde added backend for myrecipebox migration 2024-03-21 16:11:06 +00:00
Hayden
4a411f0483 New Crowdin updates (#3351)
* New translations en-us.json (Danish)

* New translations en-us.json (Norwegian)

* New translations en-us.json (Norwegian)
2024-03-21 15:59:50 +00:00
boc-the-git
95b6d901bf Merge pull request #3323 from cmintey/authelia-docs-update
OIDC Docs Updates
2024-03-21 08:08:36 +11:00
boc-the-git
c9d74e25ac Merge branch 'mealie-next' into authelia-docs-update 2024-03-21 08:01:58 +11:00
Hayden
54aef24caf New translations en-us.json (Danish) (#3347)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-03-20 15:44:33 +00:00
renovate[bot]
6050b1e25a fix(deps): update dependency uvicorn to ^0.29.0 (#3346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 10:36:47 -05:00
boc-the-git
b54cef2702 Merge pull request #3328 from mealie-recipes/l10n_mealie-next
New Crowdin updates
2024-03-20 20:53:22 +11:00
boc-the-git
abb2c8110c Merge branch 'mealie-next' into l10n_mealie-next 2024-03-20 20:47:13 +11:00
boc-the-git
f1e8d633fc Merge pull request #3321 from michael-genson/fix/repeated-calls-to-groups-self
fix: Repeated calls to group self
2024-03-20 20:44:55 +11:00
boc-the-git
c4f60942b5 Merge branch 'mealie-next' into l10n_mealie-next 2024-03-20 20:41:03 +11:00
boc-the-git
abbaf12e9e Merge branch 'mealie-next' into fix/repeated-calls-to-groups-self 2024-03-20 20:38:31 +11:00
renovate[bot]
04e6601d5b fix(deps): update dependency uvicorn to v0.28.1 (#3342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 13:37:08 +00:00
renovate[bot]
1ebc7d27d4 chore(deps): update dependency pytest-asyncio to v0.23.6 (#3341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 08:27:04 -05:00
Carter
59d53a02b3 Dicsussion Template: OAuth example template (#3340)
* Create oauth_example.yaml

* Update and rename oauth_example.yaml to oauth-provider-example.yaml
2024-03-19 01:21:53 +00:00
Carter Mintey
370da5aee3 update links 2024-03-19 01:06:45 +00:00
Ikko Eltociear Ashimine
af2992eee9 docs: Update maintainers.md (#3339)
reviered -> reviewed
2024-03-18 17:42:02 +00:00
Carter Mintey
e17b8b813c Remove examples from docs and link to GH discussions 2024-03-18 15:04:01 +00:00
renovate[bot]
9b4e0dd0d9 chore(deps): update dependency mkdocs-material to v9.5.14 (#3333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 02:19:35 +00:00
Carter Mintey
d7bc1c75da add redirect uri required for idps with rp-initiated logout 2024-03-17 15:21:15 +00:00
Hayden
b963b99a4c New translations en-us.json (Japanese) 2024-03-17 05:46:58 -05:00
Carter Mintey
9270e22f19 clarify docs 2024-03-16 01:41:38 +00:00
Carter Mintey
7df34890d4 update authelia example config 2024-03-16 01:37:55 +00:00
renovate[bot]
36b0661e1d chore(deps): update dependency black to v24.3.0 (#3322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 20:28:22 +00:00
Michael Genson
6da50b576f remove unused import 2024-03-15 20:21:43 +00:00
Michael Genson
517491e507 Merge branch 'mealie-next' into fix/repeated-calls-to-groups-self 2024-03-15 15:17:31 -05:00
renovate[bot]
82aca1f77f chore(deps): update dependency ruff to v0.3.3 (#3261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 20:16:53 +00:00
Michael Genson
8c4f657aa7 Merge branch 'mealie-next' into fix/repeated-calls-to-groups-self 2024-03-15 15:02:46 -05:00
renovate[bot]
4352762e93 chore(deps): update dependency coverage to v7.4.4 (#3316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 15:00:37 -05:00
Michael Genson
ad0ea09be9 better model inheritance 2024-03-15 19:57:57 +00:00
Michael Genson
52c6fe34b2 remove potentially sensitive fields from group self 2024-03-15 19:50:39 +00:00
Michael Genson
b6ccb9fbdb add shared group self to composable 2024-03-15 19:41:26 +00:00
Hayden
f83ab6ecc1 New Crowdin updates (#3319)
* New translations en-us.json (Japanese)

* New translations en-us.json (Slovak)

* New translations en-us.json (Slovak)
2024-03-15 16:15:41 +01:00
Hayden
1af0f426ae fix: remove deprecated lifecycle and consolidate startup actions (#3311)
* remove deprecated lifecycle and consolidate startup actions

* fix import
2024-03-14 19:27:26 +00:00
Michael Genson
d960947258 fix: Purge Group Exports type mismatch (#3314)
* cast string to datetime

* added test
2024-03-14 11:20:59 -08:00
Hayden
f2735ba22b proxy get_all to page_all (#3312) 2024-03-14 15:30:38 +00:00
Hayden
aa4c02ef30 New Crowdin updates (#3313)
* New translations en-us.json (Romanian)

* New translations en-us.json (Dutch)
2024-03-14 15:31:55 +01:00
Michael Genson
f1fbf0d120 fix: delete shopping list if no users are found (#3290) 2024-03-14 00:29:47 +00:00
Michael Genson
63a362a48a fix: Limit shopping list owners to current group (#3305)
* add route for getting group-only users

* add new api route to frontend

* update shopping list user getAll call

* tests

* fixed bad import

* replace UserOut with UserSummary

* fix params
2024-03-13 18:29:00 +00:00
Hayden
e0d7341139 New Crowdin updates (#3307)
* New translations en-us.json (Spanish)

* New translations en-us.json (Swedish)

* New translations en-us.json (English, United Kingdom)

* New translations en-us.json (Polish)

* New translations en-us.json (Romanian)

* New translations en-us.json (French)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Arabic)

* New translations en-us.json (Bulgarian)

* New translations en-us.json (Catalan)

* New translations en-us.json (Czech)

* New translations en-us.json (Danish)

* New translations en-us.json (German)

* New translations en-us.json (Greek)

* New translations en-us.json (Finnish)

* New translations en-us.json (Hebrew)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Italian)

* New translations en-us.json (Japanese)

* New translations en-us.json (Korean)

* New translations en-us.json (Lithuanian)

* New translations en-us.json (Dutch)

* New translations en-us.json (Norwegian)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Russian)

* New translations en-us.json (Slovak)

* New translations en-us.json (Slovenian)

* New translations en-us.json (Serbian (Cyrillic))

* New translations en-us.json (Turkish)

* New translations en-us.json (Ukrainian)

* New translations en-us.json (Chinese Simplified)

* New translations en-us.json (Chinese Traditional)

* New translations en-us.json (Vietnamese)

* New translations en-us.json (Galician)

* New translations en-us.json (Icelandic)

* New translations en-us.json (Portuguese, Brazilian)

* New translations en-us.json (Croatian)

* New translations en-us.json (Latvian)

* New translations en-us.json (French, Canada)
2024-03-13 15:34:58 +01:00
Michael Genson
5f5b06683a fix: add locale and first day of week to all date pickers (#3303) 2024-03-12 22:46:34 +00:00
Michael Genson
42523bbfc9 fix: Only call store APIs once (#3306)
* move loading value to inside async function

* share loading state and use it for throttling
2024-03-12 14:36:30 -08:00
Michael Genson
0a344731c8 feat: Timeline Filters (#3284)
* added timeline event filters

* updated empty timeline text

* simplify icons/labels for event types

* added missing translations

* cloned sort improvements to explore page

* added filter indicator

* lint

* removed lint warning

* add top margin to "no events found" text

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>

* fixed reversed sort icons

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>

* fixed sort dir on timeline filter

* sync checkbox state with preferences state

---------

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-03-12 15:20:48 +00:00
renovate[bot]
e83fa89ec4 fix(deps): update dependency pydantic to v2.6.4 (#3300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 14:26:11 +00:00
Hayden
13cd7a1c0f New Crowdin updates (#3299)
* New translations en-us.json (French)

* New translations en-us.json (German)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Dutch)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Turkish)

* New translations en-us.json (Ukrainian)

* New translations en-us.json (French, Canada)
2024-03-12 14:16:34 +00:00
Hayden
0e23a41bdb New Crowdin updates (#3286)
* New translations en-us.json (Spanish)

* New translations en-us.json (Swedish)

* New translations en-us.json (English, United Kingdom)

* New translations en-us.json (Polish)

* New translations en-us.json (Romanian)

* New translations en-us.json (French)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Arabic)

* New translations en-us.json (Bulgarian)

* New translations en-us.json (Catalan)

* New translations en-us.json (Czech)

* New translations en-us.json (Danish)

* New translations en-us.json (German)

* New translations en-us.json (Greek)

* New translations en-us.json (Finnish)

* New translations en-us.json (Hebrew)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Italian)

* New translations en-us.json (Japanese)

* New translations en-us.json (Korean)

* New translations en-us.json (Lithuanian)

* New translations en-us.json (Dutch)

* New translations en-us.json (Norwegian)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Russian)

* New translations en-us.json (Slovak)

* New translations en-us.json (Slovenian)

* New translations en-us.json (Serbian (Cyrillic))

* New translations en-us.json (Turkish)

* New translations en-us.json (Ukrainian)

* New translations en-us.json (Chinese Simplified)

* New translations en-us.json (Chinese Traditional)

* New translations en-us.json (Vietnamese)

* New translations en-us.json (Galician)

* New translations en-us.json (Icelandic)

* New translations en-us.json (Portuguese, Brazilian)

* New translations en-us.json (Croatian)

* New translations en-us.json (Latvian)

* New translations en-us.json (French, Canada)
2024-03-11 14:13:19 +00:00
renovate[bot]
e17b320dc8 fix(deps): update dependency tzdata to v2024 (#3281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 13:37:22 +00:00
Michael Genson
403038a5b2 feat: First Time Setup Wizard (#3204)
* extract user registration form into a composable

* added base wizard component

* added partial setup implementation

* removed unused attrs

* added setup bypass

* made setup page more readable

* add checkbox hints to autoform

* added common settings pages and initial submit logic

* bypass setup in demo

* add full name to user registration

* added fullname and pw handling to setup

* fixed wizard indentation

* added post-setup suggestions

* added tests for backend changes

* renamed Wizard to BaseWizard

* lint fixes

* pass hardcoded default password instead of backend nonsense

* removed old test

* fix e2e

* added setup skip to e2e testing for all admin users

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-03-11 13:28:54 +00:00
boc-the-git
430e1d7d4e Merge pull request #3283 from michael-genson/fix/recipe-favorite-slug-handling
fix: Allow UserOut to accept list of slugs for recipe favorites
2024-03-11 21:31:43 +11:00
boc-the-git
c44cd7ffab Merge branch 'mealie-next' into fix/recipe-favorite-slug-handling 2024-03-11 21:25:16 +11:00
boc-the-git
73dfb523ec Fix typos (#3285) 2024-03-11 09:08:32 +00:00
Michael Genson
21d57735c9 added failsafe for bad input data 2024-03-11 00:25:44 +00:00
Michael Genson
05e13e6078 account for slugs or recipes when constructing user favorites 2024-03-11 00:13:57 +00:00
Hayden
5f6844eceb feat: Login with OAuth via OpenID Connect (OIDC) (#3280)
* initial oidc implementation

* add dynamic scheme

* e2e test setup

* add caching

* fix

* try this

* add libldap-2.5 to runtime dependencies (#2849)

* New translations en-us.json (Norwegian) (#2851)

* New Crowdin updates (#2855)

* New translations en-us.json (Italian)

* New translations en-us.json (Norwegian)

* New translations en-us.json (Portuguese)

* fix

* remove cache

* cache yarn deps

* cache docker image

* cleanup action

* lint

* fix tests

* remove not needed variables

* run code gen

* fix tests

* add docs

* move code into custom scheme

* remove unneeded type

* fix oidc admin

* add more tests

* add better spacing on login page

* create auth providers

* clean up testing stuff

* type fixes

* add OIDC auth method to postgres enum

* add option to bypass login screen and go directly to iDP

* remove check so we can fallback to another auth method oauth fails

* Add provider name to be shown at the login screen

* add new properties to admin about api

* fix spec

* add a prompt to change auth method when changing password

* Create new auth section. Add more info on auth methods

* update docs

* run ruff

* update docs

* format

* docs gen

* formatting

* initialize logger in class

* mypy type fixes

* docs gen

* add models to get proper fields in docs and fix serialization

* validate id token before using it

* only request a mealie token on initial callback

* remove unused method

* fix unit tests

* docs gen

* check for valid idToken before getting token

* add iss to mealie token

* check to see if we already have a mealie token before getting one

* fix lock file

* update authlib

* update lock file

* add remember me environment variable

* add user group setting to allow only certain groups to log in

---------

Co-authored-by: Carter Mintey <cmintey8@gmail.com>
Co-authored-by: Carter <35710697+cmintey@users.noreply.github.com>
2024-03-10 13:51:36 -05:00
github-actions[bot]
bea1a592d7 docs: Update image tag, for release v1.3.2 (#3279)
Co-authored-by: hay-kot <64056131+hay-kot@users.noreply.github.com>
2024-03-10 10:14:48 -08:00
1002 changed files with 75351 additions and 25619 deletions

View File

@@ -38,3 +38,6 @@ RUN apt-get update \
libwebp-dev \
libsasl2-dev libldap2-dev libssl-dev \
gnupg gnupg2 gnupg1
# create directory used for Docker Secrets
RUN mkdir -p /run/secrets

View File

@@ -25,12 +25,13 @@
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
"mypy.runUsingActiveInterpreter": true
},
"extensions": [
"charliermarsh.ruff",
"dbaeumer.vscode-eslint",
"matangover.mypy",
"ms-python.black-formatter",
"ms-python.isort",
"ms-python.pylint",
"ms-python.python",
"ms-python.vscode-pylance",
@@ -42,6 +43,7 @@
"forwardPorts": [
3000,
9000,
9091, // used by docker production
24678 // used by nuxt when hot-reloading using polling
],
// Use 'onCreateCommand' to run commands at the end of container creation.

View File

@@ -26,7 +26,7 @@ venv
*/node_modules
*/dist
*/data/db
*/mealie/test
*/mealie/test
*/mealie/.temp
model.crfmodel

2
.gitattributes vendored
View File

@@ -1,2 +1,2 @@
*.css linguist-detectable=false
*.html linguist-detectable=false
*.html linguist-detectable=false

View File

@@ -0,0 +1,9 @@
---
title: OAuth setup with <PROVIDER>
body:
- type: textarea
attributes:
label: Configuration Example
description: Add your example configuration. You can provide code blocks, screenshots, and links.
validations:
required: true

View File

@@ -1,27 +1,27 @@
---
name: v1.0.0b Task
name: Task
description: "CONTRIBUTORS ONLY: Submit a Task that needs to be completed"
title: "[v1.0.0b] [Task] - TASK DESCRIPTION"
title: "[Task] - TASK DESCRIPTION"
labels:
- task
- v1
- v2
body:
- type: markdown
attributes:
value: |
Thanks for your interest in Mealie! 🚀
This is a place for Mealie contributors to find tasks that need to get done around the repository. Tasks are different than issues as they are generally related to providing a new feature or improve an existing feature. They are _generally_ not related to an issue.
This is a place for Mealie contributors to find tasks that need to get done around the repository. Tasks are different than issues as they are generally related to providing a new feature or improving an existing feature. They are _generally_ not related to an issue.
**DO NOT** create a task unless
- You are a contributors who has prior approval via discord/discussions
- You are a contributor who has prior approval via discord/discussions
- You have otherwise been given approval to post the tasks
Otherwise, your post will be closed/deleted.
**Interested in Taking This?**
If you're interested in completing this tasks and it hasn't already been taken, comment below and to let others know you're working on it. As you work through the task, I ask that you submit a draft pull request as soon as possible, and tag this issue so we can all collaborate as best as possible.
If you're interested in completing this task and it hasn't already been taken, comment below and to let others know you're working on it. As you work through the task, I ask that you submit a draft pull request as soon as possible, and tag this issue so we can all collaborate as best as possible.
- type: textarea
id: problem
attributes:
@@ -33,6 +33,6 @@ body:
id: solution
attributes:
label: Proposed/Possible Solution(s)?
placeholder: Provide as much context around the idea as possible with potential files and roadblocks that may come up
placeholder: Provide as much context around the idea as possible with potential files and roadblocks that may come up.
validations:
required: true

View File

@@ -1,6 +1,13 @@
<!--
This template provides some ideas of things to include in your PR description.
To start, try providing a short summary of your changes in the Title above.
To start, try providing a short summary of your changes in the Title above. We follow Conventional Commits syntax, please ensure your title is prefixed with one of:
- `feat: `
- `fix: `
- `docs: `
- `chore: `
- `dev:`
If a section of the PR template does not apply to this PR, then delete that section.
PLEASE READ:
@@ -21,10 +28,11 @@ _(REQUIRED)_
Delete any of the following that do not apply:
-->
- bug
- cleanup
- documentation
- feature
- bug
- documentation
- cleanup
- dev (Internal development)
## What this PR does / why we need it:
@@ -36,6 +44,8 @@ _(REQUIRED)_
Briefly explain any decisions you made with respect to the changes.
Include anything here that you didn't include in *Release Notes*
above, such as changes to CI or changes to internal methods.
If there is a UI component to the change, please include before/after images.
-->
## Which issue(s) this PR fixes:
@@ -44,7 +54,7 @@ _(REQUIRED)_
<!--
If this PR fixes one of more issues, list them here.
One line each, like so:
One per line, like so:
Fixes #123
Fixes #39
-->

88
.github/release-drafter.yml vendored Normal file
View File

@@ -0,0 +1,88 @@
---
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
sort-direction: ascending
categories:
- title: "🚨 Breaking changes"
labels:
- "breaking-change"
- "major"
- title: "✨ New features"
labels:
- "feature"
- "minor"
- title: "🐛 Bug fixes"
labels:
- "bugfix"
- title: "🧰 Maintenance"
collapse-after: 3
labels:
- "ci"
- "chore"
- "l10n"
- title: "📚 Documentation"
labels:
- "documentation"
- title: "🔨 Internal development"
labels:
- "dev"
- title: "⬆️ Dependency updates"
collapse-after: 3
labels:
- "dependencies"
version-resolver:
major:
labels:
- "major"
- "breaking-change"
minor:
labels:
- "minor"
- "feature"
patch:
labels:
- "bugfix"
- "chore"
- "ci"
- "dependencies"
- "documentation"
- "l10n"
- "dev"
default: patch
template: |
# 🍴🍴🍴🍴🍴🍴
## 🎉 Highlights
- Highlight 1
- Highlight 2
$CHANGES
## 🙏 New Contributors
!!! Need to source this from GitHub's auto generated release notes !!!
# 🍴🍴🍴🍴🍴🍴
autolabeler:
- label: 'feature'
title:
- '/feat/i'
- label: 'bugfix'
title:
- '/fix:/i'
- label: 'documentation'
title:
- '/docs:/i'
- label: 'chore'
title:
- '/chore:/i'
- label: 'dev'
title:
- '/dev:/i'

View File

@@ -14,10 +14,9 @@ name: "CodeQL"
on:
push:
branches: [ "mealie-next" ]
pull_request:
branches: [ "mealie-next" ]
schedule:
- cron: '36 9 * * 3'
workflow_call:
jobs:
analyze:
@@ -45,11 +44,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -63,7 +62,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -76,6 +75,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

45
.github/workflows/e2e.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
name: E2E Tests
on:
workflow_call:
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tests/e2e
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: ./tests/e2e/yarn.lock
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Image
uses: docker/build-push-action@v5
with:
file: ./docker/Dockerfile
context: .
push: false
load: true
tags: mealie:e2e
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Deploy E2E Test Environment
run: docker compose up -d
working-directory: ./tests/e2e/docker
- name: Install dependencies
run: npm install -g yarn && yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Check test environment
run: docker ps
- name: Run Playwright tests
run: yarn playwright test
- name: Destroy Test Environment
if: always()
run: docker compose down --volumes
working-directory: ./tests/e2e/docker

View File

@@ -36,7 +36,7 @@ jobs:
# Steps
steps:
- name: Install Task
uses: arduino/setup-task@v1
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -45,7 +45,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
@@ -57,7 +57,7 @@ jobs:
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
@@ -66,7 +66,7 @@ jobs:
id: cache-validate
if: steps.cached-poetry-dependencies.outputs.cache-hit == 'true'
run: |
echo "import black;print('venv good?')" > test.py && poetry run python test.py && echo "cache-hit-success=true" >> $GITHUB_OUTPUT
echo "import fastapi;print('venv good?')" > test.py && poetry run python test.py && echo "cache-hit-success=true" >> $GITHUB_OUTPUT
rm test.py
continue-on-error: true
@@ -78,9 +78,9 @@ jobs:
poetry add "psycopg2-binary==2.9.9"
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' || steps.cache-validate.outputs.cache-hit-success != 'true'
- name: Formatting (Black)
- name: Formatting (Ruff)
run: |
poetry run black . --check
poetry run ruff format . --check
- name: Lint (Ruff)
run: |

View File

@@ -22,7 +22,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache node_modules 📦
uses: actions/cache@v3.3.2
uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -60,7 +60,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache node_modules 📦
uses: actions/cache@v3.3.2
uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

View File

@@ -24,8 +24,10 @@ jobs:
image-ref: "mealie"
format: "sarif"
output: "trivy-results.sarif"
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: "trivy-results.sarif"

42
.github/workflows/pull-request-lint.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: Pull Request Linter
on:
workflow_call:
pull_request:
types: [edited] # This captures the PR title changing
branches:
- mealie-next
jobs:
validate-title:
name: Validate PR title
runs-on: ubuntu-latest
steps:
# https://github.com/amannn/action-semantic-pull-request
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed (newline-delimited).
# Default: https://github.com/commitizen/conventional-commit-types
types: |
feat
fix
docs
chore
dev
# Configure which scopes are allowed (newline-delimited).
# These are regex patterns auto-wrapped in `^ $`.
scopes: |
deps
auto
l10n
# Configure that a scope must always be provided.
requireScope: false
# If the PR contains one of these newline-delimited labels, the
# validation is skipped. If you want to rerun the validation when
# labels change, you might want to use the `labeled` and `unlabeled`
# event triggers in your workflow.
ignoreLabels: |
bot
ignore-semantic-pull-request

View File

@@ -5,7 +5,15 @@ on:
branches:
- mealie-next
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
pull-request-lint:
name: "Lint PR"
uses: ./.github/workflows/pull-request-lint.yml
backend-tests:
name: "Backend Server Tests"
uses: ./.github/workflows/partial-backend.yml
@@ -17,3 +25,15 @@ jobs:
container-scanning:
name: "Trivy Container Scanning"
uses: ./.github/workflows/partial-trivy-container-scanning.yml
end-to-end:
name: "End-to-End Tests"
uses: ./.github/workflows/e2e.yml
code-ql:
name: "CodeQL"
uses: ./.github/workflows/codeql.yml
permissions:
actions: read
contents: read
security-events: write

30
.github/workflows/release-drafter.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
---
name: Release Drafter
on:
push:
branches:
- mealie-next
# pull_request event is required for autolabeler
pull_request:
types: [opened, labeled, unlabeled, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
pull_request_target:
types: [opened, labeled, unlabeled, reopened, synchronize]
workflow_dispatch:
jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
name: ✏️ Draft release
runs-on: ubuntu-latest
steps:
- name: 🚀 Run Release Drafter
uses: release-drafter/release-drafter@v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -61,10 +61,16 @@ jobs:
- name: Checkout 🛎
uses: actions/checkout@v4
- name: Extract Version From Tag Name
run: echo "VERSION_NUM=$(echo ${{ github.event.release.tag_name }} | sed 's/^v//')" >> $GITHUB_ENV
- name: Modify version strings
run: |
sed -i 's/:v[0-9]*.[0-9]*.[0-9]*/:${{ github.event.release.tag_name }}/' docs/docs/documentation/getting-started/installation/sqlite.md
sed -i 's/:v[0-9]*.[0-9]*.[0-9]*/:${{ github.event.release.tag_name }}/' docs/docs/documentation/getting-started/installation/postgres.md
sed -i 's/:v[0-9]*.[0-9]*.[0-9]*/:v${{ env.VERSION_NUM }}/' docs/docs/documentation/getting-started/installation/installation-checklist.md
sed -i 's/:v[0-9]*.[0-9]*.[0-9]*/:v${{ env.VERSION_NUM }}/' docs/docs/documentation/getting-started/installation/sqlite.md
sed -i 's/:v[0-9]*.[0-9]*.[0-9]*/:v${{ env.VERSION_NUM }}/' docs/docs/documentation/getting-started/installation/postgres.md
sed -i 's/^version = "[^"]*"/version = "${{ env.VERSION_NUM }}"/' pyproject.toml
sed -i 's/^\s*"version": "[^"]*"/"version": "${{ env.VERSION_NUM }}"/' frontend/package.json
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
@@ -74,6 +80,8 @@ jobs:
with:
commit-message: "Update image tag, for release ${{ github.event.release.tag_name }}"
branch: "docs/newrelease-update-version-${{ github.event.release.tag_name }}"
labels: |
documentation
delete-branch: true
base: mealie-next
title: "docs(auto): Update image tag, for release ${{ github.event.release.tag_name }}"

56
.github/workflows/scheduled-checks.yml vendored Normal file
View File

@@ -0,0 +1,56 @@
name: Scheduled Checks
on:
schedule:
# Every monday at 7 AM
- cron: 0 7 * * 1
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set PY
shell: bash
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cache/pre-commit
~/.cache/pip
key: pre-commit-${{ env.PY }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
shell: bash
run: pip install -U pre-commit
- name: Run `pre-commit autoupdate`
shell: bash
run: pre-commit autoupdate --color=always
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
# This doesn't currently work for us because it creates the PR but the workflows don't run.
# TODO: Provide a personal access token as a parameter here, that solves that problem.
# https://github.com/peter-evans/create-pull-request
with:
commit-message: "Update pre-commit hooks"
branch: "fix/update-pre-commit-hooks"
labels: |
chore
delete-branch: true
base: mealie-next
title: "chore(auto): Update pre-commit hooks"
body: "Auto-generated by `.github/workflows/scheduled-checks.yml`"

View File

@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v5.0.0
hooks:
- id: check-yaml
exclude: "mkdocs.yml"
@@ -10,7 +10,9 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: ^tests/data/
- repo: https://github.com/psf/black
rev: 24.1.0
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.0
hooks:
- id: black
- id: ruff
- id: ruff-format

View File

@@ -60,8 +60,5 @@
},
"[vue]": {
"editor.formatOnSave": false
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
},
}
}

10
.vscode/tasks.json vendored
View File

@@ -24,16 +24,6 @@
},
"problemMatcher": []
},
{
"label": "Init Database",
"command": "poetry run python mealie/db/init_db.py",
"type": "shell",
"presentation": {
"reveal": "always",
"group": "groupA"
},
"problemMatcher": []
},
{
"label": "Dev: Start Frontend",
"command": "task ui",

View File

@@ -1,10 +1,10 @@
[![Latest Release][latest-release-shield]][latest-release-url]
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![AGPL License][license-shield]][license-url]
[![Docker Pulls][docker-pull]][docker-pull]
[![Docker Pulls][docker-pull]][docker-url]
[![GHCR Pulls][ghcr-pulls]][ghcr-url]
<!-- PROJECT LOGO -->
<br />
@@ -18,9 +18,9 @@
<h3 align="center">Mealie</h3>
<p align="center">
A Place for All Your Recipes
A Place For All Your Recipes
<br />
<a href="https://nightly.mealie.io"><strong>Explore the docs »</strong></a>
<a href="https://docs.mealie.io/"><strong>Explore the docs »</strong></a>
<a href="https://github.com/mealie-recipes/mealie">
</a>
<br />
@@ -38,12 +38,20 @@
# 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.
Mealie is a self hosted recipe manager, meal planner and shopping list with a RestAPI backend and a reactive frontend 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.
- [Remember to join the Discord](https://discord.gg/QuStdQGSGK)!
- [Documentation](https://nightly.mealie.io)
- [Documentation](https://docs.mealie.io/)
## Key Features
- Recipe imports: Create recipes, by **importing from a URL** or entering data manually
- Meal Planner: Use the **Meal Planner** to plan your what you'll cook for the next week
- Shopping List: Put the necessary ingredients on your **Shopping List**, organised into sections of your local supermarket
- Cookbooks: Group recipes into **Cookbooks** based on your own criteria
- Docker: Easy **Docker** deployment
- Localisation: **Translations** for 35+ languages
<!-- CONTRIBUTING -->
## Contributing
@@ -58,7 +66,7 @@ If you are not a coder, you can still contribute financially. Financial contribu
### Translations
Translations can be a great way for **non-coders** to contribute to project. We use [Crowdin](https://crowdin.com/project/mealie) to allow several contributors to work on translating Mealie. You can simply help by voting for your preferred translations, or even by completely translating Mealie into a new language.
Translations can be a great way for **non-coders** to contribute to the project. We use [Crowdin](https://crowdin.com/project/mealie) to allow several contributors to work on translating Mealie. You can simply help by voting for your preferred translations, or even by completely translating Mealie into a new language.
For more information, check out the translation page on the [contributor's guide](https://nightly.mealie.io/contributors/translating/).
@@ -80,16 +88,17 @@ Thanks to Depot for providing build instances for our Docker image builds.
<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[contributors-shield]: https://img.shields.io/github/contributors/mealie-recipes/mealie.svg?style=flat-square
[docker-pull]: https://img.shields.io/docker/pulls/hkotel/mealie
[docker-pull]: https://img.shields.io/docker/pulls/hkotel/mealie?style=flat-square
[docker-url]: https://hub.docker.com/r/hkotel/mealie
[ghcr-pulls]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fipitio.github.io%2Fbackage%2Fmealie-recipes%2Fmealie%2Fmealie.json&query=%24.downloads&style=flat-square&label=ghcr%20pulls
[ghcr-url]: https://github.com/mealie-recipes/mealie/pkgs/container/mealie
[contributors-url]: https://github.com/mealie-recipes/mealie/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/mealie-recipes/mealie.svg?style=flat-square
[forks-url]: https://github.com/mealie-recipes/mealie/network/members
[stars-shield]: https://img.shields.io/github/stars/mealie-recipes/mealie.svg?style=flat-square
[stars-url]: https://github.com/mealie-recipes/mealie/stargazers
[issues-shield]: https://img.shields.io/github/issues/mealie-recipes/mealie.svg?style=flat-square
[issues-url]: https://github.com/mealie-recipes/mealie/issues
[latest-release-shield]: https://img.shields.io/github/v/release/mealie-recipes/mealie?style=flat-square&label=latest%20release
[latest-release-url]: https://img.shields.io/github/v/release/mealie-recipes/mealie
[latest-release-url]: https://github.com/mealie-recipes/mealie/releases
[license-shield]: https://img.shields.io/github/license/mealie-recipes/mealie.svg?style=flat-square
[license-url]: https://github.com/mealie-recipes/mealie/blob/mealie-next/LICENSE
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555

View File

@@ -5,6 +5,7 @@ vars:
GREETING: Hello, World!
env:
DEFAULT_GROUP: Home
DEFAULT_HOUSEHOLD: Family
PRODUCTION: false
API_PORT: 9000
API_DOCS: True
@@ -74,6 +75,7 @@ tasks:
desc: run code generators
cmds:
- poetry run python dev/code-generation/main.py
- task: py:format
dev:services:
desc: starts postgres and mailpit containers
@@ -105,7 +107,7 @@ tasks:
py:format:
desc: runs python code formatter
cmds:
- poetry run black mealie
- poetry run ruff format .
py:lint:
desc: runs python linter
@@ -132,7 +134,6 @@ tasks:
py:
desc: runs the backend server
cmds:
- poetry run python mealie/db/init_db.py
- poetry run python mealie/app.py
py:postgres:
@@ -145,9 +146,14 @@ tasks:
POSTGRES_PORT: 5432
POSTGRES_DB: mealie
cmds:
- poetry run python mealie/db/init_db.py
- poetry run python mealie/app.py
py:migrate:
desc: generates a new database migration file e.g. task py:migrate -- "add new column"
cmds:
- poetry run alembic revision --autogenerate -m "{{ .CLI_ARGS }}"
- task: py:format
ui:build:
desc: builds the frontend in frontend/dist
dir: frontend

View File

@@ -58,15 +58,3 @@ sqlalchemy.url =
# post_write_hooks defines scripts or Python functions that are run
# on newly generated revision scripts. See the documentation for further
# detail and examples
hooks = isort, black
# format using "isort" - use the console_scripts runner, against the "isort" entrypoint
isort.type = console_scripts
isort.entrypoint = isort
isort.options = REVISION_SCRIPT_FILENAME
# format using "black" - use the console_scripts runner, against the "black" entrypoint
black.type = console_scripts
black.entrypoint = black
black.options = REVISION_SCRIPT_FILENAME

View File

@@ -1 +1 @@
Generic single-database configuration.
Generic single-database configuration.

View File

@@ -1,4 +1,6 @@
from sqlalchemy import engine_from_config, pool
from typing import Any
import sqlalchemy as sa
import mealie.db.models._all_models # noqa: F401
from alembic import context
@@ -22,7 +24,33 @@ target_metadata = SqlAlchemyBase.metadata
# Set DB url from config
settings = get_app_settings()
config.set_main_option("sqlalchemy.url", settings.DB_URL)
if not settings.DB_URL:
raise Exception("DB URL not set in config")
config.set_main_option("sqlalchemy.url", settings.DB_URL.replace("%", "%%"))
def include_object(object: Any, name: str, type_: str, reflected: bool, compare_to: Any):
# skip dropping food/unit unique constraints; they are defined manually so alembic doesn't see them
# see: revision dded3119c1fe
if type_ == "unique_constraint" and name == "ingredient_foods_name_group_id_key" and compare_to is None:
return False
if type_ == "unique_constraint" and name == "ingredient_units_name_group_id_key" and compare_to is None:
return False
# skip changing the quantity column in recipes_ingredients; it's a float on postgres, but an integer on sqlite
# see: revision 263dd6707191
if (
type_ == "column"
and name == "quantity"
and object.table.name == "recipes_ingredients"
and hasattr(compare_to, "type")
and isinstance(compare_to.type, sa.Integer)
):
return False
return True
def run_migrations_offline():
@@ -56,15 +84,19 @@ def run_migrations_online():
and associate a connection with the context.
"""
connectable = engine_from_config(
connectable = sa.engine_from_config(
config.get_section(config.config_ini_section),
prefix="sqlalchemy.",
poolclass=pool.NullPool,
poolclass=sa.pool.NullPool,
)
with connectable.connect() as connection:
context.configure(
connection=connection, target_metadata=target_metadata, user_module_prefix="mealie.db.migration_types."
connection=connection,
target_metadata=target_metadata,
user_module_prefix="mealie.db.migration_types.",
render_as_batch=True,
include_object=include_object,
)
with context.begin_transaction():

View File

@@ -9,13 +9,15 @@ import sqlalchemy as sa
import mealie.db.migration_types
from alembic import op
${imports if imports else ""}
% if imports:
${imports}
% endif
# revision identifiers, used by Alembic.
revision = ${repr(up_revision)}
down_revision = ${repr(down_revision)}
branch_labels = ${repr(branch_labels)}
depends_on = ${repr(depends_on)}
down_revision: str | None = ${repr(down_revision)}
branch_labels: str | tuple[str, ...] | None = ${repr(branch_labels)}
depends_on: str | tuple[str, ...] | None = ${repr(depends_on)}
def upgrade():

View File

@@ -14,9 +14,9 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "6b0f5f32d602"
down_revision = None
branch_labels = None
depends_on = None
down_revision: str | None = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
# Adapted from https://improveandrepeat.com/2021/09/python-friday-87-handling-pre-existing-tables-with-alembic-and-sqlalchemy/

View File

@@ -13,8 +13,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "263dd6707191"
down_revision = "6b0f5f32d602"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def is_postgres():

View File

@@ -13,8 +13,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "f1a2dbee5fe9"
down_revision = "263dd6707191"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -14,8 +14,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "59eb59135381"
down_revision = "f1a2dbee5fe9"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -14,8 +14,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "09dfc897ad62"
down_revision = "59eb59135381"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -13,8 +13,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "ab0bae02578f"
down_revision = "09dfc897ad62"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -14,8 +14,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "f30cf048c228"
down_revision = "ab0bae02578f"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -13,8 +13,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "188374910655"
down_revision = "f30cf048c228"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -13,8 +13,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "089bfa50d0ed"
down_revision = "188374910655"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -14,8 +14,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "44e8d670719d"
down_revision = "089bfa50d0ed"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -14,8 +14,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "2ea7a807915c"
down_revision = "44e8d670719d"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -13,8 +13,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "1923519381ad"
down_revision = "2ea7a807915c"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -13,8 +13,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "167eb69066ad"
down_revision = "1923519381ad"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -14,8 +14,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "165d943c64ee"
down_revision = "167eb69066ad"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -11,8 +11,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "ff5f73b01a7a"
down_revision = "165d943c64ee"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -6,16 +6,13 @@ Create Date: 2023-02-10 21:18:32.405130
"""
import sqlalchemy as sa
import mealie.db.migration_types
from alembic import op
# revision identifiers, used by Alembic.
revision = "16160bf731a0"
down_revision = "ff5f73b01a7a"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -11,15 +11,14 @@ from sqlalchemy import orm, select
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
from text_unidecode import unidecode
import mealie.db.migration_types
from alembic import op
from mealie.db.models._model_utils import GUID
from mealie.db.models._model_utils.guid import GUID
# revision identifiers, used by Alembic.
revision = "5ab195a474eb"
down_revision = "16160bf731a0"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
class SqlAlchemyBase(DeclarativeBase):

View File

@@ -13,14 +13,32 @@ from sqlalchemy import orm
import mealie.db.migration_types
from alembic import op
from mealie.db.models.group.shopping_list import ShoppingList
from mealie.db.models.labels import MultiPurposeLabel
from mealie.db.models._model_utils.guid import GUID
# revision identifiers, used by Alembic.
revision = "b04a08da2108"
down_revision = "5ab195a474eb"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
# Intermediate table definitions
class SqlAlchemyBase(orm.DeclarativeBase):
pass
class ShoppingList(SqlAlchemyBase):
__tablename__ = "shopping_lists"
id: orm.Mapped[GUID] = orm.mapped_column(GUID, primary_key=True, default=GUID.generate)
group_id: orm.Mapped[GUID] = orm.mapped_column(GUID, sa.ForeignKey("groups.id"), nullable=False, index=True)
class MultiPurposeLabel(SqlAlchemyBase):
__tablename__ = "multi_purpose_labels"
id: orm.Mapped[GUID] = orm.mapped_column(GUID, primary_key=True, default=GUID.generate)
group_id: orm.Mapped[GUID] = orm.mapped_column(GUID, sa.ForeignKey("groups.id"), nullable=False, index=True)
def populate_shopping_lists_multi_purpose_labels(

View File

@@ -8,14 +8,13 @@ Create Date: 2023-02-22 21:45:52.900964
import sqlalchemy as sa
import mealie.db.migration_types
from alembic import op
# revision identifiers, used by Alembic.
revision = "38514b39a824"
down_revision = "b04a08da2108"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def is_postgres():

View File

@@ -6,18 +6,13 @@ Create Date: 2023-04-13 06:47:04.617131
"""
import sqlalchemy as sa
import mealie.db.migration_types
from alembic import op
import alembic.context as context
from mealie.core.config import get_app_settings
# revision identifiers, used by Alembic.
revision = "b3dbb554ba53"
down_revision = "38514b39a824"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def get_db_type():

View File

@@ -16,8 +16,8 @@ from mealie.db.models.group.group import Group
# revision identifiers, used by Alembic.
revision = "04ac51cbe9a4"
down_revision = "b3dbb554ba53"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def populate_group_slugs(session: Session):

View File

@@ -13,8 +13,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "1825b5225403"
down_revision = "04ac51cbe9a4"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -11,8 +11,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "bcfdad6b7355"
down_revision = "1825b5225403"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -15,8 +15,8 @@ from mealie.db.models.recipe.ingredient import IngredientFoodModel, IngredientUn
# revision identifiers, used by Alembic.
revision = "0341b154f79a"
down_revision = "bcfdad6b7355"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def populate_normalized_fields():

View File

@@ -12,19 +12,40 @@ from typing import Any
import sqlalchemy as sa
from pydantic import UUID4
from sqlalchemy import orm
from sqlalchemy.orm import Session, load_only
from alembic import op
from mealie.db.models._model_base import SqlAlchemyBase
from mealie.db.models.group.shopping_list import ShoppingListItem
from mealie.db.models._model_utils.guid import GUID
from mealie.db.models.labels import MultiPurposeLabel
from mealie.db.models.recipe.ingredient import IngredientFoodModel, IngredientUnitModel, RecipeIngredientModel
# revision identifiers, used by Alembic.
revision = "dded3119c1fe"
down_revision = "0341b154f79a"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
# Intermediate table definitions
class SqlAlchemyBase(orm.DeclarativeBase):
pass
class ShoppingList(SqlAlchemyBase):
__tablename__ = "shopping_lists"
id: orm.Mapped[GUID] = orm.mapped_column(GUID, primary_key=True, default=GUID.generate)
group_id: orm.Mapped[GUID] = orm.mapped_column(GUID, sa.ForeignKey("groups.id"), nullable=False, index=True)
class ShoppingListItem(SqlAlchemyBase):
__tablename__ = "shopping_list_items"
id: orm.Mapped[GUID] = orm.mapped_column(GUID, primary_key=True, default=GUID.generate)
food_id: orm.Mapped[GUID] = orm.mapped_column(GUID, sa.ForeignKey("ingredient_foods.id"))
unit_id: orm.Mapped[GUID] = orm.mapped_column(GUID, sa.ForeignKey("ingredient_units.id"))
label_id: orm.Mapped[GUID] = orm.mapped_column(GUID, sa.ForeignKey("multi_purpose_labels.id"))
@dataclass
@@ -42,7 +63,7 @@ def _is_postgres():
return op.get_context().dialect.name == "postgresql"
def _get_duplicates(session: Session, model: SqlAlchemyBase) -> defaultdict[str, list]:
def _get_duplicates(session: Session, model: orm.DeclarativeBase) -> defaultdict[str, list]:
duplicate_map: defaultdict[str, list] = defaultdict(list)
query = session.execute(sa.text(f"SELECT id, group_id, name FROM {model.__tablename__}"))

View File

@@ -14,8 +14,8 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "ba1e4a6cfe99"
down_revision = "dded3119c1fe"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():

View File

@@ -13,12 +13,15 @@ from sqlalchemy import orm
import mealie.db.migration_types
from alembic import op
from mealie.core.root_logger import get_logger
logger = get_logger()
# revision identifiers, used by Alembic.
revision = "2298bb460ffd"
down_revision = "ba1e4a6cfe99"
branch_labels = None
depends_on = None
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def is_postgres():
@@ -37,13 +40,20 @@ def find_user_id_for_group(group_id: UUID):
with session:
try:
# try to find an admin user
user_id = session.execute(sa.text(stmt).bindparams(group_id=group_id)).scalar_one()
return session.execute(sa.text(stmt).bindparams(group_id=group_id)).scalar_one()
except orm.exc.NoResultFound:
pass
try:
# fallback to any user
user_id = session.execute(
return session.execute(
sa.text("SELECT id FROM users WHERE group_id=:group_id LIMIT 1").bindparams(group_id=group_id)
).scalar_one()
return user_id
except orm.exc.NoResultFound:
pass
# no user could be found
return None
def populate_shopping_list_users():
@@ -54,11 +64,17 @@ def populate_shopping_list_users():
list_ids_and_group_ids = session.execute(sa.text("SELECT id, group_id FROM shopping_lists")).all()
for list_id, group_id in list_ids_and_group_ids:
user_id = find_user_id_for_group(group_id)
session.execute(
sa.text(f"UPDATE shopping_lists SET user_id=:user_id WHERE id=:id").bindparams(
user_id=user_id, id=list_id
if user_id:
session.execute(
sa.text("UPDATE shopping_lists SET user_id=:user_id WHERE id=:id").bindparams(
user_id=user_id, id=list_id
)
)
)
else:
logger.warning(
f"No user found for shopping list {list_id} with group {group_id}; deleting shopping list"
)
session.execute(sa.text("DELETE FROM shopping_lists WHERE id=:id").bindparams(id=list_id))
def upgrade():

View File

@@ -0,0 +1,28 @@
"""add OIDC auth method
Revision ID: 09aba125b57a
Revises: 2298bb460ffd
Create Date: 2024-03-10 05:08:32.397027
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = "09aba125b57a"
down_revision = "2298bb460ffd"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def is_postgres():
return op.get_context().dialect.name == "postgresql"
def upgrade():
if is_postgres():
op.execute("ALTER TYPE authmethod ADD VALUE 'OIDC'")
def downgrade():
pass

View File

@@ -0,0 +1,227 @@
"""migrate favorites and ratings to user_ratings
Revision ID: d7c6efd2de42
Revises: 09aba125b57a
Create Date: 2024-03-18 02:28:15.896959
"""
from datetime import datetime, timezone
from textwrap import dedent
from typing import Any
from uuid import uuid4
import sqlalchemy as sa
from sqlalchemy import orm
import mealie.db.migration_types
from alembic import op
# revision identifiers, used by Alembic.
revision = "d7c6efd2de42"
down_revision = "09aba125b57a"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def is_postgres():
return op.get_context().dialect.name == "postgresql"
def new_user_rating(user_id: Any, recipe_id: Any, rating: float | None = None, is_favorite: bool = False):
if is_postgres():
id = str(uuid4())
else:
id = "%.32x" % uuid4().int # noqa: UP031
now = datetime.now(timezone.utc).isoformat()
return {
"id": id,
"user_id": user_id,
"recipe_id": recipe_id,
"rating": rating,
"is_favorite": is_favorite,
"created_at": now,
"update_at": now,
}
def migrate_user_favorites_to_user_ratings():
bind = op.get_bind()
session = orm.Session(bind=bind)
with session:
user_ids_and_recipe_ids = session.execute(sa.text("SELECT user_id, recipe_id FROM users_to_favorites")).all()
rows = [
new_user_rating(user_id, recipe_id, is_favorite=True)
for user_id, recipe_id in user_ids_and_recipe_ids
if user_id and recipe_id
]
if is_postgres():
query = dedent(
"""
INSERT INTO users_to_recipes (id, user_id, recipe_id, rating, is_favorite, created_at, update_at)
VALUES (:id, :user_id, :recipe_id, :rating, :is_favorite, :created_at, :update_at)
ON CONFLICT DO NOTHING
"""
)
else:
query = dedent(
"""
INSERT OR IGNORE INTO users_to_recipes
(id, user_id, recipe_id, rating, is_favorite, created_at, update_at)
VALUES (:id, :user_id, :recipe_id, :rating, :is_favorite, :created_at, :update_at)
"""
)
for row in rows:
session.execute(sa.text(query), row)
def migrate_group_to_user_ratings(group_id: Any):
bind = op.get_bind()
session = orm.Session(bind=bind)
with session:
user_ids = (
session.execute(sa.text("SELECT id FROM users WHERE group_id=:group_id").bindparams(group_id=group_id))
.scalars()
.all()
)
recipe_ids_ratings = session.execute(
sa.text(
"SELECT id, rating FROM recipes WHERE group_id=:group_id AND rating > 0 AND rating IS NOT NULL"
).bindparams(group_id=group_id)
).all()
# Convert recipe ratings to user ratings. Since we don't know who
# rated the recipe initially, we copy the rating to all users.
rows: list[dict] = []
for recipe_id, rating in recipe_ids_ratings:
for user_id in user_ids:
rows.append(new_user_rating(user_id, recipe_id, rating, is_favorite=False))
if is_postgres():
insert_query = dedent(
"""
INSERT INTO users_to_recipes (id, user_id, recipe_id, rating, is_favorite, created_at, update_at)
VALUES (:id, :user_id, :recipe_id, :rating, :is_favorite, :created_at, :update_at)
ON CONFLICT (user_id, recipe_id) DO NOTHING;
"""
)
else:
insert_query = dedent(
"""
INSERT OR IGNORE INTO users_to_recipes
(id, user_id, recipe_id, rating, is_favorite, created_at, update_at)
VALUES (:id, :user_id, :recipe_id, :rating, :is_favorite, :created_at, :update_at);
"""
)
update_query = dedent(
"""
UPDATE users_to_recipes
SET rating = :rating, update_at = :update_at
WHERE user_id = :user_id AND recipe_id = :recipe_id;
"""
)
# Create new user ratings with is_favorite set to False
for row in rows:
session.execute(sa.text(insert_query), row)
# Update existing user ratings with the correct rating
for row in rows:
session.execute(sa.text(update_query), row)
def migrate_to_user_ratings():
migrate_user_favorites_to_user_ratings()
bind = op.get_bind()
session = orm.Session(bind=bind)
with session:
group_ids = session.execute(sa.text("SELECT id FROM groups")).scalars().all()
for group_id in group_ids:
migrate_group_to_user_ratings(group_id)
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table(
"users_to_recipes",
sa.Column("user_id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("recipe_id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("rating", sa.Float(), nullable=True),
sa.Column("is_favorite", sa.Boolean(), nullable=False),
sa.Column("id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("created_at", sa.DateTime(), nullable=True),
sa.Column("update_at", sa.DateTime(), nullable=True),
sa.ForeignKeyConstraint(
["recipe_id"],
["recipes.id"],
),
sa.ForeignKeyConstraint(
["user_id"],
["users.id"],
),
sa.PrimaryKeyConstraint("user_id", "recipe_id", "id"),
sa.UniqueConstraint("user_id", "recipe_id", name="user_id_recipe_id_rating_key"),
)
op.create_index(op.f("ix_users_to_recipes_created_at"), "users_to_recipes", ["created_at"], unique=False)
op.create_index(op.f("ix_users_to_recipes_is_favorite"), "users_to_recipes", ["is_favorite"], unique=False)
op.create_index(op.f("ix_users_to_recipes_rating"), "users_to_recipes", ["rating"], unique=False)
op.create_index(op.f("ix_users_to_recipes_recipe_id"), "users_to_recipes", ["recipe_id"], unique=False)
op.create_index(op.f("ix_users_to_recipes_user_id"), "users_to_recipes", ["user_id"], unique=False)
migrate_to_user_ratings()
if is_postgres():
op.drop_index("ix_users_to_favorites_recipe_id", table_name="users_to_favorites")
op.drop_index("ix_users_to_favorites_user_id", table_name="users_to_favorites")
op.alter_column("recipes", "rating", existing_type=sa.INTEGER(), type_=sa.Float(), existing_nullable=True)
else:
op.execute("DROP INDEX IF EXISTS ix_users_to_favorites_recipe_id")
op.execute("DROP INDEX IF EXISTS ix_users_to_favorites_user_id")
with op.batch_alter_table("recipes") as batch_op:
batch_op.alter_column("rating", existing_type=sa.INTEGER(), type_=sa.Float(), existing_nullable=True)
op.drop_table("users_to_favorites")
op.create_index(op.f("ix_recipes_rating"), "recipes", ["rating"], unique=False)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column(
"recipes_ingredients", "quantity", existing_type=sa.Float(), type_=sa.INTEGER(), existing_nullable=True
)
op.drop_index(op.f("ix_recipes_rating"), table_name="recipes")
op.alter_column("recipes", "rating", existing_type=sa.Float(), type_=sa.INTEGER(), existing_nullable=True)
op.create_table(
"users_to_favorites",
sa.Column("user_id", sa.CHAR(length=32), nullable=True),
sa.Column("recipe_id", sa.CHAR(length=32), nullable=True),
sa.ForeignKeyConstraint(
["recipe_id"],
["recipes.id"],
),
sa.ForeignKeyConstraint(
["user_id"],
["users.id"],
),
sa.UniqueConstraint("user_id", "recipe_id", name="user_id_recipe_id_key"),
)
op.create_index("ix_users_to_favorites_user_id", "users_to_favorites", ["user_id"], unique=False)
op.create_index("ix_users_to_favorites_recipe_id", "users_to_favorites", ["recipe_id"], unique=False)
op.drop_index(op.f("ix_users_to_recipes_user_id"), table_name="users_to_recipes")
op.drop_index(op.f("ix_users_to_recipes_recipe_id"), table_name="users_to_recipes")
op.drop_index(op.f("ix_users_to_recipes_rating"), table_name="users_to_recipes")
op.drop_index(op.f("ix_users_to_recipes_is_favorite"), table_name="users_to_recipes")
op.drop_index(op.f("ix_users_to_recipes_created_at"), table_name="users_to_recipes")
op.drop_table("users_to_recipes")
# ### end Alembic commands ###

View File

@@ -0,0 +1,52 @@
"""add group recipe actions
Revision ID: 7788478a0338
Revises: d7c6efd2de42
Create Date: 2024-04-07 01:05:20.816270
"""
import sqlalchemy as sa
import mealie.db.migration_types
from alembic import op
# revision identifiers, used by Alembic.
revision = "7788478a0338"
down_revision = "d7c6efd2de42"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table(
"recipe_actions",
sa.Column("id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("group_id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("action_type", sa.String(), nullable=False),
sa.Column("title", sa.String(), nullable=False),
sa.Column("url", sa.String(), nullable=False),
sa.Column("created_at", sa.DateTime(), nullable=True),
sa.Column("update_at", sa.DateTime(), nullable=True),
sa.ForeignKeyConstraint(
["group_id"],
["groups.id"],
),
sa.PrimaryKeyConstraint("id"),
)
op.create_index(op.f("ix_recipe_actions_action_type"), "recipe_actions", ["action_type"], unique=False)
op.create_index(op.f("ix_recipe_actions_created_at"), "recipe_actions", ["created_at"], unique=False)
op.create_index(op.f("ix_recipe_actions_group_id"), "recipe_actions", ["group_id"], unique=False)
op.create_index(op.f("ix_recipe_actions_title"), "recipe_actions", ["title"], unique=False)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_index(op.f("ix_recipe_actions_title"), table_name="recipe_actions")
op.drop_index(op.f("ix_recipe_actions_group_id"), table_name="recipe_actions")
op.drop_index(op.f("ix_recipe_actions_created_at"), table_name="recipe_actions")
op.drop_index(op.f("ix_recipe_actions_action_type"), table_name="recipe_actions")
op.drop_table("recipe_actions")
# ### end Alembic commands ###

View File

@@ -0,0 +1,47 @@
"""Add staple flag to foods
Revision ID: 32d69327997b
Revises: 7788478a0338
Create Date: 2024-06-22 10:17:03.323966
"""
import sqlalchemy as sa
from sqlalchemy import orm
from alembic import op
# revision identifiers, used by Alembic.
revision = "32d69327997b"
down_revision = "7788478a0338"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def is_postgres():
return op.get_context().dialect.name == "postgresql"
def upgrade():
with op.batch_alter_table("ingredient_foods") as batch_op:
batch_op.add_column(sa.Column("on_hand", sa.Boolean(), nullable=True, default=False))
bind = op.get_bind()
session = orm.Session(bind=bind)
with session:
if is_postgres():
stmt = "UPDATE ingredient_foods SET on_hand = FALSE;"
else:
stmt = "UPDATE ingredient_foods SET on_hand = 0;"
session.execute(sa.text(stmt))
# forbid nulls after migration
with op.batch_alter_table("ingredient_foods") as batch_op:
batch_op.alter_column("on_hand", nullable=False)
def downgrade():
with op.batch_alter_table("ingredient_foods") as batch_op:
batch_op.drop_column("on_hand")

View File

@@ -0,0 +1,321 @@
"""add households
Revision ID: feecc8ffb956
Revises: 32d69327997b
Create Date: 2024-07-12 16:16:29.973929
"""
from datetime import datetime, timezone
from textwrap import dedent
from typing import Any
from uuid import uuid4
import sqlalchemy as sa
from slugify import slugify
from sqlalchemy import orm
import mealie.db.migration_types
from alembic import op
from mealie.core.config import get_app_settings
# revision identifiers, used by Alembic.
revision = "feecc8ffb956"
down_revision = "32d69327997b"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
settings = get_app_settings()
def is_postgres():
return op.get_context().dialect.name == "postgresql"
def generate_id() -> str:
"""See GUID.convert_value_to_guid"""
val = uuid4()
if is_postgres():
return str(val)
else:
return f"{val.int:032x}"
def dedupe_cookbook_slugs():
bind = op.get_bind()
session = orm.Session(bind=bind)
with session:
sql = sa.text(
dedent(
"""
SELECT slug, group_id, COUNT(*)
FROM cookbooks
GROUP BY slug, group_id
HAVING COUNT(*) > 1
"""
)
)
rows = session.execute(sql).fetchall()
for slug, group_id, _ in rows:
sql = sa.text(
dedent(
"""
SELECT id
FROM cookbooks
WHERE slug = :slug AND group_id = :group_id
ORDER BY id
"""
)
)
cookbook_ids = session.execute(sql, {"slug": slug, "group_id": group_id}).fetchall()
for i, (cookbook_id,) in enumerate(cookbook_ids):
if i == 0:
continue
sql = sa.text(
dedent(
"""
UPDATE cookbooks
SET slug = :slug || '-' || :i
WHERE id = :id
"""
)
)
session.execute(sql, {"slug": slug, "i": i, "id": cookbook_id})
def create_household(session: orm.Session, group_id: str) -> str:
# create/insert household
household_id = generate_id()
timestamp = datetime.now(timezone.utc).isoformat()
household_data = {
"id": household_id,
"name": settings.DEFAULT_HOUSEHOLD,
"slug": slugify(settings.DEFAULT_HOUSEHOLD),
"group_id": group_id,
"created_at": timestamp,
"update_at": timestamp,
}
columns = ", ".join(household_data.keys())
placeholders = ", ".join(f":{key}" for key in household_data.keys())
sql_statement = f"INSERT INTO households ({columns}) VALUES ({placeholders})"
session.execute(sa.text(sql_statement), household_data)
# fetch group preferences so we can copy them over to household preferences
migrated_field_defaults = {
"private_group": True, # this is renamed later
"first_day_of_week": 0,
"recipe_public": True,
"recipe_show_nutrition": False,
"recipe_show_assets": False,
"recipe_landscape_view": False,
"recipe_disable_comments": False,
"recipe_disable_amount": True,
}
sql_statement = (
f"SELECT {', '.join(migrated_field_defaults.keys())} FROM group_preferences WHERE group_id = :group_id"
)
group_preferences = session.execute(sa.text(sql_statement), {"group_id": group_id}).fetchone()
# build preferences data
if group_preferences:
preferences_data: dict[str, Any] = {}
for i, (field, default_value) in enumerate(migrated_field_defaults.items()):
value = group_preferences[i]
preferences_data[field] = value if value is not None else default_value
else:
preferences_data = migrated_field_defaults
preferences_data["id"] = generate_id()
preferences_data["household_id"] = household_id
preferences_data["created_at"] = timestamp
preferences_data["update_at"] = timestamp
preferences_data["private_household"] = preferences_data.pop("private_group")
# insert preferences data
columns = ", ".join(preferences_data.keys())
placeholders = ", ".join(f":{key}" for key in preferences_data.keys())
sql_statement = f"INSERT INTO household_preferences ({columns}) VALUES ({placeholders})"
session.execute(sa.text(sql_statement), preferences_data)
return household_id
def create_households_for_groups() -> dict[str, str]:
bind = op.get_bind()
session = orm.Session(bind=bind)
group_id_household_id_map: dict[str, str] = {}
with session:
rows = session.execute(sa.text("SELECT id FROM groups")).fetchall()
for row in rows:
group_id = row[0]
group_id_household_id_map[group_id] = create_household(session, group_id)
return group_id_household_id_map
def _do_assignment(session: orm.Session, table: str, group_id: str, household_id: str):
sql = sa.text(
dedent(
f"""
UPDATE {table}
SET household_id = :household_id
WHERE group_id = :group_id
""",
)
)
session.execute(sql, {"group_id": group_id, "household_id": household_id})
def assign_households(group_id_household_id_map: dict[str, str]):
tables = [
"cookbooks",
"group_events_notifiers",
"group_meal_plan_rules",
"invite_tokens",
"recipe_actions",
"users",
"webhook_urls",
]
bind = op.get_bind()
session = orm.Session(bind=bind)
with session:
for table in tables:
for group_id, household_id in group_id_household_id_map.items():
_do_assignment(session, table, group_id, household_id)
def populate_household_data():
group_id_household_id_map = create_households_for_groups()
assign_households(group_id_household_id_map)
def upgrade():
dedupe_cookbook_slugs()
# ### commands auto generated by Alembic - please adjust! ###
op.create_table(
"households",
sa.Column("id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("name", sa.String(), nullable=False),
sa.Column("slug", sa.String(), nullable=True),
sa.Column("group_id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("created_at", sa.DateTime(), nullable=True),
sa.Column("update_at", sa.DateTime(), nullable=True),
sa.ForeignKeyConstraint(
["group_id"],
["groups.id"],
),
sa.PrimaryKeyConstraint("id"),
sa.UniqueConstraint("group_id", "name", name="household_name_group_id_key"),
sa.UniqueConstraint("group_id", "slug", name="household_slug_group_id_key"),
)
op.create_index(op.f("ix_households_created_at"), "households", ["created_at"], unique=False)
op.create_index(op.f("ix_households_group_id"), "households", ["group_id"], unique=False)
op.create_index(op.f("ix_households_name"), "households", ["name"], unique=False)
op.create_index(op.f("ix_households_slug"), "households", ["slug"], unique=False)
op.create_table(
"household_preferences",
sa.Column("id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=False),
sa.Column("private_household", sa.Boolean(), nullable=True),
sa.Column("first_day_of_week", sa.Integer(), nullable=True),
sa.Column("recipe_public", sa.Boolean(), nullable=True),
sa.Column("recipe_show_nutrition", sa.Boolean(), nullable=True),
sa.Column("recipe_show_assets", sa.Boolean(), nullable=True),
sa.Column("recipe_landscape_view", sa.Boolean(), nullable=True),
sa.Column("recipe_disable_comments", sa.Boolean(), nullable=True),
sa.Column("recipe_disable_amount", sa.Boolean(), nullable=True),
sa.Column("created_at", sa.DateTime(), nullable=True),
sa.Column("update_at", sa.DateTime(), nullable=True),
sa.ForeignKeyConstraint(
["household_id"],
["households.id"],
),
sa.PrimaryKeyConstraint("id"),
)
op.create_index(op.f("ix_household_preferences_created_at"), "household_preferences", ["created_at"], unique=False)
op.create_index(
op.f("ix_household_preferences_household_id"), "household_preferences", ["household_id"], unique=False
)
with op.batch_alter_table("cookbooks") as batch_op:
batch_op.add_column(sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=True))
batch_op.create_index(op.f("ix_cookbooks_household_id"), ["household_id"], unique=False)
batch_op.create_foreign_key("fk_cookbooks_household_id", "households", ["household_id"], ["id"])
# not directly related to households, but important for frontend routes
batch_op.create_unique_constraint("cookbook_slug_group_id_key", ["slug", "group_id"])
with op.batch_alter_table("group_events_notifiers") as batch_op:
batch_op.add_column(sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=True))
batch_op.create_index(op.f("ix_group_events_notifiers_household_id"), ["household_id"], unique=False)
batch_op.create_foreign_key("fk_group_events_notifiers_household_id", "households", ["household_id"], ["id"])
with op.batch_alter_table("group_meal_plan_rules") as batch_op:
batch_op.add_column(sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=True))
batch_op.create_index(op.f("ix_group_meal_plan_rules_household_id"), ["household_id"], unique=False)
batch_op.create_foreign_key("fk_group_meal_plan_rules_household_id", "households", ["household_id"], ["id"])
with op.batch_alter_table("invite_tokens") as batch_op:
batch_op.add_column(sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=True))
batch_op.create_index(op.f("ix_invite_tokens_household_id"), ["household_id"], unique=False)
batch_op.create_foreign_key("fk_invite_tokens_household_id", "households", ["household_id"], ["id"])
with op.batch_alter_table("recipe_actions") as batch_op:
batch_op.add_column(sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=True))
batch_op.create_index(op.f("ix_recipe_actions_household_id"), ["household_id"], unique=False)
batch_op.create_foreign_key("fk_recipe_actions_household_id", "households", ["household_id"], ["id"])
with op.batch_alter_table("users") as batch_op:
batch_op.add_column(sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=True))
batch_op.create_index(op.f("ix_users_household_id"), ["household_id"], unique=False)
batch_op.create_foreign_key("fk_users_household_id", "households", ["household_id"], ["id"])
with op.batch_alter_table("webhook_urls") as batch_op:
batch_op.add_column(sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=True))
batch_op.create_index(op.f("ix_webhook_urls_household_id"), ["household_id"], unique=False)
batch_op.create_foreign_key("fk_webhook_urls_household_id", "households", ["household_id"], ["id"])
# ### end Alembic commands ###
populate_household_data()
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_constraint(None, "webhook_urls", type_="foreignkey")
op.drop_index(op.f("ix_webhook_urls_household_id"), table_name="webhook_urls")
op.drop_column("webhook_urls", "household_id")
op.drop_constraint(None, "users", type_="foreignkey")
op.drop_index(op.f("ix_users_household_id"), table_name="users")
op.drop_column("users", "household_id")
op.drop_constraint(None, "recipe_actions", type_="foreignkey")
op.drop_index(op.f("ix_recipe_actions_household_id"), table_name="recipe_actions")
op.drop_column("recipe_actions", "household_id")
op.drop_constraint(None, "invite_tokens", type_="foreignkey")
op.drop_index(op.f("ix_invite_tokens_household_id"), table_name="invite_tokens")
op.drop_column("invite_tokens", "household_id")
op.drop_constraint(None, "group_meal_plan_rules", type_="foreignkey")
op.drop_index(op.f("ix_group_meal_plan_rules_household_id"), table_name="group_meal_plan_rules")
op.drop_column("group_meal_plan_rules", "household_id")
op.drop_constraint(None, "group_events_notifiers", type_="foreignkey")
op.drop_index(op.f("ix_group_events_notifiers_household_id"), table_name="group_events_notifiers")
op.drop_column("group_events_notifiers", "household_id")
op.drop_constraint(None, "cookbooks", type_="foreignkey")
op.drop_index(op.f("ix_cookbooks_household_id"), table_name="cookbooks")
op.drop_column("cookbooks", "household_id")
op.drop_constraint("cookbook_slug_group_id_key", "cookbooks", type_="unique")
op.drop_index(op.f("ix_household_preferences_household_id"), table_name="household_preferences")
op.drop_index(op.f("ix_household_preferences_created_at"), table_name="household_preferences")
op.drop_table("household_preferences")
op.drop_index(op.f("ix_households_slug"), table_name="households")
op.drop_index(op.f("ix_households_name"), table_name="households")
op.drop_index(op.f("ix_households_group_id"), table_name="households")
op.drop_index(op.f("ix_households_created_at"), table_name="households")
op.drop_table("households")
# ### end Alembic commands ###

View File

@@ -0,0 +1,75 @@
"""added household recipe lock setting and household management user permission
Revision ID: be568e39ffdf
Revises: feecc8ffb956
Create Date: 2024-09-02 21:39:49.210355
"""
from textwrap import dedent
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "be568e39ffdf"
down_revision = "feecc8ffb956"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def populate_defaults():
if op.get_context().dialect.name == "postgresql":
TRUE = "TRUE"
FALSE = "FALSE"
else:
TRUE = "1"
FALSE = "0"
op.execute(
dedent(
f"""
UPDATE household_preferences
SET lock_recipe_edits_from_other_households = {TRUE}
WHERE lock_recipe_edits_from_other_households IS NULL
"""
)
)
op.execute(
dedent(
f"""
UPDATE users
SET can_manage_household = {FALSE}
WHERE can_manage_household IS NULL AND admin = {FALSE}
"""
)
)
op.execute(
dedent(
f"""
UPDATE users
SET can_manage_household = {TRUE}
WHERE can_manage_household IS NULL AND admin = {TRUE}
"""
)
)
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column(
"household_preferences",
sa.Column("lock_recipe_edits_from_other_households", sa.Boolean(), nullable=True),
)
op.add_column("users", sa.Column("can_manage_household", sa.Boolean(), nullable=True))
# ### end Alembic commands ###
populate_defaults()
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("users", "can_manage_household")
op.drop_column("household_preferences", "lock_recipe_edits_from_other_households")
# ### end Alembic commands ###

View File

@@ -0,0 +1,53 @@
"""add households filter to meal plans
Revision ID: 1fe4bd37ccc8
Revises: be568e39ffdf
Create Date: 2024-09-18 14:52:55.831540
"""
import sqlalchemy as sa
import mealie.db.migration_types
from alembic import op
# revision identifiers, used by Alembic.
revision = "1fe4bd37ccc8"
down_revision: str | None = "be568e39ffdf"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table(
"plan_rules_to_households",
sa.Column("group_plan_rule_id", mealie.db.migration_types.GUID(), nullable=True),
sa.Column("household_id", mealie.db.migration_types.GUID(), nullable=True),
sa.ForeignKeyConstraint(
["group_plan_rule_id"],
["group_meal_plan_rules.id"],
),
sa.ForeignKeyConstraint(
["household_id"],
["households.id"],
),
sa.UniqueConstraint("group_plan_rule_id", "household_id", name="group_plan_rule_id_household_id_key"),
)
with op.batch_alter_table("plan_rules_to_households", schema=None) as batch_op:
batch_op.create_index(
batch_op.f("ix_plan_rules_to_households_group_plan_rule_id"), ["group_plan_rule_id"], unique=False
)
batch_op.create_index(batch_op.f("ix_plan_rules_to_households_household_id"), ["household_id"], unique=False)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("plan_rules_to_households", schema=None) as batch_op:
batch_op.drop_index(batch_op.f("ix_plan_rules_to_households_household_id"))
batch_op.drop_index(batch_op.f("ix_plan_rules_to_households_group_plan_rule_id"))
op.drop_table("plan_rules_to_households")
# ### end Alembic commands ###

View File

@@ -0,0 +1,39 @@
"""'add the rest of the schema.org nutrition properties'
Revision ID: 602927e1013e
Revises: 1fe4bd37ccc8
Create Date: 2024-10-01 14:17:00.611398
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "602927e1013e"
down_revision: str | None = "1fe4bd37ccc8"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("recipe_nutrition", schema=None) as batch_op:
batch_op.add_column(sa.Column("cholesterol_content", sa.String(), nullable=True))
batch_op.add_column(sa.Column("saturated_fat_content", sa.String(), nullable=True))
batch_op.add_column(sa.Column("trans_fat_content", sa.String(), nullable=True))
batch_op.add_column(sa.Column("unsaturated_fat_content", sa.String(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("recipe_nutrition", schema=None) as batch_op:
batch_op.drop_column("unsaturated_fat_content")
batch_op.drop_column("trans_fat_content")
batch_op.drop_column("saturated_fat_content")
batch_op.drop_column("cholesterol_content")
# ### end Alembic commands ###

View File

@@ -0,0 +1,188 @@
"""added query_filter_string to cookbook and mealplan
Revision ID: 86054b40fd06
Revises: 602927e1013e
Create Date: 2024-10-08 21:17:31.601903
"""
import sqlalchemy as sa
from sqlalchemy import orm
from alembic import op
from mealie.db.models._model_utils import guid
# revision identifiers, used by Alembic.
revision = "86054b40fd06"
down_revision: str | None = "602927e1013e"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
# Intermediate table definitions
class SqlAlchemyBase(orm.DeclarativeBase):
pass
class Category(SqlAlchemyBase):
__tablename__ = "categories"
id: orm.Mapped[guid.GUID] = orm.mapped_column(guid.GUID, primary_key=True, default=guid.GUID.generate)
class Tag(SqlAlchemyBase):
__tablename__ = "tags"
id: orm.Mapped[guid.GUID] = orm.mapped_column(guid.GUID, primary_key=True, default=guid.GUID.generate)
class Tool(SqlAlchemyBase):
__tablename__ = "tools"
id: orm.Mapped[guid.GUID] = orm.mapped_column(guid.GUID, primary_key=True, default=guid.GUID.generate)
class Household(SqlAlchemyBase):
__tablename__ = "households"
id: orm.Mapped[guid.GUID] = orm.mapped_column(guid.GUID, primary_key=True, default=guid.GUID.generate)
cookbooks_to_categories = sa.Table(
"cookbooks_to_categories",
SqlAlchemyBase.metadata,
sa.Column("cookbook_id", guid.GUID, sa.ForeignKey("cookbooks.id"), index=True),
sa.Column("category_id", guid.GUID, sa.ForeignKey("categories.id"), index=True),
)
cookbooks_to_tags = sa.Table(
"cookbooks_to_tags",
SqlAlchemyBase.metadata,
sa.Column("cookbook_id", guid.GUID, sa.ForeignKey("cookbooks.id"), index=True),
sa.Column("tag_id", guid.GUID, sa.ForeignKey("tags.id"), index=True),
)
cookbooks_to_tools = sa.Table(
"cookbooks_to_tools",
SqlAlchemyBase.metadata,
sa.Column("cookbook_id", guid.GUID, sa.ForeignKey("cookbooks.id"), index=True),
sa.Column("tool_id", guid.GUID, sa.ForeignKey("tools.id"), index=True),
)
plan_rules_to_categories = sa.Table(
"plan_rules_to_categories",
SqlAlchemyBase.metadata,
sa.Column("group_plan_rule_id", guid.GUID, sa.ForeignKey("group_meal_plan_rules.id"), index=True),
sa.Column("category_id", guid.GUID, sa.ForeignKey("categories.id"), index=True),
)
plan_rules_to_tags = sa.Table(
"plan_rules_to_tags",
SqlAlchemyBase.metadata,
sa.Column("plan_rule_id", guid.GUID, sa.ForeignKey("group_meal_plan_rules.id"), index=True),
sa.Column("tag_id", guid.GUID, sa.ForeignKey("tags.id"), index=True),
)
plan_rules_to_households = sa.Table(
"plan_rules_to_households",
SqlAlchemyBase.metadata,
sa.Column("group_plan_rule_id", guid.GUID, sa.ForeignKey("group_meal_plan_rules.id"), index=True),
sa.Column("household_id", guid.GUID, sa.ForeignKey("households.id"), index=True),
)
class CookBook(SqlAlchemyBase):
__tablename__ = "cookbooks"
id: orm.Mapped[guid.GUID] = orm.mapped_column(guid.GUID, primary_key=True, default=guid.GUID.generate)
query_filter_string: orm.Mapped[str] = orm.mapped_column(sa.String, nullable=False, default="")
categories: orm.Mapped[list[Category]] = orm.relationship(
Category, secondary=cookbooks_to_categories, single_parent=True
)
require_all_categories: orm.Mapped[bool | None] = orm.mapped_column(sa.Boolean, default=True)
tags: orm.Mapped[list[Tag]] = orm.relationship(Tag, secondary=cookbooks_to_tags, single_parent=True)
require_all_tags: orm.Mapped[bool | None] = orm.mapped_column(sa.Boolean, default=True)
tools: orm.Mapped[list[Tool]] = orm.relationship(Tool, secondary=cookbooks_to_tools, single_parent=True)
require_all_tools: orm.Mapped[bool | None] = orm.mapped_column(sa.Boolean, default=True)
class GroupMealPlanRules(SqlAlchemyBase):
__tablename__ = "group_meal_plan_rules"
id: orm.Mapped[guid.GUID] = orm.mapped_column(guid.GUID, primary_key=True, default=guid.GUID.generate)
query_filter_string: orm.Mapped[str] = orm.mapped_column(sa.String, nullable=False, default="")
categories: orm.Mapped[list[Category]] = orm.relationship(Category, secondary=plan_rules_to_categories)
tags: orm.Mapped[list[Tag]] = orm.relationship(Tag, secondary=plan_rules_to_tags)
households: orm.Mapped[list["Household"]] = orm.relationship("Household", secondary=plan_rules_to_households)
def migrate_cookbooks():
bind = op.get_bind()
session = orm.Session(bind=bind)
cookbooks = session.query(CookBook).all()
for cookbook in cookbooks:
parts = []
if cookbook.categories:
relop = "CONTAINS ALL" if cookbook.require_all_categories else "IN"
vals = ",".join([f'"{cat.id}"' for cat in cookbook.categories])
parts.append(f"recipe_category.id {relop} [{vals}]")
if cookbook.tags:
relop = "CONTAINS ALL" if cookbook.require_all_tags else "IN"
vals = ",".join([f'"{tag.id}"' for tag in cookbook.tags])
parts.append(f"tags.id {relop} [{vals}]")
if cookbook.tools:
relop = "CONTAINS ALL" if cookbook.require_all_tools else "IN"
vals = ",".join([f'"{tool.id}"' for tool in cookbook.tools])
parts.append(f"tools.id {relop} [{vals}]")
cookbook.query_filter_string = " AND ".join(parts)
session.commit()
def migrate_mealplan_rules():
bind = op.get_bind()
session = orm.Session(bind=bind)
rules = session.query(GroupMealPlanRules).all()
for rule in rules:
parts = []
if rule.categories:
vals = ",".join([f'"{cat.id}"' for cat in rule.categories])
parts.append(f"recipe_category.id CONTAINS ALL [{vals}]")
if rule.tags:
vals = ",".join([f'"{tag.id}"' for tag in rule.tags])
parts.append(f"tags.id CONTAINS ALL [{vals}]")
if rule.households:
vals = ",".join([f'"{household.id}"' for household in rule.households])
parts.append(f"household_id IN [{vals}]")
rule.query_filter_string = " AND ".join(parts)
session.commit()
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("cookbooks", schema=None) as batch_op:
batch_op.add_column(sa.Column("query_filter_string", sa.String(), nullable=False, server_default=""))
with op.batch_alter_table("group_meal_plan_rules", schema=None) as batch_op:
batch_op.add_column(sa.Column("query_filter_string", sa.String(), nullable=False, server_default=""))
# ### end Alembic commands ###
migrate_cookbooks()
migrate_mealplan_rules()
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("group_meal_plan_rules", schema=None) as batch_op:
batch_op.drop_column("query_filter_string")
with op.batch_alter_table("cookbooks", schema=None) as batch_op:
batch_op.drop_column("query_filter_string")
# ### end Alembic commands ###

View File

@@ -0,0 +1,33 @@
"""'Add summary to recipe instructions'
Revision ID: 3897397b4631
Revises: 86054b40fd06
Create Date: 2024-10-20 09:47:46.844436
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "3897397b4631"
down_revision: str | None = "86054b40fd06"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("recipe_instructions", schema=None) as batch_op:
batch_op.add_column(sa.Column("summary", sa.String(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("recipe_instructions", schema=None) as batch_op:
batch_op.drop_column("summary")
# ### end Alembic commands ###

View File

@@ -0,0 +1,72 @@
"""add recipe yield quantity
Revision ID: b1020f328e98
Revises: 3897397b4631
Create Date: 2024-10-23 15:50:59.888793
"""
import sqlalchemy as sa
from sqlalchemy import orm
from alembic import op
from mealie.db.models._model_utils.guid import GUID
from mealie.services.scraper.cleaner import clean_yield
# revision identifiers, used by Alembic.
revision = "b1020f328e98"
down_revision: str | None = "3897397b4631"
branch_labels: str | tuple[str, ...] | None = None
depends_on: str | tuple[str, ...] | None = None
# Intermediate table definitions
class SqlAlchemyBase(orm.DeclarativeBase):
pass
class RecipeModel(SqlAlchemyBase):
__tablename__ = "recipes"
id: orm.Mapped[GUID] = orm.mapped_column(GUID, primary_key=True, default=GUID.generate)
recipe_yield: orm.Mapped[str | None] = orm.mapped_column(sa.String)
recipe_yield_quantity: orm.Mapped[float] = orm.mapped_column(sa.Float, index=True, default=0)
recipe_servings: orm.Mapped[float] = orm.mapped_column(sa.Float, index=True, default=0)
def parse_recipe_yields():
bind = op.get_bind()
session = orm.Session(bind=bind)
for recipe in session.query(RecipeModel).all():
try:
recipe.recipe_servings, recipe.recipe_yield_quantity, recipe.recipe_yield = clean_yield(recipe.recipe_yield)
except Exception:
recipe.recipe_servings = 0
recipe.recipe_yield_quantity = 0
session.commit()
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("recipes", schema=None) as batch_op:
batch_op.add_column(sa.Column("recipe_yield_quantity", sa.Float(), nullable=False, server_default="0"))
batch_op.create_index(batch_op.f("ix_recipes_recipe_yield_quantity"), ["recipe_yield_quantity"], unique=False)
batch_op.add_column(sa.Column("recipe_servings", sa.Float(), nullable=False, server_default="0"))
batch_op.create_index(batch_op.f("ix_recipes_recipe_servings"), ["recipe_servings"], unique=False)
# ### end Alembic commands ###
parse_recipe_yields()
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("recipes", schema=None) as batch_op:
batch_op.drop_index(batch_op.f("ix_recipes_recipe_servings"))
batch_op.drop_column("recipe_servings")
batch_op.drop_index(batch_op.f("ix_recipes_recipe_yield_quantity"))
batch_op.drop_column("recipe_yield_quantity")
# ### end Alembic commands ###

View File

@@ -1,4 +1,8 @@
preserve_hierarchy: false
pull_request_title: "chore(l10n): New Crowdin updates"
pull_request_labels: [
"l10n"
]
files:
- source: /frontend/lang/messages/en-US.json
translation: /frontend/lang/messages/%locale%.json

View File

@@ -1,5 +1,8 @@
import json
from fastapi import FastAPI
from freezegun import freeze_time
from mealie.app import app
from mealie.core.config import determine_data_dir
@@ -36,11 +39,12 @@ HTML_TEMPLATE = """<!-- Custom HTML site displayed as the Home chapter -->
HTML_PATH = DATA_DIR.parent.parent.joinpath("docs/docs/overrides/api.html")
def generate_api_docs(my_app):
def generate_api_docs(my_app: FastAPI):
with open(HTML_PATH, "w") as fd:
text = HTML_TEMPLATE.replace("MY_SPECIFIC_TEXT", json.dumps(my_app.openapi()))
fd.write(text)
if __name__ == "__main__":
generate_api_docs(app)
with freeze_time("2024-01-20T17:00:55Z"):
generate_api_docs(app)

View File

@@ -67,7 +67,7 @@ def rename_non_compliant_paths():
kabab case.
"""
ignore_files = ["DS_Store", ".gitkeep"]
ignore_files = ["DS_Store", ".gitkeep", "af-ZA.json", "en-US.json"]
ignore_extensions = [".pyc", ".pyo", ".py"]

View File

@@ -4,7 +4,7 @@ from pathlib import Path
from fastapi import FastAPI
from jinja2 import Template
from pydantic import BaseModel, ConfigDict
from utils import PROJECT_DIR, CodeTemplates, HTTPRequest, RouteObject, RequestType
from utils import PROJECT_DIR, CodeTemplates, HTTPRequest, RouteObject
CWD = Path(__file__).parent
@@ -17,9 +17,16 @@ class PathObject(BaseModel):
http_verbs: list[HTTPRequest]
def get_path_objects(app: FastAPI):
paths = []
def force_include_in_schema(app: FastAPI):
# clear schema cache
app.openapi_schema = None
for route in app.routes:
route.include_in_schema = True
def get_path_objects(app: FastAPI):
force_include_in_schema(app)
paths = []
for key, value in app.openapi().items():
if key == "paths":
for key, value2 in value.items():

View File

@@ -35,18 +35,25 @@ LOCALE_DATA: dict[str, LocaleData] = {
"es-ES": LocaleData(name="Español (Spanish)"),
"fi-FI": LocaleData(name="Suomi (Finnish)"),
"fr-FR": LocaleData(name="Français (French)"),
"fr-BE": LocaleData(name="Belge (Belgian)"),
"gl-ES": LocaleData(name="Galego (Galician)"),
"he-IL": LocaleData(name="עברית (Hebrew)", dir="rtl"),
"hr-HR": LocaleData(name="Hrvatski (Croatian)"),
"hu-HU": LocaleData(name="Magyar (Hungarian)"),
"is-IS": LocaleData(name="Íslenska (Icelandic)"),
"it-IT": LocaleData(name="Italiano (Italian)"),
"ja-JP": LocaleData(name="日本語 (Japanese)"),
"ko-KR": LocaleData(name="한국어 (Korean)"),
"no-NO": LocaleData(name="Norsk (Norwegian)"),
"lt-LT": LocaleData(name="Lietuvių (Lithuanian)"),
"lv-LV": LocaleData(name="Latviešu (Latvian)"),
"nl-NL": LocaleData(name="Nederlands (Dutch)"),
"no-NO": LocaleData(name="Norsk (Norwegian)"),
"pl-PL": LocaleData(name="Polski (Polish)"),
"pt-BR": LocaleData(name="Português do Brasil (Brazilian Portuguese)"),
"pt-PT": LocaleData(name="Português (Portuguese)"),
"ro-RO": LocaleData(name="Română (Romanian)"),
"ru-RU": LocaleData(name="Pусский (Russian)"),
"sl-SI": LocaleData(name="Slovenščina (Slovenian)"),
"sr-SP": LocaleData(name="српски (Serbian)"),
"sv-SE": LocaleData(name="Svenska (Swedish)"),
"tr-TR": LocaleData(name="Türkçe (Turkish)"),

View File

@@ -1,3 +1,4 @@
import re
from pathlib import Path
from jinja2 import Template
@@ -64,7 +65,112 @@ def generate_global_components_types() -> None:
# Pydantic To Typescript Generator
def generate_typescript_types() -> None:
def generate_typescript_types() -> None: # noqa: C901
def contains_number(s: str) -> bool:
return bool(re.search(r"\d", s))
def remove_numbers(s: str) -> str:
return re.sub(r"\d", "", s)
def extract_type_name(line: str) -> str:
# Looking for "export type EnumName = enumVal1 | enumVal2 | ..."
if not (line.startswith("export type") and "=" in line):
return ""
return line.split(" ")[2]
def extract_property_type_name(line: str) -> str:
# Looking for " fieldName: FieldType;" or " fieldName: FieldType & string;"
if not (line.startswith(" ") and ":" in line):
return ""
return line.split(":")[1].strip().split(";")[0]
def extract_interface_name(line: str) -> str:
# Looking for "export interface InterfaceName {"
if not (line.startswith("export interface") and "{" in line):
return ""
return line.split(" ")[2]
def is_comment_line(line: str) -> bool:
s = line.strip()
return s.startswith("/*") or s.startswith("*")
def clean_output_file(file: Path) -> None:
"""
json2ts generates duplicate types off of our enums and appends a number to the end of the type name.
Our Python code (hopefully) doesn't have any duplicate enum names, or types with numbers in them,
so we can safely remove the numbers.
To do this, we read the output line-by-line and replace any type names that contain numbers with
the same type name, but without the numbers.
Note: the issue arrises from the JSON package json2ts, not the Python package pydantic2ts,
otherwise we could just fix pydantic2ts.
"""
# First pass: build a map of type names to their numberless counterparts and lines to skip
replacement_map = {}
lines_to_skip = set()
wait_for_semicolon = False
wait_for_close_bracket = False
skip_comments = False
with open(file) as f:
for i, line in enumerate(f.readlines()):
if wait_for_semicolon:
if ";" in line:
wait_for_semicolon = False
lines_to_skip.add(i)
continue
if wait_for_close_bracket:
if "}" in line:
wait_for_close_bracket = False
lines_to_skip.add(i)
continue
if type_name := extract_type_name(line):
if not contains_number(type_name):
continue
replacement_map[type_name] = remove_numbers(type_name)
if ";" not in line:
wait_for_semicolon = True
lines_to_skip.add(i)
elif type_name := extract_interface_name(line):
if not contains_number(type_name):
continue
replacement_map[type_name] = remove_numbers(type_name)
if "}" not in line:
wait_for_close_bracket = True
lines_to_skip.add(i)
elif skip_comments and is_comment_line(line):
lines_to_skip.add(i)
# we've passed the opening comments and empty line at the header
elif not skip_comments and not line.strip():
skip_comments = True
# Second pass: rewrite or remove lines as needed.
# We have to do two passes here because definitions don't always appear in the same order as their usage.
lines = []
with open(file) as f:
for i, line in enumerate(f.readlines()):
if i in lines_to_skip:
continue
if type_name := extract_property_type_name(line):
if type_name in replacement_map:
line = line.replace(type_name, replacement_map[type_name])
lines.append(line)
with open(file, "w") as f:
f.writelines(lines)
def path_to_module(path: Path):
str_path: str = str(path)
@@ -98,9 +204,10 @@ def generate_typescript_types() -> None:
try:
path_as_module = path_to_module(module)
generate_typescript_defs(path_as_module, str(out_path), exclude=("MealieModel")) # type: ignore
except Exception as e:
clean_output_file(out_path)
except Exception:
failed_modules.append(module)
log.error(f"Module Error: {e}")
log.exception(f"Module Error: {module}")
log.debug("\n📁 Skipped Directories:")
for skipped_dir in skipped_dirs:

View File

@@ -4,4 +4,4 @@ CWD = Path(__file__).parent
{% for f in data.children %}
{{ f.var }} = CWD / "{{ f.path }}"
{% endfor %}
{% endfor %}

View File

@@ -1,10 +1,9 @@
import logging
import re
import subprocess
from dataclasses import dataclass
from pathlib import Path
import black
import isort
from jinja2 import Template
from rich.logging import RichHandler
@@ -23,10 +22,12 @@ def render_python_template(template_file: Path | str, dest: Path, data: dict):
text = tplt.render(data=data)
text = black.format_str(text, mode=black.FileMode())
dest.write_text(text)
isort.file(dest)
# lint/format file with Ruff
log.info(f"Formatting {dest}")
subprocess.run(["poetry", "run", "ruff", "check", str(dest), "--fix"])
subprocess.run(["poetry", "run", "ruff", "format", str(dest)])
@dataclass

View File

@@ -6,11 +6,11 @@
{{ recipe.description }}
## Ingredients
{% for ingredient in recipe.recipeIngredient %}
{% for ingredient in recipe.recipeIngredient %}
- [ ] {{ ingredient }} {% endfor %}
## Instructions
{% for step in recipe.recipeInstructions %}
{% for step in recipe.recipeInstructions %}
- [ ] {{ step.text }} {% endfor %}
{% for note in recipe.notes %}
@@ -21,4 +21,4 @@
Tags: {{ recipe.tags }}
Categories: {{ recipe.categories }}
Original URL: {{ recipe.orgURL }}
Original URL: {{ recipe.orgURL }}

View File

@@ -173,7 +173,7 @@ def recipe_data(name: str, slug: str, id: str, userId: str, groupId: str) -> dic
"dateAdded": "2022-09-03",
"dateUpdated": "2022-09-10T15:18:19.866085",
"createdAt": "2022-09-03T18:31:17.488118",
"updateAt": "2022-09-10T15:18:19.869630",
"updatedAt": "2022-09-10T15:18:19.869630",
"recipeInstructions": [
{
"id": "60ae53a3-b3ff-40ee-bae3-89fea0b1c637",

View File

@@ -78,6 +78,7 @@ RUN echo "crfpp-container"
# Production Image
###############################################
FROM python-base as production
LABEL org.opencontainers.image.source="https://github.com/mealie-recipes/mealie"
ENV PRODUCTION=true
ENV TESTING=false
@@ -92,6 +93,9 @@ RUN apt-get update \
libldap-2.5 \
&& rm -rf /var/lib/apt/lists/*
# create directory used for Docker Secrets
RUN mkdir -p /run/secrets
# copying poetry and venv into image
COPY --from=builder-base $POETRY_HOME $POETRY_HOME
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
@@ -104,7 +108,6 @@ COPY --from=crfpp /usr/local/bin/crf_test /usr/local/bin/crf_test
# copy backend
COPY ./mealie $MEALIE_HOME/mealie
COPY ./poetry.lock ./pyproject.toml $MEALIE_HOME/
COPY ./gunicorn_conf.py $MEALIE_HOME
# Alembic
COPY ./alembic $MEALIE_HOME/alembic
@@ -128,7 +131,6 @@ HEALTHCHECK CMD python $MEALIE_HOME/mealie/scripts/healthcheck.py || exit 1
# ----------------------------------
# Copy Frontend
# copying caddy into image
ENV STATIC_FILES=/spa/static
COPY --from=builder /app/dist ${STATIC_FILES}

View File

@@ -1,4 +1,3 @@
version: "3.4"
services:
mailpit:
image: axllent/mailpit:latest

View File

@@ -1,4 +1,3 @@
version: "3.4"
services:
mealie:
container_name: mealie
@@ -14,6 +13,7 @@ services:
- 9091:9000
environment:
ALLOW_SIGNUP: "false"
LOG_LEVEL: "DEBUG"
DB_ENGINE: sqlite # Optional: 'sqlite', 'postgres'
# =====================================
@@ -23,13 +23,6 @@ services:
POSTGRES_SERVER: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: mealie
# =====================================
# Web Concurrency
WEB_GUNICORN: "false"
WORKERS_PER_CORE: 0.5
MAX_WORKERS: 1
WEB_CONCURRENCY: 1
# =====================================
# Email Configuration
# SMTP_HOST=

View File

@@ -33,20 +33,12 @@ init() {
# Activate our virtual environment here
. /opt/pysetup/.venv/bin/activate
# Initialize Database Prerun
poetry run python /app/mealie/db/init_db.py
}
change_user
init
GUNICORN_PORT=${API_PORT:-9000}
# Start API
hostip=`/sbin/ip route|awk '/default/ { print $3 }'`
if [ "$WEB_GUNICORN" = 'true' ]; then
echo "Starting Gunicorn"
exec gunicorn mealie.app:app -b 0.0.0.0:$GUNICORN_PORT --forwarded-allow-ips=$hostip -k uvicorn.workers.UvicornWorker -c /app/gunicorn_conf.py --preload
else
exec uvicorn mealie.app:app --host 0.0.0.0 --forwarded-allow-ips=$hostip --port $GUNICORN_PORT
fi
HOST_IP=`/sbin/ip route|awk '/default/ { print $3 }'`
exec python /app/mealie/main.py

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,386 @@
{
"name": "Mealie Backup",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"id": "2ec440b4-0668-4bc0-aa66-4023d6379f28",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.1,
"position": [
240,
660
]
},
{
"parameters": {
"method": "POST",
"url": "https://mealie.example/api/admin/backups",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {}
},
"id": "235f26f7-0f45-479e-a7e3-bf8cda7c8426",
"name": "Run Backup ",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
520,
520
],
"notesInFlow": false,
"credentials": {
"httpHeaderAuth": {
"id": "GSL12tNi3MPvTZux",
"name": "Mealie API"
}
},
"notes": "Send an API call to run the backup"
},
{
"parameters": {
"method": "POST",
"url": "https://ntfy.example/backups",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Title",
"value": "Meale Backup Failure"
},
{
"name": "Priority",
"value": "urgent"
},
{
"name": "Tags",
"value": "warning"
},
{
"name": "Actions",
"value": "view, Open Mealie, https://mealie.example/admin/backups; view, Open n8n, https://n8n.example"
}
]
},
"sendBody": true,
"contentType": "raw",
"body": "\"Full Panic!\"",
"options": {}
},
"id": "40ba81a5-5741-4b15-98af-1a9e6b34f997",
"name": "Ntfy Warning",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
1000,
520
],
"onError": "continueRegularOutput"
},
{
"parameters": {
"url": "https://mealie.example/api/admin/backups",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {}
},
"id": "b75571d0-d926-440c-897f-55b89c6a5080",
"name": "Get all backups",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
520,
820
],
"credentials": {
"httpHeaderAuth": {
"id": "GSL12tNi3MPvTZux",
"name": "Mealie API"
}
}
},
{
"parameters": {
"fieldToSplitOut": "imports",
"options": {}
},
"id": "943d0e83-682b-4500-9faf-53284cfb02c6",
"name": "Split Out",
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
720,
820
]
},
{
"parameters": {
"jsCode": "// Get input data\nconst inputData = items.map(item => item.json);\n\n// Sort the data based on the 'date' field in descending order\ninputData.sort((a, b) => new Date(b.date) - new Date(a.date));\n\n// Get all records except the latest 7\nconst allExceptLatest7 = inputData.slice(7);\n\n// Map the output data back to the required format\nreturn allExceptLatest7.map(record => ({ json: record }));\n"
},
"id": "64eae81d-fdb6-44f7-9a2d-eff8d1763281",
"name": "Code",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
860,
820
]
},
{
"parameters": {
"method": "DELETE",
"url": "=https://mealie.example/api/admin/backups/{{ $json.name }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {}
},
"id": "1148eeb8-4860-46df-8f61-0e85ea1e0e89",
"name": "Delete Oldies",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
1040,
820
],
"credentials": {
"httpHeaderAuth": {
"id": "GSL12tNi3MPvTZux",
"name": "Mealie API"
}
}
},
{
"parameters": {
"content": "Sends API Call to run backup",
"height": 225,
"width": 226,
"color": 4
},
"id": "cd2cb5db-87c1-40d8-a746-e61ace231987",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
460,
460
]
},
{
"parameters": {
"content": "Is there an error?",
"height": 225,
"width": 231,
"color": 3
},
"id": "0bebecbe-903e-4a69-bb1a-35619e68b540",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
700,
460
]
},
{
"parameters": {
"content": "Send alert to NTFY",
"height": 225,
"width": 229
},
"id": "0b732adb-8a84-456d-b26d-5fc5ee5a4cae",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
940,
460
]
},
{
"parameters": {
"content": "Gets all backups in Mealie",
"height": 225,
"width": 226,
"color": 4
},
"id": "99c6886b-6a07-4b51-b395-d4bbcbde7d18",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
460,
760
]
},
{
"parameters": {
"content": "Splits the data, and parses the output",
"height": 225,
"width": 281
},
"id": "549555f8-0aed-42c0-9693-9c0d93902796",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
700,
760
]
},
{
"parameters": {
"content": "Deletes all but the last 7 backups",
"height": 225,
"width": 229
},
"id": "bcc5f0ba-73e9-42d7-b01b-c32f9f69f2f7",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
1000,
760
]
},
{
"parameters": {
"content": "Run every day a 01:00",
"height": 225,
"width": 226,
"color": 4
},
"id": "ce797062-d727-43e3-a27f-e29b13ad3c9a",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
180,
600
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
},
"conditions": [
{
"id": "8b00bb85-827f-4f2f-813e-db0d25e927d3",
"leftValue": "={{ $json.error }}",
"rightValue": "",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "fefd3e8b-9b71-490a-82e3-25e5468a4135",
"name": "Error?",
"type": "n8n-nodes-base.filter",
"typeVersion": 2,
"position": [
760,
520
]
}
],
"pinData": {},
"connections": {
"Schedule Trigger": {
"main": [
[
{
"node": "Run Backup ",
"type": "main",
"index": 0
},
{
"node": "Get all backups",
"type": "main",
"index": 0
}
]
]
},
"Run Backup ": {
"main": [
[
{
"node": "Error?",
"type": "main",
"index": 0
}
]
]
},
"Get all backups": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Code": {
"main": [
[
{
"node": "Delete Oldies",
"type": "main",
"index": 0
}
]
]
},
"Error?": {
"main": [
[
{
"node": "Ntfy Warning",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "68e3e469-3ddb-4838-b09d-3c69fdd851f5",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "630eefaa8c490b9c5221d83a182af6450c2c3efaf4b580b8ac348631abfe1aeb"
},
"id": "whloxeXkdBWWi2Uj",
"tags": []
}

View File

@@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24">
<path fill="rgb(229,131,37)" d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" />
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 259 B

After

Width:  |  Height:  |  Size: 260 B

View File

@@ -1,88 +0,0 @@
# v0.1.0 - Initial Beta
### Bug Fixes
- Fixed Can't delete recipe after changing name - Closes Closes #67
- Fixed No image when added by URL, and can't add an image - Closes Closes #66
- Fixed Images saved with no way to delete when add recipe via URL fails - Closes Closes #43
### Features
- Additional Language Support
- Improved deployment documentation
- Additional database! SQlite is now supported! - Closes #48
- All site data is now backed up.
- Support for Prep Time, Total Time, and Cook Time field - Closes #63
- New backup import process with support for themes and site settings
- **BETA** ARM support! - Closes #69
### Code / Developer Improvements
- Unified Database Access Layers
- Poetry / pyproject.toml support over requirements.txt
- Local development without database is now possible!
- Local mkdocs server added to docker-compose.dev.yml
- Major code refactoring to support new database layer
- Global variable refactor
### Breaking Changes
- Internal docker port is now 80 instead of 9000. You MUST remap the internal port to connect to the UI.
!!! error "Breaking Changes"
As I've adopted the SQL database model I find that using 2 different types of databases will inevitably hinder development. As such after release v0.1.0 support for mongoDB will no longer be available. Prior to upgrading to v0.2.0 you will need to export your site and import after updating. This should be a painless process and require minimal intervention on the users part. Moving forward we will do our best to minimize changes that require user intervention like this and make updates a smooth process.
## v0.0.2 - Pre-release Second Patch
A quality update with major props to [zackbcom](https://github.com/zackbcom) for working hard on making the theming just that much better!
### Bug Fixes
- Fixed empty backup failure without markdown template
- Fixed opacity issues with marked steps - [mtoohey31](https://github.com/mtoohey31)
- Fixed hot-reloading development environment - [grssmnn](https://github.com/grssmnn)
- Fixed recipe not saving without image - Closes #7 + Closes #54
- Fixed parsing error on image property null - Closes #43
### General Improvements
- Added Confirmation component to deleting recipes - [zackbcom](https://github.com/zackbcom)
- Updated Theme backend - [zackbcom](https://github.com/zackbcom)
- Added Persistent storage to vuex - [zackbcom](https://github.com/zackbcom)
- General Color/Theme Improvements
- More consistent UI
- More minimalist coloring
- Added API key extras to Recipe Data - [See Documentation](/api/api-usage/)
- Users can now add custom json key/value pairs to all recipes via the editor for access in 3rd part applications. For example users can add a "message" field in the extras that can be accessed on API calls to play a message over google home.
- Improved image rendering (nearly x2 speed)
- Improved documentation + API Documentation
- Improved recipe parsing - Closes #51
- User feedback on backup importing
## v0.0.1 - Pre-release Patch
### General
- Updated Favicon
- Renamed Frontend Window
- Added Debug folder to dump scraper data prior to processing.
### Recipes
- Added user feedback on bad URL
- Better backend data validation for updating recipes, avoid small syntax errors corrupting database entry. [Closes #8](https://github.com/mealie-recipes/mealie/issues/8)
- Fixed spacing Closes while editing new recipes in JSON
## v0.0.0 - Initial Pre-release
The initial pre-release. It should be semi-functional but does not include a lot of user feedback You may notice errors that have no user feedback and have no idea what went wrong.
### Recipes
- Automatic web scrapping for common recipe platforms
- Interactive API Documentation thanks to [FastAPI](https://fastapi.tiangolo.com/) and [Swagger](https://petstore.swagger.io/)
- UI Recipe Editor
- JSON Recipe Editor in browser
- Custom tags and categories
- Rate recipes
- Add notes to recipes
- Migration From Other Platforms
- Chowdown
### Meal Planner
- Random Meal plan generation based off categories
- Expose notes in the API to allow external applications to access relevant information for meal plans
### Database Import / Export
- Easily Import / Export your recipes from the UI
- Export recipes in markdown format for universal access
- Use the default or a custom jinja2 template

View File

@@ -1,72 +0,0 @@
# v0.2.1 - Hot Fixes!
### Features and Improvements
- Fixes upload image error when no photo was scrapped
- Fixes no last_recipe.json not updating
- Added markdown rendering for notes
- New notifications
- Minor UI improvements
- Recipe editor refactor
- Settings/Theme models refactor
### Development / Misc
- Added async file response for images, downloading files.
- Breakup recipe view component
# v0.2.0 - Now with Test!
This is, what I think, is a big release! Tons of new features and some great quality of life improvements with some additional features. You may find that I made promises to include some fixes/features in v0.2.0. The short of is I greatly underestimated the work needed to refactor the database to a usable state and integrate categories in a way that is useful for users. This shouldn't be taken as a sign that I'm dropping those feature requests or ignoring them. I felt it was better to push a release in the current state rather than drag on development to try and fulfil all of the promises I made.
!!! warning "Upgrade Process"
Database Breaks! I have not yet implemented a database migration service. As such, upgrades cannot be done by simply pulling the image. You must first export your recipes, update your deployment, and then import your recipes. This pattern is likely to be how upgrades take place prior to v1.0. After v1.0 migrations will be done automatically.
### Bug Fixes
- Remove ability to save recipe with no name
- Fixed data validation error on missing parameters
- Fixed failed database initialization at startup - Closes #98
- Fixed misaligned text on various cards
- Fixed bug that blocked opening links in new tabs - Closes #122
- Fixed router link bugs - Closes #122
- Fixed navigation on keyboard selection - Closes #139
### Features and Improvements
- 🐳 Dockerfile now 1/5 of the size!
- 🌎 UI Language Selection + Additional Supported Language
- **Home Page**
- By default your homepage will display only the recently added recipes. You can configured sections to show on the home-screen based of categories on the settings page.
- A new sidebar is now shown on the main page that lists all the categories in the database. Clicking on them navigates into a page that shows only recipes.
- Basic Sort functionality has been added. More options are on the way!
- **Meal Planner**
- Improved Search (Fuzzy Search)
- New Scheduled card support
- **Recipe Editor**
- Ingredients are now sortable via drag-and-drop
- Known categories now show up in the dropdown - Closes 83
- Initial code for data validation to prevent errors
- **Migrations**
- Card based redesign
- Upload from the UI
- Unified Chowdown / Nextcloud import process. (Removed Git as a dependency)
- **API**
- Category and Tag endpoints added
- Major Endpoint refactor
- Improved API documentation
- Link to your Local API is now on your `/settings/site`. You can use it to explore your API.
- **Style**
- Continued work on button/style unification
- Adding icons to buttons
- New Color Theme Picker UI
### Development
- Fixed Vetur config file. Autocomplete in VSCode works!
- File/Folder restructuring
- Added Prettier config
- Fixed incorrect layout code
- FastAPI Route tests for major operations - WIP (shallow testing)
### Breaking Changes
!!! error "Breaking Changes"
- API endpoints have been refactored to adhere to a more consistent standard. This is a WIP and more changes are likely to occur.
- Officially Dropped MongoDB Support
- Database Breaks! We have not yet implemented a database migration service. As such, upgrades cannot be done by simply pulling the image. You must first export your recipes, update your deployment, and then import your recipes. This pattern is likely to be how upgrades take place prior to v1.0. After v1.0 migrations will be done automatically.

View File

@@ -1,29 +0,0 @@
# v0.3.0
### Bug Fixes
- Fixed open search on `/` when in input. - Closes #174
- Error when importing recipe: KeyError: '@type' - Closes #145
- Fixed Import Issue - bhg.com - Closes #138
- Scraper not working with recipe containing HowToSection - Closes #73
### Features and Improvements
- Improved Nextcloud Imports
- Improved Recipe Parser!
- Open search with `/` hotkey!
- Database and App version are now split
- Unified and improved snackbar notifications
- New Category/Tag endpoints to filter all recipes by Category or Tag
- Category sidebar now has show/hide behavior on mobile
- Settings menu on mobile is improved
- **Meal Planner**
- You can now restrict recipe categories used for random meal-plan creation in the settings menu
- Recipe picker dialog will now display recipes when the search bar is empty
- Minor UI improvements
- **Shopping lists!** Shopping list can now be generated from a meal plan. Currently ingredients are split by recipes or there is a beta feature that attempts to sort them by similarity.
- **Recipe Viewer**
- Categories, Tags, and Notes will now be displayed below the steps on smaller screens
- **Recipe Editor**
- Text areas now auto grow to fit content
- Description, Steps, and Notes support Markdown! This includes inline html in Markdown.
- **Imports**
- A revamped dialog has been created to provide more information on restoring backups. Exceptions on the backend are now sent to the frontend and are easily viewable to see what went wrong when you restored a backup. This functionality will be ported over to the migrations in a future release.

View File

@@ -1,86 +0,0 @@
# v0.4.0 Whoa, What a Release!
**App Version: v0.4.0**
**Database Version: v0.4.0**
## Breaking Changes
!!! error "Breaking Changes"
#### Database
A new database will be created. You must export your data and then import it after upgrading.
#### Site Settings
With the addition of group settings and a re-write of the database layer of the application backend, there is no migration path for your current site settings. Webhooks Settings, Meal Plan Categories are now managed by groups. Site settings, mainly homepage settings, are now site specific and managed by administrators. When upgrading be sure to uncheck the settings when importing your old data.
#### ENV Variables
Names have been changed to be more consistent with industry standards. See the [Installation Page](/mealie/getting-started/install/) for new parameters.
## Bug Fixes
- Fixed Search Results Limited to 100 - #198
- Fixed recipes from marmiton.org not fully scrapped - #196
- Fixed Unable to get a page to load - #194
- Fixed Recipe's from Epicurious don't upload. - #193
- Fixed Edited blank recipe in meal plan is not saved - #184
- Fixed Create a new meal plan allows selection of an end date that is prior to the start date - #183
- Fixed Original URL not saved to imported recipe in 0.3.0-dev - #183
- Fixed "IndexError: list index out of range" when viewing shopping list for meal plan containing days without a recipe selected - #178
## Features and Improvements
### General
- Documentation Rewrite
- [New Demo Site!](https://mealie-demo.hay-kot.dev/)
- New Documentation
- Landing Page
- Custom Caddy Configuration
- User Management
- Introduction
- Updated Documentation
- Everything!
- The API Reference is now better embedded inside of the docs
- New default external port in documentation (Port 9000 -> 9925). This is only the port exposed by the host to the docker image. It doesn't change any existing functionality.
### User Authentication
- Authentication! Tons of stuff went into creating a flexible authentication platform for a lot of different use cases. Review the documentation for more information on how to use the authentication, and how everything works together. More complex management of recipes and user restrictions are in the works, but this is a great start! Some key features include
- Sign Up Links
- Admin and User Roles
- Password Change
- Group Management
- Create/Edit/Delete Restrictions
### Custom Pages
- You can now create custom pages that are displayed on the homepage sidebar to organize categories of recipes into pages. For example, if you have several categories that encompass "Entrée" you can group all those categories together under the "Entrée" page. See [Building Pages](/mealie/site-administration/building-pages/) for more information.
!!! tip
Note that this replaces the behavior of automatically adding categories to the sidebar.
### UI Improvements
- Completed Redesign of the Admin Panel
- Profile Pages
- Side Panel Menu
- Improved UI for Recipe Search
- Language selector is now displayed on all pages and does not require an account
### Recipe Data
- Recipe Database Refactoring. Tons of new information is now stored for recipes in the database. Not all is accessible via the UI, but it's coming.
- Nutrition Information
- calories
- fatContent
- fiberContent
- proteinContent
- sodiumContent
- sugarContent
- recipeCuisine has been added
- "categories" has been migrated to "recipeCategory" to adhere closer to the standard schema
- "tool" - a list of tools used for the recipe
### Behind the Scenes
- Removed CDN dependencies
- Database Model Refactoring
- Import/Export refactoring
- File/Folder Name Refactoring
- Development is now easier with a makefile
- Mealie is now a proper package using poetry
- Test refactoring
- Test Coverage 83% up from 75%!

View File

@@ -1,35 +0,0 @@
# v0.4.1
**App Version: v0.4.1**
**Database Version: v0.4.0**
!!! error "Breaking Changes"
#### Recipe Images
While it *shouldn't* be a breaking change, I feel it is important to note that you may experience issues with the new image migration. Recipe images are now minified, this is done on start-up, import, migration, and when a new recipe is created. The initial boot or load may be a bit slow if you have lots of recipes but you likely won't notice. What you may notice is that if your recipe slug and the image name do not match, you will encounter issues with your images showing up. This can be resolved by finding the image directory and rename it to the appropriate slug. I did fix multiple edge cases, but it is likely more exists. As always make a backup before you update!
On the plus side, this comes with a huge performance increase! 🎉
- Add markdown support for ingredients - Resolves #32
- Ingredients editor improvements
- Fix Tags/Categories render problems on recipes
- Tags redirect to new tag pages
- Categories redirect to category pages
- Fix Backup download blocked by authentication
- Random meal-planner will no longer duplicate recipes unless no other options
- New Quick Week button to generate next 5 day week of recipe slots.
- Minor UI tweaks
- Recipe Cards now display 2 recipe tags
- Recipe images are now minified. This comes with a serious performance improvement. On initial startup you may experience some delays. Images are migrated to the new structure on startup, depending on the size of your database this can take some time.
- Note that original images are still kept for large displays like on the individual recipe pages.
- A smaller image is used for recipe cards
- A 'tiny' image is used for search images.
- Advanced Search Page. You can now use the search page to filter recipes to include/exclude tags and categories as well as select And/Or matching criteria.
- Added link to advanced search on quick search
- Better support for NextCloud imports
- Translate keywords to tags
- Fix rollback on failure
- Recipe Tag/Category Input components have been unified and now share a single way to interact. To add a new category in the recipe editor you need to click to '+' icon next to the input and fill out the form. This is the same for adding a Tag.

View File

@@ -1,34 +0,0 @@
# v0.4.2
**App Version: v0.4.2**
**Database Version: v0.4.0**
!!! error "Breaking Changes"
1. With a recent refactor some users been experiencing issues with an environmental variable not being set correct. If you are experiencing issues, please provide your comments [Here](https://github.com/mealie-recipes/mealie/issues/281).
2. If you are a developer, you may experience issues with development as a new environmental variable has been introduced. Setting `PRODUCTION=false` will allow you to develop as normal.
## Bug Fixes
- Fixed Initialization script (v0.4.1a Hot Fix) - Closes #274
- Fixed nested list error on recipe scrape - Closes #306
- Fixed ingredient checkboxes - Closes #304
- Removed link on recent - Closes #297
- Categories sidebar is auto generated if no pages are created - Closes #291
- Fix tag issues on creating custom pages - Closes #290
- Validate paths on export - Closes #275
- Walk Nextcloud import directory - Closes #254
## General Improvements
- Improved Nextcloud Migration. Mealie will now walk the directories in a zip file looking for directories that match the pattern of a Nextcloud Recipe. Closes #254
- Rewrite Keywords to Tag Fields
- Rewrite url to orgURL
- Improved Chowdown Migration
- Migration report is now similar to the Backup report
- Tags/Categories are now title cased on import "dinner" -> "Dinner"
- Depreciate `ENV` variable to `PRODUCTION`
- Set `PRODUCTION` env variable to default to true
- Unify Logger across the backend
- mealie.log and last_recipe.json are now downloadable from the frontend from the /admin/about
- New download schema where you request a token and then use that token to hit a single endpoint to download a file. This is a notable change if you are using the API to download backups.
- Recipe images can now be added directly from a URL - [See #117 for details](https://github.com/mealie-recipes/mealie/issues/117)

View File

@@ -1,14 +0,0 @@
# v0.4.3
**App Version: v0.4.3**
**Database Version: v0.4.0**
## Bug Fixes
- Fix Upload error for Migrations
- Fixes #315 - Cannot select another language
- Fixes #314 - case-sensitive emails
- Fixes #312 - Profile Image Reload
## Improvements
- New TOKEN_TIME and DEFAULT_EMAIL env variables

View File

@@ -1,129 +0,0 @@
# v0.5.0 Too Many Changes!
**App Version: v0.5.0**
**Database Version: v0.5.0**
## Breaking Changes
!!! error "Breaking Changes"
#### Database
Database version has been bumped from v0.4.x -> v0.5.0. You will need to export and import your data. Moving forward, we will be using database migrations (BETA) to do this automatically. Note that you still must backup your data. If you don't, it's entirely possible something may go wrong and you could lose your data on upgrade.
#### Image Directory
the /data/img directory has been depreciated. All images are now stored in the /recipes/{slug}/image directory. Images should be migrated automatically, but you may experience issues related to this change.
#### API Usage
If you have been using the API directly, many of the routes and status codes have changed. You may experience issues with directly consuming the API.
#### Arm/v7 Support
Mealie will no longer build in CI/CD due to a issue with the rust compiler on 32 bit devices. You can reference [this issue on the matrix-org/synapse](https://github.com/matrix-org/synapse/issues/9403) Github page that are facing a similar issue. You may still be able to build the docker image you-self.
!!! warning "Potential Data Loss"
With this release comes a major rework of how files are stored on disk and where things belong. Migration of files should be done automatically. We have tested extensively with many different backups and user bases and have found that no one experienced data-loss. HOWEVER, with all the major changes that have occurred, it is vital that to prevent any data-loss you must create a backup and store that backup outside of your mealie instance. If you do not do this, you may lose your data.
## Bug Fixes
- Fixed #25 - Allow changing rating without going into edit
- Fixed #475 - trim whitespace on login
- Fixes #435 - Better Email Regex
- Fixed #428 - Meal Planner now works on iOS devices
- Fixed #419 - Typos
- Fixed #418 - You can now "export" shopping lists
- Fixed #356 - Shopping List items are now grouped
- Fixed #329 - Fixed profile image not loading
- Fixed #461 - Proper JSON serialization on webhooks
- Fixed #332 - Language settings are saved for one browser
- Fixes #281 - Slow Handling of Large Sets of Recipes
- Fixed #356 - Shopping lists generate duplicate items
- Fixed #271 - Slow handling of larger data sets
- Fixed #472, #469, #458, #456 - Improve Recipe Parser
## Features and Improvements
### Highlights
- Recipe Parser
- Recipes can now be imported with a bookmarklet!
- Significant improvement in supported sites with the new [Recipe Scraper Library](https://github.com/hhursev/recipe-scrapers)
- UI Debugging now available at `/recipes/debugger`
- Better error messages on failure
- ⚠️ last_recipe.json is now depreciated
- Beta Support for Postgres! 🎉 See the getting started page for details
- Recipe Features
- New button bar for editors with improved accessibility and performance
- Step Sections now supported
- Recipe Assets
- Add Asset image to recipe step
- Additional View Settings.
- Better print support
- New Toolbox Page!
- Bulk assign categories and tags by keyword search
- Title case all Categories or Tags with 1 click
- Create/Rename/Delete Operations for Tags/Categories
- Remove Unused Categories or Tags with 1 click
- Recipe Cards now have a menu button for quick actions!
- Edit
- Delete
- Integrated Share with supported OS/Browsers
- Print
- New Profile Dashboard!
- Edit Your Profile
- Create/Edit Themes
- View other users in your Group
- See what's for dinner
- Manage Long Live API Tokens (New)
- New Admin Dashboard! 🎉
- Now you can get some insight on your application with application statistics and events.
- See uncategorized/untagged recipes and organize them!
- Backup/Restore right from your dashboard
- See server side events. Now you can know who deleted your favorite recipe!
- New Event Notifications through the Apprise Library
- Get notified when specific server side events occur
### Meal Planner
- Multiple Recipes per day
- Supports meals without recipes (Enter title and description)
- Generate share-link from created meal-planners
- Shopping lists can be directly generated from the meal plan
### General
- User can now favorite recipes
- New 'Dark' Color Theme Packaged with Mealie
- Updated Recipe Card Sections Toolbar
- New Sort Options (They work this time!)
- Alphabetical
- Rating
- Created Date
- Updated Date
- Shuffle (Random Sort)
- New 'Random' Recipe button on recipe sections. Random recipes are selected from the filtered results below. For example, on the "Cakes" category page, you will only get recipes in the "Cakes" category.
- Rating can be updated without entering the editor - Closes #25
- Updated recipe editor styles and moved notes to below the steps.
- Redesigned search bar
- 'Dinner this week' shows a warning when no meal is planned yet
- 'Dinner today' shows a warning when no meal is planned yet
- More localization
- Start date for Week is now selectable
- Languages are now managed through Crowdin
- Application Bar was Rewritten
- Sidebar can now be toggled everywhere.
- New and improved mobile friendly bottom bar
- Improved styling for search bar in desktop
- Improved search layout on mobile
- Profile image now shown on all sidebars
- Switched from Flash Messages to Snackbar (Removed dependency)
### Performance
- Images are now served up by the Caddy increase performance and offloading some loads from the API server
- Requesting all recipes from the server has been rewritten to refresh less often and manage client side data better.
- All images are now converted to .webp for better compression
### Behind the Scenes
- The database layer has been added for future recipe scaling.
- Black and Flake8 now run as CI/CD checks
- New debian based docker image
- Unified Sidebar Components
- Refactor UI components to fit Vue best practices (WIP)
- The API returns more consistent status codes
- The API returns error code instead of error text when appropriate
- ⚠️ May cause side-effects if you were directly consuming the API

View File

@@ -1,11 +0,0 @@
# v0.5.1
**App Version: v0.5.1**
**Database Version: v0.5.0**
## Bug Fixes
- Fixed #538 - Missing Ingredients on Editor
- Fixed error on webhooks for new groups
- Fixed various icons references

View File

@@ -1,65 +0,0 @@
# v0.5.2 - DRAFT
**App Version: v0.5.2**
**Database Version: v0.5.0**
## Bug Fixes
- Fixed #617 - Section behavior when adding a step
- Fixed #615 - Recipe Settings are not available when creating new recipe
- Fixed #625 - API of today's image returns strange characters
- Fixed [#590](https://github.com/mealie-recipes/mealie/issues/590) - Duplicate Events when using Gunicorn Workers
## Features and Improvements
### General
- Recipe Instructions now collapse when checked
- Default recipe settings can be set through ENV variables
- Recipe Ingredient lists can now container ingredient sections.
- You can now download and upload individual recipes
### Localization
Huge thanks to [@sephrat](https://github.com/sephrat) for all his work on the project. He's very consistent in his contributions to the project and nearly every release has had some of his code in it! Here's some highlights from this release
- Lazy Load Translations (Huge Performance Increase!)
- Tons of localization additions all around the site.
- All of the work that goes into managing and making Crowdin a great feature the application
#### Here a list of contributors on Crowding who make Mealie possible in different locals
| Name | Languages | Translated (Words) | Target Words |
| ---------------------------- | ------------------ | :----------------: | :----------: |
| retmas-gh | Polish | 550 | 625 |
| startos | Italian | 310 | 322 |
| CMBoii | Spanish | 256 | 291 |
| sephrat | French | 255 | 296 |
| Daniel Tildeman (tildeman) | Swedish | 233 | 228 |
| Rourke | Dutch | 216 | 214 |
| Andreas Waschinski (Wascha) | German | 207 | 202 |
| wengtad | Chinese Simplified | 176 | 343 |
| Matthias Borremans (MrBorri) | Dutch | 96 | 89 |
| Adam Syndoman (pypckompsite) | Polish | 68 | 65 |
| JonasSchubert | German | 22 | 23 |
| ThrawnJL | Danish | 7 | 7 |
| NicholasBrody | Dutch | 7 | 7 |
| Giel Janssens (gieljnssns) | Dutch | 4 | 4 |
| kentora | Danish | 3 | 2 |
### Docker
#### Huge thanks to [@wengtad](https://github.com/wengtad) for all his work on improving the deployment with docker.
- Optimize Docker Dev Size (Frontend: from ~1.52GB to ~429MB | API: from ~657MB to ~380MB)
- Optimize Docker Prod Size (from ~542MB to ~373MB)
- Add Gunicorn
- Add Gunicorn and Webworkers to Dockerfile #550
- Add Docs for Gunicorn
- Add PUID/PGID to Docker. Fixes Initialization scripts fail to run when not executing as root user inside container #350,
- Not able to run correctly in docker if user permissions are specified #429
- Merge Dockerfile.dev into Dockerfile (dev shared same base together with prod)
- Add Docs for PUID/PGID
- Add Docker healthcheck (for this is not necessary, I could remove if you want)

View File

@@ -1,178 +0,0 @@
## v1.0.0b - 2022-05-22
- Bump Dependencies
- Recipe Scrapers to 13.28
- Jinja2 to 3.1.2
- FastAPI to 0.78.0
- Recipe Ingredient Editor
- [#1140](https://github.com/mealie-recipes/mealie/issues/1140) - Error in processing the quantity of ingredients #1140 - UI Now prevents entering not-allowed characters in quantity field
- UI now allows no value to be set in addition to a zero (0) value.
- [#1237](https://github.com/mealie-recipes/mealie/issues/1237) - UI: Saving a 0 quantity ingredient displays 0 until the page is refreshed #1237 - UI Now properly reacts to changes in the quantity field.
- Fix Mealie v0.5.x migration issue [#1183](https://github.com/mealie-recipes/mealie/issues/1183)
- Consolidated Frontend Types thanks to [@PFischbeck](https://github.com/Fischbeck)
- Added support for SSL/No Auth Email [@nkringle](https://github.com/nkringle)
- [Implement several notifications for server actions ](https://github.com/mealie-recipes/mealie/pull/1234)[@miroito](https://github.com/Miroito)
- Fix display issue for shared recipe rendering on server [@PFischbeck](https://github.com/Fischbeck)
## v1.0.0b - 2022-05-09
- Change MIT license to AGPLv3
## v1.0.0b - 2022-05-08
- Rewrote the registration flow for new users.
- Added support for seed data at anytime through the user interface.
- Improved security for sanitizing HTML inputs for user input.
- Added support for importing keywords as tags during scraping - [@miroito](https://github.com/Miroito)
- Changed default recipe settings to "disable_amount=True" for new groups.
- Add support for merging food, and units.
- Allow tags, category, and tool creation - [@miroito](https://github.com/Miroito)
- Added additional and more comprehensive filter options for cookbooks
- Fixed bookmarklets error
## v1.0.0b - 2022-03-29
- Mealie now stores the original text from parsed ingredients, with the ability to peak at the original text from a recipe. [@miroito](https://github.com/Miroito)
- Added some management / utility functions for administrators to manage data and cleanup artifacts from the file system.
- Fix clear url action in recipe creation [#1101](https://github.com/mealie-recipes/mealie/pull/1101) [@miroito](https://github.com/Miroito)
- Add group statistics calculations and data storage measurements
- No hard limits are currently imposed on groups - though this may be implemented in the future.
## v1.0.0b - 2022-03-25
- Mealie now packages the last git commit as the build ID
- Admin section now has a "Maintenance" page where you can check some health metrics like data directory size, logs file size, and if there are some non compliant directories or images. You can also perform clean-up operations to resolve some of these issues.
- Dropped 2 dependencies and moved to using our own base model within the project
- Removed lots of dead backup code
- Recipe names will now be auto-incremented when a conflict is found. So if you're adding a recipe named "Tomato Soup" and that recipe name already exists in your database one will be created with the name "Tomato Soup (1)". Currently this is done in a loop until a suitable name is found, however it will error out after 10 attempts so it's best to find a more descriptive name for your recipe.
- Fixed broken PWA where it wouldn't render any content
- Added database connection retry loop to ensure that the database is available prior to starting
- Reorganized group routes to be more consistent with the rest of the application
## v1.0.0b Beta Release!
!!! error "Breaking Changes"
As you may have guessed, this release comes with some breaking changes. If you are/were consuming the API you will need to validate all endpoints as nearly all of them have changed.
To import your data into Mealie v1 from the most recent previous release, you'll need to export and import your data using the built in method. **Note that only your recipes will be usable in the migration**.
### ✨ What's New (What isn't?!?!)
#### 🥳 General
- Mealie will by default only be accessible to users. Future plans are to create spaces for non-users to access a specific group.
- Mealie has gone through a big redesign and has tried to standardize it's look a feel a bit more across the board.
- User/Group settings are now completely separated from the Administration page.
- All settings and configurations pages now have some sort of self-documenting help text. Additional text or descriptions are welcome from PRs
- New experimental banner for the site to give users a sense of what features are still "in development" and provide a link to a github issue that provides additional context.
- Groups now offer full multi-tenant support so you can all groups have their own set of data.
##### ⚙️ Site Settings Page
- Site Settings has been completely revamped. All site-wide settings at defined on the server as ENV variables. The site settings page now only shows you the non-secret values for reference. It also has some helpers to let you know if something isn't configured correctly.
- Server Side Bare URL will let you know if the BASE_URL env variable has been set
- Secure Site let's you know if you're serving via HTTPS or accessing by localhost. Accessing without a secure site will render some of the features unusable.
- Email Configuration Status will let you know if all the email settings have been provided and offer a way to send test emails.
#### 👨‍👩‍👧‍👦 Users and Groups
- All members of a group can generate invitation tokens for other users to join their group
- Users now a have "Advanced" setting to enable/disable features like Webhooks and API tokens. This will also apply to future features that are deemed as advanced.
- "Pages" have been dropped in favor of Cookbooks which are now group specific so each group can have it's own set of cookbooks
- Default recipe settings can now be set by the group instead of environmental variables.
- Password reset via email
- Invitation to group by email
- Manage group member permissions
#### 📦 Data Migrations
- Migrations have been moved from the Admin Page to a Group Migration page. Migrations from applications (or previous versions of Mealie) can now be imported into Mealie via the Group Migration pages where all recipes will be imported into the group.
- **Supported Migrations**
- Mealie Pre v1.0.0
- Nextcloud Recipes
- Chowdown
#### 🛒 Shopping Lists
- Shopping Lists has been completely revamped to be more flexible and user friendly.
- Add recipe ingredients to a shopping list
- Manually add item/ingredient to shopping list
- Copy as markdown or plain text
- Sort by food/item Labels
- Checked items are now hidden
- Uncheck all Items
- Delete all checked items
#### 📢 Apprise Integration
- Server based Apprise notifications have been deprecated. An effort has been made to improve logging overall in the application and make it easier to monitor/debug through the logs.
- The Apprise integration has been updated to the latest version and is now used asynchronously.
- Notifiers now support a wider variety of events.
- Notifiers can now be managed by-group instead of by the server.
#### 🗓 Meal Plans
- Meal plans have been completely redesigned to use a calendar approach so you'll be able to see what meals you have planned in a more traditional view
- Drag and Drop meals between days
- Add Recipes or Notes to a specific day
- New context menu action for recipes to add a recipe to a specific day on the meal-plan
- New rule based meal plan generator/selector. You can now create rules to restrict the addition of recipes for specific days or meal types (breakfast, lunch, dinner, side). You can also create rules that match against "all" days or "all" meal types to create global rules based around tags and categories. This gives you the most flexibility in creating meal plans.
#### 🥙 Recipes
##### 🔍 Search
- Search now includes the ability to fuzzy search ingredients
- Search now includes an additional filter for "Foods" which will filter (Include/Exclude) matches based on your selection.
##### 🍴 Recipe General
- Recipe Pages now implement a screen lock on supported devices to keep the screen from going to sleep.
- Recipes are now only viewable by group members
- Recipes can be shared with share links
- Shared recipes can now render previews for the recipe on sites like Twitter, Facebook, and Discord.
- Recipes now have a `tools` attribute that contains a list of required tools/equipment for the recipe. Tools can be set with a state to determine if you have that tool or not. If it's marked as on hand it will show checked by default.
- Recipe Extras now only show when advanced mode is toggled on
- You can now import multiple URLs at a time pre-tagged using the bulk importer. This task runs in the background so no need to wait for it to finish.
- Foods/Units for Ingredients are now supported (toggle inside your recipe settings)
- Common Food and Units come pre-packaged with Mealie
- Landscape and Portrait views are now available
- Users with the advanced flag turned on will now be able to manage recipe data in bulk and perform the following actions:
- Set Categories
- Set Tags
- Delete Recipes
- Export Recipes
- Recipes now have a `/cook` page for a simple view of the recipe where you can click through each step of a recipe and it's associated ingredients.
- The Bulk Importer has received many additional upgrades.
- Trim Whitespace: automatically removes leading and trailing whitespace
- Trim Prefix: Removes the first character of each line. Useful for when you paste in a list of ingredients or instructions that have 1. or 2. in front of them.
- Split By Numbered Line: Attempts to split a paragraph into multiple lines based on the patterns matching '1.', '1:' or '1)'.
##### 🍞 Recipe Ingredients
- Recipe ingredients can now be scaled when the food/unit is defined
- Recipe ingredients can now be copied as markdown lists
- example `- [ ] 1 cup of flour`
- You can now use Natural Language Processing (NLP) to process ingredients and attempt to parse them into amounts, units, and foods. There is an additional "Brute Force" processor that can be used as pattern matching parser to try and determine ingredients. **Note** if you are processing a Non-English language you will have terrible results with the NLP and will likely need to use the Bruce Force processor.
##### 📜 Recipe Instructions
- Can now be merged with the above step automatically through the action menu
- Recipe Ingredients can be linked directly to recipe instructions for improved display
- There is an option in the linking dialog to automatically link ingredients. This works by using a key-word matching algorithm to find the ingredients. It's not perfect so you'll need to verify the links after use, additionally you will find that it doesn't work for non-english languages.
- Recipe Instructions now have a preview tab to show the rendered markdown before saving.
#### ⚠️ Other things to know...
- Themes have been deprecated for specific users. You can still set specific themes for your site through ENV variables. This approach should yield much better results for performance and some weirdness users have experienced.
- If you've experienced slowness in the past, you may notice a significant improvement in the "All Recipes" and "Search" pages, or wherever large payloads of recipes are being displayed. This is due to not validating responses from the database, as such if you are consuming these API's you may get extra values that are unexpected.
#### 👨‍💻 Backend/Development Goodies
- Codebase is significantly more organized both Frontend and Backend
- We've moved to Nuxt for SSR and Typescript for better type safety and less bugs 🎉
- Backend now using a Class based architecture to maximize code reuse
- Tons of performance improvements across the board
- Significant work was done by [@PFischbeck](https://github.com/PFischbeck) to improve type safety on the frontend server and fix many type related errors/bugs!

View File

@@ -1,29 +0,0 @@
### Bug Fixes
- Bump isomorphic-dompurify from 0.18.0 to 0.19.0 in /frontend ([#1257](https://github.com/mealie-recipes/mealie/issues/1257))
- Bump @nuxtjs/auth-next in /frontend ([#1265](https://github.com/mealie-recipes/mealie/issues/1265))
- Bad dev dependency ([#1281](https://github.com/mealie-recipes/mealie/issues/1281))
- Add touch support for mealplanner delete ([#1298](https://github.com/mealie-recipes/mealie/issues/1298))
### Documentation
- Add references for VSCode dev containers ([#1299](https://github.com/mealie-recipes/mealie/issues/1299))
- Docker-compose.dev.yml is currently not functional ([#1300](https://github.com/mealie-recipes/mealie/issues/1300))
### Features
- Add reports to bulk recipe import (url) ([#1294](https://github.com/mealie-recipes/mealie/issues/1294))
- Rewrite print implementation to support new ing ([#1305](https://github.com/mealie-recipes/mealie/issues/1305))
### Miscellaneous Tasks
- Github stalebot changes ([#1271](https://github.com/mealie-recipes/mealie/issues/1271))
- Bump eslint-plugin-nuxt in /frontend ([#1258](https://github.com/mealie-recipes/mealie/issues/1258))
- Bump @vue/runtime-dom in /frontend ([#1259](https://github.com/mealie-recipes/mealie/issues/1259))
- Bump nuxt-vite from 0.1.3 to 0.3.5 in /frontend ([#1260](https://github.com/mealie-recipes/mealie/issues/1260))
- Bump vue2-script-setup-transform in /frontend ([#1263](https://github.com/mealie-recipes/mealie/issues/1263))
- Update dev dependencies ([#1282](https://github.com/mealie-recipes/mealie/issues/1282))
### Refactor
- Split up recipe create page ([#1283](https://github.com/mealie-recipes/mealie/issues/1283))

View File

@@ -1,36 +0,0 @@
### Bug Fixes
- Update issue links in v1.0.0beta-2 changelog ([#1312](https://github.com/mealie-recipes/mealie/issues/1312))
- Bad import path ([#1313](https://github.com/mealie-recipes/mealie/issues/1313))
- Printer page refs ([#1314](https://github.com/mealie-recipes/mealie/issues/1314))
- Consolidate stores to fix mismatched state
- Bump @vue/composition-api from 1.6.1 to 1.6.2 in /frontend ([#1275](https://github.com/mealie-recipes/mealie/issues/1275))
- Shopping list label editor ([#1333](https://github.com/mealie-recipes/mealie/issues/1333))
### Features
- Default unit fractions to True
- Add unit abbreviation support ([#1332](https://github.com/mealie-recipes/mealie/issues/1332))
- Attached images by drag and drop for recipe steps ([#1341](https://github.com/mealie-recipes/mealie/issues/1341))
### Docs
- Render homepage social media link images at 32x32 size ([#1310](https://github.com/mealie-recipes/mealie/issues/1310))
### Miscellaneous Tasks
- Init git-cliff config
- Bump @types/sortablejs in /frontend ([#1287](https://github.com/mealie-recipes/mealie/issues/1287))
- Bump @babel/eslint-parser in /frontend ([#1290](https://github.com/mealie-recipes/mealie/issues/1290))
### Refactor
- Unify recipe-organizer components ([#1340](https://github.com/mealie-recipes/mealie/issues/1340))
### Security
- Delay server response whenever username is non existing ([#1338](https://github.com/mealie-recipes/mealie/issues/1338))
### Wip
- Pagination-repository ([#1316](https://github.com/mealie-recipes/mealie/issues/1316))

View File

@@ -1,126 +0,0 @@
### Security
#### v1.0.0beta-3 and Under - Recipe Scraper: Server Side Request Forgery Lead To Denial Of Service
!!! error "CWE-918: Server-Side Request Forgery (SSRF)"
In this case if a attacker try to load a huge file then server will try to load the file and eventually server use its all memory which will dos the server
##### Mitigation
HTML is now scraped via a Stream and canceled after a 15 second timeout to prevent arbitrary data from being loaded into the server.
#### v1.0.0beta-3 and Under - Recipe Assets: Remote Code Execution
!!! error "CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"
As a low privileged user, Create a new recipe and click on the "+" to add a New Asset.
Select a file, then proxy the request that will create the asset.
Since mealie/routes/recipe/recipe_crud_routes.py:306 is calling slugify on the name POST parameter, we use $ which slugify() will remove completely.
Since mealie/routes/recipe/recipe_crud_routes.py:306 is concatenating raw user input from the extension POST parameter into the variable file_name, which ultimately gets used when writing to disk, we can use a directory traversal attack in the extension (e.g. ./../../../tmp/pwn.txt) to write the file to arbitrary location on the server.
As an attacker, now that we have a strong attack primitive, we can start getting creative to get RCE. Since the files were being created by root, we could add an entry to /etc/passwd, create a crontab, etc. but since there was templating functionality in the application that peaked my interest. The PoC in the HTTP request above creates a Jinja2 template at /app/data/template/pwn.html. Since Jinja2 templates execute Python code when rendered, all we have to do now to get code execution is render the malicious template. This was easy enough.
##### Mitigation
We've added proper path sanitization to ensure that the user is not allowed to write to arbitrary locations on the server.
!!! warning "Breaking Change Incoming"
As this has shown a significant area of exposure in the templates that Mealie was provided for exporting recipes, we'll be removing this feature in the next Beta release and will instead rely on the community to provide tooling around transforming recipes using templates. This will significantly limit the possible exposure of users injecting malicious templates into the application. The template functionality will be completely removed in the next beta release v1.0.0beta-5
#### All version Markdown Editor: Cross Site Scripting
!!! error "CWE-79: Cross-site Scripting (XSS) - Stored"
A low privilege user can insert malicious JavaScript code into the Recipe Instructions which will execute in another person's browser that visits the recipe.
`<img src=x onerror=alert(document.domain)>`
##### Mitigation
This issues is present on all pages that allow markdown input. This error has been mitigated by wrapping the 3rd Party Markdown component and using the `domPurify` library to strip out the dangerous HTML.
#### v1.0.0beta-3 and Under - Image Scraper: Server-Side Request Forgery
!!! error "CWE-918: Server-Side Request Forgery (SSRF)"
In the recipe edit page, is possible to upload an image directly or via an URL provided by the user. The function that handles the fetching and saving of the image via the URL doesn't have any URL verification, which allows to fetch internal services.
Furthermore, after the resource is fetch, there is no MIME type validation, which would ensure that the resource is indeed an image. After this, because there is no extension in the provided URL, the application will fallback to jpg, and original for the image name.
Then the result is saved to disk with the original.jpg name, that can be retrieved from the following URL: http://<domain>/api/media/recipes/<recipe-uid>/images/original.jpg. This file will contain the full response of the provided URL.
**Impact**
An attacker can get sensitive information of any internal-only services running. For example, if the application is hosted on Amazon Web Services (AWS) platform, its possible to fetch the AWS API endpoint, https://169.254.169.254, which returns API keys and other sensitive metadata.
##### Mitigation
Two actions were taken to reduce exposure to SSRF in this case.
1. The application will not prevent requests being made to local resources by checking for localhost or 127.0.0.1 domain names.
2. The mime-type of the response is now checked prior to writing to disk.
If either of the above actions prevent the user from uploading images, the application will alert the user of what error occurred.
### Bug Fixes
- For erroneously-translated datetime config ([#1362](https://github.com/mealie-recipes/mealie/issues/1362))
- Fixed text color on RecipeCard in RecipePrintView and implemented ingredient sections ([#1351](https://github.com/mealie-recipes/mealie/issues/1351))
- Ingredient sections lost after parsing ([#1368](https://github.com/mealie-recipes/mealie/issues/1368))
- Increased float rounding precision for CRF parser ([#1369](https://github.com/mealie-recipes/mealie/issues/1369))
- Infinite scroll bug on all recipes page ([#1393](https://github.com/mealie-recipes/mealie/issues/1393))
- Fast fail of bulk importer ([#1394](https://github.com/mealie-recipes/mealie/issues/1394))
- Bump @mdi/js from 5.9.55 to 6.7.96 in /frontend ([#1279](https://github.com/mealie-recipes/mealie/issues/1279))
- Bump @nuxtjs/i18n from 7.0.3 to 7.2.2 in /frontend ([#1288](https://github.com/mealie-recipes/mealie/issues/1288))
- Bump date-fns from 2.23.0 to 2.28.0 in /frontend ([#1293](https://github.com/mealie-recipes/mealie/issues/1293))
- Bump fuse.js from 6.5.3 to 6.6.2 in /frontend ([#1325](https://github.com/mealie-recipes/mealie/issues/1325))
- Bump core-js from 3.17.2 to 3.23.1 in /frontend ([#1383](https://github.com/mealie-recipes/mealie/issues/1383))
- All-recipes page now sorts alphabetically ([#1405](https://github.com/mealie-recipes/mealie/issues/1405))
- Sort recent recipes by created_at instead of date_added ([#1417](https://github.com/mealie-recipes/mealie/issues/1417))
- Only show scaler when ingredients amounts enabled ([#1426](https://github.com/mealie-recipes/mealie/issues/1426))
- Add missing types for API token deletion ([#1428](https://github.com/mealie-recipes/mealie/issues/1428))
- Entry nutrition checker ([#1448](https://github.com/mealie-recipes/mealie/issues/1448))
- Use == operator instead of is_ for sql queries ([#1453](https://github.com/mealie-recipes/mealie/issues/1453))
- Use `mtime` instead of `ctime` for backup dates ([#1461](https://github.com/mealie-recipes/mealie/issues/1461))
- Mealplan pagination ([#1464](https://github.com/mealie-recipes/mealie/issues/1464))
- Properly use pagination for group event notifies ([#1512](https://github.com/mealie-recipes/mealie/pull/1512))
### Documentation
- Add go bulk import example ([#1388](https://github.com/mealie-recipes/mealie/issues/1388))
- Fix old link
- Pagination and filtering, and fixed a few broken links ([#1488](https://github.com/mealie-recipes/mealie/issues/1488))
### Features
- Toggle display of ingredient references in recipe instructions ([#1268](https://github.com/mealie-recipes/mealie/issues/1268))
- Add custom scaling option ([#1345](https://github.com/mealie-recipes/mealie/issues/1345))
- Implemented "order by" API parameters for recipe, food, and unit queries ([#1356](https://github.com/mealie-recipes/mealie/issues/1356))
- Implement user favorites page ([#1376](https://github.com/mealie-recipes/mealie/issues/1376))
- Extend Apprise JSON notification functionality with programmatic data ([#1355](https://github.com/mealie-recipes/mealie/issues/1355))
- Mealplan-webhooks ([#1403](https://github.com/mealie-recipes/mealie/issues/1403))
- Added "last-modified" header to supported record types ([#1379](https://github.com/mealie-recipes/mealie/issues/1379))
- Re-write get all routes to use pagination ([#1424](https://github.com/mealie-recipes/mealie/issues/1424))
- Advanced filtering API ([#1468](https://github.com/mealie-recipes/mealie/issues/1468))
- Restore frontend sorting for all recipes ([#1497](https://github.com/mealie-recipes/mealie/issues/1497))
- Implemented local storage for sorting and dynamic sort icons on the new recipe sort card ([1506](https://github.com/mealie-recipes/mealie/pull/1506))
- create new foods and units from their Data Management pages ([#1511](https://github.com/mealie-recipes/mealie/pull/1511))
### Miscellaneous Tasks
- Bump dev deps ([#1418](https://github.com/mealie-recipes/mealie/issues/1418))
- Bump @vue/runtime-dom in /frontend ([#1423](https://github.com/mealie-recipes/mealie/issues/1423))
- Backend page_all route cleanup ([#1483](https://github.com/mealie-recipes/mealie/issues/1483))
### Refactor
- Remove depreciated repo call ([#1370](https://github.com/mealie-recipes/mealie/issues/1370))
### Hotfix
- Tame typescript beast
### UI
- Improve parser ui text display ([#1437](https://github.com/mealie-recipes/mealie/issues/1437))
<!-- generated by git-cliff -->

Some files were not shown because too many files have changed in this diff Show More