[Bps-public-commit] rt-extension-mobileui branch, master, updated. 1.04-1-g6f18891
Thomas Sibley
trs at bestpractical.com
Tue Aug 13 14:03:19 EDT 2013
The branch, master has been updated
via 6f188916ddecd1cb65a8e2cc2cb037d9343e2452 (commit)
via 6ff2732843a3002e407308ced139d4ea00e17ead (commit)
via f375f71bb486b44c3f2b184168db4a877d5aded8 (commit)
via 791c5356012b8f6740abaef02cb69e43839a9b49 (commit)
via 028136450feaacbaaceb31419951ca7da738a54e (commit)
from 83ceca95c73dbaa0ea5044fbe83f47c3a48fb367 (commit)
Summary of changes:
META.yml | 2 +-
README | 1 +
html/m/logout | 2 +-
html/m/ticket/show | 2 +-
inc/Module/Install/RTx.pm | 15 ++++++++-------
inc/Module/Install/ReadmeFromPod.pm | 2 +-
lib/RT/Extension/MobileUI.pm | 3 ++-
7 files changed, 15 insertions(+), 12 deletions(-)
- Log -----------------------------------------------------------------
commit 028136450feaacbaaceb31419951ca7da738a54e
Author: Thomas Sibley <trs at bestpractical.com>
Date: Tue May 21 17:29:02 2013 -0700
Backport May 2013 security patches from 4.0 versions
diff --git a/html/m/logout b/html/m/logout
index 3006ea8..7e752db 100644
--- a/html/m/logout
+++ b/html/m/logout
@@ -1,6 +1,6 @@
<%init>
if (keys %session) {
- tied(%session)->delete;
+ RT::Interface::Web::InstantiateNewSession();
$session{'CurrentUser'} = RT::CurrentUser->new;
}
RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."m/");
diff --git a/html/m/ticket/show b/html/m/ticket/show
index 8155a88..b5914a9 100644
--- a/html/m/ticket/show
+++ b/html/m/ticket/show
@@ -291,7 +291,7 @@ if ($size) {
</%PERL>
<li><font size="-2">
-<a href="<%RT->Config->Get('WebPath')%>/Ticket/Attachment/<%$rev->TransactionId%>/<%$rev->Id%>/<%$rev->Filename | u%>">
+<a href="<%RT->Config->Get('WebPath')%>/Ticket/Attachment/<%$rev->TransactionId%>/<%$rev->Id%>/<%$rev->Filename | un%>">
<&|/l, $rev->CreatedAsString, $size, $rev->CreatorObj->Name &>[_1] ([_2]) by [_3]</&>
</a>
</font></li>
commit 791c5356012b8f6740abaef02cb69e43839a9b49
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri May 31 14:07:30 2013 -0700
Update build toolchain
diff --git a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
index 2eba7ad..c9fe996 100644
--- a/inc/Module/Install/RTx.pm
+++ b/inc/Module/Install/RTx.pm
@@ -8,13 +8,13 @@ no warnings 'once';
use Module::Install::Base;
use base 'Module::Install::Base';
-our $VERSION = '0.29_02';
+our $VERSION = '0.31';
use FindBin;
use File::Glob ();
use File::Basename ();
-my @DIRS = qw(etc lib html bin sbin po var);
+my @DIRS = qw(etc lib html static bin sbin po var);
my @INDEX_DIRS = qw(lib bin sbin);
sub RTx {
@@ -62,10 +62,11 @@ sub RTx {
unshift @INC, "$RT::LocalPath/lib" if $RT::LocalPath;
unshift @INC, $lib_path;
- $RT::LocalVarPath ||= $RT::VarPath;
- $RT::LocalPoPath ||= $RT::LocalLexiconPath;
- $RT::LocalHtmlPath ||= $RT::MasonComponentRoot;
- $RT::LocalLibPath ||= "$RT::LocalPath/lib";
+ $RT::LocalVarPath ||= $RT::VarPath;
+ $RT::LocalPoPath ||= $RT::LocalLexiconPath;
+ $RT::LocalHtmlPath ||= $RT::MasonComponentRoot;
+ $RT::LocalStaticPath ||= $RT::StaticPath;
+ $RT::LocalLibPath ||= "$RT::LocalPath/lib";
my $with_subdirs = $ENV{WITH_SUBDIRS};
@ARGV = grep { /WITH_SUBDIRS=(.*)/ ? ( ( $with_subdirs = $1 ), 0 ) : 1 }
@@ -208,4 +209,4 @@ sub requires_rt {
__END__
-#line 328
+#line 329
diff --git a/inc/Module/Install/ReadmeFromPod.pm b/inc/Module/Install/ReadmeFromPod.pm
index fb7075f..6a80818 100644
--- a/inc/Module/Install/ReadmeFromPod.pm
+++ b/inc/Module/Install/ReadmeFromPod.pm
@@ -7,7 +7,7 @@ use warnings;
use base qw(Module::Install::Base);
use vars qw($VERSION);
-$VERSION = '0.18';
+$VERSION = '0.20';
sub readme_from {
my $self = shift;
commit f375f71bb486b44c3f2b184168db4a877d5aded8
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri May 31 14:25:42 2013 -0700
Clearing the Mason cache is necessary
diff --git a/README b/README
index 584af1c..54fe9cc 100644
--- a/README
+++ b/README
@@ -15,6 +15,7 @@ INSTALLATION
If you have more than one Plugin enabled, you must enable them as one
Set(@Plugins, qw(Foo Bar)); command
+ # clear mason cache
# restart apache
AUTHOR
diff --git a/lib/RT/Extension/MobileUI.pm b/lib/RT/Extension/MobileUI.pm
index 8c6503c..ccd9dad 100644
--- a/lib/RT/Extension/MobileUI.pm
+++ b/lib/RT/Extension/MobileUI.pm
@@ -44,6 +44,7 @@ This RT extension adds a mobile interface for RT.
If you have more than one Plugin enabled, you must enable them as one
Set(@Plugins, qw(Foo Bar)); command
+ # clear mason cache
# restart apache
=cut
commit 6ff2732843a3002e407308ced139d4ea00e17ead
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri May 31 14:07:28 2013 -0700
Bump version
diff --git a/META.yml b/META.yml
index 61e5b24..50ea9e6 100644
--- a/META.yml
+++ b/META.yml
@@ -20,4 +20,4 @@ no_index:
- inc
resources:
license: http://opensource.org/licenses/gpl-license.php
-version: 1.03
+version: 1.04
diff --git a/lib/RT/Extension/MobileUI.pm b/lib/RT/Extension/MobileUI.pm
index ccd9dad..212436b 100644
--- a/lib/RT/Extension/MobileUI.pm
+++ b/lib/RT/Extension/MobileUI.pm
@@ -3,7 +3,7 @@ use strict;
package RT::Extension::MobileUI;
-our $VERSION = "1.03";
+our $VERSION = "1.04";
sub _encode_surrogates {
my $uni = $_[0] - 0x10000;
commit 6f188916ddecd1cb65a8e2cc2cb037d9343e2452
Merge: 83ceca9 6ff2732
Author: Thomas Sibley <trs at bestpractical.com>
Date: Tue Aug 13 11:03:01 2013 -0700
Merge branch 'security'
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list