107 Commits

Author SHA1 Message Date
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
cc37147a34
fix: Add Formatting for Markdown Tables ()
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-12-11 10:33:43 +01:00
Michael Genson
02a545dcb5
fix: Sort Food by Label on Data Management Page () 2024-12-10 14:10:07 +00:00
Michael Genson
4e0cf985bc
feat: Recipe Finder (aka Cocktail Builder) () 2024-12-03 13:27:41 +00:00
Michael Genson
4f5a0bf9f5
fix: Wakelock Toggle Broken () 2024-11-15 07:26:55 +01:00
Arsène Reymond
622c1b11f5
feat: Groups/households custom invitations ()
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-11-12 03:30:08 +00:00
Michael Genson
b8e62ab8dd
feat: Query Filter Builder for Cookbooks and Meal Plans () 2024-10-17 17:35:39 +02: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
Cody
28b0190648
feat: Shopping list UI overhaul - add wakelock ()
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-09-28 15:16:06 +00: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
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
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
Christian Clauss
e2033b2d67
fix: pre-commit autoupdate && pre-commit run --all-files () 2024-06-26 10:41:46 +00:00
Michael Genson
109ec651cc
fix: Broken Data Management Tabs () 2024-06-01 21:46:31 +00:00
Michael Genson
ca26639525
feat: Data Management from Shopping List ()
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
2024-05-22 21:58:16 +00:00
Michael Genson
5c57b3dd1a
feat: OpenAI Ingredient Parsing () 2024-05-22 09:45:07 +00:00
Michael Genson
95c15504d0 fixed BaseOverflowButton divider 2024-03-21 16:11:18 +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
boc-the-git
e6aadc4902
feat: Recipe Instructions, add buttons for move to top or bottom ()
* Add 'move to top' and 'move to bottom' to recipe steps

* Add divider functionality
2024-03-03 22:41:29 +00:00
Kuchenpirat
52c58e1dc0
feat: bulk deletion on "Manage Data" page ()
* labels bulk delete

* add foods

* bulk delete units

* add categories

* add tags

* add tools

* update translations

* fix types for text

* fix reactivity for stores

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-02-04 12:55:14 -06:00
Kuchenpirat
67b7fb007b
feat: Cookbook Create & Delete Improvements ()
* add delete dialog

* put editor into component

* return data on createCookbook store action

* verry basic dialog with create & cancel functions

* 🧹

* cleanup

* add translation

* add dialog-closed to BaseDialog

* update delete dialog messaging

* use cancel instead of dialog-closed
2024-02-04 07:15:25 -09:00
Kuchenpirat
6a71af98bd
fix: show copy to clipboard failure ()
* fix for AppButtonCopy

* add some logging

* fix if statement

* refactor, use .then

* check for copied

* Fix recipe share link

* refactor AppButtonCopy

* update tooltip text

* update use-copy

* logging

* fix is supported check

* more fixes for use-copy.ts

---------

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2023-12-29 15:48:28 +00:00
Michael Genson
f8ad72ec31
fix: Bulk URL Import Fixes ()
* allow expections when fetching content

* removed extra bracket on import text

* added more fault tolerance and limited concurrency

* fix entries not being saved to report

* disable clicking into in-proress import

* conditionally render expansion
2023-12-07 17:08:47 +00:00
p0lycarpio
3e4a6ac93b translate hardcoded strings 2023-11-24 22:28:15 +01:00
Kuchenpirat
63ac21bce2
feat: Add Categories, Tags and Tools to Manage Data Page ()
* add categories

* add tags

* 🧹

* 🧹 l18n

* add tools

* remove broken on Hand for tools

* fix for tools onHand not updating from frontend

* tools: re-add "on Hand"

* remove itemized icon from create button

* change combine icon

* add divider to BaseOverflowButton

* divide and conquer

---------

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2023-11-21 08:31:05 -06: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
Michael Genson
bd79c1db2f
chore: Get Rid of Warnings ()
* ignore unsafe html warnings

* remove unused import

* re-order attrs

* removed unused vars/imports

* removed unused import

* refactored v-html

* removed more unused things
2023-10-07 11:23:47 -08:00
Michael Genson
1074cad5dc
feat: disable admin option when using LDAP auth ()
* fix typo

* add override readonly/disable support for autoform

* made admin permission conditionally disabled
2023-09-29 15:58:34 -08:00
Michael Genson
693608d59f
feat: cook timer ()
* updated base button group

* added kitchen timer

* added missing icon

* usability tweaks

* for for menu rendering over app bar

* clean up types

* fix for mp3 loading, maybe?

* spooky linter fixes

* for real this time

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-08-23 09:31:23 -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
Michael Genson
fe17922bb8
Feature: Global Timeline ()
* extended query filter to accept nested tables

* decoupled timeline api from recipe slug

