[Bps-public-commit] rt-extension-timetracking branch, master, updated. c0138a7f26d97c3172259a8f0432bd62ecfbbc57

Jim Brandt jbrandt at bestpractical.com
Mon Mar 21 09:56:39 EDT 2016


The branch, master has been updated
       via  c0138a7f26d97c3172259a8f0432bd62ecfbbc57 (commit)
       via  a4a0ad5d72cb9f558bc8ba0cf5019f8fe0ae4048 (commit)
       via  528fb99e6693dd7d7c367a551a86c3af71f33e3d (commit)
       via  892488fb6fb3291c266d28735237b69a7b3c0c39 (commit)
       via  7fedeb2dc7760968068f50e3dfe2a6a0183f27ef (commit)
      from  010050a4785590780083b84319fbee655c741a75 (commit)

Summary of changes:
 Changes                                   |  10 +++
 MANIFEST                                  |   3 +
 META.yml                                  |   5 +-
 Makefile.PL                               |   3 +-
 README                                    |  94 +++++++++++++++++++++++--
 doc/images/timetracking_basics.png        | Bin 0 -> 39655 bytes
 doc/images/timetracking_my_week.png       | Bin 0 -> 94443 bytes
 doc/images/timetracking_my_week_admin.png | Bin 0 -> 80906 bytes
 inc/Module/AutoInstall.pm                 |   4 +-
 inc/Module/Install.pm                     |   2 +-
 inc/Module/Install/AutoInstall.pm         |   2 +-
 inc/Module/Install/Base.pm                |   2 +-
 inc/Module/Install/Can.pm                 |   2 +-
 inc/Module/Install/Fetch.pm               |   2 +-
 inc/Module/Install/Include.pm             |   2 +-
 inc/Module/Install/Makefile.pm            |   2 +-
 inc/Module/Install/Metadata.pm            |   2 +-
 inc/Module/Install/RTx.pm                 |  27 +++++++-
 inc/Module/Install/Win32.pm               |   2 +-
 inc/Module/Install/WriteAll.pm            |   2 +-
 inc/YAML/Tiny.pm                          |   9 ++-
 lib/RT/Extension/TimeTracking.pm          | 111 ++++++++++++++++++++++++++++--
 22 files changed, 252 insertions(+), 34 deletions(-)
 create mode 100644 doc/images/timetracking_basics.png
 create mode 100644 doc/images/timetracking_my_week.png
 create mode 100644 doc/images/timetracking_my_week_admin.png

- Log -----------------------------------------------------------------
commit 7fedeb2dc7760968068f50e3dfe2a6a0183f27ef
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Feb 16 15:08:30 2016 -0500

    Update Module::Install

diff --git a/inc/Module/AutoInstall.pm b/inc/Module/AutoInstall.pm
index cd93d14..22dfa82 100644
--- a/inc/Module/AutoInstall.pm
+++ b/inc/Module/AutoInstall.pm
@@ -8,7 +8,7 @@ use ExtUtils::MakeMaker ();
 
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 }
 
 # special map on pre-defined feature sets
