📧✨ Beautiful email. For everyone.
chore: lowercase inlark branding across the app (#42)
Paul Koeckf21fb85ee604
diff --git a/.github/assets/wordmark-dark.svg b/.github/assets/wordmark-dark.svgindex 28a3d69..a45ec54 100644--- a/.github/assets/wordmark-dark.svg+++ b/.github/assets/wordmark-dark.svg@@ -1 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="213.98" height="76" viewBox="0 0 213.98 76" role="img" aria-label="Inlark — Soft wordmark for dark backgrounds"><title>Inlark — Soft wordmark for dark backgrounds</title><g fill="#f0f0f3" transform="translate(8 8)"><path d="M0.406 59.203V17.328H10.159V59.203ZM0 10.589V0H10.604V10.589Z"/><path d="M18.413 59.203V17.328H28.212V26.676L26.513 26.997Q27.624 23.301 29.741 21.011Q31.858 18.721 34.687 17.626Q37.516 16.531 40.608 16.531Q47.684 16.531 51.669 20.566Q55.655 24.6 55.655 32.031V59.203H45.856V35.641Q45.856 30.13 43.872 27.564Q41.887 24.998 37.717 24.998Q34.586 24.998 32.478 26.456Q30.37 27.913 29.291 31.002Q28.212 34.09 28.212 38.933V59.203Z"/><path d="M72.857 60Q68.683 60 65.953 57.446Q63.223 54.892 63.223 49.32V0H72.936V47.414Q72.936 49.33 73.819 50.16Q74.702 50.991 76.127 50.991Q76.852 50.991 77.65 50.841Q78.447 50.69 79.31 50.429V58.733Q77.632 59.405 75.92 59.703Q74.209 60 72.857 60Z"/><path d="M110.111 59.203 109.367 52.396V32.8Q109.367 28.819 106.946 26.811Q104.524 24.803 100.234 24.803Q96.876 24.803 93.551 26.126Q90.227 27.449 87.541 30.059L82.242 23.532Q86.428 19.806 91.028 18.169Q95.627 16.531 101.018 16.531Q109.569 16.531 114.325 20.837Q119.081 25.142 119.081 32.8V59.203ZM97.204 60Q92.564 60 88.961 58.305Q85.358 56.609 83.33 53.519Q81.301 50.429 81.301 46.365Q81.301 42.805 82.781 40.247Q84.261 37.69 86.664 36.291Q88.756 35.004 91.425 34.471Q94.095 33.939 97.081 33.939H110.203V41.211H98.491Q97.014 41.211 95.542 41.473Q94.07 41.735 92.97 42.526Q92.101 43.18 91.6 44.161Q91.1 45.142 91.1 46.411Q91.1 49.021 93.114 50.564Q95.128 52.107 98.508 52.107Q101.483 52.107 103.938 50.786Q106.393 49.466 107.88 47.148Q109.367 44.83 109.367 41.887L112.223 46.86Q111.205 51.284 108.977 54.219Q106.749 57.155 103.739 58.577Q100.729 60 97.204 60Z"/><path d="M126.117 59.203V17.328H135.955V28.657L134.243 28.886Q134.603 25.227 136.619 22.447Q138.636 19.667 141.534 18.099Q144.432 16.531 147.359 16.531Q149.43 16.531 151.312 17.053Q153.193 17.576 155.218 18.79L150.478 27.59Q149.537 27.042 148.077 26.643Q146.617 26.245 145.226 26.245Q143.46 26.245 141.777 26.892Q140.093 27.539 138.773 28.899Q137.452 30.259 136.72 32.469Q136.341 33.658 136.129 35.531Q135.916 37.403 135.916 40.832V59.203Z"/><path d="M186.353 59.203 173.83 39.504 166.88 47.205V34.898L183.661 17.328H196.123L180.972 32.943L197.98 59.203ZM157.97 59.203V0H167.769V59.203Z"/></g></svg>+<svg xmlns="http://www.w3.org/2000/svg" width="213.98" height="76" viewBox="0 0 213.98 76" role="img" aria-label="inlark — Soft wordmark for dark backgrounds"><title>inlark — Soft wordmark for dark backgrounds</title><g fill="#f0f0f3" transform="translate(8 8)"><path d="M0.406 59.203V17.328H10.159V59.203ZM0 10.589V0H10.604V10.589Z"/><path d="M18.413 59.203V17.328H28.212V26.676L26.513 26.997Q27.624 23.301 29.741 21.011Q31.858 18.721 34.687 17.626Q37.516 16.531 40.608 16.531Q47.684 16.531 51.669 20.566Q55.655 24.6 55.655 32.031V59.203H45.856V35.641Q45.856 30.13 43.872 27.564Q41.887 24.998 37.717 24.998Q34.586 24.998 32.478 26.456Q30.37 27.913 29.291 31.002Q28.212 34.09 28.212 38.933V59.203Z"/><path d="M72.857 60Q68.683 60 65.953 57.446Q63.223 54.892 63.223 49.32V0H72.936V47.414Q72.936 49.33 73.819 50.16Q74.702 50.991 76.127 50.991Q76.852 50.991 77.65 50.841Q78.447 50.69 79.31 50.429V58.733Q77.632 59.405 75.92 59.703Q74.209 60 72.857 60Z"/><path d="M110.111 59.203 109.367 52.396V32.8Q109.367 28.819 106.946 26.811Q104.524 24.803 100.234 24.803Q96.876 24.803 93.551 26.126Q90.227 27.449 87.541 30.059L82.242 23.532Q86.428 19.806 91.028 18.169Q95.627 16.531 101.018 16.531Q109.569 16.531 114.325 20.837Q119.081 25.142 119.081 32.8V59.203ZM97.204 60Q92.564 60 88.961 58.305Q85.358 56.609 83.33 53.519Q81.301 50.429 81.301 46.365Q81.301 42.805 82.781 40.247Q84.261 37.69 86.664 36.291Q88.756 35.004 91.425 34.471Q94.095 33.939 97.081 33.939H110.203V41.211H98.491Q97.014 41.211 95.542 41.473Q94.07 41.735 92.97 42.526Q92.101 43.18 91.6 44.161Q91.1 45.142 91.1 46.411Q91.1 49.021 93.114 50.564Q95.128 52.107 98.508 52.107Q101.483 52.107 103.938 50.786Q106.393 49.466 107.88 47.148Q109.367 44.83 109.367 41.887L112.223 46.86Q111.205 51.284 108.977 54.219Q106.749 57.155 103.739 58.577Q100.729 60 97.204 60Z"/><path d="M126.117 59.203V17.328H135.955V28.657L134.243 28.886Q134.603 25.227 136.619 22.447Q138.636 19.667 141.534 18.099Q144.432 16.531 147.359 16.531Q149.43 16.531 151.312 17.053Q153.193 17.576 155.218 18.79L150.478 27.59Q149.537 27.042 148.077 26.643Q146.617 26.245 145.226 26.245Q143.46 26.245 141.777 26.892Q140.093 27.539 138.773 28.899Q137.452 30.259 136.72 32.469Q136.341 33.658 136.129 35.531Q135.916 37.403 135.916 40.832V59.203Z"/><path d="M186.353 59.203 173.83 39.504 166.88 47.205V34.898L183.661 17.328H196.123L180.972 32.943L197.98 59.203ZM157.97 59.203V0H167.769V59.203Z"/></g></svg>diff --git a/.github/assets/wordmark-light.svg b/.github/assets/wordmark-light.svgindex 09d4bb6..b014f15 100644--- a/.github/assets/wordmark-light.svg+++ b/.github/assets/wordmark-light.svg@@ -1 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" width="213.98" height="76" viewBox="0 0 213.98 76" role="img" aria-label="Inlark — Soft wordmark for light backgrounds"><title>Inlark — Soft wordmark for light backgrounds</title><g fill="#202126" transform="translate(8 8)"><path d="M0.406 59.203V17.328H10.159V59.203ZM0 10.589V0H10.604V10.589Z"/><path d="M18.413 59.203V17.328H28.212V26.676L26.513 26.997Q27.624 23.301 29.741 21.011Q31.858 18.721 34.687 17.626Q37.516 16.531 40.608 16.531Q47.684 16.531 51.669 20.566Q55.655 24.6 55.655 32.031V59.203H45.856V35.641Q45.856 30.13 43.872 27.564Q41.887 24.998 37.717 24.998Q34.586 24.998 32.478 26.456Q30.37 27.913 29.291 31.002Q28.212 34.09 28.212 38.933V59.203Z"/><path d="M72.857 60Q68.683 60 65.953 57.446Q63.223 54.892 63.223 49.32V0H72.936V47.414Q72.936 49.33 73.819 50.16Q74.702 50.991 76.127 50.991Q76.852 50.991 77.65 50.841Q78.447 50.69 79.31 50.429V58.733Q77.632 59.405 75.92 59.703Q74.209 60 72.857 60Z"/><path d="M110.111 59.203 109.367 52.396V32.8Q109.367 28.819 106.946 26.811Q104.524 24.803 100.234 24.803Q96.876 24.803 93.551 26.126Q90.227 27.449 87.541 30.059L82.242 23.532Q86.428 19.806 91.028 18.169Q95.627 16.531 101.018 16.531Q109.569 16.531 114.325 20.837Q119.081 25.142 119.081 32.8V59.203ZM97.204 60Q92.564 60 88.961 58.305Q85.358 56.609 83.33 53.519Q81.301 50.429 81.301 46.365Q81.301 42.805 82.781 40.247Q84.261 37.69 86.664 36.291Q88.756 35.004 91.425 34.471Q94.095 33.939 97.081 33.939H110.203V41.211H98.491Q97.014 41.211 95.542 41.473Q94.07 41.735 92.97 42.526Q92.101 43.18 91.6 44.161Q91.1 45.142 91.1 46.411Q91.1 49.021 93.114 50.564Q95.128 52.107 98.508 52.107Q101.483 52.107 103.938 50.786Q106.393 49.466 107.88 47.148Q109.367 44.83 109.367 41.887L112.223 46.86Q111.205 51.284 108.977 54.219Q106.749 57.155 103.739 58.577Q100.729 60 97.204 60Z"/><path d="M126.117 59.203V17.328H135.955V28.657L134.243 28.886Q134.603 25.227 136.619 22.447Q138.636 19.667 141.534 18.099Q144.432 16.531 147.359 16.531Q149.43 16.531 151.312 17.053Q153.193 17.576 155.218 18.79L150.478 27.59Q149.537 27.042 148.077 26.643Q146.617 26.245 145.226 26.245Q143.46 26.245 141.777 26.892Q140.093 27.539 138.773 28.899Q137.452 30.259 136.72 32.469Q136.341 33.658 136.129 35.531Q135.916 37.403 135.916 40.832V59.203Z"/><path d="M186.353 59.203 173.83 39.504 166.88 47.205V34.898L183.661 17.328H196.123L180.972 32.943L197.98 59.203ZM157.97 59.203V0H167.769V59.203Z"/></g></svg>+<svg xmlns="http://www.w3.org/2000/svg" width="213.98" height="76" viewBox="0 0 213.98 76" role="img" aria-label="inlark — Soft wordmark for light backgrounds"><title>inlark — Soft wordmark for light backgrounds</title><g fill="#202126" transform="translate(8 8)"><path d="M0.406 59.203V17.328H10.159V59.203ZM0 10.589V0H10.604V10.589Z"/><path d="M18.413 59.203V17.328H28.212V26.676L26.513 26.997Q27.624 23.301 29.741 21.011Q31.858 18.721 34.687 17.626Q37.516 16.531 40.608 16.531Q47.684 16.531 51.669 20.566Q55.655 24.6 55.655 32.031V59.203H45.856V35.641Q45.856 30.13 43.872 27.564Q41.887 24.998 37.717 24.998Q34.586 24.998 32.478 26.456Q30.37 27.913 29.291 31.002Q28.212 34.09 28.212 38.933V59.203Z"/><path d="M72.857 60Q68.683 60 65.953 57.446Q63.223 54.892 63.223 49.32V0H72.936V47.414Q72.936 49.33 73.819 50.16Q74.702 50.991 76.127 50.991Q76.852 50.991 77.65 50.841Q78.447 50.69 79.31 50.429V58.733Q77.632 59.405 75.92 59.703Q74.209 60 72.857 60Z"/><path d="M110.111 59.203 109.367 52.396V32.8Q109.367 28.819 106.946 26.811Q104.524 24.803 100.234 24.803Q96.876 24.803 93.551 26.126Q90.227 27.449 87.541 30.059L82.242 23.532Q86.428 19.806 91.028 18.169Q95.627 16.531 101.018 16.531Q109.569 16.531 114.325 20.837Q119.081 25.142 119.081 32.8V59.203ZM97.204 60Q92.564 60 88.961 58.305Q85.358 56.609 83.33 53.519Q81.301 50.429 81.301 46.365Q81.301 42.805 82.781 40.247Q84.261 37.69 86.664 36.291Q88.756 35.004 91.425 34.471Q94.095 33.939 97.081 33.939H110.203V41.211H98.491Q97.014 41.211 95.542 41.473Q94.07 41.735 92.97 42.526Q92.101 43.18 91.6 44.161Q91.1 45.142 91.1 46.411Q91.1 49.021 93.114 50.564Q95.128 52.107 98.508 52.107Q101.483 52.107 103.938 50.786Q106.393 49.466 107.88 47.148Q109.367 44.83 109.367 41.887L112.223 46.86Q111.205 51.284 108.977 54.219Q106.749 57.155 103.739 58.577Q100.729 60 97.204 60Z"/><path d="M126.117 59.203V17.328H135.955V28.657L134.243 28.886Q134.603 25.227 136.619 22.447Q138.636 19.667 141.534 18.099Q144.432 16.531 147.359 16.531Q149.43 16.531 151.312 17.053Q153.193 17.576 155.218 18.79L150.478 27.59Q149.537 27.042 148.077 26.643Q146.617 26.245 145.226 26.245Q143.46 26.245 141.777 26.892Q140.093 27.539 138.773 28.899Q137.452 30.259 136.72 32.469Q136.341 33.658 136.129 35.531Q135.916 37.403 135.916 40.832V59.203Z"/><path d="M186.353 59.203 173.83 39.504 166.88 47.205V34.898L183.661 17.328H196.123L180.972 32.943L197.98 59.203ZM157.97 59.203V0H167.769V59.203Z"/></g></svg>diff --git a/.github/scripts/verify-windows-signatures.ps1 b/.github/scripts/verify-windows-signatures.ps1index 983aa43..3c49c29 100644--- a/.github/scripts/verify-windows-signatures.ps1+++ b/.github/scripts/verify-windows-signatures.ps1@@ -9,7 +9,7 @@ if ($CertificateSha1 -notmatch '^[A-F0-9]{40}$') {throw 'CERTUM_CERTIFICATE_SHA1 must be the 40-character SHA-1 certificate thumbprint'}-$app = Join-Path $ReleaseDirectory 'win-unpacked/Inlark.exe'+$app = Join-Path $ReleaseDirectory 'win-unpacked/inlark.exe'if (-not (Test-Path -LiteralPath $app -PathType Leaf)) {throw "Packaged Windows app not found: $app"}diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex bb4fd70..e6b02d7 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -144,13 +144,13 @@ jobs:run: |version="${GITHUB_REF_NAME#v}"for arch in x64 arm64; do- archive="apps/desktop/release/Inlark-${version}-${arch}.zip"+ archive="apps/desktop/release/inlark-${version}-${arch}.zip"test -f "$archive"test -f "${archive}.blockmap"- test -f "apps/desktop/release/Inlark-${version}-${arch}.dmg"+ test -f "apps/desktop/release/inlark-${version}-${arch}.dmg"destination="$RUNNER_TEMP/verify-macos-$arch"ditto -x -k "$archive" "$destination"- app="$destination/Inlark.app"+ app="$destination/inlark.app"codesign --verify --deep --strict --verbose=2 "$app"codesign --display --verbose=4 "$app" 2>&1 | grep -F 'Authority=Developer ID Application:'xcrun stapler validate "$app"@@ -248,7 +248,7 @@ jobs:test -f "release-assets/${channel}${suffix}.yml"donefor arch in x64 arm64; do- archive="Inlark-${RELEASE_TAG#v}-${arch}.zip"+ archive="inlark-${RELEASE_TAG#v}-${arch}.zip"test -f "release-assets/$archive"test -f "release-assets/${archive}.blockmap"grep -F -- "$archive" "release-assets/${channel}-mac.yml"diff --git a/AGENTS.md b/AGENTS.mdindex c03ff22..7162b02 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,8 +1,10 @@-# Inlark+# inlark++The name inlark is always written with a lowercase “i”.## Overall goal-Build an exceptional email client that makes everyday email feel fast, clear, and effortless. Inlark should become a dependable personal daily driver, with the visual quality and thoughtful interactions of the best modern productivity apps.+Build an exceptional email client that makes everyday email feel fast, clear, and effortless. inlark should become a dependable personal daily driver, with the visual quality and thoughtful interactions of the best modern productivity apps.People on Linux, Windows, and macOS deserve a beautiful email client with excellent usability and reliable account connections. This project exists because existing options too often combine dated interfaces, awkward workflows, connection problems, or high costs.diff --git a/README.md b/README.mdindex baec2b9..d3ce50d 100644--- a/README.md+++ b/README.md@@ -5,7 +5,7 @@<h1><picture><source media="(prefers-color-scheme: light)" srcset=".github/assets/wordmark-light.svg" />- <img src=".github/assets/wordmark-dark.svg" width="144" alt="Inlark" />+ <img src=".github/assets/wordmark-dark.svg" width="144" alt="inlark" /></picture></h1>@@ -22,27 +22,27 @@ JMAP and IMAP, Linux, Windows and macOS. No hosted service, no subscription, no<picture><source media="(prefers-color-scheme: light)" srcset=".github/assets/inbox-light.png" />- <img src=".github/assets/inbox-dark.png" alt="Inlark's unified inbox, showing conversations from several accounts in one list, each marked with its account colour." />+ <img src=".github/assets/inbox-dark.png" alt="inlark's unified inbox, showing conversations from several accounts in one list, each marked with its account colour." /></picture>-## Why Inlark?+## Why inlark?-If you run your own mail server, or just have a few accounts at small providers, your choices are usually an email client that looks like it was designed for Windows XP, one that wants a monthly fee, or one that routes your mail through someone else's cloud. Inlark is the fourth option: a calm, modern client that talks straight to your server and then gets out of the way.+If you run your own mail server, or just have a few accounts at small providers, your choices are usually an email client that looks like it was designed for Windows XP, one that wants a monthly fee, or one that routes your mail through someone else's cloud. inlark is the fourth option: a calm, modern client that talks straight to your server and then gets out of the way.- **One inbox for every account.** Personal, work and the side project you swear you'll finish all land in one timeline, each marked with its account. Replies go out from the address the message was sent to, so you stop accidentally emailing your landlord from your work address.- **Your keyboard, first.** `J`/`K` to move, `E` to archive, `R` to reply, `/` to search, and `Ctrl K` for everything else. Every action works with a mouse, too.- **Undo for everything.** Archive, trash, move, star or mark as spam, then press `Z`. It works even if another client changed the mailbox in between.- **Search that goes all the way back.** Searches run on your server across every folder and every year, narrowed by sender, recipient, subject, date or attachment.- **Big mailboxes stay fast.** A quarter of a million conversations in the unified inbox still scroll smoothly, because only the few dozen on screen are ever drawn.-- **Sending you can trust.** Drafts survive crashes. If a send's response gets lost on the way back, Inlark marks the message **unconfirmed** and doesn't retry it on its own, so nobody gets your message twice.-- **Private by design.** Inlark connects directly to your mail server. There's no Inlark account, no sync service and no analytics.+- **Sending you can trust.** Drafts survive crashes. If a send's response gets lost on the way back, inlark marks the message **unconfirmed** and doesn't retry it on its own, so nobody gets your message twice.+- **Private by design.** inlark connects directly to your mail server. There's no inlark account, no sync service and no analytics.- **Dark and light, with equal care.** Both themes get the same attention to detail, and rich HTML mail keeps the look its sender designed.-- **At home on your desktop.** Native notifications, a tray icon with your unread count, and Inlark can be your default `mailto:` handler.+- **At home on your desktop.** Native notifications, a tray icon with your unread count, and inlark can be your default `mailto:` handler.<table><tr>- <td width="50%"><img src=".github/assets/reader-dark.png" alt="A conversation open in Inlark's reader, with reply, reply all and forward below the message." /></td>- <td width="50%"><img src=".github/assets/palette-dark.png" alt="Inlark's command palette listing actions and folders, each with its keyboard shortcut." /></td>+ <td width="50%"><img src=".github/assets/reader-dark.png" alt="A conversation open in inlark's reader, with reply, reply all and forward below the message." /></td>+ <td width="50%"><img src=".github/assets/palette-dark.png" alt="inlark's command palette listing actions and folders, each with its keyboard shortcut." /></td></tr><tr><td align="center"><sub>A focused reader, without the clutter</sub></td>@@ -51,13 +51,13 @@ If you run your own mail server, or just have a few accounts at small providers,</table>> [!NOTE]-> Inlark is an **early preview**. The everyday essentials work, but it's young. Keep your server's webmail bookmarked for now, just in case.+> inlark is an **early preview**. The everyday essentials work, but it's young. Keep your server's webmail bookmarked for now, just in case.## InstallGrab the latest build from the [releases page](https://github.com/inlark/inlark/releases/latest):-Packaged builds check for updates in the background. When an update downloads successfully, Inlark installs it after you quit, so it never interrupts your work. If the automatic update fails, Inlark links to the [download page](https://inlark.com/download) for a manual install.+Packaged builds check for updates in the background. When an update downloads successfully, inlark installs it after you quit, so it never interrupts your work. If the automatic update fails, inlark links to the [download page](https://inlark.com/download) for a manual install.| Platform | Download || -------- | ---------------------------------------------------------- |@@ -97,15 +97,15 @@ To update a profile installation, run `nix profile upgrade inlark`. For NixOS, r## Connect an account-Open **Settings → Accounts → Add account** and type your email address. Inlark looks up what your domain publishes and shows you the protocol, servers, ports and security it found **before** it asks for a password. **Set up manually** is always there if you prefer.+Open **Settings → Accounts → Add account** and type your email address. inlark looks up what your domain publishes and shows you the protocol, servers, ports and security it found **before** it asks for a password. **Set up manually** is always there if you prefer.-- **JMAP is preferred** when your server offers it. Inlark finds it through DNS SRV or `/.well-known/jmap`.-- **IMAP/SMTP** settings come from your domain's autoconfig file or DNS SRV records. Only if your domain publishes nothing does Inlark ask Thunderbird's public settings directory, and then it sends just the domain.-- **Encryption is required.** Inlark uses implicit TLS or required STARTTLS, always with certificate verification and never a plaintext fallback. Your password is never tried against a server you didn't choose.-- **Self-signed certificates are trusted one at a time.** When a certificate can't be verified, such as Proton Mail Bridge's on `127.0.0.1`, the connection check shows who it's issued to, how long it's valid and its SHA-256 fingerprint before any password is sent. You can trust exactly that certificate for that server. If it ever changes, Inlark stops before signing in and asks again. Expired certificates are never accepted.+- **JMAP is preferred** when your server offers it. inlark finds it through DNS SRV or `/.well-known/jmap`.+- **IMAP/SMTP** settings come from your domain's autoconfig file or DNS SRV records. Only if your domain publishes nothing does inlark ask Thunderbird's public settings directory, and then it sends just the domain.+- **Encryption is required.** inlark uses implicit TLS or required STARTTLS, always with certificate verification and never a plaintext fallback. Your password is never tried against a server you didn't choose.+- **Self-signed certificates are trusted one at a time.** When a certificate can't be verified, such as Proton Mail Bridge's on `127.0.0.1`, the connection check shows who it's issued to, how long it's valid and its SHA-256 fingerprint before any password is sent. You can trust exactly that certificate for that server. If it ever changes, inlark stops before signing in and asks again. Expired certificates are never accepted.- **Passwords go into your OS keyring** when one is available. Without a keyring, you decide whether to remember a login on this device. If you do, the password is stored unencrypted in an owner-only file.-IMAP accounts build a local index in the background, newest Inbox mail first. Until it catches up, lists tell you that older mail may be missing, and search still runs on the server. If your server can't do an action safely, such as a move without `MOVE` or `UIDPLUS`, Inlark turns it off and tells you why rather than guessing.+IMAP accounts build a local index in the background, newest Inbox mail first. Until it catches up, lists tell you that older mail may be missing, and search still runs on the server. If your server can't do an action safely, such as a move without `MOVE` or `UIDPLUS`, inlark turns it off and tells you why rather than guessing.Gmail and Microsoft sign-in (OAuth) aren't supported yet.@@ -132,7 +132,7 @@ The desktop UI uses Tailwind CSS v4 through the Vite plugin, with its CSS-firstpnpm check # formatting, types, tests and a production buildpnpm test:stalwart # real JMAP, IMAP and SMTP against a disposable Stalwart server (Podman or CONTAINER_RUNTIME=docker)pnpm test:packaged-crypto # bundled worker encryption and locking smoke test-pnpm test:crypto-interop # independent GnuPG verification of Inlark output+pnpm test:crypto-interop # independent GnuPG verification of inlark outputnix build path:. # Nix package in ./result/bin/inlarkpnpm package:linux # AppImage, .deb and .rpm in apps/desktop/releasepnpm test:deb # Debian packaging smoke test (Podman)@@ -146,7 +146,7 @@ To smoke-test the Nix package without opening a window:INLARK_DATA_DIR="$(mktemp -d)" ./result/bin/inlark --smoke-test --ozone-platform=wayland```-Normal app data lives in Electron's `userData` directory, usually `~/.config/Inlark`.+Normal app data lives in Electron's `userData` directory, usually `~/.config/Inlark`. The legacy directory name and OS credential-storage identity are preserved so existing accounts, drafts and settings remain available after the lowercase branding change. `INLARK_DATA_DIR` overrides both the app-data and session-data directories.</details>@@ -173,17 +173,17 @@ Built with Electron, React, TypeScript, Tailwind CSS, Base UI, TanStack and Turb## What's not here (yet)-Inlark tries to make everyday email excellent before adding more features. AI, snooze, scheduled sending, rules, calendars, a full address book and mobile apps are all deliberately out of scope for now. If you need your email client to also be your calendar, your CRM and your life coach, this isn't that client. Yet.+inlark tries to make everyday email excellent before adding more features. AI, snooze, scheduled sending, rules, calendars, a full address book and mobile apps are all deliberately out of scope for now. If you need your email client to also be your calendar, your CRM and your life coach, this isn't that client. Yet.## Credits-Inlark stands on the shoulders of two products that showed how good software can feel:+inlark stands on the shoulders of two products that showed how good software can feel:-- **[Linear](https://linear.app)**, for its restraint, clear hierarchy and obsessive attention to detail, the bar for Inlark's visual design.-- **[Superhuman](https://superhuman.com)**, for proving email can be fast, focused and driven from the keyboard, the bar for Inlark's workflows.+- **[Linear](https://linear.app)**, for its restraint, clear hierarchy and obsessive attention to detail, the bar for inlark's visual design.+- **[Superhuman](https://superhuman.com)**, for proving email can be fast, focused and driven from the keyboard, the bar for inlark's workflows.-Inlark isn't affiliated with either. We just admire their work.+inlark isn't affiliated with either. We just admire their work.## License-Copyright © 2026 Paul Koeck. Inlark is free software under the [GNU Affero General Public License v3](LICENSE) (`AGPL-3.0-only`). The bundled Inter font is under the [SIL Open Font License](packages/ui/src/fonts/OFL.txt); the outlined Hanken Grotesk wordmark is also under the [SIL Open Font License](packages/ui/src/fonts/HankenGrotesk-OFL.txt).+Copyright © 2026 Paul Koeck. inlark is free software under the [GNU Affero General Public License v3](LICENSE) (`AGPL-3.0-only`). The bundled Inter font is under the [SIL Open Font License](packages/ui/src/fonts/OFL.txt); the outlined Hanken Grotesk wordmark is also under the [SIL Open Font License](packages/ui/src/fonts/HankenGrotesk-OFL.txt).diff --git a/apps/desktop/electron-builder.yml b/apps/desktop/electron-builder.ymlindex 1b4b0d0..82984fc 100644--- a/apps/desktop/electron-builder.yml+++ b/apps/desktop/electron-builder.yml@@ -1,5 +1,5 @@appId: app.inlark.com-productName: Inlark+productName: inlarkpublish:provider: githubowner: inlark@@ -19,7 +19,7 @@ linux:category: NetworkexecutableName: inlarksyncDesktopName: true- artifactName: 'Inlark-${version}-${arch}.${ext}'+ artifactName: 'inlark-${version}-${arch}.${ext}'icon: resources/icon.pngdesktop:entry:@@ -33,13 +33,13 @@ mac:- dmg- zipicon: resources/icon.png- artifactName: 'Inlark-${version}-${arch}.${ext}'+ artifactName: 'inlark-${version}-${arch}.${ext}'forceCodeSigning: truehardenedRuntime: truenotarize: truewin:icon: resources/icon.png- artifactName: 'Inlark-${version}-${arch}-setup.${ext}'+ artifactName: 'inlark-${version}-${arch}-setup.${ext}'forceCodeSigning: truesigntoolOptions:signingHashAlgorithms: [sha256]diff --git a/apps/desktop/src/main/app-identity.ts b/apps/desktop/src/main/app-identity.tsnew file mode 100644index 0000000..362be88--- /dev/null+++ b/apps/desktop/src/main/app-identity.ts@@ -0,0 +1,22 @@+import type { App } from 'electron'+import { mkdirSync } from 'node:fs'+import { join } from 'node:path'++type IdentityApp = Pick<App, 'setName' | 'getPath' | 'setPath'> & {+ once(event: 'ready', listener: () => void): unknown+}++export function configureAppIdentity(+ app: IdentityApp,+ dataDirectory = process.env.INLARK_DATA_DIR,+) {+ // Electron 44 captures this name for OS credential storage before ready. Preserve it so+ // saved account passwords remain readable, then use the lowercase name for native UI.+ // https://github.com/electron/electron/blob/v44.4.5/shell/browser/electron_browser_main_parts.cc+ app.setName('Inlark')+ const userData = dataDirectory || join(app.getPath('appData'), 'Inlark')+ mkdirSync(userData, { recursive: true, mode: 0o700 })+ app.setPath('userData', userData)+ app.setPath('sessionData', userData)+ app.once('ready', () => app.setName('inlark'))+}diff --git a/apps/desktop/src/main/encryption.ts b/apps/desktop/src/main/encryption.tsindex 4a97424..7cdd4b1 100644--- a/apps/desktop/src/main/encryption.ts+++ b/apps/desktop/src/main/encryption.ts@@ -878,7 +878,7 @@ export class EncryptionService {bcc: [],subject: 'Autocrypt Setup Message',html: '',- text: 'Import this Setup Message on your other device using the Setup Code shown by Inlark. Keep that code separately and securely.',+ text: 'Import this Setup Message on your other device using the Setup Code shown by inlark. Keep that code separately and securely.',messageId: randomUUID() + '@' + identity.email.split('@')[1],attachments: [{diff --git a/apps/desktop/src/main/imap-index/sqlite-index.ts b/apps/desktop/src/main/imap-index/sqlite-index.tsindex fe30750..797c81b 100644--- a/apps/desktop/src/main/imap-index/sqlite-index.ts+++ b/apps/desktop/src/main/imap-index/sqlite-index.ts@@ -290,7 +290,7 @@ export class SqliteMetadataIndex implements SyncMetadataIndex {)if (version > SCHEMA_VERSION)throw new Error(- 'The mail index was created by a newer version of Inlark (schema ' ++ 'The mail index was created by a newer version of inlark (schema ' +version +'). It has been left unchanged.',)diff --git a/apps/desktop/src/main/index.ts b/apps/desktop/src/main/index.tsindex ca19881..905ea05 100644--- a/apps/desktop/src/main/index.ts+++ b/apps/desktop/src/main/index.ts@@ -21,6 +21,7 @@ import { openWorkerIndex } from './imap-index/open'import { discover } from './discovery-transport'import { SenderAvatarResolver } from './sender-avatar'import { UpdateManager } from './updates'+import { configureAppIdentity } from './app-identity'const here = fileURLToPath(new URL('.', import.meta.url))protocol.registerSchemesAsPrivileged([@@ -35,8 +36,7 @@ protocol.registerSchemesAsPrivileged([},},])-app.setName('Inlark')-if (process.env.INLARK_DATA_DIR) app.setPath('userData', process.env.INLARK_DATA_DIR)+configureAppIdentity(app)let window: BrowserWindow | null = null,tray: Tray | null = null,quitting = false@@ -61,13 +61,13 @@ function send(event: AppEvent) {if (event.type === 'unread' && tray) {unreadCount = event.counttray.setImage(trayImage(unreadCount > 0))- tray.setToolTip('Inlark · ' + unreadCount + ' unread messages')+ tray.setToolTip('inlark · ' + unreadCount + ' unread messages')tray.setTitle(unreadCount ? String(unreadCount) : '')}if (event.type === 'accounts' && tray) {const connected = event.accounts.filter((a) => a.status === 'connected').lengthtray.setToolTip(- 'Inlark · ' ++ 'inlark · ' +unreadCount +' unread · ' +connected +@@ -92,7 +92,7 @@ function trusted(event: Electron.IpcMainInvokeEvent): boolean {return false}}-// Inlark draws its own title bar and keeps the native window controls on it. These match+// inlark draws its own title bar and keeps the native window controls on it. These match// --sidebar and --secondary in packages/ui/src/styles.css so the controls blend in.const titleBarHeight = 36const titleBarColors = {@@ -119,7 +119,7 @@ function createWindow() {show: false,icon: join(here, '../../resources/icon.png'),backgroundColor: themeColors().color,- title: 'Inlark',+ title: 'inlark',titleBarStyle: windowUsesSystemTitleBar ? 'default' : 'hidden',// Also centers the macOS traffic lights in the title bar and reports its size to the page.titleBarOverlay: windowUsesSystemTitleBar@@ -217,8 +217,20 @@ else {app.whenReady().then(async () => {+ // Rebuild the standard macOS menu with the display name now that credential storage+ // has initialized with its legacy identity.+ if (process.platform === 'darwin')+ Menu.setApplicationMenu(+ Menu.buildFromTemplate([+ { role: 'appMenu' },+ { role: 'fileMenu' },+ { role: 'editMenu' },+ { role: 'viewMenu' },+ { role: 'windowMenu' },+ ]),+ )// Remove the in-window menu entirely so Alt cannot reveal it in either title bar mode.- if (process.platform !== 'darwin') Menu.setApplicationMenu(null)+ else Menu.setApplicationMenu(null)const rendererRoot = resolve(here, '../renderer')protocol.handle('inlark', (request) => {const url = new URL(request.url)@@ -241,7 +253,7 @@ else {discover,})await service.init()- // Native surfaces such as the window controls and menus follow Inlark's theme setting.+ // Native surfaces such as the window controls and menus follow inlark's theme setting.nativeTheme.themeSource = service.settings.themenativeTheme.on('updated', followTheme)const handlers: Record<keyof typeof ipcSchemas, (...args: any[]) => unknown> = {@@ -330,10 +342,10 @@ else {createWindow()try {tray = new Tray(trayImage())- tray.setToolTip('Inlark')+ tray.setToolTip('inlark')tray.setContextMenu(Menu.buildFromTemplate([- { label: 'Open Inlark', click: show },+ { label: 'Open inlark', click: show },{ label: 'Check for new mail', click: () => void service.refresh() },{ type: 'separator' },{@@ -353,12 +365,12 @@ else {if (!demo && !smoke) updates.start()app.on('activate', show)mailtoFromArgs(process.argv)- // The packaged desktop entry lets the user choose Inlark as their mailto handler.+ // The packaged desktop entry lets the user choose inlark as their mailto handler.}).catch((error) => {// Avoid dumping potentially private protocol data into application logs.console.error(- 'Inlark failed to start:',+ 'inlark failed to start:',error instanceof Error ? error.message : 'unknown error',)app.quit()diff --git a/apps/desktop/src/renderer/index.html b/apps/desktop/src/renderer/index.htmlindex ab0f7ac..872de8d 100644--- a/apps/desktop/src/renderer/index.html+++ b/apps/desktop/src/renderer/index.html@@ -8,7 +8,7 @@content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self'; frame-src 'self' blob:; connect-src 'self' ws://127.0.0.1:* http://127.0.0.1:*; object-src 'none'; base-uri 'none'"/><link rel="icon" type="image/svg+xml" href="../../resources/icon.svg?no-inline" />- <title>Inlark</title>+ <title>inlark</title></head><body><div id="root"></div>diff --git a/apps/desktop/src/renderer/src/AccountSetup.tsx b/apps/desktop/src/renderer/src/AccountSetup.tsxindex 08cdf78..82f7c97 100644--- a/apps/desktop/src/renderer/src/AccountSetup.tsx+++ b/apps/desktop/src/renderer/src/AccountSetup.tsx@@ -389,7 +389,7 @@ function CertificateReview({<div className="flex items-center gap-3 mt-3 ml-6.25 max-[700px]:flex-col max-[700px]:items-start"><p className="flex-1 m-0 text-[11px] text-muted leading-[1.6]">Trust it only if you expect it, for example by comparing the fingerprint with the one- your server or bridge shows. Inlark will accept exactly this certificate and stop if it+ your server or bridge shows. inlark will accept exactly this certificate and stop if itever changes.</p><Button size="small" className="shrink-0" disabled={disabled} onClick={onTrust}>@@ -844,13 +844,13 @@ export function AccountSetup({</h3>{phase === 'email' ? (<p>- Enter your email address and Inlark looks up your server settings. You’ll see them+ Enter your email address and inlark looks up your server settings. You’ll see thembefore your password is sent anywhere.</p>) : phase === 'folders' ? (<p>Some folders on {review && fields.incoming.host} couldn’t be confirmed. Choose where- Inlark keeps sent mail and drafts, and where Archive, Mark as spam and Move to trash put+ inlark keeps sent mail and drafts, and where Archive, Mark as spam and Move to trash putconversations. You can change this later.</p>) : (diff --git a/apps/desktop/src/renderer/src/Aliases.tsx b/apps/desktop/src/renderer/src/Aliases.tsxindex a9c1308..bd144a2 100644--- a/apps/desktop/src/renderer/src/Aliases.tsx+++ b/apps/desktop/src/renderer/src/Aliases.tsx@@ -62,7 +62,7 @@ export function AliasesDialog({if (!open && !saving) onClose()}}title={'Email addresses for ' + (account?.name || 'this account')}- description="Send from aliases or custom-domain addresses that your provider delivers to this account. Set them up with your provider first; Inlark doesn’t create them."+ description="Send from aliases or custom-domain addresses that your provider delivers to this account. Set them up with your provider first; inlark doesn’t create them."className="alias-modal w-[min(600px,_calc(100vw_-_40px))]"><formdiff --git a/apps/desktop/src/renderer/src/App.tsx b/apps/desktop/src/renderer/src/App.tsxindex 3cf537a..00fd8d2 100644--- a/apps/desktop/src/renderer/src/App.tsx+++ b/apps/desktop/src/renderer/src/App.tsx@@ -794,7 +794,7 @@ export function App() {? 'Search · ': '') +(unread ? 'Inbox (' + unread.toLocaleString() + ') · ' : '') +- 'Inlark'+ 'inlark'}, [route.thread, route.q, thread.data, mailboxCounts.unread])useEffect(() => {// Reopen where you left off: the same view, account and folder (not a stale conversation).@@ -1561,7 +1561,7 @@ export function App() {{!boot.data ? (<EmptyStateicon={Mail}- title={boot.isError ? 'Inlark couldn’t start' : 'Starting Inlark'}+ title={boot.isError ? 'inlark couldn’t start' : 'Starting inlark'}description={boot.isError ? friendlyError(boot.error) : undefined}>{!boot.isError && <Spinner />}@@ -1569,7 +1569,7 @@ export function App() {) : !accounts.length ? (<EmptyStateicon={Inbox}- title="Welcome to Inlark"+ title="Welcome to inlark"description="Connect your email account to get started."><Buttondiff --git a/apps/desktop/src/renderer/src/AppDialogs.tsx b/apps/desktop/src/renderer/src/AppDialogs.tsxindex 676984a..e6c760e 100644--- a/apps/desktop/src/renderer/src/AppDialogs.tsx+++ b/apps/desktop/src/renderer/src/AppDialogs.tsx@@ -254,7 +254,7 @@ export function confirmActionCopy(action: MailAction, count: number) {return {title,description:- 'Includes conversations that haven’t loaded yet. Inlark tells you about any it couldn’t change.',+ 'Includes conversations that haven’t loaded yet. inlark tells you about any it couldn’t change.',confirm,}}diff --git a/apps/desktop/src/renderer/src/EncryptionSettings.tsx b/apps/desktop/src/renderer/src/EncryptionSettings.tsxindex 39108d3..f09bfa7 100644--- a/apps/desktop/src/renderer/src/EncryptionSettings.tsx+++ b/apps/desktop/src/renderer/src/EncryptionSettings.tsx@@ -60,7 +60,7 @@ const settingRow = cn()const dialogWidth = 'w-[min(490px,_calc(100vw_-_40px))]'const backupHint =- 'At least 10 characters. Inlark can’t recover it, so keep it apart from the backup file, for example in a password manager.'+ 'At least 10 characters. inlark can’t recover it, so keep it apart from the backup file, for example in a password manager.'type Notify = (message: string, tone?: 'error' | 'info') => void/** One sending address, with its key when it has one. */@@ -144,7 +144,7 @@ export function EncryptionPanel({<><h3 className="m-0 text-[20px] font-[550] tracking-[-0.5px]">Encryption</h3><p className="settings-lead text-muted mt-1.5 mb-6 mx-0 text-[12px] leading-[1.6]">- Encrypted mail can only be read by you and the people you send it to. Inlark uses OpenPGP,+ Encrypted mail can only be read by you and the people you send it to. inlark uses OpenPGP,so it works with Thunderbird, Proton Mail and other apps that support it. Subjects andaddresses aren’t encrypted.</p>@@ -1045,7 +1045,7 @@ function SetupDialog({}}><p className={dialogLead}>- Your system keyring isn’t available, so Inlark protects your keys with a password of+ Your system keyring isn’t available, so inlark protects your keys with a password oftheir own. You’ll enter it whenever you unlock them.</p><NewPasswordFields@@ -1259,8 +1259,8 @@ function TransferDialog({{!code ? (<><p className={dialogLead}>- Inlark saves a Setup Message: an encrypted file containing your key for{' '}- {target.identity.email}. Copy it to your other device, open it in Inlark or another app+ inlark saves a Setup Message: an encrypted file containing your key for{' '}+ {target.identity.email}. Copy it to your other device, open it in inlark or another appthat supports Autocrypt, and enter the code shown next.</p>{error && <FormError>{error}</FormError>}@@ -1568,7 +1568,7 @@ function OlderKeyDialog({}}><p className={dialogLead}>- Import a private key you used before, so Inlark can open older mail encrypted to it. It+ Import a private key you used before, so inlark can open older mail encrypted to it. Itwon’t be used for new mail.</p><PasswordFielddiff --git a/apps/desktop/src/renderer/src/FolderMappings.tsx b/apps/desktop/src/renderer/src/FolderMappings.tsxindex 959d77e..e02fa00 100644--- a/apps/desktop/src/renderer/src/FolderMappings.tsx+++ b/apps/desktop/src/renderer/src/FolderMappings.tsx@@ -201,7 +201,7 @@ export function FolderMappingsDialog({if (!open && !saving) onClose()}}title={'Folders for ' + (account?.name || 'this account')}- description="Choose where Inlark keeps sent mail and drafts, and where Archive, Mark as spam and Move to trash put conversations."+ description="Choose where inlark keeps sent mail and drafts, and where Archive, Mark as spam and Move to trash put conversations."className="folder-modal w-[min(600px,_calc(100vw_-_40px))]"><formdiff --git a/apps/desktop/src/renderer/src/MessageSecurity.tsx b/apps/desktop/src/renderer/src/MessageSecurity.tsxindex 8e038ae..89a0cef 100644--- a/apps/desktop/src/renderer/src/MessageSecurity.tsx+++ b/apps/desktop/src/renderer/src/MessageSecurity.tsx@@ -234,7 +234,7 @@ export function WithheldBody({icon: ShieldX,tone: 'danger' as const,title: 'This message may have been tampered with',- text: 'Inlark couldn’t confirm it arrived intact, so its content and attachments are hidden.',+ text: 'inlark couldn’t confirm it arrived intact, so its content and attachments are hidden.',}: security.state === 'missingKey'? {diff --git a/apps/desktop/src/renderer/src/SendingStatus.tsx b/apps/desktop/src/renderer/src/SendingStatus.tsxindex 4f74100..ffd7eb5 100644--- a/apps/desktop/src/renderer/src/SendingStatus.tsx+++ b/apps/desktop/src/renderer/src/SendingStatus.tsx@@ -246,7 +246,7 @@ export function SubmissionList({}}title="Send a replacement?"description={- 'Inlark couldn’t confirm whether “' ++ 'inlark couldn’t confirm whether “' +(replace?.subject || '(No subject)') +'” was delivered. If it was, recipients will receive it twice.'}@@ -284,7 +284,7 @@ export function SubmissionList({}}title="Stop tracking this message?"description={- 'Inlark will stop checking whether “' ++ 'inlark will stop checking whether “' +(dismiss?.subject || '(No subject)') +'” was delivered and remove its unconfirmed draft from this device. Look in Sent first if you’re unsure.'}diff --git a/apps/desktop/src/renderer/src/Settings.tsx b/apps/desktop/src/renderer/src/Settings.tsxindex 1216f35..2832395 100644--- a/apps/desktop/src/renderer/src/Settings.tsx+++ b/apps/desktop/src/renderer/src/Settings.tsx@@ -837,7 +837,7 @@ export function SettingsPanel({<div><strong>Direct connection</strong><p>- Inlark connects straight to your mail server. No account or cloud service in+ inlark connects straight to your mail server. No account or cloud service inbetween.</p></div>@@ -851,7 +851,7 @@ export function SettingsPanel({><div><strong>No telemetry</strong>- <p>Inlark collects no usage data or analytics.</p>+ <p>inlark collects no usage data or analytics.</p></div></div></div>@@ -903,8 +903,8 @@ export function SettingsPanel({onOpenChange={(value) => {if (!restarting) setRestartPrompt(value)}}- title="Restart Inlark to apply this change"- description="Your title bar preference has been saved. Restart now to apply it, or cancel and it will apply the next time you open Inlark."+ title="Restart inlark to apply this change"+ description="Your title bar preference has been saved. Restart now to apply it, or cancel and it will apply the next time you open inlark."><div className="modal-actions flex justify-end gap-2 mt-6"><Button disabled={restarting} onClick={() => setRestartPrompt(false)}>@@ -923,7 +923,7 @@ export function SettingsPanel({}}}>- {restarting ? 'Restarting…' : 'Restart Inlark'}+ {restarting ? 'Restarting…' : 'Restart inlark'}</Button></div></Modal>diff --git a/apps/desktop/src/renderer/src/Sidebar.tsx b/apps/desktop/src/renderer/src/Sidebar.tsxindex 69ff1de..7b29055 100644--- a/apps/desktop/src/renderer/src/Sidebar.tsx+++ b/apps/desktop/src/renderer/src/Sidebar.tsx@@ -139,7 +139,7 @@ export function Sidebar({<imgclassName="brand-mark h-6 w-6 block shrink-0 light:brightness-0 max-[700px]:w-6 max-[700px]:h-6"src={appIcon}- alt={collapsed ? 'Inlark' : ''}+ alt={collapsed ? 'inlark' : ''}width={24}height={24}/>diff --git a/apps/desktop/src/renderer/src/UpdateNotice.tsx b/apps/desktop/src/renderer/src/UpdateNotice.tsxindex 5420c74..27038f6 100644--- a/apps/desktop/src/renderer/src/UpdateNotice.tsx+++ b/apps/desktop/src/renderer/src/UpdateNotice.tsx@@ -24,17 +24,17 @@ export function UpdateNotice({ status }: { status: UpdateStatus }) {<div className="update-notice-copy [&_strong]:text-foreground [&_strong]:font-semibold [&>span]:text-muted min-w-0 flex-1 flex flex-col gap-[2px] text-[12px] leading-[1.4]"><strong>{manual- ? `Inlark ${status.version} is available`+ ? `inlark ${status.version} is available`: status.phase === 'ready'- ? `Inlark ${status.version} is ready`- : `Downloading Inlark ${status.version}`}+ ? `inlark ${status.version} is ready`+ : `Downloading inlark ${status.version}`}</strong><span>{manual? 'The automatic update could not finish. You can download the new version.': status.phase === 'ready'- ? 'The update will install when you quit Inlark. Open it again to use the new version.'- : 'The update will install after you quit Inlark. You can keep working.'}+ ? 'The update will install when you quit inlark. Open it again to use the new version.'+ : 'The update will install after you quit inlark. You can keep working.'}</span>{status.phase === 'downloading' && (<divdiff --git a/apps/desktop/src/renderer/src/api.ts b/apps/desktop/src/renderer/src/api.tsindex d233b22..bc705ba 100644--- a/apps/desktop/src/renderer/src/api.ts+++ b/apps/desktop/src/renderer/src/api.ts@@ -14,7 +14,7 @@ const unavailable = new Proxy({} as DesktopMailAPI, {? () => () => {}: async () => {throw new Error(- 'The desktop connection could not start. Restart Inlark or reinstall the application.',+ 'The desktop connection could not start. Restart inlark or reinstall the application.',)},})diff --git a/apps/desktop/src/renderer/src/encryption-actions.tsx b/apps/desktop/src/renderer/src/encryption-actions.tsxindex ec06920..55664c2 100644--- a/apps/desktop/src/renderer/src/encryption-actions.tsx+++ b/apps/desktop/src/renderer/src/encryption-actions.tsx@@ -47,7 +47,7 @@ function UnlockDialog({description={passwordMode? 'Enter your vault password to read encrypted mail and keep writing encrypted drafts.'- : 'Inlark couldn’t open your keys with the system keyring. Make sure it’s unlocked, then try again.'+ : 'inlark couldn’t open your keys with the system keyring. Make sure it’s unlocked, then try again.'}className="w-[min(440px,_calc(100vw_-_40px))]">@@ -155,7 +155,7 @@ export function keysChanged(status?: EncryptionStatus) {}/**- * The keys known for one contact: which one Inlark uses, where each came from, and whether it+ * The keys known for one contact: which one inlark uses, where each came from, and whether it* was verified. A changed or conflicting key is explained before anything else.*/export function ContactKeyDialog({ email, onClose }: { email?: string; onClose: () => void }) {@@ -269,7 +269,7 @@ export function ContactKeyDialog({ email, onClose }: { email?: string; onClose:if (!open && !busy) onClose()}}title={'Keys for ' + (email || 'this contact')}- description={'Inlark encrypts mail to ' + (email || 'them') + ' with the key in use.'}+ description={'inlark encrypts mail to ' + (email || 'them') + ' with the key in use.'}className="w-[min(520px,_calc(100vw_-_40px))]">{keys.isPending && (diff --git a/apps/desktop/src/renderer/src/encryption-ui.tsx b/apps/desktop/src/renderer/src/encryption-ui.tsxindex 783cbb3..89349a1 100644--- a/apps/desktop/src/renderer/src/encryption-ui.tsx+++ b/apps/desktop/src/renderer/src/encryption-ui.tsx@@ -35,7 +35,7 @@ export const recipientProblems: Record<Exclude<RecipientReadiness['status'], 'reconflict: 'Several keys found',}const sourceLabels: Record<EncryptionKeySummary['sources'][number], string> = {- own: 'created in Inlark',+ own: 'created in inlark',import: 'imported',wkd: 'their provider’s key directory',autocrypt: 'mail they sent you',@@ -52,7 +52,7 @@ export function keyFileError(error: unknown, password: string) {? 'That password didn’t unlock the key file. Check it and try again.': 'This key file is password protected. Enter its password, then choose the file again.'if (/armor|packet|misformed|no key/i.test(text))- return 'This file doesn’t contain a private key Inlark can read. Choose an exported private key or a backup.'+ return 'This file doesn’t contain a private key inlark can read. Choose an exported private key or a backup.'return text}diff --git a/apps/desktop/src/renderer/src/main.tsx b/apps/desktop/src/renderer/src/main.tsxindex 80bb546..5338745 100644--- a/apps/desktop/src/renderer/src/main.tsx+++ b/apps/desktop/src/renderer/src/main.tsx@@ -69,7 +69,7 @@ class ErrorBoundary extends React.Component<{ children: React.ReactNode }, { errreturn this.state.error ? (<div className="startup-error [&_h1]:text-[23px] [&_p]:text-muted [&_p]:leading-[1.8] max-w-130 my-[20vh] mx-auto p-6.25"><h1>Something went wrong</h1>- <p>Inlark ran into an unexpected problem. Your saved drafts are safe on this device.</p>+ <p>inlark ran into an unexpected problem. Your saved drafts are safe on this device.</p><buttonclassName={cn('button inline-flex items-center justify-center gap-1.75 border border-solid border-border-strong bg-surface',@@ -79,7 +79,7 @@ class ErrorBoundary extends React.Component<{ children: React.ReactNode }, { err)}onClick={() => location.reload()}>- Reload Inlark+ Reload inlark</button></div>) : (diff --git a/apps/marketing/src/components/Closing.astro b/apps/marketing/src/components/Closing.astroindex dcefaf9..be4f148 100644--- a/apps/marketing/src/components/Closing.astro+++ b/apps/marketing/src/components/Closing.astro@@ -22,7 +22,7 @@ import Footer from './Footer.astro'</p><div class="mt-10 flex flex-wrap justify-center gap-3"><a href={links.download} class="btn btn-primary">- <Download size={17} /> Download Inlark+ <Download size={17} /> Download inlark</a><a href={links.repo} class="btn btn-ghost"><GitHubIcon className="size-4" /> Star on GitHubdiff --git a/apps/marketing/src/components/Features.astro b/apps/marketing/src/components/Features.astroindex d534536..596b402 100644--- a/apps/marketing/src/components/Features.astro+++ b/apps/marketing/src/components/Features.astro@@ -190,7 +190,7 @@ const scrollRows = [...inbox, ...inbox]<div><h3 class="text-xl font-semibold tracking-[-0.01em]">Dark and light, with equal care</h3><p class="mt-2.5 leading-relaxed text-ink-2">- Quiet surfaces, readable type and subtle emphasis in both themes — or let Inlark follow+ Quiet surfaces, readable type and subtle emphasis in both themes — or let inlark followyour desktop. Rich HTML mail keeps the look its sender designed.</p><div class="mt-6 inline-flex rounded-lg border border-line-strong p-1 text-sm text-ink-2">@@ -270,7 +270,7 @@ const scrollRows = [...inbox, ...inbox]</span><div class="min-w-0 text-[12px] leading-snug"><p class="flex gap-2 text-(--muted)">- Inlark <span class="text-(--faint)">now</span>+ inlark <span class="text-(--faint)">now</span></p><p class="mt-0.5 font-semibold text-(--text-strong)">Maya Chen</p><p class="truncate text-(--secondary)">A few thoughts on the new direction</p>diff --git a/apps/marketing/src/components/Hero.astro b/apps/marketing/src/components/Hero.astroindex 4457ba1..3522fc3 100644--- a/apps/marketing/src/components/Hero.astro+++ b/apps/marketing/src/components/Hero.astro@@ -42,13 +42,13 @@ const release = import.meta.env.PRODclass="rise mx-auto mt-7 max-w-[37rem] text-lg leading-relaxed text-ink-2 sm:text-[1.3rem]"style="--delay:.16s">- Inlark is a fast, keyboard-first mail client for the accounts you already own. Every JMAP and+ inlark is a fast, keyboard-first mail client for the accounts you already own. Every JMAP andIMAP inbox in one calm place, with no hosted service in between and no telemetry.</p><div class="rise mt-10 flex flex-wrap justify-center gap-3" style="--delay:.24s"><a href={links.download} class="btn btn-primary">- <Download size={17} /> Download Inlark+ <Download size={17} /> Download inlark</a><a href={links.repo} class="btn btn-ghost"><GitHubIcon className="size-4" /> View source@@ -67,7 +67,7 @@ const release = import.meta.env.PROD<InboxWindow animate /></div><p class="sr-only">- Inlark’s unified inbox, showing conversations from four accounts in one list, each marked with+ inlark’s unified inbox, showing conversations from four accounts in one list, each marked withthe colour of its account.</p></div>diff --git a/apps/marketing/src/components/Nav.astro b/apps/marketing/src/components/Nav.astroindex e7c8b98..15ee8b5 100644--- a/apps/marketing/src/components/Nav.astro+++ b/apps/marketing/src/components/Nav.astro@@ -22,7 +22,7 @@ const items = [<ahref={page === 'home' ? '#top' : '/'}class="flex items-center gap-1.5"- aria-label="Inlark home"+ aria-label="inlark home"><Mark size={24} /><Wordmark height={18} decorative />diff --git a/apps/marketing/src/components/Privacy.astro b/apps/marketing/src/components/Privacy.astroindex 33e909a..bf29516 100644--- a/apps/marketing/src/components/Privacy.astro+++ b/apps/marketing/src/components/Privacy.astro@@ -7,7 +7,7 @@ const principles = [{icon: UserRound,title: 'No account, no middleman',- text: 'There’s nothing to sign up for. Inlark talks to your JMAP or IMAP and SMTP server directly.',+ text: 'There’s nothing to sign up for. inlark talks to your JMAP or IMAP and SMTP server directly.',},{icon: WifiOff,diff --git a/apps/marketing/src/components/Reliability.astro b/apps/marketing/src/components/Reliability.astroindex db19d32..aae8de4 100644--- a/apps/marketing/src/components/Reliability.astro+++ b/apps/marketing/src/components/Reliability.astro@@ -8,7 +8,7 @@ const points = [},{title: 'Sending you can trust',- text: 'Each message says exactly where it stands. If the connection drops mid-send, Inlark marks it unconfirmed and never sends it again on its own.',+ text: 'Each message says exactly where it stands. If the connection drops mid-send, inlark marks it unconfirmed and never sends it again on its own.',},{title: 'Partial delivery, handled',@@ -16,7 +16,7 @@ const points = [},{title: 'Honest about your server',- text: 'If a server can’t move or delete a message safely, Inlark turns that action off and tells you why, instead of guessing.',+ text: 'If a server can’t move or delete a message safely, inlark turns that action off and tells you why, instead of guessing.',},]---diff --git a/apps/marketing/src/components/Setup.astro b/apps/marketing/src/components/Setup.astroindex a123bf5..b4ed056 100644--- a/apps/marketing/src/components/Setup.astro+++ b/apps/marketing/src/components/Setup.astro@@ -19,7 +19,7 @@ const found = [<div class="mx-auto max-w-md rounded-[16px] border border-(--border-strong) bg-(--bg) p-6 shadow-[0_40px_100px_-30px_var(--shadow-deep)] sm:p-7"><p class="text-[16px] font-semibold text-(--text-strong)">Connect an account</p><p class="mt-1 text-[12px] text-(--muted)">- Inlark connects straight to your mail server.+ inlark connects straight to your mail server.</p><label class="mt-5 block text-[12px] text-(--secondary)">Email address</label>@@ -73,10 +73,10 @@ const found = [<div class="reveal order-1 lg:order-2" style="--delay:.08s"><p class="eyebrow">Two-minute setup</p><h2 class="display mt-5 text-[clamp(2.4rem,5.4vw,4.2rem)]">- Type your address. Inlark finds the rest.+ Type your address. inlark finds the rest.</h2><p class="mt-6 text-lg leading-relaxed text-ink-2">- Inlark reads the settings your domain publishes — JMAP first, then IMAP and SMTP — and shows+ inlark reads the settings your domain publishes — JMAP first, then IMAP and SMTP — and showsexactly what it found before it asks for a password.</p><ul class="mt-8 flex flex-col gap-5 text-ink-2">diff --git a/apps/marketing/src/components/download/Download.tsx b/apps/marketing/src/components/download/Download.tsxindex 006cce4..a166fa6 100644--- a/apps/marketing/src/components/download/Download.tsx+++ b/apps/marketing/src/components/download/Download.tsx@@ -154,10 +154,10 @@ export function DownloadPage({ initial }: { initial: Release }) {<h1 className="display rise mt-5 text-[clamp(2.8rem,7vw,5.2rem)]" style={delay(0.12)}>{build ? (<>- Inlark for <em className="dawn-text pr-[0.06em]">{osNames[build.os]}</em>+ inlark for <em className="dawn-text pr-[0.06em]">{osNames[build.os]}</em></>) : (- 'Download Inlark'+ 'Download inlark')}</h1><p@@ -299,7 +299,7 @@ export function DownloadPage({ initial }: { initial: Release }) {<Builds release={release} selected={selected} onChoose={(b) => choose(b)} /></div><p className="mt-8 max-w-2xl text-[0.92rem] leading-relaxed text-ink-3">- <span className="text-dawn">Inlark {release.version} is an early preview.</span> Try it+ <span className="text-dawn">inlark {release.version} is an early preview.</span> Try italongside your current client while it matures, and{' '}<ahref={links.issues}diff --git a/apps/marketing/src/components/download/Mobile.tsx b/apps/marketing/src/components/download/Mobile.tsxindex 03459d8..4ea91b2 100644--- a/apps/marketing/src/components/download/Mobile.tsx+++ b/apps/marketing/src/components/download/Mobile.tsx@@ -4,7 +4,7 @@ import { accounts } from '../../data/mail'import { AppTile } from './icons'import { useCopied } from './CodeBlock'-const shareText = 'Inlark, a calm and fast email client. Download it on your computer:'+const shareText = 'inlark, a calm and fast email client. Download it on your computer:'/** Tomorrow at nine, when most people are back at their desk. */function reminderStart() {@@ -18,17 +18,17 @@ function calendars(url: string) {const start = reminderStart()const end = new Date(start.getTime() + 15 * 60_000)const compact = (d: Date) => d.toISOString().replace(/[-:]|\.\d{3}/g, '')- const details = `Install Inlark on your computer: ${url}`+ const details = `Install inlark on your computer: ${url}`const google = new URLSearchParams({action: 'TEMPLATE',- text: 'Download Inlark',+ text: 'Download inlark',dates: `${compact(start)}/${compact(end)}`,details,})const outlook = new URLSearchParams({path: '/calendar/action/compose',rru: 'addevent',- subject: 'Download Inlark',+ subject: 'Download inlark',startdt: start.toISOString(),enddt: end.toISOString(),body: details,@@ -76,7 +76,7 @@ export function Mobile() {const share = async () => {try {- await navigator.share({ title: 'Inlark', text: shareText, url })+ await navigator.share({ title: 'inlark', text: shareText, url })} catch {// Closing the share sheet rejects too, and needs no feedback.}@@ -116,7 +116,7 @@ export function Mobile() {className="rise mt-5 text-[1.05rem] leading-relaxed text-ink-2"style={{ '--delay': '.22s' } as CSSProperties}>- Inlark is a desktop app, and there’s no phone version yet. Send yourself the link and pick+ inlark is a desktop app, and there’s no phone version yet. Send yourself the link and pickit up on your computer.</p>@@ -130,7 +130,7 @@ export function Mobile() {</button>) : (<a- href={`mailto:?subject=${encodeURIComponent('Download Inlark')}&body=${encodeURIComponent(shareText + '\n' + url)}`}+ href={`mailto:?subject=${encodeURIComponent('Download inlark')}&body=${encodeURIComponent(shareText + '\n' + url)}`}className="btn btn-primary col-span-2 h-12"><Mail size={17} /> Email me the linkdiff --git a/apps/marketing/src/components/download/Steps.tsx b/apps/marketing/src/components/download/Steps.tsxindex 6305bb6..bcbae81 100644--- a/apps/marketing/src/components/download/Steps.tsx+++ b/apps/marketing/src/components/download/Steps.tsx@@ -18,7 +18,7 @@ const Path = ({ children }: { children: ReactNode }) => (const connect: Step = {title: 'Connect your mail',- body: 'Enter your address and Inlark looks up your server’s settings, or enter them yourself. Add as many accounts as you like.',+ body: 'Enter your address and inlark looks up your server’s settings, or enter them yourself. Add as many accounts as you like.',visual: <ConnectVisual />,}@@ -31,14 +31,14 @@ function steps({ build, file }: Download): Step[] {title: 'Move it to Applications',body: (<>- Open <Path>{file}</Path> from your Downloads, then drag Inlark onto the Applications+ Open <Path>{file}</Path> from your Downloads, then drag inlark onto the Applicationsfolder.</>),visual: <DragVisual />,},{- title: 'Open Inlark',+ title: 'Open inlark',body: 'Find it in Launchpad or with Spotlight. The first time, macOS asks you to confirm opening an app from the internet.',visual: <LauncherVisual />,},@@ -50,15 +50,15 @@ function steps({ build, file }: Download): Step[] {title: 'Run the installer',body: (<>- Open <Path>{file}</Path> from your Downloads. It installs Inlark for your account, no+ Open <Path>{file}</Path> from your Downloads. It installs inlark for your account, noadministrator needed.</>),visual: <DownloadsVisual file={file!} />,},{- title: 'Open Inlark',- body: 'It starts as soon as setup finishes. After that, find it in the Start menu or search for Inlark.',+ title: 'Open inlark',+ body: 'It starts as soon as setup finishes. After that, find it in the Start menu or search for inlark.',visual: <LauncherVisual />,},connect,@@ -77,7 +77,7 @@ function steps({ build, file }: Download): Step[] {),},{- title: 'Start Inlark',+ title: 'Start inlark',body: (<>Double-click it or run it from a terminal. If nothing happens, your system may need@@ -104,7 +104,7 @@ function steps({ build, file }: Download): Step[] {),},{- title: 'Open Inlark',+ title: 'Open inlark',body: (<>Find it in your app menu, or run <Path>inlark</Path>. It also becomes a handler for@@ -130,7 +130,7 @@ function steps({ build, file }: Download): Step[] {),},{- title: 'Open Inlark',+ title: 'Open inlark',body: (<>Find it in your app menu, or run <Path>inlark</Path>. To get updates, run{' '}@@ -145,7 +145,7 @@ function steps({ build, file }: Download): Step[] {return [{title: 'Add the flake',- body: 'Follow the latest code from the default branch by adding Inlark as an input, then enable its module in your system configuration.',+ body: 'Follow the latest code from the default branch by adding inlark as an input, then enable its module in your system configuration.',visual: (<CodeBlockcode={@@ -161,7 +161,7 @@ function steps({ build, file }: Download): Step[] {title: 'Switch to it',body: (<>- Rebuild your system and Inlark appears in your app menu. For updates, run{' '}+ Rebuild your system and inlark appears in your app menu. For updates, run{' '}<Path>nix flake update inlark</Path> in your system configuration directory, thenrebuild.</>@@ -228,7 +228,7 @@ function DragVisual() {<AppTile size={56} /><AppTile size={56} className="drag-ghost absolute inset-0" /></span>- <span className="text-[0.72rem] text-ink-2">Inlark</span>+ <span className="text-[0.72rem] text-ink-2">inlark</span></div><svg width="64" height="20" viewBox="0 0 64 20" fill="none" className="text-ink-3"><path@@ -300,7 +300,7 @@ function LauncherVisual() {<div className="flex items-center gap-2.5 rounded-[6px] bg-(--selected) px-2 py-2"><AppTile size={26} /><div>- <p className="text-[12px] text-(--text-strong)">Inlark</p>+ <p className="text-[12px] text-(--text-strong)">inlark</p><p className="text-[10px] text-(--muted)">Email client</p></div></div>diff --git a/apps/marketing/src/data/release.ts b/apps/marketing/src/data/release.tsindex 2fba18d..4028402 100644--- a/apps/marketing/src/data/release.ts+++ b/apps/marketing/src/data/release.ts@@ -21,42 +21,42 @@ export const builds: Build[] = [os: 'mac',label: 'Apple silicon',detail: 'Macs with an M-series chip',- file: (v) => `Inlark-${v}-arm64.dmg`,+ file: (v) => `inlark-${v}-arm64.dmg`,},{id: 'mac-x64',os: 'mac',label: 'Intel',detail: 'Macs with an Intel processor',- file: (v) => `Inlark-${v}-x64.dmg`,+ file: (v) => `inlark-${v}-x64.dmg`,},{id: 'windows',os: 'windows',label: 'Installer',detail: '64-bit, installs for your account',- file: (v) => `Inlark-${v}-x64-setup.exe`,+ file: (v) => `inlark-${v}-x64-setup.exe`,},{id: 'appimage',os: 'linux',label: 'AppImage',detail: 'Runs on most distributions',- file: (v) => `Inlark-${v}-x86_64.AppImage`,+ file: (v) => `inlark-${v}-x86_64.AppImage`,},{id: 'deb',os: 'linux',label: 'Debian · Ubuntu',detail: '.deb package',- file: (v) => `Inlark-${v}-amd64.deb`,+ file: (v) => `inlark-${v}-amd64.deb`,},{id: 'rpm',os: 'linux',label: 'Fedora',detail: '.rpm package',- file: (v) => `Inlark-${v}-x86_64.rpm`,+ file: (v) => `inlark-${v}-x86_64.rpm`,},{ id: 'nix', os: 'linux', label: 'Nix', detail: 'Any Linux with Nix, x86-64 or ARM' },{ id: 'nixos', os: 'linux', label: 'NixOS', detail: 'Flake module' },@@ -100,10 +100,14 @@ export interface Download {export function downloadFor(release: Release, build: Build): Download {const file = build.file?.(release.version) ?? null- const asset = file ? release.assets.find((a) => a.name === file) : undefined+ // Published releases keep their original filenames. Prefer the lowercase name if both exist.+ const asset = file+ ? (release.assets.find((a) => a.name === file) ??+ release.assets.find((a) => a.name === file.replace(/^inlark-/, 'Inlark-')))+ : undefinedreturn {build,- file,+ file: asset?.name ?? file,url: asset?.url ?? release.url,size: asset?.size ?? null,digest: asset?.digest ?? null,diff --git a/apps/marketing/src/layouts/Layout.astro b/apps/marketing/src/layouts/Layout.astroindex 3189191..896bf70 100644--- a/apps/marketing/src/layouts/Layout.astro+++ b/apps/marketing/src/layouts/Layout.astro@@ -33,14 +33,14 @@ const url = new URL(Astro.url.pathname, Astro.site)<meta property="og:title" content={title} /><meta property="og:description" content={description} /><meta property="og:url" content={url} />- <meta property="og:site_name" content="Inlark" />+ <meta property="og:site_name" content="inlark" /><meta property="og:image" content={card} /><meta property="og:image:type" content="image/png" /><meta property="og:image:width" content="1200" /><meta property="og:image:height" content="630" /><metaproperty="og:image:alt"- content="Inlark: beautiful email, for everyone. The unified inbox rising over a dawn horizon."+ content="inlark: beautiful email, for everyone. The unified inbox rising over a dawn horizon."/><meta name="twitter:card" content="summary_large_image" /><slot name="head" />diff --git a/apps/marketing/src/lib/platform.ts b/apps/marketing/src/lib/platform.tsindex 337b154..7e27591 100644--- a/apps/marketing/src/lib/platform.ts+++ b/apps/marketing/src/lib/platform.ts@@ -85,7 +85,7 @@ export function recommend(platform: Platform): Recommendation | null {return {build: 'nix',auto: false,- note: 'There are no ARM packages yet, but Nix builds Inlark for your processor.',+ note: 'There are no ARM packages yet, but Nix builds inlark for your processor.',}if (/Ubuntu|Debian|Mint|Pop!_OS|elementary/i.test(ua)) return { build: 'deb', auto: true }if (/Fedora|Red Hat|CentOS|Rocky|Alma/i.test(ua)) return { build: 'rpm', auto: true }diff --git a/apps/marketing/src/pages/download.astro b/apps/marketing/src/pages/download.astroindex e5bbe89..ab38c8c 100644--- a/apps/marketing/src/pages/download.astro+++ b/apps/marketing/src/pages/download.astro@@ -15,8 +15,8 @@ const release = import.meta.env.PROD---<Layout- title="Download Inlark — email for Linux, Windows, and macOS"- description="Download Inlark, a fast, keyboard-first email client for Linux, Windows, and macOS. Free and open source."+ title="Download inlark — email for Linux, Windows, and macOS"+ description="Download inlark, a fast, keyboard-first email client for Linux, Windows, and macOS. Free and open source."><Fragment slot="head"><script is:inline>diff --git a/apps/marketing/src/pages/imprint.astro b/apps/marketing/src/pages/imprint.astroindex f684468..18292da 100644--- a/apps/marketing/src/pages/imprint.astro+++ b/apps/marketing/src/pages/imprint.astro@@ -39,7 +39,7 @@ const sections = [---<Layout- title="Imprint — Inlark"+ title="Imprint — inlark"description="Legal information about the operator of inlark.com, as required by Austrian law."><Nav page="imprint" />diff --git a/apps/marketing/src/pages/index.astro b/apps/marketing/src/pages/index.astroindex 14f6c46..6085f39 100644--- a/apps/marketing/src/pages/index.astro+++ b/apps/marketing/src/pages/index.astro@@ -11,7 +11,7 @@ import Closing from '../components/Closing.astro'---<Layout- title="Inlark — beautiful email for your desktop"+ title="inlark — beautiful email for your desktop"description="A fast, keyboard-first email client for Linux, Windows, and macOS. Your JMAP and IMAP accounts in one inbox, with no hosted service or telemetry."><Nav />diff --git a/apps/marketing/src/pages/social-card.astro b/apps/marketing/src/pages/social-card.astroindex 596302c..f558298 100644--- a/apps/marketing/src/pages/social-card.astro+++ b/apps/marketing/src/pages/social-card.astro@@ -26,7 +26,7 @@ const stars = Array.from({ length: 70 }, () => ({<head><meta charset="UTF-8" /><meta name="robots" content="noindex" />- <title>Inlark social card</title>+ <title>inlark social card</title></head><body><div class="card">diff --git a/apps/marketing/worker/routes.ts b/apps/marketing/worker/routes.tsindex f2c9aa1..13228e5 100644--- a/apps/marketing/worker/routes.ts+++ b/apps/marketing/worker/routes.ts@@ -25,7 +25,7 @@ const json = (body: string, status: number, cache: string) =>headers: { 'Content-Type': 'application/json; charset=utf-8', 'Cache-Control': cache },})-/** A short calendar reminder to download Inlark, for visitors who found it on their phone. */+/** A short calendar reminder to download inlark, for visitors who found it on their phone. */function reminder(url: URL) {const start = new Date(url.searchParams.get('start') ?? '')const soon = Date.now() - 86_400_000 < start.getTime() && start.getTime() < Date.now() + 4e10@@ -36,7 +36,7 @@ function reminder(url: URL) {const lines = ['BEGIN:VCALENDAR','VERSION:2.0',- 'PRODID:-//Inlark//Download reminder//EN',+ 'PRODID:-//inlark//Download reminder//EN','CALSCALE:GREGORIAN','METHOD:PUBLISH','BEGIN:VEVENT',@@ -44,12 +44,12 @@ function reminder(url: URL) {`DTSTAMP:${stamp(new Date())}`,`DTSTART:${stamp(start)}`,`DTEND:${stamp(new Date(start.getTime() + 15 * 60_000))}`,- 'SUMMARY:Download Inlark',- `DESCRIPTION:Install Inlark on your computer: ${link}`,+ 'SUMMARY:Download inlark',+ `DESCRIPTION:Install inlark on your computer: ${link}`,`URL:${link}`,'BEGIN:VALARM','ACTION:DISPLAY',- 'DESCRIPTION:Download Inlark',+ 'DESCRIPTION:Download inlark','TRIGGER:PT0M','END:VALARM','END:VEVENT',diff --git a/docs/encryption-validation.md b/docs/encryption-validation.mdindex 10e98bb..3d57b13 100644--- a/docs/encryption-validation.md+++ b/docs/encryption-validation.md@@ -6,7 +6,7 @@ Validated in this workspace on 2026-10-07 with Node 24.21.0, OpenPGP.js 6.3.2, G| ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- || Repository formatting, type checks, unit tests and production build (`pnpm check`) | Passed; 312 tests passed. The five container tests are intentionally gated in this command. || Bundled crypto worker | Passed generation, signed encryption, decryption and locking. |-| Independent GnuPG interoperability | Passed fixture decryption and signature verification, plus GnuPG decryption/verification of Inlark output, hidden recipient packets, detached signatures and protected backup import. |+| Independent GnuPG interoperability | Passed fixture decryption and signature verification, plus GnuPG decryption/verification of inlark output, hidden recipient packets, detached signatures and protected backup import. || Protected draft and staging storage | Tests inspected vault, draft stubs, staging metadata and outgoing bytes for body/attachment markers. Selected file contents and filenames stay encrypted; original user files remain unchanged. || Crash/lock recovery | Automated service tests passed selected draft restoration, encrypted server revisions, tombstones, partial-delivery recovery, uncertain-send replacement and explicit ordinary-draft transition. || Browser IndexedDB inspection | A synthetic encrypted message retained its content in memory while its saved query record had no body or attachment marker and was marked locked. Clearing decrypted caches removed the memory record. |diff --git a/docs/encryption.md b/docs/encryption.mdindex 203d132..9794c95 100644--- a/docs/encryption.md+++ b/docs/encryption.md@@ -1,10 +1,10 @@# Email encryption-Encryption is optional for each sending identity. Open **Settings → Encryption** and choose **Set up…** next to an address, then **Create a new key**, **Import an existing key** or **Transfer from another device**. Inlark checks for published keys for your address before creating one; if it finds one, it suggests importing the original private key instead. Public keys let other people encrypt mail to you. Private keys unlock that mail and must stay protected. Each address has its own switch to turn encryption on or off, and a **Manage** menu for its key.+Encryption is optional for each sending identity. Open **Settings → Encryption** and choose **Set up…** next to an address, then **Create a new key**, **Import an existing key** or **Transfer from another device**. inlark checks for published keys for your address before creating one; if it finds one, it suggests importing the original private key instead. Public keys let other people encrypt mail to you. Private keys unlock that mail and must stay protected. Each address has its own switch to turn encryption on or off, and a **Manage** menu for its key.## Protect and recover your keys-Inlark uses secure OS key storage to protect its local vault when available. Otherwise you must choose a vault password. Private keys are never saved unprotected, even if ordinary account credentials use the existing insecure-storage fallback. If secure storage becomes unavailable, Inlark preserves the vault and asks you to restore access; it never creates a replacement automatically.+inlark uses secure OS key storage to protect its local vault when available. Otherwise you must choose a vault password. Private keys are never saved unprotected, even if ordinary account credentials use the existing insecure-storage fallback. If secure storage becomes unavailable, inlark preserves the vault and asks you to restore access; it never creates a replacement automatically.Setup ends by asking for a backup: a password-protected key file whose password you keep separately. **Back up later** requires acknowledging that losing the key can make encrypted mail permanently unreadable; a reminder remains in Settings and the sidebar until you back up. Resetting your email password cannot recover your private key or vault password. Import a backup using **Import an existing key**. An address's **Manage** menu offers **Back up key…**, **Export public key…**, **Move to another device…**, **Import an older key…** for historical mail, **Replace key…** (create or import) and **Revoke key…**. Replaced keys appear under **Older keys**, where they can still be backed up, exported or revoked. Replacing or revoking a key retains the original private key for historical decryption.@@ -14,7 +14,7 @@ Setup ends by asking for a backup: a password-protected key file whose passwordFor addresses with encryption set up, the composer toolbar offers **Encrypt** (which also signs), **Sign only** and **Don’t encrypt**; `Ctrl+Shift+E` (`⌘⇧E` on macOS) switches encryption on or off. While encrypting, a bar above the message says who it is encrypted for, recipient chips show a lock, and the send button reads **Send encrypted**. New conversations automatically select encryption only when your identity and every recipient prefer it and usable keys are available. Replies and forwards containing decrypted content start protected before their first autosave.-An encrypted send is blocked if any recipient's key is missing, expired, revoked, changed or conflicting. The bar names each affected recipient and the reason; select one to review their keys. Inlark never silently switches to ordinary mail. Sending a previously protected draft or reply unencrypted requires an explicit change and confirmation.+An encrypted send is blocked if any recipient's key is missing, expired, revoked, changed or conflicting. The bar names each affected recipient and the reason; select one to review their keys. inlark never silently switches to ordinary mail. Sending a previously protected draft or reply unencrypted requires an explicit change and confirmation.Bodies, HTML, attachments and inline images are encrypted. Subjects, addresses, dates, message sizes and delivery information remain visible. Encrypted mail search uses visible metadata; decrypted bodies are not indexed. Sign-only messages remain readable by the mail server and recipients.@@ -24,21 +24,21 @@ The reader labels encryption, signature validity and verified sender separatelyOnly drafts with encryption selected are protected locally. Their bodies and staged attachments are saved in the main-process encrypted vault; their server copies are PGP/MIME encrypted to your own key. Ordinary drafts and sign-only drafts retain their existing storage behavior. The server draft's encrypted revision is compared without replacing ciphertext with an ordinary body.-If an earlier autosave was unencrypted, the composer warns you. Encrypting a replacement cannot erase server backups, revision history, other clients' caches or earlier deliveries. Original files you choose as attachments remain in their original location; Inlark protects its staged copies. Explicitly saving a decrypted attachment exports ordinary content to the location you choose.+If an earlier autosave was unencrypted, the composer warns you. Encrypting a replacement cannot erase server backups, revision history, other clients' caches or earlier deliveries. Original files you choose as attachments remain in their original location; inlark protects its staged copies. Explicitly saving a decrypted attachment exports ordinary content to the location you choose.-Inlark encrypts outgoing mail to every recipient and your own key and signs it by default. Bcc addresses are removed from delivered headers and gossip, and recipient key IDs are anonymized when Bcc is used. SMTP and JMAP delivery use an explicit envelope. Prepared messages are persisted before submission. Existing partial-delivery, unconfirmed-send and Sent-copy recovery continue without automatic retransmission.+inlark encrypts outgoing mail to every recipient and your own key and signs it by default. Bcc addresses are removed from delivered headers and gossip, and recipient key IDs are anonymized when Bcc is used. SMTP and JMAP delivery use an explicit envelope. Prepared messages are persisted before submission. Existing partial-delivery, unconfirmed-send and Sent-copy recovery continue without automatic retransmission.## Discovery and device transfer-Inlark prefers your accepted key. Without one it checks the recipient's WKD directory, then available Autocrypt information. A first usable key can be used while labeled unconfirmed. Multiple candidates require a choice. A changed fingerprint always requires review; old keys are preserved. Refreshing the same fingerprint updates its certifications and revocations without treating it as a replacement.+inlark prefers your accepted key. Without one it checks the recipient's WKD directory, then available Autocrypt information. A first usable key can be used while labeled unconfirmed. Multiple candidates require a choice. A changed fingerprint always requires review; old keys are preserved. Refreshing the same fingerprint updates its certifications and revocations without treating it as a replacement.For enabled identities, recipient checks can read Autocrypt headers from up to 40 recent matching messages, including unopened mail, without downloading their bodies. These lookups are cached for two minutes. **Settings → Encryption → Contacts’ keys** lists the keys found so far and looks up any address; a contact's key dialog shows where each key came from, lets you choose between changed or conflicting keys, mark a key as verified, and **Check again**. Disabled identities do not trigger automatic discovery.-Autocrypt advertises no encryption preference until you explicitly select **Prefer encrypted mail**. Peer state follows message chronology, ignores malformed or wrong-address headers and stops recommending stale preferences. Gossip is included only inside encrypted mail and only for visible recipients. Inlark deliberately requires review for changed fingerprints, which is stricter than ordinary automatic Autocrypt key replacement.+Autocrypt advertises no encryption preference until you explicitly select **Prefer encrypted mail**. Peer state follows message chronology, ignores malformed or wrong-address headers and stops recommending stale preferences. Gossip is included only inside encrypted mail and only for visible recipients. inlark deliberately requires review for changed fingerprints, which is stricter than ordinary automatic Autocrypt key replacement.-**Move to another device…** exports an Autocrypt Setup Message only when you initiate it. Keep the generated numeric code separate from the message. On the other device, choose **Transfer from another device**, enter that code and choose the message to restore the key and its encryption preference. Inlark never distributes private keys automatically.+**Move to another device…** exports an Autocrypt Setup Message only when you initiate it. Keep the generated numeric code separate from the message. On the other device, choose **Transfer from another device**, enter that code and choose the message to restore the key and its encryption preference. inlark never distributes private keys automatically.-WKD discovers public keys; Inlark does not publish a directory. Domain administrators can use **Export public key…** and publish a binary key under the advanced or direct WKD path, together with the domain's policy file. Follow the [WKD discovery specification](https://www.ietf.org/archive/id/draft-koch-openpgp-webkey-service-20.html) for address hashing, directory layout and HTTPS requirements. Key exports are ASCII armored; convert to binary before publishing.+WKD discovers public keys; inlark does not publish a directory. Domain administrators can use **Export public key…** and publish a binary key under the advanced or direct WKD path, together with the domain's policy file. Follow the [WKD discovery specification](https://www.ietf.org/archive/id/draft-koch-openpgp-webkey-service-20.html) for address hashing, directory layout and HTTPS requirements. Key exports are ASCII armored; convert to binary before publishing.## Implementation and release checksdiff --git a/flake.nix b/flake.nixindex d2e7241..d1dd52d 100644--- a/flake.nix+++ b/flake.nix@@ -1,5 +1,5 @@{- description = "Inlark — a considered home for your email";+ description = "inlark — a considered home for your email";inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";outputs = { self, nixpkgs }:letdiff --git a/nix/module.nix b/nix/module.nixindex 6b42727..2dfbbee 100644--- a/nix/module.nix+++ b/nix/module.nix@@ -2,7 +2,7 @@ self: { config, lib, pkgs, ... }:letcfg = config.programs.inlark;in {- options.programs.inlark.enable = lib.mkEnableOption "Inlark email client";+ options.programs.inlark.enable = lib.mkEnableOption "inlark email client";config = lib.mkIf cfg.enable {environment.systemPackages = [ self.packages.${pkgs.stdenv.hostPlatform.system}.default ];diff --git a/nix/package.nix b/nix/package.nixindex 4de2886..b4746b4 100644--- a/nix/package.nix+++ b/nix/package.nix@@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {'';desktopItems = [ (makeDesktopItem {name = "inlark";- desktopName = "Inlark";+ desktopName = "inlark";genericName = "Email client";exec = "inlark %U";icon = "inlark";diff --git a/packages/core/src/model.ts b/packages/core/src/model.tsindex f868afd..b6fe79f 100644--- a/packages/core/src/model.ts+++ b/packages/core/src/model.ts@@ -230,7 +230,7 @@ export interface Settings {remoteImages: booleannotifications: booleancloseToTray: boolean- /** Use the system window frame instead of Inlark's title bar, after restarting. */+ /** Use the system window frame instead of inlark's title bar, after restarting. */systemTitleBar?: booleandefaultAccountId?: stringsignatures: Record<string, string>@@ -333,7 +333,7 @@ export interface ImapConnectionConfig {export type ConnectionConfig = JmapConnectionConfig | ImapConnectionConfigexport type FolderRole = 'sent' | 'drafts' | 'archive' | 'junk' | 'trash'export const folderRoles: FolderRole[] = ['sent', 'drafts', 'archive', 'junk', 'trash']-/** An existing folder for a role, or one Inlark should create. `null` means none. */+/** An existing folder for a role, or one inlark should create. `null` means none. */export type FolderMappings = Partial<Record<FolderRole, { path: string; create?: boolean } | null>>export interface FolderMappingReview {folders: { path: string; name: string }[]diff --git a/packages/crypto/src/vault.ts b/packages/crypto/src/vault.tsindex 445e1ff..760653e 100644--- a/packages/crypto/src/vault.ts+++ b/packages/crypto/src/vault.ts@@ -133,7 +133,7 @@ export class Vault {version: 1,id,protection,- records: { check: seal(key, Buffer.from('Inlark vault'), aad(id, 'check')) },+ records: { check: seal(key, Buffer.from('inlark vault'), aad(id, 'check')) },}await mkdir(dirname(this.path), { recursive: true, mode: 0o700 })const temporary = this.path + '.' + randomUUID() + '.tmp'@@ -185,7 +185,7 @@ export class Vault {if (key.length !== 32 ||!doc.records.check ||- unseal(key, doc.records.check, aad(doc.id, 'check')).toString() !== 'Inlark vault'+ unseal(key, doc.records.check, aad(doc.id, 'check')).toString() !== 'inlark vault')throw new Error('Invalid vault.')// Authenticate every record before accepting an unlock, including historical private keys.diff --git a/packages/imap/src/imapflow-port.ts b/packages/imap/src/imapflow-port.tsindex ed74195..d63c2b0 100644--- a/packages/imap/src/imapflow-port.ts+++ b/packages/imap/src/imapflow-port.ts@@ -50,7 +50,7 @@ export function connectionError('tls','A secure connection to ' +host +- ' could not be established or its certificate could not be verified. Inlark never falls back to an unencrypted connection.',+ ' could not be established or its certificate could not be verified. inlark never falls back to an unencrypted connection.',)if (e?.code === 'ENOTFOUND' || e?.code === 'EAI_AGAIN')return new ProviderError(diff --git a/packages/imap/src/provider.ts b/packages/imap/src/provider.tsindex 33ec98d..692a0b2 100644--- a/packages/imap/src/provider.ts+++ b/packages/imap/src/provider.ts@@ -945,7 +945,7 @@ export class ImapProvider implements MailProvider {async identities(account: Account): Promise<Identity[]> {return this.senders(account)}- /** The account's own address first, then the aliases the user added in Inlark. */+ /** The account's own address first, then the aliases the user added in inlark. */private senders(account: Account): Identity[] {return [{diff --git a/packages/jmap/src/index.ts b/packages/jmap/src/index.tsindex f877b9c..fd314bc 100644--- a/packages/jmap/src/index.ts+++ b/packages/jmap/src/index.ts@@ -377,7 +377,7 @@ export class JmapProvider implements MailProvider {)return []const [result] = await this.call([['Identity/get', { accountId: account.remoteId }, 'i']], true)- // The name the user chose in Inlark wins over the one configured on the server.+ // The name the user chose in inlark wins over the one configured on the server.return result.list.map((i: Json) => ({...i,name: account.senderName || i.name,diff --git a/packages/ui/src/components/wordmark.tsx b/packages/ui/src/components/wordmark.tsxindex 969c7e2..ac16167 100644--- a/packages/ui/src/components/wordmark.tsx+++ b/packages/ui/src/components/wordmark.tsx@@ -22,7 +22,7 @@ export function Wordmark({className={className}style={{ display: 'inline-block', flexShrink: 0, verticalAlign: 'middle' }}role={decorative ? undefined : 'img'}- aria-label={decorative ? undefined : 'Inlark'}+ aria-label={decorative ? undefined : 'inlark'}aria-hidden={decorative || undefined}focusable="false">diff --git a/scripts/Containerfile.smoke b/scripts/Containerfile.smokeindex 38538ab..f04143c 100644--- a/scripts/Containerfile.smoke+++ b/scripts/Containerfile.smoke@@ -5,4 +5,4 @@ USER appENV INLARK_DATA_DIR=/tmp/inlark-smoke# Nested Chromium namespaces are unavailable in many rootless container hosts.# Only this isolated, network-disabled packaging smoke uses --no-sandbox.-CMD ["sh", "-c", "dpkg-deb -x /release/Inlark-0.1.0-amd64.deb /tmp/package && xvfb-run -a /tmp/package/opt/Inlark/inlark --smoke-test --no-sandbox --disable-gpu"]+CMD ["sh", "-c", "dpkg-deb -x /release/inlark-*-amd64.deb /tmp/package && xvfb-run -a /tmp/package/opt/inlark/inlark --smoke-test --no-sandbox --disable-gpu"]diff --git a/tests/app-identity.test.ts b/tests/app-identity.test.tsnew file mode 100644index 0000000..70238c4--- /dev/null+++ b/tests/app-identity.test.ts@@ -0,0 +1,88 @@+import { afterEach, describe, expect, it } from 'vitest'+import { EventEmitter } from 'node:events'+import { existsSync } from 'node:fs'+import { mkdtemp, mkdir, readFile, readdir, rm, writeFile } from 'node:fs/promises'+import { tmpdir } from 'node:os'+import { join } from 'node:path'+import { configureAppIdentity } from '../apps/desktop/src/main/app-identity'++const directories: string[] = []+async function directory() {+ const path = await mkdtemp(join(tmpdir(), 'inlark-identity-'))+ directories.push(path)+ return path+}+afterEach(async () => {+ await Promise.all(directories.splice(0).map((path) => rm(path, { recursive: true, force: true })))+})++function electronApp(appData: string) {+ const events = new EventEmitter()+ const paths = new Map<string, string>([+ ['appData', appData],+ ['userData', join(appData, 'inlark')],+ ['sessionData', join(appData, 'inlark')],+ ])+ let name = 'inlark'+ return {+ events,+ getName: () => name,+ setName: (value: string) => {+ name = value+ },+ getPath: (key: string) => {+ const path = paths.get(key)+ if (!path) throw new Error('Unexpected path: ' + key)+ return path+ },+ setPath: (key: string, value: string) => {+ if (!existsSync(value)) throw new Error('Directory must exist before setPath.')+ paths.set(key, value)+ },+ once: (event: 'ready', listener: () => void) => events.once(event, listener),+ }+}++describe('app identity compatibility', () => {+ it.each(['.config', 'AppData/Roaming', 'Library/Application Support'])(+ 'keeps existing data under %s and the startup credential identity after rebranding',+ async (parent) => {+ const appData = join(await directory(), parent)+ const profile = join(appData, 'Inlark')+ await mkdir(join(profile, 'mail'), { recursive: true })+ const draft = JSON.stringify({ subject: 'Saved draft', body: 'Keep this message.' })+ const session = 'existing-session-state'+ await writeFile(join(profile, 'mail', 'draft.json'), draft)+ await writeFile(join(profile, 'Local State'), session)+ const app = electronApp(appData)++ configureAppIdentity(app, '')+ expect(app.getName()).toBe('Inlark')+ app.events.emit('ready')++ expect(app.getName()).toBe('inlark')+ expect(app.getPath('userData')).toBe(profile)+ expect(app.getPath('sessionData')).toBe(profile)+ expect(await readFile(join(app.getPath('userData'), 'mail', 'draft.json'), 'utf8')).toBe(+ draft,+ )+ expect(await readFile(join(app.getPath('sessionData'), 'Local State'), 'utf8')).toBe(session)+ expect(await readdir(appData)).toEqual(['Inlark'])+ },+ )++ it('creates and uses an explicit data directory for both app and session storage', async () => {+ const root = await directory()+ const app = electronApp(join(root, 'default'))+ const override = join(root, 'custom-profile')++ configureAppIdentity(app, override)+ app.events.emit('ready')++ expect(app.getName()).toBe('inlark')+ expect(app.getPath('userData')).toBe(override)+ expect(app.getPath('sessionData')).toBe(override)+ expect(existsSync(override)).toBe(true)+ expect(existsSync(join(root, 'default'))).toBe(false)+ })+})diff --git a/tests/certificate.test.ts b/tests/certificate.test.tsindex 963e113..4b79b6f 100644--- a/tests/certificate.test.ts+++ b/tests/certificate.test.ts@@ -182,7 +182,7 @@ describe('certificate inspection', () => {expect(await inspectCertificate(server(privateAuthority.port), 'imap')).toMatchObject({problem: 'unknownIssuer',subject: 'localhost',- issuer: 'Inlark Test CA',+ issuer: 'inlark Test CA',})const replaced = await imapServer('untrusted', 'tls')const settings = server(replaced.port, { certificate: trust('server') })diff --git a/tests/core.test.ts b/tests/core.test.tsindex 4061f49..ce0e3c4 100644--- a/tests/core.test.ts+++ b/tests/core.test.ts@@ -268,7 +268,7 @@ describe('signatures', () => {const identity = { accountId: 'a', id: 'i' }const key = identityKey('a', 'i')- it('prefers the signature written in Inlark, in the format it was written in', () => {+ it('prefers the signature written in inlark, in the format it was written in', () => {const server = { ...identity, textSignature: 'Server', htmlSignature: '<b>Server</b>' }expect(identitySignature({ signatures: { [key]: 'Paul' } }, server)).toEqual({format: 'text',diff --git a/tests/fixtures/openpgp/README.md b/tests/fixtures/openpgp/README.mdindex 5563808..390dd55 100644--- a/tests/fixtures/openpgp/README.md+++ b/tests/fixtures/openpgp/README.md@@ -4,6 +4,6 @@Fixtures cover signed and unsigned PGP/MIME encryption, hidden recipients, exact-byte detached signatures, invalid signatures, inline encryption, inline cleartext signatures, HTML alternatives and attachments. Regeneration changes key fingerprints and ciphertext; tests derive fingerprints from the keys rather than hard-coding them.-Run `python3 tests/fixtures/openpgp/generate.py` with GnuPG installed to regenerate. Run `pnpm test:crypto-interop` to check the reverse direction: GnuPG decrypts and verifies output from the bundled Inlark worker and imports a password-protected backup. It uses a disposable keyring and kills its test agent on completion.+Run `python3 tests/fixtures/openpgp/generate.py` with GnuPG installed to regenerate. Run `pnpm test:crypto-interop` to check the reverse direction: GnuPG decrypts and verifies output from the bundled inlark worker and imports a password-protected backup. It uses a disposable keyring and kills its test agent on completion.Thunderbird interoperability is a separate release requirement; these fixtures do not stand in for a Thunderbird test.diff --git a/tests/fixtures/tls/ca.crt b/tests/fixtures/tls/ca.crtindex 16f4b4b..fcdd3c1 100644--- a/tests/fixtures/tls/ca.crt+++ b/tests/fixtures/tls/ca.crt@@ -1,11 +1,11 @@-----BEGIN CERTIFICATE-----MIIBljCCAT2gAwIBAgIUUWUPp4ugv3oanm5/4vTR6D0ORqYwCgYIKoZIzj0EAwIw-GTEXMBUGA1UEAwwOSW5sYXJrIFRlc3QgQ0EwHhcNMjYwOTI2MTExMjUyWhcNNDYw-OTIxMTExMjUyWjAZMRcwFQYDVQQDDA5JbmxhcmsgVGVzdCBDQTBZMBMGByqGSM49+GTEXMBUGA1UEAwwOaW5sYXJrIFRlc3QgQ0EwHhcNMjYwOTI2MTExMjUyWhcNNDYw+OTIxMTExMjUyWjAZMRcwFQYDVQQDDA5pbmxhcmsgVGVzdCBDQTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABB0NQ2qTQ0aIIclZYqbNouwGU0g0t/FcIFHtdHTyaz+siosy8wlq+yY+aHBbPkndtjnXIDJa4RMofAmDho3V/VCjYzBhMB0GA1UdDgQWBBQ9LQ6MfnsuAYvuiE59slIxEvS+njAfBgNVHSMEGDAWgBQ9LQ6MfnsuAYvuiE59slIxEvS+njAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAKBggqhkjOPQQD-AgNHADBEAiBhofVFfdv1itoaLuKz1LCzkhFETAK0A6nhby5Uqv2SiAIgZN38vVX8-vs2iSPmApifXtqRxOU/WcgBSpd0fVaSN9As=+AgNHADBEAiBzOU0Dw8physct63yji4XfpwOX5SioVLqZHU2IyXgpAAIgchst+VGR+1DmtMrL1bJUpkFEEKsBozmcRhcoZtFEZAOY=-----END CERTIFICATE-----diff --git a/tests/fixtures/tls/generate.sh b/tests/fixtures/tls/generate.shindex 981b376..0da6fef 100755--- a/tests/fixtures/tls/generate.sh+++ b/tests/fixtures/tls/generate.sh@@ -8,7 +8,7 @@ trap 'rm -rf "$tmp"' EXIT# Test CAopenssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:P-256 -nodes -days "$days" \- -subj '/CN=Inlark Test CA' -keyout ca.key -out ca.crt \+ -subj '/CN=inlark Test CA' -keyout ca.key -out ca.crt \-addext 'basicConstraints=critical,CA:TRUE' -addext 'keyUsage=critical,keyCertSign,cRLSign'# Server certificate for localhost and 127.0.0.1, signed by the test CAdiff --git a/tests/fixtures/tls/server.crt b/tests/fixtures/tls/server.crtindex a392424..ed3b12a 100644--- a/tests/fixtures/tls/server.crt+++ b/tests/fixtures/tls/server.crt@@ -1,12 +1,12 @@-----BEGIN CERTIFICATE------MIIBwjCCAWigAwIBAgIUTA6GizeBYvBXyuuDuOZhuxav92swCgYIKoZIzj0EAwIw-GTEXMBUGA1UEAwwOSW5sYXJrIFRlc3QgQ0EwHhcNMjYwOTI2MTExMjUyWhcNNDYw+MIIBwzCCAWigAwIBAgIUTA6GizeBYvBXyuuDuOZhuxav92swCgYIKoZIzj0EAwIw+GTEXMBUGA1UEAwwOaW5sYXJrIFRlc3QgQ0EwHhcNMjYwOTI2MTExMjUyWhcNNDYwOTIxMTExMjUyWjAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASHQThY/J9mv7vJbG3jBtXWQEE7bMPGeVCY8SNbbbBMme7jUxZSXTPcXN6wEJBWC4/XuVw/NqCva2Wmu014gyZzo4GSMIGPMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMBMGA1UdJQQMMAoGCCsGAQUFBwMBMBoGA1UdEQQTMBGCCWxvY2FsaG9zdIcEfwAAATAdBgNVHQ4EFgQU1BSkcLCfjcPhIP2BMG/e27jGibYw-HwYDVR0jBBgwFoAUPS0OjH57LgGL7ohOfbJSMRL0vp4wCgYIKoZIzj0EAwIDSAAw-RQIhAJw9kJ1puHRBR7cprsI0nZCQAaVyzorH8DhNdFlqKc57AiA8lBoSTYvXUrKk-Xubzs2ToVfv+sAIvfxDR1jkwYR2YcA==+HwYDVR0jBBgwFoAUPS0OjH57LgGL7ohOfbJSMRL0vp4wCgYIKoZIzj0EAwIDSQAw+RgIhAK6Dql+l+73QQHKomGe2hbHnfjTceykz+28qrLZdLkxiAiEAoCHh0MbvHJog+Za4V0XnM6vYE/iqF35s2hRevjiNHfpE=-----END CERTIFICATE-----diff --git a/tests/marketing-release.test.ts b/tests/marketing-release.test.tsindex 7b84fc6..404dfe7 100644--- a/tests/marketing-release.test.ts+++ b/tests/marketing-release.test.ts@@ -1,5 +1,6 @@import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'import {+ builds,buildById,downloadFor,fetchCurrentRelease,@@ -36,6 +37,7 @@ describe('website release version', () => {expect(release?.version).toBe('1.2.3')const download = downloadFor(release!, buildById('deb'))expect(download.confirmed).toBe(true)+ expect(download.file).toBe('Inlark-1.2.3-amd64.deb')expect(download.url).toContain('/v1.2.3/Inlark-1.2.3-amd64.deb')expect(download.digest).toBe('abc123')})@@ -79,6 +81,60 @@ describe('website release version', () => {})})+describe('download filename compatibility', () => {+ const version = '1.3.0'+ const releaseUrl = `https://github.com/inlark/inlark/releases/tag/v${version}`+ const asset = (name: string) => ({+ name,+ size: 12345,+ url: `https://github.com/inlark/inlark/releases/download/v${version}/${name}`,+ digest: 'abc123',+ })+ const release = (assets: ReturnType<typeof asset>[]) => ({+ version,+ url: releaseUrl,+ publishedAt: null,+ assets,+ })++ it.each(builds.filter((build) => build.file))(+ 'downloads both lowercase and legacy filenames for $id with matching install instructions',+ (build) => {+ const lowercase = build.file!(version)+ expect(lowercase.startsWith('inlark-')).toBe(true)+ for (const file of [lowercase, lowercase.replace(/^inlark-/, 'Inlark-')]) {+ const published = asset(file)+ expect(downloadFor(release([published]), build)).toMatchObject({+ confirmed: true,+ file,+ url: published.url,+ size: published.size,+ digest: published.digest,+ })+ }+ const legacy = asset(lowercase.replace(/^inlark-/, 'Inlark-'))+ const current = asset(lowercase)+ expect(downloadFor(release([legacy, current]), build).file).toBe(current.name)+ },+ )++ it('uses the release page when the requested architecture or format is missing', () => {+ const published = asset('inlark-1.3.0-x64.dmg')+ expect(downloadFor(release([published]), buildById('mac-arm64'))).toMatchObject({+ confirmed: false,+ file: 'inlark-1.3.0-arm64.dmg',+ url: releaseUrl,+ size: null,+ digest: null,+ })+ expect(downloadFor(release([published]), buildById('nix'))).toMatchObject({+ confirmed: false,+ file: null,+ url: releaseUrl,+ })+ })+})+describe('cached release endpoint', () => {beforeEach(() => {vi.resetModules()diff --git a/tests/stalwart-imap.integration.test.ts b/tests/stalwart-imap.integration.test.tsindex fdcccb9..bc29f07 100644--- a/tests/stalwart-imap.integration.test.ts+++ b/tests/stalwart-imap.integration.test.ts@@ -72,7 +72,7 @@ describe.skipIf(!ready)('disposable Stalwart IMAP/SMTP integration', () => {for (const security of ['tls', 'starttls'] as const) {const reviewing = imap(security, { tls: undefined })const certificate = await reviewing.inspectCertificate('incoming')- expect(certificate).toMatchObject({ problem: 'unknownIssuer', issuer: 'Inlark Test CA' })+ expect(certificate).toMatchObject({ problem: 'unknownIssuer', issuer: 'inlark Test CA' })expect(await reviewing.inspectCertificate('outgoing')).toMatchObject({sha256: certificate!.sha256,})@@ -114,7 +114,7 @@ describe.skipIf(!ready)('disposable Stalwart IMAP/SMTP integration', () => {const [jmapAccount] = await jmap.connect()const p = imap()const [account] = await p.connect()- const tag = 'Inlark-imap-' + randomUUID()+ const tag = 'inlark-imap-' + randomUUID()let folderId = ''try {await p.folder(account, 'create', undefined, tag)diff --git a/tests/stalwart.integration.test.ts b/tests/stalwart.integration.test.tsindex bf838f9..1c8f723 100644--- a/tests/stalwart.integration.test.ts+++ b/tests/stalwart.integration.test.ts@@ -28,7 +28,7 @@ describe.skipIf(!serverUrl || !username || !password)('disposable Stalwart integexpect(account).toBeTruthy()const identities = await provider.identities(account)expect(identities.length).toBeGreaterThan(0)- const tag = 'Inlark-test-' + randomUUID()+ const tag = 'inlark-test-' + randomUUID()let folderId = ''const created: string[] = []try {