Bricolage 1.11.4 Changes

2010.03.29

New Features

  • Added the --match-title option to contrib/bric_media_upload. This will match the uploading file name against the title of the media object rather than the file name [Paul Orrock]

  • Added the new Bricolage logo to the user interface. [Phillip]

Improvements

  • When displaying categories associated with a story and the ENABLE_CATEGORY_BROWSER bricolage.conf directive is true, the categories are now displayed in alphabetical order by URI. [David]

  • The installer no longer requires that Term::ReadPassword be installed from the CPAN before it continues. It will use it if it finds it, but if not it substitutes a simple implementation that does the trick (Bug #136). [David]

  • When creating or editing a story or media document, the Source select list now lists sources in alphabetical order. Reported by Michael Herring (Bug # 138). [David]

  • Added the SFTP_KEY_TYPE, SFTP_PRIVATE_KEY_FILE and SFTP_PUBLIC_KEY_FILE bricolage.conf directives to to restore key-based authentication to the SFTP mover. These were necessary as the old SFTP_HOME directive does not work with the new implementation based on Net::SSH2 (Bug # 127). [Greg Heo]

  • When started by the root user, the bric_queued and bric_ftpd daemons now become the Bricolage system user (usually the Apache user) after forking their subprocesses, rather than before. This means that the PID file is now created by the root user, and so should encounter no permission errors when saving the PID file to standard OS locations. Reported by Serge Ivanchenko. [David]

  • The default location for the FTP server's log files is now the log subdirectory of the bricolage root directory, rather than the bricolage root directory itself. This is what comments in bricolage.conf have always suggested, even if Bric::Admin and the code did not. [David]

  • Added the CATEGORY_MIN_CHARS AND CATEGORY_MIN_CHARS_TMP bricolage.conf directives. These give administrators the ability to control the responsiveness of the autosuggest box for selecting categories to associate with documents and templates. It had been set to 2 to make it more responsive to sites with very large numbers of categories, but most folks only need it set to 1, which is now the default. [David]

  • Now require PostgreSQL 8.1 or higher. We will no longer support 8.0 or lower. [David]

  • The contributor popup now submits the updated list of contributors to Bricolage, which updates them in the document and returns the updated list of contributors. That list then updates the contributors section of the document profile. Thanks to this change, editing contributors twice in a document without saving in between no longer causes the changes from the first edit to be forgotten. It also allows any changes to the contributor order to in the popup to be properly updated in the document profile. [David]

  • When hovering over the names of custom fields in the element type or contributor type profile, the cursor displays as a “move” cursor, to indicate that one can drag the field names in order to change their order. This corresponds to the interface for reordering fields in documents. [David]

  • When creating new stories or media via the SOAP interface, Bricolage no longer forces the publish status to be set to false, but sets it to true if the the publish date is set or the publish status is true in the XML. In such cases, it will also set the published version number to version 1. This is to make it easier for one to migrate documents from one Bricolage instance to another without having to edit the XML to set the publish status to a true value. [David]

Bug Fixes

  • Fixed a regular expression typo that led to a test failure. [Greg Heo]

  • Adding a category to a story in a multi-site installation no longer has a chance to throw a “Too many category objects found” error. [Greg Heo]

  • Moved document expiration on deletion from Bric::Biz::Asset to Bric::Biz::Asset::Business because it's useless for templates and left no-op job records lying around when templates were deleted. This code path only executes when the EXPIRE_ON_DEACTIVATE bricolage.conf directive is enabled. [David]

  • Fixed document expiration when the EXPIRE_ON_DEACTIVATE bricolage.conf directive is enabled so that it doesn't try to expire documents that have never been published, or media documents that have no URI associated with them. Thanks to Aaron Fuleki and Denison University for the report. [David]

  • Bric::Util::Burner's publish() method no longer removes documents from workflow after publishing them, as such is the responsibility of the code that calls publish. The publish callback already did, and now so does the Bric::SOAP::Workflow publish() method. Thanks to David Beaudet for the report and Aaron Fuleki for the steps to replicate (Bug #98). [David]

  • Fixed a bug where contributor and category search results would be propagated to the contributor and category editing screens with a story or media document. Searches from within documents should cache their own results, separate from the admin search interfaces. [David]

  • Contributors associated with a story or media document and categories associated with a story document are no longer paginated. When there were more contributors or categories than would fit on a paginated page, the pagination didn't work and reording didn't work. So by disabling pagination in this case, we get around that issue. Documents with that many categories or contributors are rare, so the trade-off seems worthwhile. Thanks to Bret Dawson for the report (Bug #121). [David]

  • Fixed the “Log In” button so that the word “In” is antialiased. [Waldo Jaquith]

  • New media can once again be created from a related media element. It was broken by the switch to autocompleted category selection for new media documents in 1.11.3. Thanks to Waldo Jaquith and Iván Chavero for the spot (Bugs #134 and #135). [David]

  • Fixed the “Not a GLOB reference” error when using the PHP burner on Perl 5.10. [Alex Krohn]

  • The simple search in workflows no longer disables navigation links on the same horizontal line as the “Search” button. Thanks to Matt Rolf for the report (Bug # 141) and to Marshall for the CSS jujitsu. [David]

  • The best_uri() method of Bric::Util::Burner now avoids expired stories when searching for aliased stories. Thanks to Zdravko Balorda for the catch (Bug #144). [David]

  • Fixed issue with the use of findElementsByClass() when used with Prototype 1.6.0.3. Thanks to Adrian Yee for the report and suggested fix. [David]

  • Subelements can once again be added to media documents when the ENABLE_CATEGORY_BROWSER bricolage.conf directive is enabled without getting the error “Please select a primary category.” Broken in 1.11.3. Thanks to Vincent Stemen for the report (Bug #143). [David]

  • The field type profile now properly validates code select code and lets the user know if it's not valid. [David]

  • The validation of code select field code is now consistent between the element type profile, the field type profile, and the SOAP element type interface. Thanks to Krzysztof Rudnik for the report (Bug #140). [David]

  • Media no longer throw the exception “Can't call method “write” on an undefined value” when Imager is doesn't recognize an image file format. Thanks to Matt Rolf for the report (Bug #146). [David]

  • Deleting contributors in the contributor popup window now works the same as it does when deleting them in the story or media profile: without a submit, but by simply removing the contributor from the DOM. [David]

  • Hitting the “enter” key when searching for contributors in the contributor popup no longer closes the window, but properly submits the search. Thanks to Matt Rolf for the report (Bug #147).

  • Contributor type fields can once again be reordered and deleted. Thanks to Krzysztof Rudnik for the report (Bug #139). [David]

  • When relating a story or media document, clicking a column header in the search results in the related search popup no longer throws an error. Thanks to Phillip for the report (Bug #149). [David]

  • The SOAP interface now sets the published version to the new version of a story or media document that is being updated by XML that says the document is published and where the published version was not previously set. [David]

  • When creating a template via the SOAP interface, if the template in the specified output channel, category, and site already exists but is deactivated, it will be re-activated and updated instead of throwing an error. This matches how the UI works. [David]

  • Setting the RELATED_DOC_POD_TAG bricolage.conf directive to “url” no longer breaks bulk edit. Thanks to Phillip for the report (Bug #150). [David]

  • The best_uri() method of Bric::Util::Burner now works when creating a link to a story on a different site and the protocol for the output channel is not set. It defaults to “http://” for the protocol. [David]

blog comments powered by Disqus