/***
* Mosets Tree CHANGELOG
*
* @package Mosets Tree 3.0
* @copyright (C) 2012-2013 Mosets Consulting
* @url http://www.mosets.com/
* @author Lee Cher Yeong <mtree@mosets.com>
*/

Legend:

# -> Bug Fix
+ -> Addition
^ -> Change
- -> Removed
! -> Note

version 3.0.3 - January 2013 ------------------------------------------------------------------------
# Fixed bug where multiple cat_id parameter presents in Advanced Search form.
# Fixed bug where 'alpha_index_additional_chars' is hidden in new install.
# Adds missing '#__mt_links_associations' in uninstall's DROP query.
# Fixed PHP warning when retuning empty advanced search results in back-end.
# Fixed fatal error in back-end's advanced search when routine attempts to load reviews count.
# Removed debug echo in viewusersreview_cache routine.
# Fixed back-end publish up date not saving.
# Fixed hardcoded string in Filter dropdown and Print title.
# Removed javascript comment in page_writeReview.tpl.php to resolve javascript issue when newlines are stripped in this template file.
# Fixed empty #__fields_map table on new install.

version 3.0.2 - January 2013 ------------------------------------------------------------------------
# Removed explicitly added Itemid in custom fields.
# Fixed untranslated Root text in mod_mt_dtree.
# Fixed core website field's Spider, where it's not updating the correct element ID.
# Fixed upgrade script that fails to ALTER TABLE to add use_placeholder and is_file column. Also added new fieldtypes that are missing in 3.0.0 upgrade.
# Fixed 'Array' string appearing in Vist action link in listing details page.
# Fixed bug affecting user's reviews and favourites appearing more than once on their user page.
# Fixed bug affecting category description not showing parsed results from plugins.
+ COM_MTREE_CONFIGNAME_FE_NUM_OF_REVIEWS_IN_LISTING_PAGE
+ Surface 'fe_num_of_reviews_in_listing_page' in config to control the initial number of reviews shown in listing page.

version 3.0.1 - January 2013 ------------------------------------------------------------------------
# Fixed fatal error in calling finfo_file in PHP < 5.3.
# mod_mt_menu: Fixed 'Show All Listings' toggle not working.
! sub_listings.tpl.php now always shows pagenavigation footer as long as there is at least one listing.
! Removes pageNav from page_subCatIndex.tpl.php. Page navigation links is now produced in sub_listings.tpl.php template file only.
# Removes a stray slash in Add Listing template file.
# Fixed fatal error in callback format used in call_user_func_array function.
# Fixed back-end advanced search layout.
# Fixed missing review count in back-end's advanced search results.
# Fixed missing overridable configurations in top level categories when upgrade from prior version.
! 3.0.1 upgrade script now reverts MT template to kinabalu if using M2.
# Fixed missing validation in fields that uses textarea element or editor.
# Fixed missing sef_listings SEF config.
# Removed extra &Itemid= cruft in coredesc's field's 'Read more' link.

