1191 Commits

Author SHA1 Message Date
Jack Bailey
e50788f685
Remove leftover debug variable 2023-11-13 09:40:10 +00:00
Jack Bailey
1197aa3f37
Add functionality to edit mealplan item 2023-11-13 02:20:08 +00:00
Michael Grinspan
4b55b838ed
Fix: broken link to ingredient parser (#2707) 2023-11-07 23:15:07 +00:00
Michael Genson
80968b02bb
feat: Remove Explore URLs and make the normal URLs public (#2632)
* 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
Hayden
94cf690e8f
New Crowdin updates (#2695)
* New translations en-us.json (English, United Kingdom)

* New translations en-us.json (Catalan)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Catalan)
2023-11-02 19:32:37 -08:00
Hayden
4fc1ec7663
New translations en-us.json (Afrikaans) (#2694) 2023-10-29 13:34:25 -08:00
Hayden
2764d9e2dd
New Crowdin updates (#2664)
* New translations en-us.json (Hebrew)

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

* New translations en-us.json (French)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Norwegian)

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

* New translations en-us.json (Romanian)

* New translations en-us.json (Spanish)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Bulgarian)

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

* New translations en-us.json (Bulgarian)

* New translations en-us.json (Bulgarian)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Norwegian)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Afrikaans)

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

* New translations en-us.json (German)

* New translations en-us.json (Bulgarian)

