cryptogopher
|
df8703ba3c
|
Updated Formula::calculate to use FormulaBuilder
|
2020-01-27 00:59:33 +01:00 |
|
cryptogopher
|
20deb944c3
|
Updated Ingredients to use ItemsWithQuantities
|
2019-12-29 15:12:05 +01:00 |
|
cryptogopher
|
056d3b150d
|
Removed Measurement 'hidden' attribute
|
2019-12-27 01:48:22 +01:00 |
|
cryptogopher
|
ea8c70e1c0
|
Added seeding for nutrients/readouts column views
|
2019-12-26 22:18:43 +01:00 |
|
cryptogopher
|
b6dbf369d1
|
Measurement index improvements
|
2019-12-21 18:01:46 +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
|
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
|
96fe7db39d
|
Moved filter/compute to separate module
Converting it to model independent code, WIP
|
2019-12-12 00:13:30 +01:00 |
|
cryptogopher
|
98564be4b5
|
Displaying Measurement readouts, WIP
|
2019-12-10 20:37:36 +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
|
f769fff930
|
Updated comments, added before_destroy where applicable
|
2019-12-03 00:30:30 +01:00 |
|
cryptogopher
|
8d368d6aa5
|
Fixed updating multiple and deleting Readouts
|
2019-12-02 23:36:33 +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
|
d74f290a4f
|
Removed ReadoutValue
|
2019-11-30 00:19:26 +01:00 |
|
cryptogopher
|
0531fe38be
|
Measurements controller fixes
|
2019-11-29 20:51:01 +01:00 |
|
cryptogopher
|
6e335c243a
|
Fixed Quantity parent list display for new/edit forms
|
2019-11-27 16:20:53 +01:00 |
|
cryptogopher
|
8c073494e5
|
Disallowed moving quantity into parent/child relationship if domains differ
Generalized quantity up/down/left/right actions into 'move'
|
2019-11-22 22:43:11 +01:00 |
|
cryptogopher
|
0820a90897
|
Setting default quantity domain in form
|
2019-11-21 23:18:45 +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
|
22aeda720d
|
Measurement/readouts WIP
|
2019-11-16 18:39:46 +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
|
b617043dd5
|
Changed quantity domain order
|
2019-11-15 00:31:41 +01:00 |
|
cryptogopher
|
3ce5d5c940
|
Fix migration of default quantities
Allow Quantity formula to be nil but not blank
Add computed energy quantity
Reverse default quantities deletion order
|
2019-11-15 00:04:34 +01:00 |
|
cryptogopher
|
13703dc8ed
|
Fixed filtering
|
2019-11-10 23:23:59 +01:00 |
|
cryptogopher
|
eba2aaa8aa
|
Unknown formula values default to nil
|
2019-11-09 22:35:29 +01:00 |
|
cryptogopher
|
67b0cd9b66
|
Unevaluable formulas return nil (instead of throwing error)
Filter formula errors are shown in filter view
|
2019-11-09 20:36:10 +01:00 |
|
cryptogopher
|
70b6e97b87
|
Filtering ingredients by formula working
|
2019-11-08 23:42:41 +01:00 |
|
cryptogopher
|
2a3e7e8d00
|
Moved remaining formula code to Formula module
|
2019-11-07 19:30:02 +01:00 |
|
cryptogopher
|
19e2a45ba8
|
Moved formula code/validation to separate module
|
2019-11-07 19:19:31 +01:00 |
|
cryptogopher
|
b6c453c37c
|
Further optimized nutrient calculation defaults
|
2019-11-07 16:10:15 +01:00 |
|
cryptogopher
|
c1771d44d7
|
Commented nutrient computation algo
|
2019-11-07 00:43:30 +01:00 |
|
cryptogopher
|
8bad0b0b0f
|
Fixed nutrients listing for absent quantity
|
2019-11-07 00:03:33 +01:00 |
|
cryptogopher
|
88e5cb430a
|
Quantity computation from formula
|
2019-11-06 23:11:58 +01:00 |
|
cryptogopher
|
304c8c788d
|
Aggregated quantity calculation for all ingredients
|
2019-11-06 22:58:07 +01:00 |
|
cryptogopher
|
ce4d839a10
|
Simplified returning result
|
2019-11-06 22:45:09 +01:00 |
|
cryptogopher
|
5c8b7e0def
|
Displaying computed nutrients
|
2019-11-06 21:26:33 +01:00 |
|
cryptogopher
|
eff672318b
|
Quantity computing from formula looks done, savepoint
|
2019-11-06 15:59:39 +01:00 |
|
cryptogopher
|
d70a17f58b
|
Preliminary nutrient computation from formulas
|
2019-11-05 16:02:53 +01:00 |
|
cryptogopher
|
fce6ee57b0
|
Quantity formula assignment and validation
|
2019-11-03 18:35:22 +01:00 |
|
cryptogopher
|
cf9c913897
|
Toggling quantity primariness from nutrients view
|
2019-11-01 21:43:56 +01:00 |
|
cryptogopher
|
baadd647f8
|
Quantity destruction destroys dependent
Table data aligned.
Primary quantities highlighted.
|
2019-10-25 22:46:11 +02:00 |
|
cryptogopher
|
c0e3fd2e85
|
Changed Quantity.displayed -> Quantity.primary
|
2019-10-22 23:19:58 +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
|
ce9f011694
|
Added Source perms and routing
Added Quantity displayed defaults
|
2019-09-23 15:05:26 +02: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
|
9cbd540c43
|
Defaults/import fixes and ingredients sorting
|
2019-09-23 00:15:40 +02:00 |
|