1
0

25 Commits

Author SHA1 Message Date
cryptogopher
8749710330 Formula can contain model method calls 2020-05-05 01:52:34 +02:00
cryptogopher
a4781b4fcd Renamed: column -> exposure
Moved toggle_column_options to body_trackers helper
2020-04-25 15:42:22 +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
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
544c0c5293 Updating Quantity to use Formula, WIP 2020-02-17 22:15:30 +01:00
cryptogopher
98207fc980 Added Formula test vectors
Improved FormulaBuilder based on vectors
2020-01-25 21:51:03 +01:00
cryptogopher
ba4c98e213 Added Formula unit test 2020-01-24 01:05:59 +01:00
cryptogopher
b8a09b10ff Changed: params -> quantities 2020-01-18 20:35:22 +01:00
cryptogopher
8e362ade79 Method type distinction: numeric/quantity 2020-01-18 20:06:16 +01:00
cryptogopher
6ce02ba05a Added quantity recognition from strings and vcalls 2020-01-15 00:21:10 +01:00
cryptogopher
e0c08c0e6a refining complex formulas 2020-01-14 23:33:25 +01:00
cryptogopher
5fda938663 Experimental support for quantity methods in formulas 2020-01-14 01:07:10 +01:00
cryptogopher
ccf26d1830 Added ColumnView model
cmd:
rails generate redmine_plugin_model body_tracking column_view
project:references name:string domain:integer
rails generate migration CreateQuantitiesColumnViews quantity:references
column_view:references
2019-12-14 19:48:52 +01:00
cryptogopher
d74f290a4f Removed ReadoutValue 2019-11-30 00:19:26 +01:00
cryptogopher
b7b0f7634e Added MeasurementsController
command:
rails generate redmine_plugin_controller body_tracking measurements
index create destroy
2019-11-16 14:18:34 +01:00
cryptogopher
687269062c Added measurement, readout and readout_value models
commands:
rails generate redmine_plugin_model body_tracking measurement
name:string hidden:boolean source:references
rails generate redmine_plugin_model body_tracking readout
measurement:references quantity:references unit:references
rails generate redmine_plugin_model body_tracking readout_value
readout:references value:decimal taken_at:timestamp
2019-11-15 21:52:12 +01:00
cryptogopher
0b549b909a Added Sources model + controller
commands:
rails generate redmine_plugin_model body_tracking source
project:references name:string description:text
rails generate redmine_plugin_controller body_tracking sources index
create destroy
2019-09-23 14:45:13 +02:00
cryptogopher
c916e7fd3c Created ingredients controller
command: rails generate redmine_plugin_controller body_tracking
ingredients index create destroy
2019-09-13 14:03:39 +02:00
cryptogopher
7062652d0d Added nutrient model
command: rails generate redmine_plugin_model body_tracking nutrient
ingredient:references quantity:references unit:references amount:decimal
2019-09-13 13:54:56 +02:00
cryptogopher
b63040b037 Added Ingredients model
command: rails generate redmine_plugin_model body_tracking ingredient
name:string ref_unit:references ref_amount:decimal hidden:boolean
source:references group:integer
2019-08-28 21:04:46 +02:00
cryptogopher
9a34cc0b95 Added Quantities model and controller
commands:
rails generate redmine_plugin_model body_tracking quantity
rails generate redmine_plugin_controller body_tracking quantities index
create destroy
2019-08-23 00:01:10 +02:00
cryptogopher
3e83693c28 Created BodyTrackers controller
command: rails generate redmine_plugin_controller body_tracking
body_trackers index
2019-08-08 22:33:58 +02:00
cryptogopher
045943938d Created Units controlle
command: rails generate redmine_plugin_controller body_tracking units
create destroy
2019-08-08 21:59:40 +02:00
cryptogopher
6b1bd9a45e Created Unit model
command: rails generate redmine_plugin_model body_tracking unit
name:string shortname:string type:integer
2019-08-08 21:46:26 +02:00
cryptogopher
94971489d1 Adding autogenerated plugin files
command: rails generate redmine_plugin body_tracking
2019-07-28 22:42:50 +02:00