Added uuid and locked fields to the recipes table.

Updated ideas

Code cleanup

Added est_carb field import in the recipes.

IBU calculations now use the setup values. All setup values are now global available.

Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.

Removed default water setting from the inventory_waters table. Added global setup record with default settings and the default water selection. Added a setup screen.

Added javascript formulas for color calculations. Added IBU total calculation. Better IBI calculation for the hop entries. Blocked selection of IBU calculation for Garetz, Mosher and Noonan. Better sg calculation in the recipe print.

Don't count sugar for preboil gravity.

Renamed estimate_og() to estimate_sg() formula. Updated the formulas in javascript. The calcFermenter() function now only calculates the gravities. The colors still need to be added. When a recept is loaded in the editor, all tabs are selected once to load all subgrid data. Ugly and slow but it at least it works.

(0) -100 -10 +10 +100 +300 tip

mercurial