[Bps-public-commit] rt-extension-selfservicesimplesearch branch master updated. 1.01-6-gc7fdb73
BPS Git Server
git at git.bestpractical.com
Tue Mar 8 13:41:14 UTC 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-extension-selfservicesimplesearch".
The branch, master has been updated
via c7fdb73aaf8de492ca647dd0c2f9a93c667281cc (commit)
via 562950d6d784d05ad5af86f113d92437bc94ff3c (commit)
via 94ac4e44f055cbef4129bac01fc5268afecb425a (commit)
via 4bde252b9adf1699f9e9bd1e42c846cf6908682f (commit)
via 14b5d837fd4b400dc9423f3872f2e4c230b5dbca (commit)
via 71e629ccefdeb3835048364c90b4500e5e3a800e (commit)
from 85e613c045a6a7f99b8fe08afbd497b153b914dc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c7fdb73aaf8de492ca647dd0c2f9a93c667281cc
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Mar 8 21:35:04 2022 +0800
Prep 1.02
diff --git a/Changes b/Changes
new file mode 100644
index 0000000..f529e44
--- /dev/null
+++ b/Changes
@@ -0,0 +1,2 @@
+1.02 2022-03-08
+ - Add RT 5 support
diff --git a/MANIFEST b/MANIFEST
index 09b8c65..dafedfb 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,3 +1,4 @@
+Changes
html/Callbacks/SelfServiceSimpleSearch/Elements/Tabs/SelfService
html/SelfService/SimpleSearch.html
inc/Module/Install.pm
@@ -12,7 +13,6 @@ inc/Module/Install/RTx.pm
inc/Module/Install/RTx/Runtime.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
-inc/unicore/Name.pm
inc/YAML/Tiny.pm
lib/RT/Extension/SelfServiceSimpleSearch.pm
Makefile.PL
diff --git a/META.yml b/META.yml
index 7920790..68fe8cd 100644
--- a/META.yml
+++ b/META.yml
@@ -23,6 +23,6 @@ requires:
resources:
license: http://opensource.org/licenses/gpl-license.php
repository: https://github.com/bestpractical/rt-extension-selfservicesimplesearch
-version: '1.01'
+version: '1.02'
x_module_install_rtx_version: '0.43'
x_requires_rt: 4.0.0
diff --git a/lib/RT/Extension/SelfServiceSimpleSearch.pm b/lib/RT/Extension/SelfServiceSimpleSearch.pm
index d7cfc37..5bd260e 100644
--- a/lib/RT/Extension/SelfServiceSimpleSearch.pm
+++ b/lib/RT/Extension/SelfServiceSimpleSearch.pm
@@ -2,7 +2,7 @@ use strict;
use warnings;
package RT::Extension::SelfServiceSimpleSearch;
-our $VERSION = '1.01';
+our $VERSION = '1.02';
=head1 NAME
commit 562950d6d784d05ad5af86f113d92437bc94ff3c
Merge: 85e613c 94ac4e4
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Mar 8 21:31:51 2022 +0800
Merge branch 'update-for-rt5'
commit 94ac4e44f055cbef4129bac01fc5268afecb425a
Author: Jason Crome <jcrome at bestpractical.com>
Date: Fri Mar 4 15:54:07 2022 -0500
Support both RT 4 and 5 presentation styles
diff --git a/html/SelfService/SimpleSearch.html b/html/SelfService/SimpleSearch.html
index ba511e1..13a7504 100644
--- a/html/SelfService/SimpleSearch.html
+++ b/html/SelfService/SimpleSearch.html
@@ -65,9 +65,21 @@
<div id="SimpleSearchForm">
<form action="SimpleSearch.html" method="get">
+% if ( RT::Handle::cmp_version($RT::VERSION, '5.0.0') >= 0 ) {
+ <div class="form-row justify-content-center">
+ <div class="col-4">
+ <input class="form-control" type="text" name="q" />
+ </div>
+ <div class="col-auto">
+ <input type="submit" class="button btn btn-primary form-control" value="<&|/l&>Search</&>" />
+ </div>
+ </div>
+% }
+% else {
<div align="center">
<input name="q" size="60" /><input type="submit" class="button" value="<&|/l&>Search</&>" />
</div>
+% }
% my @strong = qw(<strong> </strong>);
-----------------------------------------------------------------------
Summary of changes:
Changes | 2 +
MANIFEST | 2 +-
META.yml | 6 +-
Makefile.PL | 1 +
README | 8 +-
html/SelfService/SimpleSearch.html | 12 +
inc/Module/Install.pm | 35 +--
inc/Module/Install/Base.pm | 2 +-
inc/Module/Install/Can.pm | 13 +-
inc/Module/Install/Fetch.pm | 2 +-
inc/Module/Install/Include.pm | 2 +-
inc/Module/Install/Makefile.pm | 2 +-
inc/Module/Install/Metadata.pm | 2 +-
inc/Module/Install/RTx.pm | 81 +++++-
inc/Module/Install/RTx/Runtime.pm | 1 +
inc/Module/Install/ReadmeFromPod.pm | 76 ++++-
inc/Module/Install/Win32.pm | 2 +-
inc/Module/Install/WriteAll.pm | 2 +-
inc/YAML/Tiny.pm | 37 ++-
inc/unicore/Name.pm | 417 ----------------------------
lib/RT/Extension/SelfServiceSimpleSearch.pm | 10 +-
21 files changed, 202 insertions(+), 513 deletions(-)
create mode 100644 Changes
delete mode 100644 inc/unicore/Name.pm
hooks/post-receive
--
rt-extension-selfservicesimplesearch
More information about the Bps-public-commit
mailing list