73 Commits

Author SHA1 Message Date
Michael Genson
716c85cc3b
fix: Bulk Add Recipes to Shopping List () 2025-02-27 13:58:40 +00:00
PancakeZik
a52fda72d6
fix: Fixed LastMade recipes sorting order ()
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2025-01-30 10:33:58 +01:00
Michael Genson
cb05adeb48
fix: Remove API Tokens from User APIs () 2025-01-29 19:52:12 +00:00
Michael Genson
e9892aba89
feat: Move "on hand" and "last made" to household ()
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2025-01-13 17:19:49 +01:00
Michael Genson
4e0cf985bc
feat: Recipe Finder (aka Cocktail Builder) () 2024-12-03 13:27:41 +00:00
Michael Genson
82cc9e11f7
dev: Fix json2ts codegen () 2024-11-25 09:25:35 +00:00
Michael Genson
327da02fc8
feat: Structured Yields ()
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-11-20 08:46:27 -06:00
Tarek Auf der Strasse
d419acd61e
feat: Added a dedicated cookmode dialog that allows for individual scrolling () 2024-11-11 12:21:44 +01:00
Michael Genson
543a53cab4
fix: Bulk Update Owner Removes Some Recipe Data () 2024-10-19 15:36:34 -05:00
Michael Genson
1dc7b24146
feat: Change Recipe Owner ()
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-10-19 09:33:32 +00:00
Michael Genson
b8e62ab8dd
feat: Query Filter Builder for Cookbooks and Meal Plans () 2024-10-17 17:35:39 +02:00
Tom Brennan
02c0fe993b
feat: adding the rest ofthe nutrition properties from schema.org () 2024-10-13 15:04:29 +02:00
Michael Genson
e06572b7ca
feat: User Tooltip () 2024-10-12 00:36:26 +00:00
Carter
5ed0ec029b
feat: Add OIDC_CLIENT_SECRET and other changes for v2 ()
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-10-05 21:12:11 +00:00
Michael Genson
4c1d855690
feat: Create Recipe From HTML or JSON ()
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-30 15:52:13 +00:00
Michael Genson
4712994242
feat: Add Household Filter to Meal Plan Rules () 2024-09-27 14:06:45 +00:00
Michael Genson
ea1f727a8b
feat: OpenAI Custom Headers/Params and Debug Page ()
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) ()
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-22 14:59:20 +00:00
Michael Genson
fd0257c1b8
feat: Additional Household Permissions ()
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-17 10:48:14 -05:00
Michael Genson
d8dbcac196
feat: Use Backend for Recipe Post Actions () 2024-09-14 14:59:36 +00:00
Michael Genson
eb170cc7e5
feat: Add Households to Mealie () 2024-08-22 10:14:32 -05:00
Michael Genson
8a15f400e1
feat: Import + Translate recipe images with OpenAI ()
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
Michael Genson
6e6ae80c46
fix: Restore Webhook Test Functionality ()
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-07-06 19:10:01 +00:00
Michael Genson
f4827abc1d
feat: Offline Shopping List ()
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-06-29 09:58:58 +00:00
boc-the-git
a062a4beaa
feat: Add the ability to flag a food as "on hand", to exclude from shopping list () 2024-06-28 15:16:04 +00:00
Michael Genson
4afb767375
feat: Open AI Recipe Scraper () 2024-06-07 11:45:50 +00:00
Jonathan Beaulieu
f4f2b863e0
feat: Add recipekeeper migration () 2024-05-31 09:58:04 +00:00
Michael Genson
5c57b3dd1a
feat: OpenAI Ingredient Parsing () 2024-05-22 09:45:07 +00:00
Michael Genson
61becdbec7
chore: Remove Server Tasks () 2024-05-20 14:51:37 +00:00
Michael Genson
3807778e2f
feat: Recipe Actions ()
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
Michael Genson
ec458a0a08
fix: Security Issues ()
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-04-30 20:53:55 +00:00
Hayden
6bd5a82b92
rewrite logger to support custom config files () 2024-04-16 15:52:49 +00:00
Michael Genson
2a541f081a
feat: User-specific Recipe Ratings () 2024-04-11 21:28:43 -05:00
Michael Genson
52c6fe34b2 remove potentially sensitive fields from group self 2024-03-15 19:50:39 +00:00
Michael Genson
63a362a48a
fix: Limit shopping list owners to current group ()
* 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
Michael Genson
403038a5b2
feat: First Time Setup Wizard ()
* 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
Hayden
5f6844eceb
feat: Login with OAuth via OpenID Connect (OIDC) ()
* initial oidc implementation

* add dynamic scheme

* e2e test setup

* add caching

* fix

* try this

* add libldap-2.5 to runtime dependencies ()

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

* New Crowdin updates ()

* 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
Michael Genson
8e5ea1df5e added "show all" toggle on list of shopping lists 2024-02-23 17:07:43 +00:00
Michael Genson
f42114e966
feat: Redirect Logged Out Users to Default Group, If It's Public ()
* add default group slug to app info if public

