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
Sebastian Klähn
36f1fc4f9d
feat: ephemeral peer channels ( #5346 )
...
Co-authored-by: link2xt <link2xt@testrun.org >
Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com >
2024-05-17 20:13:21 +00:00
Simon Laux
517cb821fb
jsonrpc: add api migrate_account and get_blob_dir ( #5584 )
...
closes #5533
adds the functions that were still missing for migration to jsonrpc (the
ones that the cffi already had, so just should be quick to review ;)
2024-05-17 21:33:59 +02:00
Simon Laux
ef6c3f8476
fix: rpc npm: fix local desktop development ( #5583 )
...
typescript was complaining about missing `@deltachat/jsonrpc-client`
when it wasn't installed locally
2024-05-17 21:28:33 +02:00
link2xt
f84f0d5ad9
ci: check that constants are always up-to-date
2024-05-17 19:23:27 +00:00
Simon Laux
d8e98279c4
rpc npm: rename shutdown method to close and add muteStdErr option to mute the stderr output ( #5588 )
2024-05-17 21:14:38 +02:00
link2xt
424ac606d8
ci: publish @deltachat/jsonrpc-client directly to npm
2024-05-17 19:10:39 +00:00
Sebastian Klähn
2f35d9a013
use rust-analyzer nightly
2024-05-17 17:37:51 +00:00
Sebastian Klähn
e5259176c9
nix: add git-cliff to flake
2024-05-17 17:36:02 +00:00
link2xt
c370195698
chore(cargo): downgrade libc from 0.2.154 to 0.2.153
...
0.2.154 is yanked.
2024-05-17 13:52:19 +00:00
Simon Laux
0ba0bd3d77
fix(@deltachat/stdio-rpc-server): fix version check when deltachat-rpc-server is found in path ( #5579 )
2024-05-17 11:11:11 +02:00
link2xt
d23a7b8523
chore(release): prepare for 1.138.5
v1.138.5
2024-05-16 15:07:46 +00:00