« Support | Index | License »

Onpub - Change Log

Version (svn rev.)
Released Notable Changes
0.8.7 (648) Feb 23, 2008 • This release of Onpub includes a new directory in the download package called website. The directory contains code for building a website frontend with Onpub. The code can be used as a base for creating a custom designed, Onpub-powered website. The code integrates the excellent YUI Grids CSS code for easily controlling the layout and design of the site. This is the first release of Onpub to include this "reference" website implementation. Customize and build on it to your heart's content :).

• There are no major API changes or additions in this release, only bug fixes.

• This release includes many sub-section related fixes in both the UI and API. This is the first release of Onpub that adequately supports creating sections within sections. Sub-section support will continue to be one of the main focuses for the next few releases.

• The Onpub menu buttons have been spaced out to make it easier to distinguish between buttons and prevent accidental clicks on neighboring links.

• FCKeditor has been updated to the latest SVN revision (1595). What's new?
0.8.6 (609) Jan 9, 2008 • The Onpub user interface has been made more informative and attractive through the integration of Silk Icons, created by Mark James. Try Onpub to check out the new menu interface. The Onpub Welcome page has also been enhanced to include more info about useful PHP configuration settings.

OnpubAPI has been significantly simplified in this release. Most class variables have now been marked public, making it possible to get/set their values directly. In previous releases of Onpub, one had to call the equivalent get/set function in order to get/set the value of a class variable. Most get/set functions have been removed in favor of accessing class variables directly. This allows users of OnpubAPI to get more done with less code, and also makes OnpubAPI easier to understand for new users. A few class variables still remain private and have to be accessed through their equivalent get/set functions. The OnpubAPI Docs and Tutorials have been updated to reflect this change. If you have code that uses OnpubAPI, it will have to be updated to use this new version of Onpub.

• FCKeditor has been updated to the latest SVN revision. What's new?

• Onpub now detects when file uploads are disabled in the PHP configuration. It also now detects when a file is larger than the limit set in the PHP configuration. In both cases a useful error message is displayed.

• Onpub now checks the extension of an uploaded file to be sure it's an image type supported by Onpub. If the file type is not supported, an error message will be displayed and the file will not be saved.

• The PHP Image extension is no longer required to install Onpub. Onpub currently only uses the getimagesize() function, which appears to be available even when the Image extension is not installed. Onpub may use some of the more advanced Image functions in the future, but the Image extension will remain optional moving forward.

• The OnpubDatabase install() and status() methods have been enhanced to return detailed error info instead of just boolean false if any query errors occur.

• All URL fields now have a Go link beside them to easily visit/validate URLs from the Onpub user interface.
0.8.5 (546) Sep 30, 2007 • The OnpubQueryOption object argument has been made optional for all OnpubAPI methods.

• All OnpubAPI search() and get() methods which previously did not accept an OnpubQueryOption object as an argument, have all been refactored. All search() and get() methods now take an optional OnpubQueryOption object, instead of individual arguments to specify ordering, join options, etc. If you have client code that depends on the old version of these methods, you will have to fix your code to be compatible with this new release.

• Use the latest FCKeditor default toolbar layout. This exposes all of FCKeditor's powerful HTML editing functionality. Also, includes the most recent FCKeditor code from subversion. What's new?

• Dates in Onpub now by default use the America/New_York timezone if the date.timezone option is not set in the PHP configuration file. If the date.timezone configuration option is set, Onpub uses the defined timezone when working with dates.

• All code now runs without warnings when E_STRICT error reporting is enabled in the PHP configuration.

• Lazy load DateTime objects into date fields in the relevant OnpubAPI classes. This allows said objects to be constructed more efficiently. This provides a performance boost to OnpubAPI methods that fetch many rows from the database.

• Optimized the OnpubArticle->getSummary() method, it now runs much faster. Also made sure the $limit parameter is used accurately. Found thanks to analyzing Xdebug Profiler generated data with KCacheGrind.

