Giter VIP home page Giter VIP logo

cb_thunderlink's Introduction

See my website where I am going to maintain some documentation.

cb_thunderlink's People

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

Watchers

 avatar  avatar  avatar  avatar

cb_thunderlink's Issues

Update for Thunderbird >91

Thunderbird 102 has been released, but cb_thunderlink is not compatible.
It seems to work by setting strict_max_version to 102.* in manifest.json in the xpi.
Could this please be updated in a new version.
Thanks!

Please do elaborate on your assumption that TB drops ability to open emails via message-ids

Hi,

I read on https://camiel.bouchier.be/en/cb_thunderlink that you think that "there is a remote risk that searching on the message-id gets lost in the further future reduction of Thunderbird API".

What is the advantage of switching to a combination of email date + author?

In my head, there is a red alarm when you describe a process of switching from the standard of identifying emails (message-IDs) to a non-standard identification method instead. Any decent mail client offers retrieval possibilities based on message-IDs.

I once had a setup where I could open a link to an email within my notes either within notmuch or within Thunderbird. Both were able to identify the same email within their systems using the message IDs. Although I do not use notmuch any more, this was a comforting situation since I knew that there is this level of freedom waiting, just in case.

Message-IDs ought to be worldwide unique. Therefore, they can be used to communicate to tech-savvy peers like "please refer to $MESSAGEID in case you want to find out more about this issue". This new date/author method is most likely only of any use within cb_thunderlink.

What are your thoughts on these questions?

Thanks a LOT for providing cb_thunderlink! I just discovered it and it saves hundreds or even thousands of email links within my personal notes (Org mode).

Can't open thunderlink/cb_thunderlink links

Hi,

Xubuntu 20.04.02 LTS, cb_thunderlink 0.8.0, Thunderbird 78.7.1

Registered cb_thunderlink:

vk@host ~/cb_thunderlink % ./cb_thunderlink register
Registering /home/vk/cb_thunderlink/cb_thunderlink to Thunderbird (/home/vk/.mozilla/native-messaging-hosts/cb_thunderlink.json)
Writing /home/vk/.local/share/applications/cb_thunderlink_cbthunderlink.desktop
Executing ['gio', 'mime', 'x-scheme-handler/cbthunderlink', 'cb_thunderlink_cbthunderlink.desktop']
(b'Set cb_thunderlink_cbthunderlink.desktop as the default for x-scheme-handler/cbthunderlink\n', None)
Writing /home/vk/.local/share/applications/cb_thunderlink_thunderlink.desktop
Executing ['gio', 'mime', 'x-scheme-handler/thunderlink', 'cb_thunderlink_thunderlink.desktop']
(b'Set cb_thunderlink_thunderlink.desktop as the default for x-scheme-handler/thunderlink\n', None)
vk@host ~/cb_thunderlink %