* modified frontend to use simplified events api

* fixed nested loop index ghosting

* updated existing tests

* gave mypy a snack

* added tests for nested queries

* fixed "last made" render error

* decoupled recipe timeline from dialog

* removed unused props

* tweaked recipe get_all to accept ids

* created group global timeline
added new timeline page to sidebar
reformatted the recipe timeline
added vertical option to recipe card mobile

* extracted timeline item into its own component

* fixed apploader centering

* added paginated scrolling to recipe timeline

* added sort direction config
fixed infinite scroll on dialog
fixed hasMore var not resetting during instantiation

* added sort direction to user preferences

* updated API docs with new query filter feature

* better error tracing

* fix for recipe not found response

* simplified recipe crud route for slug/id
added test for fetching by slug/id

* made query filter UUID validation clearer

* moved timeline menu option below shopping lists

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-04-25 09:46:00 -08:00
Michael Genson
b52848595c
feat: added max width for print setting dialog () 2023-03-21 11:52:18 -08:00
Michael Genson
a025996b94
feat: Expanded safe HTML tags and attributes ()
* expanded safe html tags and attrs

* removed style attr

* add note on sources of safe elements

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-03-21 11:49:41 -08:00
sephrat
9fd1ba6e46
feat(lang): more localization()
* feat(lang): localize some views

* fix: typo

* fix: Localization broke bug report generation

* feat(lang): localize recipe page instructions
2023-03-21 11:45:27 -08:00
Hayden
01e3bb04b9
feat: update inline docs on group page to clarify private/public settings () 2023-02-26 12:39:36 -09:00
Sören
84d55eb920
fix: webhooks not firing ()
* fix webhooks not firing due to missing session

* disable webhook test button because it doesnt do anything

* fix background task administration not working at all

* fix error in test
2023-02-26 10:27:22 -09:00
Carter
2e6ad5da8e
Feature: Add "Authentication Method" to allow existing users to sign in with LDAP ()
* adds authentication method for users

* fix db migration with postgres

* tests for auth method

* update migration ids

* hide auth method on user creation form

* (docs): Added documentation for the new authentication method

* update migration

* add  to auto-form instead of having hidden fields
2023-02-26 10:12:16 -09:00
Michael Genson
666085b9ca
Fix: Print Preferences Menu Missing ()
* fixed console errors for missing recipe prop

* restored print preferences to action menu
2023-02-21 19:00:22 -09:00
Philipp Fischbeck
89b003589d
chore(deps): update to Nuxt 2.16 (Vue 2.7) () 2023-02-19 16:11:52 -09:00
Michael Genson
53fe5921d2
chore: removed debug log () 2023-02-19 15:41:05 -09:00
sephrat
f8b8680b45
Localize hard-coded texts ()
* feat(lang): localize some views

* feat(lang): an attempt at localizing vuetify (WIP)

* feat(lang): localized some more screens

* feat(lang): localized some more screens again

* feat(lang): hack to localize vuetify

* feat(lang): localize data management pages

* fix linting errors

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-01-28 16:39:51 -09:00
Hayden
ae59f04b9f
fix: allow-iframe-embeds ()
* allow embedding iframes

* fix alignment issue for buttons
2023-01-08 09:50:26 -09:00
Hayden
fcc5d99d40
chore: frontend testing setup ()
* add vitest

* initialize lib w/ tests

* move to dev dep

* run tests in CI

* update file names

* move api folder to lib

* move api and api types to same folder

* update generator outpath

* rm husky

* i guess i _did_ need those types

* reorg types

* extract validators into testable components

* (WIP) start composable testing

* fix import type

* fix linter complaint

* simplify icon type def

* fix linter errors (maybe?)

* rename client file for sorting
2022-10-22 11:51:07 -08:00
Hayden
558789cd02
fix firefox drag and drop + add visual indicator () 2022-10-21 20:01:08 -08:00
Miroito
025f1bc603
feat: press enter to create a shopping list! ()
* feat/press enter to create list

* Press enter to submit base dialogs
2022-09-27 18:54:28 -08:00
Hayden
caa9e03050
refactor: recipe-page ()
Refactor recipe page to use break up the component and make it more usable across different pages. I've left the old route in as well in case there is some functional breaks, I plan to remove it before the official release once we've tested the new editor some more in production. For now there will just have to be some duplicate components and pages around.
2022-08-27 10:44:58 -08:00
Philipp Fischbeck
ba15006bb1
chore: make vue global components and layouts localizable () 2022-08-15 13:55:51 -08:00
Hayden
54c4f19a5c
security: enforce min length for user password ()
* fix typing on auth context

* extract user password strength meter

* fix broken useToggle method

* extend form to accept arguments for validators

* enforce password length on update

* fix user password change form
2022-08-13 21:38:26 -08:00