-
-
Notifications
You must be signed in to change notification settings - Fork 114
feat: receive pre-messages and adapt download on demand #7431
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
Open
Simon-Laux
wants to merge
40
commits into
pre-messages
Choose a base branch
from
simon/receive-pre-messages
base: pre-messages
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,826
−452
Open
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0110d6d
fix python lint errors
Simon-Laux e7751ce
receive pre-mesages, start with changes to imap loop.
Simon-Laux 31a91d2
simplify code a bit
Simon-Laux c928c4b
refactor: move download code from `scheduler.rs` to `download.rs`, also
Simon-Laux 6985536
`MAX_FETCH_MSG_SIZE` is no longer unused
Simon-Laux 45de7cd
Parse if it is a pre-message or full-message
Simon-Laux fa063da
start with receiving logic
Simon-Laux a5d9ed2
get rid of `MsgId::get_by_rfc724_mid` because it was a duplicate of
Simon-Laux 511d4d2
docs: add hint to `MimeMessage::from_bytes` stating that it has
Simon-Laux 38e2745
receiving full message
Simon-Laux 07a8d2f
send and receive `attachment_size` and set viewtype to text in
Simon-Laux c260576
metadata as struct in pre-message in header. And fill params that we can
Simon-Laux 7f3d2f5
api: jsonrpc: add `full_message_view_type` to `Message` and
Simon-Laux ea511d4
apply clippy suggestion
Simon-Laux ce7e62e
make PreMsgMetadata.to_header_value not consume self/PreMsgMetadata
Simon-Laux f5577d9
add api to merge params
Simon-Laux ca6bf65
on download full message: merge new params into old params and remove
Simon-Laux b9a4c43
move tests to `src/tests/pre_messages.rs`
Simon-Laux f1f9868
dynamically allocate test attachment bytes
Simon-Laux 01cee7e
fix detection of pre-messages. (it looked for the ChatFullMessageId
Simon-Laux 59b55e3
fix setting dl state to avaiable on pre-messages
Simon-Laux 91e8f67
fix: save pre message with rfc724_mid of full message als disable
Simon-Laux d361eeb
add some receiving tests and update test todo for premessage metadata
Simon-Laux 5230aba
test: process full message before pre-message
Simon-Laux 99610b2
test receive normal message
Simon-Laux 15fa49b
some serialization tests for PreMsgMetadata
Simon-Laux 6042d17
remove outdated todo comment
Simon-Laux 9cff662
test that pre-message contains message text
Simon-Laux 1ae1a34
PreMsgMetadata: test_build_from_file_msg and test_build_from_file_msg
Simon-Laux b5629e9
test: test_receive_pre_message_image
Simon-Laux 156d5b8
Test receiving the full message after receiving an edit after receiving
Simon-Laux 957e967
test_reaction_on_pre_message
Simon-Laux 4bbe0c1
test_full_download_after_trashed
Simon-Laux 59ca831
test_webxdc_update_for_not_downloaded_instance
Simon-Laux 477e2ee
simplify fake webxdc generation in
Simon-Laux 5e499d8
test_markseen_pre_msg
Simon-Laux 9803b30
test_pre_msg_can_start_chat and test_full_msg_can_start_chat
Simon-Laux 0934daf
test_download_later_keeps_message_order
Simon-Laux d70bfcd
test_chatlist_event_on_full_msg_download
Simon-Laux ad429a8
fix download not working
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
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
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
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.