I can generate thunderlinks (and adapted for org). However, I can not open any link. When trying to follow a link, Thunderbird is brought to foreground + focus but no email is shown. (Indexer is enabled - as I've learned in another issue here.)

Here are example lines:

vk@host ~/cb_thunderlink % /usr/bin/thunderbird -thunderlink thunderlink://[email protected]
vk@host ~/cb_thunderlink % /usr/bin/thunderbird -thunderlink cbthunderlink://MjAyMS0wMi0yNVQxM...XlAem50LmRlPg==
vk@host ~/cb_thunderlink % ./cb_thunderlink cbthunderlink://MjAyMS0wMi0yNVQxM...XlAem50LmRlPg== 
vk@host ~/cb_thunderlink % ./cb_thunderlink thunderlink://[email protected]
vk@host ~/cb_thunderlink %

Each of them is switching to TB but not showing the message I'm querying for.

What can I check?

Thanks for your time!

Take advantage of Bug 1824976 and use "thunderbird ext+thunderlink:something" for the WebExtension protocol handler support from the command line

Hi,

in the past months, we have fixed Thunderbird's protocol handler support for WebExtensions. Today, my last patch of this effort landed, which enabled access from the command line.

First registers a handler like so:

{
        "manifest_version": 2,
        "name": "thunderlink",
        "version": "0.1",
        "protocol_handlers": [{
                "protocol": "ext+thunderlink",
                "name": "Thunderlink Protocol Handler,
                "uriTemplate": "/thunderlink.html#%s"
        }]
}

Now Thunderbird supports the url scheme ext-thunderlink: and if it is used in a popup or tab, it will be passed on to the registered html file with the original url replacing the %s placeholder in the registration. Your html file (or better its loaded script) can now do whatever you need to do (decode the payload and open the correct message and close the handler tab).

With Bug 1824976 landed (maybe in tomorrows Daily already), this can also be invoked from the command line:

thunderbird ext+thunderlink:<payload-data>

I think this may remove a lot of the extra steps you currently have to do to get the OS integration working. I assume, you can turn thunderlink now into a pure WebExtension.

Gloda import and TB versions

To answer a question you asked in:

mikehardy/thunderlink#64

regarding importing Gloda in cb_api.js, I looked at the source code and the file GlodaPublic.jsm appeared in TB version 74.0b1. Beforehands the file to import is instead public.js according to:

https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Creating_a_Gloda_message_query

I see you are instead falling back to importing the file gloda.js (I suppose it must be working but just to point this out).

no thunderlink line in context menu, linking also does not work

Hello, I was just soooo happy to discover that thunderlink has been rewritten for newer TB versions.

I installed in windows 10 following instructions (first installing the plugin, then registering with the external program, then deinstallgin and reinstalling the plugin). Looking at the the log file, all seems fine.
I have restarted TB after installation, just to be sure.
However I do not see the context menu point Thunderbird when right-clicking on an email.
I also have tried my old thunderlink links, I see a command window flashing and then nothing happens. I see in the logfile :
2023-03-03 15:34:19,676 - 22776 - INFO - 86 : Starting cb_thunderlink (['C:\Users\myname\cbThunderlink\cb_thunderlink.exe', 'thunderlink://messageid=[email protected]/'])
2023-03-03 15:34:19,676 - 22776 - INFO - 209 : Executing cb_thunderlink
2023-03-03 15:35:45,939 - 16208 - INFO - 85 :

If I search for the message-ID manually, I do still find the email.

Any ideas ?

I'm using TB 102.8.0 (32 bits) on a windows 10 pro 64 bits

Oliver

Can't copy from the email/conversation tab ?

First, thanks for this great addon. It works great if I copy the link from the main page (the one that lists all emails) but if I click on an email to read it (or if I search for it and click on it) it does not work anymore (clicking would just leave the content of the clipboard unchanged).

image

I don't know if this can be a problem but I'm using the conversation extension.

Building the extension

This might just be my own unfamiliarity with 7z, but... I tried your build.sh and it didn't yield a useful xpi. I see there is a @files_in_xpi.lst referenced in the script - where is this list coming from?

Doesn't seem to work for certain message types

This has worked great for my email messages (i.e., press the keyboard shortcut I assigned and I get the link copied), but for some reason it doesn't seem to work consistently for my feed messages. I know feed message is probably not intended to be used on by this addon (or the precursor), but I had used Thunderlink on them previously to great result.

Conceptually, feed message should just be like normal email message, right? I tested opening links for feed messages - this worked just fine. It's just the capturing part is somehow amiss.

CHANGELOG not updated for v0.7

With issue #9 the CHANGELOG was added.

To serve properly, it shall be updated with each release.

If you are fine with using python based tooling (such as towncrier), I may help setting up the system, where with each new feature, short - user oriented text is added as independent file referring to closing issue and with releasing, single command builds uptodate changelog.

Clarify upgrade steps

Make clear, what steps are needed to upgrade the plugin.
This probably applies only to system integration, but even few words would help.

Try to clarify:

  • is there any need to remove/deregister the previous version? How?
  • how to test, the integration works

Thanks for great plugin. It is hard to imagine to work without that.

integration with org-mode

Hello,

new Thunderbird user here just migrated from Claws-mail and curious if cb_thunderlink can serve the same purpose as the one described here ?

On translating thunderlinks to cbthunderlinks

This is just an idea, I don't have any issue now. You mentioned earlier you plan to provide a command line tool that would output a file containing $messageid$ / $cblink$ pairs for all messages, that could then be used to convert old thunderlinks to cbthunderlinks should the former become unusable in Thunderbird, but that this approach would not work for converting links in non-text documents such as word or excel files.

Couldn't a solution be to make cb_thunderlink make the translation on the fly when a thunderlink is clicked? That is, suppose thunderlinks stop working at some point. Then at this moment I use your tool to generate that file (with a hard-coded file name in the same folder as cb_thunderlink.exe. Then when cb_thunderlink.exe receives a thunderlink, if that file is there it uses it to pass the corresponding cbthunderlink to Thunderbird instead. And I only need to generate that file once if I switch to creating cbthunderlinks only from then onwards.

Opening thunderlinks from the extension button might be more tricky, but perhaps possible if the extension can somehow send the thunderlink to cb_thunderlink.exe that would then send back the corresponding cbthunderlink (I suppose there should then be a checkbox in the options page to toggle this behavior).

As I said, I just wanted to run the idea by you in case you find it worthwhile. Feel free to close the issue any time.

Desktop file integration not quite working on Gnome

Hi! Thanks for this extension.

I got some errors trying to register the desktop integration on Fedora 33, and mostly just wanted to record them while I can still find them easily:

Executing ['gio', 'mime', 'x-scheme-handler/cbthunderlink', 'cb_thunderlink_cbthunderlink.desktop']
gio: Failed to load info for handler “cb_thunderlink_cbthunderlink.desktop”
(b'', None)
Writing /home/takluyver/.local/share/applications/cb_thunderlink_thunderlink.desktop
Executing ['gio', 'mime', 'x-scheme-handler/thunderlink', 'cb_thunderlink_thunderlink.desktop']
gio: Failed to load info for handler “cb_thunderlink_thunderlink.desktop”
(b'', None)

I can use the URLs with python3 cb_thunderlink.py <url>, but xdg-open <url> fails with:

gio: <url>: The specified location is not supported

This is the same for both cbthunderlink:// and thunderlink:// URLs.

cb_thunderlink stopped working

cb_thunderlink has been working great for me until recently, but now it seems to just not do anything. I can generate a link for an email, but clicking the cb_thunderlink button with that link in the clipboard has no effect. Likewise, following the hyperlink (which used to work) pops up Thunderbird, but it doesn't navigate to the message. I'm running Thunderbird 78.13.0, under Linux. I see the following error in the Error Console, which might or might not be relevant. Any thoughts?

this.selection.select is not a function folderPane.js:642
    selectFolder chrome://messenger/content/folderPane.js:642
    onQueryCompleted jar:file:///home/username/.thunderbird/2iaum1xw.default-release/extensions/[email protected]!/cb_api.js:120
    _onQueryCompleted resource:///modules/gloda/Collection.jsm:678
    onQueryCompleted resource:///modules/gloda/GlodaDatastore.jsm:163
    _onQueryCompleted resource:///modules/gloda/Collection.jsm:678
    onQueryCompleted resource:///modules/gloda/GlodaDatastore.jsm:163
    _onQueryCompleted resource:///modules/gloda/Collection.jsm:678
    onQueryCompleted resource:///modules/gloda/GlodaDatastore.jsm:163
    _onQueryCompleted resource:///modules/gloda/Collection.jsm:678
    onQueryCompleted resource:///modules/gloda/GlodaDatastore.jsm:163
    handleCompletion resource:///modules/gloda/GlodaDatastore.jsm:444

"enable Global Search and Indexer"

Ahhh I think I found the reason: in thunderbird preferences -> general, at the very end under "Indexing" the checkbox "enable Global Search and Indexer" was unticked (not sure why though, maybe that is the default state?). I have checked the box, restarted thunderbird and now the sqlite db is slowly growing. Under "tools -> activity manager" you can see the indexing progress, I tried cb_thunderlink again with a mail from an indexed folder and heureka, it works! From the button and also from outside via xdg-open!

So the addon works fine, maybe just the prequisite should be checked / mentioned in the readme? And also maybe an error message would be nice if thunderlink cannot find a requested message?

Thanks for your addon & help! @bepolymathe does the fix work for you too?

Originally posted by @tbruckmaier in #19 (comment)

thunderlink: and cbthunderlink: not working

Version 0.6.0, Windows 10 version 2004, Thunderbird 68.12.1, Google Chrome Version 86.0.4240.111

Successfully installed cb_thunderlink.xpi and cb_thunderlink_windows:

2020-11-01 12:59:07,495 - 12548 - INFO - 82 : ====================================================================================================
2020-11-01 12:59:07,496 - 12548 - INFO - 83 : Starting cb_thunderlink (['cb_thunderlink.exe', 'register'])
2020-11-01 12:59:07,499 - 12548 - INFO - 246 : Finishing cb_thunderlink
2020-11-01 12:59:07,500 - 12548 - INFO - 247 : ====================================================================================================

The add-on creates links, e.g.:

thunderlink://messageid=[email protected]

cbthunderlink://MjAyMC0xMC0yOVQyMToyMDowMC4wMDBaO0tlaXRoIDxnb3JsZW5AY29tY2FzdC5uZXQ+

but these do not cause linked messages to open.

Add CHANGELOG

Thanks for great extension.

It would be great to provide changelog.

The simplest solution is simply adding the CHAGNELOG.md and filling things into it.

Alternatively using tool such as towncrier. If there is any help needed in adding towncrier (explaining, setting it up), ask for it, I could try.

Installation

Hi @CamielBouchier

I have just installed a new machine with thunderbird under linux (Fedora) and I would like to reinstall cb_thunderlink that I have used for several years but I have a problem.

image

Ok

image

Ok, it works

Is global indexing enabled?

Yes

Consol

image

Seems to work.

However I can't get any active links on the whole system. And last thing it's a flatpak 🤔... same problem as snap ?

File Not Found Error while registerin cb_thunderlink on Ubuntu 20.04

Hi, I'm trying to register cb_thunderlink but getting the following error:

$ cd ~/cb_thunderlink
$ ./cb_thunderlink register
Registering ~/cb_thunderlink/cb_thunderlink to Thunderbird (~/.mozilla/native-messaging-hosts/cb_thunderlink.json)
Traceback (most recent call last):
  File "cb_thunderlink.py", line 156, in <module>
FileNotFoundError: [Errno 2] No such file or directory: '~/.mozilla/native-messaging-hosts/cb_thunderlink.json'
[28845] Failed to execute script cb_thunderlink

Notes:

  • I have replaced my home directory with '~' in the above output
  • my thunderbird installation is in ~/.thunderbird, not ~/.mozilla
  • the directory native-messaging-hosts does not exist in either my ~/.mozilla directory or my ~/.thunderbird directory

I am very much interested in using cb_thunderlink links in TiddlyWiki, which is an integral part of my workflow, and would appreciate any guidance you can provide to get the OS integration working.

Thanks in advance.

CaptainPackers

Thunderbird 78.8.1?

When I attempt to load the from the thunderbird add on library online it says the following:
image

OS integration

I have a question about OS integration. When I run/open Thunderbird myself, the script works perfectly (i.e., it finds the appropriate message). However, when Thunderbird is not running and I run the script in the terminal, I get the following error message:

➜  ./cb_thunderlink thunderlink://messageid=lvwozo98VTyJZfYrA6yI4h...
Traceback (most recent call last):
  File "cb_thunderlink.py", line 211, in <module>
ConnectionRefusedError: [Errno 111] Connection refused
[4111] Failed to execute script 'cb_thunderlink' due to unhandled exception!

I have also tried the xdg-open command, which gives the similar output:

➜  xdg-open thunderlink://messageid=lvwozo98VTyJZfYrA6yI4h...
Traceback (most recent call last):
  File "cb_thunderlink.py", line 211, in <module>
ConnectionRefusedError: [Errno 111] Connection refused
[5967] Failed to execute script 'cb_thunderlink' due to unhandled exception!
/usr/bin/xdg-open: line 881: x-www-browser: command not found
/usr/bin/xdg-open: line 881: firefox: command not found
...
/usr/bin/xdg-open: line 881: w3m: command not found
xdg-open: no method available for opening 'thunderlink://[email protected]'

Let me know if this is expected or should I start Thunderbird before I call cb_thunderlink?

OS info: Arch Linux + Thunderbird 91.9.1 installed through package manager (pacman).

placeholder for 'current' timestamp

Hello,

I'm glad seeing that #38 is merged and wonder how difficult would it be to add current timestamp (y-m-d hh.mm:ss) when the link for the task is created?

I've some task where it is very important to notice the correct time when I read the email and create an appropriate task for it.

The same thing I was able to accomplish with Claws-mail and Etm, but this feature would enable me to fully switch/use TB.

Sincerely,
Gour

Full Mac Support?

Any chance clickable / OS support could make it into an upcoming release?

Having clickable links / OS support would be HUGE for me and the workflow I currently use!

I'm also having some difficult getting the Keyboard Shortcuts to work or perhaps I don't understand how to use them correctly. If I trigger the shortcut for configurable link 1 it doesn’t seem to copy to clipboard for me?

Lastly, would it be possible to add a shortcut to trigger the cb_thunderlink button action?

Thx

Usage guidance missing

As far as I can tell, there is not information at all about how to use the cb_thunderlink add on. Am I right?

I am new to both Thunderbird and Thunderlink. I found the README for the original Thunderlink, which says that I can right click an email and select Thunderlink, however no such item is there now with cb_thunderlink installed.

I suspect that by clicking the cb_thunderlink button, it should create a link and copy it to clipboard. But I could be entirely wrong? :) In any case, nothing is copied to clipboard and I cant see that anything happens when I click this button

