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
9f63c14f8a
Adding MeasurementRoutine selection/editing support
2020-04-02 02:23:53 +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
2efdc08931
Added setting Formula unit in form and when loading defaults
2020-03-25 21:40:24 +01:00
cryptogopher
c262e82c7b
Renamed Ingredient comment -> notes
2020-03-25 00:26:35 +01:00
cryptogopher
c3b783e942
Displaying errors for uncomputable formulas in nutrients view
2020-03-21 00:38:39 +01:00
cryptogopher
2d778c831b
Introduced plugin layout instead of using Redmine ViewListener render_on
2020-02-22 22:39:12 +01:00
cryptogopher
0f8f74ffec
Added zero_nil to Measurement filter formula
2020-02-22 22:14:21 +01:00
cryptogopher
b1e7236460
Added zero_nil to Quantity form and import
2020-02-20 21:55:38 +01:00
cryptogopher
c774f7745d
Add child Quantity action added
2020-02-19 21:24:17 +01:00
cryptogopher
b7b7401833
Updated Quantity to use Formula
...
and upgraded controller actions to match Measurement/Ingredient
2020-02-19 17:57:29 +01:00
cryptogopher
544c0c5293
Updating Quantity to use Formula, WIP
2020-02-17 22:15:30 +01:00
cryptogopher
9803b31f78
Integarted FormulaBuilder into Formula
2020-01-22 22:54:54 +01:00
cryptogopher
e0c08c0e6a
refining complex formulas
2020-01-14 23:33:25 +01:00
cryptogopher
a4ec6a0c12
Added Ingredient editing
...
Improved Ingredient to match Measurement functionality
2019-12-30 23:45:59 +01:00
cryptogopher
cc62ef1002
Added Ingredient comment attribute
...
Minor view updates
2019-12-27 22:40:07 +01:00
cryptogopher
0c0ca1d286
Replaced Quantity 'primary' attr with ColumnView model
2019-12-14 23:56:36 +01:00
cryptogopher
40e9c6f8ae
Added Measurement readouts action
2019-12-08 01:00:54 +01:00
cryptogopher
681c0279fb
Measurement improvements
...
Added 'new' action.
Separated js views for new/create/edit.
Displaying taken_at in local time.
Fixed readout destruction on edit.
2019-12-06 21:48:06 +01:00
cryptogopher
03d3e1e262
Layout updates
2019-12-03 01:21:17 +01:00
cryptogopher
54040a2764
Added setting taken_at in measurement form
...
Changed action toggle -> retake
2019-12-01 01:08:09 +01:00
cryptogopher
fc2db76a3e
Updated Measurement to reflect ReadoutValue removal
2019-11-30 01:01:43 +01:00
cryptogopher
2ebbe9a306
Added quantity filtering by domain
2019-11-21 01:28:03 +01:00
cryptogopher
d3ba8579d6
Minor locale updates
2019-11-16 19:07:16 +01:00
cryptogopher
a619b74dce
Measurement index/form running
2019-11-16 18:47:53 +01:00
cryptogopher
eb379c7835
Added measurement index view
...
Changed locales names from heading_ to link_ where appropriate
2019-11-16 14:44:45 +01:00
cryptogopher
f2fa3db7f7
Added measurements to sidebar
2019-11-16 14:17:55 +01:00
cryptogopher
b617043dd5
Changed quantity domain order
2019-11-15 00:31:41 +01:00
cryptogopher
613c26728c
Removed old (Ripper.lex based) formula validation code
...
Muted multiple 'disallowed' messages for keywords
Removed unnecessary .to_d call in formula computation
2019-11-11 00:01:31 +01:00
cryptogopher
60cfd17c0f
WIP on alternative (sexp) formula parsing
2019-11-10 23:14:36 +01:00
cryptogopher
841fcb2807
Working on formula validation to accomodate functions, WIP
2019-11-10 00:48:54 +01:00
cryptogopher
fce6ee57b0
Quantity formula assignment and validation
2019-11-03 18:35:22 +01:00
cryptogopher
1acb72f33d
Filtering ingredients by name
...
Nutrients link in sidebar
2019-11-02 15:32:21 +01:00
cryptogopher
cf9c913897
Toggling quantity primariness from nutrients view
2019-11-01 21:43:56 +01:00
cryptogopher
c4e89def0a
Created common contextual menu for ingredient/nutrients views
...
Restored sidebar for nutrients view
2019-10-28 19:51:46 +01:00
cryptogopher
26f653819d
Added Quantity.primary to form
...
Fixed setting parent on Quantity form
2019-10-26 21:48:52 +02:00
cryptogopher
745d6de42b
Added Quantity ordering
...
Some table columns made unwrappable
2019-10-26 21:00:37 +02:00
cryptogopher
2176ef77f3
Added toggling Quantity primary-ness
2019-10-26 01:03:06 +02:00
cryptogopher
0001b56ca6
Added nutrient view on ingredients index
...
Created custom plugin's stylesheet
2019-09-24 23:41:22 +02:00
cryptogopher
9664df4888
Added ingredient source setting/display/import
2019-09-23 22:33:40 +02:00
cryptogopher
593e11ff53
Finished Sources implementation
2019-09-23 20:13:09 +02:00
cryptogopher
c96cea5ca6
New objects are now created through association
...
Added Sources to sidebar
2019-09-23 15:35:43 +02:00
cryptogopher
2e9d353935
Changes in ingredients index
2019-09-23 00:24:58 +02:00
cryptogopher
3a09bf6fce
Ingredient CSV import input validation
2019-09-21 22:29:04 +02:00
cryptogopher
b69bdd6049
Added Ingredients import action
2019-09-15 22:27:54 +02:00
cryptogopher
893e2646d0
Finished Ingredient#create validations
2019-09-15 18:53:00 +02:00
cryptogopher
0dcb13a065
Started Ingredient#create
2019-09-14 23:00:31 +02:00
cryptogopher
dd8c4f2cd1
Added nutrient add on ingredient form
2019-09-13 22:41:09 +02:00
cryptogopher
f039917d0e
Added nested nutrients in ingredient form
2019-09-13 19:21:28 +02:00