1. 22 Jun, 2022 2 commits
  2. 10 Jun, 2022 1 commit
    • meskio's avatar
      Add prometheus metrics to gettor distributor · 737a9745
      meskio authored
      This commit adds two metrics:
      * gettor_request_total the total number of requests done to gettor, with
        the command, platform and locale of the original request.
      * gettor_link_response_total the total number of responses with links
        sent with platform and locale that was used.
      Closes: #51
  3. 08 Jun, 2022 1 commit
    • meskio's avatar
      API to update dynamic bridges · 48bf3007
      meskio authored
      HTTP endpoint where the dynamic bridges can be sent. It has support for
      multiple dynamic bridges providers, with different authentication tokens
      for each of them.
      Closes: #98
  4. 07 Jun, 2022 1 commit
    • meskio's avatar
      Use a worker to write telegram metrics · ac1e9ac9
      meskio authored
      To avoid sharing *requestHashKeys* between different goroutines let's
      use a worker to write to metrics so a single goroutine has access to it.
      This solves a crash on the telegram distributor.
  5. 16 May, 2022 4 commits
  6. 03 May, 2022 1 commit
  7. 29 Apr, 2022 2 commits
    • meskio's avatar
      Add tests for the telegram usecase · 4e9b2a40
      meskio authored
      The prometheus metrics can't be initalized multiple times. To make the
      tests work they are now a global variable.
    • meskio's avatar
      Telegram distributor hands both new and old bridges to old accounts · ca4b054a
      meskio authored
      After the transition from bridgedb to rdsys many 'telegram' bridges (old
      bridges) are comming from 'moat' or other distributors that could be blocked in
      certain locations. For old telegram accounts let's distribute bridges from both
      pools the dynamic 'new' bridges and the bridge authority 'old' bridges.
      Closes: #101
  8. 25 Apr, 2022 1 commit
  9. 20 Apr, 2022 1 commit
  10. 04 Apr, 2022 1 commit
    • meskio's avatar
      Include all the data that can change in the oid of bridges · f738902d
      meskio authored
      Oid is used to detect if a resource has changed, they don't get updated
      unless the oid has changed. Let's include any information that can
      change, like the distributio request, flags or oraddresses in the oid.
      Before that change rdsys was missing some bridge changes and not
      updating bridges until rdsys was restarted.
      Closes: #104
  11. 31 Mar, 2022 1 commit
  12. 25 Mar, 2022 2 commits
  13. 18 Mar, 2022 5 commits
  14. 17 Mar, 2022 2 commits
  15. 15 Mar, 2022 1 commit
  16. 08 Mar, 2022 4 commits
  17. 04 Mar, 2022 3 commits
  18. 23 Feb, 2022 4 commits
  19. 14 Feb, 2022 2 commits
    • meskio's avatar
      Report bridge status for non vanilla bridges · b656460e
      meskio authored
      Transport bridges include the IP address in the hash index, together
      with the fingerprint and the type. We can not address them directly just
      knowing the fingerprint.
      For now let's do a sequential search over the fingerprint, in the future
      this might become a problem and we might need to make it more efficient.
      Closes: #88
    • meskio's avatar
      Hide the details of the Hashkey hashing · 0f959ec8
      meskio authored
      Not all the users of the Hashkey need to know how is it hashed and what
      is the polynomial being used.
  20. 31 Jan, 2022 1 commit