'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
.col-lg-12
%hr
.row.gl-mt-3.js-search-settings-section
.col-lg-4.profile-settings-sidebar
%h4.gl-mt-0
=s_('AccessTokens|Feed token')
%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.')
%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
-ifincoming_email_token_enabled?
.col-lg-12
%hr
.row.gl-mt-3.js-search-settings-section
.col-lg-4.profile-settings-sidebar
%h4.gl-mt-0
=s_('AccessTokens|Incoming email token')
%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.')
%p
=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_message.html_safe
-ifincoming_email_token_enabled?
.col-lg-12
%hr
.row.gl-mt-3.js-search-settings-section
.col-lg-4.profile-settings-sidebar
%h4.gl-mt-0
=s_('AccessTokens|Incoming email token')
%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.')
%p
=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_message.html_safe
-ifstatic_objects_external_storage_enabled?
.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}
=reset_message.html_safe
-ifstatic_objects_external_storage_enabled?
.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."
msgstr ""
msgid "AccessTokens|Copy feed token"
msgstr ""
msgid "AccessTokens|Copy incoming email token"
msgstr ""
msgid "AccessTokens|Copy static object token"
msgstr ""
msgid "AccessTokens|Created"
msgstr ""
...
...
@@ -1817,12 +1826,21 @@ msgstr ""
msgid "AccessTokens|It cannot be used to access any other data."
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}."
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}."
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}."
@@ -18,10 +18,6 @@ RSpec.describe 'Profile > Personal Access Tokens', :js do
find("#created-personal-access-token").value
end
deffeed_token
find("#feed_token").value
end
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."
end
...
...
@@ -136,12 +132,24 @@ RSpec.describe 'Profile > Personal Access Tokens', :js do
describe"feed token"do
context"when enabled"do
it"displays feed token"do
it"displays feed token with `hide_access_tokens` feature flag enabled"do