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
link2xt
935f503bc7
chore: rebuild node constants
2024-05-16 15:01:56 +00:00
link2xt
a0f0a8e021
build: add repository URL to deltachat-rpc-server packages
2024-05-16 14:59:45 +00:00
iequidoo
6290ed8752
api: Add make_vcard() ( #5203 )
...
Add a function returning a vCard containing contacts with the given ids.
2024-05-15 21:49:59 -03:00
iequidoo
a38f0ba09e
refactor: VcardContact: Change timestamp type to i64
...
- u64 only adds unnecessary conversions.
- `Contact::last_seen` is also `i64`, so make timestamps such everywhere.
2024-05-15 21:07:24 -03:00
iequidoo
191624f334
refactor(contact-tools): VcardContact: rename display_name to authname
...
It's actually `deltachat::contact::Contact::authname` by semantics. `display_name`/`name` shouldn't
be shared, it's the name given by the user locally.
2024-05-15 21:07:24 -03:00
Hocuri
5292a49bb1
fix: parsing vCards with avatars exported by Android's "Contacts" app
2024-05-15 21:07:24 -03:00
iequidoo
22f01a2699
api: Add Viewtype::Vcard ( #5202 )
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2024-05-15 21:07:24 -03:00
iequidoo
95238b6e17
api(jsonrpc): Add parse_vcard() ( #5202 )
...
Add a function parsing a vCard file at the given path.
Co-authored-by: Hocuri <hocuri@gmx.de >
Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com >
2024-05-15 21:07:24 -03:00
link2xt
4a738ebd19
chore(release): prepare for 1.138.4
v1.138.4
2024-05-15 21:59:28 +00:00
link2xt
d02eccd303
ci: run actions/setup-node before npm publish
...
Otherwise it does not try to use NODE_AUTH_TOKEN.
2024-05-15 21:57:24 +00:00
link2xt
f1fa053f9f
chore(release): prepare for 1.138.3
v1.138.3
2024-05-15 20:42:34 +00:00
link2xt
38c1caf180
ci: give CI job permission to publish binaries to the release
...
Otherwise it fails on `gh release upload` step.
2024-05-15 20:38:59 +00:00
link2xt
97d2812644
chore(release): prepare for 1.138.2
v1.138.2
2024-05-15 18:34:06 +00:00
link2xt
2ab713d968
ci: add npm token to publish deltachat-rpc-server packages
2024-05-15 18:08:58 +00:00
link2xt
b7a25d5092
api(deltachat-rpc-client): add CONFIG_SYNCED constant
2024-05-15 17:20:06 +00:00
link2xt
8cd85fa7a4
feat: reset more settings when configuring a chatmail account
2024-05-15 06:30:17 +00:00
link2xt
7cfab9a931
test: set configuration after configure() finishes
...
This allows to overwrite settings changed
when XCHATMAIL capability is detected.
2024-05-15 06:27:57 +00:00
link2xt
30086038e6
chore(release): prepare for 1.138.1
v1.138.1
2024-05-14 22:25:13 +00:00
link2xt
eec1062619
feat: detect XCHATMAIL capability and expose it as is_chatmail config
2024-05-14 22:17:46 +00:00
link2xt
07ceabdf85
refactor: resultify token::lookup_or_new()
2024-05-14 20:32:23 +00:00
Simon Laux
c349bf8e0c
ci(deltachat-rpc-server): fix upload of npm packages to github releases ( #5564 )
2024-05-14 18:48:34 +00:00
link2xt
21eb4f6648
chore(cargo): bump brotli from 5.0.0 to 6.0.0
2024-05-14 17:27:33 +00:00
dependabot[bot]
10fed7d7de
chore(cargo): bump human-panic from 1.2.3 to 2.0.0
...
Bumps [human-panic](https://github.com/rust-cli/human-panic ) from 1.2.3 to 2.0.0.
- [Changelog](https://github.com/rust-cli/human-panic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/human-panic/compare/v1.2.3...v2.0.0 )
---
updated-dependencies:
- dependency-name: human-panic
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-14 16:29:22 +00:00
dependabot[bot]
b08a283fe5
chore(cargo): bump serde_json from 1.0.115 to 1.0.116
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.115 to 1.0.116.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.115...v1.0.116 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-14 16:12:52 +00:00
dependabot[bot]
45a2805100
chore(cargo): bump hickory-resolver from 0.24.0 to 0.24.1
...
Bumps [hickory-resolver](https://github.com/hickory-dns/hickory-dns ) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/hickory-dns/hickory-dns/releases )
- [Changelog](https://github.com/hickory-dns/hickory-dns/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hickory-dns/hickory-dns/compare/v0.24.0...v0.24.1 )
---
updated-dependencies:
- dependency-name: hickory-resolver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-14 16:11:48 +00:00
dependabot[bot]
cc8157ecf1
chore(cargo): bump libc from 0.2.153 to 0.2.154
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.153 to 0.2.154.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.153...0.2.154 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-14 16:11:30 +00:00
dependabot[bot]
0c98aca5f0
chore(cargo): bump parking_lot from 0.12.1 to 0.12.2
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.12.1 to 0.12.2.
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.1...0.12.2 )
---
updated-dependencies:
- dependency-name: parking_lot
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-14 16:11:12 +00:00
link2xt
170e4b3530
refactor(sql): make open flags immutable
2024-05-14 14:55:04 +00:00
link2xt
5ed91e9f6e
refactor: make MimeMessage.get_header() return Option<&str>
2024-05-13 17:07:58 +00:00
link2xt
2779737c56
ci: set RUSTUP_WINDOWS_PATH_ADD_BIN
...
This is a workaround for
<https://github.com/nextest-rs/nextest/issues/1493 >
2024-05-13 14:29:33 +00:00
link2xt
0d3c0a3d8f
fix: ignore parent message if message references itself
...
When there are no parent references,
Delta Chat inserts Message-ID into References.
Such references should be ignored
because otherwise fully downloaded message
may be assigned to the same chat as previously incorrectly assigned
partially downloaded message.
Fixes receive_imf::tests::test_create_group_with_big_msg
2024-05-13 13:29:06 +00:00
link2xt
8e38e7220b
fix: always prefer Chat-Group-ID over In-Reply-To and References
...
Chat-Group-ID always correctly identifies the chat
message was sent to, while In-Reply-To and References
may point to a message that has itself been incorrectly
assigned to a chat.
2024-05-13 13:29:06 +00:00
link2xt
acfde3cb7b
fix: never treat message with Chat-Group-ID as a private reply
2024-05-13 13:29:06 +00:00
link2xt
b6a461e3b7
refactor: add MimeMessage.get_chat_group_id()
2024-05-13 13:29:06 +00:00
B. Petersen
0541ecf22c
chore(release): prepare for 1.138.0
v1.138.0
2024-05-13 12:47:11 +02:00
B. Petersen
77af0a2114
update node constants
2024-05-13 12:47:11 +02:00
B. Petersen
2f679bc21a
add new securejoin strings to deltachat.h
2024-05-13 12:08:36 +02:00
iequidoo
518db9a20f
feat: Make one-to-one chats read-only the first seconds of a SecureJoin ( #5512 )
...
This protects Bob (the joiner) of sending unexpected-unencrypted messages during an otherwise nicely
running SecureJoin.
If things get stuck, however, we do not want to block communication -- the chat is just
opportunistic as usual, but that needs to be communicated:
1. If Bob's chat with Alice is `Unprotected` and a SecureJoin is started, then add info-message
"Establishing guaranteed end-to-end encryption, please wait..." and let `Chat::can_send()` return
`false`.
2. Once the info-message "Messages are guaranteed to be e2ee from now on" is added, let
`Chat::can_send()` return `true`.
3. If after SECUREJOIN_WAIT_TIMEOUT seconds `2.` did not happen, add another info-message "Could not
yet establish guaranteed end-to-end encryption but you may already send a message" and also let
`Chat::can_send()` return `true`.
Both `2.` and `3.` require the event `ChatModified` being sent out so that UI pick up the change wrt
`Chat::can_send()` (this is the same way how groups become updated wrt `can_send()` changes).
SECUREJOIN_WAIT_TIMEOUT should be 10-20 seconds so that we are reasonably sure that the app remains
active and receiving also on mobile devices. If the app is killed during this time then we may need
to do step 3 for any pending Bob-join chats (right now, Bob can only join one chat at a time).
2024-05-13 12:08:36 +02:00