Bricolage 1.11.2 Changes

2009.11.14

New Features

  • Added configuration directive to allow the expiration of assets when they are deleted. [David, Mercier, Rolf and Herring]

  • Added the publishing(), previewing(), and compiling() sugar methods to Bric::Util::Burner because I'm sick of seeing the same code to check modes in templates all the time. [David]

  • Take keyword permissions into account when accessing or creating keywords from the story and media profiles as well as category manager. [Adrian Yee]

  • Added support for copying and pasting elements in the story profile. [Adrian Yee]

  • Added the find_or_create_alternate() method to Bric::Biz::Asset::Business::Media class. This method makes it easy for templates to create alternate representations of an image as a new media document. Useful for generating thumbnails and the like. As a side-effect, Imager is now a required module. [David]

  • Since Imager is now a required module, the USE_THUMBNAILS directive is now enabled by default as well. [David]

  • Added the following aliases, so I can pretend that the versions with double underscores don't exist [David]:

    • Bric::Biz::Asset::Business::set_source_id()

    • Bric::Biz::Asset::Business::get_source_id()

    • Bric::Biz::Asset::get_user_id()

    • Bric::Biz::Asset::Business::Media::get_category_id()

  • Fixed a compatibility issue in Bric::Dist::Action::DTDValidate. Apparently get_last_error() was removed from XML::LibXML 1.59 “for thread-safety reasons.” This change backward-compatible with older versions of XML::LibXML. [David]

