Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
f91e240a
Commit
f91e240a
authored
Jan 31, 2019
by
Perl Tidy
Committed by
Dylan William Hardison
Jan 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no bug - perltidy again, using the latest release
blame jeff
parent
9d2417c9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
101 changed files
with
29 additions
and
58 deletions
+29
-58
Attachment.pm
Bugzilla/Attachment.pm
+0
-0
DB.pm
Bugzilla/Auth/Verify/DB.pm
+0
-0
Bug.pm
Bugzilla/Bug.pm
+0
-0
BugMail.pm
Bugzilla/BugMail.pm
+0
-0
BugUrl.pm
Bugzilla/BugUrl.pm
+0
-0
CGI.pm
Bugzilla/CGI.pm
+2
-4
Chart.pm
Bugzilla/Chart.pm
+0
-0
Comment.pm
Bugzilla/Comment.pm
+0
-0
Component.pm
Bugzilla/Component.pm
+0
-0
Common.pm
Bugzilla/Config/Common.pm
+0
-0
DB.pm
Bugzilla/DB.pm
+0
-0
Mysql.pm
Bugzilla/DB/Mysql.pm
+0
-0
Oracle.pm
Bugzilla/DB/Oracle.pm
+0
-0
Schema.pm
Bugzilla/DB/Schema.pm
+0
-0
Mysql.pm
Bugzilla/DB/Schema/Mysql.pm
+0
-0
Oracle.pm
Bugzilla/DB/Schema/Oracle.pm
+0
-0
Sqlite.pm
Bugzilla/DB/Schema/Sqlite.pm
+0
-0
Sqlite.pm
Bugzilla/DB/Sqlite.pm
+0
-0
Extension.pm
Bugzilla/Extension.pm
+0
-0
Field.pm
Bugzilla/Field.pm
+0
-0
Choice.pm
Bugzilla/Field/Choice.pm
+0
-0
Flag.pm
Bugzilla/Flag.pm
+0
-0
FlagType.pm
Bugzilla/FlagType.pm
+0
-0
Group.pm
Bugzilla/Group.pm
+0
-0
Hook.pm
Bugzilla/Hook.pm
+0
-0
DB.pm
Bugzilla/Install/DB.pm
+3
-6
Filesystem.pm
Bugzilla/Install/Filesystem.pm
+0
-0
Requirements.pm
Bugzilla/Install/Requirements.pm
+2
-4
Util.pm
Bugzilla/Install/Util.pm
+0
-0
Mailer.pm
Bugzilla/Job/Mailer.pm
+0
-0
Runner.pm
Bugzilla/JobQueue/Runner.pm
+0
-0
Migrate.pm
Bugzilla/Migrate.pm
+0
-0
Gnats.pm
Bugzilla/Migrate/Gnats.pm
+0
-0
Milestone.pm
Bugzilla/Milestone.pm
+0
-0
Object.pm
Bugzilla/Object.pm
+0
-0
Product.pm
Bugzilla/Product.pm
+0
-0
Search.pm
Bugzilla/Search.pm
+0
-0
Quicksearch.pm
Bugzilla/Search/Quicksearch.pm
+2
-4
Saved.pm
Bugzilla/Search/Saved.pm
+0
-0
Series.pm
Bugzilla/Series.pm
+0
-0
Template.pm
Bugzilla/Template.pm
+0
-0
User.pm
Bugzilla/User.pm
+4
-8
Setting.pm
Bugzilla/User/Setting.pm
+2
-4
Util.pm
Bugzilla/Util.pm
+0
-0
Version.pm
Bugzilla/Version.pm
+0
-0
Bug.pm
Bugzilla/WebService/Bug.pm
+0
-0
Bugzilla.pm
Bugzilla/WebService/Bugzilla.pm
+0
-0
JSONRPC.pm
Bugzilla/WebService/Server/JSONRPC.pm
+0
-0
REST.pm
Bugzilla/WebService/Server/REST.pm
+0
-0
XMLRPC.pm
Bugzilla/WebService/Server/XMLRPC.pm
+0
-0
attachment.cgi
attachment.cgi
+0
-0
buglist.cgi
buglist.cgi
+0
-0
chart.cgi
chart.cgi
+0
-0
checksetup.pl
checksetup.pl
+0
-0
colchange.cgi
colchange.cgi
+0
-0
collectstats.pl
collectstats.pl
+0
-0
bzdbcopy.pl
contrib/bzdbcopy.pl
+0
-0
console.pl
contrib/console.pl
+0
-0
extension-convert.pl
contrib/extension-convert.pl
+0
-0
merge-users.pl
contrib/merge-users.pl
+0
-0
recode.pl
contrib/recode.pl
+0
-0
Bugzilla.pm
docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
+0
-0
editfields.cgi
editfields.cgi
+0
-0
editgroups.cgi
editgroups.cgi
+0
-0
editmilestones.cgi
editmilestones.cgi
+0
-0
editproducts.cgi
editproducts.cgi
+0
-0
editsettings.cgi
editsettings.cgi
+0
-0
editvalues.cgi
editvalues.cgi
+0
-0
editwhines.cgi
editwhines.cgi
+0
-0
editworkflow.cgi
editworkflow.cgi
+0
-0
email_in.pl
email_in.pl
+0
-0
enter_bug.cgi
enter_bug.cgi
+0
-0
Extension.pm
extensions/BmpConvert/Extension.pm
+0
-0
Extension.pm
extensions/Example/Extension.pm
+0
-0
Extension.pm
extensions/MoreBugUrl/Extension.pm
+1
-2
Extension.pm
extensions/OldBugMove/Extension.pm
+0
-0
Extension.pm
extensions/Voting/Extension.pm
+0
-0
importxml.pl
importxml.pl
+0
-0
post_bug.cgi
post_bug.cgi
+0
-0
quips.cgi
quips.cgi
+0
-0
relogin.cgi
relogin.cgi
+0
-0
report.cgi
report.cgi
+0
-0
reports.cgi
reports.cgi
+0
-0
request.cgi
request.cgi
+0
-0
sanitycheck.cgi
sanitycheck.cgi
+7
-14
show_bug.cgi
show_bug.cgi
+0
-0
showdependencygraph.cgi
showdependencygraph.cgi
+2
-4
showdependencytree.cgi
showdependencytree.cgi
+0
-0
summarize_time.cgi
summarize_time.cgi
+0
-0
001compile.t
t/001compile.t
+0
-0
002goodperl.t
t/002goodperl.t
+0
-0
012throwables.t
t/012throwables.t
+0
-0
testserver.pl
testserver.pl
+0
-0
userprefs.cgi
userprefs.cgi
+0
-0
votes.cgi
votes.cgi
+0
-0
whine.pl
whine.pl
+0
-0
Search.pm
xt/lib/Bugzilla/Test/Search.pm
+2
-4
Constants.pm
xt/lib/Bugzilla/Test/Search/Constants.pm
+2
-4
CustomTest.pm
xt/lib/Bugzilla/Test/Search/CustomTest.pm
+0
-0
FieldTest.pm
xt/lib/Bugzilla/Test/Search/FieldTest.pm
+0
-0
OrTest.pm
xt/lib/Bugzilla/Test/Search/OrTest.pm
+0
-0
No files found.
Bugzilla/Attachment.pm
View file @
f91e240a
Bugzilla/Auth/Verify/DB.pm
View file @
f91e240a
Bugzilla/Bug.pm
View file @
f91e240a
Bugzilla/BugMail.pm
View file @
f91e240a
Bugzilla/BugUrl.pm
View file @
f91e240a
Bugzilla/CGI.pm
View file @
f91e240a
...
@@ -35,10 +35,8 @@ sub _init_bz_cgi_globals {
...
@@ -35,10 +35,8 @@ sub _init_bz_cgi_globals {
# We don't precompile any functions here, that's done specially in
# We don't precompile any functions here, that's done specially in
# mod_perl code.
# mod_perl code.
$invocant
->
_setup_symbols
(
$invocant
->
_setup_symbols
(
qw(:no_xhtml :oldstyle_urls :private_tempfiles
qw(:no_xhtml :oldstyle_urls :private_tempfiles
:unique_headers)
);
:unique_headers)
);
}
}
BEGIN
{
__PACKAGE__
->
_init_bz_cgi_globals
()
if
i_am_cgi
();
}
BEGIN
{
__PACKAGE__
->
_init_bz_cgi_globals
()
if
i_am_cgi
();
}
...
...
Bugzilla/Chart.pm
View file @
f91e240a
Bugzilla/Comment.pm
View file @
f91e240a
Bugzilla/Component.pm
View file @
f91e240a
Bugzilla/Config/Common.pm
View file @
f91e240a
Bugzilla/DB.pm
View file @
f91e240a
Bugzilla/DB/Mysql.pm
View file @
f91e240a
Bugzilla/DB/Oracle.pm
View file @
f91e240a
Bugzilla/DB/Schema.pm
View file @
f91e240a
Bugzilla/DB/Schema/Mysql.pm
View file @
f91e240a
Bugzilla/DB/Schema/Oracle.pm
View file @
f91e240a
Bugzilla/DB/Schema/Sqlite.pm
View file @
f91e240a
Bugzilla/DB/Sqlite.pm
View file @
f91e240a
Bugzilla/Extension.pm
View file @
f91e240a
Bugzilla/Field.pm
View file @
f91e240a
Bugzilla/Field/Choice.pm
View file @
f91e240a
Bugzilla/Flag.pm
View file @
f91e240a
Bugzilla/FlagType.pm
View file @
f91e240a
Bugzilla/Group.pm
View file @
f91e240a
Bugzilla/Hook.pm
View file @
f91e240a
Bugzilla/Install/DB.pm
View file @
f91e240a
...
@@ -1843,8 +1843,7 @@ sub _convert_groups_system_from_groupset {
...
@@ -1843,8 +1843,7 @@ sub _convert_groups_system_from_groupset {
my
(
$admin_gid
)
my
(
$admin_gid
)
=
$dbh
->
selectrow_array
(
"SELECT id FROM groups WHERE name = 'admin'"
);
=
$dbh
->
selectrow_array
(
"SELECT id FROM groups WHERE name = 'admin'"
);
if
(
!
$admin_gid
)
{
if
(
!
$admin_gid
)
{
$dbh
->
do
(
$dbh
->
do
(
q{INSERT INTO groups (name, description)
q{INSERT INTO groups (name, description)
VALUES ('admin', 'Administrators')}
VALUES ('admin', 'Administrators')}
);
);
$admin_gid
=
$dbh
->
bz_last_key
(
'groups'
,
'id'
);
$admin_gid
=
$dbh
->
bz_last_key
(
'groups'
,
'id'
);
...
@@ -3362,8 +3361,7 @@ sub _initialize_workflow_for_upgrade {
...
@@ -3362,8 +3361,7 @@ sub _initialize_workflow_for_upgrade {
sub
_make_lang_setting_dynamic
{
sub
_make_lang_setting_dynamic
{
my
$dbh
=
Bugzilla
->
dbh
;
my
$dbh
=
Bugzilla
->
dbh
;
my
$count
=
$dbh
->
selectrow_array
(
my
$count
=
$dbh
->
selectrow_array
(
q{SELECT 1 FROM setting
q{SELECT 1 FROM setting
WHERE name = 'lang'
WHERE name = 'lang'
AND subclass IS NULL}
AND subclass IS NULL}
);
);
...
@@ -4187,8 +4185,7 @@ sub _update_alias {
...
@@ -4187,8 +4185,7 @@ sub _update_alias {
return
unless
$dbh
->
bz_column_info
(
'bugs'
,
'alias'
);
return
unless
$dbh
->
bz_column_info
(
'bugs'
,
'alias'
);
# We need to move the aliases from the bugs table to the bugs_aliases table
# We need to move the aliases from the bugs table to the bugs_aliases table
$dbh
->
do
(
$dbh
->
do
(
q{
q{
INSERT INTO bugs_aliases (bug_id, alias)
INSERT INTO bugs_aliases (bug_id, alias)
SELECT bug_id, alias FROM bugs WHERE alias IS NOT NULL
SELECT bug_id, alias FROM bugs WHERE alias IS NOT NULL
}
}
...
...
Bugzilla/Install/Filesystem.pm
View file @
f91e240a
Bugzilla/Install/Requirements.pm
View file @
f91e240a
...
@@ -63,14 +63,12 @@ use constant APACHE => qw(apachectl httpd apache2 apache);
...
@@ -63,14 +63,12 @@ use constant APACHE => qw(apachectl httpd apache2 apache);
# If we don't find any of the above binaries in the normal PATH,
# If we don't find any of the above binaries in the normal PATH,
# these are extra places we look.
# these are extra places we look.
use
constant
APACHE_PATH
=>
[
use
constant
APACHE_PATH
=>
[
qw(
qw(
/usr/sbin
/usr/sbin
/usr/local/sbin
/usr/local/sbin
/usr/libexec
/usr/libexec
/usr/local/libexec
/usr/local/libexec
)
)
];
];
# The below two constants are subroutines so that they can implement
# The below two constants are subroutines so that they can implement
# a hook. Other than that they are actually constants.
# a hook. Other than that they are actually constants.
...
...
Bugzilla/Install/Util.pm
View file @
f91e240a
Bugzilla/Job/Mailer.pm
View file @
f91e240a
Bugzilla/JobQueue/Runner.pm
View file @
f91e240a
Bugzilla/Migrate.pm
View file @
f91e240a
Bugzilla/Migrate/Gnats.pm
View file @
f91e240a
Bugzilla/Milestone.pm
View file @
f91e240a
Bugzilla/Object.pm
View file @
f91e240a
Bugzilla/Product.pm
View file @
f91e240a
Bugzilla/Search.pm
View file @
f91e240a
Bugzilla/Search/Quicksearch.pm
View file @
f91e240a
...
@@ -85,12 +85,10 @@ sub FIELD_MAP {
...
@@ -85,12 +85,10 @@ sub FIELD_MAP {
# Also, don't allow searching the _accessible stuff via quicksearch
# Also, don't allow searching the _accessible stuff via quicksearch
# (both because it's unnecessary and because otherwise
# (both because it's unnecessary and because otherwise
# "reporter_accessible" and "reporter" both match "rep".
# "reporter_accessible" and "reporter" both match "rep".
delete
@full_map
{
delete
@full_map
{
qw(rep_platform bug_status bug_file_loc bug_group
qw(rep_platform bug_status bug_file_loc bug_group
bug_severity bug_status
bug_severity bug_status
status_whiteboard
status_whiteboard
cclist_accessible reporter_accessible)
cclist_accessible reporter_accessible)
};
};
Bugzilla::Hook::
process
(
'quicksearch_map'
,
{
'map'
=>
\%
full_map
});
Bugzilla::Hook::
process
(
'quicksearch_map'
,
{
'map'
=>
\%
full_map
});
...
...
Bugzilla/Search/Saved.pm
View file @
f91e240a
Bugzilla/Series.pm
View file @
f91e240a
Bugzilla/Template.pm
View file @
f91e240a
Bugzilla/User.pm
View file @
f91e240a
...
@@ -153,16 +153,14 @@ sub _update_groups {
...
@@ -153,16 +153,14 @@ sub _update_groups {
my
$dbh
=
Bugzilla
->
dbh
;
my
$dbh
=
Bugzilla
->
dbh
;
# Update group settings.
# Update group settings.
my
$sth_add_mapping
=
$dbh
->
prepare
(
my
$sth_add_mapping
=
$dbh
->
prepare
(
qq{INSERT INTO user_group_map (
qq{INSERT INTO user_group_map (
user_id, group_id, isbless, grant_type
user_id, group_id, isbless, grant_type
) VALUES (
) VALUES (
?, ?, ?, ?
?, ?, ?, ?
)
)
}
}
);
);
my
$sth_remove_mapping
=
$dbh
->
prepare
(
my
$sth_remove_mapping
=
$dbh
->
prepare
(
qq{DELETE FROM user_group_map
qq{DELETE FROM user_group_map
WHERE user_id = ?
WHERE user_id = ?
AND group_id = ?
AND group_id = ?
AND isbless = ?
AND isbless = ?
...
@@ -1704,13 +1702,11 @@ sub derive_regexp_groups {
...
@@ -1704,13 +1702,11 @@ sub derive_regexp_groups {
);
);
$sth
->
execute
(
$id
,
GRANT_REGEXP
);
$sth
->
execute
(
$id
,
GRANT_REGEXP
);
my
$group_insert
=
$dbh
->
prepare
(
my
$group_insert
=
$dbh
->
prepare
(
q{INSERT INTO user_group_map
q{INSERT INTO user_group_map
(user_id, group_id, isbless, grant_type)
(user_id, group_id, isbless, grant_type)
VALUES (?, ?, 0, ?)}
VALUES (?, ?, 0, ?)}
);
);
my
$group_delete
=
$dbh
->
prepare
(
my
$group_delete
=
$dbh
->
prepare
(
q{DELETE FROM user_group_map
q{DELETE FROM user_group_map
WHERE user_id = ?
WHERE user_id = ?
AND group_id = ?
AND group_id = ?
AND isbless = 0
AND isbless = 0
...
...
Bugzilla/User/Setting.pm
View file @
f91e240a
...
@@ -149,8 +149,7 @@ sub add_setting {
...
@@ -149,8 +149,7 @@ sub add_setting {
VALUES (?, ?, 1, ?)}
,
undef
,
(
$name
,
$default_value
,
$subclass
)
VALUES (?, ?, 1, ?)}
,
undef
,
(
$name
,
$default_value
,
$subclass
)
);
);
my
$sth
=
$dbh
->
prepare
(
my
$sth
=
$dbh
->
prepare
(
q{INSERT INTO setting_value (name, value, sortindex)
q{INSERT INTO setting_value (name, value, sortindex)
VALUES (?, ?, ?)}
VALUES (?, ?, ?)}
);
);
...
@@ -232,8 +231,7 @@ sub set_default {
...
@@ -232,8 +231,7 @@ sub set_default {
my
(
$setting_name
,
$default_value
,
$is_enabled
)
=
@_
;
my
(
$setting_name
,
$default_value
,
$is_enabled
)
=
@_
;
my
$dbh
=
Bugzilla
->
dbh
;
my
$dbh
=
Bugzilla
->
dbh
;
my
$sth
=
$dbh
->
prepare
(
my
$sth
=
$dbh
->
prepare
(
q{UPDATE setting
q{UPDATE setting
SET default_value = ?, is_enabled = ?
SET default_value = ?, is_enabled = ?
WHERE name = ?}
WHERE name = ?}
);
);
...
...
Bugzilla/Util.pm
View file @
f91e240a
Bugzilla/Version.pm
View file @
f91e240a
Bugzilla/WebService/Bug.pm
View file @
f91e240a
Bugzilla/WebService/Bugzilla.pm
View file @
f91e240a
Bugzilla/WebService/Server/JSONRPC.pm
View file @
f91e240a
Bugzilla/WebService/Server/REST.pm
View file @
f91e240a
Bugzilla/WebService/Server/XMLRPC.pm
View file @
f91e240a
attachment.cgi
View file @
f91e240a
buglist.cgi
View file @
f91e240a
chart.cgi
View file @
f91e240a
checksetup.pl
View file @
f91e240a
colchange.cgi
View file @
f91e240a
collectstats.pl
View file @
f91e240a
contrib/bzdbcopy.pl
View file @
f91e240a
contrib/console.pl
View file @
f91e240a
contrib/extension-convert.pl
View file @
f91e240a
contrib/merge-users.pl
View file @
f91e240a
contrib/recode.pl
View file @
f91e240a
docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
View file @
f91e240a
editfields.cgi
View file @
f91e240a
editgroups.cgi
View file @
f91e240a
editmilestones.cgi
View file @
f91e240a
editproducts.cgi
View file @
f91e240a
editsettings.cgi
View file @
f91e240a
editvalues.cgi
View file @
f91e240a
editwhines.cgi
View file @
f91e240a
editworkflow.cgi
View file @
f91e240a
email_in.pl
View file @
f91e240a
enter_bug.cgi
View file @
f91e240a
extensions/BmpConvert/Extension.pm
View file @
f91e240a
extensions/Example/Extension.pm
View file @
f91e240a
extensions/MoreBugUrl/Extension.pm
View file @
f91e240a
...
@@ -29,8 +29,7 @@ use constant MORE_SUB_CLASSES => qw(
...
@@ -29,8 +29,7 @@ use constant MORE_SUB_CLASSES => qw(
sub
install_update_db
{
sub
install_update_db
{
my
$dbh
=
Bugzilla
->
dbh
;
my
$dbh
=
Bugzilla
->
dbh
;
my
$should_rename
=
$dbh
->
selectrow_array
(
my
$should_rename
=
$dbh
->
selectrow_array
(
q{SELECT 1 FROM bug_see_also
q{SELECT 1 FROM bug_see_also
WHERE class IN ('Bugzilla::BugUrl::Rietveld',
WHERE class IN ('Bugzilla::BugUrl::Rietveld',
'Bugzilla::BugUrl::ReviewBoard')}
'Bugzilla::BugUrl::ReviewBoard')}
);
);
...
...
extensions/OldBugMove/Extension.pm
View file @
f91e240a
extensions/Voting/Extension.pm
View file @
f91e240a
importxml.pl
View file @
f91e240a
post_bug.cgi
View file @
f91e240a
quips.cgi
View file @
f91e240a
relogin.cgi
View file @
f91e240a
report.cgi
View file @
f91e240a
reports.cgi
View file @
f91e240a
request.cgi
View file @
f91e240a
sanitycheck.cgi
View file @
f91e240a
...
@@ -104,14 +104,12 @@ if ($cgi->param('createmissinggroupcontrolmapentries')) {
...
@@ -104,14 +104,12 @@ if ($cgi->param('createmissinggroupcontrolmapentries')) {
my
$na
=
CONTROLMAPNA
;
my
$na
=
CONTROLMAPNA
;
my
$shown
=
CONTROLMAPSHOWN
;
my
$shown
=
CONTROLMAPSHOWN
;
my
$insertsth
=
$dbh
->
prepare
(
my
$insertsth
=
$dbh
->
prepare
(
qq{INSERT INTO group_control_map
qq{INSERT INTO group_control_map
(group_id, product_id, membercontrol, othercontrol)
(group_id, product_id, membercontrol, othercontrol)
VALUES (?, ?, $shown, $na)}
VALUES (?, ?, $shown, $na)}
);
);
my
$updatesth
=
$dbh
->
prepare
(
my
$updatesth
=
$dbh
->
prepare
(
qq{UPDATE group_control_map
qq{UPDATE group_control_map
SET membercontrol = $shown
SET membercontrol = $shown
WHERE group_id = ?
WHERE group_id = ?
AND product_id = ?}
AND product_id = ?}
...
@@ -251,8 +249,7 @@ if ($cgi->param('rescanallBugMail')) {
...
@@ -251,8 +249,7 @@ if ($cgi->param('rescanallBugMail')) {
Status
(
'send_bugmail_start'
);
Status
(
'send_bugmail_start'
);
my
$time
=
$dbh
->
sql_date_math
(
'NOW()'
,
'-'
,
30
,
'MINUTE'
);
my
$time
=
$dbh
->
sql_date_math
(
'NOW()'
,
'-'
,
30
,
'MINUTE'
);
my
$list
=
$dbh
->
selectcol_arrayref
(
my
$list
=
$dbh
->
selectcol_arrayref
(
qq{
qq{
SELECT bug_id
SELECT bug_id
FROM bugs
FROM bugs
WHERE (lastdiffed IS NULL
WHERE (lastdiffed IS NULL
...
@@ -742,8 +739,7 @@ sub check_keywords {
...
@@ -742,8 +739,7 @@ sub check_keywords {
Status
(
'keyword_check_start'
);
Status
(
'keyword_check_start'
);
my
%
keywordids
;
my
%
keywordids
;
my
$keywords
=
$dbh
->
selectall_arrayref
(
my
$keywords
=
$dbh
->
selectall_arrayref
(
q{SELECT id, name
q{SELECT id, name
FROM keyworddefs}
FROM keyworddefs}
);
);
...
@@ -758,8 +754,7 @@ sub check_keywords {
...
@@ -758,8 +754,7 @@ sub check_keywords {
}
}
}
}
my
$sth
=
$dbh
->
prepare
(
my
$sth
=
$dbh
->
prepare
(
q{SELECT bug_id, keywordid
q{SELECT bug_id, keywordid
FROM keywords
FROM keywords
ORDER BY bug_id, keywordid}
ORDER BY bug_id, keywordid}
);
);
...
@@ -860,8 +855,7 @@ sub BugCheck {
...
@@ -860,8 +855,7 @@ sub BugCheck {
my
(
$middlesql
,
$errortext
,
$repairparam
,
$repairtext
)
=
@_
;
my
(
$middlesql
,
$errortext
,
$repairparam
,
$repairtext
)
=
@_
;
my
$dbh
=
Bugzilla
->
dbh
;
my
$dbh
=
Bugzilla
->
dbh
;
my
$badbugs
=
$dbh
->
selectcol_arrayref
(
my
$badbugs
=
$dbh
->
selectcol_arrayref
(
qq{SELECT DISTINCT bugs.bug_id
qq{SELECT DISTINCT bugs.bug_id
FROM $middlesql
FROM $middlesql
ORDER BY bugs.bug_id}
ORDER BY bugs.bug_id}
);
);
...
@@ -996,8 +990,7 @@ BugCheck(
...
@@ -996,8 +990,7 @@ BugCheck(
Status
(
'unsent_bugmail_check'
);
Status
(
'unsent_bugmail_check'
);
my
$time
=
$dbh
->
sql_date_math
(
'NOW()'
,
'-'
,
30
,
'MINUTE'
);
my
$time
=
$dbh
->
sql_date_math
(
'NOW()'
,
'-'
,
30
,
'MINUTE'
);
my
$badbugs
=
$dbh
->
selectcol_arrayref
(
my
$badbugs
=
$dbh
->
selectcol_arrayref
(
qq{
qq{
SELECT bug_id
SELECT bug_id
FROM bugs
FROM bugs
WHERE (lastdiffed IS NULL OR lastdiffed < delta_ts)
WHERE (lastdiffed IS NULL OR lastdiffed < delta_ts)
...
...
show_bug.cgi
View file @
f91e240a
showdependencygraph.cgi
View file @
f91e240a
...
@@ -139,8 +139,7 @@ foreach my $i (split('[\s,]+', $cgi->param('id'))) {
...
@@ -139,8 +139,7 @@ foreach my $i (split('[\s,]+', $cgi->param('id'))) {
my
@stack
=
keys
(
%
baselist
);
my
@stack
=
keys
(
%
baselist
);
if
(
$display
eq
'web'
)
{
if
(
$display
eq
'web'
)
{
my
$sth
=
$dbh
->
prepare
(
my
$sth
=
$dbh
->
prepare
(
q{SELECT blocked, dependson
q{SELECT blocked, dependson
FROM dependencies
FROM dependencies
WHERE blocked = ? OR dependson = ?}
WHERE blocked = ? OR dependson = ?}
);
);
...
@@ -184,8 +183,7 @@ foreach my $k (keys(%baselist)) {
...
@@ -184,8 +183,7 @@ foreach my $k (keys(%baselist)) {
$seen
{
$k
}
=
1
;
$seen
{
$k
}
=
1
;
}
}
my
$sth
=
$dbh
->
prepare
(
my
$sth
=
$dbh
->
prepare
(
q{SELECT bug_status, resolution, short_desc
q{SELECT bug_status, resolution, short_desc
FROM bugs
FROM bugs
WHERE bugs.bug_id = ?}
WHERE bugs.bug_id = ?}
);
);
...
...
showdependencytree.cgi
View file @
f91e240a
summarize_time.cgi
View file @
f91e240a
t/001compile.t
View file @
f91e240a
t/002goodperl.t
View file @
f91e240a
t/012throwables.t
View file @
f91e240a
testserver.pl
View file @
f91e240a
userprefs.cgi
View file @
f91e240a
votes.cgi
View file @
f91e240a
whine.pl
View file @
f91e240a
xt/lib/Bugzilla/Test/Search.pm
View file @
f91e240a
...
@@ -635,11 +635,9 @@ sub _create_one_bug {
...
@@ -635,11 +635,9 @@ sub _create_one_bug {
# These are necessary for the changedfrom tests.
# These are necessary for the changedfrom tests.
my
$extra_values
=
$self
->
_extra_bug_create_values
->
{
$number
};
my
$extra_values
=
$self
->
_extra_bug_create_values
->
{
$number
};
foreach
my
$field
(
foreach
my
$field
(
qw(comments remaining_time percentage_complete
qw(comments remaining_time percentage_complete
keyword_objects everconfirmed dependson blocked
keyword_objects everconfirmed dependson blocked
groups_in classification actual_time)
groups_in classification actual_time)
)
)
{
{
$extra_values
->
{
$field
}
=
$bug
->
$field
;
$extra_values
->
{
$field
}
=
$bug
->
$field
;
}
}
...
...
xt/lib/Bugzilla/Test/Search/Constants.pm
View file @
f91e240a
...
@@ -957,13 +957,11 @@ use constant INJECTION_BROKEN_FIELD => {
...
@@ -957,13 +957,11 @@ use constant INJECTION_BROKEN_FIELD => {
'longdescs.count'
=>
{
'longdescs.count'
=>
{
search
=>
1
,
search
=>
1
,
db_skip
=>
[
'Pg'
],
db_skip
=>
[
'Pg'
],
operator_ok
=>
[
operator_ok
=>
[
qw(allwords allwordssubstr anywordssubstr casesubstring
qw(allwords allwordssubstr anywordssubstr casesubstring
changedbefore changedafter greaterthan greaterthaneq
changedbefore changedafter greaterthan greaterthaneq
lessthan lessthaneq notregexp notsubstring
lessthan lessthaneq notregexp notsubstring
nowordssubstr regexp substring anywords
nowordssubstr regexp substring anywords
notequals nowords equals anyexact)
notequals nowords equals anyexact)
],
],
},
},
};
};
...
...
xt/lib/Bugzilla/Test/Search/CustomTest.pm
View file @
f91e240a
xt/lib/Bugzilla/Test/Search/FieldTest.pm
View file @
f91e240a
xt/lib/Bugzilla/Test/Search/OrTest.pm
View file @
f91e240a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment