jobisoft / TbSync

[Thunderbird Add-On] Central user interface to manage cloud accounts and to synchronize their contact, task and calendar information with Thunderbird
https://github.com/jobisoft/TbSync/wiki/About:-TbSync
Mozilla Public License 2.0
801 stars 54 forks source link

Supports TB 128 #726

Closed panther7 closed 2 weeks ago

panther7 commented 1 month ago

Add compatibility forThunderbird 128.

Release date: 11 July 2024

bjo81 commented 1 month ago

Is this still needed due to TB128's experimental EWS support?

jobisoft commented 1 month ago

I think next year MZLA will add calendar and address book support, but for now it is only email. But yes as soon as they have added support for these, TbSync is no longer needed.

jim-davenport commented 1 month ago

For planning purposes, approximately when do you think TBSync will be updated to support 128?

jobisoft commented 1 month ago

For planning purposes, approximately when do you think TBSync will be updated to support 128?

Next week.

jim-davenport commented 1 month ago

Thank you.

john-g-davies commented 1 month ago

AFIK Thunderbird Exchange support uses the Exchange Web Services protocol. If your server uses Exchange ActiveSync then the native support will not work and you will still need TBSync. Thanks jobisoft.

peci1 commented 1 month ago

It seems the version on master branch has problems with registration of providers on TB 128.

I see this exception when I try to load Google-4-TbSync with https://github.com/zanonmark/Google-4-TbSync/pull/54:

