cryptogopher
008cfdcd26
Relaxed quantity name uniqueness check
2020-05-28 23:19:59 +02:00
cryptogopher
7584c650da
Fixed formula validation during import of defaults
...
Previously it did not consider in-memory records and failed sometimes
2020-05-11 22:38:27 +02:00
cryptogopher
cd29e15b32
Fixed food order column ambiguity
2020-05-10 18:22:52 +02:00
cryptogopher
1f5ea1cfb6
compute_quantities: allow indirect associations and model dependencies
2020-05-10 18:06:32 +02:00
cryptogopher
c24bdd6f45
Renamed: formula_q -> filter_q
...
Added Meal related associations to Project
2020-04-25 22:49:48 +02:00
cryptogopher
c029ba59c2
Fixed saving Meal exposures
...
According to:
https://stackoverflow.com/questions/34328735/imageable-type-is-not-setting-for-polymorphic-associations
and
https://stackoverflow.com/questions/2494452/rails-polymorphic-association-with-multiple-associations-on-the-same-model
2020-04-25 18:07:58 +02:00
cryptogopher
ab8ed92929
Added MealsController#toggle_exposure
2020-04-25 15:52:35 +02:00
cryptogopher
a4781b4fcd
Renamed: column -> exposure
...
Moved toggle_column_options to body_trackers helper
2020-04-25 15:42:22 +02:00
cryptogopher
e78803e474
Added MealsController#new and form autocomplete for Food
...
Renamed QuantityColumn -> Exposure
2020-04-15 23:42:58 +02:00
cryptogopher
8e8160c41a
Renamed Ingredient -> Food
...
Ingredient is now part of composition (meal/recipe/dish)
2020-04-14 19:44:19 +02:00
cryptogopher
c3010a70e8
Adding Meals, WIP
2020-04-13 15:36:59 +02:00
cryptogopher
ced06a25bc
Added :meals and :compositions_ingredients tables
...
Changed Column -> QuantityColumn
Updated :ingredients table to handle recipes
2020-04-13 01:11:34 +02:00
cryptogopher
18419f1aeb
Added MeasurementRoutine as a nested Measurement model
...
Updated ItemsWithQuantities to work with MeasurementRoutine
Replaced ColumnViews HABTM with polymorphic HMT
Added Measurement notes
Added destroy restrictions on Quantity
Replaced BodyTrackingPluginController with Finders concern
Removed 'body_trackers' prefix from paths
Unified styling for textarea
2020-03-29 00:56:37 +01:00
cryptogopher
20deb944c3
Updated Ingredients to use ItemsWithQuantities
2019-12-29 15:12:05 +01:00
cryptogopher
530dba0612
ColumnView fixes
2019-12-21 12:18:31 +01:00
cryptogopher
0c0ca1d286
Replaced Quantity 'primary' attr with ColumnView model
2019-12-14 23:56:36 +01:00
cryptogopher
96fe7db39d
Moved filter/compute to separate module
...
Converting it to model independent code, WIP
2019-12-12 00:13:30 +01:00
cryptogopher
e7ede4cce6
Implemented retake, changed default ordering to taken_at
2019-12-06 23:35:49 +01:00
cryptogopher
22aeda720d
Measurement/readouts WIP
2019-11-16 18:39:46 +01:00
cryptogopher
593e11ff53
Finished Sources implementation
2019-09-23 20:13:09 +02:00
cryptogopher
9cbd540c43
Defaults/import fixes and ingredients sorting
2019-09-23 00:15:40 +02:00
cryptogopher
c82f903360
Added ingredient index and form
2019-09-13 14:48:43 +02:00
cryptogopher
30314607ae
Added importing quantities
...
Fixed display order of project quantities
2019-09-09 21:14:56 +02:00
cryptogopher
54ab1c60dc
Implemented Quantity
2019-08-23 17:06:09 +02:00
cryptogopher
e9fc9c6475
Completed UnitsController#import and Unit index view
2019-08-22 01:12:37 +02:00