-
-
Notifications
You must be signed in to change notification settings - Fork 104
Comparing changes
Open a pull request
base repository: chatmail/core
base: v2.1.0
head repository: chatmail/core
compare: main
- 19 commits
- 60 files changed
- 6 contributors
Commits on Jul 12, 2025
-
feat: Log failed debug assertions in all configurations
Add `logged_debug_assert` macro logging a warning if a condition is not satisfied, before invoking `debug_assert!`, and use this macro where `Context` is accessible (i.e. don't change function signatures for now). Follow-up to 0359481.
Configuration menu - View commit details
-
Copy full SHA for 58b99f5 - Browse repository at this point
Copy the full SHA 58b99f5View commit details -
test: Tune down DELTACHAT_SAVE_TMP_DB hint (#6998)
Follow-up for #6992 Since we're printing the hint to stderr now, rather than stdout (as per link2xt's suggestion), it was too noisy. Also, it was printed once for every test account rather than once per test. Now, it integrates nicely with rust's hint to enable a backtrace: ``` stderr ─── thread 'chat::chat_tests::test_broadcasts_name_and_avatar' panicked at src/chat/chat_tests.rs:2757:5: assertion failed: `(left == right)` Diff < left / right > : <true >false note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace note: If you want to examine the database files, set environment variable DELTACHAT_SAVE_TMP_DB=1 FAIL [ 0.265s] deltachat chat::chat_tests::test_broadcast ```
Configuration menu - View commit details
-
Copy full SHA for f5e8c80 - Browse repository at this point
Copy the full SHA f5e8c80View commit details
Commits on Jul 13, 2025
-
feat: Donation request device message (#6913)
A donation request device message is added if >= 100 messages have been sent and delivered. The condition is checked every 30 days since the first message is sent. The message is added only once.
Configuration menu - View commit details
-
Copy full SHA for 2cf979d - Browse repository at this point
Copy the full SHA 2cf979dView commit details -
api: Add chat::create_group_ex(), deprecate create_group_chat() (#6927)
`chat::create_group_ex()` gains an `encryption: Option<ProtectionStatus>` parameter to support unencrypted chats.
Configuration menu - View commit details
-
Copy full SHA for d3908d6 - Browse repository at this point
Copy the full SHA d3908d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0299543 - Browse repository at this point
Copy the full SHA 0299543View commit details -
Configuration menu - View commit details
-
Copy full SHA for 752f45f - Browse repository at this point
Copy the full SHA 752f45fView commit details -
feat: advance next UID even if connection fails while fetching
Connection sometimes fails while processing FETCH responses. In this case `fetch_new_messages` exits early and does not advance next expected UID even if some messages were processed. This results in prefetching the same messages after reconnection and log messages similar to "Not moving the message ab05c85a-e191-4fd2-a951-9972bc7e167f@localhost that we have seen before.". With this change we advance next expected UID even if `fetch_new_messages` returns a network error.
Configuration menu - View commit details
-
Copy full SHA for d45ec7f - Browse repository at this point
Copy the full SHA d45ec7fView commit details
Commits on Jul 14, 2025
-
api!: In ChatListItem, replace is_group and is_(out_)broadcast with c…
…hat_type property (#7003) - removed ChatListItem.is_broadcast - mark ChatListItem.is_group as deprecated
Configuration menu - View commit details
-
Copy full SHA for 0142515 - Browse repository at this point
Copy the full SHA 0142515View commit details -
fix: always prefer the last header
Headers are normally added at the top of the message, e.g. when forwarding new `Received` headers are added at the top. When headers are protected with DKIM-Signature and oversigning is not used, forged headers may be added on top so headers from the top are generally less trustworthy. This is tested with `test_take_last_header`, but so far last header was only preferred for known headers. This change extends preference of the last header to all headers.
Configuration menu - View commit details
-
Copy full SHA for e6fd52a - Browse repository at this point
Copy the full SHA e6fd52aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0f6bdf - Browse repository at this point
Copy the full SHA a0f6bdfView commit details
Commits on Jul 16, 2025
-
fix: Ignore protected headers in outer message part (#6357)
Delta Chat always adds protected headers to the inner encrypted or signed message, so if a protected header is only present in the outer part, it should be ignored because it's probably added by the server or somebody else. The exceptions are Subject and List-ID because there are known cases when they are only present in the outer message part. Also treat any Chat-* headers as protected. This fixes e.g. a case when the server injects a "Chat-Version" IMF header tricking Delta Chat into thinking that it's a chat message. Also handle "Auto-Submitted" and "Autocrypt-Setup-Message" as protected headers on the receiver side, this was apparently forgotten.
Configuration menu - View commit details
-
Copy full SHA for 6d8dff5 - Browse repository at this point
Copy the full SHA 6d8dff5View commit details -
feat(repl): Print errors and debug logs to stderr
Follow-up to 545007a.
Configuration menu - View commit details
-
Copy full SHA for c5c947e - Browse repository at this point
Copy the full SHA c5c947eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fc6ea1 - Browse repository at this point
Copy the full SHA 8fc6ea1View commit details
Commits on Jul 17, 2025
-
fix: List e-mail contacts in repl listcontacts command
- After the revisions to support key contacts, the 'listcontacts' command in the repl only lists key-contacts. A separate flag now has to be passed to Contact::get_all() to list address contacts. This makes it difficult to run the example in README.md because we need to see the new contact so we can get its ID for the next command in the example, that creates a chat by ID. - Revised 'listcontacts' command to make a second call to Contact::get_all() with the DC_GCL_ADDRESS flag, then print the e-mail contacts after the key contacts. - Revised configuration example in top-level README.md to reflect current command output. fixes #7011
Configuration menu - View commit details
-
Copy full SHA for e03e2d9 - Browse repository at this point
Copy the full SHA e03e2d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6df1d16 - Browse repository at this point
Copy the full SHA 6df1d16View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2df295 - Browse repository at this point
Copy the full SHA a2df295View commit details
Commits on Jul 18, 2025
-
feat: add "e2ee encrypted" info message to all e2ee chats (#7008)
this PR adds a info message "messages are end-to-end-encrypted" also for chats created by eg. vcards. by the removal of lock icons, this is a good place to hint for that in addition; this is also what eg. whatsapp and others are doing the wording itself is tweaked at deltachat/deltachat-android#3817 (and there is also the rough idea to make the message a little more outstanding, by some more dedicated colors) ~~did not test in practise, if this leads to double "e2ee info messages" on secure join, tests look good, however.~~ EDIT: did lots of practise tests meanwhile :) most of the changes in this PR are about test ... ftr, in another PR, after 2.0 reeases, there could probably quite some code cleanup wrt set-protection, protection-disabled etc. --------- Co-authored-by: Hocuri <hocuri@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 2c7d51f - Browse repository at this point
Copy the full SHA 2c7d51fView commit details
Commits on Jul 19, 2025
-
fix: save peer address for LoggingStream early
Socket may lose peer address when it is disconnected from the server side. In this case debug_assert! failed for me when running the core in debug mode on desktop. To avoid the case of peer_addr not being available, we now store it when LoggingStream is created.
Configuration menu - View commit details
-
Copy full SHA for 7b41425 - Browse repository at this point
Copy the full SHA 7b41425View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3973f6 - Browse repository at this point
Copy the full SHA e3973f6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.1.0...main