version 3.0.0 - December 2012 ------------------------------------------------------------------------
! js, img and attachments moved to /media/com_mtree
! jQuery updated to 1.8
! jQuery UI updated to 1.8.24
+ Added the ability to define relationship between top level categories and custom fields a.k.a. Ability to have custom fields that are assigned to specific top level categories.
+ Added support for Mosets Tree menu types.
^ Field types are now file based instead of stored in database.
+ Added new slug type: Link ID & Alias Hybrid
+ mod_mt_menu: Added link for My Reviews
+ Added ability to specify alias for custom fields.
+ Added new page listing all tags attached to a custom field (page_searchByTags.tpl.php).
+ Added new page listing all taggable fields (page_searchBy.tpl.php).
+ Now logs new listings submissions and listing modifications.
+ Now uses HTML5 elements in E-mail, Weblink, Telephone and Tags custom field.
+ Schema.org is now used to markup Listing Ratings (AggregateRating), Review Ratings (Rating), Listings (Thing) and Reviews (Review).
+ Added ability to allow top category to over ride configurations.
+ Adds Open Graph Protocol (http://ogp.me/) support in listing pages.
^ Speeds up SEF URL routing by reducing the number of SQL queries made.
+ Adds ability to custom order categories.
+ Map can be toggle on/off in individual listings.
^ Complete reviews are now available on separate page at task=viewreviews.
+ New template files: page_reviews.tpl.php, page_review.tpl.php, sub_ownerProfile.tpl.php.
+ Permalink for individual review.
+ Categories and Listings associations.
! Google Maps updated to version 3.6.
! Replaced all _NOT_EXISTS error with proper 404 status error.
! Updated language files to conform with Joomla 1.6 language standard recommendations.
+ Added support for field type's language file (xx-XX.fld_*.ini).
! Package wide changes to language files.
- Removed support for Google Maps and Map Quest
+ Adds "All Listings" page.
+ Refactored and complete missing pathways.
+ Adds ability to filter listings in "All Listings" pages.
+ Adds support for placeholder text in text-based input field.
+ Ability to toggle New, Popular and Featured badge.
! Dropped support for netpbm, Imagemagick and GD1 Library.
+ A new extension plugin that handles fieldtype installation.
+ Description field now shows prefix and suffix text in details view.
! All front-end ajax calls has been converted to use JSON data type response.
+ Contact form now uses JForm to generate its form. 
+ Adds onMTreeListingContactPrepareForm and onMTreeListingContactSubmit events.
+ Adds multiple attribute to Image upload to allow more than one file selection to upload more than one image at a time.
+ Adds inline validation to front and back-end add/edit form.
+ Adds config to specify minimum dimension for uploaded images.
+ mod_mt_search now retains searchword and uses placeholder text.
+ Adds new mod_mt_filter module.
+ Adds ability to show/hide module to selected top level categories and MT pages.
+ Fast Add is back.
+ Adds config to show/hide categories.
+ Now uses sprintf to print listcats and viewlink page title.
+ Core created and core modified field now can include time and accepts custom date time format.
+ Actions that require login now redirects user to login form.
+ Listalpha now supports non-latin characters.
+ Adds "All Categories" page.
+ Telephone number can be configured to be linkable.
+ Root's meta description and keywords can be defined through COM_MTREE_METADESC_ROOT and COM_MTREE_METAKEY_ROOT.
! Updated Finder/Smart Search support for Joomla 2.5.
# Category descriptions are now supported in page_index.tpl.php.
+ Configurable setting to viewowner's default page.
# Changing category is now possible when front-end is offline.
+ Custom fields now supports default value.
- Removed Digg fieldtype.
# Onlinevideo fieldtype is converted to Youtube fieldtype.
+ Vanity URL fieldtype.
+ Merge Web Link and Enhanced Web Link field type in to a single field type - Web Link (mweblink).
+ Web links that uses internal redirects now keep track of click throughs.
+ Merge Text, Multi-line textbox and Enhanced Text field type in to a single field type - Text (mtext).
+ New field type: Text Editor (texteditor).
! Field type's XML handling is done through JForm instead of MParameter.
# Depreceate usage of JParameter in place of JForm and JRegistry.
+ Terms &mp; Conditions fieldtype.
+ Merge Checkbox with Image and Checkbox field type in to a single field type - Checkbox (mcheckbox).
+ Updated Video Player fieldtype to support only h264 video through HTML5 or Flash.
+ The number of visits are now shown beside a Weblink field.
+ File field type now has configurable maximum file size limit.
+ mod_mt_search now defaults to search listings only. Can be re-configured to search categories.
# Uploading an unreadable image file now produce a descriptive error.
+ Adds BCC option to Contact e-mail.
+ New config to require upload of at least one image.
+ Adds a configurable limit on the number of secondary categories a user can assign their listing to.
+ Listing owners are now notified when review is added with no-approval required.
+ Add option to show Top Listings in index page.
# mod_mt_listing: When set to show image, listings without images are shown with filler. 
+ Captcha fieldtype.
+ Rollback ability when a form is not validated after submission.
! Disable scrollwheel in Google Maps by default.
+ Owner pages now support and show User Profile and Profile Picture.
+ Adds configurable support for Captcha in Review, Contact Owner, Report Listing, Report Review.
+ Adds rel=nofollow attribute to Print, Visit and Map action link.
+ Spy: Adds the ability to remove reviews and ratings of a listing.
+ Adds a mt-editlink-right module position in back-end Edit Link page.
+ Improvement on mass geocoding to support loading up to 1000 listings at a time.
+ Mass geocode now supports the latest version of Safari, Opera, Firefox and Chrome.
+ Banned word filter now applies to report and review.
+ Configurable option to show Contact Owner form in details page.
+ Configurable option to show User Profile in Listings Details page.
+ Adds sub_contactOwnerForm.tpl.php template file.
+ mod_mt_votedbest module now show rating as stars.
+ New configuration to disable jQuery in front-end.
+ Initial support top level category specific language strings.
+ mod_mt_listing: Adds support for dropdown layout.
+ mod_mt_listing: Adds support for A-Z ordered listings.
+ Adds support for showing alphabetically ordered (A-Z) listings in listlisting routine.
+ Added a new Tools section in back-end.
+ Added 'Rebuild Thumbnails' tool.
+ Added 'Import Images' tool.
+ mt_importer: Now automatically a Text-based custom field for data that is not assigned to any pre-existing core/non-core fields.