Closed
Bug 293208
Opened 20 years ago
Closed 13 years ago
Display the user's current IP address on the login page
Categories
(Bugzilla :: User Interface, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jpyeron, Unassigned)
Details
Attachments
(2 obsolete files)
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Build Identifier:
add ip address to login page
Reproducible: Always
Steps to Reproduce:
Reporter | ||
Comment 1•20 years ago
|
||
Attachment #182828 -
Flags: review?
Updated•20 years ago
|
Assignee: myk → jpyeron
Summary: template toolkit and the user's ip address → Display the user's current IP addres on the login page
Version: unspecified → 2.19.2
Updated•20 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Reporter | ||
Comment 2•20 years ago
|
||
sorry but the patch does not have the correct header, and my internet is acting
screwy.
it is for template/en/default/account/auth/login.html.tmpl
Comment 3•20 years ago
|
||
Comment on attachment 182828 [details] [diff] [review]
adds user's ip
I would suggest placing the USE line in the beginning of the file.
IIRC we're not restricting to a specific IP, but to a variable network slice in
which that IP is inserted, right?
Comment 4•20 years ago
|
||
(In reply to comment #3)
> IIRC we're not restricting to a specific IP, but to a variable network slice in
> which that IP is inserted, right?
Without looking at the code, I believe the answer to that question is: it
depends. IIRC, there's now a Param() that allows the admin to specify the
network mask. Also IIRC, the default is still /32 (or this IP).
Summary: Display the user's current IP addres on the login page → Display the user's current IP address on the login page
Comment 5•20 years ago
|
||
Comment on attachment 182828 [details] [diff] [review]
adds user's ip
The current patch makes Bugzilla to lie when the network mask in the params is
different from 32.
Attachment #182828 -
Flags: review? → review-
Comment 6•18 years ago
|
||
updated.
take #3
i don't understand what #5 means :-(
Attachment #182828 -
Attachment is obsolete: true
Attachment #236511 -
Flags: review?
Comment 7•18 years ago
|
||
Comment on attachment 236511 [details] [diff] [review]
patch for tip
t/008filter..........NOK 232# Failed test '(en/default) template/en/default/account/auth/login-small.html.tmpl has unfiltered directives:
# 70: Bugzilla.cgi.remote_host()
# --ERROR'
# in t/008filter.t at line 131.
# Failed test '(en/default) template/en/default/account/auth/login.html.tmpl has unfiltered directives:
# 74: Bugzilla.cgi.remote_host()
# --ERROR'
# in t/008filter.t at line 131.
t/008filter..........NOK 233# Looks like you failed 2 tests of 272.
AKA: add FILTER html
This is required as remote_host() could possibly be a hostname with '<', etc.
Attachment #236511 -
Flags: review? → review-
Updated•18 years ago
|
Attachment #236511 -
Attachment is obsolete: true
![]() |
||
Updated•15 years ago
|
Assignee: jpyeron → ui
Status: ASSIGNED → NEW
![]() |
||
Comment 8•13 years ago
|
||
There has been no rationale on why displaying the IP address would be useful to the user. Marking as wontfix.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 9•13 years ago
|
||
The rationale was some users were experiencing issues with their ISP assigning IP addresses in conjunction to the “restrict to this IP” check box.
You need to log in
before you can comment on or make changes to this bug.
Description
•