link2xt
97828234dd
chore(release): prepare for 1.139.5
v1.139.5
2024-05-23 13:15:08 +00:00
iequidoo
20e64c71f8
test: "SecureJoin wait" state and info messages
2024-05-23 14:36:13 +02:00
iequidoo
2214d140c3
fix: Don't recode images in Viewtype::File messages ( #5617 )
2024-05-23 14:35:38 +02:00
link2xt
907d3efcd0
api(deltachat-rpc-client): add Message.send_webxdc_realtime_data()
2024-05-21 22:15:49 +00:00
link2xt
9573e02c32
api(deltachat-rpc-client): add Message.send_webxdc_realtime_advertisement()
2024-05-21 22:15:49 +00:00
Sebastian Klähn
8cb699290a
fix: connect to peers that advertise to you
2024-05-21 22:12:23 +00:00
Friedel Ziegelmayer
31d7b4f9ce
feat(deltachat-repl): add start-realtime and send-realtime commands
2024-05-21 22:11:22 +00:00
link2xt
2e5ad3f3a0
test(peer_channels): add test_parallel_connect()
2024-05-21 22:10:15 +00:00
holger krekel
5d3d5d23a1
api(deltachat-rpc-client): add EventType.WEBXDC_REALTIME_DATA constant
2024-05-21 22:10:15 +00:00
link2xt
469ff799ad
api: add event channel overflow event
2024-05-21 22:05:48 +00:00
link2xt
18f2a09b35
api(deltachat-ffi): make WebXdcRealtimeData data usable in CFFI
...
Previously only msg_id was returned to CFFI
without any way to get to the actual received data.
2024-05-21 22:05:34 +00:00
link2xt
81f6aec1a0
chore(release): prepare for 1.139.4
v1.139.4
2024-05-21 18:09:55 +00:00
iequidoo
ff60605a7f
test: import_vcard() updates only the contact's gossip key
2024-05-21 17:40:07 +00:00
iequidoo
7010e80336
fix: make_vcard: Add authname and key for ContactId::SELF
2024-05-21 17:40:07 +00:00
iequidoo
5f790c1dbc
fix(contact-tools): parse_vcard: Support \r\n newlines
2024-05-21 17:40:07 +00:00
iequidoo
8c5d8477fb
feat: Add import_vcard() ( #5202 )
...
Add a function importing contacts from the given vCard.
2024-05-21 17:40:07 +00:00
iequidoo
10fe6929b0
feat: Scale up contact origins to OutgoingTo when sending a message
2024-05-21 17:40:07 +00:00
link2xt
6fc0000c8a
fix: do not log warning if iroh relay metadata is NIL
2024-05-21 15:24:08 +00:00
Sebastian Klähn
e84a5589df
nix: add nextest ( #5610 )
...
Has some unrelated change that I add the whole .vscode folder to
.gitignore which I also need.
2024-05-21 08:18:05 +00:00
link2xt
e7d9ff12ec
chore(release): prepare for 1.139.3
v1.139.3
2024-05-20 18:19:27 +00:00
link2xt
607f5959ab
fix: always convert absolute paths to relative in accounts.toml
...
Even if the path does not start with
the directory containing the config,
we want to keep only the last component.
2024-05-20 17:49:21 +00:00
Simon Laux
11546a1ce9
api!(npm rpc server): change api: don't search in path unless options.takeVersionFromPATH is set to true
...
-remove `DELTA_CHAT_SKIP_PATH` environment variable
- remove version check / search for dc rpc server in $PATH
- remove `options.skipSearchInPath`
- add `options.takeVersionFromPATH`
2024-05-20 18:55:05 +02:00
Simon Laux
ee671836ca
fix: npm rpc: set default options for startDeltaChat
...
this fixes an "undefined" error
2024-05-20 18:55:05 +02:00
Simon Laux
dd77d32446
fix: log/print exit error of deltachat-rpc-server ( #5601 )
...
see also #5599 (this logs that error atleast, but does not fix it yet)
---------
Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com >
2024-05-20 10:47:36 +00:00
link2xt
b32fb05ab8
fix: ignore event channel overflows
...
async-broadcast returns Overflowed error once
if channel overflow happened.
Public APIs such as get_next_event JSON-RPC method
are only expecting an error if the channel is closed,
so we should not propagate overflow error outside.
In particular, Delta Chat Desktop
stop receiving events completely if an error
is returned once.
If overflow happens, we should ignore it
and try again until we get an event or an error because
the channel is closed (in case of recv())
or empty (in case of try_recv()).
2024-05-20 10:44:35 +00:00
link2xt
918d87dcb6
refactor: do not try to lookup group in create_or_lookup_group()
2024-05-20 05:20:38 +00:00
link2xt
98ae05ee59
refactor: stop trying to extract chat ID from Message-IDs
2024-05-20 05:20:38 +00:00
link2xt
cff5c064a6
refactor: use let..else in create_or_lookup_group()
2024-05-20 05:20:38 +00:00
link2xt
e9cef4b0ba
refactor(receive_imf): only call create_or_lookup_group() with allow_creation=true
2024-05-20 05:20:38 +00:00
link2xt
7f2c8ff53d
refactor(receive_imf): remove unnecessary check for is_mdn
...
If message is an MDN, it is already assigned to the trash chat
by now, so it is enough to check if the message
is not assigned to chat yet.
2024-05-20 05:20:38 +00:00
link2xt
46d6b81058
refactor(receive_imf): do not check for ContactId::UNDEFINED
...
from_id should not be undefined,
we either should create a contact for it by then
or reject the message.
2024-05-20 05:20:38 +00:00
link2xt
6d59fb49aa
feat: replace env_logger with tracing_subscriber
...
This allows to get iroh logs with
RUST_LOG=iroh_net=trace
2024-05-19 23:22:37 +00:00
Simon Laux
97602f3fd7
fix: sql syntax error in db migration 27
2024-05-19 20:15:22 +02:00
Simon Laux
f17987743e
fix: db migration version 59, it contained an sql syntax error
2024-05-19 20:15:22 +02:00
link2xt
5767cce178
fix(mimeparser): take the last header of multiple ones with the same name
...
If multiple headers with the same name are present,
we must take the last one.
This is the one that is DKIM-signed if
this header is DKIM-signed at all.
Ideally servers should prevent adding
more From, To and Cc headers by oversigning
them, but unfortunately it is not common
and OpenDKIM in its default configuration
does not oversign any headers.
2024-05-18 22:24:39 +00:00
link2xt
20a4bb1a88
api(deltachat-rpc-client): add Account.wait_for_incoming_msg()
2024-05-18 22:24:17 +00:00
link2xt
578f29f215
chore(release): prepare for 1.139.2
v1.139.2
2024-05-18 20:58:03 +00:00
link2xt
6c9643e39e
build: add repository URL to @deltachat/jsonrpc-client
2024-05-18 20:56:11 +00:00
link2xt
502ae7fd9f
chore(release): prepare for 1.139.1
v1.139.1
2024-05-18 20:40:34 +00:00
link2xt
8cb527342a
ci: set --access public when publishing to npm
...
Otherwise it fails to upload new packages with provenance.
2024-05-18 20:39:41 +00:00
link2xt
964c943dd9
chore(release): prepare for 1.139.0
v1.139.0
2024-05-18 19:42:54 +00:00
Simon Laux
a971ad1f85
npm rpc server: fix example ( #5580 )
2024-05-18 19:58:44 +02:00
link2xt
e66b9de922
fix: do not mark the message as seen if it has location.kml
2024-05-18 16:09:55 +00:00
adbenitez
5db202169b
fix: save override sender displayname for outgoing messages
...
Co-authored-by: link2xt <link2xt@testrun.org >
2024-05-18 16:08:53 +00:00
link2xt
b292b191ff
test(deltachat-rpc-client): test sending vCard
2024-05-18 14:00:57 +00:00
link2xt
450ff411ec
api(deltachat-rpc-client): add Chat.send_contact()
2024-05-18 14:00:57 +00:00
link2xt
8de92e54eb
api(deltachat-rpc-client): add Contact.make_vcard()
2024-05-18 14:00:57 +00:00
link2xt
d0844c3e62
api(deltachat-rpc-client): add ViewType.VCARD constant
2024-05-18 14:00:57 +00:00
link2xt
37d61e41ca
api(deltachat-jsonrpc): return vcard contact directly in MessageObject
2024-05-17 23:37:29 +00:00
Simon Laux
0c7dad961d
npm rpc: fix convert_platform.py: 32bit i32 -> ia32 ( #5589 )
2024-05-17 23:35:50 +02:00