Bricolage 1.10.3 Changes

2007.08.10

Improvements

  • If Term::ReadPassword isn't found during installation, a better error message is displayed. [Scott]

  • Added output channel name to "Could not find template" error message in the Mason Burner. [Paul Orrock]

  • The contributed Linux start script (contrib/start_scripts/linux) now restarts the "bric_queued" server when the "restart" command is used and the "bric_queued" server is enabled. It also now also passes a log file name to "bric_queued" so that publishing errors can more easily be traced. [David]

  • Overriding Mason inheritance in story element templates by setting $inherit in the <%flags> block now works correctly. Thanks to Alexey Sheynuk for tracking down the issue. Reported by Ashlee Caul. [David]

  • Added start script for FreeBSD, contrib/start_scripts/freebsd. [David]

  • Updated the Portuguese localizations. [Pedro Custodio]

  • A story being published for the first time now has its "publish_status" set to true *before* it is published, instead of aftewards. This both prevents an exception when a template tries to save a story that has not been published before, and eliminates the need for templates to set the "publish_status" on a story before calling "publish_another()" for a another story that will search for the current story in the database. Reported by Rod Taylor (Ticket #1230). [David]

  • Related stories and media can no longer be added to container elements not based on related story and/or media element types. Reported by Marshall Roch (Ticket # 1231). [David]

  • When the ALWAYS_USE_SSL bricolage.conf directive is enabled, Bricolage now sets up the non-SSL port to permanently redirect to the SSL port. This prevents users from removing the "s" from "https" and thus being able to use Bricolage insecurely when their administrators don't want them to. Reported by Joe Pletcher (Ticket# 1233). [David]

  • Added "Autovacuum" section to Bric::DBA. The "autovacuum" settings in postgresql.conf are available in PostgreSQL 8.1 and later. [David]

  • Improved verbose output in contrib/bric_media_upload to include bric_soap commands in output. Also now uses /usr/bin/perl instead of /usr/local/bin/perl to be consistent with other scripts and bricolage core. [Paul Orrock]

  • Fixed an error message during inst/clone.pl where the wrong version was being displayed. [Scott]

  • Added make hot_copy, which will install a clone that uses hardlinks to the original installation for MASON_DATA_ROOT and MASON_COMP_ROOT. This is useful for forking a production install into a development install (on the same box) without duplicating all of your media files. Requires `cp` from GNU coreutils, so it will not work out of the box on BSD or OS X. [Marshall]

  • Removed extra call to Category->list during cloning. [Scott]

  • Added a --site option to bric_dev_sync to limit the templates and elements that are synchronized to one site. [Marshall]

  • Various minor notes tweaks, including the elimination of version 0 notes from the UI, and we no longer include the note from the previous version in the form for the new version. [David Beaudet]

  • Added optional sortby parameter to $story->get_secondary_categories to allow sorting by uri. Returns default order if not given. [Paul Orrock]

  • Fixed typo in 'Story' element type description. Reported (bug 1289) by Brad Harder. [Scott]

  • Several German localization patches from Steffen Schwigon and improved buttons from Rolf Schaufelberger.

  • Increased length of full names of categories to be 128 characters from 64 [Paul Orrock]

  • When saving from the Keyword Profile, the message 'Keyword profile Name saved.' was using the previous Name instead of the updated one. [Scott]

  • Made category browser show only categories in the same site as the story, fix for bug 1249. [Scott]

  • Fixed bug 1251, the list of Element Types when uploading a new media from a related media subelement is constrained to those in the current site. [Scott]

  • Added notes about PostgreSQL's genetic query optimizer and its hate for Bricolage queries to Bric::DBA. [David]

Bug Fixes

  • Fixed bug that resulted in an SQL error when trying to create a new contributor group. Reported by Joe Pletcher. [David]

  • Fixed some foreign key constraints in the "story_instance" and "template_instance" tables that improperly have "ON DELETE SET NULL" clauses on "NOT NULL" columns. Reported by Andrei Arsu. [David]

  • The "Trail" link in the template profile works again. Spotted by Marshall. [David]

  • If run as root, make clone now chowns the inst directory to the PostgreSQL user before becoming the PostgreSQL user, so that the user has permission to create the inst/Pg.sql file. [David]

  • make clone no longer runs distclean, and therefore no longer deletes inst/Pg.sql. It also creates the new Pg.sql in the new distribution directory, instead of replacing the existing Pg.sql. [David]

  • Deleting categories via SOAP works again. Reported by Brad Harder. [David]

  • Fixed loading of deprecated classes so that older templates that still use them will continue to work. [David]

  • Removed Teaser field from the story search interface, since there is no such field, and so it did nothing, anyway. [David]

  • Publishing media documents that have had new files uploaded to them no longer causes a publish failure. Reported by Christian Niles and numerous others. [David]

  • Added even more code to the inst/upgrade/1.8.9/fix_publish_status.pl upgrade script to better cover the possible variations in publish status inaccuracies. [Alex Howarth, David]

  • The "Document Type/Output Channel" selection in the "Default Asset Sort" no longer breaks things. [David]

  • Contributors with no more than the default role, "DEFAULT", who are associated with a story or media document, are once again correctly associated via the role. Reported by Chris Schults. [David]

  • Checkin and Shelve works again in the story profile. Reported by Chris Heiland (Ticket # 1237). [David]

  • Fixed a script that upgrades to 1.9.1 to better copy over default values for field types from the 1.8 schema. Those who have already upgraded to check to make sure that any default values you had for custom fields in 1.8 are still present in 1.10.x. Anyone who has yet to upgrade to 1.10.x will now have their default values properly copied to the new schema when they do decide to upgrade. Reported by Chris Schults (Ticket # 1239). [David]

  • Story and media subelements are once again properly deleted from within their profiles when the "Delete this Profile" checkbox is checked and either the "Save" or the "Save and Stay" button is pressed. Reported by Chris Schults (Ticket #1240). [David]

  • Searches by URI for media to relate to a document now properly remember the search results the next time the related media search page is loaded. Reported by Chris Schults (Ticket # 1241). [David]

  • make dev no longer supports the single installation mode, since it will wipe out all of /usr/local/lib and /usr/local/bin. Reported by Christian Muise (Ticket # 1246). [David]

  • The search interface for paginated searches no longer gets stuck when the alpha search preference is enabled. Reported by Neal Sofge (Ticket # 1247). [David]

  • Fixed contrib/bric_media_upload so that it works with 1.10 categories and XML elements. [David, Paul Orrock, and George Harrison]

  • Bricolage now assumes that template files uploaded in the template profile are encoded in UTF-8, since the same is assumed for templates pasted into the form field. [David]

  • Fixed resource deletion code in Bric::DBA to properly use booleans for boolean columns. Reported by John Greene. [David]

  • Eliminated Use of uninitialized value in substitution (s///) warning for stories with no slug and a URI format with %{slug} in it. Reported by Wayne Slavin. [David]

  • bric_soap no longer prompts for a password if you use --use-cookie-file. Reported by Paul Orrock. [Scott]

  • bin files should no longer be put under the default site script directory (compensates for an ExtUtils::MakeMaker change). [Scott]

  • When a media document gets a new file uploaded with the same name as the previously published file in that same media document, Bricolage will no longer expire the new file right after publishing it. Reported by Chris Schults and others. [David]

  • The delete checkbox and menu to move an asset to another desk no longer appear for assets listed on a desk that are checked out to a different user. [David Beaudet]

  • Fixed bugs in bric_dev_sync resulting from the renaming of Elements to Element Types. [Marshall]

  • Fixed an apparently old bug with editing keywords in the Category Profile, where you couldn't Save if there were exactly 3 keywords. [Scott]

  • Fixed pasto in Bric::Util::Trans::SFTP that should have prevented it from ever working, but somehow did not. [David P. Beaudet]

  • Fixed the datetime-handling regex in Bric::Util::Time's "datetime" function, introduced in version 1.9.0. It was failing on datetimes that end with 'Z' (c.f. ISO 8601). [Scott]

  • Fixed bug 1258, where MIME types weren't being recognized. [Bret Dawson]

  • Fixed bug 1283, allowing <= in Alerts. [Brad Fox]

  • Fixed pasto causing Can't locate object method 'get_grp_ids' via package 'id' error in Element Profile. Reported by Matt Rolf. [Scott]

  • When adding subelements to an ElementType profile, subelements that have already been added are no longer listed. Reported by Phillip Smith in bug 1253. [Scott]

  • Stopped the upgrade script inst/upgrade/1.9.1/delete_old_stuff.pl from incorrectly deleting lib/Bric/App/Callback/Profile/ElementType.pm, which is still in use. If you've upgraded from before 1.9.1, you'll have to copy that file from the distribution source. [Scott]

  • Changing the category of a media object now calls a preview of the asset if AUTO_PREVIEW_MEDIA is turned on. [Paul Orrock]

  • For bug 1267, remove protocol+hostname+port from a login URL in order to allow reverse proxying to work in Apache2. [Steffen Schwigon]

  • Fixed contributor type creation (bug 1299). [Greg Heo]

blog comments powered by Disqus