10 Commits

Author SHA1 Message Date
George Hotelling
5d6bdd07aa Stabilizing trunk so that development can continue.
* Removed check_mobile include which was crashing pages like the admin section (it was previously added to functions.inc.php)
* Fixed ABV display in lists
* Fixed bitterness calculations.
* Removed call-time pass-by-reference in BeerXML parser, since it is no longer supported by PHP
2012-08-11 15:08:49 +00:00
Geoff Humphrey
6de47e4da0 Beginning consolidation effort. The plan is to house all functions in the functions.inc.php file, streamline db calls by "modules" to call when needed and not on every page load (hence the addition of the 'db' sub-directory in the 'includes' directory. Also, beginning to eliminate unneeded tables in favor of CSS for presentation purposes. The recipe_specifics.inc.php file reflects the newer presentation schema. 2011-09-04 18:35:17 +00:00
Geoff Humphrey
bc73bf90ce Mostly cleaning up and standardizing paths. 2011-08-25 22:04:14 +00:00
Kevin Masaryk
772f36e6ab Lots of changes with this update. The most significant is the rewrite
of color management. I moved all color functions into a color library
admin/lib/color.lib.php. I also consolidated a lot of code in various
modules. Three color formulas are available now: Morey, Moser and 
Daniels and the user can set their default in preferences.
2011-08-01 17:39:35 +00:00
Kevin Masaryk
31411b4f1a Significant amount of changes in this update. All dependencies on the 'sugar_type' table have been removed. I left the table intact in the db in case we run into bugs in this release and need it for reference. It should be dropped in the next release, though. Each feremntable table (malt, extract and adjuncts) now contains it's own PPG field so no lookups need to be done in 'sugar_type' (see below).
The lovibond fields have also been removed from each fermentable table and two new fields were added in its place: 'xxxLovibondLow' and 'xxxLovibondHigh' (see below). Only LovibondLow is a required field; If LovibondHigh isn't present, the LovibondLow value will be used as the high value. For example, if Low is 8.00 and High is 0.00 then the range will become 8.00-8.00 in all calculations and presentation of the Lovibond data.

I've also made type updates to most fields in each fermentable table to better reflect the data being stored. This should increase query efficiency, reduce db size and ensure sane data is added.

Obviously, a ton of files had to be updated to enable these changes to the db tables. I also created two new 2.3.3 files under sql/ for new installs or updates.

**Lovibond calculations are currently broken.** This is something I'm working on but I wanted to commit the code I have now since all the sugar_type and PPG changes are finished.

'malt' table
maltYield --> maltPPG
maltLovibond --> dropped
maltLovibondLow --> added
maltLovibondHigh --> added

'extract' table
extractYield --> extractPPG
extractLovibond --> dropped
extractLovibondLow --> added
extractLovibondHigh --> added

'adjuncts' table
adjunctYield --> adjunctPPG
adjunctLovibond --> dropped
adjunctLovibondLow --> added
adjunctLovibondHigh --> added
2011-06-08 22:21:29 +00:00
Geoff Humphrey
32e3ac240d Made changes to fix the printing issue reported by Kevin M. Also made changes to make presentation of data more consistent. Added print.php stand-alone page and revised the layout to include a larger "Brew Day Data" section along with a new "Brew Day Notes" section. These will print on a separate page.
Defined constants in index.php for various paths (e.g., includes, sections, etc.). Will employ the use of these across the application - this commit begins the process.
2010-08-30 20:45:35 +00:00
Geoff Humphrey
d32b264710 First 2.3.3 commits. 2010-03-22 22:24:31 +00:00
Geoff Humphrey
73e158028f Preliminary 2.3.2 commits. Updated navigation schemas and bug fixes. New theme. 2010-02-05 18:37:27 +00:00
visual77
c230ddc702 added a basic kohana system to be fleshed out into a nrew brewblogger 2009-11-06 06:00:53 +00:00
visual77
89b9b4f575 Restructured the repository to follow the more traditional SVN structure.
The trunk folder is for all new features that are not yet ready for release. This folder will be for stabilizing work as it is built and creating new features.

The releases folder is used for release builds. The earliest available build is 2.3.x, and thus it will have the 2.3 folder. All maintenance and bug fixes go in this folder. No new features whatsoever are to be added in here, keeping those completely in the trunk. When the trunk is ready for the next version, it will have a new folder created for it (releases/2.4 for instance) to stabilizing for final release.

The tags folder is used for individual releases. When a release build is ready to go out for download, that release folder will be cloned into an appropriate tag folder. For example, the releases/2.3 folder will be cloned into tags/2.3.1 for that release, and after more work on bug fixes, it will be cloned to tags/2.3.2. Thus, these tag folders should never be modified for any reason. The tag exists purely as a snapshot of a certain point on the release path, and to modify a snapshot defeats the purpose. Any bug in a tagged release should be fixed in the appropriate release folder (such as releases/2.3 for a bug found in 2.3.1).
2009-10-16 22:09:45 +00:00