Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1015] improve trackers tab #379

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Commits on Sep 25, 2024

  1. [Torrent] Add trackers cache

    The current way the trackers are being update is either by adding a new
    torrent to the session (on startup or new one), or by changing the
    trackers.
    This leads to data not being updated in the `torrent.trackers` dict.
    To solve this, a cache mechanism was added which will update the dict
    on changes or every 5 seconds.
    This will help us also get an update regarding `lt.announce_endpoint` in
     each of the trackers.
    DjLegolas committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    cef257d View commit details
    Browse the repository at this point in the history
  2. [Tracker] Add a status for all trackers in a torrent

    As part of the changes needed for a more informative trackers tab in the
    UIs, we need the info for each of the trackers in the torrent.
    For this, new status keys were added, and `tracker_status` is now
    considered deprecated.
    
    For tracker info, the keys are:
    `trackers_status` - a dict of tracker_url->{status, message}
    `trackers_peers` - a dict of tracker_url->number of peers in the tracker
    
    `trackers_status` will contain the status of the torrent and also the
    message from the relevant alert.
    DjLegolas committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0ca8f4d View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. [UI] Add and improve trackers tab

    First, added trackers tab to the WebUI.
    Second, now we can view all the trackers and view each:
     * status
     * peers count
     * additional message
    Third, moved the private torrent info to the details tab.
    
    closes: https://dev.deluge-torrent.org/ticket/1015
    DjLegolas committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    99dd3c2 View commit details
    Browse the repository at this point in the history