Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change naming schema to RT-Extension-UpdateHistory #2

Merged
merged 1 commit into from
Mar 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
html/Callbacks/RTx-UpdateHistory/Elements/Header/Head
html/Callbacks/RTx-UpdateHistory/Ticket/Update.html/RightColumnBottom
html/NoAuth/css/rtx-updatehistory.css
html/Ticket/Elements/rtx-updatehistory-inline
html/Callbacks/RT-Extension-UpdateHistory/Elements/Header/Head
html/Callbacks/RT-Extension-UpdateHistory/Ticket/Update.html/RightColumnBottom
html/NoAuth/css/RT-Extension-UpdateHistory.css
html/Ticket/Elements/RT-Extension-UpdateHistory-inline
inc/Module/Install.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
Expand All @@ -15,7 +15,7 @@ inc/Module/Install/RTx/Runtime.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
inc/YAML/Tiny.pm
lib/RTx/UpdateHistory.pm
lib/RT/Extension/UpdateHistory.pm
Makefile.PL
MANIFEST This list of files
META.yml
4 changes: 2 additions & 2 deletions META.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
abstract: 'RTx-UpdateHistory Extension'
abstract: 'RT-Extension-UpdateHistory Extension'
author:
- 'NETWAYS GmbH <info@netways.de>'
build_requires:
Expand All @@ -13,7 +13,7 @@ license: gpl_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: RTx-UpdateHistory
name: RT-Extension-UpdateHistory
no_index:
directory:
- inc
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use inc::Module::Install;

RTx 'RTx-UpdateHistory';
RTx 'RT-Extension-UpdateHistory';
license 'gpl_2';
repository 'https://github.com/NETWAYS/rt-extension-updatehistory';

Expand Down
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" />
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>
1 change: 0 additions & 1 deletion html/Callbacks/RTx-UpdateHistory/Elements/Header/Head

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.rtx-update-history-box {
.rt-extension-update-history-box {
height: 600px;
overflow: scroll;

}

.update-table-struct {
Expand Down
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>
76 changes: 76 additions & 0 deletions lib/RT/Extension/UpdateHistory.pm
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;
39 changes: 0 additions & 39 deletions lib/RTx/UpdateHistory.pm

This file was deleted.