Chris Wells
d77dba0468
Update to Node 20
2024-05-04 21:13:55 +00:00
Christopher C. Wells
6e3c40531d
Remove use of deprecated Media Library model method
2022-03-06 14:43:39 -08:00
Christopher C. Wells
3f04f14a2d
Add API key to profile output
2021-11-08 20:55:00 -08:00
Christopher C. Wells
f607bf73f7
Expand size of decimal fields
...
Fixed #37
2021-10-31 19:38:27 -07: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 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
6a93254781
Tweak factory and seeder for goal changes
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
1d1df92d8f
Add media to User Controller test instances
2021-04-21 08:53:41 -07:00
Christopher C. Wells
ef719c9175
Add User admin flag
2021-04-20 16:04:32 -07:00
Christopher C. Wells
0d5b3fe4fc
Add User CRUD controller tests
2021-04-20 15:02:45 -07:00
Christopher C. Wells
a9fad1bff0
Add basic User CRUD abilities
2021-04-20 14:49:51 -07:00
Christopher C. Wells
ebb07ffb7d
Replace unecessary states in Food factory
2021-04-20 11:55:10 -07:00
Christopher C. Wells
057433eb90
Add support for "oz" as a food serving unit
2021-04-20 11:51:19 -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
232f5ddfe8
Attempt to improve handling for common 1/3 and 2/3 amounts
2021-04-10 14:22:14 -07:00
Christopher C. Wells
9ed27c0108
Enforce larger decimal format for ingredient amount column
2021-04-10 14:20:11 -07:00
Christopher C. Wells
264a194202
Remove media handling from database seeder
2021-04-08 07:49:33 -07:00
Christopher Charbonneau Wells
a1d12cdfdd
Add migration down for media table
2021-04-08 05:59:51 -07:00
Christopher C. Wells
a13bdb4e01
Don't use thirds in seed data
2021-04-07 21:53:49 -07:00
Christopher C. Wells
c76b1b07c0
Finalize fake data improvements
2021-04-07 21:28:05 -07:00
Christopher C. Wells
3521f36134
Improve general relevancy of database seeder
2021-04-07 16:36:46 -07:00
Christopher C. Wells
6920d21896
Re-add Seeders and Factories with correct case
2021-04-07 08:58:20 -07:00
Christopher C. Wells
5a732f9846
Fully remove Seeders and Facrtories (will re-add to deal with case change)
2021-04-07 08:57:28 -07:00
Christopher C. Wells
64cf3e274e
Use food words in factories
2021-04-07 08:53:00 -07:00
Christopher C. Wells
71ba007db9
Add Words class for random food-related words
2021-04-07 08:46:18 -07:00
Christopher Charbonneau Wells
350a08a14d
Add Heroku support ( #12 )
2021-04-06 10:05:10 -07:00
Christopher C. Wells
0961a37ef2
Sync user seeding and README
2021-04-05 16:29:25 -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
2b3f0c31f6
Add Media API tests
2021-04-02 23:42:27 -07:00
Christopher C. Wells
da39143113
Test JSON API relationships
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
2fcabb949c
Use factories for BelongsTo relationships in factory
2021-04-02 23:42:27 -07:00
Christopher C. Wells
c67aa89555
Remove hardcoded create statements in factories (WIP)
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
51d4db11c6
Refactor nutrients units array as Collection
2021-04-02 23:42:27 -07:00
Christopher C. Wells
38ca26291f
Add Goal tests
2021-04-02 23:42:27 -07:00
Christopher C. Wells
a6c978981d
Add Goal factory
2021-04-02 23:42:27 -07:00
Christopher C. Wells
8fe730bb14
Test Food tags and empty nutrients
2021-04-02 23:42:27 -07:00
Christopher C. Wells
702c9d1147
Add basic Food tests
2021-04-02 23:42:27 -07:00
Christopher C. Wells
01b414c22c
Add tests for Support classes
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