-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from NETWAYS/feature/change-naming-schema
Change naming schema to RT-Extension-UpdateHistory
- Loading branch information
Showing
11 changed files
with
95 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/RT-Extension-UpdateHistory.css" type="text/css" media="all" /> |
4 changes: 4 additions & 0 deletions
4
html/Callbacks/RT-Extension-UpdateHistory/Ticket/Update.html/RightColumnBottom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<& /Ticket/Elements/RT-Extension-UpdateHistory-inline, Ticket => $Ticket &> | ||
<%ARGS> | ||
$Ticket => undef | ||
</%ARGS> |
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
html/Callbacks/RTx-UpdateHistory/Ticket/Update.html/RightColumnBottom
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
html/NoAuth/css/rtx-updatehistory.css → ...NoAuth/css/RT-Extension-UpdateHistory.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
.../Ticket/Elements/rtx-updatehistory-inline → ...lements/RT-Extension-UpdateHistory-inline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<div class="rtx-update-history-box"> | ||
<div class="rt-extension-update-history-box"> | ||
<& /Elements/ShowHistory, | ||
Object => $Ticket, | ||
ShowHeaders => $ARGS{'ShowHeaders'}, | ||
ShowHeaders => $ARGS{'ShowHeaders'}, | ||
Attachments => $Ticket->Attachments, | ||
AttachmentContent => $Ticket->TextAttachments, | ||
DisplayPath => $URI, | ||
ShowDisplayModes => 0 | ||
&> | ||
&> | ||
</div> | ||
<%args> | ||
$Ticket => undef | ||
$URI => 'Update.html' | ||
</%args> | ||
</%args> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
package RT::Extension::UpdateHistory; | ||
|
||
require 5.10.0; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
our $VERSION = '1.0.0'; | ||
|
||
=head1 NAME | ||
RT-Extension-UpdateHistory - Allows to view a ticket's history while commenting/replying | ||
=head1 DESCRIPTION | ||
The default behavior of RT when adding a comment or reply is to not display the ticket's history. | ||
This extension adds an additional element to the sidebar where an configurable amount of recent | ||
activities are listed. | ||
=head1 RT VERSION | ||
Works with RT 4.4.2 | ||
=head1 INSTALLATION | ||
=over | ||
=item C<perl Makefile.PL> | ||
=item C<make> | ||
=item C<make install> | ||
May need root permissions | ||
=item Edit your F</opt/rt4/etc/RT_SiteConfig.pm> | ||
Add this line: | ||
Plugin('RT::Extension::UpdateHistory'); | ||
=item Clear your mason cache | ||
rm -rf /opt/rt4/var/mason_data/obj | ||
=item Restart your webserver | ||
=back | ||
=head1 AUTHOR | ||
NETWAYS GmbH <lt>info@netways.de<gt> | ||
=for html <p>All bugs should be reported via email to <a | ||
href="mailto:bug-RT-Extension-UpdateHistory@rt.cpan.org">bug-RT-Extension-UpdateHistory@rt.cpan.org</a> | ||
or via the web at <a | ||
href="http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-UpdateHistory">rt.cpan.org</a>.</p> | ||
=for text | ||
All bugs should be reported via email to | ||
bug-RT-Extension-UpdateHistory@rt.cpan.org | ||
or via the web at | ||
http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-UpdateHistory | ||
=head1 LICENSE AND COPYRIGHT | ||
This software is Copyright (c) 2018 by NETWAYS GmbH | ||
This is free software, licensed under: | ||
The GNU General Public License, Version 2, June 1991 | ||
=cut | ||
|
||
1; |
This file was deleted.
Oops, something went wrong.