'AccessTokens|Your feed token authenticates you when your RSS reader loads a personalized RSS feed or when your calendar application loads a personalized calendar. It is visible in those feed URLs.',
),
inputDescription:s__(
'AccessTokens|Keep this token secret. Anyone who has it can read activity and issue RSS feeds or your calendar feed as if they were you. If that happens, %{linkStart}reset this token%{linkEnd}.',
),
resetConfirmMessage:s__(
'AccessTokens|Are you sure? Any RSS or calendar URLs currently in use will stop working.',
'AccessTokens|Your incoming email token authenticates you when you create a new issue by email, and is included in your personal project-specific email addresses.',
),
inputDescription:s__(
'AccessTokens|Keep this token secret. Anyone who has it can create issues as if they were you. If that happens, %{linkStart}reset this token%{linkEnd}.',
),
resetConfirmMessage:s__(
'AccessTokens|Are you sure? Any issue email addresses currently in use will stop working.',
'AccessTokens|Your static object token authenticates you when repository static objects (such as archives or blobs) are served from an external storage.',
),
inputDescription:s__(
'AccessTokens|Keep this token secret. Anyone who has it can access repository static objects as if they were you. If that ever happens, %{linkStart}reset this token%{linkEnd}.',
),
resetConfirmMessage:s__('AccessTokens|Are you sure?'),
=s_('AccessTokens|Your feed token authenticates you when your RSS reader loads a personalized RSS feed or when your calendar application loads a personalized calendar. It is visible in those feed URLs.')
%p
=s_('AccessTokens|It cannot be used to access any other data.')
-reset_link=link_tos_('AccessTokens|reset this token'),[:reset,:feed_token,:profile],method: :put,data: {confirm: s_('AccessTokens|Are you sure? Any RSS or calendar URLs currently in use will stop working.'),testid: :reset_feed_token_link}
-reset_message=s_('AccessTokens|Keep this token secret. Anyone who has it can read activity and issue RSS feeds or your calendar feed as if they were you. If that happens, %{link_reset_it}.')%{link_reset_it: reset_link}
=reset_message.html_safe
-unlessGitlab::CurrentSettings.disable_feed_token
-ifincoming_email_token_enabled?
.col-lg-12
.col-lg-12
%hr
%hr
.row.gl-mt-3.js-search-settings-section
.row.gl-mt-3.js-search-settings-section
.col-lg-4.profile-settings-sidebar
.col-lg-4.profile-settings-sidebar
%h4.gl-mt-0
%h4.gl-mt-0
=s_('AccessTokens|Feed token')
=s_('AccessTokens|Incoming email token')
%p
%p
=s_('AccessTokens|Your feed token authenticates you when your RSS reader loads a personalized RSS feed or when your calendar application loads a personalized calendar. It is visible in those feed URLs.')
=s_('AccessTokens|Your incoming email token authenticates you when you create a new issue by email, and is included in your personal project-specific email addresses.')
%p
%p
=s_('AccessTokens|It cannot be used to access any other data.')
=s_('AccessTokens|It cannot be used to access any other data.')
-reset_link=link_tos_('AccessTokens|reset this token'),[:reset,:feed_token,:profile],method: :put,data: {confirm: s_('AccessTokens|Are you sure? Any RSS or calendar URLs currently in use will stop working.'),testid: :reset_feed_token_link}
-reset_link=link_tos_('AccessTokens|reset this token'),[:reset,:incoming_email_token,:profile],method: :put,data: {confirm: s_('AccessTokens|Are you sure? Any issue email addresses currently in use will stop working.'),testid: :reset_email_token_link}
-reset_message=s_('AccessTokens|Keep this token secret. Anyone who has it can read activity and issue RSS feeds or your calendar feed as if they were you. If that happens, %{link_reset_it}.')%{link_reset_it: reset_link}
-reset_message=s_('AccessTokens|Keep this token secret. Anyone who has it can create issues as if they were you. If that happens, %{link_reset_it}.')%{link_reset_it: reset_link}
=reset_message.html_safe
=reset_message.html_safe
-ifincoming_email_token_enabled?
-ifstatic_objects_external_storage_enabled?
.col-lg-12
.col-lg-12
%hr
%hr
.row.gl-mt-3.js-search-settings-section
.row.gl-mt-3.js-search-settings-section
.col-lg-4.profile-settings-sidebar
.col-lg-4
%h4.gl-mt-0
%h4.gl-mt-0
=s_('AccessTokens|Incoming email token')
=s_('AccessTokens|Static object token')
%p
%p
=s_('AccessTokens|Your incoming email token authenticates you when you create a new issue by email, and is included in your personal project-specific email addresses.')
=s_('AccessTokens|Your static object token authenticates you when repository static objects (such as archives or blobs) are served from an external storage.')
%p
%p
=s_('AccessTokens|It cannot be used to access any other data.')
=s_('AccessTokens|It cannot be used to access any other data.')
-reset_link=link_tos_('AccessTokens|reset this token'),[:reset,:incoming_email_token,:profile],method: :put,data: {confirm: s_('AccessTokens|Are you sure? Any issue email addresses currently in use will stop working.'),testid: :reset_email_token_link}
-reset_message=s_('AccessTokens|Keep this token secret. Anyone who has it can create issues as if they were you. If that happens, %{link_reset_it}.')%{link_reset_it: reset_link}
-reset_link_start='<a data-confirm="%{confirm}" rel="nofollow" data-method="put" href="%{url}">'.html_safe%{confirm: s_('AccessTokens|Are you sure?'),url: reset_link}
=reset_message.html_safe
-reset_link_end='</a>'.html_safe
-reset_message=s_('AccessTokens|Keep this token secret. Anyone who has it can access repository static objects as if they were you. If that ever happens, %{reset_link_start}reset this token%{reset_link_end}.')%{reset_link_start: reset_link_start,reset_link_end: reset_link_end}
-ifstatic_objects_external_storage_enabled?
=reset_message.html_safe
.col-lg-12
%hr
.row.gl-mt-3.js-search-settings-section
.col-lg-4
%h4.gl-mt-0
=s_('AccessTokens|Static object token')
%p
=s_('AccessTokens|Your static object token authenticates you when repository static objects (such as archives or blobs) are served from an external storage.')
%p
=s_('AccessTokens|It cannot be used to access any other data.')
-reset_link_start='<a data-confirm="%{confirm}" rel="nofollow" data-method="put" href="%{url}">'.html_safe%{confirm: s_('AccessTokens|Are you sure?'),url: reset_link}
-reset_link_end='</a>'.html_safe
-reset_message=s_('AccessTokens|Keep this token secret. Anyone who has it can access repository static objects as if they were you. If that ever happens, %{reset_link_start}reset this token%{reset_link_end}.')%{reset_link_start: reset_link_start,reset_link_end: reset_link_end}
msgid "AccessTokens|Are you sure? Any issue email addresses currently in use will stop working."
msgid "AccessTokens|Are you sure? Any issue email addresses currently in use will stop working."
msgstr ""
msgstr ""
msgid "AccessTokens|Copy feed token"
msgstr ""
msgid "AccessTokens|Copy incoming email token"
msgstr ""
msgid "AccessTokens|Copy static object token"
msgstr ""
msgid "AccessTokens|Created"
msgid "AccessTokens|Created"
msgstr ""
msgstr ""
...
@@ -1817,12 +1826,21 @@ msgstr ""
...
@@ -1817,12 +1826,21 @@ msgstr ""
msgid "AccessTokens|It cannot be used to access any other data."
msgid "AccessTokens|It cannot be used to access any other data."
msgstr ""
msgstr ""
msgid "AccessTokens|Keep this token secret. Anyone who has it can access repository static objects as if they were you. If that ever happens, %{linkStart}reset this token%{linkEnd}."
msgstr ""
msgid "AccessTokens|Keep this token secret. Anyone who has it can access repository static objects as if they were you. If that ever happens, %{reset_link_start}reset this token%{reset_link_end}."
msgid "AccessTokens|Keep this token secret. Anyone who has it can access repository static objects as if they were you. If that ever happens, %{reset_link_start}reset this token%{reset_link_end}."
msgstr ""
msgstr ""
msgid "AccessTokens|Keep this token secret. Anyone who has it can create issues as if they were you. If that happens, %{linkStart}reset this token%{linkEnd}."
msgstr ""
msgid "AccessTokens|Keep this token secret. Anyone who has it can create issues as if they were you. If that happens, %{link_reset_it}."
msgid "AccessTokens|Keep this token secret. Anyone who has it can create issues as if they were you. If that happens, %{link_reset_it}."
msgstr ""
msgstr ""
msgid "AccessTokens|Keep this token secret. Anyone who has it can read activity and issue RSS feeds or your calendar feed as if they were you. If that happens, %{linkStart}reset this token%{linkEnd}."
msgstr ""
msgid "AccessTokens|Keep this token secret. Anyone who has it can read activity and issue RSS feeds or your calendar feed as if they were you. If that happens, %{link_reset_it}."
msgid "AccessTokens|Keep this token secret. Anyone who has it can read activity and issue RSS feeds or your calendar feed as if they were you. If that happens, %{link_reset_it}."
@@ -18,10 +18,6 @@ RSpec.describe 'Profile > Personal Access Tokens', :js do
...
@@ -18,10 +18,6 @@ RSpec.describe 'Profile > Personal Access Tokens', :js do
find("#created-personal-access-token").value
find("#created-personal-access-token").value
end
end
deffeed_token
find("#feed_token").value
end
deffeed_token_description
deffeed_token_description
"Your feed token authenticates you when your RSS reader loads a personalized RSS feed or when your calendar application loads a personalized calendar. It is visible in those feed URLs."
"Your feed token authenticates you when your RSS reader loads a personalized RSS feed or when your calendar application loads a personalized calendar. It is visible in those feed URLs."
end
end
...
@@ -136,12 +132,24 @@ RSpec.describe 'Profile > Personal Access Tokens', :js do
...
@@ -136,12 +132,24 @@ RSpec.describe 'Profile > Personal Access Tokens', :js do
describe"feed token"do
describe"feed token"do
context"when enabled"do
context"when enabled"do
it"displays feed token"do
it"displays feed token with `hide_access_tokens` feature flag enabled"do