Some pH calculations cane use twice as much loops, probably because we have better float precision then the original pascal code. More variables to prevent html reads. Use predicted mash pH (the grist in demi water) to calculate the pH shift from the tapwater to the target pH. It's better but not right yet. Or it is right and brouwhulp is far off.

Added f_acid_to_ph_57 to the fermentables json in the recipes. The protonDeficit now processes the grist. Water pH calculations are partly in place. Added simple BU and Cl/So4 indicators. Redesign of the water screen.

Estimate OG recalculation now uses the equipment profile. Added basic water calculations.

Import from brouwhulp fix style color ranges. Added calcSVG and calcABV calculation. Added batch size, time, efficiency and og change actions. Added style select and redesigned the first tab to fit this in. When equipment is changed, recalculate the recipe. Added print button.

Merged prod_main and prod_recipe database tables into products. Added recipe tabs in the products editor.

Better stage detection during product import from brouwhulp. Added tooltips for treated water.

Added some icons from Brewersfriend. They should be replaced someday. Added maximum mash weight setting to the equipment database. Usefull for brew automate and RIMS systems. During recipes import acid and base additions are translated. Brews and recipes now have 2 water sources. Added water mixer. Added basic water treatment, but not for pH yet. Redesigned the fermentables and water tabs.

Source waters are fixed, removed grid editor. Redesigned the water screen. Made a simple visual if water treatments are out of range. Water mixer for standard and dillute water works. Swapped the mash and water tabs.

Added several sparge_ fields in the recipes databases. Added basic water mix calculator. Added fields on the water tab for water calculations.

In dropdown inventory lists you can now choose to display only ingredients that rae on stock or all. Fix the hops amount editor that loses the decimal digits.

Protect misc Water agent ingredients against delete and changing from the miscs editor.

Moved inventory dropdown lists to global.js

During recipes import of miscs ingredients, convert time in Secondary to days. The hop grid also display the country of origin. Misc ingredients now use a temporary weight table just like the hops.

During hops load an extra weight in grams field is generated for the grid. Edit the amount is done on the weight field and the amount field is updated too. During save to the database the extra field is removed.

The yeast droplist sorting order changed. Misc ingredients time editor uses minutes or days depending on the use of the ingredient. The yeast editor can now use grams, ml or packs.

Hops grid editor amount is now in grams.

Added EBC color examples. Added simple progessbars for hop flavour and aroma contribution. We need something better. In the fermentables tab, above the grid display the malt color and OG estimates. Display supplier as well in the fermentables grid.

Hop flavour and aroma sets global values. On the hop tab, show IBU and make room for the flavour and aroma presentation.

Store calculated estimate ibu and estimate fg.

Fixed estimate FG calculation during recipes import. Added estimate FG calculation in the recipe editor but do not yet update the recipe. Added SVG calculation to the recipes editor. Added calculations for hop aroma and flavour contribution.

Added boil time change logic. Better precision.

Added change batch size and efficiency.

Added ABV calculation. Added calculate fermentables from OG calculation. Scale fermentables when the OG changes.

Code cleanup

When importing recipes with liquid yeast divide the cost by the pack volume. Don't allow alpha editing of hops in a recipe. Fix hop use time when the hop is used when not boiling and set the fixed time.

Load a single recipe from the database instead of client side select.

Added a loader during recipe load. Recalculate percentages if a fermentable row is deleted. Don't edit amounts if using weight percentages. Update grid percentages if a fermentable amount is changed. Recalculate IBU's after changes with fermentables.

Layout changes in fermentables editor.

Added fermentables Moment dropdown list. Added fermentables adjust to 100% logic.

Row editors are now per cell. Added fermentable percentages editor.

Fixes and improvements for hops editing and calculations.

Expanded equipment editor to 200 Hl.

We get equipment kettle heights in centimeters, we use meters.

Removed unimportant equipemnt items from the screen.

Added sparge pH during import. Added several calculations. Added calculated estimates to the brewday screen.

Screen layout changes.

Renamed some fields in prod_main to prevent ambigous names with the join. Delete product also deletes the corresponding recipe. Fixed equipment load and save. Read data from the product main joined with prod_recipes completed. The brewday page is now almost complete, the calculations must be added.

Improved float precision for databases import.

Inventory editor chages: Added colors to the buttons. Add top_up_kettle to the batch size calculation.

Removed all calculations from the equipemnts database script and added missing fields. Added missing fields to the inventory equipemnts edit screen. Added conditional batch size calculation to the equipments editor. Added specific heat settings to the equipments editor.

Inventory database script added missing fields. Product database script added JOIN with the prod_recipes table.

Small fixes for prject import from Brouwhulp. Fixes for poduct database read/write. New menu entries. Equipment select in product editor. Started brewday editor. Added conditions on some buttons and edit fields. Screen layout changes.

Code cleanup

Added some buttons. Only allow product delete if it has no serious data.

Basic screens for brew products.

Updated makefile

Noted some ideas and added some in the menu.

Finished brews import

Added brewday data

Prepare for production brews databases

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 -60 +60 +100 +300 tip

mercurial