So how do I use it? :)

Details: Thunderbird 102.2.2 on Ubuntu 22.04.

no link created in Thunderbird 115

The context menu to create a thunderlink doesn't work. It creates no link under linux. Neither posts something to the clipboard or the Xorg selection.

Also the context menu doesn't have a proper description, it just says "cb_thunderlink", so I don't think it's properly working under Thunderbird 115 yet.

2023-07-23-213008_6000x1440_scrot

It might be useful to add an option to display the thunderlink in a dialog so one can copy&paste it.

Registering system integration fails with: `GLIBC_2.29' not found`

OS: Debian 10 Buster

$ ./cb_thunderlink register
[23303] Error loading Python lib '/home/javl/install/cb_thunderlink/cb_thunderlink/libpython3.8.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/javl/install/cb
_thunderlink/cb_thunderlink/libpython3.8.so.1.0)

There seem to be similar issues with other tools, such as deltachat/deltachat-desktop#1006

It is proposing to install lib6 from testing but it would be nicer to keep using standard system version, if possible.

I did not test the fix using installation from testing (yet)

Confused about installation process for Windows

I'm unable to use the "Clickable - OS-integration" feature in Windows:

image

But it's not clear to me that I installed the extension correctly.

After searching for the extension in Add-on Manager and installing it, I noticed the description said "Note that the full os-integration requires the installation of an accompanying program".

