I'm thrilled to announce the release of Bricolage-Devel 1.7.4 "Sacramento", the first release candidate for Bricolage 1.8.0. This version of the open-source content management system addresses all of the bugs discovered since the release of the fourth development release, 1.7.4, and adds several new features and numerous improvements. The most significant changes since 1.7.3 include:
notes()
method to Bric::Util::Burner, along with the
accompanying clear_notes()
. The notes()
method provides a place
to store burn data data, giving template developers a way to share
data among multiple burns over the course of publishing a single
story in a single category to a single output channel. Any data
stored here persists for the duration of a call to burn_one()
.
[David]USE_THUMBNAILS
bricolage.conf directive is enabled. These rely on
the presence of PNG icon files for each MIME type in
comp/media/mime. Only one such icons is distributed with Bricolage,
comp/media/mime/none.png (borrowed from the KDE project under
a free
license), which is the default icon when the MIME type of a media
file is unknown or when no icon file exists for the MIME type of the
media file. Administrators are free to add their own icons, and the
copy_gnome_icons
script in contrib makes it easy to use GNOME
icons. [David]bric_template_diff
and bric_template_patch
scripts in
contrib/bric_template_diff. These scripts can be used to sync
templates between two Bricolage servers. [Sam]bric_media_load
to contrib/
. This script copies media into
Bricolage while accounting for the new to update existing media.
[Sam]workflow__id
and desk__id
columns of
the story, media, and formatting (template) tables to be more
efficient, being indexed only when their IDs are greater than 0
(that is, when a story, media document, or template is actually on a
desk and in a workflow). [David]is_fixed
to story and media objects, to determine
whether a business asset has a fixed URL (for example, a Cover
page). Refer to Bric::Biz::Asset::Business. [Scott]ENABLE_OC_ASSET_ASSOCIATION
bricolage.conf directive to
remove the ability to associate output channels from the story and
media profiles. [Scott]Modified the get_containers()
method of
Bric::Biz::Asset::Business::Parts::Tile::Container to take an
optional list of key name arguments, and to return only the
container subelements with those key names. This is most useful in
templates, where it's fairly common to get a list of container
subelements of only one or two particular types out all at once. It
neatly replaces code such as this:
for ( my $x = 1; my $quote = $element->get_container('quote', $x); $x++ ) { $burner->display_element($quote); }
With this:
for my $quote ($element->get_containers('quote')) { $burner->display_element($quote); }
And is more efficient, too. [David]
get_elements()
method of
Bric::Biz::Asset::Business::Parts::Tile::Container to take an
optional list of key name arguments, and to return only the
subelements with those key names. [David]get_data_elements()
method to
Bric::Biz::Asset::Business::Parts::Tile::Container. This method
functions exactly like get_containers()
except that it returns
data element objects that are subelements of the container element.
It also takes an optional list of key name arguments, and, if
passed, will return only the subelements with those key names.
[David]ANY()
subroutine will now throw an exception if no arguments
are passed to it. Suggested by Dave Rolsky. [David]unexpired
parameter to the list()
method of the story
and media classes. It selects for stories without an expire date, or
with an expire date set in the future. [David]THUMBNAIL_SIZE
bricolage.conf directive are no longer expanded to have one side at
least THUMBNAIL_SIZE
pixels, but are left alone. [David]preview_another()
method to Bric::Util::Burner. This method
is designed to be the complement of publish_another()
, to be used
in templates during previews to burn and distribute related
documents so that they'll be readily available on the preview server
within the context of previewing another document. [Serge Sozonoff]subelement_key_name
parameter to the list()
method of
the story and media classes. This parameter allows searches on the
key name for a container element that's a subelement of a story or
media document. [David]list_ids()
method
of the Story, Media, and Template classes to the list_ids()
method
of the corresponding SOAP classes. This allows for much more robust
searches via the SOAP interface. [David & Scott]login_avail()
PostgreSQL function, replacing it with a
partial constraint. This not only makes things simpler code-wise,
but it also eliminates backup and restore problems where the usr
table is missing. The downside is that it requires PostgreSQL 7.2
instead of our traditional minimum requirement of 7.1. So any
PostgreSQL 7.1 users will need to upgrade before upgrading to this
version of Bricolage. Suggested by Josh Berkus. [David]make clone
will now properly clone a database on a different
database server, provided the host name (and port, if necessary)
have been provided. Thanks to Ho Yin Au for the spot! [David]Bric::SOAP::Category->list_ids
now converts site names to site
IDs. [João Pedro]Bric::Util::Burner->preview
once again defaults to previewing in
an asset's primary output channel instead of using the element's
primary output channel. [João Pedro]first_publish_date
attribute to the SOAP input and output
for stories and media. [David]lookup()
with the site
ID to prevent multiple categories with the same names but in
different sites from being looked up. [João Pedro]For a complete list of the changes, see the changes file.
ABOUT BRICOLAGE
Bricolage is a full-featured, enterprise-class content management and publishing system. It offers a browser-based interface for ease-of use, a full-fledged templating system with complete HTML::Mason, HTML::Template, and Template Toolkit support for flexibility, and many other features. It operates in an Apache/mod_perl environment, and uses the PostgreSQL RDBMS for its repository. A comprehensive, actively-developed open source CMS, Bricolage has been hailed as "Most Impressive" in 2002 by eWeek.
Learn more about Bricolage and download it from the Bricolage home page.
Enjoy!
David