Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #33453

Closed (moved)
Open
Opened Feb 25, 2020 by Karsten Loesing@karsten

Relay Search does not have an icon for StaleDesc

There is a new flag in town, and nobody told Relay Search about it: StaleDesc!

We'll need a new icon to be added as src/main/resources/web/images/flags/staledesc.png, and we need a few new lines of code:

diff --git a/src/main/resources/web/js/rs/models/relay.js b/src/main/resources/web/js/rs/models/relay.js
index 11d98fce..60316b82 100644
--- a/src/main/resources/web/js/rs/models/relay.js
+++ b/src/main/resources/web/js/rs/models/relay.js
@@ -43,6 +43,9 @@ define([
                 if (flag == "Stable") {
                     output.push([flag, "stable", "This relay is suitable for long-lived circuits."]);
                 }
+                if (flag == "StaleDesc") {
+                    output.push([flag, "staledesc", "This relay should upload a new descriptor because the old one is too old."]);
+                }
                 if (flag == "V2Dir") {
                     output.push([flag, "v2dir", "This relay implements the v2 directory protocol or higher."]);
                 }

Where did we get the current set of icons from again?

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#33453