I followed the link, and as far as I could tell, the "accompanying program" is cb_thunderlink.exe from cb_thunderlink_windows.zip on this project's GitHub release page. But running that program while using the add-on doesn't affect Windows link handling.

Then I noticed that part in the documentation that says the accompanying program is "started automatically by the add-on". But the plugin has no setting to indicate where cb_thunderlink.exe resides.

So cb_thunderlink.exe must actually ship with the add-on, right? Meaning the accompanying program was present all along, and the whole Github part of this journey wasn't necessary? And perhaps my issue has to do with some incompatibility with newer versions of Windows?

I'm so confused, any guidance would be immensely appreciated.

Thunderbird Version 78

Hey,
I am on TB v78 already. Are there any plans to provide support for v78 as well?

Thanks.

Change commands shortcuts

Amazing, thanks a lot, saved my day!

I don't see a menu option to get the link from within the message. No problem, I prefer to use a shortcut. I've found in the source code the shortcuts like Ctrl+Alt+1 launching commands like copy_link_1. Cool, nice work! Is there any possibility to change the shortcuts? I don't see such menu in preferences. Or at least, how I can invoke a registered command from within the developer tools? goDoCommand("copy_link_1") does nothing. (I'm using tbkeys so I prefer the most to set shortcuts this way.)

