KEY
===================================

* = Bug fix
+ = Added feature/function
- = Something changed (only if not a bug fix)

Change Log Start
===================================

0.4.9 (started 13/06/2006, currently working on):

*fixed bugs in update script.
-Site home now in top left hand corner of admin panel
-Shows who is logged in, near comment form
*htmlspecialchars on $_SESSION['display_name']
*small fixes to edit post code
*fixes to clear_cookie and set_cookie_array
*more error checking on general-settings
-removed display_comments()
-removed admin_display_comments()
-updated bt-settings to support more image tags.
-only sends post to akismet if not already detected as spam
*moderation comment count now correct in admin panel
*fixes as not to need short tags
*fixes to sites not running on port 80

Database change:
+ Table: site
+ Added item: port_number.

TESTING:

Should work on _at least_ the following platforms:

FreeBSD 5.4/Apache 2/PHP 4.4.2/MYSQL 4.0
Windows 2003/IIS 6/PHP 5.1/MYSQL 4.0
Mac OS X Tiger 10.4.6/Apache 1.3/PHP 4.4.1/MYSQL 5.1


BETA 1 0.4.8 (started 13/06/2006):

*Sends registered user details to askimet (if enabled) while commenting (for both posts and comment moderation).
*large upgrades to support comments of users.
*some more comment error checking.
*basic checking to make sure there is a post title while making a post.
+More triggered events
*htmlspecialchars on version checker
*database only allowed user_name of up to 25 characters (now 255).
*fixes to database error css.
*fixes to register css.
+Added logout option to every page.
*minor html clean up
*reduced some sql queries within admin panel
+Login option in comment area
*fixed RSS comments for users
*upgraded to FCKeditor 2.3 Final
+upgrade script written
*fixes to contact form
*fixes to install script

Database change:
+ Table: users
+ Modified item: user_name (increased size to 255).


0.4.7 (started 11/06/2006):

*Correctly generates contact link in comments
*Correctly generates contact link in contact form
+Now identifies self for update checker and trackback.
-Only shows "view" on comment if user has permission to edit.
+Now uses user details (if signed up) for comment information
+Contact form for each user
-html/css no longer in functions file (now in template)

Database change:
+ Table: users
+ New item: contact.

Bugs found (not yet fixed):

1) At this stage it is best not to install a copy in the root of a domain (e.g. http://www.example.com/) AND in a subfolder (e.g. http://www.example.com/blog/). There is some issues with sessions. If you must have two copies like this (having two installs in different subfolders should be fine) please contact me for a fix.
2) The archive address is currently required when using mod_rewrite. Currently this program does not support the form: 
http://www.example.com/2006/06/11/test/ (but http://www.example.com/archive/2006/06/11/test/ works)
3) The .htaccess file is not automattically generated at this stage. The copy that comes with this program is designed for use in the root of a domain. Users can quickly change this by editing the RewriteBase option (e.g. from RewriteBase / to RewriteBase /subfolder/)
4) The bt-config.php file is not automattically generated, a sample one is provided.
5) The post and edit page within the admin panel does not work without javascript.
6) The post name must be unique (for that day) and not empty.

0.4.6 (started 29/05/2006):

+Can select which user is used for the contact form
*improvements to html title generation
*Installer now checks if a copy has already been installed into the database
+small updates to RSS function
+Basic event logging on some functions
+Event viewer
*Fixed small bug in sending trackback
+Basic options for published, draft or private posts.
-updated mysql errors
-No longer displays akismet api key in config page.
+Now shows when site was installed
*Correctly fixed cookie and session functions for when multiple sites are installed
under the same domain i.e http://www.example.com/blog/ and http://www.example.com/testblog/
+Added mailer class
*sends an email to user when creating a new account
-Contact form now uses mailer class
+Now remembers if you checked allow contact form
+User Registration now possible
+only shows relevant links in admin panel

Database change:
+ Table: site, added contact_user_id (used for contact form), added installed, added allow_register
+ New table: events.

0.4.5 (started 20/05/2006):

*fixed bug with loading comment form on sites that are not at the root of the domain.
*currently require an archive address
+support for akismet added
+Now verifies akismet API key
*doesn't break if akismet spam checking fails.
+Reports ham and spam :)
*fixed bug where remembered details for comments was not displayed after posting a comment
+Basic install script done

Database change:
+ Table: site, added akismet, akismet_api_key


0.4.4 (started 19/05/2006):
-Small changes to html forms
+Added a view all configuration page (config.php)
+Now redirects you, after login, to the page requested before login
+Can activate and de-activate a user
*security issue that meant if a user was logged in and was 
directed via a specially designed url, one of their posts may have been edited so that all the contents was deleted
+Now has WYSIWYG editor for editing posts
*fixed some minor SQL statements

0.4.3 (started 25/04/2006):

*dynamically generates links to admin panel from comments (view url)
*dynamically generates the link to the main website from the admin panel
*fixed char encoding in edit page of admin panel
+Some work done on the links panel. Can modify category descriptions, add/edit/delete links, 
modify advanced category options
within a category.
*Minor html fixes within admin panel
*Minor usability fixes
-Changes to admin panel style sheet
-Changes to login page
+able to add a new link category
*Minor code fixes
+Display if a comment is from a trackback
*admin panel post page use incorrect SQL statement meaning that if the
table wasn't bt_posts then the post would have failed
+Able to add a new user
+function added to display datetime
-User name is now case-insensitive 
+Some work done on the install script
+added some checks for user level (what they have permission to do)
*fixed mysql error if edit post was selected without a post_id
-Changed user-settings to personal-settings
-Small changes to the update checker
+Can globally turn off trackbacks
+Can now delete posts
+Can now modify other users profile (if administrator)
*User input now checked on general-settings
*new random number generator for spamblock
-upgraded to FCKeditor 2.3 BETA. Better integrated with code. Now allows for full screen test editing. Plus loads heaps faster. :)
*fixed bug where editor would not load if bluetrait was not installed in the root of a domain.
*fixed bug where the post couldn't be deleted if user was not an admin
+Now able to delete users
*user-admin.php page now refreshes if user was added or deleted
*fixed some sql queries that did not check for BT_ID/blog_id

