1
0

22 Commits

Author SHA1 Message Date
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
dc9ebb36f6 Simplified Formula.valid? 2019-11-11 15:46:57 +01:00
cryptogopher
2e477921e9 Updated Formula get_quantities/calculate for new parsing algo 2019-11-11 15:10:02 +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
d768adb86b Formula parsing extensions 2019-11-10 23:37:11 +01:00
cryptogopher
13703dc8ed Fixed filtering 2019-11-10 23:23:59 +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
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
78cf471ecd Preliminary support for comparison formula 2019-11-07 19:55:16 +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
884f7b2366 Added ingredient filter by nutrients field 2019-11-07 16:25:42 +01:00
cryptogopher
cf9c913897 Toggling quantity primariness from nutrients view 2019-11-01 21:43:56 +01:00
cryptogopher
0001b56ca6 Added nutrient view on ingredients index
Created custom plugin's stylesheet
2019-09-24 23:41:22 +02: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