• The OnpubDateTime class has been removed in this release. We're now using the native PHP DateTime class for date and time parsing. Because of this change Onpub 0.8.5 requires PHP 5.2 or newer. Also as a result of this change, all OnpubAPI methods which previously took OnpubDateTIme objects as arguments now require PHP-native DateTime objects as arguments. If you have client code which depends on any of the affected methods, your code will need to be udpated to reflect this change.
0.8.4 (518) Aug 27, 2007 • Includes the most recent subversion trunk build of FCKeditor. What's new?

• Deleted all "_*" fckeditor directories. These directories are only meant for FCKeditor developers and don't need to be distributed with Onpub. This makes the Onpub download packages significantly smaller.

• Renamed OnpubAPI verifyStatus() method to verifyTransaction().

• All the buttons in the user interface have been re-rendered with a more attractive, sharper font.

• Fixed bug where images weren't displaying in the Image Editor in Internet Explorer.

• Made user interface font a point smaller.

• More OnpubAPI PHPDoc additions and improvements.

• The OnpubSections url field is now fully editable both through the UI and the API.
0.8.3 (499) Aug 8, 2007 • Includes the most recent subversion trunk build of FCKeditor. What's new?

• The majority of OnpubAPI's method parameters and return types have now been documented using inline PHPDoc comments. Further PHPDoc improvements will be forthcoming. OnpubAPI Docs.

• Added new Add to Website's Public Sections option to the Section Creator UI so that the user can choose to make the new section public immediately without having to add it to the Public Sections list in the Website Editor.

• Don't show Public Sections list in Website Editor if there are no sections in the database.

• In the previous version, Tidying of the article content was enabled by default in the UI if the Tidy extension is installed, changed the default to disabled to avoid annoying the user with unwanted/unexpected changes to the HTML code as a result of Tidying. Select Tidy HTML in Content in the Article Creator/Editor to enable running HTML Tidy on the article contents.
0.8.2 (489) Jun 27, 2007 • Includes the most recent nightly build of FCKeditor. This being a development/alpha release, we've decided to include the development release of FCKeditor to keep up with their new developments and fixes. Future alpha (and possibly beta) releases of Onpub will include the most recent nightly build of FCKeditor at the time of release. Once we release a stable Onpub, we'll also bundle whatever version of FCKeditor is stable at that time.

• Re-enabled the HTML Tidy plugin functionality. If Onpub detects the PHP tidy functions, you'll be given the option to use Tidy on the article's content to automatically fix any errors in the HTML code.

• Some key additions to the OnpubArticles class. One can now count the number of articles in a specific section, and one can now select articles from specific sections or websites without having to use methods in the OnpubSections or OnpubWebsites classes. Onpub takes advantage of this new code to speed up display of articles when a specific section is selected in the Article Editor.
0.8.1 (476) Apr 25, 2007 • Packages now ship with HTML documentation generated from the latest docs available at onpubco.com at the time each new Onpub version is released. The most current Onpub documentation will always be available online at onpubco.com.

• Support for creating sub sections. This was badly broken in the previous release. There are still some UI and API bugs related to this that will be fixed in a near-future release.

• Made the $queryOptions argument optional for the OnpubArticles::get method.

• Added the "url" field to all non-map tables. This field will be useful for linking resources to internal or external URLs. If you're upgrading from version 0.8.0 you will have to export your data, reinstall the Onpub schema, and reimport your data. Schema breakages like this will become rare to non-existent as the development of OnpubAPI solidifies.

• Renamed $content arg to $includeContent in OnpubSections::get and OnpubWebsites::get. This fixes a bug that was causing the content field to be not returned correctly (variable was being clobbered in some cases).

• Updated to latest FCKeditor release (2.4.2).

• Fixed bug in OnpubWebsites::getQuery which was causing articles to not be returned in the correct order.
0.8.0 (451) Apr 3, 2007 • None. First public release.


Onpub 0.8.7, © 2007 Onpubco.