B. Petersen
411d0a7cd4
dc_reveive_backup() ffi just takes the qr-code again instead of several parameters
2022-11-23 16:27:12 +01:00
bjoern
0ed3348bdf
add dc_receive_backup ffi ( #3504 )
...
* add dc_receive_backup ffi
* fix compile issues
* make clippy happy
Co-authored-by: dignifiedquire <me@dignifiedquire.com >
2022-11-23 16:27:12 +01:00
B. Petersen
e61ee76e68
document ffi wrt sending and receiving backups
2022-11-23 16:27:12 +01:00
B. Petersen
17f01e5e71
fix: make passphrase work for repl's send-backup
2022-11-23 16:27:12 +01:00
B. Petersen
94c16ef176
repl: documentation and tab-completion for the new send-backup commands
2022-11-23 16:27:12 +01:00
B. Petersen
4ff746ef81
fix "the trait Add<&&str> is not implemented for std::string::String"
2022-11-23 16:27:12 +01:00
dignifiedquire
0aa4e21f7a
proper shutdown and progress reports
2022-11-23 16:27:12 +01:00
dignifiedquire
995bf6fa9e
update deltachat.h
2022-11-23 16:27:12 +01:00
dignifiedquire
63872fc271
generate qr codes
2022-11-23 16:27:11 +01:00
dignifiedquire
679242d5c4
remove unused event
2022-11-23 16:26:51 +01:00
dignifiedquire
364e06d8ae
update deps
2022-11-23 16:26:49 +01:00
dignifiedquire
14fc7b7d10
implement receive-backup
2022-11-23 16:26:16 +01:00
dignifiedquire
9f7e962832
integrate backup sending via iroh into the repl
2022-11-23 16:26:14 +01:00
dignifiedquire
0e06bcb182
pull in iroh-share
2022-11-23 16:25:39 +01:00
Sebastian Klähn
2e7470115c
Fix link in webxdc-dev-reference.md ( #3770 )
...
Update webxdc-dev-reference.md
2022-11-23 14:46:25 +01:00
Hocuri
06b376d242
Bugfix: Don't let malformed From: headers block the receiving pipeline ( #3769 )
...
That's a bug which @Simon-Laux and probably also @hpk42 had, where one malformed incoming (Spam-) mail blocked the receiving of all emails coming after it.
The problem was that from_field_to_contact_id() returned ContactId::UNDEFINED, and then lookup_by_contact() returned Err.
2022-11-22 21:10:26 +01:00
Hocuri
4b17813b9f
Improve handling of multiple / no From addresses ( #3667 )
...
* Treat multiple From addresses as if there was no From: addr
* changelog
* Don't send invalid emails through the whole receive_imf pipeline
Instead, directly create a trash entry for them.
* Don't create trash entries for randomly generated Message-Id's
* clippy
* fix typo
Co-authored-by: link2xt <link2xt@testrun.org >
2022-11-21 21:38:56 +01:00
Hocuri
960a7f82ef
Small test fix ( #3764 )
...
Doesn't make a difference at this point, since the test is ignored
anyway.
2022-11-19 12:03:05 +01:00
iequidoo
25be8ccd05
fetch_new_messages(): fetch messages sequentially ( #3688 )
...
If we fetch messages out of order, then f.e. reactions don't work because if we process a reaction not yet having the corresponding message processed, the reaction is thrown away.
2022-11-17 15:51:59 -03:00
link2xt
da6c68629d
jsonrpc: do not return a result from deleteContact()
...
It was always true anyway.
2022-11-17 18:36:38 +00:00
link2xt
b63baf939e
Ignore two typescript errors
...
`as any` is not enough anymore.
2022-11-16 14:06:17 +00:00
link2xt
90d8e0cedc
Fix detection of Trash, Junk, All etc. folders
...
imap_proto has been updated, so attributes like `\All`,
`\Junk` from RFC 3501 and RFC 6154 are no longer considered
extensions.
2022-11-15 23:40:07 +00:00
link2xt
1c2d4c518e
Fix typos
2022-11-15 23:23:44 +00:00
bjoern
0c030e811f
prepare 1.101.0 ( #3757 )
...
* update changelog for core101
* bump version to 1.101.0
py-1.101.0
1.101.0
2022-11-15 16:08:29 +01:00
link2xt
428ef11157
Add IMAP UIDs to message info ( #3755 )
2022-11-15 15:19:32 +01:00
link2xt
ee34b64f5d
Pop recently seen loop event out of the queue when it's in the past
2022-11-15 11:29:13 +00:00
bjoern
c1f9d8f7a1
allow deleting referenced contacts in UI ( #3751 )
...
* allow deleting referenced contacts in UI
we are quite often getting requests of users
who want to get rid of some contact in the "new chat" list.
there is already a "delete" option,
but it does not work for referenced contacts -
however, it is not obvious for users that a contact is in use,
esp. of some mailing list or larger chat, old contacts, whatever.
this pr revives an old idea [^1] of "soft deleting" referenced contacts -
this way, the user can remove the annoying entry
without the need to understand complicated things
and finally saying that deletion is impossible :)
once the contact is reused, it will reappear,
however, this is already explained in the confirmation dialog of the UIs.
technically, this pr was simpler as expected as we already have
a Origin::Hidden, that is just reused here.
[^1]: https://github.com/deltachat/deltachat-core/pull/542
* update rust doccomment
* update changelog
* avoid races on contact deletion
chats may be created between checking for "no chats" and contact deletion.
this is prevented by putting the statement into an EXCLUSIVE transaction.
* fix failing python test
2022-11-15 11:02:47 +01:00
link2xt
996be5d247
Improve IMAP logging
...
https://github.com/deltachat/deltachat-core-rust/pull/3749
2022-11-14 11:41:52 +00:00
link2xt
7d45419724
Convert anyhow errors to select_folder errors with alternate fmt
2022-11-14 11:40:40 +00:00
link2xt
c0ae5c0fb7
Use anyhow for close_folder() errors
2022-11-13 23:49:34 +00:00
link2xt
09042d12d4
Changelog
2022-11-13 20:35:05 +00:00
link2xt
7db147da14
Log fake IDLE interruptions
2022-11-13 20:35:05 +00:00
link2xt
1324b5da13
Rename folder argument into folder_config
2022-11-13 20:35:05 +00:00
link2xt
4ee14e6e77
Add more contexts to IMAP errors
2022-11-13 20:35:05 +00:00
link2xt
e1d50757b3
Better format for scan_folders errors
2022-11-13 20:35:05 +00:00
link2xt
9a447e8554
Log IDLE errors with all contexts
2022-11-13 20:35:05 +00:00
link2xt
516a5e9c5f
Add contexts to both the timeout and actual IDLE error
...
Note that `IMAP IDLE protocol timed out` was previously
added to the wrong error: not the timeout error (first `?`)
but actual error happened during IDLE, such as a network error.
2022-11-13 20:35:05 +00:00
link2xt
4744f5eecf
Add folder name to IMAP IDLE interrupt logs
2022-11-13 22:11:47 +03:00
link2xt
33839b5667
imap: log disconnection attempts
2022-11-13 17:59:28 +00:00
link2xt
43f2d64a6f
imap: flatten fetch_idle()
2022-11-13 17:59:28 +00:00
link2xt
13f30c3167
Add configured_inbox_folder to account info
...
This goes into the log on Android.
2022-11-13 16:21:44 +00:00
Hocuri
749f00766f
Go back to standard async_zip, fix build failures ( #3747 )
...
If building DC failed with some long error message about "spurious
network error" and "async_io_utilities", then this PR fixes that.
Majored deleted the rs-async-io-utilities repo because he [doesn't need it anymore](618f700811 ), so that https://github.com/dignifiedquire/rs-async-zip doesn't have its dependency anymore. The latter was a hotfix-fork of https://github.com/Majored/rs-async-zip because https://github.com/Majored/rs-async-zip/pull/27 , fixing https://github.com/deltachat/deltachat-core-rust/issues/3476 , wasn't merged.
But apparently the problem of
https://github.com/deltachat/deltachat-core-rust/issues/3476 is fixed in
`async_zip = "0.0.9"`, at least all the webxdcs from https://webxdc.org/
worked fine for me. So, let's just go back to the official async_zip.
2022-11-12 22:01:04 +01:00
bjoern
d2cc343649
prepare 1.100.0 💯 ( #3745 )
...
* update changelog for core100
* bump version to 1.100.0
py-1.100.0
1.100.0
2022-11-09 16:19:17 +00:00
Simon Laux
f20c3e08d4
jsonrpc: show sticker image in quote ( #3744 )
...
* jsonrpc: show sticker image in quote
* add pr number to changelog
2022-11-09 16:43:57 +01:00
Simon Laux
ae4c7b635d
jsonrpc: add miscSaveSticker method ( #3743 )
...
* jsonrpc: add `miscSaveSticker` method
* apply suggestions from link2xt
2022-11-09 16:43:34 +01:00
link2xt
b9f1f9c41e
jsonrpc: add invalid key to {get,set}_config error
2022-11-08 21:55:25 +00:00
Simon Laux
b46d40aa07
use dc fork of tiny emitter ( #3741 )
...
* use dc fork of tiny emitter
* add pr number to changelog
2022-11-08 21:22:58 +01:00
Simon Laux
11a6991b5c
jsonrpc: ts-client use object instead of array for contextEmitters ( #3740 )
...
reason:
the array solution has many empty elements in between accounts in practice,
which is annoying when debugging desktop
2022-11-08 21:22:51 +01:00
link2xt
fcf0cb5d69
MSRV is now 1.57
2022-11-07 18:24:54 +00:00
link2xt
a271baa1ae
Update rpgp to 0.9 and bump MSRV to 1.57.0
2022-11-07 18:23:26 +00:00