Permalink
Commits on Sep 9, 2016
  1. 3.00 releng

    sartak committed Sep 9, 2016
Commits on Sep 8, 2016
  1. Prep for version 3.00

    dgx committed Sep 8, 2016
  2. remove error for unknown commands and add config setting $CommandByMa…

    dgx committed Aug 12, 2016
    …ilErrorOnUnknown to restore default behavior
Commits on Aug 3, 2016
  1. Prep for 2.03 release

    cbrandtbuffalo committed Aug 3, 2016
Commits on Jul 21, 2016
  1. Prep for 2.02 release

    cbrandtbuffalo committed Jul 21, 2016
Commits on Jul 14, 2016
  1. Explicitly decode all values extracted from MIME headers

    alexmv committed Jul 14, 2016
    RT normalizes all headers to be in UTF-8, and requires that all
    consumes explicitly decode them into characters if they wish to treat
    them as characters; see 41d084f1 in RT.
    
    In both locations which directly access `->head->get()` or equivalent,
    decode the header value.
  2. Switch from "use utf8" to explicit decode(), for clarity

    alexmv committed Jul 14, 2016
    Use of "use utf8" requires that the programmer constantly be aware
    that string literals may be treated with character semantics, instead
    of byte semantics, depending on lexical scope.  Make clear that the
    return of ->Subject contains characters, not bytes, by leaving them as
    bytes in the literal, and explicitly decoding them.
    
    See 7548587b in RT.
  3. Pass encoded headers as they will be ingested, MIME-encoded

    alexmv committed Jul 14, 2016
    The "Subject" header, if it contains UTF-8 characters, will be passed
    in MIME-encoded.  Switch the test to injecting the email with the
    header so encoded.
    
    The test fails under Postgres, showing signs of double-encoding.  It
    passes on MySQL and SQLite, due to more lax character/byte semantics.
Commits on Jul 13, 2016
  1. Add a test with umlauts in the subject

    cbrandtbuffalo committed Jul 13, 2016
    Ticket #115654 in rt.cpan.org reported subjects with umlauts
    getting mangled on create with CommandByMail. Add a simple test
    case. It passes, so waiting more details to potentially create
    a failing test case.
  2. Add option to defer email handling to RT

    cbrandtbuffalo committed Jul 13, 2016
    There are cases where CommandByMail wants to defer email processing,
    for example when a user is not in the defined CommandByMailGroup.
    Previous versions handled this by returning to RT. Provide a similar
    path for RT 4.4 to pass processing back to the default RT path.
Commits on Jun 2, 2016
Commits on Apr 11, 2016
  1. Prep for version 2.01

    cbrandtbuffalo committed Apr 11, 2016
  2. Recreate ParseCcAddressesFromHead for local usage

    cbrandtbuffalo committed Apr 11, 2016
    ParseCcAddressesFromHead previously was provided in RT
    but was removed in the refactoring for the new email
    plugin model. It's still useful in the context of new email
    processing here, specifically when ParseNewMessageForTicketCcs
    is set, so recreate a version locally.
Commits on Apr 8, 2016
Commits on Apr 6, 2016
  1. Update changes

    cbrandtbuffalo committed Apr 6, 2016
  2. Clarify header parsing features

    cbrandtbuffalo committed Apr 6, 2016
    The previous documentation implied that the extension looked
    equally at headers and the email body for possible commands
    to process. However, the extent of header parsing is scoped to
    defining a specific header and then toggling whether you want the
    email body to also be parsed or not when using that header. This
    commit clarifies the functionality.
Commits on Apr 5, 2016
Commits on Mar 29, 2016
  1. Update Module::Install

    cbrandtbuffalo committed Mar 29, 2016
  2. Add Handle* methods for compatibility with RT 4.4

    cbrandtbuffalo committed Mar 29, 2016
    Email plugin handling for RT 4.4 was refactored, providing
    new HandleAction hooks rather than including all functionality
    in GetCurrentUser. Create a new Action module and provide
    Handle methods for the standard comment and correspond actions
    to allow users to upgrade in place.
    
    The updates allow the code to run for both RT 4.2 and
    4.4 with minimal duplication. However the code is in a new
    module, so users will need to update their RT_SiteConfig.pm.
Commits on Mar 28, 2016
  1. Initial refactor to prepare for 4.4 compatibility

    cbrandtbuffalo committed Mar 28, 2016
    Move the main functionality for processing commands into
    the main CommandByMail module to make it accessible for
    new Handle* hooks to be added for RT 4.4 compatibility.
Commits on Dec 15, 2014
  1. Version 1.00 releng

    alexmv committed Dec 15, 2014
Commits on Jun 26, 2014
  1. Update version for 0.17

    jibsheet committed Jun 26, 2014
  2. Two pod burps going pod->text for the README

    jibsheet committed Jun 25, 2014
    Stop quoting everything that is in C<> (we should fold this into
    Module::Install::RTx and then we can clean up this Makefile.PL)
    
    Restructure the BUGS section so that long long L<>s can't wrap, although
    this adds a lot of whitespace.  This (or some similar variant) belongs
    in Dist::Zill::MintingProfile::RTx.
  3. Upgrade Module::Install::RTx

    jibsheet committed Jun 25, 2014
  4. Move tests to be author test

    jibsheet committed Jun 25, 2014