Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 6, 2011
  1. @theory
  2. @theory

    Merge pull request #28 from dse/dev_amazon_s3

    theory authored
    Add Amazon S3 Mover. Thanks to John Durkin and Darren Embry.
Commits on Aug 5, 2011
  1. @theory
  2. @theory

    Add test for new `assets_count()` method.

    theory authored
    Will be used to provide counts of assets on desks in the UI.
  3. @theory
Commits on Jul 26, 2011
  1. @gregheo
Commits on Jul 15, 2011
  1. @dse

    Add a stub test for the S3 mover.

    dse authored
Commits on May 11, 2011
  1. @gregheo @theory

    Fix overzealous escaping for localization.

    gregheo authored theory committed
    Per Locale::Maketext docs, commas only need to be escaped when inside
    bracket notation.
    [#245 state:resolved]
Commits on May 9, 2011
  1. @gregheo @theory

    Add `expired` parameter to Story and Media search

    gregheo authored theory committed
Commits on Apr 5, 2011
  1. @theory
Commits on Dec 9, 2010
  1. @theory
  2. @theory

    Make more story attributes versioned.

    theory authored
    Namely `priority`, `expire_date`, and `primary_uri`. Will do some more
    for media and template attributes in a bit. [#185 state:resolved]
Commits on Dec 2, 2010
  1. @theory

    Don't update publish status on publish failure.

    theory authored
    Or, more specifically, revert it to what it was before. If a story hasn't been
    published before, then on publish failure the publish status will be false and
    the publish date and first publishd date will be `undef`. If it *has* been
    published before, then the publish date will not be udpated. This has been an
    issue for a long time, so I'll backpatch all the way to 1.10.x.
    [#200 state:resolved]
Commits on Nov 22, 2010
  1. @theory
Commits on Jul 7, 2010
  1. @theory
Commits on Jul 6, 2010
  1. @theory

    Refactor Bric::Util::Trans::SFTP.

    theory authored
    It was a bit of a mess. Much of the code was unnecessary, dating from before
    2.0 when it used Net::SFTP instead of Net::SSH2. As a result, the error
    handling was all wrong.
    While at it, remove the file name escaping, as with newer versions of
    Net::SSH2 at least (or perhaps newer versions of libssh2), it was leaving the
    backslashes in the file names on the destination server. So bump up the
    minimum version of Net::SSH2.
    For sanity, also add tests to make sure that Net::Util::Trans::SFTP and
    Net::Util::Trans::SFTP compile and have apprpropriate interfaces.
Commits on May 7, 2010
  1. @theory

    Add "object" date format.

    theory authored
    This is so that one can easily get a DateTime object for a date value,
    rather than a string.
Commits on Apr 12, 2010
  1. @theory

    Fix Bric::Util::ApacheReq test failures.

    theory authored
    Fixe 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
Commits on Mar 26, 2010
  1. @theory

    Add text for Pod links in Bric::Admin.

    theory authored
    Also updated the tests to require Test::Pod 1.42, which explicitly supports
    that syntax.
Commits on Nov 14, 2009
  1. @theory
Commits on Nov 13, 2009
  1. @theory

    Account for inappropriate LDAP Auth

    theory authored
    Needed for blank passwords. [#103 state:resolved]
Commits on Nov 11, 2009
  1. @theory

    Paginated results in the element type manager no longer lose top-leve…

    theory authored
    …l element
    type results when clicking the links for subsequent pages. Fixed by preventing
    the list() method of Bric::Biz::ElementType from modifying the parameter hash
    passed to it, as the modification was persisting in the list manager's state.
    Thanks to Aaron Fuleki for the report and for making the Denison available to
    diagnose the problem. Forward-ported from rev_1_10.
Commits on Nov 5, 2009
  1. @theory

    Fix failing MySQL tests

    theory authored
    I tried for hours to reduce this to a simple regression, and failed. The
    problem is that, during the tests, sometimes MySQL doesn't consider a date
    with .00000 microseconds to be the same as without the .000000 when used in
    the first part of a BETWEEN query. No idea WTF that's about, so work around it
    by simply dropping the first date back a second in the tests.
Commits on Nov 3, 2009
  1. @theory

    Passing a false value for the C<published_version> parameter to the C…

    theory authored
    method of Bric::Biz::Asset::Business::Story, Bric::Biz::Asset::Business::Media,
    and Bric::Biz::Asset::Template now works as expected, returning the latest
    version of all stories regardless of their publish status, rather than no
    stories at all (Bug #1).
  2. @theory

    Added test for `published_version`.

    theory authored
    It seems to work, despite what I reported in Ticket #77.
Commits on Oct 17, 2009
  1. @theory

    Fixed Bug #82, where files with spaces weren't properly distributed.

    theory authored
    * Added `unescape_uri()` to Bric::Util::ApacheUtil.
    * Updated the various URI-processing methods in Bric::Util::Trans::FS
      to properly escape or unescape URIs as appropriate.
    * Wrote tests for the URI-processing methods in Bric::Util::Trans::FS.
    * Fixed `PREVIEW_LOCAL` block in Bric::Util::Burner to convert a URI to a
      directory with the improved `uri_to_dir()` method in Bric::Util::Trans::FS.
    * Updated the distribution movers (FS, FTP, and SFTP) to convert from URIs
      to file-system paths. Left WebDAV alone, since it should actually use URIs.
Commits on Aug 31, 2009
  1. @theory

    Fixed a bug in find_or_create_alternate()

    theory authored
    Fixed a bug in `find_or_create_alternate()` where an element type is passed
    with a different setting for its `top_level` attribute than is the value of
    the `top_level` attribute of the original image's element type. This caused
    problems because it looked for an existing image using the wrong URI. So I
    hacked in a workaround to fool the current image into using the alternat's
    element type when determining the URI, so that the URI should always be the
    same. I ran into this in production for The Tyee, where editors were trying to
    create non-fixed thumbnails for fixed images. This caused some pretty serious
    indigestion. The workaround is a bit of a hack, but it's clean and works well.
    I updated the test suite to replicate the issue before patching, so we do have
    a proper regression test for the issue.
Commits on Aug 28, 2009
  1. @theory
Commits on Aug 19, 2009
  1. @theory

    Refactor mark_as_published()

    theory authored
    I updated the docs for the new `mark_as_published()` method in
    `Bric::Biz::Asset::Business`, removing some invalid notes, adding some valid
    notes, and fixing some grammar nits. I also removed the call to `save()` at
    the end of the method, because no method should call `save()`; the user should
    always call it implicitly. I also changed the method so that it simply returns
    if the document is already marked as published, as there is no point in
    updating the publish date in this context. And finally, I added some tests
    for the new method.
Commits on May 13, 2009
  1. @theory

    Converted all POD `=head` headers to proper case, rather than uppercase.

    theory authored
    Signed-off-by: David E. Wheeler <>
Commits on May 11, 2009
  1. @theory

    Replaced all tabs with four spaces.

    theory authored
    Signed-off-by: David E. Wheeler <>
Commits on Apr 28, 2009
  1. @theory

    Merge branch 'rev_1_10'

    theory authored
  2. @theory
  3. @theory

    Merge branch 'rev_1_10'

    theory authored
Commits on Mar 26, 2009
  1. @brewt
Something went wrong with that request. Please try again.