Giter VIP home page Giter VIP logo

yodadacoda / chrome-transmission-remote-plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cherepanov/chrome-transmission-remote-plus

59.0 6.0 23.0 11.71 MB

Useful if you run Transmission Bittorrent Client on a remote server

Home Page: https://chrome.google.com/webstore/detail/kfbocdnicmioodheiciijiegbmfoliim

License: Apache License 2.0

HTML 13.31% CSS 12.64% JavaScript 74.05%

chrome-transmission-remote-plus's Introduction

Remote Transmission ++

Based on Remote Transmission Plus

Features

  • Click a torrent link to download it using a remote Transmission client

    • click on most torrent links to automatically send it to Transmission
    • right-click any link to send to Transmission
    • custom download directories
    • browser icon notification badges: add, dup, fail
    • hold down ALT, CTRL, or SHIFT to download the torrent file locally
  • Remote Control

    • notifications when a torrent download completes
    • filter by name and status
    • pause and resume torrents
    • remove torrents (double-click) with data (CTRL + double-click)
    • toggle turtle mode

Changelog

2018-01-25 v1.0.8

  • Fix popup not appearing correctly on OSX (thanks wader)

2017-10-02 v1.0.7

  • Fix notification on completed torrent (thanks slokhorst)

2017-10-02 v1.0.6

  • Fix adding torrents in the paused state (thanks slokhorst)

2017-10-01 v1.0.5

  • Update to jQuery v3.2.1 (thanks slokhorst)
  • Fix some options not being saved (thanks slokhorst)

