B. Petersen
8a7c1fe4cb
mergeable: adding #skip-changelog to pr description skips the corresponding test
2022-01-22 14:35:12 +01:00
bjoern
7f43d3bb37
let sending invalid webxdc fail ( #2993 )
...
* let sending invalid webxdc fail
invalid webxdc can still be send as Viewtype::File, however
(maybe one want to discuss errors or so ;)
* clarify the supported zip compression methods
2022-01-22 11:19:21 +01:00
bjoern
11b975ab19
use new webxdc logo ( #2994 )
...
* use webxdc logo
* optimize png
2022-01-22 11:01:05 +01:00
bjoern
315e4215d9
make update messages work if a key is missing ( #2998 )
...
* add a test for unencrypted replies to encrypted webxdc instances
* make update messages work if a key is missing
even in opportunistic chats,
replies to encrypted messages are forced to be encrypted,
if that is not possbile, message sending fails.
while this is okay to not leak previously send text messages,
the quotes as used by webxdc are more artificial,
currently only the static text "Webxdc".
* changelog ...
2022-01-22 10:56:15 +01:00
dependabot[bot]
e35e6c44cf
cargo: bump stop-token from 0.6.1 to 0.7.0
...
Bumps [stop-token](https://github.com/async-rs/stop-token ) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/async-rs/stop-token/releases )
- [Commits](https://github.com/async-rs/stop-token/commits )
---
updated-dependencies:
- dependency-name: stop-token
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-20 21:11:49 +00:00
Floris Bruynooghe
260cb78e3a
Re-write the blob filename creation loop
...
This was written in a way which attempted to avoid easily creating an
infinite loop. But really that's a python idiom and doesn't work very
well in Rust. Worse, as shown by #2972 it is really easy to still get
this wrong. Instead do this the rust way, this way the compiler can
also reason properly about the branches and what is unreachable
removing some bogus dead code.
2022-01-20 21:55:32 +01:00
link2xt
a1f04d2129
imex: use param2 for passphrase
2022-01-16 13:22:08 +00:00
bjoern
9b562eebcd
handle parent for webxdc info-messages ( #2984 )
...
* set parent for webxdc info-messages
* test parent() for info-messages
* add dc_msg_get_parent() ffi
2022-01-19 11:46:32 +01:00
Simon Laux
1d175c4557
update changelog for 1.71 ( #2968 )
...
* update changelog for 1.71
* Apply suggestions from code review
Co-authored-by: bjoern <r10s@b44t.com >
Co-authored-by: bjoern <r10s@b44t.com >
2022-01-17 18:39:24 +01:00
Simon Laux
f755070080
apply wording suggestion from @r10s
2022-01-17 18:37:53 +01:00
Simon Laux
1c6c72a0fe
try fixing the mergeable configuration
2022-01-17 18:37:53 +01:00
Simon Laux
1755f2ea3d
update readme in deltachat-ffi to try out the changelog check
2022-01-17 18:37:53 +01:00
Simon Laux
498cc6c80b
add mergable changelog test
2022-01-17 18:37:53 +01:00
bjoern
8d3227a92b
fix webxdc forwarding and drafts ( #2979 )
...
* fix forwarding webxdc instances, add a test for that
* adapt webxdc test to fail on info-messages added when in draft mode
* do not add info-messages when in draft-mode
* half the number of instance-loads per webxdc update send/receive
2022-01-17 14:23:35 +01:00
Hocuri
c6d855084e
Save "configured" flag later ( #2974 )
...
While experimenting with encrypted storage, once configuring failed between 920 and 940. But as the "configured" config had already been written after progress 910, some part of the code thought we are configured, some didn't.
2022-01-16 20:37:28 +01:00
Hocuri
827b3f8aeb
Create parent directory if creating a new file fails ( #2978 )
...
With this PR, my encrypted-storage Android PR now works, at least I
couldn't find any further bugs.
Without it, configuring fails with: `Failed to create blob
icon-saved-messages-1803424689.png in
/data/user/0/com.b44t.messenger.beta/files/accounts/0e402b37dcd14a9586aea46294c908f2/dc.db-blobs:
No such file or directory (os error 2)`.
Also see https://github.com/deltachat/deltachat-core-rust/pull/2972 .
2022-01-16 20:37:02 +01:00
link2xt
fb95573000
cargo update
2022-01-16 09:56:20 +00:00
dependabot[bot]
f026bd455f
Merge pull request #2966 from deltachat/dependabot/cargo/tagger-4.2.1
2022-01-16 09:46:41 +00:00
dependabot[bot]
f0b92a5757
Merge pull request #2976 from deltachat/dependabot/cargo/smallvec-1.8.0
2022-01-16 09:45:28 +00:00
dependabot[bot]
d7c6f1e63b
cargo: bump smallvec from 1.7.0 to 1.8.0
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: smallvec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-14 21:19:37 +00:00
Hocuri
1e9e308df3
Fix clippy errors ( #2973 )
2022-01-14 17:34:19 +01:00
missytake
c9a70f149d
Merge pull request #2967 from deltachat/timeout_config_wait_finish
...
allow timeout for internal configure tracker API
2022-01-13 15:12:37 +01:00
holger krekel
d4ff47b6ac
allow timeout for internal configure tracker API
2022-01-13 14:57:43 +01:00
dependabot[bot]
8b4b241403
cargo: bump tagger from 4.0.1 to 4.2.1
...
Bumps [tagger](https://github.com/tiby312/tagger ) from 4.0.1 to 4.2.1.
- [Release notes](https://github.com/tiby312/tagger/releases )
- [Commits](https://github.com/tiby312/tagger/commits )
---
updated-dependencies:
- dependency-name: tagger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-13 10:13:45 +00:00
B. Petersen
6dcd6947d7
update changelog
2022-01-13 11:11:50 +01:00
B. Petersen
327328412a
let render_webxdc_status_update_object() return an Option; add a test for that
2022-01-13 11:11:50 +01:00
B. Petersen
42f9ef00b9
wrap update-item-array into an update-object on the wire; this allows to add other members in the future. the updates the peers see is not changed
2022-01-13 11:11:50 +01:00
B. Petersen
8c2ea0fa26
swap paramters in sendUpdate(); the 'descr' may be split up in the future, so it makes sense to have that at the end
2022-01-13 11:11:50 +01:00
B. Petersen
14e9afaf42
rename 'User Guide' to 'Developer Reference'
2022-01-13 11:11:50 +01:00
B. Petersen
a3a101641a
use well-known icon-filenames instead of manifest
2022-01-13 11:11:50 +01:00
B. Petersen
8bd93fe495
fix typo in deltachat.h doc
2022-01-13 11:11:50 +01:00
bjoern
56df22bca7
Update deltachat-ffi/deltachat.h
...
Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu >
2022-01-13 11:11:50 +01:00
B. Petersen
5f32a6738a
avoid double ZIP-parsing in get_webxdc_info() and do not read blob for just checking existance of a file
2022-01-13 11:11:50 +01:00
B. Petersen
1c081935fb
tweak documentation, remove general explanation from api-reference, this is already done in the overview
2022-01-13 11:11:50 +01:00
B. Petersen
8fd4d00776
adapt to new set_quote() api
2022-01-13 11:11:50 +01:00
B. Petersen
7d04ea58c3
tweak ffi-doc a little
2022-01-13 11:11:50 +01:00
B. Petersen
2cc84a0f0d
document manifest.toml
2022-01-13 11:11:50 +01:00
B. Petersen
8f715532cb
read manifest.toml and add get_webxdc_info()
2022-01-13 11:11:50 +01:00
B. Petersen
5a77df7cc5
document window.webxdc.selfName()
2022-01-13 11:11:50 +01:00
bjoern
59658f2b0b
Update draft/webxdc-user-guide.md
...
Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu >
2022-01-13 11:11:50 +01:00
holger krekel
0b983906da
refinements
2022-01-13 11:11:50 +01:00
holger krekel
cd1f164d18
update the webxdc language, fix some typos
2022-01-13 11:11:50 +01:00
B. Petersen
e2a6ac6625
send status updates to self also for drafts
2022-01-13 11:11:50 +01:00
B. Petersen
8e8c10c438
rename w30 to webxdc
2022-01-13 11:11:50 +01:00
holger krekel
7ff25f282e
another update
2022-01-13 11:11:50 +01:00
holger krekel
b8dc608032
some updates/refinements
2022-01-13 11:11:50 +01:00
holger krekel
d7e699320b
shift to webxdc naming ( #2933 )
2022-01-13 11:11:50 +01:00
B. Petersen
ef333da770
draft a w30 user guide
2022-01-13 11:11:50 +01:00
B. Petersen
575a389b08
adapt to new test apis
2022-01-13 11:11:50 +01:00
B. Petersen
9bc0824be6
allow accessing zip-archives with absolute paths
2022-01-13 11:11:50 +01:00