Repository navigation
Contrack 2.0.6 fixes the Google, Mailbox, Calendar and CardDAV connectors after a live audit and a new test lab against real servers, and closes two CodeQL ReDoS alerts. It needs Node.js 26.13.0 when you run it from source.
Upgrading runs migration 0006_source_origin when the server starts. The first Google sync reads every Google contact once more, and the first calendar sync counts each person in your past meetings once more. To upgrade, pull the new image as Upgrade says.
Security
- Node.js 26.13.0 or later from source (#274). Until the image library ships the libheif fixes, HEIF and AVIF images are refused, such as an account photo or a remote logo in AVIF.
- ReDoS (#283): a long run of dashes or apostrophes in a name or a mail sender's name no longer stalls the server. This closed CodeQL alerts 150 and 151.
- CardDAV over plain
http://(#286): withCONNECTORS_ALLOW_PRIVATE_HOSTS, it is accepted only on the private network.
Added
- Google Contacts sync birthdays, addresses, notes and websites, and Google labels, Friends and Family included, become tags (#282).
- Calendar: "Also treat these addresses as mine", for a calendar that invites you at another address than your sign-in email (#285).
Changed
- A sync where one part fails shows the error on the connector and in its run history, while the other parts still sync (#281). A CardDAV write that the server refuses is an error, and it is tried again after your next edit (#286).
- The first page load is 402 KB of gzipped JavaScript instead of 477 KB (#278).
- Access log lines use one layout, the old
shortone without the empty user field (#277).
Fixed
- Google (#281, #282)
- Gmail syncs when AI summaries are off. Every sync of its mail failed before.
- A contact deleted in Google moves to the trash in Contrack.
- A meeting is logged after it ends. Coming up shows the next 60 days of meetings with someone else, without birthdays, focus time, out of office or cancelled events.
- Connecting works on a server east of UTC, and a permission you untick turns that part of the sync off.
- Reconnect repairs a connector whose secret no longer opens, removing a connector revokes Contrack's access at Google, and the sign-in screens and the 7-day limit of an app in Testing are explained.
- With two Google accounts, each one counts as you, and a mail or invite that both receive is logged once.
- Google's letter tile is no longer saved as a photo, and email addresses and phone numbers keep their work and home labels.
- A suggested person that you save in Google Contacts becomes a contact.
- People and correspondents (#281, #285)
- Each person counts once per mail or meeting, whatever the spelling of the address ("+tag", Gmail's dots).
- Your own addresses, robots such as billing@ or no-reply@, Hide My Email relays and bulk mail are left out, and mail with only you and strangers no longer lands on your own contact.
- A duplicate group says once how many contacts share a name.
- Mailbox (IMAP) (#285): the mailbox you connect counts as you, newsletters and mailing lists no longer suggest people, a folder that cannot be opened shows as an error, and moved-in mail keeps the date it was sent.
- Calendar (ICS) (#285): meetings you declined, events with no one but you, shared or room calendars and Outlook's hidden attendees are left out. Single invited instances of someone else's series are logged once, and an address that returns a web page fails the sync instead of emptying Coming up.
- CardDAV and vCards (#286, #288)
- Two-way sync uploads only the contacts and fields you change, so a server edit to another field stays. Switching from Pull only no longer uploads almost every contact.
- Address books of more than about 15,000 cards sync.
- Removing a connector and adding it back links its contacts again instead of importing some twice. This also fixes Google.
- A contact keeps taking its source's edits when another connector uploads it, and a false "gone" from the server no longer lets the next sync undo a newer edit.
- vCard 4.0 cards stay 4.0, and
tel:numbers,image/jpegphotos, every CATEGORIES line, custom labels and date-time birthdays are read correctly.
Testing
- A connector lab (#284):
npm run test:labruns the Mailbox, Calendar and CardDAV connectors against GreenMail, Radicale and served feeds in Docker, and CI runs it as the Connector lab job. - 4,600 fewer lines of connector tests (#287): behavior is proven in the lab and the browser suite instead of stub servers and unit tests.
Dependencies
imapflow2.10.2,mailparser3.14.2,openai7.50.0,lucide-react1.68.0 andmotion14.9.1 (#289).- The AI provider SDKs, Transformers.js, Google auth and the mail libraries (#273), the security lock updates for hono, express-rate-limit, qs, openid-client and jose (#274), and the dev tools, frontend packages and the CodeQL action (#275).
- Removed: the four
@googleapis/*packages, now plain REST calls through the OAuth client (#279), andmorgan,@types/morganand@types/mailparser(#277).