Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 14, 2015
  1. @sunnavy

    return massaged address instead of empty if canonical user doesn't ha…

    sunnavy authored
    …ve email
    
    when user foo(foo@example.com) is merged into user bar(without email), if user
    send an email(from foo@example.com) to RT, we want RT to load user bar instead.
    But because RT::User::LoadByEmail calls RT::User::CanonicalizeEmailAddress,
    in previous version it actually loads first user that doesn't have email, which
    is wrong.
Commits on Jan 30, 2015
  1. Bump version for 1.02_01

    Kevin Falcone authored
  2. Include MergedUsers in the Asset List search

    Kevin Falcone authored
    Otherwise, you'll only find assets associated with the primary user id.
    Same problem that TicketList/ModifyWatcherSQL is solving.
  3. Upgrade Module::Install

    Kevin Falcone authored
Commits on Dec 18, 2014
  1. @alexmv

    Version 1.02 releng

    alexmv authored
  2. @alexmv

    Packaging updates

    alexmv authored
  3. @alexmv
  4. @alexmv
  5. @alexmv
  6. @alexmv

    Remove the one piece of developer POD

    alexmv authored
    Its position in the POD implies that "Next" is a UTILITY
Commits on Dec 1, 2014
  1. @alexmv

    Version 1.01 releng

    alexmv authored
  2. @alexmv

    Fix name of upgrading script

    alexmv authored
    Fixes rt.cpan.org #100635
Commits on Jun 20, 2014
  1. @alexmv

    Version 0.13 releng

    alexmv authored
Commits on Jun 19, 2014
  1. @alexmv
  2. Don't copy code from the original BeforeWipeout

    Jim Brandt authored
    Save the original and call it so MergeUsers will pick up any
    future changes to RT::User::BeforeWipeout.
Commits on Jun 17, 2014
  1. Override BeforeWipeout and unmerge users before shredding

    Jim Brandt authored
    If a user record has other users merged into it and they are
    not unmerged before shredding, the merged users are left in
    a state where they can't be loaded because they still point
    to another user (EffectiveId), but that id is no longer in the
    DB.
Commits on Jun 10, 2014
  1. Add docs for new cleaner script

    Jim Brandt authored
  2. Add script to clean out dangling attributes on merged users

    Jim Brandt authored
    When a user with another user merged into it is shredded,
    the attributes on that user are also shredded, but the
    merged user will remain, along with attributes that may point
    to the now missing user id. This script cleans up attributes
    if the merged-into user record is now gone.
  3. Confirm loading effective id, return original on failure

    Jim Brandt authored
    When running shredder to clean up users, the effective id
    for a merged ticket can be shredded. Add error checking
    when loading an effective id to detect this case. On
    failure, return the id of the current user id and warn
    that the user it was merged into is missing.
Commits on May 20, 2014
  1. newer Module::Install

    Kevin Falcone authored
  2. Core RT packages should not be indexed on CPAN

    Kevin Falcone authored
Commits on Mar 27, 2014
  1. @alexmv

    Version 0.12 releng

    alexmv authored
Commits on Feb 10, 2014
  1. @alexmv

    Bump version to 12_03

    alexmv authored
  2. @alexmv

    Clean up whitespace

    alexmv authored
  3. @alexmv

    Keep the Disabled bit synchronized between merged users

    alexmv authored
    Disabling a user did not disable all of the users merged into them.
    This caused users disabled users to apparently still appear via the web
    UI in user searches, as their merged-in (non-disabled) users often still
    matched the search.
    
    Explicitly propagate Disabled updates on users down into their merged-in
    equivalents.  Note that changes to sub-users do not propagate upward;
    loading them takes explicit effort, changing them could be more
    surpising action-at-a-distance, and introduces difficulties with dealing
    with cycles.
Commits on Feb 6, 2014
  1. @alexmv

    Bump version to 12_03

    alexmv authored
  2. @alexmv

    Reformat Changes

    alexmv authored
  3. @alexmv

    ->CanonicalizeEmailAddress may be a class method; don't assume $self

    alexmv authored
    0357340 switched several uses of $RT::SystemUser to $self->CurrentUser,
    on the basis that the current user should be propagated throughout,
    rather than fixed to the current user.  However, the change in
    CanonicalizeEmailAddress was overzealous, as that can be called as a
    class method.
    
    As the $canonical_user in this context is lexical, is not altered, and
    should not be ACL'd in any way, hardcoding the system user is correct;
    restore it.
Commits on Jan 27, 2014
  1. @alexmv
Commits on Jan 9, 2014
  1. @alexmv

    Avoid forcing the user to the current user

    alexmv authored
    This allows the Creator of the EffectiveId to serve as a signal as to who merged the users
Commits on Sep 24, 2013
  1. @alexmv

    Update inc/

    alexmv authored
Commits on Sep 10, 2013
  1. @ruz

    bump version, 0.11

    ruz authored
  2. @ruz

    update M::I

    ruz authored
Commits on Sep 5, 2013
  1. @ruz

    don't override _RecordCount

    ruz authored
    This caused not merged users at the end of the collection
    to be skipped.
    
    _RecordCount is used in SB's Next to stop the iterator.
    If we change return value, but don't change storage then
    iterator stops earlier.
Commits on Aug 2, 2013
  1. @tsibley

    Releng 0.10

    tsibley authored
Something went wrong with that request. Please try again.