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
3ce940a7
Commit
3ce940a7
authored
Mar 11, 2007
by
reed%reedloden.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 366466 - "flag notification mail has canceled spelled incorrectly" [p=reed r=timeless a=mkanat]
parent
5f7218de
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
36 additions
and
36 deletions
+36
-36
Token.pm
Bugzilla/Token.pm
+3
-3
using.xml
docs/xml/using.xml
+1
-1
cancel-token.txt.tmpl
template/en/default/account/cancel-token.txt.tmpl
+14
-14
confirm-new.html.tmpl
template/en/default/account/email/confirm-new.html.tmpl
+1
-1
messages.html.tmpl
template/en/default/global/messages.html.tmpl
+10
-10
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+1
-1
email.txt.tmpl
template/en/default/request/email.txt.tmpl
+1
-1
token.cgi
token.cgi
+5
-5
No files found.
Bugzilla/Token.pm
View file @
3ce940a7
...
@@ -216,7 +216,7 @@ sub Cancel {
...
@@ -216,7 +216,7 @@ sub Cancel {
my
$template
=
Bugzilla
->
template
;
my
$template
=
Bugzilla
->
template
;
$vars
||=
{};
$vars
||=
{};
# Get information about the token being cancel
l
ed.
# Get information about the token being canceled.
trick_taint
(
$token
);
trick_taint
(
$token
);
my
(
$issuedate
,
$tokentype
,
$eventdata
,
$loginname
)
=
my
(
$issuedate
,
$tokentype
,
$eventdata
,
$loginname
)
=
$dbh
->
selectrow_array
(
'SELECT '
.
$dbh
->
sql_date_format
(
'issuedate'
)
.
',
$dbh
->
selectrow_array
(
'SELECT '
.
$dbh
->
sql_date_format
(
'issuedate'
)
.
',
...
@@ -489,8 +489,8 @@ Bugzilla::Token - Provides different routines to manage tokens.
...
@@ -489,8 +489,8 @@ Bugzilla::Token - Provides different routines to manage tokens.
to the user to inform him about this action.
to the user to inform him about this action.
Params: $user_id: The user ID of the user account whose password tokens
Params: $user_id: The user ID of the user account whose password tokens
are cancel
l
ed.
are canceled.
$reason: The reason why these tokens are cancel
l
ed.
$reason: The reason why these tokens are canceled.
Returns: Nothing.
Returns: Nothing.
...
...
docs/xml/using.xml
View file @
3ce940a7
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
<para>
<para>
By default, you have 3 days to confirm your registration. Past this
By default, you have 3 days to confirm your registration. Past this
timeframe, the token is invalidated and the registration is
timeframe, the token is invalidated and the registration is
automatically cancel
l
ed. You can also cancel this registration sooner
automatically canceled. You can also cancel this registration sooner
by using the appropriate URL in the email you got.
by using the appropriate URL in the email you got.
</para>
</para>
</listitem>
</listitem>
...
...
template/en/default/account/cancel-token.txt.tmpl
View file @
3ce940a7
...
@@ -27,7 +27,7 @@ To: [% emailaddress %]
...
@@ -27,7 +27,7 @@ To: [% emailaddress %]
Subject: [% PROCESS subject %]
Subject: [% PROCESS subject %]
X-Bugzilla-Type: admin
X-Bugzilla-Type: admin
A request was cancel
l
ed from [% remoteaddress %].
A request was canceled from [% remoteaddress %].
If you did not request this, it could be either an honest
If you did not request this, it could be either an honest
mistake or someone attempting to break into your [% terms.Bugzilla %] account.
mistake or someone attempting to break into your [% terms.Bugzilla %] account.
...
@@ -44,13 +44,13 @@ Cancelled Because: [% PROCESS cancelactionmessage %]
...
@@ -44,13 +44,13 @@ Cancelled Because: [% PROCESS cancelactionmessage %]
[% BLOCK subject %]
[% BLOCK subject %]
[% IF tokentype == 'new_account' %]
[% IF tokentype == 'new_account' %]
User account creation request cancel
l
ed
User account creation request canceled
[% ELSIF tokentype == 'password' %]
[% ELSIF tokentype == 'password' %]
Password change request cancel
l
ed
Password change request canceled
[% ELSIF tokentype == 'emailnew' OR tokentype == 'emailold' %]
[% ELSIF tokentype == 'emailnew' OR tokentype == 'emailold' %]
Email change request cancel
l
ed
Email change request canceled
[% ELSE %]
[% ELSE %]
[% tokentype %] token cancel
l
ed
[% tokentype %] token canceled
[% END %]
[% END %]
[% END %]
[% END %]
...
@@ -58,26 +58,26 @@ Cancelled Because: [% PROCESS cancelactionmessage %]
...
@@ -58,26 +58,26 @@ Cancelled Because: [% PROCESS cancelactionmessage %]
[% IF cancelaction == 'account_exists' %]
[% IF cancelaction == 'account_exists' %]
Account [% email %] already exists.
Account [% email %] already exists.
[% ELSIF cancelaction == 'email_change_cancel
l
ed' %]
[% ELSIF cancelaction == 'email_change_canceled' %]
The request to change the email address for
The request to change the email address for
the [% old_email %] account to [% new_email %] has
the [% old_email %] account to [% new_email %] has
been cancel
l
ed.
been canceled.
[% ELSIF cancelaction == 'email_change_cancel
l
ed_reinstated' %]
[% ELSIF cancelaction == 'email_change_canceled_reinstated' %]
The request to change the email address for your account
The request to change the email address for your account
to [% new_email %] has been cancel
l
ed. Your old account
to [% new_email %] has been canceled. Your old account
settings have been reinstated.
settings have been reinstated.
[% ELSIF cancelaction == 'emailold_change_cancel
l
ed' %]
[% ELSIF cancelaction == 'emailold_change_canceled' %]
The request to change the email address for your account
The request to change the email address for your account
to [% new_email %] has been cancel
l
ed.
to [% new_email %] has been canceled.
[% ELSIF cancelaction == 'password_change_cancel
l
ed' %]
[% ELSIF cancelaction == 'password_change_canceled' %]
You have requested cancellation.
You have requested cancellation.
[% ELSIF cancelaction == 'account_creation_cancel
l
ed' %]
[% ELSIF cancelaction == 'account_creation_canceled' %]
The creation of the user account [% emailaddress %]
The creation of the user account [% emailaddress %]
has been cancel
l
ed.
has been canceled.
[% ELSIF cancelaction == 'user_logged_in' %]
[% ELSIF cancelaction == 'user_logged_in' %]
You have logged in.
You have logged in.
...
...
template/en/default/account/email/confirm-new.html.tmpl
View file @
3ce940a7
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
form below. You can also enter your real name, which is optional.<p>
form below. You can also enter your real name, which is optional.<p>
If you don't fill this form before
If you don't fill this form before
<u>[%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]</u>,
<u>[%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]</u>,
the creation of this account will be automatically cancel
l
ed.
the creation of this account will be automatically canceled.
</div>
</div>
<form id="confirm_account_form" method="post" action="token.cgi">
<form id="confirm_account_form" method="post" action="token.cgi">
...
...
template/en/default/global/messages.html.tmpl
View file @
3ce940a7
...
@@ -43,10 +43,10 @@
...
@@ -43,10 +43,10 @@
this [% terms.Bugzilla %] installation.
this [% terms.Bugzilla %] installation.
[% END %]
[% END %]
[% ELSIF message_tag == "account_creation_cancel
l
ed" %]
[% ELSIF message_tag == "account_creation_canceled" %]
[% title = "User Account Creation Cancelled" %]
[% title = "User Account Creation Cancelled" %]
The creation of the user account [% account FILTER html %] has been
The creation of the user account [% account FILTER html %] has been
cancel
l
ed.
canceled.
[% ELSIF message_tag == "account_updated" %]
[% ELSIF message_tag == "account_updated" %]
[% IF changed_fields.size
[% IF changed_fields.size
...
@@ -186,22 +186,22 @@
...
@@ -186,22 +186,22 @@
Properties of the '[% field.name FILTER html %]' field have been
Properties of the '[% field.name FILTER html %]' field have been
successfully updated.
successfully updated.
[% ELSIF message_tag == "emailold_change_cancel
l
ed" %]
[% ELSIF message_tag == "emailold_change_canceled" %]
[% title = "Cancel Request to Change Email Address" %]
[% title = "Cancel Request to Change Email Address" %]
The request to change the email address for your account to
The request to change the email address for your account to
[%+ new_email FILTER html %] has been cancel
l
ed.
[%+ new_email FILTER html %] has been canceled.
[% ELSIF message_tag == "email_change_cancel
l
ed" %]
[% ELSIF message_tag == "email_change_canceled" %]
[% title = "Cancel Request to Change Email Address" %]
[% title = "Cancel Request to Change Email Address" %]
The request to change the email address for the
The request to change the email address for the
account [%+ old_email FILTER html %] to
account [%+ old_email FILTER html %] to
[%+ new_email FILTER html %] has been cancel
l
ed.
[%+ new_email FILTER html %] has been canceled.
[% ELSIF message_tag == "email_change_cancel
l
ed_reinstated" %]
[% ELSIF message_tag == "email_change_canceled_reinstated" %]
[% title = "Cancel Request to Change Email Address" %]
[% title = "Cancel Request to Change Email Address" %]
The request to change the email address for the
The request to change the email address for the
account [%+ old_email FILTER html %] to
account [%+ old_email FILTER html %] to
[%+ new_email FILTER html %] has been cancel
l
ed.
[%+ new_email FILTER html %] has been canceled.
Your old account settings have been reinstated.
Your old account settings have been reinstated.
[% ELSIF message_tag == "flag_creation_failed" %]
[% ELSIF message_tag == "flag_creation_failed" %]
...
@@ -303,9 +303,9 @@
...
@@ -303,9 +303,9 @@
clear the <em>shutdownhtml</em> field.
clear the <em>shutdownhtml</em> field.
[% END%]
[% END%]
[% ELSIF message_tag == "password_change_cancel
l
ed" %]
[% ELSIF message_tag == "password_change_canceled" %]
[% title = "Cancel Request to Change Password" %]
[% title = "Cancel Request to Change Password" %]
Your request has been cancel
l
ed.
Your request has been canceled.
[% ELSIF message_tag == "password_change_request" %]
[% ELSIF message_tag == "password_change_request" %]
[% title = "Request to Change Password" %]
[% title = "Request to Change Password" %]
...
...
template/en/default/global/user-error.html.tmpl
View file @
3ce940a7
...
@@ -1384,7 +1384,7 @@
...
@@ -1384,7 +1384,7 @@
[% ELSIF error == "token_inexistent" %]
[% ELSIF error == "token_inexistent" %]
[% title = "Token Does Not Exist" %]
[% title = "Token Does Not Exist" %]
The token you submitted does not exist, has expired, or has
The token you submitted does not exist, has expired, or has
been cancel
l
ed.
been canceled.
[% ELSIF error == "too_soon_for_new_token" %]
[% ELSIF error == "too_soon_for_new_token" %]
[% title = "Too Soon For New Token" %]
[% title = "Too Soon For New Token" %]
...
...
template/en/default/request/email.txt.tmpl
View file @
3ce940a7
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
[% bugidsummary = bug.bug_id _ ': ' _ bug.short_desc %]
[% bugidsummary = bug.bug_id _ ': ' _ bug.short_desc %]
[% attidsummary = attachment.id _ ': ' _ attachment.description %]
[% attidsummary = attachment.id _ ': ' _ attachment.description %]
[% statuses = { '+' => "granted" , '-' => 'denied' , 'X' => "cancel
l
ed" ,
[% statuses = { '+' => "granted" , '-' => 'denied' , 'X' => "canceled" ,
'?' => "asked" } %]
'?' => "asked" } %]
[% IF flag.status == '?' %]
[% IF flag.status == '?' %]
[% to_identity = flag.addressee.identity _ " for" %]
[% to_identity = flag.addressee.identity _ " for" %]
...
...
token.cgi
View file @
3ce940a7
...
@@ -194,7 +194,7 @@ sub confirmChangePassword {
...
@@ -194,7 +194,7 @@ sub confirmChangePassword {
}
}
sub
cancelChangePassword
{
sub
cancelChangePassword
{
$vars
->
{
'message'
}
=
"password_change_cancel
l
ed"
;
$vars
->
{
'message'
}
=
"password_change_canceled"
;
Bugzilla::Token::
Cancel
(
$::token
,
$vars
->
{
'message'
});
Bugzilla::Token::
Cancel
(
$::token
,
$vars
->
{
'message'
});
print
$cgi
->
header
();
print
$cgi
->
header
();
...
@@ -300,7 +300,7 @@ sub cancelChangeEmail {
...
@@ -300,7 +300,7 @@ sub cancelChangeEmail {
my
(
$old_email
,
$new_email
)
=
split
(
/:/
,
$eventdata
);
my
(
$old_email
,
$new_email
)
=
split
(
/:/
,
$eventdata
);
if
(
$tokentype
eq
"emailold"
)
{
if
(
$tokentype
eq
"emailold"
)
{
$vars
->
{
'message'
}
=
"emailold_change_cancel
l
ed"
;
$vars
->
{
'message'
}
=
"emailold_change_canceled"
;
my
$actualemail
=
$dbh
->
selectrow_array
(
my
$actualemail
=
$dbh
->
selectrow_array
(
q{SELECT login_name FROM profiles
q{SELECT login_name FROM profiles
...
@@ -324,11 +324,11 @@ sub cancelChangeEmail {
...
@@ -324,11 +324,11 @@ sub cancelChangeEmail {
my
$user
=
new
Bugzilla::
User
(
$userid
);
my
$user
=
new
Bugzilla::
User
(
$userid
);
$user
->
derive_regexp_groups
;
$user
->
derive_regexp_groups
;
$vars
->
{
'message'
}
=
"email_change_cancel
l
ed_reinstated"
;
$vars
->
{
'message'
}
=
"email_change_canceled_reinstated"
;
}
}
}
}
else
{
else
{
$vars
->
{
'message'
}
=
'email_change_cancel
l
ed'
$vars
->
{
'message'
}
=
'email_change_canceled'
}
}
$vars
->
{
'old_email'
}
=
$old_email
;
$vars
->
{
'old_email'
}
=
$old_email
;
...
@@ -394,7 +394,7 @@ sub confirm_create_account {
...
@@ -394,7 +394,7 @@ sub confirm_create_account {
sub
cancel_create_account
{
sub
cancel_create_account
{
my
(
undef
,
undef
,
$login_name
)
=
Bugzilla::Token::
GetTokenData
(
$::token
);
my
(
undef
,
undef
,
$login_name
)
=
Bugzilla::Token::
GetTokenData
(
$::token
);
$vars
->
{
'message'
}
=
'account_creation_cancel
l
ed'
;
$vars
->
{
'message'
}
=
'account_creation_canceled'
;
$vars
->
{
'account'
}
=
$login_name
;
$vars
->
{
'account'
}
=
$login_name
;
Bugzilla::Token::
Cancel
(
$::token
,
$vars
->
{
'message'
});
Bugzilla::Token::
Cancel
(
$::token
,
$vars
->
{
'message'
});
...
...
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