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
08a36175
Commit
08a36175
authored
Jan 09, 2018
by
klemens
Committed by
Mark Cote
Jan 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1428580 - Various spelling fixes. r=mcote
parent
b442c240
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
50 additions
and
50 deletions
+50
-50
Bugzilla.pm
Bugzilla.pm
+1
-1
Bug.pm
Bugzilla/API/1_0/Resource/Bug.pm
+4
-4
FlagType.pm
Bugzilla/API/1_0/Resource/FlagType.pm
+1
-1
User.pm
Bugzilla/API/1_0/Resource/User.pm
+1
-1
Server.pm
Bugzilla/API/Server.pm
+1
-1
Auth.pm
Bugzilla/Auth.pm
+1
-1
LDAP.pm
Bugzilla/Auth/Verify/LDAP.pm
+1
-1
BugUserLastVisit.pm
Bugzilla/BugUserLastVisit.pm
+1
-1
CGI.pm
Bugzilla/CGI.pm
+2
-2
Config.pm
Bugzilla/Config.pm
+1
-1
Common.pm
Bugzilla/Config/Common.pm
+1
-1
DB.pm
Bugzilla/DB.pm
+5
-5
Oracle.pm
Bugzilla/DB/Oracle.pm
+1
-1
Schema.pm
Bugzilla/DB/Schema.pm
+1
-1
Sqlite.pm
Bugzilla/DB/Sqlite.pm
+1
-1
Field.pm
Bugzilla/Field.pm
+1
-1
Hook.pm
Bugzilla/Hook.pm
+1
-1
Util.pm
Bugzilla/Install/Util.pm
+1
-1
User.pm
Bugzilla/User.pm
+1
-1
APIKey.pm
Bugzilla/User/APIKey.pm
+1
-1
Bug.pm
Bugzilla/WebService/Bug.pm
+4
-4
FlagType.pm
Bugzilla/WebService/FlagType.pm
+1
-1
User.pm
Bugzilla/WebService/User.pm
+1
-1
Makefile.PL
Makefile.PL
+1
-1
attachment.rst
docs/en/rst/api/core/v1/attachment.rst
+1
-1
bug.rst
docs/en/rst/api/core/v1/bug.rst
+1
-1
comment.rst
docs/en/rst/api/core/v1/comment.rst
+1
-1
user.rst
docs/en/rst/api/core/v1/user.rst
+1
-1
faq.rst
docs/en/rst/integrating/faq.rst
+1
-1
Config.pm
extensions/Example/Config.pm
+1
-1
migrate.pl
migrate.pl
+1
-1
edit.html.tmpl
template/en/default/admin/keywords/edit.html.tmpl
+1
-1
auth.html.tmpl
template/en/default/admin/params/auth.html.tmpl
+1
-1
messages.html.tmpl
template/en/default/global/messages.html.tmpl
+2
-2
markdown.html.tmpl
template/en/default/pages/markdown.html.tmpl
+1
-1
bugzilla.t
xt/rest/bugzilla.t
+1
-1
user_matching.t
xt/selenium/user_matching.t
+1
-1
bugzilla.t
xt/webservice/bugzilla.t
+1
-1
No files found.
Bugzilla.pm
View file @
08a36175
...
@@ -758,7 +758,7 @@ Note that items accessible via this object are demand-loaded when requested.
...
@@ -758,7 +758,7 @@ Note that items accessible via this object are demand-loaded when requested.
For something to be added to this object, it should either be able to benefit
For something to be added to this object, it should either be able to benefit
from persistence when run under mod_perl (such as the a C<template> object),
from persistence when run under mod_perl (such as the a C<template> object),
or should be something which is globally required by a large am
m
ount of code
or should be something which is globally required by a large amount of code
(such as the current C<user> object).
(such as the current C<user> object).
=head1 METHODS
=head1 METHODS
...
...
Bugzilla/API/1_0/Resource/Bug.pm
View file @
08a36175
...
@@ -1083,7 +1083,7 @@ sub update_attachment {
...
@@ -1083,7 +1083,7 @@ sub update_attachment {
$attachment
->
set_flags
(
$update_flags
,
$new_flags
)
if
$flags
;
$attachment
->
set_flags
(
$update_flags
,
$new_flags
)
if
$flags
;
}
}
elsif
(
scalar
@$update_flags
&&
!
scalar
(
@$new_flags
)
&&
!
scalar
keys
%
$params
)
{
elsif
(
scalar
@$update_flags
&&
!
scalar
(
@$new_flags
)
&&
!
scalar
keys
%
$params
)
{
# Requestees can set flags target
t
ed to them, even if they cannot
# Requestees can set flags targeted to them, even if they cannot
# edit the attachment. Flag setters can edit their own flags too.
# edit the attachment. Flag setters can edit their own flags too.
my
%
flag_list
=
map
{
$_
->
{
id
}
=>
$_
}
@$update_flags
;
my
%
flag_list
=
map
{
$_
->
{
id
}
=>
$_
}
@$update_flags
;
my
$flag_objs
=
Bugzilla::
Flag
->
new_from_list
([
keys
%
flag_list
]);
my
$flag_objs
=
Bugzilla::
Flag
->
new_from_list
([
keys
%
flag_list
]);
...
@@ -1653,7 +1653,7 @@ for each field.
...
@@ -1653,7 +1653,7 @@ for each field.
=item B<REST>
=item B<REST>
You have several options for retr
ei
ving information about fields. The first
You have several options for retr
ie
ving information about fields. The first
part is the request method and the rest is the related path needed.
part is the request method and the rest is the related path needed.
To get information about all fields:
To get information about all fields:
...
@@ -4262,7 +4262,7 @@ the default for the product, when you move a bug to a new product.
...
@@ -4262,7 +4262,7 @@ the default for the product, when you move a bug to a new product.
You may also wish to add or remove groups, as which groups are
You may also wish to add or remove groups, as which groups are
valid on a bug depends on the product. Groups that are not valid
valid on a bug depends on the product. Groups that are not valid
in the new product will be automatically removed, and groups which
in the new product will be automatically removed, and groups which
are mandatory in the new product will be automaticaly added, but no
are mandatory in the new product will be automatical
l
y added, but no
other automatic group changes will be done.
other automatic group changes will be done.
Note that users can only move a bug into a product if they would
Note that users can only move a bug into a product if they would
...
@@ -4756,7 +4756,7 @@ GET /rest/bug/comment/tags/<query>
...
@@ -4756,7 +4756,7 @@ GET /rest/bug/comment/tags/<query>
=item C<query>
=item C<query>
B<Required> C<string> Only tags containg this substring will be returned.
B<Required> C<string> Only tags contain
in
g this substring will be returned.
=item C<limit>
=item C<limit>
...
...
Bugzilla/API/1_0/Resource/FlagType.pm
View file @
08a36175
...
@@ -389,7 +389,7 @@ Get information about valid flag types that can be set for bugs and attachments.
...
@@ -389,7 +389,7 @@ Get information about valid flag types that can be set for bugs and attachments.
=item B<REST>
=item B<REST>
You have several options for retr
ei
ving information about flag types. The first
You have several options for retr
ie
ving information about flag types. The first
part is the request method and the rest is the related path needed.
part is the request method and the rest is the related path needed.
To get information about all flag types for a product:
To get information about all flag types for a product:
...
...
Bugzilla/API/1_0/Resource/User.pm
View file @
08a36175
...
@@ -1179,7 +1179,7 @@ in Bugzilla B<4.4>.
...
@@ -1179,7 +1179,7 @@ in Bugzilla B<4.4>.
=item B<Description>
=item B<Description>
Allows for validating a user's API key, token, or username and password.
Allows for validating a user's API key, token, or username and password.
If sucessfully authenticated, it returns simple information about the
If suc
c
essfully authenticated, it returns simple information about the
logged in user.
logged in user.
=item B<Params> (none)
=item B<Params> (none)
...
...
Bugzilla/API/Server.pm
View file @
08a36175
...
@@ -281,7 +281,7 @@ sub _check_version {
...
@@ -281,7 +281,7 @@ sub _check_version {
return
DEFAULT_API_VERSION
;
return
DEFAULT_API_VERSION
;
}
}
# If we using an extension API, we need to determing which version of
# If we using an extension API, we need to determin
in
g which version of
# the Core API it was written for.
# the Core API it was written for.
if
(
lc
(
$namespace
)
ne
'core'
)
{
if
(
lc
(
$namespace
)
ne
'core'
)
{
my
$core_api_version
;
my
$core_api_version
;
...
...
Bugzilla/Auth.pm
View file @
08a36175
...
@@ -153,7 +153,7 @@ sub _handle_login_result {
...
@@ -153,7 +153,7 @@ sub _handle_login_result {
if
(
!
$fail_code
)
{
if
(
!
$fail_code
)
{
# We don't persist logins over GET requests in the WebService,
# We don't persist logins over GET requests in the WebService,
# because the persist
a
nce information can't be re-used again.
# because the persist
e
nce information can't be re-used again.
# (See Bugzilla::WebService::Server::JSONRPC for more info.)
# (See Bugzilla::WebService::Server::JSONRPC for more info.)
if
(
$self
->
{
_info_getter
}
->
{
successful
}
->
requires_persistence
if
(
$self
->
{
_info_getter
}
->
{
successful
}
->
requires_persistence
and
!
Bugzilla
->
request_cache
->
{
auth_no_automatic_login
})
and
!
Bugzilla
->
request_cache
->
{
auth_no_automatic_login
})
...
...
Bugzilla/Auth/Verify/LDAP.pm
View file @
08a36175
...
@@ -102,7 +102,7 @@ sub check_credentials {
...
@@ -102,7 +102,7 @@ sub check_credentials {
$params
->
{
email
}
=
$emails
[
0
];
$params
->
{
email
}
=
$emails
[
0
];
if
(
@emails
>
1
)
{
if
(
@emails
>
1
)
{
# Cycle through the adresses and check if they're Bugzilla logins.
# Cycle through the ad
d
resses and check if they're Bugzilla logins.
# Use the first one that returns a valid id.
# Use the first one that returns a valid id.
foreach
my
$email
(
@emails
)
{
foreach
my
$email
(
@emails
)
{
if
(
email_to_id
(
$email
)
)
{
if
(
email_to_id
(
$email
)
)
{
...
...
Bugzilla/BugUserLastVisit.pm
View file @
08a36175
...
@@ -14,7 +14,7 @@ use warnings;
...
@@ -14,7 +14,7 @@ use warnings;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
#####################################################################
#####################################################################
# Overriden Constants that are used as methods
# Overrid
d
en Constants that are used as methods
#####################################################################
#####################################################################
use
constant
DB_TABLE
=>
'bug_user_last_visit'
;
use
constant
DB_TABLE
=>
'bug_user_last_visit'
;
...
...
Bugzilla/CGI.pm
View file @
08a36175
...
@@ -479,7 +479,7 @@ sub redirect_search_url {
...
@@ -479,7 +479,7 @@ sub redirect_search_url {
# If there is no parameter, there is nothing to do.
# If there is no parameter, there is nothing to do.
return
unless
$self
->
param
;
return
unless
$self
->
param
;
# If we're retr
ei
ving an old list, we never need to redirect or
# If we're retr
ie
ving an old list, we never need to redirect or
# do anything related to Bugzilla::Search::Recent.
# do anything related to Bugzilla::Search::Recent.
return
if
$self
->
param
(
'regetlastlist'
);
return
if
$self
->
param
(
'regetlastlist'
);
...
@@ -650,7 +650,7 @@ Bugzilla::CGI - CGI handling for Bugzilla
...
@@ -650,7 +650,7 @@ Bugzilla::CGI - CGI handling for Bugzilla
This package inherits from the standard CGI module, to provide additional
This package inherits from the standard CGI module, to provide additional
Bugzilla-specific functionality. In general, see L<the CGI.pm docs|CGI> for
Bugzilla-specific functionality. In general, see L<the CGI.pm docs|CGI> for
documention.
document
at
ion.
=head1 CHANGES FROM L<CGI.PM|CGI>
=head1 CHANGES FROM L<CGI.PM|CGI>
...
...
Bugzilla/Config.pm
View file @
08a36175
...
@@ -35,7 +35,7 @@ use File::Basename;
...
@@ -35,7 +35,7 @@ use File::Basename;
);
);
Exporter::
export_ok_tags
(
'admin'
);
Exporter::
export_ok_tags
(
'admin'
);
# new installs get these set of defaults (unless overriden by the answers file)
# new installs get these set of defaults (unless overrid
d
en by the answers file)
my
%
NEW_INSTALL_DEFAULT
=
(
my
%
NEW_INSTALL_DEFAULT
=
(
or_groups
=>
1
,
or_groups
=>
1
,
use_email_as_login
=>
0
,
use_email_as_login
=>
0
,
...
...
Bugzilla/Config/Common.pm
View file @
08a36175
...
@@ -472,7 +472,7 @@ in the relevant F<Bugzilla::Config::*> package.
...
@@ -472,7 +472,7 @@ in the relevant F<Bugzilla::Config::*> package.
=item C<check_multi>
=item C<check_multi>
Checks that a multi-valued parameter (ie types C<s>, C<o> or C<m>) satisfies
Checks that a multi-valued parameter (ie types C<s>, C<o> or C<m>) satisfies
its contraints.
its con
s
traints.
=item C<check_numeric>
=item C<check_numeric>
...
...
Bugzilla/DB.pm
View file @
08a36175
...
@@ -1868,7 +1868,7 @@ Formatted SQL for negative regular expression search (e.g. NOT REGEXP)
...
@@ -1868,7 +1868,7 @@ Formatted SQL for negative regular expression search (e.g. NOT REGEXP)
=item B<Description>
=item B<Description>
Returns SQL syntax for limiting results to some number of rows
Returns SQL syntax for limiting results to some number of rows
with optional offset if not starting from the begining.
with optional offset if not starting from the begin
n
ing.
Abstract method, should be overridden by database specific code.
Abstract method, should be overridden by database specific code.
...
@@ -2012,7 +2012,7 @@ Formatted SQL for adding or subtracting a date and some amount of time (scalar)
...
@@ -2012,7 +2012,7 @@ Formatted SQL for adding or subtracting a date and some amount of time (scalar)
=item B<Description>
=item B<Description>
Outputs proper SQL syntax determining position of a substring
Outputs proper SQL syntax determining position of a substring
(fragment) within
g
a string (text). Note: if the substring or
(fragment) within a string (text). Note: if the substring or
text are string constants, they must be properly quoted (e.g. "'pattern'").
text are string constants, they must be properly quoted (e.g. "'pattern'").
It searches for the string in a case-sensitive manner. If you want to do
It searches for the string in a case-sensitive manner. If you want to do
...
@@ -2101,7 +2101,7 @@ This is a case insensitive search.
...
@@ -2101,7 +2101,7 @@ This is a case insensitive search.
=item B<Returns>
=item B<Returns>
Formated sql to return results from columns that do not contain the fragment
Format
t
ed sql to return results from columns that do not contain the fragment
=back
=back
...
@@ -2190,7 +2190,7 @@ specified text on a given column.
...
@@ -2190,7 +2190,7 @@ specified text on a given column.
If one value is returned, it is a numeric expression that indicates
If one value is returned, it is a numeric expression that indicates
a match with a positive value and a non-match with zero. In this case,
a match with a positive value and a non-match with zero. In this case,
the DB must support casting numeric expresions to booleans.
the DB must support casting numeric expres
s
ions to booleans.
If two values are returned, then the first value is a boolean expression
If two values are returned, then the first value is a boolean expression
that indicates the presence of a match, and the second value is a numeric
that indicates the presence of a match, and the second value is a numeric
...
@@ -2762,7 +2762,7 @@ Returns nothing and takes no parameters.
...
@@ -2762,7 +2762,7 @@ Returns nothing and takes no parameters.
=item C<bz_commit_transaction>
=item C<bz_commit_transaction>
Ends a transaction, commiting all changes. Returns nothing and takes
Ends a transaction, commit
t
ing all changes. Returns nothing and takes
no parameters.
no parameters.
=item C<bz_rollback_transaction>
=item C<bz_rollback_transaction>
...
...
Bugzilla/DB/Oracle.pm
View file @
08a36175
...
@@ -54,7 +54,7 @@ sub new {
...
@@ -54,7 +54,7 @@ sub new {
# and there is no default DB.
# and there is no default DB.
$dbname
||=
Bugzilla
->
localconfig
->
{
db_name
};
$dbname
||=
Bugzilla
->
localconfig
->
{
db_name
};
# Set the language enviroment
# Set the language enviro
n
ment
$ENV
{
'NLS_LANG'
}
=
'.AL32UTF8'
;
$ENV
{
'NLS_LANG'
}
=
'.AL32UTF8'
;
# construct the DSN from the parameters we got
# construct the DSN from the parameters we got
...
...
Bugzilla/DB/Schema.pm
View file @
08a36175
...
@@ -1971,7 +1971,7 @@ sub get_type_ddl {
...
@@ -1971,7 +1971,7 @@ sub get_type_ddl {
Public method to convert abstract (database-generic) field specifiers to
Public method to convert abstract (database-generic) field specifiers to
database-specific data types suitable for use in a C<CREATE TABLE> or
database-specific data types suitable for use in a C<CREATE TABLE> or
C<ALTER TABLE> SQL statment. If no database-specific field type has been
C<ALTER TABLE> SQL stat
e
ment. If no database-specific field type has been
defined for the given field type, then it will just return the same field type.
defined for the given field type, then it will just return the same field type.
=item B<Parameters>
=item B<Parameters>
...
...
Bugzilla/DB/Sqlite.pm
View file @
08a36175
...
@@ -73,7 +73,7 @@ sub new {
...
@@ -73,7 +73,7 @@ sub new {
my
(
$class
,
$params
)
=
@_
;
my
(
$class
,
$params
)
=
@_
;
my
$db_name
=
$params
->
{
db_name
};
my
$db_name
=
$params
->
{
db_name
};
# Let people specify paths intead of data/ for the DB.
# Let people specify paths in
s
tead of data/ for the DB.
if
(
$db_name
and
$db_name
!~
m{[\\/]}
)
{
if
(
$db_name
and
$db_name
!~
m{[\\/]}
)
{
# When the DB is first created, there's a chance that the
# When the DB is first created, there's a chance that the
# data directory doesn't exist at all, because the Install::Filesystem
# data directory doesn't exist at all, because the Install::Filesystem
...
...
Bugzilla/Field.pm
View file @
08a36175
...
@@ -987,7 +987,7 @@ sub remove_from_db {
...
@@ -987,7 +987,7 @@ sub remove_from_db {
my
$type
=
$self
->
type
;
my
$type
=
$self
->
type
;
# the values for multi-select are stored in a sep
e
rate table
# the values for multi-select are stored in a sep
a
rate table
if
(
$type
!=
FIELD_TYPE_MULTI_SELECT
)
{
if
(
$type
!=
FIELD_TYPE_MULTI_SELECT
)
{
$dbh
->
bz_drop_column
(
'bugs'
,
$name
);
$dbh
->
bz_drop_column
(
'bugs'
,
$name
);
}
}
...
...
Bugzilla/Hook.pm
View file @
08a36175
...
@@ -1757,7 +1757,7 @@ they have been obtained from the URL or body of the request.
...
@@ -1757,7 +1757,7 @@ they have been obtained from the URL or body of the request.
=head2 webservice_rest_request
=head2 webservice_rest_request
This hook allows for altering any of the parameters provided by the client
This hook allows for altering any of the parameters provided by the client
after authentication has occured. You are able to change things like renaming
after authentication has occur
r
ed. You are able to change things like renaming
of keys, removing values, or adding additional information.
of keys, removing values, or adding additional information.
Params:
Params:
...
...
Bugzilla/Install/Util.pm
View file @
08a36175
...
@@ -431,7 +431,7 @@ sub _template_base_directories {
...
@@ -431,7 +431,7 @@ sub _template_base_directories {
# that Bugzilla templates are localized.
# that Bugzilla templates are localized.
#
#
# We use extension_requirement_packages instead of Bugzilla->extensions
# We use extension_requirement_packages instead of Bugzilla->extensions
# because this fu
cn
tion is called during the requirements phase of
# because this fu
nc
tion is called during the requirements phase of
# installation (so Bugzilla->extensions isn't available).
# installation (so Bugzilla->extensions isn't available).
my
$extensions
=
extension_requirement_packages
();
my
$extensions
=
extension_requirement_packages
();
my
@template_dirs
;
my
@template_dirs
;
...
...
Bugzilla/User.pm
View file @
08a36175
...
@@ -2766,7 +2766,7 @@ containing the user's recent searches.
...
@@ -2766,7 +2766,7 @@ containing the user's recent searches.
=item C<recent_search_containing(bug_id)>
=item C<recent_search_containing(bug_id)>
Returns a L<Bugzilla::Search::Recent> object that contains the most recent
Returns a L<Bugzilla::Search::Recent> object that contains the most recent
search by the user for the specified bug id. Retuns undef if no match is found.
search by the user for the specified bug id. Retu
r
ns undef if no match is found.
=item C<recent_search_for(bug)>
=item C<recent_search_for(bug)>
...
...
Bugzilla/User/APIKey.pm
View file @
08a36175
...
@@ -17,7 +17,7 @@ use Bugzilla::User;
...
@@ -17,7 +17,7 @@ use Bugzilla::User;
use
Bugzilla::
Util
qw(generate_random_password trim)
;
use
Bugzilla::
Util
qw(generate_random_password trim)
;
#####################################################################
#####################################################################
# Overriden Constants that are used as methods
# Overrid
d
en Constants that are used as methods
#####################################################################
#####################################################################
use
constant
DB_TABLE
=>
'user_api_keys'
;
use
constant
DB_TABLE
=>
'user_api_keys'
;
...
...
Bugzilla/WebService/Bug.pm
View file @
08a36175
...
@@ -958,7 +958,7 @@ sub update_attachment {
...
@@ -958,7 +958,7 @@ sub update_attachment {
$attachment
->
set_flags
(
$update_flags
,
$new_flags
)
if
$flags
;
$attachment
->
set_flags
(
$update_flags
,
$new_flags
)
if
$flags
;
}
}
elsif
(
scalar
@$update_flags
&&
!
scalar
(
@$new_flags
)
&&
!
scalar
keys
%
$params
)
{
elsif
(
scalar
@$update_flags
&&
!
scalar
(
@$new_flags
)
&&
!
scalar
keys
%
$params
)
{
# Requestees can set flags target
t
ed to them, even if they cannot
# Requestees can set flags targeted to them, even if they cannot
# edit the attachment. Flag setters can edit their own flags too.
# edit the attachment. Flag setters can edit their own flags too.
my
%
flag_list
=
map
{
$_
->
{
id
}
=>
$_
}
@$update_flags
;
my
%
flag_list
=
map
{
$_
->
{
id
}
=>
$_
}
@$update_flags
;
my
$flag_objs
=
Bugzilla::
Flag
->
new_from_list
([
keys
%
flag_list
]);
my
$flag_objs
=
Bugzilla::
Flag
->
new_from_list
([
keys
%
flag_list
]);
...
@@ -1546,7 +1546,7 @@ for each field.
...
@@ -1546,7 +1546,7 @@ for each field.
=item B<REST>
=item B<REST>
You have several options for retr
ei
ving information about fields. The first
You have several options for retr
ie
ving information about fields. The first
part is the request method and the rest is the related path needed.
part is the request method and the rest is the related path needed.
To get information about all fields:
To get information about all fields:
...
@@ -4194,7 +4194,7 @@ the default for the product, when you move a bug to a new product.
...
@@ -4194,7 +4194,7 @@ the default for the product, when you move a bug to a new product.
You may also wish to add or remove groups, as which groups are
You may also wish to add or remove groups, as which groups are
valid on a bug depends on the product. Groups that are not valid
valid on a bug depends on the product. Groups that are not valid
in the new product will be automatically removed, and groups which
in the new product will be automatically removed, and groups which
are mandatory in the new product will be automaticaly added, but no
are mandatory in the new product will be automatical
l
y added, but no
other automatic group changes will be done.
other automatic group changes will be done.
Note that users can only move a bug into a product if they would
Note that users can only move a bug into a product if they would
...
@@ -4694,7 +4694,7 @@ GET /rest/bug/comment/tags/<query>
...
@@ -4694,7 +4694,7 @@ GET /rest/bug/comment/tags/<query>
=item C<query>
=item C<query>
B<Required> C<string> Only tags containg this substring will be returned.
B<Required> C<string> Only tags contain
in
g this substring will be returned.
=item C<limit>
=item C<limit>
...
...
Bugzilla/WebService/FlagType.pm
View file @
08a36175
...
@@ -339,7 +339,7 @@ Get information about valid flag types that can be set for bugs and attachments.
...
@@ -339,7 +339,7 @@ Get information about valid flag types that can be set for bugs and attachments.
=item B<REST>
=item B<REST>
You have several options for retr
ei
ving information about flag types. The first
You have several options for retr
ie
ving information about flag types. The first
part is the request method and the rest is the related path needed.
part is the request method and the rest is the related path needed.
To get information about all flag types for a product:
To get information about all flag types for a product:
...
...
Bugzilla/WebService/User.pm
View file @
08a36175
...
@@ -1149,7 +1149,7 @@ in Bugzilla B<4.4>.
...
@@ -1149,7 +1149,7 @@ in Bugzilla B<4.4>.
=item B<Description>
=item B<Description>
Allows for validating a user's API key, token, or username and password.
Allows for validating a user's API key, token, or username and password.
If sucessfully authenticated, it returns simple information about the
If suc
c
essfully authenticated, it returns simple information about the
logged in user.
logged in user.
=item B<Params> (none)
=item B<Params> (none)
...
...
Makefile.PL
View file @
08a36175
...
@@ -32,7 +32,7 @@ BEGIN {
...
@@ -32,7 +32,7 @@ BEGIN {
# META.json and META.yml exist only for the benefit of older
# META.json and META.yml exist only for the benefit of older
# installs where cpanm can't get the optional features out of Makefile.PL
# installs where cpanm can't get the optional features out of Makefile.PL
# Unfortunately having META.json and META.yml commited to the repo is weird
# Unfortunately having META.json and META.yml commit
t
ed to the repo is weird
# and MakeMaker always prefers their content to the internal data (unless CPAN::META
# and MakeMaker always prefers their content to the internal data (unless CPAN::META
# is not installed).
# is not installed).
# Since we (Bugzilla) require this cludge, we hide the files from MakeMaker.
# Since we (Bugzilla) require this cludge, we hide the files from MakeMaker.
...
...
docs/en/rst/api/core/v1/attachment.rst
View file @
08a36175
...
@@ -94,7 +94,7 @@ creator string The login name of the user that created the
...
@@ -94,7 +94,7 @@ creator string The login name of the user that created the
attachment.
attachment.
flags array Array of objects, each containing the information
flags array Array of objects, each containing the information
about the flag currently set for each attachment.
about the flag currently set for each attachment.
Each flag object contains items descibed in the
Each flag object contains items desc
r
ibed in the
Flag object below.
Flag object below.
================ ======== =====================================================
================ ======== =====================================================
...
...
docs/en/rst/api/core/v1/bug.rst
View file @
08a36175
...
@@ -915,7 +915,7 @@ product string The name of the product that the bug is in. If
...
@@ -915,7 +915,7 @@ product string The name of the product that the bug is in. If
valid on a bug depends on the product. Groups
valid on a bug depends on the product. Groups
that are not valid in the new product will be
that are not valid in the new product will be
automatically removed, and groups which are
automatically removed, and groups which are
mandatory in the new product will be automaticaly
mandatory in the new product will be automatical
l
y
added, but no other automatic group changes will
added, but no other automatic group changes will
be done.
be done.
...
...
docs/en/rst/api/core/v1/comment.rst
View file @
08a36175
...
@@ -221,7 +221,7 @@ Example:
...
@@ -221,7 +221,7 @@ Example:
========= ====== ====================================================
========= ====== ====================================================
name type description
name type description
========= ====== ====================================================
========= ====== ====================================================
**query** string Only tags containg this substring will be returned.
**query** string Only tags contain
in
g this substring will be returned.
limit int If provided will return no more than ``limit`` tags.
limit int If provided will return no more than ``limit`` tags.
Defaults to ``10``.
Defaults to ``10``.
========= ====== ====================================================
========= ====== ====================================================
...
...
docs/en/rst/api/core/v1/user.rst
View file @
08a36175
...
@@ -436,7 +436,7 @@ Who Am I
...
@@ -436,7 +436,7 @@ Who Am I
--------
--------
Allows for validating a user's API key, token, or username and password.
Allows for validating a user's API key, token, or username and password.
If sucessfully authenticated, it returns simple information about the
If suc
c
essfully authenticated, it returns simple information about the
logged in user.
logged in user.
**Request**
**Request**
...
...
docs/en/rst/integrating/faq.rst
View file @
08a36175
...
@@ -8,7 +8,7 @@ How do I...
...
@@ -8,7 +8,7 @@ How do I...
...add a new field on a bug?
...add a new field on a bug?
Use :ref:`custom-fields` or, if you just want new form fields on bug entry
Use :ref:`custom-fields` or, if you just want new form fields on bug entry
but don't need Bugzilla to track the field sep
e
rately thereafter, you can
but don't need Bugzilla to track the field sep
a
rately thereafter, you can
use a :ref:`custom bug entry form <custom-bug-entry>`.
use a :ref:`custom bug entry form <custom-bug-entry>`.
...change the name of a built-in bug field?
...change the name of a built-in bug field?
...
...
extensions/Example/Config.pm
View file @
08a36175
...
@@ -29,7 +29,7 @@ use constant OPTIONAL_MODULES => [
...
@@ -29,7 +29,7 @@ use constant OPTIONAL_MODULES => [
},
},
];
];
# The map determines which verion of
# The map determines which ver
s
ion of
# the Core API an extension's API modules
# the Core API an extension's API modules
# were written to work with.
# were written to work with.
use
constant
API_VERSION_MAP
=>
{
use
constant
API_VERSION_MAP
=>
{
...
...
migrate.pl
View file @
08a36175
...
@@ -95,5 +95,5 @@ the size of all attachments in your current bug-tracker.
...
@@ -95,5 +95,5 @@ the size of all attachments in your current bug-tracker.
You may also need to increase the number of file handles a process is allowed
You may also need to increase the number of file handles a process is allowed
to hold open (as the migrator will create a file handle for each attachment
to hold open (as the migrator will create a file handle for each attachment
in your database). On Linux and sim
li
ar systems, you can do this as root
in your database). On Linux and sim
il
ar systems, you can do this as root
by typing C<ulimit -n 65535> before running your script.
by typing C<ulimit -n 65535> before running your script.
template/en/default/admin/keywords/edit.html.tmpl
View file @
08a36175
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<td><input id="is_active" name="is_active" type="checkbox" [% "checked" IF keyword.is_active %]></td>
<td><input id="is_active" name="is_active" type="checkbox" [% "checked" IF keyword.is_active %]></td>
</tr>
</tr>
<tr>
<tr>
<th><label for="decription">Description:</label></th>
<th><label for="de
s
cription">Description:</label></th>
<td>
<td>
[% INCLUDE global/textarea.html.tmpl
[% INCLUDE global/textarea.html.tmpl
id = 'description'
id = 'description'
...
...
template/en/default/admin/params/auth.html.tmpl
View file @
08a36175
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
"If set, $terms.Bugzilla will check that the password meets the current " _
"If set, $terms.Bugzilla will check that the password meets the current " _
"complexity rules and minimum length requirements when the user logs " _
"complexity rules and minimum length requirements when the user logs " _
"into the $terms.Bugzilla web interface. If it doesn't, the user would " _
"into the $terms.Bugzilla web interface. If it doesn't, the user would " _
"not be able to log in, and rec
ie
ve a message to reset their password.",
"not be able to log in, and rec
ei
ve a message to reset their password.",
auth_delegation =>
auth_delegation =>
"If set, $terms.Bugzilla will allow third party applications " _
"If set, $terms.Bugzilla will allow third party applications " _
...
...
template/en/default/global/messages.html.tmpl
View file @
08a36175
...
@@ -326,7 +326,7 @@
...
@@ -326,7 +326,7 @@
[% ELSIF message_tag == "flag_creation_failed" %]
[% ELSIF message_tag == "flag_creation_failed" %]
[% title = "Flag Creation Failure" %]
[% title = "Flag Creation Failure" %]
An error occured while validating flags:
An error occur
r
ed while validating flags:
[%+ flag_creation_error FILTER none %]
[%+ flag_creation_error FILTER none %]
[% ELSIF message_tag == "get_field_desc" %]
[% ELSIF message_tag == "get_field_desc" %]
...
@@ -520,7 +520,7 @@
...
@@ -520,7 +520,7 @@
[% title = "Milestone Deleted" %]
[% title = "Milestone Deleted" %]
The milestone <em>[% milestone.name FILTER html %]</em> has been deleted.
The milestone <em>[% milestone.name FILTER html %]</em> has been deleted.
[% IF milestone.bug_count %]
[% IF milestone.bug_count %]
[%+ terms.Bugs %] target
t
ed to this milestone have been retargetted to
[%+ terms.Bugs %] targeted to this milestone have been retargetted to
the default milestone <em>[% product.default_milestone FILTER html %]</em>.
the default milestone <em>[% product.default_milestone FILTER html %]</em>.
[% END %]
[% END %]
...
...
template/en/default/pages/markdown.html.tmpl
View file @
08a36175
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
you can define links with link texts and titles. You may define your links
you can define links with link texts and titles. You may define your links
either as inline or as a reference. To define a link as inline, put your link
either as inline or as a reference. To define a link as inline, put your link
text in square bracket immediately followed by a pair of parentheses which
text in square bracket immediately followed by a pair of parentheses which
contain
t
s the URL that you want your link to point to and an <em>optional</em>
contains the URL that you want your link to point to and an <em>optional</em>
link title surrounded by quotes.
link title surrounded by quotes.
<p>
<p>
...
...
xt/rest/bugzilla.t
View file @
08a36175
...
@@ -33,7 +33,7 @@ ok(scalar(@ext_names), scalar(@ext_names) . ' extension(s) found: ' . join(', ',
...
@@ -33,7 +33,7 @@ ok(scalar(@ext_names), scalar(@ext_names) . ' extension(s) found: ' . join(', ',
ok($extensions->{QA}, 'The QA extension is enabled, with version ' . $extensions->{QA}->{version});
ok($extensions->{QA}, 'The QA extension is enabled, with version ' . $extensions->{QA}->{version});
my $timezone = $rest->call('timezone')->{timezone};
my $timezone = $rest->call('timezone')->{timezone};
ok($timezone, "GET /rest/timezone retuns $timezone");
ok($timezone, "GET /rest/timezone retu
r
ns $timezone");
my $time = $rest->call('time');
my $time = $rest->call('time');
foreach my $type (qw(db_time web_time)) {
foreach my $type (qw(db_time web_time)) {
...
...
xt/selenium/user_matching.t
View file @
08a36175
...
@@ -178,7 +178,7 @@ ok(!grep($_ =~ /$config->{canconfirm_user_login}/, @cc), "$config->{canconfirm_u
...
@@ -178,7 +178,7 @@ ok(!grep($_ =~ /$config->{canconfirm_user_login}/, @cc), "$config->{canconfirm_u
ok(grep($_ =~ /$config->{admin_user_login}/, @cc), "$config->{admin_user_login} is visible");
ok(grep($_ =~ /$config->{admin_user_login}/, @cc), "$config->{admin_user_login} is visible");
ok(grep($_ =~ /$config->{tweakparams_user_login}/, @cc), "$config->{tweakparams_user_login} is visible");
ok(grep($_ =~ /$config->{tweakparams_user_login}/, @cc), "$config->{tweakparams_user_login} is visible");
# Reset paramters.
# Reset param
e
ters.
set_parameters($sel, { "User Matching" => {"usemenuforusers-off" => undef,
set_parameters($sel, { "User Matching" => {"usemenuforusers-off" => undef,
"maxusermatches" => {type => 'text', value => '0'},
"maxusermatches" => {type => 'text', value => '0'},
...
...
xt/webservice/bugzilla.t
View file @
08a36175
...
@@ -27,7 +27,7 @@ foreach my $rpc (@clients) {
...
@@ -27,7 +27,7 @@ foreach my $rpc (@clients) {
my $tz_call = $rpc->bz_call_success('Bugzilla.timezone');
my $tz_call = $rpc->bz_call_success('Bugzilla.timezone');
my $tz = $tz_call->result->{timezone};
my $tz = $tz_call->result->{timezone};
ok($tz, "Bugzilla.timezone retuns $tz");
ok($tz, "Bugzilla.timezone retu
r
ns $tz");
my $ext_call = $rpc->bz_call_success('Bugzilla.extensions');
my $ext_call = $rpc->bz_call_success('Bugzilla.extensions');
my $extensions = $ext_call->result->{extensions};
my $extensions = $ext_call->result->{extensions};
...
...
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