* redirect public user to default group

* added tests

---------

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-02-07 07:53:55 -09:00
Hayden
8d8a101580
chore: code gen ()
* code-gen

* remove old generator commands

* remove old docker stuff
2024-01-20 16:34:57 +00:00
Michael Genson
ca9f66ee24
feat: Remove OCR Support ()
* remove ocr package

* remove tesseract

* remove OCR from app

* remove OCR from tests

* fix docs
2023-12-14 17:26:43 -09:00
Hayden
bc575ec5ae
feat: auto detect first login ()
* 'hide' default email and password env variables

* first login API endpoint

* run code-generators

* frontend indicators for default username and pw

* remove old env variables from docs

* fix env set variable

* remove password from tests
2023-11-15 15:24:24 +00:00
Michael Genson
d440d51ffe
feat: plural foods and units, and aliases ()
* added plural names and alias tables to foods/units

* updated models to include plural names and aliases

* updated parser to include plural and aliases

* fixed migrations

* fixed recursive models

* added plural abbreviation to migration

* updated parser and display prop

* update displays to use plurals

* fix display edgecase and remove print

* added/updated display tests

* fixed model bug and added parser tests

* added tests for aliases

* added new plural options to data management page

* removed unique constraint

* made base dialog more customizable

* added alias management to food and unit data pages

* removed unused awaits

* 🧹
2023-11-14 06:39:07 -09:00
Michael Genson
80968b02bb
feat: Remove Explore URLs and make the normal URLs public ()
* add groupSlug to most routes

* fixed more routing issues

* fixed jank and incorrect routes

* remove public explore links

* remove unused groupSlug and explore routes

* nuked explore pages

* fixed public toolstore bug

* fixed various routes missing group slug

* restored public app header menu

* fix janky login redirect

* 404 recipe API call returns to login

* removed unused explore layout

* force redirect when using the wrong group slug

* fixed dead admin links

* removed unused middleware from earlier attempt

* 🧹

* improve cookbooks sidebar
fixed sidebar link not working
fixed sidebar link target
hide cookbooks header when there are none

* added group slug to user

* fix $auth typehints

* vastly simplified groupSlug logic

* allow logged-in users to view other groups

* fixed some edgecases that bypassed isOwnGroup

* fixed static home ref

* 🧹

* fixed redirect logic

* lint warning

* removed group slug from group and user pages
refactored all components to use route groupSlug or user group slug
moved some group pages to recipe pages

* fixed some bad types

* 🧹

* moved groupSlug routes under /g/groupSlug

* move /recipe/ to /r/

* fix backend url generation and metadata injection

* moved shopping lists to root/other route fixes

* changed shared from /recipes/ to /r/

* fixed 404 redirect not awaiting

* removed unused import

* fix doc links

* fix public recipe setting not affecting public API

* fixed backend tests

* fix nuxt-generate command

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-11-05 16:07:02 -09:00
NullCosmos
f72fcc3031
feat: Implemented Plan to Eat migration ()
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2023-10-15 20:01:07 +00:00
Michael Genson
3e5596f898
fix: Home Doesn't Load For Non-Admin Users ()
* added non-admin route for fetching current group

* simplified frontend group slug fetching

* exposed public link even if user can't invite

* 🧹
2023-09-19 09:06:39 -08:00
Grygon
9a04b11ee5
fix: - Add clearable ratings ()
* Add clearable to RecipeRating, Fix 

* Make rating nullable

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-09-15 19:10:44 +00:00
Michael Genson
2c5e5a8421
feat: Public Recipe Browser ()
* fixed incorrect var ref

* added public recipe pagination route

* refactored frontend public/explore API

* fixed broken public cards

* hid context menu from cards when public

* fixed public app header

* fixed random recipe

* added public food, category, tag, and tool routes

* not sure why I thought that would work

* added public organizer/foods stores

* disabled clicking on tags/categories

* added public link to profile page

* linting

* force a 404 if the group slug is missing or invalid

* oops

* refactored to fit sidebar into explore

* fixed invalid logic for app header

* removed most sidebar options from public

* added backend routes for public cookbooks

* added explore cookbook pages/apis

* codegen

* added backend tests

* lint

* fixes v-for keys

* I do not understand but sure why not

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-09-14 06:01:24 -08:00
Michael Genson
d6e4829e6f
feat: Display Shopping List Item Recipe Refs ()
* added recipe ref display to shopping list items

* added backend support for recipe notes

* added recipe note to item recipe ref display

* fixed note merge bug with 3+ notes

* tweak display

* lint

* updated alembic refs

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-08-21 09:18:37 -08:00
Michael Genson
2151451634
feat: Timeline Image Uploader Improvements ()
* improved UI responsiveness and added image preview

* added global image cropper component

* added image cropper to last made dialog

* style tweaks

* added more specific text for creating event

* mopped up some slop

* renamed height and width vars

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-08-21 15:00:37 +00:00