Skip to content

Conversation

@link2xt
Copy link
Collaborator

@link2xt link2xt commented Oct 24, 2025

Tracking issue: #7357

Based on #7413

  • move resync_request from Context to Imap (already merged in refactor(imap): move resync request from Context to Imap #7406)
  • add transport_id column to imap table
  • add transport_id column to imap_sync table
  • set mvbox_move to 0 when the first transport is created, even if it is not chatmail
  • do not allow to create a second transport if mvbox_move or only_fetch_mvbox is enabled
  • do not allow to enable mvbox_move or only_fetch_mvbox if more than one transport is configured
  • test that current ConfiguredAddr transport cannot be deleted
  • do not allow to set ConfiguredAddr to the address that does not belong to any transport
  • run IMAP connections for all transports at once when I/O is started. For SMTP we only run selected transport, this works already
  • test that vCards contain the current primary address
  • Fix migration 73 to use direct SQL queries
  • restart I/O automatically when configured_addr is set
  • delete corresponding imap and imap_sync entries when the transport is deleted
  • get rid of is_chatmail config and return one is_chatmail (or "editable") per transport so UI knows whether the transport is editable. Chatmail is not editable.
  • clean up SMTP queue when configured_addr is changed or keep multiple SMTP connections until SMTP queue for non-primary transports is empty
  • ask for TURN server and notifications only on primary transport for now
  • do not create imap_sync entries for transport_id 0 during configuration
  • synchronize transport addition and deletion across devices. I don't exactly like the idea of sending credentials for the transport in a sync message, but the first transport is not sent like this and for additional transports you likely use chatmail, so it is new just generated credentials and sending them to self immediately is not worse than not allowing to configure a second transport.

@link2xt link2xt self-assigned this Oct 24, 2025
@link2xt link2xt force-pushed the link2xt/multitransport branch 4 times, most recently from 9ca5385 to d3a4eee Compare October 26, 2025 09:12
@link2xt link2xt force-pushed the link2xt/multitransport branch 4 times, most recently from a288b16 to d538e8f Compare October 31, 2025 18:03
@link2xt link2xt force-pushed the link2xt/multitransport branch 7 times, most recently from b866d3e to 5d66931 Compare November 3, 2025 14:33
@link2xt link2xt changed the base branch from main to link2xt/transport-module November 3, 2025 14:39
@link2xt link2xt force-pushed the link2xt/multitransport branch from 5d66931 to cbdae22 Compare November 3, 2025 14:40
@link2xt link2xt force-pushed the link2xt/transport-module branch from e2a6579 to 098c134 Compare November 3, 2025 18:14
@link2xt link2xt force-pushed the link2xt/multitransport branch from cbdae22 to 91c3957 Compare November 3, 2025 18:14
Base automatically changed from link2xt/transport-module to main November 3, 2025 18:58
@link2xt link2xt force-pushed the link2xt/multitransport branch from 91c3957 to 933903f Compare November 3, 2025 19:05
@link2xt link2xt changed the base branch from main to link2xt/query_and_then November 3, 2025 19:13
Base automatically changed from link2xt/query_and_then to main November 3, 2025 23:02
@link2xt link2xt force-pushed the link2xt/multitransport branch from 590cf06 to 22cdb13 Compare November 3, 2025 23:04
@link2xt link2xt force-pushed the link2xt/multitransport branch 2 times, most recently from 5f75474 to a2416ed Compare November 3, 2025 23:45
@link2xt link2xt changed the base branch from main to link2xt/migration-73 November 6, 2025 22:54
@link2xt link2xt force-pushed the link2xt/multitransport branch from 319460e to 7fced63 Compare November 6, 2025 23:08
@link2xt link2xt mentioned this pull request Nov 7, 2025
Base automatically changed from link2xt/migration-73 to main November 7, 2025 07:12
@link2xt link2xt force-pushed the link2xt/multitransport branch 2 times, most recently from 2bbcdcf to 7461a3f Compare November 8, 2025 03:28
@link2xt link2xt force-pushed the link2xt/multitransport branch from 7461a3f to 15b8cc9 Compare November 8, 2025 20:14
@link2xt link2xt force-pushed the link2xt/multitransport branch from 15b8cc9 to 277eb64 Compare November 8, 2025 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants