[Rt-commit] rt branch, query-logging, updated. rt-3.8.8-926-gafea714

Shawn Moore sartak at bestpractical.com
Mon Sep 27 20:22:30 EDT 2010


The branch, query-logging has been updated
       via  afea7147b84fef5458bde09d8ef1f213b2c18a16 (commit)
       via  f57df53177174da6b849d2e8f762b67ce17c84cb (commit)
      from  bbe1b29d8f9c5e5fc792ee4d0a0bc0f488762091 (commit)

Summary of changes:
 share/html/Admin/Elements/SystemTabs               |    3 ---
 share/html/Admin/Elements/ToolTabs                 |    3 +++
 share/html/Admin/Global/index.html                 |    3 ---
 .../html/Admin/Tools/{index.html => Queries.html}  |   12 +++++++++---
 4 files changed, 12 insertions(+), 9 deletions(-)
 copy share/html/Admin/Tools/{index.html => Queries.html} (85%)

- Log -----------------------------------------------------------------
commit f57df53177174da6b849d2e8f762b67ce17c84cb
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Sep 27 20:12:47 2010 -0400

    Begin adding a SQL query listing tool

diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
new file mode 100644
index 0000000..53d62da
--- /dev/null
+++ b/share/html/Admin/Tools/Queries.html
@@ -0,0 +1,61 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2010 Best Practical Solutions, LLC
+%#                                          <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+<%init>
+my $title = loc('SQL Queries');
+unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'SuperUser')) {
+ Abort(loc('This feature is only available to system administrators'));
+}
+</%init>
+<& /Admin/Elements/Header, Title => $title &>
+<& /Admin/Elements/ToolTabs, 
+    current_tab => 'Admin/Tools/Queries.html',
+    current_subtab => 'Admin/Tools/Queries.html', 
+    Title => $title &>
+
+<&|/Widgets/TitleBox, title => loc('SQL Queries') &>
+</&>

commit afea7147b84fef5458bde09d8ef1f213b2c18a16
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Sep 27 20:25:33 2010 -0400

    Move Queries tab to Tools from Global

diff --git a/share/html/Admin/Elements/SystemTabs b/share/html/Admin/Elements/SystemTabs
index 3e265f4..58ea660 100755
--- a/share/html/Admin/Elements/SystemTabs
+++ b/share/html/Admin/Elements/SystemTabs
@@ -76,9 +76,6 @@
                 J => { title => loc('Theme'),
                                 path => 'Admin/Global/Theme.html',
                       },
-                Q => { title => loc('Queries'),
-                                path => 'Admin/Global/Queries.html',
-                      },
 
 };
 
diff --git a/share/html/Admin/Elements/ToolTabs b/share/html/Admin/Elements/ToolTabs
index b16a6a8..63edf8e 100755
--- a/share/html/Admin/Elements/ToolTabs
+++ b/share/html/Admin/Elements/ToolTabs
@@ -57,6 +57,9 @@
         A => { title => loc('System Configuration'),
                path => 'Admin/Tools/Configuration.html',
         },
+        B => { title => loc('SQL Queries'),
+               path => 'Admin/Tools/Queries.html',
+        },
         E => { title => loc('Shredder'),
                path  => 'Admin/Tools/Shredder/',
         },
diff --git a/share/html/Admin/Global/index.html b/share/html/Admin/Global/index.html
index 29dee20..8ea14e8 100755
--- a/share/html/Admin/Global/index.html
+++ b/share/html/Admin/Global/index.html
@@ -82,8 +82,5 @@
                 J => { title => loc('Theme'),
                                 path => '/Admin/Global/Theme.html',
                       },
-                Q => { title => loc('Queries'),
-                                path => '/Admin/Global/Queries.html',
-                      },
 };
 </%INIT>

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


More information about the Rt-commit mailing list