[Rt-commit] [svn] r975 - in RT-OnlineDocs/trunk: .
html/Callbacks/RT-OnlineDocs/Elements/Tabs
html/Developer/Perldoc lib/RT
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Fri May 28 01:26:17 EDT 2004
Author: jesse
Date: Fri May 28 01:26:17 2004
New Revision: 975
Added:
RT-OnlineDocs/trunk/ChangeLog
RT-OnlineDocs/trunk/MANIFEST
RT-OnlineDocs/trunk/README
RT-OnlineDocs/trunk/html/Developer/Perldoc/autohandler
Modified:
RT-OnlineDocs/trunk/ (props changed)
RT-OnlineDocs/trunk/META.yml
RT-OnlineDocs/trunk/Makefile.PL
RT-OnlineDocs/trunk/html/Callbacks/RT-OnlineDocs/Elements/Tabs/Default
RT-OnlineDocs/trunk/lib/RT/OnlineDocs.pm
Log:
----------------------------------------------------------------------
r1725 at tinbook: jesse | 2004-05-28T05:11:37.773758Z
----------------------------------------------------------------------
r1726 at tinbook: jesse | 2004-05-28T05:26:08.168023Z
Polish for a usefulish release
----------------------------------------------------------------------
Added: RT-OnlineDocs/trunk/ChangeLog
==============================================================================
--- (empty file)
+++ RT-OnlineDocs/trunk/ChangeLog Fri May 28 01:26:17 2004
@@ -0,0 +1,3 @@
+0.02 - Fri May 28 01:18:21 EDT 2004
+
+ - Locked down to only work for SuperUsers
Added: RT-OnlineDocs/trunk/MANIFEST
==============================================================================
--- (empty file)
+++ RT-OnlineDocs/trunk/MANIFEST Fri May 28 01:26:17 2004
@@ -0,0 +1,20 @@
+ChangeLog
+html/Callbacks/RT-OnlineDocs/Elements/Tabs/Default
+html/Developer/Perldoc/autohandler
+html/Developer/Perldoc/Body.html
+html/Developer/Perldoc/index.html
+html/Developer/Perldoc/TOC.html
+inc/Module/Install.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/RTx.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
+lib/RT/OnlineDocs.pm
+Makefile.PL
+MANIFEST This list of files
+META.yml
+README
Modified: RT-OnlineDocs/trunk/META.yml
==============================================================================
--- RT-OnlineDocs/trunk/META.yml (original)
+++ RT-OnlineDocs/trunk/META.yml Fri May 28 01:26:17 2004
@@ -1,6 +1,6 @@
name: RT-OnlineDocs
-version: 0.01_01
-abstract: RT OnlineDocs Extension
+version: 0.02
+abstract: Display RT API documentation online
author: Jesse Vincent <jesse at bestpractical.com>
license: GPLv2
distribution_type: module
Modified: RT-OnlineDocs/trunk/Makefile.PL
==============================================================================
--- RT-OnlineDocs/trunk/Makefile.PL (original)
+++ RT-OnlineDocs/trunk/Makefile.PL Fri May 28 01:26:17 2004
@@ -2,6 +2,7 @@
RTx('RT-OnlineDocs');
version_from ('lib/RT/OnlineDocs.pm');
author('Jesse Vincent <jesse at bestpractical.com>');
+abstract('Display RT API documentation online');
requires('Pod::Simple::HTML');
license('GPLv2');
&WriteAll;
Added: RT-OnlineDocs/trunk/README
==============================================================================
--- (empty file)
+++ RT-OnlineDocs/trunk/README Fri May 28 01:26:17 2004
@@ -0,0 +1,10 @@
+RT::OnlineDocs adds a "Developer Documentation" menu to the RT user interface.
+This tool provides a browsable user interface to the RT API documentation for
+the running RT instance. I'm indebted to Autrijus Tang who contributed the
+first version of this code.
+
+Be sure to stop and start your webserver to fully enable this RT extension
+
+ Jesse Vincent
+ <jesse at bestpractical.com>
+ Best Practical Solutions, LLC
Modified: RT-OnlineDocs/trunk/html/Callbacks/RT-OnlineDocs/Elements/Tabs/Default
==============================================================================
--- RT-OnlineDocs/trunk/html/Callbacks/RT-OnlineDocs/Elements/Tabs/Default (original)
+++ RT-OnlineDocs/trunk/html/Callbacks/RT-OnlineDocs/Elements/Tabs/Default Fri May 28 01:26:17 2004
@@ -17,8 +17,15 @@
%# END LICENSE BLOCK
<%init>
-$toptabs->{'ZZ-RTFM'} = { title =>loc("API Documentation"),
+
+if ($session{'CurrentUser'}->UserObj->HasRight(
+ Right => 'SuperUser',
+ Object => $RT::System,
+)) {
+
+ $toptabs->{'ZZ-RTFM'} = { title =>loc("API Docs"),
path => "Developer/Perldoc/index.html" };
+}
</%init>
<%args>
$toptabs =>undef
Added: RT-OnlineDocs/trunk/html/Developer/Perldoc/autohandler
==============================================================================
--- (empty file)
+++ RT-OnlineDocs/trunk/html/Developer/Perldoc/autohandler Fri May 28 01:26:17 2004
@@ -0,0 +1,9 @@
+%# All theoretical chemistry is really physics;
+%# and all theoretical chemists know it.
+%# -- Richard P. Feynman
+<%INIT>
+$m->call_next(%ARGS) if $session{'CurrentUser'}->UserObj->HasRight(
+ Right => 'SuperUser',
+ Object => $RT::System,
+);
+</%INIT>
Modified: RT-OnlineDocs/trunk/lib/RT/OnlineDocs.pm
==============================================================================
--- RT-OnlineDocs/trunk/lib/RT/OnlineDocs.pm (original)
+++ RT-OnlineDocs/trunk/lib/RT/OnlineDocs.pm Fri May 28 01:26:17 2004
@@ -4,6 +4,6 @@
use strict;
use warnings;
-our $VERSION = "0.01_01";
+our $VERSION = "0.02";
1;
More information about the Rt-commit
mailing list