2017-03-13 v1.0.4

  • Fix "download directory path is not absolute" error. (Closes issue #28) (thanks zsorizs)
  • Fix configuration resetting to defaults when opened. (thanks zsorizs)
  • Fix saving of default click action. (thanks zsorizs)

2016-02-03 v1.0.3

  • Fix capturing links for dynamically loaded content

2015-06-06 V1.0.1

  • Fix for last version erasing settings

2015-06-03 v1.0.0

  • Add support for adding new custom location from save popup (thanks wader)

2015-04-15 v0.9.9.9

  • Ensure clients' filters are not changed erroneously

2015-04-13 v0.9.9.8

  • Fixed filtering (presumably broken for some time due to RPC changes)
  • Added a filtering category 'Active' to filter out stopped/completed torrents. (Closes issue #10).

2015-04-12 v0.9.9.7

  • Give the popup a minimum height so the buttons are always clickable (thanks jonathantribouharet)
  • Clear all previous torrents on error (thanks jonathantribouharet) hopefully stops torrents showing up multiple times.

Credits / Contributors

  • dz0ny
    • (probably) the original developer
  • cherepanov
    • This extension is based upon his improvements dz0ny's work
  • sakim
  • r04r
  • mjbnz
  • jonathantribouharet
  • wader
  • zsorizs
  • iancorbitt
  • slokhorst

chrome-transmission-remote-plus's People

Contributors

cherepanov avatar haohaolee avatar ihatemyisp avatar johnvuko avatar kghost avatar mjbnz avatar paullessing avatar r04r avatar sakim avatar slokhorst avatar wader avatar yodadacoda avatar zsorizs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chrome-transmission-remote-plus's Issues

Incompatible with Transmission 2.92 / path not absolute error

Hello, since updating Transmission to version 2.92 when I attempt to add a torrent, I receive "download directory path is not absolute" error message. I can still see torrents in Transmission, it just seems to be the adding functionality that is broken.
Thanks.

Notifications occur after torrent has already completed

Thank you for this extension, it's really useful!

I've been noticing that notifications for completed torrents on my Mac sporadically appear for torrents which have already completed. I haven't tried to properly diagnose the issue, but I suspect the notifications might pop up when a torrent stops uploading as well as downloading. Could this be the problem?

No notifications when download finishes.

As the title says it, no notifications for finished torrents are sent in spite of enabling the feature in the settings.

Notifications for added torrents work, though.

Options not showing when using reverse proxy

Whenever I refer to my server ip directly (http://ip:someport/transmission), and save the settings, the extension works. If I open the options window again, everything shows up as I left it. However, if I refer to my nginx reverse proxy (https://someaddress:443/transmission) everything works, but the options screen is completely blank. The save button also stops reacting. Nevertheless, if Iwrite the direct ip again, everything works. Is this a chrome issue or an extension issue?

Thanks!

Show Download Popup Option Broken

Recent update broke the download popup option. Unchecking the box on the options page does not supres the popup dialog anymorel

Now the default behavior on install is that it is not checked, and the dialog appears. Relentlessly

Magnet link sometimes ignored

When I use KickassTorrents to search for shows, the magnet link isn't picked up by RT.
I reported this in the Chrome Store that it worked on the search results page but not on the show organization page. Well it has since changed and the magnet links don't work on any of the pages.

I'm guessing it is something on their site as magnet links work on other sites.

Thanks

torrent list is blank since 0.9.9.8

ever since the previous update all i get (on muliple devices) is the header at the top with the logo and the torrent numbers, but below where you see the torrents listed i just have a blank white space.

i am running 0.9.9.8 on two systems (one mac one windows) and experience the same on both.
problem wasn't there before either 0.9.9.7 or 0.9.9.8.

screen shot 2015-04-14 at 17 58 46

Finished download should be filtered away / hidden

When a download is finished I would suggest to hide it from the dropdown menu. Presently it shows with green color, the same as seeding. I would like to keep the history around in Transmission, but I don't want it to show in the 'Remote Transmission ++' dropdown menu.

fixing nginx http2 + remote transmission++

I have transmission-daemon which is listening on localhost. In order to access it i have this configuration in nginx:

location /transmission {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://127.0.0.1:9091/transmission;
proxy_pass_request_body on;
proxy_pass_request_headers on;
proxy_pass_header X-Transmission-Session-Id;
}

Nginx is also configured for http2. In this case Remote Transmission++ is unable to connect to transmission. Problem is that extension expects in fail function errorThrown==='Conflict' but with http2 this string is empty. I made a small patch in order to resolve this:

--- background.js.orig  2018-01-25 04:42:59.000000000 +0200
+++ background.js       2023-09-01 15:16:16.963952091 +0300
@@ -62,7 +62,7 @@
     }
   })
   .fail(function (jqXHR, textStatus, errorThrown) {
-    if (errorThrown === 'Conflict') {
+    if (errorThrown === 'Conflict'|| jqXHR.status==409) {
       // X-Transmission-Session-Id should only be included if we didn't include it when we sent our request
       let xSid = jqXHR.getResponseHeader('X-Transmission-Session-Id');
       localStorage.sessionId = xSid;
  

And now everything is fine. This patch should also preserve the original behavior with HTTP1.1
If you find this useful please include it in the next release.

Popup doesn't show torrents

After commit 2192d13, the torrent popup is empty after clicking the extension icon.

The top interface elements are shown (Icon, number of torrents, DL/UL rate), but the list of torrents is missing.

Download popup not coming up on M1 Mac

Using the extension with Chrome, its awesome by the way.
However something happened and nothing comes up when I click a torrent link.
Reinstalling the extension has not helped.
Fully reinstalling and wiping all Chrome data fixed it. However a few days later it broke again.

Anyone have any suggestions?

Nginx + Transmission: Not able to connect to server

When connecting directly to remote transmission with url kind of http://192.168.1.5:9091/ it works fine. But when adding a proxy the extension cannot connect to url http://torrent.my-domain.com/ . I discovered that might be missconfiguration of basic auth of my proxy. After I changed the url to this http://username:[email protected] it started to work.

upstream transmission  {
      server localhost:9091; #Transmission
}
server {
    if ($host = torrent.my-domain.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot
  listen 80;
  server_name   torrent. my-domain.com
  # enforce https
  return 301 https://$server_name$request_uri;
  server_tokens off;
    # Redirect non-https traffic to https
    # if ($scheme != "https") {
    #     return 301 https://$host$request_uri;
    # } # managed by Certbot
}
server {
      listen 443;
      ssl    on;
    ssl_certificate  ################
    ssl_certificate_key ################
server_tokens off;
      server_name torrent.my-domain.com
      location / {
          return 301 http://$server_name/transmission/;
      }
      location ^~ /transmission {
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header Host $http_host;
          proxy_set_header X-NginX-Proxy true;
          proxy_http_version 1.1;
          proxy_set_header Connection "";
          proxy_pass_header X-Transmission-Session-Id;
          auth_basic "Restricted Content";
          auth_basic_user_file /etc/nginx/.htpasswd;

          location /transmission/rpc {
              proxy_pass http://transmission;
          }
          location /transmission/web/ {
              proxy_pass http://transmission;
          }
          location /transmission/upload {
              proxy_pass http://transmission;
          }
          location /transmission/web/style/ {
              alias /usr/share/transmission/web/style/;
          }
          location /transmission/web/javascript/ {
              alias /usr/share/transmission/web/javascript/;
          }
          location /transmission/web/images/ {
              alias /usr/share/transmission/web/images/;
          }
          location /transmission/ {
              return 301 http://$server_name/transmission/web;
          }
      }
}

No images in Chrome webstore

Help wanted as I am not actively using the extension at this time.

Images should be 1,280x800 or 640x400 to comply with Chrome webstore requirements.

Images should show the list of torrents in various states and stages of completion. All torrents must be legally obtained, i.e. no TV shows / movies / games. Recommend Linux distributions and such.

Settings dropdown menu bug

When the download list is empty, the dropdown menu for settings (gear-symbol) is not shown right. It disappears because the popup window is too small. Not a big problem, but it is sometimes convenient to go to the fullscreen app from that menu...

Use Fetch API for rpcTransmission call

(this is mostly to warn other people attempting to not waste time on this)

As Fetch is usually referred to as the successor to XMLHttpRequest, I attempted to convert the rpcTransmission function to use that instead.

Unfortunately, this doesn't seem to be possible. When using the fetch API, it is impossible to see the X-Transmission-Session-Id header which the server is returned. See "Reading response headers with Fetch API" on StackOverflow for more information.

This does work (basically it's done now inside jQuery):

var xhr = new XMLHttpRequest();
xhr.open('POST', localStorage.server + localStorage.rpcPath, true);
xhr.addEventListener('load', function () {
    console.log('xhr: ' + xhr.getResponseHeader('X-Transmission-Session-Id'));
});
xhr.send();

This does not work:

fetch(localStorage.server + localStorage.rpcPath, {method: 'POST'})
.then(function (response) {
    console.log('fetch: ' + response.headers.get('X-Transmission-Session-Id'));
});

This is not really an issue, as we can just continue to use XmlHttpRequest. Just a note.

I can not add torrent

With enabled "Show download popup" on Save click there is no any action

With disabled "Show download popup" i got erron on screenshot -
2014-08-27 12 28 12

Error when using custom directories

When I try to use custom directories it just says there was an error adding the torrent. No other information. Is there something special I have to do to get custom directories to work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.