* added staticmethod decorators to avoid mypy error
* exposed created and updated timestamps to schema
* changed default sort from date_added to created_at
* explicitely sort recent recipes by created_at
* removed static method and replaced w/ type: ignore
* New translations en-US.json (Polish)
* New translations en-US.json (Polish)
* New translations en-US.json (Polish)
* New translations en-US.json (Polish)
* fix type errors on event bus
* webhooks fields required for new implementation
* db migration
* wip: webhook query + tests and stub function
* ignore type checker error
* type and method cleanup
* datetime and time utc validator
* update testing code for utc scheduled time
* fix file cmp function call
* update version_number
* add support for translating "time" objects when restoring backup
* bump recipe-scrapers
* use specific import syntax
* generate frontend types
* utilize names exports
* use utc times
* add task to scheduler
* implement new scheduler functionality
* stub for type annotation
* implement meal-plan data getter
* add experimental banner
* grouped ingredients and instructions into sections
* added missing import
* divided ingredient sections and instruction sections into their own containers
* tweaked css to prevent sections from getting split between pages
* replaced horizontal rule with a text underline
* removed leftover CSS
* implement computer properties as reducers
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
* fixed bug where ingredient titles were lost after parsing
* added fallback in case of strange behavior during parsing
* removed unnecessary linebreak
* Added custom scaling option
* Allow custom scaling with no yield set
* Made edit-scale translated
* fixed merge conflict
* Refactored scale editor to use menu
* replaced vslot with #
* linter issues
* fixed linter issues
* fixed one more linter issue
* format files + minor UI changes
* remove console.log
* move buttons into component and setup v-model
* drop servings text
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
* add drag and drop support for recipe steps
* fix recipe assets dialog state
* add attr support for markdown editor
* add persistent hint for recipe text editor
* add 'use-abbreviation' db column
* type generation
* add view and edit elements
* check for use_abbreviation to display
* fix: alembic version check
* test: add use_abbreviation prop tests
* New translations en-US.json (French)
* New translations en-US.json (German)
* New translations en-US.json (German)
* New translations en-US.json (German)
refactored signup flow for entire registration process. Utilized seed data option for optional seeding of Foods, Units, and Labels. Localized registration page.
* feat: import original keywords as tags
* remove cached env
* Update frontend api types
* fix: Issues with previous tag scraping implementation
* Update category handling in backend
* Update backend tests to include group_id
* Correct type check
* Update create-url interface
* Improve tag cleaner list support
* remove builtin name shadowing
* update type annotations
* test include tags scraper
* implement scaper context for optional data
* readd cache venv
* use continue instead of break
* remove test callback
Co-authored-by: Miroito <alban.vachette@gmail.com>
* use locale to set language header
* rewrite i18n provider and drop dependency
* rename file
* rename CrudMixin to HttpRepo
* refactor: code-cleanup
* add crowdin source
* remove unused translations
* grab translations from dev branch
* add translation support for foods, units, and labels
* remove rich import
* add direction prop for icon position
* add support for require_all properties on cookbook
* update type annotations
* add and - or filter support
* update cookbook API
* generate types
* implement editor for additional options
* update version number
* feat: add api endpoints for volume check
* feat: add docker icon
* add size prop
* feat: add frontend UI for checking docker-volume
* update caddy to server validation file
* add more extensive documentation around setup req
* fix: wrong type on user id #1123
* spelling
* refactor: cleanup excessive function calls
* add utility type to hide Advanced items
* add default text
* fix#1115 and minor refactorings
* generate types
* hotfix: add validator to catch null vlaues
* migration: add public, tags, and tools
* generate frontend types
* add help icon
* start replacement for tool-tag-category selector
* add help icon utility
* use generator types
* add support for cookbook features
* add UI elements for cookbook features
* fix tests
* fix type error
* resolve file not found error and add constants
* add group stats and storage functionality
* generate new types
* add statistics and storage cap graphs
* fix: add loadFood query param #1103
* refactor to flex view
* fix disable button
* add backend env for restricting registration
* update state management
* add allow_signup to app info
* move allow_signup to backend only
* cleanup docker-compose
* potential darkmode fix
* fix missing variable
* add banner on login page
* use random bools for tests
* fix initial state bug
* fix state reset
* toggle hide recipe sections
* disable parser if food or units is defined
* make inputs clearable
* remove console.logs
* fix linter error
* fix linter errors
* test-case for #1011
* revert regressions for #1011
* update cache key on new image
* lint
* fix#1012
* typing
* random_recipe fixture
* remove delete button when no listeners are present
* spacing
* update copy to match settings value
* fix type issues for #999
* fix regression #995
* remove error from frontend and log error #996
* cleanup darkmode on login page
* keep primary color bg
* update to GUIDs
* fix cookbook id relationships
* update webhook keys
* cleanup naming and attribute orders
* remove old database tables
* fix meal-plan images
* remove dashbaord and events api
* use recipe-id instead of id
* cleanup documentation assets
* cleanup docs for v1 beta-release
* add depends_on for docker-compose
* use docker volumes for examples
* move caddy to frontend container
* update naming
* refactor tests to use shared structure
* shorten names
* add tools test case
* refactor to support multi-tenant
* set group_id on creation
* initial refactor for multitenant tags/cats
* spelling
* additional test case for same valued resources
* fix recipe update tests
* apply indexes to foreign keys
* fix performance regressions
* handle unknown exception
* utility decorator for function debugging
* migrate recipe_id to UUID
* GUID for recipes
* remove unused import
* move image functions into package
* move utilities to packages dir
* update import
* linter
* image image and asset routes
* update assets and images to use UUIDs
* fix migration base
* image asset test coverage
* use ids for categories and tag crud functions
* refactor recipe organizer test suite to reduce duplication
* add uuid serlization utility
* organizer base router
* slug routes testing and fixes
* fix postgres error
* adopt UUIDs
* move tags, categories, and tools under "organizers" umbrella
* update composite label
* generate ts types
* fix import error
* update frontend types
* fix type errors
* fix postgres errors
* fix#978
* add null check for title validation
* add note in docs on multi-tenancy
* cleanup oversized buttons
* add get all by category function to reciep repos
* fix shopping-list can_merge logic
* use randomized data for testing
* add random getter to repository for meal-planner
* add stub route for random meals
* cleanup global namespace
* add rules database type
* fix type
* add plan rules schema
* test plan rules methods
* add mealplan rules controller
* add new repository
* update frontend types
* formatting
* fix regression
* update autogenerated types
* add api class for mealplan rules
* add tests and fix bugs
* fix data returns
* proof of concept rules editor
* add tag support
* remove old group categories
* add tag support
* implement random by rules api
* change snack to sides
* remove incorrect typing
* split repo for custom methods
* fix query and use and_ clause
* use repo function
* remove old test
* update changelog
* generate types
* use generated types
* ui updates
* init button link for common styles
* add links
* setup label views
* add delete confirmation
* reset when not saved
* link label to foods and auto set when adding to shopping list
* generate types
* use inheritence to manage exception handling
* fix schema generation and add test for open_api generation
* add header to api docs
* move list consilidation to service
* split list and list items controller
* shopping list/list item tests - PARTIAL
* enable recipe add/remove in shopping lists
* generate types
* linting
* init global utility components
* update types and add list item api
* fix import cycle and database error
* add container and border classes
* new recipe list component
* fix tests
* breakout item editor
* refactor item editor
* update bulk actions
* update input / color contrast
* type generation
* refactor controller dependencies
* include food/unit editor
* remove console.logs
* fix and update type generation
* fix incorrect type for column
* fix postgres error
* fix delete by variable
* auto remove refs
* fix typo
* Fix or comment several ts-ignores
* Fix typing related to BaseOverflowButton
* Remove unused functionality of useCookbooks, fix usage bug
* Fix more typing, add some comments
* Only allow ts-ignore if it has a comment
* fix group page
* setup group notification for backend
* update type generators
* script to auto-generate schema exports
* setup frontend CRUD interface
* remove old notifications UI
* drop old events api
* add test functionality
* update naming for fields
* add event dispatcher functionality
* bump to python 3.10
* bump python version
* purge old event code
* use-async apprise
* set mealie logo as image
* unify styles for buttons rows
* add links to banners
* Activate more linting rules from eslint and typescript
* Properly add VForm as type information
* Fix usage of native types
* Fix more linting issues
* Rename vuetify types file, add VTooltip
* Fix some more typing problems
* Use composition API for more components
* Convert RecipeRating
* Convert RecipeNutrition
* Convert more components to composition API
* Fix globals plugin for type checking
* Add missing icon types
* Fix vuetify types in Nuxt context
* Use composition API for RecipeActionMenu
* Convert error.vue to composition API
* Convert RecipeContextMenu to composition API
* Use more composition API and type checking in recipe/create
* Convert AppButtonUpload to composition API
* Fix some type checking in RecipeContextMenu
* Remove unused components BaseAutoForm and BaseColorPicker
* Convert RecipeCategoryTagDialog to composition API
* Convert RecipeCardSection to composition API
* Convert RecipeCategoryTagSelector to composition API
* Properly import vuetify type definitions
* Convert BaseButton to composition API
* Convert AutoForm to composition API
* Remove unused requests API file
* Remove static routes from recipe API
* Fix more type errors
* Convert AppHeader to composition API, fixing some search bar focus problems
* Convert RecipeDialogSearch to composition API
* Update API types from pydantic models, handle undefined values
* Improve more typing problems
* Add types to other plugins
* Properly type the CRUD API access
* Fix typing of static image routes
* Fix more typing stuff
* Fix some more typing problems
* Turn off more rules
The problem was that on smaller screens or when resizing, v-navigation-drawer would change its value on its own, but these changes were not propagated to AppSidebar.
I also added a few missing type definitions for SidebarLinks.
* add default assets for user profile
* add recipe avatar
* change user_id to UUID
* add profile image upload
* setup image cache keys
* cleanup tests and add image tests
* purge user data on delete
* new user repository tests
* add user_id validator for int -> UUID conversion
* delete depreciated route
* force set content type
* refactor tests to use temp directory
* validate parent exists before createing
* set user_id to correct type
* update instruction id
* reset primary key on migration
* feat: ✨ support for lockable recipes
* feat(backend): ✨ check user can update before updating recipe
* test(backend): ✅ add recipe lock tests
* feat(frontend): ✨ disabled lock action when not owner
* test(backend): ✅ test non-owner can't lock recipe
* hide quantity on zero value
* fix(backend): 🐛 temp/partial fix for recipes with same name. WIP
* simplify context menu
* move computed to comp-api
* feat: ✨ create share tokens for recipes for sharing recieps to non-users
* feat: ✨ shareable recipe links with og tags
* feat(backend): 🌐 make foods/ingredients translatable
* feat(backend): ✨ add remember me support for login - 14 days
* feat(frontend): 💄 add persistent darkmode for user sessions
* capture #859
* feat(frontend): 💄 add basic open-graph data for site links
* docs: 📝 general documentation + add FAQ page
* fix(frontend): 🐛 readd missing upload button to backups.
* feat(backend): ✨ add support for backup sizes to be displayed on frontend
* feat(backend): ✨ add backend for administrator CRUD of users
* add admin support for user
* refactor(frontend): ♻️ rewrite admin CRUD interface for admins
* fix build errors
Co-authored-by: hay-kot <hay-kot@pm.me>
* feat(frontend): ✨ add back support for assets
* feat(backend): ✨ add back support for assets
* feat(frontend): ✨ add support for recipe tools
* feat(backend): ✨ add support for recipe tools
* feat(frontend): ✨ add onHand support for recipe toosl
* feat(backend): ✨ add onHand support for backend
* refactor(frontend): ♻️ move items to recipe folder and break apart types
* feat(frontend): ✨ add support for recipe comments
* feat(backend): ✨ Add support for recipe comments
* fix(backend): 💥 disable comments import
* fix(frontend): 🐛 fix rendering issue with titles when moving steps
* add tools to changelog
* fix type errors
Co-authored-by: hay-kot <hay-kot@pm.me>
* cleanup console.logs
* default to panels open
* feat(frontend): ✨ add ingredient on enter
* feat(frontend): ✨ automatically trigger parser on navigation
* feat(frontend): ✨ prompt user before leaving when in editor
* add deep copy utility
* improve flow of parser
* add tooltip and match disable with disableAmount
* force admin users to have advanced access
Co-authored-by: hay-kot <hay-kot@pm.me>
* move api clients and rename
* organize recipes composables
* rewrite useRecipeContext
* refactor(frontend): ♻️ abstract common ingredient functionality.
* feat(frontend): ✨ add scale, and back to recipe button + hide ingredients if none
* update regex to mach 11. instead of just 1.
* minor UX improvements
Co-authored-by: Hayden K <hay-kot@pm.me>
* make entry for NLP model `setup-model`
* add comments
* feat(frontend): ✨ Rewrite context menu in TS and add 'add to mealplan' options
* add note to changelog
Co-authored-by: Hayden K <hay-kot@pm.me>
* feat(frontend): ✨ split paragraph by 1. 1) or 1: regex matches
* feat(frontend): ✨ Update frontend to support ingredient To step refs
* feat(backend): ✨ Update backend to support ingredient to step refs
* fix title editor
* move about info to site-settings
* update change-log
Co-authored-by: Hayden K <hay-kot@pm.me>
* fix(backend): 🐛 Fix favorite assignment on backend
* fix(frontend): 🐛 fix printer button on recipe page
* style(frontend): 🚸 add user feadback on copy of recipe link
* fix(frontend): 🐛 Fix enableLandscape incorrect bindings to remove duplicate values
* feat(frontend): ✨ add ingredient copy button for markdown list -[ ] format
* feat(frontend): ✨ add remove prefix button to bulk entry
* fix(frontend): 🐛 disable random button when no recipes are present
* fix(frontend): ✨ fix .zip download error
* fix(frontend): 🚸 close image dialog on upload/get
* fix(frontend): 🐛 fix assignment on creation for categories and tags
* feat(frontend): ✨ Open editor on creation / fix edit button on main screen
* fix(frontend): 🐛 fix false negative regex match for urls on creationg page
* feat(frontend): 🚸 provide better user feadback when recipe exists
* feat(frontend): ✨ lock bulk importer on submit
* remove zip from navigation
* fix(frontend): ✨ rerender recipes on delete
Co-authored-by: Hayden K <hay-kot@pm.me>
* fix(frontend): 🐛 fix section titles carrying over on deleted items
Added a UUID generator to generate unique id's and prevent list changes from causing proper virtual dom re-renders.
* lazy load json editor
* fix ingredient rendering error
* move text to input
* update settings styling
* improve mobile view
Co-authored-by: Hayden <hay-kot@pm.me>
* unify look and feel + button validators
* Fixes#741
* add github script to mealei-next
* feat(frontend): 💄 improve user-flow for creating ingredients and units in editor
Creating a unit/food in the recipe editor will not automatically assign that to the auto-complete element on the ingredient. It also no longer needs a dialog and will show at the bottom of the menu at all times.
* fix whitespace issue with slot
* add security check to properties
* fix event refresh on delete
* remove depreciated page
* improve API token flow
* hide recipe data if not advanced user
* misc adds
Co-authored-by: Hayden <hay-kot@pm.me>
* fix UI column width
* words
* update parser to support diff strats
* add new model url
* make button more visible
* fix nutrition error
* feat(backend): ✨ add 'brute' strategy for parsing ingredients
* satisfy linter
* update UI for creation page
* feat(backend): ✨ log 422 errors in detail when not in PRODUCTION
* add strategy selector
Co-authored-by: Hayden <hay-kot@pm.me>
* add universal toast plugin
* add server side locales
* integrate CRF++ into CI/CD Pipeline
* docs(docs): 📝 add recipe parser docs
* feat(backend): ✨ Continued work on ingredient parsers
* add new model dest
* feat(frontend): ✨ New ingredient parser page
* formatting
Co-authored-by: Hayden <hay-kot@pm.me>
* count responses
* perf(backend): ⚡ remove validation on recipe summary response
use the construct() method from pydantic to reduce get time as well as optimize the SQL query for recipes
* update UI to support new categories/tags
* fix(backend): 🐛 restrict recipes by group
Co-authored-by: Hayden <hay-kot@pm.me>
* chore(backend): 🎨 add isort path to vscode settings
* style(frontend): 💄 remove fab and add general create button
* feat(backend): 🚧 stub out new exporter service
* comment out stub tests
Co-authored-by: Hayden <hay-kot@pm.me>
* refactor(backend): ♻️ cleanup duplicate code in http services
* refactor(backend): ♻️ refactor database away from singleton design
removed the database single and instead injected the session into a new Database class that is created during each request life-cycle. Now sessions no longer need to be passed into each method on the database
All tests pass, but there are likely some hidden breaking changes that were not discovered.
* fix venv
* disable venv cache
* fix install script
* bump poetry version
* postgres fixes
* revert install
* fix db initialization for postgres
* add postgres to docker
* refactor(backend): ♻️ cleanup unused and duplicate code in http services
* refactor(backend): remove sessions from arguments
* refactor(backend): ♻️ convert units and ingredients to use http service class
* test(backend): ✅ add unit and food tests
* lint
* update tags
* re-enable cache
* fix missing fraction in db
* fix lint
Co-authored-by: hay-kot <hay-kot@pm.me>
* feat(backend): ✨ new meal-planner feature
* feat(frontend): ✨ new meal plan feature
* refactor(backend): ♻️ refactor base services classes and add mixins for crud
* feat(frontend): ✨ add UI/API for mealplanner
* feat(backend): ✨ add get_today and get_slice options for mealplanner
* test(backend): ✅ add and update group mealplanner tests
* fix(backend): 🐛 Fix recipe_id column type for PG
Co-authored-by: hay-kot <hay-kot@pm.me>
* refactor(frontend): ♻️ major rewrite/improvement of use-profile pages
* refactor(frontend): ♻️ split webhooks into their own page
Co-authored-by: hay-kot <hay-kot@pm.me>
* test-commit
* Remove PR Name Checker
* refactor(backend): ♻️ split unrelated routes into clearer router paths
Add an /app and /admin router base paths to split previously grouped public/admin data into different paths. Part of a longer migration to move 'admin' operations under the admin path.
* refactor(backend): ♻️ rename imports
* refactor(frontend): ♻️ refactor frontend API and Pages to refelect new API design
Co-authored-by: hay-kot <hay-kot@pm.me>
* refactor(backend): ♻️ Refactor base class to be abstract and create a router factory method
* feat(frontend): ✨ add group edit
* refactor(backend): ✨ add group edit support
Co-authored-by: hay-kot <hay-kot@pm.me>
* New translations en-US.json (Hungarian)
* New translations en-US.json (Hungarian)
* New translations en-US.json (Hungarian)
* New translations en-US.json (Danish)
* New translations en-US.json (Italian)
* New translations en-US.json (English, United Kingdom)
* New translations en-US.json (English, United Kingdom)
* New translations en-US.json (English, United Kingdom)
* New translations en-US.json (English, United Kingdom)
* Add support for en-GB
Allows for British date format (native in vue-i18n)
+ potential spelling adaptations
* Rename default English locale to American English
* add ingredient sections to UI
* update changelog
* move recipe favorite to action bar
* fix button position on meal-planner
Co-authored-by: hay-kot <hay-kot@pm.me>
* New translations en-US.json (French)
* New translations en-US.json (French)
* New translations en-US.json (Polish)
* New translations en-US.json (Polish)
* New translations en-US.json (Danish)
* New translations en-US.json (Danish)
* New translations en-US.json (German)
* New translations en-US.json (German)
* Localize recipe import popup
* Add Italian language
* Use named formatting
* Remove unused strings
* Use dedicated strings for the sidebar
This will allow for shorter texts, so the text is not truncated,
without impacting other uses
* Fix missing string
* Localize "loading recipes"
* Remove unmaintained languages
Remove support for Danish, Portuguese and Chinese Traditional,
since their current translation state is <20%
* remove duplicate keys
* show context menu when not logged in
* remove console.log
* hide menu when printing
* add response to event
* add type definitions
* show context menu always
* add image name enums
* upload/download single recipe
* cleanup menu views+ localization
Co-authored-by: hay-kot <hay-kot@pm.me>
* dump deps
* add job for new groups on interval
* change sort icon
* fix cart icon
* bump version
* changelog
* early return if no comments
* remove comment
Co-authored-by: hay-kot <hay-kot@pm.me>