Improvements

  • Added the is_republish() and is_first_publish() methods to Bric::Util::Burner. [David]

  • The CPAN module installer now relies on CPAN to determine if a module was successfully installed and is the proper version number, rather than doing that work itself. This addresses an issue when installing mod_perl modules, which would be installed properly but the installer would think that they weren't. [David]

  • Changed autocomplete category selection for stories so that if you have the FULL_SEARCH config directive turned on, you get wildcard matching to any part of the URI on your entered string, so typing “bar” will return “/bar” and “/foo/bart”. Enter “/” for a full list of categories. [Paul Orrock]

  • Added text beneath all buttons for desk items to make them more intuitive. [Sarah Mercier, Matt Rolf and Michael Herring]

  • Added more translations in German and Russian. [Alisa Gdalina]

  • Made “Delete this Profile” text more specific depending on location, such as “Delete this Story” or “Delete this Element Type”, etc. [Sarah Mercier and Matt Rolf]

  • Switched to passing parameters for Net::SSH2 authentication in Bric::Util::Trans::SFTP so that it will first try auth_password, and then follow up with auth_keyboard should the first fail (and will also try SSH keys if you happen to have that configured). [Alex Krohn]

  • Upgraded Prototype and Scriptaculous libraries to versions 1.6.0.3 and 1.8.2 respectively. [Rolf, Mercier, Herring]

  • Display a hint about subelements in the story view. This is especially important when they have no related stories or media and are not revealed, so that you can tell what each is! [David & Adrian Yee]

  • Workspaces, Desks, and debug messages validate again. [Matt Rolf]

  • Dragging container elements to the edge of the browser window will now scroll the page. Reported by Matt Rolf. [Sarah Mercier]

  • Factored the creation of a canonical URL for a request into a new method, < Bric::Util::ApacheReq-url >>. This removes a fair bit of duplicate code found here and there. [David]

  • Cover date is now required at the database level. It has always been required in the UI. [David]

  • Calls to log_event() are immediately logged when not running under mod_perl or bric_queued. This is so that events will now always be properly logged. [David]

  • Made the thumbnail format-guesser case-insensitive (e.g. .JPG or .PDF will also work now). [Scott]

  • Made the popup dialog for related stories/media a bit bigger. [Scott]

  • Added a throbber to category completion in New Story screen and the Story Profile. [Scott]

  • Added the “Bricolage events feed generator” (contrib/bric_events_rss) contrib application. Generates RSS output for all system events. [Greg Heo]

  • Renamed Makefile to Makefile.in and changed Makefile.PL so that it creates Makefile from Makefile.in. This is so that Makefile is no longer changed in-place, which could get annoying when doing development. [David]

  • Added mark_as_published() method to Bric::Biz::Asset::Business. This method marks a document as published but does not create jobs or resources and no templates will be executed. [Paul Orrock]

  • Added the timeout attribute to Bric::Dist::Client and the corresponding -t option to bric_dist_mon. [David]

  • Added the sql_type element to the export of field types from SOAP. This prevents the SOAP server from having to guess the SQL type of a field type when updating an element type. Thanks to David Oliveira for the report (Bug #79). [David]

  • Added a timestamp for data that bric_queued sends to its log. Thanks to Neal Sofge for the suggestion (Bug #41). [David]

  • Renamed the “Lock Val” checkbox in the media profile to “Autopopulate”. It is now checked by default, rather than unchecked. Uncheck it to prevent Bricolage from autopopulating values in the future. Thanks to Marshall for the suggestion (Bug #32). [David]

  • Changed “Click here to start” to “Start Bricolage” on the welcome page. Suggested by Chris Heiland and Czerny (Bug #42). [David]

  • When an asset drops off a desk or My Workspace (because it is checked in or moved to a different desk), and it's the last asset of its type (story, media, or template), the asset type label and sort menu will also drop off the desk or workspace. Thanks to Matt Rolf for the suggestion (Bug #69). [David]

  • Moved the “Cancel” and “Save” buttons in the contributor popup up from the bottom of the screen (it was below search results) to under the list of contributors currently associated with the story and above the search box. This makes it much easier to find the buttons when there are a lot of search results. Thanks to Scott for the report (Bug #84). [David]

Bug Fixes

  • Fixed a bug in the loading of WYSIWYG editor callback code in the Apache configuration. [John Durkin]

  • Uploading a media file to a related media element to create a new media document now Works properly when the related media element is a subelement. Reported by John Durkin (Bug #1364). [David]

  • Fixed a bug where an attempt to export a story via SOAP failed due to a bad method call. Reported by Denny de la Haye. [David]

  • Added a JavaScript call to confirm a delete action on Workspace and desk. Reported by Matt Rolf (Bug 1380). [Sarah Mercier]

  • Fixed problem with rendering of radio button fields (Bug #1387). Denny de la Haye]

  • Fixed Bric to load Bric::Config before anything else, which was causing problems on some systems. [Paul Orrock]

  • Fixed problem with Bric::SOAP so that the first field or container is correctly numbered at 0 rather than 2. [Paul Orrock]

  • Fix bug where a story imported through Bric::SOAP didn't have its object_order set properly so wouldn't preview through templates until saved in the UI (Bug # 1394 && Bug # 1397). [Paul Orrock]

  • Fixed up broken/non-compliant HTML on desks, search results and workspace. [Paul Orrock]

  • Improved the appearance of popup menus on desks. [Sarah Mercier and Matt Rolf]

  • In the story profile, the primary category now shows as a required field (Bug #1400). [Matt Rolf]

  • Re-labeled the Associations box the story and template profile (Bug #1414). [Matt Rolf]

  • Fixed the get_uri() method of Bric::Biz::Asset::Business::Media so that it URI escapes the media file name. [David]

  • Fixed bug when uploading a new media file to a related media element so that, when running under mod_perl 1, headers are properly sent I the content is sent. This should fix some of the issues with the related media popup window. [Adrian Yee]

  • The Add Element dropdown menu will now close on double click (Bug #1405). [Sarah Mercier and Matt Rolf]

  • The find stories/media/template advanced search toggle now works properly. (Bug #1426) [Sarah Mercier and Matt Rolf]

  • Fixed bug where IE7 couldn't open the sidenav. [Kahil Jallad]

  • Fixed bug where removing a subelement or custom field from an element type would result in an error when editing a story with one of those elements. [Bret Dawson]

  • Fixed typing error which caused the upgrade script to fail. [Darren Embry]

  • Deleting keywords from a category no longer causes an error. [Adrian Yee]

  • Fixed bug where new bulk edit button would cause submit error in IE7 because it didn't call the customSubmit() JavaScript function. [Kahil Jallad, Sarah Mercier]

  • Hitting the enter key now properly submits a search in the advanced search form (Bug #1425). [Bret Dawson]

  • Desks no longer have double pagination bars at the bottom (Bug #1439). [Matt Rolf]

  • Fixed a bug where deleting a checked out asset from My Workspace or the desk would still offer an Edit link in the search results. Reported by John Durkin and Matt Rolf (Bug #1388). [Greg Heo]

  • Fixed bug in inst/required.pl so it remembers what you're trying to install when telling you what's missing. Also added documentation to inst/htprobe_apache2.pl about not finding the apreq module. [Paul Orrock]

  • The help button no longer wipes unsaved values from pages when clicked (Bug #1386). [Sarah Mercier]

  • Added a check to inst/required.pl to check for a preforking Apache 2 rather than a threaded worker Apache 2. [Paul Orrock]

  • A newly created field with an underscore in its key name will no longer disappear as soon as you create it. Reported by Krzysztof Rudnik (Bug #1140). [David]

  • Documents no longer drop off the publish desk when a publish fails. Reported by Krzysztof Rudnik (Bug #1141). [David]

  • An error in the related media popup window no longer pulls in the side navigation, since it doesn't belong in the popup. Reported by Matt Rolf (Bug #1433). [David]

  • Adding a contributor to a media document when creating the media document from a related media popup no longer mysteriously closes the related media popup window. Thanks to John Durkin for the spot (Bug #1431). [David]

  • When creating a new media document via the related media popup, the popup window now closes in Camino and Safari once the media document has been created and saved, and in Safari it now properly updates the related media element with which it is newly associated. Reported by Matt Rolf (Bug #1432). [David]

  • Fixed a bug where, once child elements were added to or deleted from a container element, the container was prevented from being deleted until the page is refreshed. Reported by Matt Rolf (Bug #1392). [David]

  • The pagination links now work in the edit related popup window. Reported by Adam Wilson (Bug #1428). [David]

  • The “Related Story” popup now properly closes in Camino when a “relate” or “un-relate” link is clicked. [David]

  • A call to list() or lookup() in Bric::Util::Event with an “Offset” parameter but no “Limit” now works properly on MySQL. [David]

  • Fixed a misspelled method name (introduced in 1.11.1) that would've caused an unfriendly error message if the Cover Date was partially completed on the New Story screen. [Scott]

  • It was possible in the New Story screen, despite autocompletion, to enter a category with no trailing slash, like /foo/bar, which led to an error. This was fixed by making < Bric::Biz::Category-lookup >> (and list, list_ids) work by looking up with a uri not ending with a slash. [Scott]

  • Newer versions of Safari now properly handle the autocomplete form (Bug #1390). [Matt Rolf with much work by Sarah Mercier and Marshall Roch]

  • Fixed < Bric::Biz::Element::Field-get_max_length >> to correctly return the maximum length of a field. [Adrian Yee]

  • The user is now properly warned when a story type is not selected on story creation (Bug #1434). [Sarah Mercier]

  • Fixed bug in category autocompletion so that lookups of parent categories are now correctly site-specific. [Rolf Schaufelberger, Paul Orrock]

  • Fixed bulk edit bug where extra newlines after a =begin without a default value would result in an error. [Adrian Yee]

  • Checkboxes are no longer always displaying as checked (Bug #1452). [Scott]

  • Fixed the rendering of the jump links in the desk headers in IE6/7. [Adrian Yee]

  • Fixed Workspace link spacing and the opening/closing of the navigation in IE6. [Adrian Yee]

  • Fixed rendering issues with the action icons on the workspace/desk pages in IE6/7. [Adrian Yee]

  • All of the WYSIWYG editors (Xinha, htmlArea, FCKeditor, and JS-Quicktags) work again. Reported by John Durkin and Matt Rolf (Bug #1429). [David]

  • Made the Add keywords button (on the story and media profiles) not so huge in IE. [Adrian Yee]

  • Fixed JavaScript error with IE and the Check In/Move action icons on the workspace and desk pages. [Adrian Yee]

  • Fixed popup menu rendering issues in IE and Firefox. [Adrian Yee]

  • Fixed popup menu z-index issues on the workspace/desk pages in IE. [Adrian Yee]

  • Added a JavaScript fix for popup menu z-index issues that happened after re-ordering elements. [Adrian Yee]

  • Fixed the category autocomplete z-index issue in IE. [Adrian Yee]

  • Fixed bug where related media that failed to be thumbnailed caused the Story Profile to error out. Similarly fixed bug 1461 for Find Media (Bug #1458). [Scott]

  • Fixed issue where auto-completion was jumping around. Slightly modified from code by Jason Gill and Janos Novak (Bug #1460). [Scott]

  • Fixed IE6 rendering on the story profile where the textarea/inputs disappear when the page isn't wide enough. [Adrian Yee]

  • Fixed bug where expanding containers on the story profile page caused IE to hide the contents of the container after it's done expanding. [Adrian Yee]

  • Fixed bug with IE6 where elements could not be re-ordered using drag and drop. [Adrian Yee]

  • Fixed the horizontal scroll that was showing up in IE7 on the desk/workspace pages. [Adrian Yee]

  • Fixed issue where the Cancel button in Profiles wasn't working because of the fix for Bug #1343 (Bug #1455). [Scott]

  • Fixed issue where URLs weren't wrapping properly in IE (Bug #1464). [Adrian]

  • Fixed issue where the Checkout icon wasn't working on desks in IE (Bug #1466). [Scott]

  • Response error handling in Bric::Dist::Client, which is used by bric_dist_mon, now properly checks the error status before looking to see if the response is from a proper distribution handler URL. This makes it easier to see what problems there are in a failed response, rather than just bailing without any useful information. [David]

  • Fixed an IE6 CSS bug that caused the sideNav layer to be hidden if the mainContent layer wasn't tall enough to show it (Bug #88 / #1465) [Phillip Smith]

  • Fixed a bug introduced in 1.10.7 (and 1.11.1) where the get_uri() method, now properly URI-escaping itself, was breaking media distribution for media documents with spaces or other URI-escapeable characters in their file names. Thanks to Scott Lanning for the spot, and Aaron Fuleki for the kick to get it fixed (Bug #82 / #1456). [David]

  • Fixed compatibility issues on MySQL. Bricolage now sets sql_mode when it connects to the database, so that MySQL itself does not have to globally set that option, as it could cause conflicts with other apps running on MySQL. Also removed the attempt to set sql_mode globally at installation time; it was bad manners, really. Thanks to Waldo Jaquith for the report. [David]

  • Alert type rules can once again be deleted from the UI. Thanks to Scott for the report (Bug #81). [David]

  • Contributors can be deleted again. Thanks to Phillip for the report (Bug #111). [David]

  • Fixed odd positioning of the “Check-in” menu on /workflow/profile/workspace (Bug #89). [Phillip Smith]

  • Fixed the contributor association popup so that hitting the “Enter” key to perform a search no longer deletes contributors you've just added (Bug #112). [David]

  • Story, Media, and Template search now properly remember whether they're in advanced or simple mode when a an empty search is submitted and when the “Clear Values” button is clicked. Thanks to Matt Rolf for the report (Bug #74). [David]

  • The category autocompletion feature in the “New Story” profile now refuses to submit if a non-existent category has been typed in. If the user somehow manages to submit anyway, she'll be returned to the form with a message asking for a proper category name, rather than getting an error. Thanks to Scott for the report. [David]

  • Double-clicking an asset on a desk to check it into that desk no longer causes the asset to drop off the desk. It will only drop off if it's being checked into a different desk (Bug #97). [David]

blog comments powered by Disqus