CHANGELOG This is the change log for the phpWebSite base only. Each module has its own separate CHANGELOG file. Version 1.8.2 ---------------------------------------------------------------------- 6 June 2008 + Added clock mode to js_calendar + Updated js_calendar to most recent version. + Removed isIIS. 5 June 2008 + Added isIIS function to Core to detect IIS web server installation + Fixing local directory function in setup as recommended by byerkes. Should prevent IIS errors. 4 June 2008 + Added column existence check to Database's dropTableColumn + unsigned removed from import now, not worked around + Key's ceiling was changed to 2137400000 to conform with int limits 3 June 2008 + Removed warning from Database.php begin function. + Added check for unsigned in the Database::homogenize function. 30 May 2008 + created default htaccess file in core/inc/. Access and Branch module updated to accommodate change. 29 May 2008 + added a force_name parameter to useEditor. Allows the dev to specify which tool to use. + Added comment about the use_filter parameter in parseOutput. + TinyMCE - added limited interface for bbcode. Used in comments. + TinyMCE - pulled configuration into included files to help with limited settings + TinyMCE - Fixed error message with GoogleSpell. + TinyMCE - Added emotions plugin + Added font color ability to bbcode filter + Banana added to smilies FINALLY + Updated: javascript/editors/tinymce/default.php, javascript/editors/tinymce/head.js, javascript/editors/tinymce/limited.js, javascript/editors/tinymce/custom.js, javascript/editors/tinymce/default.php, img/smilies/banana.gif conf/smiles.pak 27 May 2008 + DBPager : joined columns can now be header sorted. + Text: error check added in xml parsing. + DB_Pager.txt : updated info 23 May 2008 + Added button option to prompt javascript + Updated: javascript/prompt/body2.js, javascript/prompt/default.php, javascript/prompt/readme.txt 21 May 2008 + File::checkmimetype - Extension is forced to lowercase to allow proper file checking. 20 May 2008 + Changed values in Key to their appropriate defines. + Added some error checks in pagesmith conversion. + Thumbnail directory fixes added to pagesmith and category conversion. 19 May 2008 + Added new language define IGNORE_BROWSER_LANGUAGE. Prevents phpwebsite from using the browser's language preferences if the user has not set their language cookie. + Updated: core/conf/language.php 29 April 2008 + Added parameter to phpws_stats that gives you language information. + Bug# 1778308 - Uninstalled modules are no longer accessible. + Removed pass by reference + Removed category content variable from themes. + Added active parameter to installModList 28 April 2008 + The Italian translation was causing problems using the confirm javascript. It was using " instead of ". I added a check in the default.php to change it back. + Added moduleLimit instructions to File_Manager.txt + Added warning to compile language support to the server before testing languages. 24 April 2008 + Added clear style options on paragraphs to style selection. + Added some error checks to XMLParser. + Updated: javascript/editors/fckeditor/editor/phpwsstyles.xml 23 April 2008 + Form.php - changed POST to REQUEST in testDate and getPostedDate + DBPager o Added caching system to retain pager settings. Set with cacheQueries function. o Added convertDate function to format date columns o Added addSortHeader function to allow a clickable column header. + Javascript o Added a checkbox trigger for check all. o Fixed a bug in open_window that prevented button use. + Updated: javascript/check_all/body.js, default.php, head.js, README.txt javascript/open_window/default.php + Themes o Added a new stardard class "highlight" for hovering on rows. 18 April 2008 + Fixed filecabinet conversion. + Publish by date added to blog conversion. 16 April 2008 + Added home url to open_window address because Internet Explorer (spit, spit) makes links relative to the mod_rewrite path. 11 April 2008 + Added autocomplete jquery plugin 9 April 2008 + Added times for showing and hiding key elements. 7 April 2008 + Changed function call in Setup to manual copy to avoid confusion in File class 4 April 2008 + Updated pagesmith and categories conversion for new File Cabinet. Version 1.8.1 -------------------------------------------------------------- 1 April 2008 + Change to pullTables to allow create unique index to work properly. 31 March 2008 + Form class was ignoring the use_auth_key variable. Version 1.8.0 --------------------------------------------------------------- 26 March 2008 + Fixed multiple select input 23 March 2008 + Fix for atHome in Core 20 March 2008 + getCurrentUrl now strips any forward slash from the front of the address + Added not like and not ilike to where. + Update missing fck and tinymce copy + Update missing multiple_select javascript 17 March 2008 + copy_directory has a fourth parameter to ignore hidden files. + Changing backup directory for .htaccess to files so root directory doesn't have to be writable. 14 March 2008 + FCK spelling docs changed + Updated tinymce head file for 3.0+ version 13 March 2008 + PageSmith conversion : Added page titles to search. 12 March 2008 + Database: added unique parameter to createTableIndex 7 March 2008 + Added Sam Collett to credits since using his jquery script. + Added selectboxes jquery script from author above. + Added multiple_select javascript. + Updated jquery 5 March 2008 + XMLParser : single items were overwriting one another. Believe it is fixed. + Forward.php : more edits. Dumping .html shortcut requirement, checking for module status instead. 3 March 2008 + DB_Pager : Fixed bug with joinResult and row counts. Thanks Greg. 28 February 2008 + Added plugForward function 26 February 2008 + checkMimeType needed a reg exp check on the mime type. Sometimes a server will add extra information to the end of the type so you wouldn't get an exact match. 25 February 2008 + Added jquery. + Updated: javascript/jquery 22 February 2008 + Removed test code from Core.php + Text.php - Rewrote getGetValues. Wasn't working with rewrites + Added Doriano to credits file 20 February 2008 + File.php - added getVbType. Returns verbose mime type of a file. + Changed instructions in README for check_all. 19 February 2008 + New standard .htaccess file + New file in inc/ directory: Forward.php. Handles the new mod_rewrite code. + Increase boost.php version. No update written yet. + File.php o New function getMimeType returns a mime dependent on server configuration. o New function checkMimeType compares a file and its extension to the mime type returned by getMimeType. Returns false if they don't match. + Form.php : new function addCheckAssoc. Works like addRadioAssoc. + Key.php : new function getKey. Called statically, returns a key based on module, item name, and item id. + Text.php : new rewriteLink function now supports the var{n} format of variables. + Added some more details to file_types.php + New information add to Forms.txt concerning associate arrays for radio buttons and check boxes. + Javascript o Ajax : typo fix in requester.js o captcha : changed to get() function. o Editor.txt - Added instructions on using the Editor class with the Form class. o Settings_Class.txt - fixed the path location for the settings.php file. + Javascript o FCKEditor - added ability to show limited wysiwyg tool + Setup o Error messages now appear under incorrect setting 11 December 2006 + DBPager o Current page set back to page 1 after a new search or if current page is set to zero o setOrder function now has a default of 'asc' (ascending). o Fixed instant where searches were joined with AND instead of OR o Pager search variable is reset when a new search is called. Prevents empty variable in GET string. o Pager now grabs navigation and sort buttons regardless of row status. Version 1.3.6 -------------------------------------------------------------------------- 8 December 2006 + Pear - added mime file for email class + Convert o Convert class now allows the user to pick a destination branch. o siteDB function added. Used in developer's convert.php file to restore the branch connection after a disconnect. o Removed the utf8 calls in webpage and blog until a definitive fix can be created for 8859 to utf-8 conversions. o Fixed File Cabinet conversion typo (bug #1608912). 6 December 2006 + Documentation o Settings_Class - Fixed directory for settings file + Settings o Set password character limits o Moved error messages to appropriate areas 4 December 2006 + Settings o Now allows null settings. + Javascript o Added suggested js_calendar fix. Thanks Verdon. Version 1.3.5 -------------------------------------------------------------------------- 29 November 2006 + Changed boost files to prevent unneccessary folder creation + Convertion - added note to readme + Core.php - Fixed bug with getHomeHttp function + Javascript o Rewrote portions of FCKeditor file manager. Works better now. o Rewrote FCKeditor upload to work better with links. Version 1.3.4 -------------------------------------------------------------------------- 28 November 2006 + General o Moved core config file to new conf directory o Tarred pear directory so would uncompress in lib directory + Setup o Allows you to install phpWebSite into an existing database o Set default editor to FCK + Module - can now initialize core as a module + Core - removed loadAsMod function. Ability transfered to Module class. 27 November 2006 + DBPager - Added saveLastView and getLastView functions. Allows the dev to record where the user was last if they may leave the page and need to return where they left. + Text.php - Removed function that cleaned up word quotes. (Bug #1602046) + Updated files : moved conf/errorDefines.php to new inc/ directory. config/error.php - added new key error message javascript/check_all/head.js - check all was not functioning correctly + Documentation - added note about resetKeywords in Search module. + Database.php - added an error check on the where creation + Init.php - errorDefines.php now pulled from the source inc directory + Key.php - Added an error check to restrictView function 24 November 2006 + DBPager - Replaced regexp expression with like expression. regexp incompatible with postgresql. 21 November 2006 General ------- Removed broken style tag from various about.html files (bug #1599136). + Text.php o Changed isValidInput to allow emails with slashes (Bug #1600198) o Altered isValidInput url check slightly o changed double quotes to singles in isValidInput + Convert o Added logout link. o Added error check to phatform conversion. + Cookie.php o Added error check to unset function (bug #1599140). Version 1.3.3 -------------------------------------------------------------------------- 17 November 2006 + Cache.php o Added site hash to key. + Text.php o Changed mb_convert_encode to utf8_encode. + pear.tgz o Removed some unused and repeated classes CHANGELOG for phpWebSite version 1.0.0 stable Version 1.3.2 -------------------------------------------------------------------------- 17 November 2006 + Database.php o Added code to prevent index creation on sql imports if requested. + Setup o Removed RC stuff from welcome o Changed setup colors Version 1.3.1 -------------------------------------------------------------------------- 16 November 2006 + Database.php o Added a DB_ALLOW_TABLE_INDEX definition to allow users with limited access to install. o Changed Database to use factory classes for adding table columns. Good ole postgresql! o Added index define to setup config template + Text.php o Added a couple of lines to breaker to prevent breaks inside pre tags Version 1.3.0 -------------------------------------------------------------------------- 15 November 2006 + Added photoalbum conversion 14 November 2006 + Convert o Added ability to set table prefix of conversion database. o Added Phatform category conversion. o Added Phatform conversion script. o Added note about moving your images and files before or after conversion to readme file. + Database - Fixed export function. 13 November 2006 + Form.php - Change to the editor code that should prevent the doubling of breaks + Text.php - added the smilies parameter to the constructor. + Captcha.php - New class to help with CAPTCHA + Setup - added captcha information to config.tpl, removed file_type include + Index.php - Added file_types include 10 November 2006 + Convert o Now looks for info.ini file if language version not available o Added info.ini files for each converted module o Removed unused en-us ini files. + Database o Added a report_error parameter to importFile function. + Text o Added a function to fix basic anchors in parsed text. Will now suppliment them with the current url. o Added a parameter to control whether to fix anchors by default or not. Default set in config/core/text_settings.php update. + Functions o Added str_split 9 November 2006 + Error.php - Default language is now used when the get function is called. + Init.php o Default language changed from "en" to "en_US" o Stripping the utf-8 suffix from the language used in translateFile. 8 November 2006 + Init.php - Added UTF-8 to setlocale language string. Version 1.2.0 -------------------------------------------------------------------------- 7 November 2006 General + Simplified all install.sql files to make them more compatible with postgresql. + Also added comments for version control. + Database o Fixed some problems with the function that identifies tables within a query. Needed for prefixing. o Added some sanity checks to normalize queries for different databases. o Added display_errors as an ini_set to phpws_stats.php + Text o Added use_smilies variable. Determines whether parsed text will look for smilie icons. o Added option to enable or disable smilies in parseOutput. o Fixed htmlentities function in parseInput that was mangling foreign characters. 6 November 2006 + Convert - Added the option to choose between creating a new page per section or combining all sections into one page. + Database - When using LIKE with addWhere, the factory files determine what is returned. By default, phpwebsite will assume you are performing a case insensitive search when using LIKE. Since some databases perform case sensitive searches with LIKE, a standard had to be established. + Init - Fixed error caused by statement flip 3 November 2006 + Core.php - Home http now checks the url before adding a duplicate slash on the end. + Text.php - makeRelative now has a parameter to decide if the ./ prefix should be added + Key.php - Now calls makeRelative without ./ prefix + Convert o Users now changes all usernames to lowercase. Version 1.1.3 -------------------------------------------------------------------------- 3 November 2006 + Key.php - Now used the text function condense + Text.php - Added the condense function + Setting.php - Now reseting just the module's global value, not the whole variable Version 1.1.2 -------------------------------------------------------------------------- 2 November 2006 + Convert - Block conversion now places all blocks on the front page + Database.php - Fixed Bug #1588765 - bad search and replace put an incorrect function name into the addOrder method. Thanks webtor Version 1.1.1 -------------------------------------------------------------------------- 1 November 2006 + Convert o Users were not set active on conversion + Settings o If a setting were loaded after saving a new value, incorrect data was returned + Text o makeRelative changed back to use "./" Was breaking other functions. 31 October 2006 + Convert o Blog convert not updated since summary was added. o File Cabinet conversion now checks for Documents installation. + Text - makeRelative now removes home address instead of replacing with "./" Version 1.1.0 -------------------------------------------------------------------------- 27 October 2006 + Convert o Added a table check to getSourceDB function. o Removed ampersands from constructors o Calendar - Added a check to assure calendar was installed before converting + Settings.php o Added an error check to prevent null values from being saved in the integer columns o Added a reset function that sets a value back to the default + Batch.php - added some error checks + Database.php - Removed the static tables variable in the isTable function. Possibility exists that two or more databases could be used and the static list would return faulty information 25 October 2006 + Database.php o DB factory files have been broken out into specially named classes, hopefully this will allow dual connections on different database systems o Core.php - some tidying o Crutch_DB.php - removed o Database.php - complete overhauled to allow table prefixing and multiple concurrent connections - removed reference characters on constructors o Debug.php - duplicate null values are not labeled as recursive arrays o File.php - copy_directory function was reporting the wrong value in its error messages 23 October 2006 + Database.php o Added table prefixing back o Altered the count type for select slightly + Setup - added table prefixing back to install process 19 October 2006 - Init.php : added a define for CURRENT_LANGUAGE if gettext is not working 18 October 2006 + Form.php - Removed ampersands from constructors Version 1.0.9 -------------------------------------------------------------------------- 12 October 2006 + Form.php o Crutch function for radio button had typo o Added labels to checkbox and radio button crutch functions Version 1.0.8 -------------------------------------------------------------------------- 11 October 2006 + Configuration : error.php - shortened module missing message + Module.php - added error message to _error variable if module is not found Version 1.0.7 -------------------------------------------------------------------------- 11 October 2006 + Key.php - added a parameter on getCurrent that can allow you to ignore a home key. + Init.php - Commented out putenv functions + Javascript - close_refresh - added an option to not autoclose 10 October 2006 + Database.php : fixed a small bug with adding columns using "as". Value was carrying over to other columns + Form.php : Added an error check on a select value + Documentation : updated DB_Pager.txt with information on setting a column order Version 1.0.7 -------------------------------------------------------------------------- 5 October 2006 + Init.php - fixed locale cookie not getting saved properly + Documentation - more instruction add to Module_Development.txt Version 1.0.5 -------------------------------------------------------------------------- 4 October 2006 + Core.php : altered loadAsMod function to pull version from file or database + Module.php : added functions to load the core as a module. helps with dependencies Documentation + Updated Demographics.txt file. RC3 and under ---------------------------------------------------------------------- Note: changelog was overwritten by mistake on October 2. Summary follows 2 October 2006 + Setup : Core version handled by set up, not inserted via SQL manually 28 September 2006 + DBPager o Added third parameter to setOrder function: only_if_empty. It is false by default. If true, order will only be set if not previously set o Added a function called toggle function. Supposed to call a specific function every specific n row. Untested but leaving in for now. o Changed the limit list so the current limit will not be linked o added an error check to see if the current limit request is within the set limit list. Should prevent users enter bogus limit numbers + Form : recoded crutch function calls since crutch files have been removed + Manager : recoded for compatiblity. 27 September 2006 + Convert o Added filecabinet conversion script + DBPager o created addRowFunction for pagers not using classes o Changed the sort function to use the table columns not the class variables. This will help with non-class pulls 25 September 2006 + Convert o Calendar : converting repeats now 21 September 2006 + Key.php o changed unregister function name to - "modulename_unregister_key" It was getting confused with the module's normal unregister function o rewrote Key's unregister function to remove associations automatically + Settings.php : added function to unregister a module's settings + Theme o Added styles for breadcrumb in default 14 September 2006 + Function.php : added clone function + Setup: For bug #1533711 added a warning to the setup. 7 September 2006 + Form.php : added extra space after checked parameter + Time.php : added a function to return time in iCal format + Theme o Removed border from abbr tag (used in calendar) 5 September 2006 + Functions.php : Added stripos to compatibility functions + Text.php : Changed the bbcode decoder to use str_ireplace 30 August 2006 + Form.php : replaced a reference to the place variable with key to fix labels matching with elements + Module_Development.php : more information on files needs for installation in Boost 23 August 2006 + Database.php : if a count(*) is used, the db class will clear unneccessary order and group designations 22 August 2006 + Time.php : rewrote all most functions. should be easier to understand now + Key.php : Uses mktime for the timestamps and new Time functions for display 21 August 2006 + DBPager : changed function call to use call_user_func. Eliminated an undebugable problem in a module. 18 August 2006 + Removed old crutch files + Documentation - Started rewrite of module documentation 17 August 2006 + Database : getObject's extra parameters were too simplistic. You could only use strings. Improved it. + Setup : put in default directory for cache + Javascript o js_calendar : fixed default typo 15 August 2006 + Database : added ability to add parameters to getObjects. every variable after the class name is sent to the constructor + Settings : changed so that setting default files are always called before pulling from the database. + Javascript o js_calendar : xhtml fixes 14 August 2006 + Theme o Added style for embedded block + Javascript o Editor - FCKeditor : added full page view, insert flash buttons. Also recoded to allow multiple textareas. Fixed bug #1515179. Can now upload images in the upload tab. 11 August 2006 + Text.php o changed parseTag so you could add modules you wish to ignore. Should prevent endless loops + Docs o Updated SmartTags documentation to fit with Text.php changes. 10 August 2006 + Text.php - Added UTF-8 encoding to the parseOutput. Was trashing accented characters. 09 August 2006 + Config o added strong and pre tags to text_settings.php + Added a requireInc function + Editor o Added id field to editor textarea for possible future use o Removed breaker function call o Removed html_entity_decode + Form o Removed an html decode that seemingly caused problems with ampersand encoding o Added id parameter to editor textarea + Template o Forcing mod templates was getting ignored if the theme had comparable templates. Changed so forcing mod template overwrites everything. + Text o Removed the
tag formating. Wasn't working anyway.
o Added code to prevent breaks in tags. They were usually
added by the js editors
+ Time : continuing my ever increasing confusion with timezones, made
more changes to try and get user timezone settings working. I
am sure I will be back.
+ Javascript
o Added id field to the fckeditor textarea
+ Theme
o Removed unneeded semi-colons
14 July 2006
+ Theme
o Default - added breadcrumb tag
12 July 2006
+ Form - fixed radio button label assignment
10 July 2006
+ DBPager - fixed a filtering issue in the setSearch function
7 July 2006
+ Added missing version insert to install.sql file
+ Template.php : made sure forcing module templates grabbed them from
the hub directory.
5 July 2006
+ Added key errors for missing key unregister files and/or functions
+ Text.php - added error check to backLink function
30 June, 2006
+ Added error messages to Core to help debug a bad source directory
+ Docs
o Added this file!