Commit Graph

48 Commits

Author SHA1 Message Date
Christopher C. Wells 0660c4bfa4 Upgrade to Laravel 10 2024-02-03 08:36:44 -08:00
Christopher C. Wells 4aaf83c862 Add recipe duplicate functionality 2022-03-06 20:53:50 -08:00
Christopher C. Wells c4cb8759ce Delete unused tags 2022-03-06 14:29:39 -08:00
Christopher C. Wells 5c29150ae1 Upgrade to Laravel 9 2022-02-11 19:27:12 -08:00
Christopher C. Wells fb3fa3dd1d Add nutrient calculation for recipe volumes 2021-04-18 13:46:20 -07:00
Christopher C. Wells 809e3ca7d7 Add support for recording recipe volume (WIP)
This offers no practical value yet -- ultimately it will be used to support
volume-based servings for recipes with a total volume set.
2021-04-17 20:31:52 -07:00
Christopher C. Wells 17e640303d Implement FDA guideline-based rounding
Rounding is left out of Food nutrients for now to prevent rounding up before
summing in certain places.
2021-04-08 16:34:30 -07:00
Christopher C. Wells edbcd877c2 Filter supported units in ingredient picker 2021-04-04 14:55:19 -07:00
Christopher C. Wells e97056553a Add API endpoint and relationships for recipe separators 2021-04-02 23:42:27 -07:00
Christopher C. Wells 28c915b8c5 Override Tag class in app models 2021-04-02 23:42:27 -07:00
Christopher Charbonneau Wells 0407899496
Add ingredient separators (#10)
* Add weight handling to ingredient sortable

* Add frontend logic for recipe ingredients "separator"

* Add "recipe separator" model

* Update ingredient handlers on recipe save

* Combine ingredients and separators handler in recipe edit

* Handle recipe ingredient separators in recipe show

* Fix handling of old recipe form data
2021-03-26 08:58:37 -07:00
Christopher C. Wells be9c45a414 Replace recipe active time with cook time 2021-03-13 13:51:37 -08:00
Christopher C. Wells c978c5843d Use recipe image as background 2021-03-12 20:48:08 -08:00
Christopher C. Wells ac57f6d33e Add initial recipe image support 2021-03-12 20:48:08 -08:00
Christopher C. Wells fafc4c9e33 Remove unused use statement 2021-03-08 08:40:36 -08:00
Christopher C. Wells 053c8305a1 Refactor Quill handling as a separate database column 2021-03-08 08:40:36 -08:00
Christopher C. Wells 99300d1b2d Add frontend support for Quill JSON strings 2021-03-08 08:40:36 -08:00
Christopher C. Wells be681f0dd7 Add recipe time fields (WIP)
Not present in th frontend yet.
2021-03-06 09:30:15 -08:00
Christopher C. Wells 8feb7b37fa Set tags keyword field with array 2021-03-05 14:50:54 -08:00
Christopher C. Wells 5dfd3e17df Use babenkoivan Elasticsearch ecosystem 2021-03-04 22:17:33 -08:00
Christopher Charbonneau Wells 076882ecdb
Add fulltext search support to ingredient picker 2021-02-24 18:44:17 -08:00
Christopher C. Wells ae27a2e4bd Fix Ingredient/HasIngredient trait relationships 2021-02-17 06:05:29 -08:00
Christopher C. Wells 33a8591c72 Add handling for recipes by weight in ingredient amounts and journal entries 2021-02-11 20:25:36 -08:00
Christopher C. Wells 836c40abf2 Add recipe weight support 2021-02-11 19:49:27 -08:00
Christopher C. Wells 037d20fbb7 Add phpstan support 2021-01-24 19:43:59 -08:00
Christopher C. Wells c29c88776f Add tagging support to foods and recipes 2021-01-23 19:58:03 -08:00
Christopher C. Wells 983b7695dd Add support for recipe recipe ingredients 2021-01-23 10:33:25 -08:00
Christopher C. Wells 1c420bc624 Remove remaining FoodAmount references 2021-01-23 10:33:25 -08:00
Christopher C. Wells 670d6127ca Refactor Recipe to support IngredientAmount (WIP)
Only Food IngredientAmounts are supported currently.
2021-01-23 10:33:25 -08:00
Christopher C. Wells 19eac25413 Update nutrient calculation for IngredientAmount 2021-01-23 10:33:25 -08:00
Christopher C. Wells 5ded6bfce6 Create IngredientAmount class
This class will replace FoodAmount when it has proper support for
calculating nutrients for FoodAmount and Recipe combinations.
2021-01-23 10:33:25 -08:00
Christopher C. Wells 13f1302132 Add initial Recipe support to ingredient picker (WIP)
A new class it likely needed here -- IngredientAmount -- to support either a
Food or a Recipe.
2021-01-23 10:33:25 -08:00
Christopher C. Wells ba7cd55503 Write IDE helper content directly to models 2021-01-18 13:33:21 -08:00
Christopher C. Wells 70c9396d0f Add `source` field to Recipe model 2021-01-18 09:22:08 -08:00
Christopher C. Wells d99d49777b Add IDE helper for better handling of Laravel builders 2021-01-03 08:40:16 -08:00
Christopher C. Wells ab10dd0342 Use slugs for recipe and food routes 2021-01-01 20:34:55 -08:00
Christopher C. Wells c1ddb061df Add basic journal entries index (WIP) 2021-01-01 15:05:36 -08:00
Christopher C. Wells dfad48c71d Refactor journal entries to record nutrients directly 2021-01-01 09:50:19 -08:00
Christopher C. Wells 2dd92c8d3a Refactor "ingredients" as "foods" 2020-12-30 15:06:22 -08:00
Christopher C. Wells 545e4c0b5e Add recipe list view 2020-12-30 14:00:04 -08:00
Christopher C. Wells aa9b504653 Add JSON:API via `cloudcreativity/laravel-json-api` 2020-12-22 22:16:18 -08:00
Christopher C. Wells 00eb252995 Use overloading in Recipe class 2020-12-22 20:07:24 -08:00
Christopher C. Wells e3e84c2e13 Add nutrients per serving methods to Recipe 2020-12-22 15:15:41 -08:00
Christopher C. Wells 013baa88fc Refactor on base 100g unit 2020-12-22 15:08:49 -08:00
Christopher C. Wells 2d1990d415 Add RecipeStep model 2020-12-21 21:23:38 -08:00
Christopher C. Wells 361d3b3a07 Add nutrient sum methods to IngredientAmount and Recipe 2020-12-21 20:56:23 -08:00
Christopher C. Wells 790e1af828 Add example total calories getter 2020-12-21 19:38:58 -08:00
Christopher C. Wells d54ad13460 Add Recipe model 2020-12-21 15:25:10 -08:00