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
75123458
Commit
75123458
authored
Jan 12, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add user's last used IP addresses to admin page
This would help admins figure out from where spam is originating.
parent
c4511a12
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
CHANGELOG
CHANGELOG
+1
-0
show.html.haml
app/views/admin/users/show.html.haml
+16
-0
No files found.
CHANGELOG
View file @
75123458
...
...
@@ -2,6 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.4.0 (unreleased)
- Bump fog to 1.36.0 (Stan Hu)
- Add user's last used IP addresses to admin page (Stan Hu)
- Add housekeeping function to project settings page
- The default GitLab logo now acts as a loading indicator
- Fix caching issue where build status was not updating in project dashboard (Stan Hu)
...
...
app/views/admin/users/show.html.haml
View file @
75123458
...
...
@@ -71,6 +71,14 @@
No
%li
%span
.light
Current sign-in IP:
%strong
-
if
@user
.
current_sign_in_ip
=
@user
.
current_sign_in_ip
-
else
never
%li
%span
.light
Current sign-in at:
%strong
-
if
@user
.
current_sign_in_at
...
...
@@ -79,6 +87,14 @@
never
%li
%span
.light
Last sign-in IP:
%strong
-
if
@user
.
last_sign_in_ip
=
@user
.
last_sign_in_ip
-
else
never
%li
%span
.light
Last sign-in at:
%strong
-
if
@user
.
last_sign_in_at
...
...
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