1. 07 Feb, 2018 1 commit
    • Karsten Loesing's avatar
      Don't rely on system time for writing histories. · a7418b7c
      Karsten Loesing authored
      Rather than on system time we're now depending on the last time a
      relay or bridge was seen in a consensus or status to determine when
      history ends for this relay.
      
      This has the advantage of making the write step deterministic, and it
      produces the exact same graph intervals for the different documents of
      a given relay or bridge.
      
      A minor downside is that we're now depending on node statuses _and_
      another status file in order to produce a history document. Should be
      okay.
      
      Define graph end as last full data point before the relay/bridge was
      last seen.
      
      Also make sure that graphs end at that defined graph end and do not
      continue just because there's more history available. This is mostly
      to exclude falsely-reported statistics.
      
      Implements #16513.
      a7418b7c
  2. 20 Dec, 2017 1 commit
  3. 28 Nov, 2017 1 commit
  4. 18 Nov, 2017 4 commits
  5. 17 Nov, 2017 4 commits
  6. 03 Nov, 2017 1 commit
  7. 30 Oct, 2017 1 commit
    • Karsten Loesing's avatar
      Support quoted qualified search terms. · 75981fe7
      Karsten Loesing authored
      With this patch, the "search" parameter does not only accept unquoted
      qualified search terms like `search=contact:John Doe` where "John"
      would be looked up in the contact line and "Doe" in the nickname or
      base64-encoded fingerprint. It also accepts quoted qualified search
      terms like `search=contact:"John Doe"` where "John Doe" would be
      looked up in the contact line. It further accepts escaped double
      quotes (\") within quoted qualified search terms.
      
      Implements #21366.
      75981fe7
  8. 26 Oct, 2017 1 commit
    • Karsten Loesing's avatar
      Fix two NullPointerExceptions. · 563f762c
      Karsten Loesing authored
      There's a relay running an alternate Tor version that produces
      descriptors without "uptime" line, and the directory authorities don't
      include a "v" line for that relay, likely because its platform string
      does not include the magic word "Tor".
      
      Fixes #24012.
      563f762c
  9. 09 Oct, 2017 1 commit
  10. 19 Sep, 2017 2 commits
    • iwakeh's avatar
      Add build revision field to documents. · 0f28ea28
      iwakeh authored
      Implements task-23778.
      0f28ea28
    • Karsten Loesing's avatar
      Fix the "running" field in bridge details documents. · 68819a08
      Karsten Loesing authored
      When we set this field in the update process, we only looked whether
      the bridge is contained in the last known bridge network status. We
      also need to check whether it has the "Running" flag assigned there.
      
      This is different from relays, because the consensus only lists relays
      with the "Running" flag since a couple of years, whereas the bridge
      network status lists all known bridges.
      
      Fixes #23467. Spotted by nusenu.
      68819a08
  11. 16 Sep, 2017 1 commit
  12. 15 Sep, 2017 2 commits
  13. 31 Aug, 2017 1 commit
  14. 30 Aug, 2017 3 commits
  15. 29 Aug, 2017 1 commit
  16. 22 Aug, 2017 1 commit
  17. 16 Aug, 2017 1 commit
  18. 04 Aug, 2017 1 commit
  19. 31 Jul, 2017 1 commit
    • iwakeh's avatar
      Upgrade to jetty9. · e9f62c16
      iwakeh authored
      Jetty8 is EOL and not part of Debian stable anymore.
      Implements task-23069.
      e9f62c16
  20. 01 Apr, 2017 1 commit
  21. 28 Feb, 2017 1 commit
  22. 24 Feb, 2017 1 commit
  23. 27 Jan, 2017 2 commits
  24. 11 Jan, 2017 1 commit
  25. 09 Jan, 2017 2 commits
  26. 07 Jan, 2017 1 commit
  27. 06 Jan, 2017 1 commit
    • Karsten Loesing's avatar
      Support email addresses in qualified search terms. · 66a19866
      Karsten Loesing authored
      More generally, accept the same characters in qualified search terms
      as in their parameter equivalents.
      
      This includes the '@' sign and others in search terms like
      'contact:user@domain.com', which were supported in the contact
      parameter but not in the search parameter before.
      
      Fixes #10972.
      66a19866
  28. 05 Jan, 2017 1 commit