Using cb_thunderlink on two computers

[not realy an issue]

Good evening,

I would like to thank you for this tool that you have made available and that I have been using with great pleasure for almost two years. My work organization is going to change with more telecommuting, and therefore two computers. One at home under linux. Another at work on windows.
Is there any hope that I can use the same links on both machines?
Thanks in advance.
Have a nice evening.

Path to executable not enclosed in quotes in registry entries

Issue was marked as closed, but it's not fixed in Release 0.7:

OK, got it working.  Two problems:

  1. I installed cb_thunderlink from a network drive, which was not
    permanently accessible.  To solve this, the installation procedure
    should follow the standard practice of copying the necessary files
    to %PROGRAMFILES% or %PROGRAMFILES(X86)%.

  2. I then installed cb_thunderlink in C:\Program Files
    (x86)\Thunderlink\cb_thunderlink.  This didn't work either. 
    Examining some of the installed registry entries, I found that the
    path to the executable wasn't enclosed in "", which it needs to be
    because the path name contains a space. Rather than change the
    registry entries manually, I re-installed in
    C:\Thunderlink\cb_thunderlink to avoid the problem with spaces.  The
    register command should add the quotes.

Thanks for getting this critical add-on to work again!

On 11/2/2020 2:31 AM, Camiel B wrote:

@kgorlen https://github.com/kgorlen , let me try to help. I have it
working myself on Windows 10.

(i) I understand the cut/paste-into-thunderbird works perfectly, so it
is not a matter of broken or wrong links, correct?
(ii) I understand you unpacked the cb_thunderlink_windows and have it
somewhere /permanently/ on your computer. I have it e.g. as
|c:\cb_thunderlink...|

If so, and hoping you have some |regedit| experience, can you search
through your registry editor and cut/paste all entries that are
thunderlink related?

Camiel B.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#10 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDDVSYWY7YP2LI6XRQIJN3SN2C7PANCNFSM4TGY7WAA.

Originally posted by @kgorlen in #10 (comment)

Thunderlinks for some email messages not copied to clipboard

Thunderbird 91.4.0 (64-bit) with cb_thunderlink 0.8 for Windows (but the Version shown in the add-on is 0.6.0)

Here's an example: I have two messages in my inbox:

image

Creating a thunderlink for the second message copies a working link to the clipboard:

Fwd: Risks of not getting booster | Newsom going after gun makers | Harris unfazed by headlines | e-Edition thunderlink://messageid=[email protected]

But creating a thunderlink for the first message leaves the clipboard unchanged.

Heres the header of the failing message:

Return-Path: [email protected]
Delivered-To: [email protected]
Received: from dovdir4-hob-04o.email.comcast.net ([96.102.179.230])
by dovback4-hob-24o.email.comcast.net with LMTP
id 6K1yC9hbtmGbSAAAD/ALhw
(envelope-from [email protected])
for [email protected]; Sun, 12 Dec 2021 20:30:16 +0000
Received: from dovpxy-asa-10o.email.comcast.net ([96.102.179.230])
by dovdir4-hob-04o.email.comcast.net with LMTP
id AEMbC9hbtmG2KwAALnO4HA
(envelope-from [email protected])
for [email protected]; Sun, 12 Dec 2021 20:30:16 +0000
Received: from reszmta-h1p-037921.sys.comcast.net ([96.102.179.230])
by dovpxy-asa-10o.email.comcast.net with LMTP
id EKxcKNdbtmE5fAAAcsybWg
(envelope-from [email protected])
for [email protected]; Sun, 12 Dec 2021 20:30:15 +0000
Received: from resomta-po-02v.sys.comcast.net ([96.114.154.226])
by reszmta-h1p-037921.sys.comcast.net with ESMTP
id wV7zmRTu9aV1awVU7mJENf; Sun, 12 Dec 2021 20:30:15 +0000
Received: from [IPv6:::ffff:192.168.1.156] ([24.23.174.254])
by resomta-po-02v.sys.comcast.net with ESMTPSA
id wVU4mva884iGOwVU4mtSQ4; Sun, 12 Dec 2021 20:30:15 +0000
X-CAA-SPAM: F00000
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvuddrkeeigddugedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedtudenucgopfhokfffucdluddtmdenucfjughrpeggvffhufffkgfrjghftgesmhdttdertddtjeenucfhrhhomhepvegrrhholhcuhggvihhsnhgvrhcuoegttgifvghishhnvghrsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeffhfdvteeflefgjeefudfhueffhfethfdvuddvgfdufeeugfelheevtdduueetveenucffohhmrghinheprhhhnhhsfhdrohhrghenucfkphepvdegrddvfedrudejgedrvdehgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopeglkffrvheimeemmehffhhffhemudelvddrudeikedruddrudehiegnpdhinhgvthepvdegrddvfedrudejgedrvdehgedpmhgrihhlfhhrohhmpegttgifvghishhnvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepghhorhhlvghnsegtohhmtggrshhtrdhnvght
X-Xfinity-VMeta: sc=10.00;st=legit
MIME-Version: 1.0
To: Keith [email protected]
From: Carol Weisner [email protected]
Subject: RE: quicken report on charitable donations for 2021
Date: Sun, 12 Dec 2021 12:30:14 -0800
Importance: normal
X-Priority: 3
In-Reply-To: [email protected]
References: [email protected]
Content-Type: multipart/mixed;
boundary="2B014044-3145-499D-8C99-7598B53FBC62"

--2B014044-3145-499D-8C99-7598B53FBC62
Content-Type: multipart/alternative;
boundary="1551273C-E70F-4093-BDEB-4CCE953138BD"

--1551273C-E70F-4093-BDEB-4CCE953138BD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

I have very similar problem but with cb_thunderlink.exe. (Windows)

I have very similar problem but with cb_thunderlink.exe.
C:\thunderlink\cb_thunderlink>C:\thunderlink\cb_thunderlink\cb_thunderlink.exe "thunderlink://[email protected]" Traceback (most recent call last): File "cb_thunderlink.py", line 202, in <module> ConnectionRefusedError: [WinError 10061] Nie można nawiązać połączenia, ponieważ komputer docelowy aktywnie go odmawia [11616] Failed to execute script cb_thunderlink

I'm using

  • Thunderbird 78.4.3;
  • cb_thunderlink 0.6.

Originally posted by @RadoslawKokoc in #11 (comment)

Add shortcut

Hi,

I love this add-on, and I would love it even more if, instead of having to click the thunderlink button, I could just press a combination of keys (a shortcut) to open a message. I use my mouse very little and a have minimalist thunderbird layout without any buttons and toolbars. A shortcut like ctrl-t (or configurable) would make the workflow simpler.

Thanks a lot!
Henning

Mail toolbar icon not working in Thunderbird 91.7.0 64-bit

