Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 304799 Details for
Bug 445586
IssueTracker extension in 3.2 should have config options display in editparams.cgi
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to allow IssueTracker extensions params to be edited by editparams.cgi (v1)
issuetracker_config.patch (text/plain), 5.74 KB, created by
David Lawrence
on 2008-05-07 19:22:48 UTC
(
hide
)
Description:
Patch to allow IssueTracker extensions params to be edited by editparams.cgi (v1)
Filename:
MIME Type:
Creator:
David Lawrence
Created:
2008-05-07 19:22:48 UTC
Size:
5.74 KB
patch
obsolete
>Index: extensions/issuetracker/code/config.pl >=================================================================== >RCS file: extensions/issuetracker/code/config.pl >diff -N extensions/issuetracker/code/config.pl >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ extensions/issuetracker/code/config.pl 7 May 2008 19:09:34 -0000 >@@ -0,0 +1,26 @@ >+# -*- Mode: perl; indent-tabs-mode: nil -*- >+# >+# The contents of this file are subject to the Mozilla Public >+# License Version 1.1 (the "License"); you may not use this file >+# except in compliance with the License. You may obtain a copy of >+# the License at http://www.mozilla.org/MPL/ >+# >+# Software distributed under the License is distributed on an "AS >+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or >+# implied. See the License for the specific language governing >+# rights and limitations under the License. >+# >+# The Original Code is the Bugzilla Example Plugin. >+# >+# The Initial Developer of the Original Code is Canonical Ltd. >+# Portions created by Canonical Ltd. are Copyright (C) 2008 >+# Canonical Ltd. All Rights Reserved. >+# >+# Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org> >+# Bradley Baetz <bbaetz@acm.org> >+ >+use strict; >+use warnings; >+use Bugzilla; >+my $config = Bugzilla->hook_args->{config}; >+$config->{IssueTracker} = "extensions::issuetracker::lib::Config"; >Index: extensions/issuetracker/lib/Config.pm >=================================================================== >RCS file: extensions/issuetracker/lib/Config.pm >diff -N extensions/issuetracker/lib/Config.pm >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ extensions/issuetracker/lib/Config.pm 7 May 2008 19:09:34 -0000 >@@ -0,0 +1,71 @@ >+# -*- Mode: perl; indent-tabs-mode: nil -*- >+# >+# The contents of this file are subject to the Mozilla Public >+# License Version 1.1 (the "License"); you may not use this file >+# except in compliance with the License. You may obtain a copy of >+# the License at http://www.mozilla.org/MPL/ >+# >+# Software distributed under the License is distributed on an "AS >+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or >+# implied. See the License for the specific language governing >+# rights and limitations under the License. >+# >+# The Original Code is the Bugzilla Example Plugin. >+# >+# The Initial Developer of the Original Code is Canonical Ltd. >+# Portions created by Canonical Ltd. are Copyright (C) 2008 >+# Canonical Ltd. All Rights Reserved. >+# >+# Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org> >+# Bradley Baetz <bbaetz@acm.org> >+ >+package extensions::issuetracker::lib::Config; >+use strict; >+use warnings; >+ >+use Bugzilla::Config::Common; >+ >+sub get_param_list { >+ my ($class) = @_; >+ >+ my @param_list = ( >+ { >+ name => 'useissuetracker', >+ type => 'b', >+ default => 0 >+ }, >+ { >+ name => 'issuetracker_download_key', >+ type => 't', >+ default => '' >+ }, >+ { >+ name => 'issuetracker_rpc_password', >+ type => 't', >+ default => '' >+ }, >+ { >+ name => 'issuetracker_rpc_user', >+ type => 't', >+ default => 'bugzilla' >+ }, >+ { >+ name => 'issuetracker_rpcserver', >+ type => 't', >+ default => '' >+ }, >+ { >+ name => 'issuetracker_urlbase', >+ type => 't', >+ default => 'https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=' >+ }, >+ { >+ name => 'issuetracker_user', >+ type => 't', >+ default => 'tao@redhat.com' >+ }, >+ ); >+ return @param_list; >+} >+ >+1; >Index: extensions/issuetracker/template/en/default/admin/params/issuetracker.html.tmpl >=================================================================== >RCS file: extensions/issuetracker/template/en/default/admin/params/issuetracker.html.tmpl >diff -N extensions/issuetracker/template/en/default/admin/params/issuetracker.html.tmpl >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ extensions/issuetracker/template/en/default/admin/params/issuetracker.html.tmpl 7 May 2008 19:09:34 -0000 >@@ -0,0 +1,36 @@ >+[%# >+ # The contents of this file are subject to the Mozilla Public >+ # License Version 1.1 (the "License"); you may not use this file >+ # except in compliance with the License. You may obtain a copy of >+ # the License at http://www.mozilla.org/MPL/ >+ # >+ # Software distributed under the License is distributed on an "AS >+ # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or >+ # implied. See the License for the specific language governing >+ # rights and limitations under the License. >+ # >+ # The Original Code is the Bugzilla Example Plugin. >+ # >+ # The Initial Developer of the Original Code is Canonical Ltd. >+ # Portions created by Canonical Ltd. are Copyright (C) 2008 >+ # Canonical Ltd. All Rights Reserved. >+ # >+ # Contributor(s): Bradley Baetz <bbaetz@acm.org> >+ #%] >+[% >+ title = "Issue Tracker" >+ desc = "Configure Issue Tracker Extension" >+%] >+ >+[% param_descs = { >+ useissuetracker => 'If this option is on, a field will display that will allow issue tracker id\'s to be' _ >+ 'stored in the database per report. Links will be displayed as well to the issue tracker reports.', >+ issuetracker_urlbase => 'The base URL use to build links to items in the issue tracker system', >+ issuetracker_download_key => 'Key passed in to automatically auth user when clicking on IssueTracker download link', >+ issuetracker_rpcserver => 'URL for Issue Tracker XML RPC service', >+ issuetracker_user => 'User that reports changes from Issue Tracker', >+ issuetracker_rpc_user => 'User that reports changes from Bugzilla to Issue Tracker over XML-RPC.', >+ issuetracker_rpc_password => 'Password for user that reports changes from Bugzilla to Issue Tracker over XML-RPC.' >+} >+%] >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
nelhawar
: review+
dkl
: review? (
kbaker
)
Actions:
View
|
Diff
Attachments on
bug 445586
: 304799