pLog 0.3.2 released!
19. Jul. 2004Please keep reading for more detailed information about the bugs fixed and the new features added in 0.3.2, or feel free to visit the page "What's new in 0.3.2 in the wiki" to get the same information.
UPDATED: The summary.php script was not working very well (some of the statistics on the left side were not being updated at all) so we have uploaded a little patch for it, for those of you who use the summary as part of your setup. If you don't use the summary.php at all, please ignore this. You can get the patch from here.
Changes from 0.3.1 to 0.3.2
Bug-fixes
- It is now possible to upload Windows Media Video (WMV) files to our resource center (one file needed by the library that takes care of extracting the metada from files was missing)
- When posting an article via the XMLRPC interface, now comments are enabled by default instead of disabled.
- Improved the XHTML compliance of all the templates, as many of them still had little glitches that made them not XHTML Strict/Transitional (depending on the template) compliant.
- Improved compatibility with MySQL 4.1, where the format of queries with "date LIKE %date%" had to be changed to "date+0 LIKE %date%".
- fixed a bug that was making plog crash when a request was blocked by the security filter (the bayesian filter, or the regexp-based content filter or the ip filter)
- The resource server (resserver.php) now reports the size of the file we're downloading by using the Content-Length header
- Fixed quite a big bug where template sets where not working at all when installed as blog-specific templates (i.e. under templates/blog_X/ where 'X' is the blog identifier) instead of site-wide templates. The solution has been to add an additional method to the $url object that generates the correct urls called getTemplateFile() which does something similar to getUrl() but it automatically detects that the template is being used as a blog-specific template and will generate the right url for the file. This method should only be used to generate urls for files that are under the template folder, not if they are somewhere else in the web server tree. For example
getUrl("/templates/blueish/folderblue.gif")} alt="Album" />
now has become:
getTemplateFile("folderblue.gif")} alt="Album" />
$url->getTemplateFile() will return
http://yourserver/templates/blog_1/blueish/folderblue.gif which happens to be the right url. On the other hand, the following
should not be modified because it is fetching a file that does not belong to the template itself. All the default template sets have been modified to adapt to these changes.
- Files uploaded via the "Resource Center" have now better permissions.
- Fixed a problem in the blueish template where the right column would slide down to the bottom of the page under certain conditions.
- Fixed the generation of RSS and Atom feeds where posts in the future were being shown when they shouldn't.
- Links attached to notification emails are not XHTML-encoded anymore, as this was causing problems to some email clients.
- The javascript calendar was not working when updating a post after having previewed the changes.
- Improved Atom 0.3 template.
- Improved handling of files with non iso-8859-1 names (like Chinese, for example)
- Lots of even smaller bug fixes not worth mentioning separately :)
New features
- Updated the summary.php and register.php script (thanks guys at lamevaweb.info)
- Most of the methods used by the summary have been moved to a stand-alone class (class/dao/summarystats.class.php) so that we don't unnecessarily increase the size of the code. Also, some of these methods can now use caching to speed up processing. In order to enable caching, set summary_use_cache to 1 in the table plog_config.
- Added a mod_rewrite request generator. Users interested in using this, please have a look at the .htaccess file bundled with pLog.
- When browsing a particular category, all posts under that category will be shown instead of as many as we have configured in the admin interface, under "how many posts to show in the main page".
- When browsing a particular date, all posts written that date will be shown instead of as many as we have configured in the admin interface, under "how many posts to show in the main page".
- The variable $showAll is now available for templates. It will be set to 'true' when the two cases above happen and it can be used to show a smaller listing in case we have categories with lots of posts (thanks mark for the idea) For example we could add the following to main.template:
{foreach from=$posts item=post}
{if $showAll}
postPermalink($post)}">{$post->getTopic()}
{else}
{include file="blueish/post.template"}
{/if}
{/foreach}
- When adding a new post or a comment is received, pLog is now capable of "fixing" broken HTML code to some extent and replace it with XHTML-compliant code. An additional "aggressive" mode can be enabled that will try to even fix more things (but it if course more prone to make mistakes!) The XHTML converter is enabled by default in non-aggressive mode. See the xhtml_converter_enabled and xhtml_converter_aggressive_mode_enabled settings under "Global Settings".
- All default templates now show the title of the post as the title of the page (thanks sturmix for the idea)
- Added another filter to the "Edit Posts" page: now it is possible to filter posts by month in addition to all of them. By default pLog will show the posts written in the current month (if any) (thanks mark for the idea)
- The default mode when adding a new post is now "Published" instead of "Draft".
- The default "Status" mode when browsing our list of posts is "All" instead of "Published".
- Added German, Italian, Finish, Korean, Simplified Chinese and updated the French translation, so many thanks to all of you who collaborated!
- Improved the calendar to be more XHTML and accessible (thanks fuzer and elena)
- Now there is a link to the blog from the admin interface, clicking the big title on the top of the page.
- Updated MagpieRSS (the included RSS parser) to version 0.61, which is now capable of handling even Atom feeds.
- Lots of new plugins: topcomments, toparticles, topkarmaarticles, karma plugin, improved whoonline, brand new "addicted to..." Check them out! :)
Trackback: Even though pLog 0.3.2 is only a maintenance release (