BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c6fd3b6a
Commit
c6fd3b6a
authored
May 16, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '30827-changes-to-audit-log' into 'master'
Rename Personal Audit Log Closes #30827 See merge request !11400
parents
e407279f
adc34e1c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
12 deletions
+17
-12
icons_helper.rb
app/helpers/icons_helper.rb
+2
-0
_profile.html.haml
app/views/layouts/nav/_profile.html.haml
+2
-2
_event_table.html.haml
app/views/profiles/_event_table.html.haml
+1
-2
audit_log.html.haml
app/views/profiles/audit_log.html.haml
+1
-1
30827-changes-to-audit-log.yml
changelogs/unreleased/30827-changes-to-audit-log.yml
+4
-0
active_tab.feature
features/profile/active_tab.feature
+3
-3
profile.feature
features/profile/profile.feature
+1
-1
active_tab.rb
features/steps/profile/active_tab.rb
+2
-2
paths.rb
features/steps/shared/paths.rb
+1
-1
No files found.
app/helpers/icons_helper.rb
View file @
c6fd3b6a
...
...
@@ -19,6 +19,8 @@ module IconsHelper
case
names
when
"standard"
names
=
"key"
when
"two-factor"
names
=
"key"
end
options
.
include?
(
:base
)
?
fa_stacked_icon
(
names
,
options
)
:
fa_icon
(
names
,
options
)
...
...
app/views/layouts/nav/_profile.html.haml
View file @
c6fd3b6a
...
...
@@ -48,6 +48,6 @@
%span
Preferences
=
nav_link
(
path:
'profiles#audit_log'
)
do
=
link_to
audit_log_profile_path
,
title:
'Au
dit L
og'
do
=
link_to
audit_log_profile_path
,
title:
'Au
thentication l
og'
do
%span
Au
dit L
og
Au
thentication l
og
app/views/profiles/_event_table.html.haml
View file @
c6fd3b6a
...
...
@@ -9,7 +9,6 @@
Signed in with
=
event
.
details
[
:with
]
authentication
%span
.pull-right
#{
time_ago_in_words
event
.
created_at
}
ago
%span
.pull-right
=
time_ago_with_tooltip
(
event
.
created_at
)
=
paginate
events
,
theme:
"gitlab"
app/views/profiles/audit_log.html.haml
View file @
c6fd3b6a
-
page_title
"Au
dit L
og"
-
page_title
"Au
thentication l
og"
=
render
'profiles/head'
.row.prepend-top-default
...
...
changelogs/unreleased/30827-changes-to-audit-log.yml
0 → 100644
View file @
c6fd3b6a
---
title
:
Renamed users 'Audit Log'' to 'Authentication Log'
merge_request
:
11400
author
:
features/profile/active_tab.feature
View file @
c6fd3b6a
...
...
@@ -23,7 +23,7 @@ Feature: Profile Active Tab
Then
the active main tab should be Preferences
And
no other main tabs should be active
Scenario
:
On Profile Au
dit L
og
Given
I visit Au
dit L
og page
Then
the active main tab should be Au
dit L
og
Scenario
:
On Profile Au
thentication l
og
Given
I visit Au
thentication l
og page
Then
the active main tab should be Au
thentication l
og
And
no other main tabs should be active
features/profile/profile.feature
View file @
c6fd3b6a
...
...
@@ -63,7 +63,7 @@ Feature: Profile
Given
I logout
And
I sign in via the UI
And
I have activity
When
I visit Au
dit L
og page
When
I visit Au
thentication l
og page
Then
I should see my activity
Scenario
:
I
visit my user page
...
...
features/steps/profile/active_tab.rb
View file @
c6fd3b6a
...
...
@@ -19,7 +19,7 @@ class Spinach::Features::ProfileActiveTab < Spinach::FeatureSteps
ensure_active_main_tab
(
'Preferences'
)
end
step
'the active main tab should be Au
dit L
og'
do
ensure_active_main_tab
(
'Au
dit L
og'
)
step
'the active main tab should be Au
thentication l
og'
do
ensure_active_main_tab
(
'Au
thentication l
og'
)
end
end
features/steps/shared/paths.rb
View file @
c6fd3b6a
...
...
@@ -152,7 +152,7 @@ module SharedPaths
visit
profile_preferences_path
end
step
'I visit Au
dit L
og page'
do
step
'I visit Au
thentication l
og page'
do
visit
audit_log_profile_path
end
...
...
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