Bricolage 2.0.1 Changes
2011.02.09
What's new in Bricolage 2.0.1?
The newest Bricolage is more reliable than ever. Here's a guide to what's changed.
Improvements
Added SKIP_SSL_REDIRECT bricolage.conf directive. This directive prevents Bricolage from redirecting to and from an SSL URL when SSL_ENABLE is turned on. The case for this is when Bricolage is running behind a reverse proxy server that's handling SSL mappings. Thanks to Alex Krohn for the report. [David]
Added the "object" format for datetime values. Pass "object" as the formatting string and a DateTime object will be returned, rather than a string. [David]
Refactored the SFTP mover to do proper error handling. Also removed the code that "escapes" file names, as with more recent versions of Net::SSH2 it left the backslashes in the file names. [David]
Bricolage now supports Apache 2 MPMs other than Prefork. YMMV (Bug #188). [David]
The "Category" autocompleting field in the New Story/Media/Template profile now remembers the last value selected for that screen within the current session. This makes it one bit easier to create a bunch of objects in a row all in the same category, as used to be the case before 2.0 turned these into autocompleting fields (Bug #159). [David]
The lists of the container and field subelement key names in a template are now displayed above the code in the read view as well as the edit view. Suggested by Phillip Smith (Bug #228). [David]
Bug Fixes
Fixed a bug in the Bric::Util::ApacheReq tests where they would fail if the LISTEN_PORT or SSL_PORT bricolage.conf directives were anything other than 80 and 443, respectively. Thanks to Héctor Daniel Cortés González for the report. [David]
The "Checkout" link no longer appears on desk items for users who do not have permission to edit an asset [Kahil Jallad].
Fixed a bug where the SFTP mover would not properly finish moving the file, leaving escaped tmp files on the destination server. [Matt Rolf]
Updating published stories or media or deployed templates via the SOAP interface with the EXPIRE_ON_DEACTIVATE bricolage.conf directive enabled no longer expires those assets unless they are active and the
element is set in the XML. Thanks to Nick Legg for the report (Bug #184). [David] Worked around a bug in Net::SSH2 where sockets weren't being closed, leading to bric_queued running out of file descriptors. [David]
The virtual FTP server no longer limits itself, but leaves resource limits to the OS. This prevents apparently unrelated (and mysterious!) errors from the FTP server. [Alex Krohn].
Fixed error message thrown by publish_another() that incorrectly called itself burn_another(). [David]
When diffing documents and templates, if the "to" item is the current version, the currently-checked out asset is used. This is so that one can see what changes have been made since the checkout. Reported by Michael Herring. [David]
Fixed bug in bric_ftpd where the ftp PWD command returns an incorrect path (missing the site name). Some ftp clients (eg. FileZilla) call PWD and use this path after changing directories. [Adrian Yee]
Fixed a bug where desk asset counts would never be displayed regardless of the preference setting (Bug #198). [Greg Heo]
The keyword autocomplete widget no longer suggests deleted keywords on the story and media profiles (Bug #206). [Greg Heo]
Fixed a bug where some valid date ranges would be rejected as invalid when searching for assets. Bug #211). [David Oliveira]
Fixed bug in bric_ftpd where the ftp PWD command returns an incorrect path (missing the site name). Some ftp clients (eg. FileZilla) call PWD and use this path after changing directories. [Adrian Yee]
In the event of a publish failure, a story and media document no longer has its publish status, date, and first publish date updated (Bug #200). [David]
Xinha now works properly, as the WYSIWYG fields are now created only when they're displayed (they didn't work right when they were created while hidden). Thanks to Aaron Fuleki and Denison University for the report and Phillip Smith for finding the relevant Xinha support explaining the problem (Bug #217). [David]
Adjusted placement of the Checkout and Publish buttons in search results and elsewhere so that they're not so close to the border of the box that contains them (Bug #194). [Phillip Smith]
The Apache 2 detection during installation now properly finds Included configuration files specified with paths relative to the HTTPD_ROOT (Bug #174). [Michael Herring]
Using pagination controls when selecting from a list of stories to relate no longer throws an error (Bug #183). [Greg Heo]
Adjusted style of Check In and Move popup menu. Allows for easier selection of appropriate action.
Fixed the Xinha editor when using the Create Link button (Bug #180). [Phillip Smith]
The "Content Type" column in the Element Type manager will now properly sort when you click its header (Bug #190). [David]
Bricolage no longer throws an error when the description of a category is longer than 256 characters. Thanks to Vladimir for the report (Bug #215). [Phllip Smith]
Attempting to create a category template that already exists in a category and output channel no longer reactivates an element type template (Bug #195). [David]
Deactivated element types no longer appear as available to add to stories, though existing elements of those types will remain unless they're individually deleted (Bug #230). [Greg Heo]
Document and template search results no longer provide a "Republish" checkbox for deactivated assets, which are shown when "Include deleted" checkbox is selected in the advanced search interface (Bug #201). [Nick Legg]
The buttons once again work in the media document category browser when the ENABLE_CATEGORY_BROWSER bricolage.conf directive is true. Thanks to Michael Herring for the report (Bug #155). [David]
The story and media profiles now allow only output channels associated with the site the document element type is associated with to be associated with the story or media document (Bug #212). [Zdravko Balorda]