Repository navigation
Conversation
2fe0566 to
8e211eb
Compare
8e211eb to
b8e1c9c
Compare
GOA stores a non-standard port inside the host string itself
("mail.example.com:1143", "[2001:db8::1]:1993"); until now the port was
discarded and imports always assumed 993/143 and 465/587, so an account
on a custom port could never connect. Split host and port apart at
discovery, IPv6 brackets included, and keep the conventional defaults
only when GOA names no port.
Adapted from PR #7.
Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Reacting to a GOA change used to mean a blocking D-Bus round trip on the GTK main thread, once per signal — and one edit in GNOME Settings emits a burst of them. The watcher now coalesces signals for 300 ms, takes a single GetManagedObjects snapshot on its own thread, and hands the result to the app inside the GoaChanged message, so the main thread never touches the bus. It also subscribes to PropertiesChanged on the account objects, so property edits (like the Mail service toggle) are seen at all, not just removals. Adapted from PR #7. Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Switching an account's Mail service off in GNOME Settings used to leave Vireo trying to sync it anyway (two comments even claimed the account got dropped — it never was). Now the account is paused: workers stop, it leaves the sidebar, and every local setting — label, colour, emoji, signature, sidebar state — survives untouched. Switching Mail back on restores the account, including whether it was enabled in Vireo before the pause. The accounts window shows why the toggle is locked while GNOME Settings owns it. Adapted from PR #7. Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Accounts window's connection test always authenticated SMTP with PLAIN/LOGIN and the stored password, so testing an OAuth account (Gmail, Microsoft) reported failure even though sending was fine. The test now uses XOAUTH2 with a fresh token, exactly like the send path. The server address is passed as a (host, port) pair while here, so a bare IPv6 server address no longer mis-parses. Adapted from PR #7. Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
TCP connect, the TLS handshake and authentication ran with no overall deadline, so a server that accepted the socket and then stalled left the worker hanging forever with nothing surfaced to the user. One attempt — covering TCP, TLS and login together — now fails after 30 seconds with an error that names the host. Adapted from PR #7. Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
His GNOME Online Accounts work from PR #7 — custom server ports, pausing with the Mail toggle, debounced live change handling, the OAuth-aware SMTP test and the IMAP connect timeout — now ships in the app. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Anton — thank you for this. It's a substantial, carefully tested piece of work, and a lot of it now ships in Vireo: it's in v1.14.3, released today. Vireo lands outside contributions as adapted commits on What landed, credited to you via
What didn't land, and why:
Thanks again — closing this since everything mergeable from it is now on |
GOA stores a non-standard port inside the host string itself
("mail.example.com:1143", "[2001:db8::1]:1993"); until now the port was
discarded and imports always assumed 993/143 and 465/587, so an account
on a custom port could never connect. Split host and port apart at
discovery, IPv6 brackets included, and keep the conventional defaults
only when GOA names no port.
Adapted from PR hyprlab#7.
Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com>
Reacting to a GOA change used to mean a blocking D-Bus round trip on the GTK main thread, once per signal — and one edit in GNOME Settings emits a burst of them. The watcher now coalesces signals for 300 ms, takes a single GetManagedObjects snapshot on its own thread, and hands the result to the app inside the GoaChanged message, so the main thread never touches the bus. It also subscribes to PropertiesChanged on the account objects, so property edits (like the Mail service toggle) are seen at all, not just removals. Adapted from PR hyprlab#7. Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com>
Switching an account's Mail service off in GNOME Settings used to leave Vireo trying to sync it anyway (two comments even claimed the account got dropped — it never was). Now the account is paused: workers stop, it leaves the sidebar, and every local setting — label, colour, emoji, signature, sidebar state — survives untouched. Switching Mail back on restores the account, including whether it was enabled in Vireo before the pause. The accounts window shows why the toggle is locked while GNOME Settings owns it. Adapted from PR hyprlab#7. Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com>
The Accounts window's connection test always authenticated SMTP with PLAIN/LOGIN and the stored password, so testing an OAuth account (Gmail, Microsoft) reported failure even though sending was fine. The test now uses XOAUTH2 with a fresh token, exactly like the send path. The server address is passed as a (host, port) pair while here, so a bare IPv6 server address no longer mis-parses. Adapted from PR hyprlab#7. Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com>
TCP connect, the TLS handshake and authentication ran with no overall deadline, so a server that accepted the socket and then stalled left the worker hanging forever with nothing surfaced to the user. One attempt — covering TCP, TLS and login together — now fails after 30 seconds with an error that names the host. Adapted from PR hyprlab#7. Co-Authored-By: Anton Palgunov <2198153+Toxblh@users.noreply.github.com>
His GNOME Online Accounts work from PR hyprlab#7 — custom server ports, pausing with the Mail toggle, debounced live change handling, the OAuth-aware SMTP test and the IMAP connect timeout — now ships in the app.
Summary
Testing
cargo check --lockedcargo test --locked— 53 passedcargo clippy --all-targets --locked— passes; pre-existing style warnings remainair.basealt.ru:143negotiated TLS 1.3 with certificate verification OKaccounts.tomlcontains no password/token fields