Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
2a25c83b
Commit
2a25c83b
authored
Sep 24, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@13-4-stable-ee
parent
b0481767
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
64 additions
and
5 deletions
+64
-5
app/assets/stylesheets/fontawesome_custom.scss
app/assets/stylesheets/fontawesome_custom.scss
+32
-0
app/helpers/notifications_helper.rb
app/helpers/notifications_helper.rb
+4
-1
app/models/ci/runner.rb
app/models/ci/runner.rb
+1
-1
changelogs/unreleased/254224-notification-icons-missing-icon-for-custom.yml
...sed/254224-notification-icons-missing-icon-for-custom.yml
+5
-0
changelogs/unreleased/254946-add-missing-fa-icons-for-file_type_icon_class.yml
.../254946-add-missing-fa-icons-for-file_type_icon_class.yml
+5
-0
changelogs/unreleased/revert-a6875e5f.yml
changelogs/unreleased/revert-a6875e5f.yml
+5
-0
changelogs/unreleased/unleash-api-with-private-repo.yml
changelogs/unreleased/unleash-api-with-private-repo.yml
+5
-0
config/feature_flags/development/ci_runners_tokens_optional_encryption.yml
...ags/development/ci_runners_tokens_optional_encryption.yml
+3
-3
locale/gitlab.pot
locale/gitlab.pot
+3
-0
spec/helpers/notifications_helper_spec.rb
spec/helpers/notifications_helper_spec.rb
+1
-0
No files found.
app/assets/stylesheets/fontawesome_custom.scss
View file @
2a25c83b
...
...
@@ -262,6 +262,38 @@
content
:
'\f127'
;
}
.
fa-file-pdf-o
:
:
before
{
content
:
'\f1c1'
;
}
.
fa-file-word-o
:
:
before
{
content
:
'\f1c2'
;
}
.
fa-file-excel-o
:
:
before
{
content
:
'\f1c3'
;
}
.
fa-file-powerpoint-o
:
:
before
{
content
:
'\f1c4'
;
}
.
fa-file-image-o
:
:
before
{
content
:
'\f1c5'
;
}
.
fa-file-archive-o
:
:
before
{
content
:
'\f1c6'
;
}
.
fa-file-audio-o
:
:
before
{
content
:
'\f1c7'
;
}
.
fa-file-video-o
:
:
before
{
content
:
'\f1c8'
;
}
.sr-only
{
position
:
absolute
;
width
:
1px
;
...
...
app/helpers/notifications_helper.rb
View file @
2a25c83b
...
...
@@ -29,7 +29,10 @@ module NotificationsHelper
end
def
notification_icon
(
level
)
sprite_icon
(
"
#{
notification_icon_class
(
level
)
}
"
)
icon
=
notification_icon_class
(
level
)
return
''
unless
icon
sprite_icon
(
icon
)
end
def
notification_title
(
level
)
...
...
app/models/ci/runner.rb
View file @
2a25c83b
...
...
@@ -10,7 +10,7 @@ module Ci
include
TokenAuthenticatable
include
IgnorableColumns
add_authentication_token_field
:token
,
encrypted:
->
{
Feature
.
enabled?
(
:ci_runners_tokens_optional_encryption
)
?
:optional
:
:required
}
add_authentication_token_field
:token
,
encrypted:
->
{
Feature
.
enabled?
(
:ci_runners_tokens_optional_encryption
,
default_enabled:
true
)
?
:optional
:
:required
}
enum
access_level:
{
not_protected:
0
,
...
...
changelogs/unreleased/254224-notification-icons-missing-icon-for-custom.yml
0 → 100644
View file @
2a25c83b
---
title
:
'
Notifications
icon:
Render
empty
string
for
custom
setting'
merge_request
:
42848
author
:
type
:
other
changelogs/unreleased/254946-add-missing-fa-icons-for-file_type_icon_class.yml
0 → 100644
View file @
2a25c83b
---
title
:
Add missing fontawesome file icon classes
merge_request
:
43091
author
:
type
:
added
changelogs/unreleased/revert-a6875e5f.yml
0 → 100644
View file @
2a25c83b
---
title
:
Revert required encryption on CI runner tokens
merge_request
:
42623
author
:
type
:
fixed
changelogs/unreleased/unleash-api-with-private-repo.yml
0 → 100644
View file @
2a25c83b
---
title
:
Allow Unleash clients to request feature flags when repository is private
merge_request
:
43059
author
:
type
:
fixed
config/feature_flags/development/ci_runners_tokens_optional_encryption.yml
View file @
2a25c83b
---
name
:
ci_runners_tokens_optional_encryption
introduced_by_url
:
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/commit/cbba8fe02b0ea3adabcfe18685c9af6be3859e2d
rollout_issue_url
:
group
:
group
:
group::continuous integration
type
:
development
default_enabled
:
fals
e
default_enabled
:
tru
e
locale/gitlab.pot
View file @
2a25c83b
...
...
@@ -26728,6 +26728,9 @@ msgstr ""
msgid "Total cores (CPUs)"
msgstr ""
msgid "Total days to completion"
msgstr ""
msgid "Total issues"
msgstr ""
...
...
spec/helpers/notifications_helper_spec.rb
View file @
2a25c83b
...
...
@@ -10,6 +10,7 @@ RSpec.describe NotificationsHelper do
it
{
expect
(
notification_icon
(
:mention
)).
to
match
(
'data-testid="at-icon"'
)
}
it
{
expect
(
notification_icon
(
:global
)).
to
match
(
'data-testid="earth-icon'
)
}
it
{
expect
(
notification_icon
(
:watch
)).
to
match
(
'data-testid="eye-icon"'
)
}
it
{
expect
(
notification_icon
(
:custom
)).
to
equal
(
''
)
}
end
describe
'notification_title'
do
...
...
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