[Exception... "AddonManager is not initialized"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: resource:///modules/AddonManager.sys.mjs :: getAddonByID :: line 2850"  data: no] AddonManager.sys.mjs:2850:24
    getAddonByID resource:///modules/AddonManager.sys.mjs:2850
    getAddonByID resource:///modules/AddonManager.sys.mjs:4265
    loadProvider chrome://tbsync/content/modules/providers.js:51
    observe chrome://google-4-tbsync/content/bootstrap.js:30
    startup chrome://google-4-tbsync/content/bootstrap.js:44
    registerBootstrapScript file:///D:/programovani/TB addons/Google-4-TbSync/content/api/BootstrapLoader/implementation.js:783
    AsyncFunctionNext self-hosted:807

Just trying to debug this, I see AddonManager.isReady always returns false. Calling AddonManager.init() ends up with an error.

bunniemeow commented 1 month ago

the extension store does not have the tb128 version. could it be added, or could i have another way to access it?

gcat60 commented 1 month ago

I thought this was for TbSync but the link is for quicktext? Is there a download for TbSync that works with 128?

ThatWasLeftHanded commented 1 month ago

I thought this was for TbSync but the link is for quicktext? Is there a download for TbSync that works with 128?

I agree, the add-on isn't listed as compatible yet...

jobisoft commented 1 month ago

Oh, sorry, got mixed up in the projects. You are correct, TbSync is not done yet.

Cyanic commented 1 month ago

Any ETA on TbSync working on 128?

A-Tarraf commented 1 month ago

By the way, it also seems that the new beta version of Thunderbird only supports email . Honestly, I don't mind as I have been using TBsync for years now without any complains. Many thanks for the continuous development!

btaroli commented 1 month ago

The other thing to think about with this is that there is a fairly decent community of us using TbSync for situations where our enterprises rely upon Graph API, and some of whom have customized TbSync to actually sort of support it. So if native 128 calendar doesn't some of us will be looking for other options. Messy.

john-g-davies commented 1 month ago

Hello jobisoft, is there anything we can do to help you get this working with TB 128?

ravensorrow commented 3 weeks ago

Dropping in so I can catch an update on this when it's released for 128.x. Kinda lost w/o it right now. I rely heavily on my calendars and with them not syncing is harming my ability to stay focused and organized.

ThatWasLeftHanded commented 3 weeks ago

... I seriously don't want to subscribe to Owl for Exchange, so just tell is when you'll never release the update...

spiregarden commented 3 weeks ago

For the time being, I decided to downgrade and migrate from v128(snap version) to v115(APT version). Please note that this procedure is NOT OFFICIAL NOR SAFE. In fact this is hacky and may lead to loss of your mail and calendar events. If you decide to apply any part of my memo, please be sure to take backups! My OS is Ubuntu, but parts of this can be applicable in other environments. I hope this saves time from someone else.

My migration progressed like this:

achmafooma commented 3 weeks ago

I'm also anxiously awaiting the update. I rely on tbsync! I am a web developer, and while I've never worked on a Thunderbird plugin before I'm happy to help write some JS if it'll be helpful...or just help with testing if you want to have some extra validation before you go live with an update. @jobisoft, Please reach out if there's anything I can do.

I also just sent you a PayPal donation. It's not a bribe for tbird128 support ;-) just a small 'thank you' for your hard, thankless work on this plugin and the EAS connector. Living without it this last week or two has reminded me how important it is for my day-to-day work. I was taking it for granted :-)

ThatWasLeftHanded commented 3 weeks ago

Okay, so Thunderbird on the Microsoft Store is still on version 115, which can use TbSync.

I recommend going there for now - https://apps.microsoft.com/detail/9pm5vm1s3vmq?lc=1049&hl=en-us&gl=us

ravensorrow commented 3 weeks ago

For the time being, I decided to downgrade and migrate from v128(snap version) to v115(APT version). Please note that this procedure is NOT OFFICIAL, NOR SAFE. In fact, it is hacky and may lead to the loss of your mail and calendar events. If you decide to apply any part of my memo, please be sure to take backups! My OS is Ubuntu, but parts of this can be applicable in other environments. I hope this saves someone else's time.

My migration progressed like this:

* I took backups:
  rsync -avh ~/snap/thunderbird/ ~/backup/2024-08-08_backup_thunderbird/

* I deleted the Snap version (at the same time, Snap took a gzipped snapshot, but I don't know where it put it, if anywhere)

* I pinned Thunderbird to major version 115:
  sudo nano /etc/apt/preferences.d/thunderbird-115
  Package: Thunderbird
  Pin: version 1:115.*
  Pin-Priority: 1001

* I added the Mozilla ppa
  sudo add-apt-repository ppa:mozillateam/ppa

* I double-checked that apt won't push a newer major version than the pinned one:
  apt-cache madison Thunderbird

* I installed Thunderbird
  sudo apt install Thunderbird

* I had to edit the profiles.ini file

* I deleted the ~/.thunderbird/8sfj38s9.default/compatibility.ini file to bypass version check

* I deleted the local IMAP mails
  /2024-08-08_thunderbird_pre_rollback_2/common/.thunderbird/8sfj38s9.default/ImapMail/outlook.office365.com/*

* I started Thunderbird first as a test with the PC NETWORK CONNECTION DETACHED (this was to test Thunderbird first without fetching mail from POP3 accounts into a potentially broken Thunderbird) and finally with a network connection.

* It would seem that the rollback was successful—accounts, settings, and everything else were there. Nothing needed to be reconfigured in Thunderbird itself.

* now I just need to remember to update the apt preferences.d/thunderbird-115 restriction file to allow major updates when the plugins start supporting the newer Thunderbird

While useful for someone with a specific use case for Ubuntu or someone running a Debian SNAP system, it is definitely not recommended for the faint of heart.

jobisoft commented 3 weeks ago

I would like to reaffirm you that I am working on the updates, but I am stuck at a network connection error: All connections come back as 401 currently. I keep you posted.

I am sorry for the delay.

dabockster commented 3 weeks ago

Hey @jobisoft take your time! Thunderbird just changed their whole update model, so it's only natural to see a 3rd party aftermarket addon break. The message regarding the CalDav addon was a bit jarring at first when displayed next to every TbSync related addon being disabled, but this isn't your day job so I really have no right to be upset.

For everyone who's mad at a developer basically donating their time ✨for free✨, they can go buy Owl or just migrate completely back to Microsoft Outlook. Or y'all should probably migrate to the new ESR Thunderbird branch ASAP if you're that worried about a Thunderbird update ruining your business workflow. Do some actual risk analysis before trusting your mission critical business IT infrastructure to a bunch of random unpaid open source volunteers online.

(And John should charge actual money for an ESR edition of TbSync. Just my two cents considering the absolute drama going on here.)

theofficialgman commented 3 weeks ago

For everyone who's mad at a developer basically donating their time ✨for free✨, they can go buy Owl or just migrate completely back to Microsoft Outlook. Or y'all should probably migrate to the new ESR Thunderbird branch ASAP if you're that worried about a Thunderbird update ruining your business workflow. Do some actual risk analysis before trusting your mission critical business IT infrastructure to a bunch of random unpaid open source volunteers online.

Yes. A quick reminder that FOSS software and the "Software Supply Chain" are incompatible https://www.softwaremaxims.com/blog/not-a-supplier https://www.softwaremaxims.com/blog/open-source-hobbyists-turf

If your business relies open source software reach out to those software maintainers and reach a mutually beneficial agreement (eg: exchange of money, developers, and/or time for your support)

dabockster commented 3 weeks ago

@theofficialgman Or just buy closed source in the first place. Open source is basically the multiverse in supply chain form. From an enterprise/cybersecurity perspective, it should be considered experimental research stuff.

jobisoft commented 2 weeks ago

The bug regarding all network connections coming back as 401 has been fixed. I have the combo TbSync+EAS running again for an 3rd party EAS Server (Kopano). Now looking into OAUTH issues.

jobisoft commented 2 weeks ago

See https://github.com/jobisoft/EAS-4-TbSync/issues/267#issuecomment-2295470811

gcat60 commented 2 weeks ago

Beta working with no issues 128.1.0esr (64-bit) on Windows 11 Pro. Thanks! I'll throw some bones your way for the work :)

jobisoft commented 2 weeks ago

TbSync 4.11 for TB128 itself is now listed on ATN: https://addons.thunderbird.net/addon/tbsync/versions/

The google provider as well: https://addons.thunderbird.net/addon/google-4-tbsync/versions/

My EAS provider still needs a bit and its progress is tracked in the issue linked in https://github.com/jobisoft/TbSync/issues/726#issuecomment-2295471419