I use cb_thunderlink all the time, so thank you for developing it. However, the icon that appears on the Mail Toolbar:
image
doesn't do anything when you click it. The only way I'm able to run the addon is by right-clicking the message in the message-list pane. It would be great if it would run when you click the icon (which appears on the toolbar even when reading a message in another tab where the message list isn't visible). Is there some way to make that happen?

Cannot paste link through cb_thunderlink button in Thunderbird 78.7.0

Currently running Thunderbird 78.7.0 (64-bit) on Fedora 33., I am able to create links, which is wonderful, but I cannot open them. I tried to use the command line:

<path-to>/cb_thunderlink/src/cb_thunderlink.py cbthunderlink://<message-id>

which first required converting cb_thunderlink.py to a Linux format (dos2unix filename did it) to execute. Realizing that register also goes through that script I register again and reinstall the add-on. Clicking on the cb_thunderlink button I cannot paste the cbthunderlink - nothing happens. I expect a pop up window of some sort, right? Here is the cb_thunderlink.log (slightly edited to shorten paths and message-id):

2021-02-24 14:53:18,191 - 31007 - INFO - 83 : ==========================================================================================
2021-02-24 14:53:18,191 - 31007 - INFO - 84 : Starting cb_thunderlink (['..../src/cb_thunderlink.py', 'register'])
2021-02-24 14:53:18,262 - 31007 - INFO - 253 : Finishing cb_thunderlink
2021-02-24 14:53:18,263 - 31007 - INFO - 254 : ==========================================================================================
2021-02-24 14:54:39,584 - 31358 - INFO - 83 : ==========================================================================================
2021-02-24 14:54:39,584 - 31358 - INFO - 84 : Starting cb_thunderlink (['.../src/cb_thunderlink.py', '/home/sager/.mozilla/native-messaging-hosts/cb_thunderlink.json', '[email protected]'])
2021-02-24 14:54:39,584 - 31358 - INFO - 224 : Interfacing with background.js
2021-02-24 14:54:39,584 - 31358 - INFO - 229 : Trying to bind to ('127.0.0.1', 1302)
2021-02-24 14:54:39,584 - 31358 - INFO - 235 : Bound to ('127.0.0.1', 1302)
2021-02-24 14:54:39,584 - 31358 - INFO - 237 : Start listening on ('127.0.0.1', 1302)
2021-02-24 14:58:24,196 - 31556 - INFO - 83 : ==========================================================================================
2021-02-24 14:58:24,196 - 31556 - INFO - 84 : Starting cb_thunderlink (['.../src/cb_thunderlink.py', 'cbthunderlink://MjAyMS0wMi0yM1QwOTo1NzowOS4wMDBaOyJQZX...'])
2021-02-24 14:58:24,196 - 31556 - INFO - 207 : Executing cb_thunderlink
2021-02-24 14:58:24,197 - 31556 - INFO - 211 : Message sent: cbthunderlink://MjAyM....XRlcnNAd3VyLm5sPg==
2021-02-24 14:58:24,197 - 31556 - INFO - 253 : Finishing cb_thunderlink
2021-02-24 14:58:24,197 - 31358 - INFO - 240 : Connection from ('127.0.0.1', 49846)
2021-02-24 14:58:24,197 - 31556 - INFO - 254 : ===========================================================================================

There doesn't seem to be any problem, no exceptions were thrown out. My interpretation is that the problem is with the add-on itself and not the cb_thunderlink.py. Is that correct? Any pointer for where I could look to fix the button issue?

Add LICENSE Or COPYING File

Hello @CamielBouchier & all other contributors to cb_thunderlink :)

Thanks for keeping alive ThunderLink with your CB_ThunderLink for thunderbird. Appreciated.

I searched for cb_thunderlink license. But found no answer. As of today December 20th, within the GitHub repository the link presently reads $BeginLicense$ at https://github.com/CamielBouchier/cb_thunderlink/blob/main/cb_put_licenses_on_files.py

For the previous @mikehardy chose this MPL-2.0 License. But for your cb_thunderlink feel really free to choose any license to your liking.

To potentially attract more contributors, more donations, and for a stronger security & privacy, I suggest adding a LICENSE file to this repository

If you're not familiar with a license file, the following free tools might be useful to easily & quickly choose one, then create the license file

Feel really free to choose any type of license to your liking. If not sure about which type of license file to choose, I suggest this GNU GPL 3. So that you are protected from Liability or Warranty claims. While at the same time, as primary author, you remain fully free to edit your code in any ways to your liking, within the GPL3. Another benefit with GPL3 is that you would remain fully free from external interferences.

