Skip to content

MimeFactory refactoring#8345

Draft
link2xt wants to merge 11 commits into
mainfrom
link2xt/last_added_location_timestamp
Draft

MimeFactory refactoring#8345
link2xt wants to merge 11 commits into
mainfrom
link2xt/last_added_location_timestamp

Conversation

@link2xt

@link2xt link2xt commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

This is a refactoring PR in preparation for #8112.

The goal here is to separate rendering of messages into two steps: rendering the payload, and rendering the message for sending. After the first step the message should be serializable, so we can store unencrypted message payload in the database and later decide which transport to use for sending it.

Based on #8351

@link2xt link2xt changed the title fix: replace last_added_location_id with last_added_location_timestamp MimeFactory refactoring and fixes Jun 18, 2026
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch 4 times, most recently from 45102bc to 1956c42 Compare June 18, 2026 18:00
@link2xt link2xt marked this pull request as ready for review June 19, 2026 01:33
@link2xt link2xt marked this pull request as draft June 19, 2026 01:33
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch 2 times, most recently from ab2c000 to 5f3c57c Compare June 20, 2026 00:10
Stored location ID was not actually used
and locations_last_sent timestamp was updated
with the current time, possibly skipping
locations.
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch from 5f3c57c to f9c33de Compare June 20, 2026 01:02
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch from f9c33de to e314fc0 Compare June 20, 2026 04:25
@link2xt link2xt changed the base branch from main to link2xt/location-streaming-fixes June 20, 2026 04:26
@link2xt link2xt force-pushed the link2xt/location-streaming-fixes branch from 3d4610c to b1b0e3f Compare June 20, 2026 04:29
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch from e314fc0 to ce43887 Compare June 20, 2026 04:56
I renamed SkipAutocrypt into DeprecatedSkipAutocrypt
instead of removing to make sure the letter is not reused.
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch from ce43887 to 6abd90c Compare June 20, 2026 19:48
@link2xt link2xt changed the title MimeFactory refactoring and fixes MimeFactory refactoring Jun 20, 2026
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch from 6abd90c to e350dd6 Compare June 20, 2026 20:01
@link2xt link2xt changed the base branch from link2xt/location-streaming-fixes to main June 20, 2026 20:02
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch 2 times, most recently from fac27ac to a18ab11 Compare June 20, 2026 20:35
link2xt added 2 commits June 20, 2026 20:37
…tiality

Deciding whether to include the display name in the message
is not a matter of header protection and should be decided
when constructing the From header.
group_headers_by_confidentiality() can create
unprotected versions of all headers in any case.
If the message is not encrypted,
protected original headers will be sent
and unprotected headers will be thrown away.
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch from a18ab11 to 2e20218 Compare June 20, 2026 20:38
@link2xt link2xt force-pushed the link2xt/last_added_location_timestamp branch from 2e20218 to 0828c1b Compare June 20, 2026 20:48
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.

1 participant