-
-
Notifications
You must be signed in to change notification settings - Fork 114
feat: send pre-message on messages with large attachments #7410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 32 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
ba573bb
fix python lint errors
Simon-Laux b69082d
fix lint of python test
Simon-Laux 17df902
restore test `test_webxdc_update_for_not_downloaded_instance` and rename
Simon-Laux 6f9823f
remove `test_webxdc_update_for_not_yet_received_instance`
Simon-Laux 6042fd0
feat: send pre-message on messages with large attachments
Simon-Laux 1954506
allow unused for `MAX_FETCH_MSG_SIZE`
Simon-Laux f49ecfa
remove todo comment
Simon-Laux bf5d081
add tests for sending pre-messages
Simon-Laux 709a965
delimit `Chat-Full-Message-ID` with `<>` like other message ids.
Simon-Laux 9ffe300
fix test
Simon-Laux a3846ee
test that Autocrypt-gossip and selfavatar should never go into
Simon-Laux 74a1fc9
fix bug that broke
Simon-Laux 2d32a58
cargo fmt after rebase
Simon-Laux 305498d
fix typo
Simon-Laux 07c2d8e
Apply suggestions from code review
Simon-Laux 7668b7f
remove mention of hashes from doc comment
Simon-Laux 23dd202
rename`PRE_MESSAGE_SIZE_WARNING_THRESHOLD` to
Simon-Laux d37c565
explain current `PRE_MSG_ATTACHMENT_SIZE_THRESHOLD` value
Simon-Laux 273f497
rename `PRE_MESSAGE_SIZE_WARNING_THRESHOLD` to
Simon-Laux ef873d0
use `TestContextManager`
Simon-Laux c2fc525
convert some comments in assert errors
Simon-Laux 49fc3b8
rm raw string literal in `get_smtp_rows_for_msg`
Simon-Laux 67baf10
move logic "!is_full_msg" check to `should_do_gossip`
Simon-Laux 8e1468a
test that case insensitive header parsing works for
Simon-Laux 1626fd4
don't use HeaderDef for sending pre message headers in mimefactory
Simon-Laux cdf839a
encrypt "Chat-Full-Message-ID" header
Simon-Laux 1c9df9d
remove accidental semicolon
Simon-Laux d9cf44e
format sql statement
Simon-Laux dcfab1b
async closure to extra method for readability
Simon-Laux 6a34464
add Tests that pre message has autocrypt gossip headers and self avatar
Simon-Laux 9f42ade
don't send pre message for unencrypted messages and add test for it
Simon-Laux f45faae
fix encryption check
Simon-Laux 0a5c1e2
apply suggestions from code review:
Simon-Laux 027f3d9
reference to test contexts
Simon-Laux 3a36854
`assert!(!` to `assert_eq!(,false` for "easier" code reading
Simon-Laux 5ec079c
test: simplify chat creation by using `.create_chat_with_contact`
Simon-Laux d5f8819
Apply suggestions from code review
Simon-Laux 3cc7a56
remove now unessesary test
Simon-Laux 2ef8b6f
sql style
Simon-Laux 413a6ca
rm unused imports
Simon-Laux 9d3a506
tests: `.headers` instead of `.get_headers()`
Simon-Laux 1dcd328
get_smtp_rows_for_msg now returns SentMessage instead of tuple
Simon-Laux 8737c29
use `bob.parse_msg(msg)` instead of using mimeparser directly
Simon-Laux 381b709
Update src/mimefactory.rs
Simon-Laux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.