-
Notifications
You must be signed in to change notification settings - Fork 36
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
Adapt Thunderbird Conversations plugin to work with add-on version 4.x #203
Comments
I'd be quite happy to collaborate on this. Can you give me an overview of how DKIM Verifier currently works? I'm just wondering if there's something simpler that what we do now, that we might be able to head to with WebExtension APIs (that might be longer term, but let's see). |
Thanks for reaching out to me. Planned to contact you after I'm done with the complete migration (4.0.0 version), but seems like you there faster.
Most parts are already in the new WebExtension format.
I thing the rest should be mostly irrelevant for the integration. I already thought previously a little about the integration (nothing tried out so far), and here are my thoughts how the current plugin cold be adapted: 1. Getting the authentication result from the DKIM Verifier in the Conversations plugin:At least for the DKIM Verifier, the easiest here would be to use the One think to consider here is if the second step described above needs also be handled here by the DKIM Verifier, or if will get called for emails only anyway. Only issue is see here is that the plugins logic in Conversation seems to not be ported to WebExtensions so far, so maybe not straight forward to do that there. 2. Showing the authentication result in Conversation:I think here you can better tell if/what needs to be changed. the thinks returned by the Not directly tied to adapting the current integration, but something that I think should be considered at least in the future: 3. Only let the DKIM Verifier do it's starting of the verification (and showing the result) if a single message is viewed in the classic viewThis is currently done here: https://github.com/thunderbird-conversations/thunderbird-conversations/blob/89afc4bc5489d06f362a8f91b8b96db22630dfd1/addon/content/modules/plugins/dkimVerifier.js#L34-L43 The problem is that with Conversation installed, there are two e-mail views, that needs to be handled differently: (a) Mails are shown in the Conversation view. (b) A single mail is viewed in a separate tab or window. I think this would be the hardest part. Given the problem on the 3 step of the current approach has, we should at least briefly also consider to revert the current approach. I.e. that the DKIM Verifier looks for the Conversation add-on, and initiates the showing in Conversation if needed. Note that I haven't thought about that much, so unsure if it would solve anything, and what the consequences would be. |
Re-added support for Conversations using the new Pill message API (thunderbird-conversations/thunderbird-conversations#1690). |
Not working for me (or I just can't find where to find this "pill"?). I'm using TB 115.3.1, DKIM verifier 5.3.1 and Conversations 4.1.3. Any suggestions? |
Please make sure you try it with an email that has a DKIM signature. E.g. by viewing the message in a new window, which should show the DKIM result in the header. Otherwise take a look at the error log, maybe something shows up there https://github.com/lieser/dkim_verifier/wiki/Debug#view-error-and-debug-messages. It could be that the detection of the conversation view is broken in case Conversation recently changed somthing there. Please create a separate issue to track your problem. |
The current plugin for this add-on inside Thunderbird Conversations no longer work with the 4.x WebExtension version of the add-on.
See also thunderbird-conversations/thunderbird-conversations#1431
The text was updated successfully, but these errors were encountered: