Commit Graph
3 Commits
  • feat(xray/nord): searchable server list + colored load tag, surface API errors
    Frontend (NordModal.vue):
    - Server selector gets show-search with the option label set to
      `${cityName} ${name} ${hostname}` so admins can find a specific
      server inside a 100+ entry country list by typing.
    - Each option renders the load as a colored a-tag (green <30%,
      orange 30-70%, red >70%) instead of plain text — quicker visual
      scan when sorting through servers in the dropdown.
    
    Backend (nord.go):
    - GetCountries / GetServers now check resp.StatusCode and return
      "NordVPN API error: <status>" on non-200, matching the pattern
      GetCredentials already used. Previously a 4xx/5xx body was
      returned as a "success" string and the frontend silently failed
      to parse it, surfacing only as an empty "No servers found".
    - GetCredentials drops its own ad-hoc 10s http.Client and reuses
      the shared nordHTTPClient (15s) — one client, one timeout.
  • v3
  • feat: Add NordVPN NordLynx (WireGuard) integration (#3827)
    * feat: Add NordVPN NordLynx (WireGuard) integration with dedicated UI and backend services.
    
    * remove limit=10 to get all servers
    
    * feat: add city selector to NordVPN modal
    
    * feat: auto-select best server on country/city change
    
    * feat: simplify filter logic and enforce > 7% load
    
    * fix
    
    ---------
    
    Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>