---------

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2023-10-28 20:34:30 +00:00
Hayden
75e95817a3
fix: dynamically load theme from API endpoint (#2688)
* dynamically load theme from API endpoint

* add documentation
2023-10-26 22:09:22 -05:00
p0lycarpio
97a9fa94a0 translate hardcoded strings 2023-10-26 15:26:14 +02:00
Michael Genson
c918b8f6e4
Merge branch 'mealie-next' into fix/mealplan-date-off-by-one 2023-10-25 13:21:35 -05:00
Michael Genson
168e226f0e fixed mealplanner date over daylight savings 2023-10-25 18:08:27 +00:00
Arsène Reymond
f7f8c51661
feat: update organization icons (#2668)
* front: update filters icons

* remove duplicate

---------

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2023-10-25 15:08:58 +00:00
Kuchenpirat
08b6f3b70a
fix: missing recipe page title (#2662) 2023-10-19 11:28:30 -05:00
Hayden
fbe8a4e2da
New Crowdin updates (#2657)
* New translations en-us.json (Bulgarian)

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

---------

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2023-10-18 09:11:44 -05:00
boc-the-git
defdc82d74
fix: PWA share_target. The URL from your browser comes in via 'text' instead of the expected 'url' (#2654) 2023-10-17 16:22:03 +00:00
Michael Genson
3257ea2980
ui: match background to other background vals (#2652) 2023-10-17 16:12:02 +00:00
Hayden
45141a5c5f
New Crowdin updates (#2649)
* New translations en-us.json (French)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Catalan)

* New translations en-us.json (Danish)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Dutch)

* New translations en-us.json (Russian)

* New translations en-us.json (Turkish)

* New translations en-us.json (Ukrainian)

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

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

* New translations en-us.json (French, Canada)
2023-10-17 07:59:29 -08:00
Michael Genson
4b04137a04
fix: attempted Vuetify dark mode fix (#2638) 2023-10-15 16:49:32 -08:00
Futureless671
5f0a9981f3
fix: Corrected generated password reset links (#2633)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2023-10-15 20:40:23 +00:00
NullCosmos
f72fcc3031
feat: Implemented Plan to Eat migration (#2635)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2023-10-15 20:01:07 +00:00
Hayden
e8b5d8d66f
New Crowdin updates (#2631)
* New translations en-us.json (Hungarian)

* New translations en-us.json (Afrikaans)

* New translations en-us.json (Hungarian)

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

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

* New translations en-us.json (Portuguese, Brazilian)
2023-10-15 14:18:37 -05:00
Hayden
2ad7cb0ea4
New Crowdin updates (#2614)
* New translations en-us.json (German)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Dutch)

* New translations en-us.json (Russian)

* New translations en-us.json (Swedish)

* New translations en-us.json (Turkish)

* New translations en-us.json (Ukrainian)

* New translations en-us.json (German)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Dutch)

* New translations en-us.json (Russian)

* New translations en-us.json (Swedish)

* New translations en-us.json (Turkish)

* New translations en-us.json (Ukrainian)

* New translations en-us.json (Romanian)

* New translations en-us.json (French)

* New translations en-us.json (Spanish)

* 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 (Greek)

* New translations en-us.json (Finnish)

* New translations en-us.json (Hebrew)

* 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 (Norwegian)

* New translations en-us.json (Polish)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Slovak)

* New translations en-us.json (Slovenian)

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

* 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 (Portuguese, Brazilian)

* New translations en-us.json (Croatian)

* New translations en-us.json (Latvian)

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

* New translations en-us.json (French, Canada)

* New translations en-us.json (German)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Russian)

* New translations en-us.json (Turkish)

* New translations en-us.json (Ukrainian)

* New translations en-us.json (Spanish)

* New translations en-us.json (Czech)

* New translations en-us.json (Hungarian)

* New translations en-us.json (French)
2023-10-13 08:25:06 -08:00
Joost Lekkerkerker
3af400ab28
fix: typo (#2618)
* Update en-US.json
2023-10-10 20:37:02 +00:00
Michael Genson
b153ddf858
feat: more shopping list enhancements (#2587)
* fix new position calculataion

* ensure consistent list item ordering

* fix recipe ref overflow on small screens

* added recipe ref elevation

* tweaked line height (for long notes)

* removed unused user dependency

* remove old shopping list items when there's >100

* 🤷

* cleaned up function generator

* fixed test

* fix potential type error

* made max position calc more efficient
2023-10-07 13:06:00 -08:00
Hayden
f35bc77a7d
New Crowdin updates (#2600)
* New translations en-us.json (Romanian)

* New translations en-us.json (French)

* New translations en-us.json (Spanish)

* 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 (Polish)

* 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 (Swedish)

* 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 (Portuguese, Brazilian)

* New translations en-us.json (Croatian)

* New translations en-us.json (Latvian)

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

* New translations en-us.json (French, Canada)

* New translations en-us.json (Arabic)

* New translations en-us.json (Danish)

* New translations en-us.json (Finnish)

* New translations en-us.json (Lithuanian)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Russian)

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

* New translations en-us.json (French, Canada)

* New translations en-us.json (Finnish)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Lithuanian)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Russian)

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

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

* New translations en-us.json (Romanian)

* New translations en-us.json (Arabic)

* New translations en-us.json (Danish)

* New translations en-us.json (Finnish)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Lithuanian)

* New translations en-us.json (Portuguese)

* New translations en-us.json (Russian)

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

* New translations en-us.json (Romanian)

* New translations en-us.json (Hungarian)

* New translations en-us.json (Lithuanian)

* New translations en-us.json (Russian)

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

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

* New translations en-us.json (German)
2023-10-07 13:05:39 -08:00
Arsène Reymond
45022e1f1b
fixes: PWA & interface on small screens (#2536)
* fix pwa icons

* fix spacing and layouts for small screens

* translate missing strings

* Revert "translate missing strings"

This reverts commit 150a961a0811cfe7d25f2dd8d79baf70f9a422ec.

* fixes

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-10-07 11:36:47 -08:00
Michael Genson
bd79c1db2f
chore: Get Rid of Warnings (#2599)
* 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
b86c4e5865
feat: Removed Cross-Version Disclaimer from Backup Page (#2597)
* removed cross-version disclaimer from backup text

* grammar tweak
2023-10-07 11:23:26 -08:00
Michael Genson
247a4de283
docs: fix old mealplanner route ref (#2590) 2023-10-07 11:21:46 -08:00
Johan Lindell
40ab328bb9
fix: Make sure recipe state is updated correctly (#2566) 2023-09-29 15:59:27 -08:00
Michael Genson
b32e2f1bf7
fix: Recipe Card Section Infinite Loop (#2584)
* refactored recipe card section fetch

* minor optimization

* lint
2023-09-29 15:59:07 -08:00
Michael Genson
1074cad5dc
feat: disable admin option when using LDAP auth (#2583)
* fix typo

* add override readonly/disable support for autoform

* made admin permission conditionally disabled
2023-09-29 15:58:34 -08:00
Michael Genson
ef805c4b57
fix: replace default enter key behavior (#2582) 2023-09-28 15:16:22 -08:00
Flightkick
bb9afd86c1
fix: Use reserved example.com as bogus instead of email.com domain. (#2551)
`email.com` is not a reserved domain, incorrect configuration could result in unintentional effects.
`example.com` is reserved by IANA for bogus purposes, see RFC 6761.
2023-09-23 07:56:34 -08:00
Michael Genson
a22d500603
fix: CSS rendering bug, again (#2555)
* idk man

* that wasn't supposed to be there
2023-09-19 09:07:08 -08:00
Michael Genson
3e5596f898
fix: Home Doesn't Load For Non-Admin Users (#2556)
* 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: #2534 - Add clearable ratings (#2541)
* Add clearable to RecipeRating, Fix #2534

* Make rating nullable

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-09-15 19:10:44 +00:00
Michael Genson
2dfbe9f08d
feat: Improved Ingredient Matching (#2535)
* added normalization to foods and units

* changed search to reference new normalized fields

* fix tests

* added parsed food matching to backend

* prevent pagination from ordering when searching

* added extra fuzzy matching to sqlite ing matching

* added tests

* only apply search ordering when order_by is null

* enabled post-search fuzzy matching for postgres

* fixed postgres fuzzy search test

* idk why this is failing

* 🤦

* simplified frontend ing matching
and restored automatic unit creation

* tightened food fuzzy threshold

* change to rapidfuzz

* sped up fuzzy matching with process

* fixed units not matching by abbreviation

* fast return for exact matches

* replace db searching with pure fuzz

* added fuzzy normalization

* tightened unit fuzzy matching thresh

* cleaned up comments/var names

* ran matching logic through the dryer

* oops

* simplified order by application logic
2023-09-15 17:19:34 +00:00
Hayden
2ad6af2cce
feat: consolidate deployment targets and publish to ghcr.io (#2539)
* WIP: proof of concept

* basic meta tag injection

* add support for scraping public/private links

* make tests go brrrrr

* cleanup initialization

* rewrite build config

* remove recipe meta on frontend

* make type checker happy

* remove other deployment methods

* fix issue with JSON response on un-authenticated request

* docs updates

* update tivy scanner

* fix linter stuff

* change registry tag

* build fixes

* fix same mistake I always make
2023-09-14 06:40:13 -08:00
Michael Genson
2c5e5a8421
feat: Public Recipe Browser (#2525)
* 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
0a00a6ea0d
fix: removed HTML tags when copying recipe ingredients (#2533) 2023-08-31 09:08:44 -08:00
Hugo van Rijswijk
408ca88cb2
fix: ingredient item should be single-line (#2521)
This is an issue on non-chromium browsers. I guess Chromium has some sort of support for nested CSS, whereas other browsers don't.
2023-08-25 08:32:26 -08:00
Michael Genson
30717e50d3
made parsed ingredient reactive (#2520) 2023-08-25 08:32:06 -08:00
Michael Genson
693608d59f
feat: cook timer (#2508)
* 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
5c5432304f
fix: recipe timeline UI glitches (#2519)
* fix invalid undefined prop

* fixed weird rendering

* made items pop more against background

* fixed invalid v-if

* fixed indentation
2023-08-23 09:30:59 -08:00
Michael Genson
5213a61d9b
fix: logic for disableAmount in shopping list items (#2518) 2023-08-22 14:03:24 -08:00
Michael Genson
ae502c5652
added missing recipe list import (#2516) 2023-08-21 17:30:31 -08:00
Arsène Reymond
99e7717fec
UI/UX improvements (#2423)
* disable autofocus and hide keyboard on enter

* improve a11y

* fix non-translated string

* improve recipeTimeline UI

* format

* fixes
2023-08-21 18:41:18 +00:00
Michael Genson
1e693fdca6
fix: refresh tag store when new tags are imported (#2504) 2023-08-21 09:18:55 -08:00
Michael Genson
d6e4829e6f
feat: Display Shopping List Item Recipe Refs (#2501)
* 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