Any volunteers to create a license file? If needed, I would be happy to contribute testing.

FR: keyboard shortcut

Would it be possible to have a keyboard shortcut that calls the function handle_incoming_link in the same way that the button in the UI does?

ConnectionRefusedError for xdg-open on Ubuntu 20.04

The button is working, but xdg-open does not works for both cb and original links.

  xdg-open cbthunderlink://MjAxOS0wOS0wMlQwODozODoyMy4wMDBaO2lNb2JpbHkuZXUgPGluZm9AaW1vYmlseS5ldT4=
  File "cb_thunderlink.py", line 202, in <module>
ConnectionRefusedError: [Errno 111] Connection refused
[1277893] Failed to execute script cb_thunderlink

Additional information:

  • Thunderbird 78.4.0 installed with snap
  • cb_thunderlink 0.6

Releases do not contain the latest xpi file

On your website you state "Head to the latest release and download the cb_thunderlink.xpi from the assets. ".
But I can't find the xpi within the last few releases. Did you miss to add it?

Unsupported modifier, resource creation failed. XXX: resource creation failed

I just installed Thunderlink, and I'm not sure if I need to do some configuration to begin with.

When I click the cb_thunderlink button, nothing happens, except that it prints the following two lines to terminal:

Unsupported modifier, resource creation failed.
XXX: resource creation failed

What can I do about this?

I am running Thunderbird 102.2.2 (64-bit) on Ubuntu 22.04. I have the Owl plugin installed.

Avoid ugly CMD window pop-up

Hello Camiel,

thank you for reviving the very handy extension, I appreciate it!

Could you please add some parameters to the .exe file to avoid this ugly CMD window popping up each time I click on CB_thunderlink? I know how to make it in a .bat file, but have no clue how to edit the .exe.

It would be also awesome to have this wonderful app in chocolatey as a package to update it easily.

not pasting when using the cb_thunderlink icon?

Dear all,
When copying the link from (e.g. org-mode) and pressing the icon in TB, it does nothing.
From what I understood, pressing the icon should paste the link in TB?
(using TB78.5.0 under windows)
Best regards,
JotaPin

cbthunderlink link is not working in 78.8.1

Thunderbird 78.8.1

Issue:

  • thunderlink is working
  • cbthunderlink is not working

Cbthunderlink link doesn't work if a sender has hypen in the e-mail address. The commit c12c92d doesn't solve the issue anymore.

Permission for use in other works

Hi

Firstly, thank you for your great work and research on this topic. I was so impressed that a working solution could be achieved after all, considering all the limitations the API currently has due to the transition.

Secondly, I would like to ask whether it is possible to use parts of your code in other add-ons. I am currently developing something where I need to open a message in the UI once I identify it, and your 'experiment' seems the only way around to do so. I am asking because I saw the files are marked with "All rights reserved". My extension will be free and have its source available on GitHub as well. I am planning to offer it under MIT License.

So, please, can you give me a license to use those parts (mainly that 'experiment') in my project and bundle it all together under a license like MIT? Or maybe giving just me permission to use that code in my project and still maintain "All rights reserved" for you for those parts in my project and any modification or adaptation of my project by some third party? Or, do you plan to offer this under a libre license altogether?

Thank you very much.

No jumping to the message

Hello,

Thank you for taking over this project. It is a daily tool that I missed. I would like to run it under Fedora 33. I would like to use it with my tasks in emacs org-mode.
The solution proposed here worked very well with the old version but did not work with cb_thunderlink. I jump to the thunderbird window but not to the message.
I don't get an error message... so I don't know how to help debugging.
Any ideas?

Permissions

I suppose the add-on doesn't need all the permission that are listed in manifest.json. Do you have ideas on which ones are really needed? Would you like me to experiment removing some and checking if things still work?

cb_thunderlink button does nothing

When I click the button, nothing happens; also no error or warning.

image

If I run Thunderbird from console and click the button the following error is printed to console:

JavaScript error: moz-extension://a99650c3-9fd9-44f7-b515-bffeca93534e/cb_background.js, line 367: TypeError: match is null

It seems to work perfectly when it comes to copying the URIs to clipboard by right clicking an email, and clicking cb_thunderlink and choosing any of the two URI options.

Setup/version details:

I installed cb_thunderlink v. 1.6.0 using the Thunderbird tool for searching and installing Add-ons. I tried removing and reinstalling, and the result is the same.

I also have the Owl add-on installed, but it makes no difference when I disable it.

I'm on Ubuntu 22.04.1 LTS, with Thunderbird 102.2.2 (64-bit) installed via apt from default repositories.

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.