[Rt-commit] rt branch, lcore, updated. eff84089cea534b09310615d082015cb4784ae4a

jesse jesse at bestpractical.com
Wed Oct 7 18:59:52 EDT 2009


The branch, lcore has been updated
       via  eff84089cea534b09310615d082015cb4784ae4a (commit)
       via  00313fa85167189c83b429014fce509c91d9a079 (commit)
       via  e503f4712d2d11a96744c72820d9d19d5d4eddf6 (commit)
       via  766db0356ef83099f935c1290d18e56a466024b6 (commit)
       via  16afa3cfe5f90c52697e8e61d7d1d348a02dd520 (commit)
       via  da10368ce727bb907c9b3fd2a8efedf554ad7a35 (commit)
      from  6c8687204dae3c7005482f55f8e54502db4558b7 (commit)

Summary of changes:
 lib/RT/Interface/Email/Auth/GnuPG.pm |    3 +-
 lib/RT/Lorzy/Package/RT.pm           |    6 +-
 lib/RT/Model/Ticket.pm               |    2 +-
 sbin/rt-test-dependencies            |  575 ----------------------------------
 share/html/Admin/Elements/QueueTabs  |    4 -
 share/html/Admin/Elements/SystemTabs |    4 -
 share/html/Admin/Global/Scrip.html   |   87 -----
 share/html/Admin/Global/Scrips.html  |   78 -----
 share/html/Admin/Global/index.html   |    5 -
 share/html/Admin/Queues/Modify.html  |    6 +-
 share/html/Admin/Queues/Scrip.html   |  100 ------
 share/html/Admin/Queues/Scrips.html  |   88 ------
 share/html/Elements/HeaderJavascript |   47 +---
 share/web/static/js/util.js          |   40 +++
 14 files changed, 52 insertions(+), 993 deletions(-)
 delete mode 100755 sbin/rt-test-dependencies
 delete mode 100755 share/html/Admin/Global/Scrip.html
 delete mode 100755 share/html/Admin/Global/Scrips.html
 delete mode 100755 share/html/Admin/Queues/Scrip.html
 delete mode 100755 share/html/Admin/Queues/Scrips.html

- Log -----------------------------------------------------------------
commit eff84089cea534b09310615d082015cb4784ae4a
Merge: 6c86872 00313fa
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Oct 7 18:59:31 2009 -0400

    Merge branch '3.999-trunk' into lcore
    
    * 3.999-trunk:
      Quiet more warnings
      warnings avoidance
      Remove the old scrips admin UI, now that scrips are dead
      removed the old dependency prober (now replaced by Makefile.PL)
      refactor a bit: move ReplaceAllTextareas to util.js

diff --cc lib/RT/Lorzy/Package/RT.pm
index 8b1304d,2f857f2..e084483
--- a/lib/RT/Lorzy/Package/RT.pm
+++ b/lib/RT/Lorzy/Package/RT.pm
@@@ -46,12 -41,13 +46,12 @@@ __PACKAGE__->lcore_defun( 'Condition.On
      },
  );
  
 -__PACKAGE__->defun( 'Condition.OnResolve',
 -    signature => $sig_ticket_txn,
 +__PACKAGE__->lcore_defun( 'Condition.OnResolve',
      native => sub {
          my $args = shift;
-         return $args->{transaction}->type eq 'status'
+         return ($args->{transaction}->type ||'') eq 'status'
              && ( $args->{transaction}->field || '' ) eq 'status'
-             && $args->{transaction}->new_value() eq 'resolved';
+             && ($args->{transaction}->new_value()||'') eq 'resolved';
      },
  );
  
@@@ -151,10 -142,11 +151,10 @@@ my %simple_txn_cond = ( 'OnCreate' => '
                      );
  
  for my $name ( keys %simple_txn_cond ) {
 -    __PACKAGE__->defun( "Condition.$name",
 -        signature => $sig_ticket_txn,
 +    __PACKAGE__->lcore_defun( "Condition.$name",
          native => sub {
              my $args = shift;
-             return $args->{transaction}->type eq $simple_txn_cond{$name};
+             return ($args->{transaction}->type||'') eq ($simple_txn_cond{$name} ||'');
          },
      );
  }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list