Bugs found (not yet fixed):
= May not work correctly on webservers setup to use a port other than 80 (permalink generation).

Database change:
+ Table: site, added trackbacks

0.4.2 (started 25/03/2006):

+Can turn off trackbacks in write post page
+Able to turn on/off mod_rewrite in general settings
*trackbacks now work without mod_rewrite
-page title now is the name of the website
+Mass Moderatation of comments now possible
+Can turn off trackbacks in edit post page
+Javascript select all for mass moderatation
+*-Reworked how the number of comments on the front page works
now only displays approved comments, fixed issue with left join causing the system to
slow down with lots of posts. Now able to limit number of posts on front page via database
also added in the function for next/back page button
+Updated MYSQL class to support accessing multiple databases at the same time
*Fixed bug where user was unable to login/logout in admin panel if gzip was turned off
(note, IE 5 for Mac OS does not support gzip).
+Now able to edit comments in admin panel
=Small changes to admin sidebar links
*Small html and spelling fixes
+Now displays site version in general-settings.php
+displays when the user joined in user-settings.php

Bugs found (not yet fixed):
= Javascript required for FCKeditor to work correctly.
= Unable to login using IE 4.5 on Mac OS 8.
= FCKeditor does not work at all (even plain text box) in IE 5 for Mac 9 (may include OS X version).

Database change:
= Table: users, Column: joined Changes: From int to datetime.
+ Table: site, added limit_posts

0.4.1 The "King for a day" Version (started 18/03/2006):
+Able to update user settings
*Spam settings page now only accessible to administrator
*Usability fixes to comment moderation
+Update checker
*better HTML storage of posts
+Can turn comments on/off
*minor user level fixes


0.4.0 The "Buy Now, Pay Later" Version (started 19/02/2006):
-Upgraded to FCKeditor 2.2
-Rewrote admin panel
	+write posts
	+Edit posts
	+View comment moderation queue
	+Delete Comments
	+General Site Settings
	+User Settings
	+Spam Settings
-Small changes to authentication code
+Now displays a message to the user if their comment has gone into the moderation queue

0.3.10:
-Upgraded to FCKeditor 2.0 Final (working better)
+added option to display the person who posted the new item
+Login support across admin panel and front page

0.3.9:
24/07/2005
-Upgraded to FCKeditor 2.0 FC (still not working correctly)
*Added code to stop users commenting on posts that have commenting turned off (not just a grahical thing anymore). Trackbacks
were already tested against this.
*Shows 'Anonymous' in rss comments if no name was entered.

0.3.8: 
24/04/2005
+Shows "Nothing Found" if no post can be found.
-Upgraded FCK editor to version 2.0 rc 3, fixes bugs in the editor (i.e slow typing in Gecko based browsers).
*Small fixes to make admin panel work on *nix servers
+incoming trackback support
*fixed incoming header, htmlspecialchars screwing up name. Run on output.
+basic out going trackback support. Still need to add sql functions into it.
*Bug fixes (same name posts, trackback, displaying number of comments, re-write rules, rss feeds for these "same name posts")
*Most of the site should work without gzip now (not including admin panel)
+Added PostgreSQL database layer. Not tested/supported yet. (Mysql queries not standard, therefore doesn't work with PQSQL,
also the CREATE function from Mysql doesn't work in PostgreSQL).

Bugs found (not yet fixed):
=Trackback only works with mod_rewrite

0.3.7:
05/03/2005
+Able to set cookie time
*Fixed support for tables (modify autop, kses $allowed_html).
+Authentication system, finished.
-.htaccess removed from admin/editor.php as authentication system has now taken over
+Super Script support ($allowed_html)
+Added title (x_title) to rss comments feed. So now reads, "comment by name on topic name"
+RSS comments for each news post (append rss/ to end of url)
+Puts comments who don't pass cookie test into moderation. (will have an option to control this).
*Fixed bug where RSS comments appeared even though they were still in moderation

Bugs found (not yet fixed):
=Some sections of the site do not work without gzip enabled and client side supporting it.
=Performace issue with front page news sql select query. Limit selects the WHOLE array and 
then cuts (shouldn't be selecting the whole thing, that is just stupid). 
Not really a bug in bluetrait but it affects performance.

0.3.6:
22/02/2005
+Moved comments html into its own file. bt-comment-form.php
-Decided to change from $site['address'] (i.e http://www.bluetrait.com) 
to $site['domain'] (i.e www.bluetrait.com) and $site['script_path'] (i.e /) 

0.3.5: 
21/02/2005
-Upgraded kses to 0.2.2 from 0.2.1. 
-Moved $allowed_html and $comments_allowed_html to bt-settings.php
+Added display_errors() in mysql class.
+User details remembered
+Contact form (able to contact from users comments too)

0.3.3: 
06/02/2005
*Small bug fixes 
+Added FCKeditor

0.3.2: 
02/02/2005
-Release on personal website