@@ -537,7 +537,7 @@ sub _install_cpan {
     while ( my ( $opt, $arg ) = splice( @config, 0, 2 ) ) {
         ( $args{$opt} = $arg, next )
           if $opt =~ /^(?:force|notest)$/;    # pseudo-option
-        $CPAN::Config->{$opt} = $arg;
+        $CPAN::Config->{$opt} = $opt eq 'urllist' ? [$arg] : $arg;
     }
 
     if ($args{notest} && (not CPAN::Shell->can('notest'))) {
diff --git a/inc/Module/Install.pm b/inc/Module/Install.pm
index ff767fa..f44ab4d 100644
--- a/inc/Module/Install.pm
+++ b/inc/Module/Install.pm
@@ -31,7 +31,7 @@ BEGIN {
 	# This is not enforced yet, but will be some time in the next few
 	# releases once we can make sure it won't clash with custom
 	# Module::Install extensions.
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 
 	# Storage for the pseudo-singleton
 	$MAIN    = undef;
diff --git a/inc/Module/Install/AutoInstall.pm b/inc/Module/Install/AutoInstall.pm
index 475303e..e19d259 100644
--- a/inc/Module/Install/AutoInstall.pm
+++ b/inc/Module/Install/AutoInstall.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Base.pm b/inc/Module/Install/Base.pm
index 4206347..5762a74 100644
--- a/inc/Module/Install/Base.pm
+++ b/inc/Module/Install/Base.pm
@@ -4,7 +4,7 @@ package Module::Install::Base;
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 }
 
 # Suspend handler for "redefined" warnings
diff --git a/inc/Module/Install/Can.pm b/inc/Module/Install/Can.pm
index 9929b1b..d859276 100644
--- a/inc/Module/Install/Can.pm
+++ b/inc/Module/Install/Can.pm
@@ -8,7 +8,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Fetch.pm b/inc/Module/Install/Fetch.pm
index 3d8de76..41d3517 100644
--- a/inc/Module/Install/Fetch.pm
+++ b/inc/Module/Install/Fetch.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Include.pm b/inc/Module/Install/Include.pm
index f274f87..2eb1d1f 100644
--- a/inc/Module/Install/Include.pm
+++ b/inc/Module/Install/Include.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm
index 66993af..e9918d2 100644
--- a/inc/Module/Install/Makefile.pm
+++ b/inc/Module/Install/Makefile.pm
@@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/;
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/Metadata.pm b/inc/Module/Install/Metadata.pm
index e547fa0..9792685 100644
--- a/inc/Module/Install/Metadata.pm
+++ b/inc/Module/Install/Metadata.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index 97acf77..cb4cfde 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -37,6 +37,13 @@ sub RTx {
     }
     $self->add_metadata("x_module_install_rtx_version", $VERSION );
 
+    my $installdirs = $ENV{INSTALLDIRS};
+    for ( @ARGV ) {
+        if ( /INSTALLDIRS=(.*)/ ) {
+            $installdirs = $1;
+        }
+    }
+
     # Try to find RT.pm
     my @prefixes = qw( /opt /usr/local /home /usr /sw /usr/share/request-tracker4);
     $ENV{RTHOME} =~ s{/RT\.pm$}{} if defined $ENV{RTHOME};
@@ -71,7 +78,13 @@ sub RTx {
 
     # Installation locations
     my %path;
-    $path{$_} = $RT::LocalPluginPath . "/$name/$_"
+    my $plugin_path;
+    if ( $installdirs && $installdirs eq 'vendor' ) {
+        $plugin_path = $RT::PluginPath;
+    } else {
+        $plugin_path = $RT::LocalPluginPath;
+    }
+    $path{$_} = $plugin_path . "/$name/$_"
         foreach @DIRS;
 
     # Copy RT 4.2.0 static files into NoAuth; insufficient for
@@ -85,7 +98,7 @@ sub RTx {
     my %index = map { $_ => 1 } @INDEX_DIRS;
     $self->no_index( directory => $_ ) foreach grep !$index{$_}, @DIRS;
 
-    my $args = join ', ', map "q($_)", map { ($_, $path{$_}) }
+    my $args = join ', ', map "q($_)", map { ($_, "\$(DESTDIR)$path{$_}") }
         sort keys %path;
 
     printf "%-10s => %s\n", $_, $path{$_} for sort keys %path;
@@ -131,6 +144,7 @@ install ::
     if ( $path{lib} ) {
         $self->makemaker_args( INSTALLSITELIB => $path{'lib'} );
         $self->makemaker_args( INSTALLARCHLIB => $path{'lib'} );
+        $self->makemaker_args( INSTALLVENDORLIB => $path{'lib'} )
     } else {
         $self->makemaker_args( PM => { "" => "" }, );
     }
@@ -139,6 +153,13 @@ install ::
     $self->makemaker_args( INSTALLSITEMAN3DIR => "$RT::LocalPath/man/man3" );
     $self->makemaker_args( INSTALLSITEARCH => "$RT::LocalPath/man" );
 
+    # INSTALLDIRS=vendor should install manpages into /usr/share/man.
+    # That is the default path in most distributions. Need input from
+    # Redhat, Centos etc.
+    $self->makemaker_args( INSTALLVENDORMAN1DIR => "/usr/share/man/man1" );
+    $self->makemaker_args( INSTALLVENDORMAN3DIR => "/usr/share/man/man3" );
+    $self->makemaker_args( INSTALLVENDORARCH => "/usr/share/man" );
+
     if (%has_etc) {
         print "For first-time installation, type 'make initdb'.\n";
         my $initdb = '';
@@ -258,4 +279,4 @@ sub _load_rt_handle {
 
 __END__
 
-#line 390
+#line 428
diff --git a/inc/Module/Install/Win32.pm b/inc/Module/Install/Win32.pm
index 9706e5f..218a66b 100644
--- a/inc/Module/Install/Win32.pm
+++ b/inc/Module/Install/Win32.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
diff --git a/inc/Module/Install/WriteAll.pm b/inc/Module/Install/WriteAll.pm
index dbedc00..530749b 100644
--- a/inc/Module/Install/WriteAll.pm
+++ b/inc/Module/Install/WriteAll.pm
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.14';
+	$VERSION = '1.16';
 	@ISA     = qw{Module::Install::Base};
 	$ISCORE  = 1;
 }
diff --git a/inc/YAML/Tiny.pm b/inc/YAML/Tiny.pm
index 8da7cd1..aa539f7 100644
--- a/inc/YAML/Tiny.pm
+++ b/inc/YAML/Tiny.pm
@@ -2,13 +2,12 @@
 use 5.008001; # sane UTF-8 support
 use strict;
 use warnings;
-package YAML::Tiny;
-# git description: v1.63-12-g5dd832a
-$YAML::Tiny::VERSION = '1.64';
+package YAML::Tiny; # git description: v1.68-2-gcc5324e
 # XXX-INGY is 5.8.1 too old/broken for utf8?
 # XXX-XDG Lancaster consensus was that it was sufficient until
 # proven otherwise
 
+our $VERSION = '1.69';
 
 #####################################################################
 # The YAML::Tiny API.
@@ -514,7 +513,7 @@ sub _load_hash {
         }
 
         if ( exists $hash->{$key} ) {
-            die \"YAML::Tiny found a duplicate key '$key' in line '$lines->[0]'";
+            warn "YAML::Tiny found a duplicate key '$key' in line '$lines->[0]'";
         }
 
         # Do we have a value?
@@ -872,4 +871,4 @@ delete $YAML::Tiny::{refaddr};
 
 __END__
 
-#line 1490
+#line 1489

commit 892488fb6fb3291c266d28735237b69a7b3c0c39
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Mar 11 10:04:21 2016 -0500

    Add documentation and update version

diff --git a/Changes b/Changes
index 8311413..9ed813e 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for RT-Extension-TimeTracking
 
+0.06 2016-03-11
+ - Public release to CPAN.
+ - Documentation updates.
+
 0.05 2015-04-15
  - Updated layout for "My Week" page
  - Stop grouping "My Week" results by ticket id
diff --git a/README b/README
index 0515aa6..298c871 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
     RT-Extension-TimeTracking - Time Tracking Extension
 
 RT VERSION
-    Works with RT 4.2
+    Works with RT 4.2, 4.4
 
 INSTALLATION
     perl Makefile.PL
@@ -34,6 +34,86 @@ INSTALLATION
 
     Restart your webserver
 
+  Configure Custom Fields
+    This extension installs two transaction custom fields to track time
+    data: Actor and Worked Date. Since the visibility of these fields is
+    very specific to your usage, no permissions are set during the install.
+
+    You need to give all users tracking time permission to view and modify
+    these custom fields. You can do this using RT's standard rights
+    management by navigating to the custom fields: Admin > Custom Fields >
+    Select, clicking on each one, and editing the Group Rights. You can then
+    give rights to Everyone, a custom group, or any other variation that
+    makes sense for your instance.
+
+    If permissions are not set correctly on these custom fields, you will
+    see strange behavior like all time being recorded on the current day
+    rather than the date you select.
+
+DESCRIPTION
+    RT::Extension::TimeTracking adds several features to make it easier to
+    use RT to track time for you and your team as you work on tasks. These
+    features include breakdowns of time by user on tickets, tracking time
+    for specific days, including in the past, and a new page that organizes
+    all of your time for the past week. You can find details on
+    configuration in the next section.
+
+  Entering Time
+    When running this extension, you can still use all of the existing
+    methods to track time in RT including editing Basics, adding time on a
+    comment or reply, or even using the new ticket timer introduced in RT
+    4.4. All of these will record the time and log it with a transaction at
+    the current day and time.
+
+    The TimeTracking extension adds a new feature to track a "Worked Date"
+    for cases where you forgot to enter your time for work you did earlier
+    in the week. For these cases, you'll see a new date field in Basics
+    where you can select a date and time worked and add it directly to the
+    ticket. You'll also see Worked Date on replies and comments to track to
+    a different day from the day you are recording the comment.
+
+    TimeTracking also installs a new page at Tools > My Week. This shows a
+    summary of all of your time tracked for the week by day. In addition to
+    showing you your week, you can track time directly on the page as well
+    for whichever day you need to. You can add new tickets and time below
+    each day using the ticket box. The Ticket selection box has autocomplete
+    functionality, so you can just start typing something from the subject
+    of a ticket to find it. And you can update tickets already in your list
+    with the boxes in the Update column.
+
+    The total hours for the week are displayed at the bottom of the page.
+
+   Fixing Mistakes
+    If you accidentally add time for the wrong day or ticket, you can
+    subtract it by entering a negative value on the ticket for that day.
+
+  Time Summary on Tickets
+    On individual tickets, in addition to seeing the Add time worked boxes
+    in Basics, this extension also adds a Worked section with a summary of
+    the total time worked per user on that ticket.
+
+  Viewing Other Weeks on My Week
+    You can view other weeks on My Week by selecting any day in the desired
+    week using the date picker at the top of the page. You can also use the
+    Previous and Next links to move from week to week.
+
+  Administrative View
+    TimeTracking adds a right to allow some users to see the My Week page
+    for other users and enter time for them. The right is in Admin > Global
+    > Group Rights on the Rights for Administrators tab. It's labelled "Add
+    time worked for other users" and should be at the top of the tab.
+
+    Once you have this right, you'll see an addition selection box at the
+    top of the My Week page for selecting a user. You can then use the
+    autocomplete box to find another user and display their timesheet.
+
+    This allows managers or similar staff to see timesheets for their team
+    and also add time if another user is out of the office sick or otherwise
+    can't add time themselves. All entries made by an admin user on another
+    user's timesheet are recorded as entered by the admin user using the
+    Actor custom field. This keeps an audit trail to avoid confusion over
+    who may have added a time entry.
+
 CONFIGURATION
   $TimeTrackingFirstDayOfWeek
     The default week start day in MyWeek page is Monday, you can change it
@@ -70,12 +150,16 @@ AUTHOR
     Best Practical Solutions, LLC <modules at bestpractical.com>
 
 BUGS
-    Since this module is not on CPAN, bugs should be reported via
-    <modules at bestpractical.com>, or via standard BPS support contract
-    channels.
+    All bugs should be reported via email to:
+    bug-RT-Extension-TimeTracking at rt.cpan.org
+    <mailto:bug-RT-Extension-TimeTracking at rt.cpan.org>
+
+    Or via the web at: rt.cpan.org
+    <http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-TimeTrack
+    ing>.
 
 COPYRIGHT
-    This extension is Copyright (C) 2013-2015 Best Practical Solutions, LLC.
+    This extension is Copyright (C) 2013-2016 Best Practical Solutions, LLC.
 
     This is free software, licensed under:
 
diff --git a/doc/images/timetracking_basics.png b/doc/images/timetracking_basics.png
new file mode 100644
index 0000000..c879ab3
Binary files /dev/null and b/doc/images/timetracking_basics.png differ
diff --git a/doc/images/timetracking_my_week.png b/doc/images/timetracking_my_week.png
new file mode 100644
index 0000000..16517ea
Binary files /dev/null and b/doc/images/timetracking_my_week.png differ
diff --git a/doc/images/timetracking_my_week_admin.png b/doc/images/timetracking_my_week_admin.png
new file mode 100644
index 0000000..172f9f0
Binary files /dev/null and b/doc/images/timetracking_my_week_admin.png differ
diff --git a/lib/RT/Extension/TimeTracking.pm b/lib/RT/Extension/TimeTracking.pm
index 9691112..1b3887e 100644
--- a/lib/RT/Extension/TimeTracking.pm
+++ b/lib/RT/Extension/TimeTracking.pm
@@ -2,7 +2,7 @@ use strict;
 use warnings;
 package RT::Extension::TimeTracking;
 
-our $VERSION = '0.05';
+our $VERSION = '0.06';
 
 RT->AddStyleSheets("time_tracking.css");
 RT->AddJavaScript("time_tracking.js");
@@ -36,7 +36,7 @@ RT-Extension-TimeTracking - Time Tracking Extension
 
 =head1 RT VERSION
 
-Works with RT 4.2
+Works with RT 4.2, 4.4
 
 =head1 INSTALLATION
 
@@ -80,6 +80,105 @@ Add this line:
 
 =back
 
+=head2 Configure Custom Fields
+
+This extension installs two transaction custom fields to track time data:
+Actor and Worked Date. Since the visibility of these fields is very
+specific to your usage, no permissions are set during the install.
+
+You need to give all users tracking time permission to view and
+modify these custom fields. You can do this using RT's standard rights
+management by navigating to the custom fields: Admin > Custom Fields >
+Select, clicking on each one, and editing the Group Rights. You can
+then give rights to Everyone, a custom group, or any other variation
+that makes sense for your instance.
+
+If permissions are not set correctly on these custom fields, you will
+see strange behavior like all time being recorded on the current day
+rather than the date you select.
+
+=head1 DESCRIPTION
+
+RT::Extension::TimeTracking adds several features to make it easier to use
+RT to track time for you and your team as you work on tasks. These
+features include breakdowns of time by user on tickets, tracking time for
+specific days, including in the past, and a new page that organizes all of
+your time for the past week. You can find details on configuration in the
+next section.
+
+=head2 Entering Time
+
+When running this extension, you can still use all of the existing methods
+to track time in RT including editing Basics, adding time on a comment or
+reply, or even using the new ticket timer introduced in RT 4.4. All of
+these will record the time and log it with a transaction at the current
+day and time.
+
+The TimeTracking extension adds a new feature to track a "Worked Date"
+for cases where you forgot to enter your time for work you did earlier
+in the week. For these cases, you'll see a new date field in Basics
+where you can select a date and time worked and add it directly to the
+ticket. You'll also see Worked Date on replies and comments to track to a
+different day from the day you are recording the comment.
+
+=begin HTML
+
+<p><img src="http://static.bestpractical.com/images/timetracking/timetracking-basics-shadow.png"
+alt="Basics with TimeTracking" /></p>
+
+=end HTML
+
+TimeTracking also installs a new page at Tools > My Week. This shows a summary
+of all of your time tracked for the week by day. In addition to showing you
+your week, you can track time directly on the page as well for whichever day
+you need to. You can add new tickets and time below each day using the ticket
+box. The Ticket selection box has autocomplete functionality, so you can just
+start typing something from the subject of a ticket to find it. And you can
+update tickets already in your list with the boxes in the Update column.
+
+The total hours for the week are displayed at the bottom of the page.
+
+=begin HTML
+
+<p><img src="http://static.bestpractical.com/images/timetracking/timetracking-my-week-shadow.png"
+alt="Basics with TimeTracking" /></p>
+
+=end HTML
+
+=head3 Fixing Mistakes
+
+If you accidentally add time for the wrong day or ticket, you can subtract it
+by entering a negative value on the ticket for that day.
+
+=head2 Time Summary on Tickets
+
+On individual tickets, in addition to seeing the Add time worked boxes in Basics,
+this extension also adds a Worked section with a summary of the total time worked
+per user on that ticket.
+
+=head2 Viewing Other Weeks on My Week
+
+You can view other weeks on My Week by selecting any day in the desired week using
+the date picker at the top of the page. You can also use the Previous and Next
+links to move from week to week.
+
+=head2 Administrative View
+
+TimeTracking adds a right to allow some users to see the My Week page for other
+users and enter time for them. The right is in Admin > Global > Group Rights
+on the Rights for Administrators tab. It's labelled "Add time worked for other
+users" and should be at the top of the tab.
+
+Once you have this right, you'll see an addition selection box at the top
+of the My Week page for selecting a user. You can then use the autocomplete
+box to find another user and display their timesheet.
+
+This allows managers or similar staff to see timesheets for their team and also
+add time if another user is out of the office sick or otherwise can't add time
+themselves. All entries made by an admin user on another user's timesheet
+are recorded as entered by the admin user using the Actor custom field. This
+keeps an audit trail to avoid confusion over who may have added a time entry.
+
 =head1 CONFIGURATION
 
 =head2 C<$TimeTrackingFirstDayOfWeek>
@@ -156,13 +255,13 @@ Best Practical Solutions, LLC E<lt>modules at bestpractical.comE<gt>
 
 =head1 BUGS
 
-Since this module is not on CPAN, bugs should be reported via
-E<lt>modules at bestpractical.comE<gt>, or via standard BPS support
-contract channels.
+All bugs should be reported via email to: L<bug-RT-Extension-TimeTracking at rt.cpan.org|mailto:bug-RT-Extension-TimeTracking at rt.cpan.org>
+
+Or via the web at: L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-TimeTracking>.
 
 =head1 COPYRIGHT
 
-This extension is Copyright (C) 2013-2015 Best Practical Solutions, LLC.
+This extension is Copyright (C) 2013-2016 Best Practical Solutions, LLC.
 
 This is free software, licensed under:
 

commit 528fb99e6693dd7d7c367a551a86c3af71f33e3d
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Mar 11 10:06:29 2016 -0500

    Prep for release

diff --git a/MANIFEST b/MANIFEST
index 8dd82c3..3c12b2e 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,7 @@
 Changes
+doc/images/timetracking_basics.png
+doc/images/timetracking_my_week.png
+doc/images/timetracking_my_week_admin.png
 etc/0001-handle-txn-cfs-on-ticket-creation-and-updates-with-U.patch
 etc/initialdata
 html/Callbacks/RT-Extension-TimeTracking/Elements/ShowCustomFields/MassageCustomFields
diff --git a/META.yml b/META.yml
index 2e8c017..8f80d30 100644
--- a/META.yml
+++ b/META.yml
@@ -8,7 +8,7 @@ configure_requires:
   ExtUtils::MakeMaker: 6.59
 distribution_type: module
 dynamic_config: 1
-generated_by: 'Module::Install version 1.14'
+generated_by: 'Module::Install version 1.16'
 license: gpl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,6 +25,6 @@ requires:
   perl: 5.10.1
 resources:
   license: http://opensource.org/licenses/gpl-license.php
-version: '0.05'
+version: '0.06'
 x_module_install_rtx_version: '0.37'
 x_requires_rt: 4.2.0

commit a4a0ad5d72cb9f558bc8ba0cf5019f8fe0ae4048
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Mar 21 09:45:22 2016 -0400

    Add width to manage the size of the Basics screenshot
    
    The image was too large at the default size once published
    on metacpan, so set a width.
    
    Also update version for the new release.

diff --git a/Changes b/Changes
index 9ed813e..524ffef 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for RT-Extension-TimeTracking
 
+0.07 2016-03-11
+ - Update image size in documentation.
+
 0.06 2016-03-11
  - Public release to CPAN.
  - Documentation updates.
diff --git a/META.yml b/META.yml
index 8f80d30..e6996cb 100644
--- a/META.yml
+++ b/META.yml
@@ -25,6 +25,6 @@ requires:
   perl: 5.10.1
 resources:
   license: http://opensource.org/licenses/gpl-license.php
-version: '0.06'
+version: '0.07'
 x_module_install_rtx_version: '0.37'
 x_requires_rt: 4.2.0
diff --git a/lib/RT/Extension/TimeTracking.pm b/lib/RT/Extension/TimeTracking.pm
index 1b3887e..cba6366 100644
--- a/lib/RT/Extension/TimeTracking.pm
+++ b/lib/RT/Extension/TimeTracking.pm
@@ -2,7 +2,7 @@ use strict;
 use warnings;
 package RT::Extension::TimeTracking;
 
-our $VERSION = '0.06';
+our $VERSION = '0.07';
 
 RT->AddStyleSheets("time_tracking.css");
 RT->AddJavaScript("time_tracking.js");
@@ -123,7 +123,7 @@ different day from the day you are recording the comment.
 
 =begin HTML
 
-<p><img src="http://static.bestpractical.com/images/timetracking/timetracking-basics-shadow.png"
+<p><img width="500px" src="http://static.bestpractical.com/images/timetracking/timetracking-basics-shadow.png"
 alt="Basics with TimeTracking" /></p>
 
 =end HTML

commit c0138a7f26d97c3172259a8f0432bd62ecfbbc57
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Mar 21 09:51:06 2016 -0400

    Add github URL and sign

diff --git a/Changes b/Changes
index 524ffef..5a8630f 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for RT-Extension-TimeTracking
 
+0.08 2016-03-21
+ - Add github URL and sign
+
 0.07 2016-03-11
  - Update image size in documentation.
 
diff --git a/META.yml b/META.yml
index e6996cb..8bd55df 100644
--- a/META.yml
+++ b/META.yml
@@ -25,6 +25,7 @@ requires:
   perl: 5.10.1
 resources:
   license: http://opensource.org/licenses/gpl-license.php
-version: '0.07'
+  repository: https://github.com/bestpractical/rt-extension-timetracking
+version: '0.08'
 x_module_install_rtx_version: '0.37'
 x_requires_rt: 4.2.0
diff --git a/Makefile.PL b/Makefile.PL
index a032a51..a6051fc 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,7 +1,7 @@
 use inc::Module::Install;
 
 RTx 'RT-Extension-TimeTracking';
-
+repository('https://github.com/bestpractical/rt-extension-timetracking');
 requires_rt '4.2.0';
 
 my ($lp) = ($INC{'RT.pm'} =~ /^(.*)[\\\/]/);
@@ -26,5 +26,6 @@ substitute(
            qw(lib/RT/Extension/TimeTracking/Test.pm),
 );
 
+sign;
 auto_install();
 WriteAll;
diff --git a/lib/RT/Extension/TimeTracking.pm b/lib/RT/Extension/TimeTracking.pm
index cba6366..92f7082 100644
--- a/lib/RT/Extension/TimeTracking.pm
+++ b/lib/RT/Extension/TimeTracking.pm
@@ -2,7 +2,7 @@ use strict;
 use warnings;
 package RT::Extension::TimeTracking;
 
-our $VERSION = '0.07';
+our $VERSION = '0.08';
 
 RT->AddStyleSheets("time_tracking.css");
 RT->AddJavaScript("time_tracking.js");

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


More information about the Bps-public-commit mailing list