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
7daeab4c44
Cast Goal User ID as int
2022-02-28 18:45:55 -08:00
Christopher C. Wells
ef096492d4
Add "ingredient ID" attribute to ingredients
...
This change prevents ID collision when dealing with multiple models.
2022-02-20 13:46:16 -08:00
Christopher C. Wells
5c29150ae1
Upgrade to Laravel 9
2022-02-11 19:27:12 -08:00
Christopher C. Wells
3f04f14a2d
Add API key to profile output
2021-11-08 20:55:00 -08:00
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 Charbonneau Wells
c15f81ee6b
Add ability to change goal for a date ( #14 )
2021-05-22 14:07:57 -07:00
Christopher C. Wells
721c5baa2c
Add days to Goal index view
2021-05-15 21:40:53 -07:00
Christopher C. Wells
77b06c62b1
Add formatted days attribute to Goal
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
91fd85ef83
Add date goal handling for user journal
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
3ae6c6ef13
Add remaining fields for Goal edit form
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
a378936b72
Create "profile" controller and routes (WIP)
...
Views are incomplete and components need to be broken out from user edit.
2021-04-21 16:37:10 -07:00
Christopher C. Wells
03f7319157
Add User photo media support
2021-04-21 08:49:05 -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
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
6b68d61385
Improve Goal validation feedback
2021-04-17 19:42:33 -07:00
Christopher C. Wells
232f5ddfe8
Attempt to improve handling for common 1/3 and 2/3 amounts
2021-04-10 14:22:14 -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 Charbonneau Wells
350a08a14d
Add Heroku support ( #12 )
2021-04-06 10:05:10 -07:00
Christopher C. Wells
8788c39d44
Remove breeze boilerplate verification and registration code
2021-04-05 05:41:34 -07:00
Christopher C. Wells
edbcd877c2
Filter supported units in ingredient picker
2021-04-04 14:55:19 -07:00
Christopher C. Wells
1776d5c83b
Re-enable User API endpoint
2021-04-02 23:42:27 -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 C. Wells
29638c711f
Replace meals static array with Collection
2021-04-02 23:42:27 -07:00
Christopher C. Wells
3c37fe4809
Complete initial factories for all models
2021-04-02 23:42:27 -07:00
Christopher C. Wells
a6c978981d
Add Goal factory
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
dae2a8d725
Add unit to nutrients summary value
2021-03-17 05:17:22 -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
65e3e9c776
Set formatted serving size to null when empty
2021-03-08 15:06:21 -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 C. Wells
794c0712bc
Add basic tags front end support
2021-02-27 13:50:40 -08:00
Christopher C. Wells
1b1260bece
Add convenience method to get total tags figures per model
2021-02-27 13:50:40 -08:00
Christopher Charbonneau Wells
076882ecdb
Add fulltext search support to ingredient picker
2021-02-24 18:44:17 -08:00
Christopher C. Wells
2f91c320ef
Refactor nutrients data array as a collection
2021-02-21 08:23:30 -08:00
Christopher C. Wells
ae27a2e4bd
Fix Ingredient/HasIngredient trait relationships
2021-02-17 06:05:29 -08:00