Christopher Charbonneau Wells
1fbb9a7dae
Add support for meals customization ( #15 )
...
* Add meals as JSON field on User
* Change journal entry meal field to integer
* Make Quill and Draggable more modular
* Add meals routes and controller (WIP)
* Set default meals during migration
* Handle meals form
* No-op meal field migrations
This allows tests to pass easier and the migrations are not entirely
necessary anyway.
* Update factories and tests for new meals format
* Add basic meals edit test
* Update journal entry processing for new meal values
* Remove temporary migrations
* Only use default enabled meals in tests
* Add User `meals_enabled` attribute
* Ensure NULL values are removed from attributes
* Add meals data to use API response
* Set default meals on user create
2021-05-30 13:11:58 -07:00
Christopher C. Wells
6bb2439378
Reset migrations
...
The extensive migration of the goals table caused unhappiness for sqlite.
2021-05-15 21:40:53 -07:00
Christopher C. Wells
dc4d7987e8
Create JournalDate model for setting per-date goals
2021-05-15 21:40:53 -07:00
Christopher C. Wells
153611e66d
Remove Goal `from` and `to` attributes
2021-05-15 21:40:53 -07:00
Christopher C. Wells
22a80400db
Refactor Goal model
2021-05-15 21:40:53 -07:00
Christopher C. Wells
ef719c9175
Add User admin flag
2021-04-20 16:04:32 -07:00
Christopher C. Wells
a9fad1bff0
Add basic User CRUD abilities
2021-04-20 14:49:51 -07:00
Christopher C. Wells
6202ddf903
Change Food `serving_size` to `decimal` and refresh migrations
2021-04-20 10:20:17 -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
9ed27c0108
Enforce larger decimal format for ingredient amount column
2021-04-10 14:20:11 -07:00
Christopher Charbonneau Wells
a1d12cdfdd
Add migration down for media table
2021-04-08 05:59:51 -07:00
Christopher Charbonneau Wells
350a08a14d
Add Heroku support ( #12 )
2021-04-06 10:05:10 -07:00
Christopher C. Wells
7723bf20ac
Remove temporary migration
2021-04-05 06:05:34 -07:00
Christopher C. Wells
8788c39d44
Remove breeze boilerplate verification and registration code
2021-04-05 05:41:34 -07:00
Christopher C. Wells
29638c711f
Replace meals static array with Collection
2021-04-02 23:42:27 -07:00
Christopher C. Wells
51d4db11c6
Refactor nutrients units array as Collection
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
678f944af1
Remove development migrations
2021-03-13 14:38:02 -08:00
Christopher C. Wells
be9c45a414
Replace recipe active time with cook time
2021-03-13 13:51:37 -08:00
Christopher C. Wells
ac57f6d33e
Add initial recipe image support
2021-03-12 20:48:08 -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
be681f0dd7
Add recipe time fields (WIP)
...
Not present in th frontend yet.
2021-03-06 09:30:15 -08:00
Christopher C. Wells
465c466a93
Remove development migrations
2021-02-19 09:14:26 -08:00
Christopher C. Wells
08b8c63622
Add constraints and indexes to existing tables
2021-02-19 09:02:58 -08:00
Christopher C. Wells
fd45baa946
Drop Food Amounts table
2021-02-19 05:57:55 -08:00
Christopher Charbonneau Wells
414629b469
Add goals support ( #4 )
2021-02-15 14:19:53 -08:00
Christopher C. Wells
836c40abf2
Add recipe weight support
2021-02-11 19:49:27 -08:00
Christopher C. Wells
3c5d1c1f00
Use mg base unit for cholesterol and sodium
2021-02-10 05:55:01 -08:00
Christopher C. Wells
afa4e5f93f
Add custom serving name field to foods
2021-02-06 13:59:19 -08:00
Christopher C. Wells
6baf888d4f
Add source and notes fields to foods
2021-01-27 05:51:38 -08:00
Christopher C. Wells
c29c88776f
Add tagging support to foods and recipes
2021-01-23 19:58:03 -08:00
Christopher C. Wells
2dfc9b457c
Add a migration for FoodAmount -> 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
70c9396d0f
Add `source` field to Recipe model
2021-01-18 09:22:08 -08:00
Christopher C. Wells
f974806b15
Add `detail` field to Food Amount model
2021-01-18 08:59:55 -08:00
Christopher C. Wells
38db1ce41d
Convert existing name columns to lowercase
2021-01-18 08:43:31 -08:00
Christopher C. Wells
03f9d5395a
Make recipe description and units fields optional
2021-01-15 04:53:02 -08:00
Christopher C. Wells
ab10dd0342
Use slugs for recipe and food routes
2021-01-01 20:34:55 -08:00
Christopher C. Wells
dfad48c71d
Refactor journal entries to record nutrients directly
2021-01-01 09:50:19 -08:00
Christopher C. Wells
c33776155a
Refactor on servings-based food data (WIP)
2020-12-31 14:59:05 -08:00
Christopher C. Wells
1ec4439d8e
Add initial "Journal entry" model
2020-12-31 11:00:14 -08:00
Christopher C. Wells
2dd92c8d3a
Refactor "ingredients" as "foods"
2020-12-30 15:06:22 -08:00
Christopher C. Wells
3060bdbb7c
Add support for sodium and cholesterol tracking
2020-12-22 19:55:33 -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
978a3088c4
Add unit support to IngredientAmount
2020-12-21 20:24:47 -08:00
Christopher C. Wells
d54ad13460
Add Recipe model
2020-12-21 15:25:10 -08:00
Christopher C. Wells
a4cc3c3f65
Add IngredientAmount model
2020-12-21 13:59:05 -08:00
Christopher C. Wells
18543c4971
Add Ingredient model
2020-12-21 13:54:30 -08:00
Christopher C. Wells
dbc7ad9c32
Initial commit -- Laravel base app
2020-12-21 09:46:31 -08:00