[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9814 [Atlas]: Atlas should make clear when relay details come from outdated consensus
#9814: Atlas should make clear when relay details come from outdated consensus
------------------------+--------------------------
Reporter: wfn | Owner: phw
Type: defect | Status: needs_review
Priority: normal | Milestone:
Component: Atlas | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+--------------------------
Comment (by karsten):
Replying to [comment:7 phw]:
> Replying to [comment:6 karsten]:
> > Here's an alternative: if a relay or bridge is not running, display
its 'Downtime' by subtracting `last_seen` from the current system time.
That information might be more interesting to users than the previous
uptime anyway.
>
> I am unable to come up with reasonable JavaScript code to do this
subtraction. If anyone with actual JavaScript knowledge can provide such
code, I will finish the ticket.
I don't know enough JavaScript to write this patch either, or at least not
enough to write it well. Regarding the subtraction, here's some Atlas
code which looks related:
https://gitweb.torproject.org/atlas.git/blob/HEAD:/js/models/relay.js#l64.
Not saying that waiting for somebody who really knows JavaScript is a bad
plan.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9814#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs