Giter Site home page Giter Site logo

Thunderbird FileLink extension about send HOT 7 CLOSED

timvisee avatar timvisee commented on July 17, 2024 2
Thunderbird FileLink extension

from send.

Comments (7)

timvisee avatar timvisee commented on July 17, 2024 1

Very nice work! I've wanted to see this as well, great to see you've implemented it.

I wanted to get permission to use the icon from this repository for the add-on. My repository is also MPL-2.0 licensed, so I believe there should not be any issues, but I wanted to check anyway, as I saw you had issues using the Firefox Send logo in this repository.

Yeah, feel free to use it! The original (Firefox) logo caused trouble because it used Firefox' branding. I've made the current icon myself, so it won't be an issue.

I'll definitely give the extension a try. It seems that you've implemented all cryptography within the extension, which I'm quite surprised with as it's somewhat tricky.

Releasing it as extension would be awesome. The only thing I'd be worried about is using my host as default if it is ever integrated within Thunderbird by default, due to the amount of traffic it might generate. Though, releasing it as separate extension should be fine, so feel free to keep it this way. If it ever becomes a problem, I'll be sure to reach out to you.

I also wanted to thank you for continuing to maintain this after it was discontinued by Mozilla! 🙏

No problem! Loved the service, so I wanted to keep it alive.


Edit: just gave it a try, and it seems to work very well. I'm running Thunderbird 78.7.1 (64-bit). Well done!

from send.

tdulcet avatar tdulcet commented on July 17, 2024 1

Yeah, feel free to use it!

Thanks! I think it is good to have consistency between the icon on the Send website and the add-on.

I'll definitely give the extension a try. It seems that you've implemented all cryptography within the extension, which I'm quite surprised with as it's somewhat tricky.

Yes, I adapted most of the encryption code from this and Mozilla's upstream repository. It mainly required removing the NodeJS dependencies, removing support for old browsers and simplifying the code by using more modern ES7+ JS syntax. Your ffsend and ffsend-api repositories were also very helpful while I was creating the add-on, as there is no documentation on the Send API, I was able to use those to determine the correct design patterns for the add-on. For example, ffsend checks the Send server version using the /__version__ endpoint before uploading files, which I was able to include in the add-on.

The only thing I'd be worried about is using my host as default if it is ever integrated within Thunderbird by default, due to the amount of traffic it might generate.

OK, I doubt they would ever use your host by default without first asking for your permission. Note that the bug I referenced above was marked as WONTFIX after Firefox Send was discontinued last year. I requested they reopen it about a week ago, but I have gotten no response, so unfortunately it does not look like they will integrate the functionality into Thunderbird, at least not anytime soon...

Edit: just gave it a try, and it seems to work very well. I'm running Thunderbird 78.7.1 (64-bit). Well done!

Thanks for trying it out! I am glad it worked well for you.

from send.

timvisee avatar timvisee commented on July 17, 2024 1

ffsend checks the Send server version using the /__version__ endpoint before uploading files, which I was able to include in the add-on.

Speaking of which, I thought a 'Verify' button behind the host field could be useful. Which checks whether /__version__ is valid after entering a host.

from send.

tdulcet avatar tdulcet commented on July 17, 2024 1

Speaking of which, I thought a 'Verify' button behind the host field could be useful. Which checks whether /__version__ is valid after entering a host.

Great idea! Thanks for the feedback. I just added it in tdulcet/Thunderbird-Send@d259371. It will display a message at the top of the account management page after clicking the "Verify" button.

from send.

tdulcet avatar tdulcet commented on July 17, 2024 1

I published the add-on to ATN: https://addons.thunderbird.net/en-US/thunderbird/addon/filelink-provider-for-send/. It requires Thunderbird 91, which was released earlier this month. Feedback is welcome.

I also recently added a popup to extension so users can specify the download and time limits for each file before it is uploaded.

@timvisee - If you would like to close this issue, could it please be added on the Clients section of your README?

from send.

timvisee avatar timvisee commented on July 17, 2024 1

Fantastic! Great work.

If you would like to close this issue, could it please be added on the Clients section of your README?

Sure. I can't easily add this right now. Feel free to submit a PR for this in the mean time.

from send.

tdulcet avatar tdulcet commented on July 17, 2024

There have been a couple enhancements to the FileLink/CloudFile API in TB 91.4.1, which may necessitate some changes to the Send server API in order for my add-on to use them. I was not sure if I should create new issues or reuse this one.

  • TB now allows users to rename files after they have been uploaded. This does not seem to be currently supported by the Send API. I propose updating the /api/params/ endpoint to also accept a new filename, as it currently only supports changing the download limit. This could presumably also be used by ffsend and other Send clients.
  • Extensions can now provide a URL for the icon of the service after uploading a file, which is added to the message instead of using the extension's icon. Some of the Send service instances of course use different icons and this would allow the correct one to be added to the message. However, there does not currently seem to be a consistent path for the icon. Of the 17 public Send instances, 12 use /icon.26e159f8.svg, one uses /icon.fd04d81a.svg, one uses /portailpro-logo.bff132c0.png, one uses /logo.9be52fed.png, one uses /logo_acted_full.1d533b41.svg and one is down. I propose something like a new /__icon__ endpoint which returns the icon, either directly or by an HTTP 301 redirect. An alternative would be to include a favicon.svg file, which is already a standard supported by many browsers (see here), but some Send instances may not want to use an SVG icon.

Of course, neither of these feature requests are a priority, but I thought I would mention them in case someone was interested in implementing either.

@timvisee - While investigating this, I also noticed that Send still uses the Firefox Send favicon (source):
image

from send.

Related Issues (20)

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.