link2xt
261926222b
Use anyhow::Result in stock_str.rs
2022-10-02 20:49:45 +00:00
link2xt
35cfefd934
Share stock strings across accounts
...
All contexts created by the same account manager
share stock string translations. Setting translation on
a single context automatically sets translations for all other
accounts, so it is enough to set translations on the active account.
2022-10-02 19:12:04 +00:00
Simon Laux
c661619263
prepare 1.96.0 ( #3619 )
...
after commit, on master make sure to:
git tag -a 1.96.0
git push origin 1.96.0
git tag -a py-1.96.0
git push origin py-1.96.0
py-1.96.0
1.96.0
2022-10-01 22:16:24 +02:00
Simon Laux
b2f7a7bb2e
jsonrpc js client: ci upload and new name ( #3618 )
...
* jsonrpc js client: ci upload and new name
* Update jsonrpc-client-npm-package.yml
* Update jsonrpc-client-npm-package.yml
* Update jsonrpc-client-npm-package.yml
* change details message
* make sure to generate dist directory
2022-10-01 20:43:45 +02:00
bjoern
1965866813
prepare 1.95 ( #3617 )
...
* update changelog for 1.95.0
* bump version to 1.95.0
py-1.95.0
1.95.0
2022-09-30 12:43:44 +02:00
Simon Laux
110f56777d
implement dclogin scheme ( #3541 )
...
* start implementing dclogin scheme
* fix formatting
* add test for usename+extension@host cases
* add test with all advanced options
* add changelog
* jsonrpc api and regenerate node constants
* Update src/qr/dclogin_scheme.rs
Co-authored-by: Hocuri <hocuri@gmx.de >
* apply Hocuris comments from code review
* fix clippy
* Use .eq_ignore_ascii_case()
* rename internal function apply_from_login_qr
to configure_from_login_qr
* fix error message
* cargo fmt
* remove test todo comment
Co-authored-by: Hocuri <hocuri@gmx.de >
2022-09-29 18:32:17 +02:00
Simon Laux
37c6001b6c
jsonrpc: add chat_get_neighboring_media function ( #3610 )
...
* jsonrpc: add `chat_get_neighboring_media` function
* add number to changelog
2022-09-27 12:42:32 +02:00
Simon Laux
9a9c91e591
add method for desktop to get notification relevant information for a message ( #3614 )
...
* add method for desktop to get notification relevant information for a message
* add pr number to changelog
* rename MessageNotificationData to MessageNotificationInfo
2022-09-25 21:29:46 +02:00
link2xt
17276179e7
python: fix test_getinfo after bcc_self default change
2022-09-25 10:29:48 +00:00
link2xt
335d780f3e
Fix Python test for bcc_self
2022-09-25 10:09:26 +00:00
link2xt
450d113993
Fix Rust 1.64 clippy warnings and tests
2022-09-25 03:17:00 +00:00
bjoern
cd6d181bbc
enable BccSelf by default ( #3612 )
...
* enable `BccSelf` by default
enabling `BccSelf` improves user experience as
it is easier to set up another device
and ppl will also see "all" messages in other user agents directly.
for uncounted user problems, after diving into the issue,
the resulting device was "turn on BccSelf".
disabled `BccSelf` was probably the the number one single reason
of user problems.
main drawback of the change are potentially double notifications
when using a shared account and having another mail app on the same device.
however, we meanwhile do not recommend shared accounts at all,
the issue is also fixable by the other mail apps (as done by K-9)
and could be even regarded as a feature (you can decide which app to use for ansering).
but at the end the drawback is probably much smaller than the issues reported above.
* adapt tests to `BccSelf` enabled
* update CHANGELOG
2022-09-24 21:54:06 +02:00
Simon Laux
c92c6a24a0
jsonrpc: add mailingListAddress property to FullChat ( #3607 )
...
* jsonrpc: add `mailingListAddress` property to `FullChat`
* add pr number to changelog
2022-09-19 22:32:34 +02:00
link2xt
ffe7216194
Emit per-message events for expired messages
...
Instead of emitting single MsgsChanged event
with zero chat and msg IDs, emit one event per message.
Also emit WebxdcInstanceDeleted event if expired message
contains a webxdc.
2022-09-17 21:23:47 +00:00
link2xt
474eb7cbc8
Fix changelog PR reference
2022-09-17 17:51:33 +00:00
link2xt
252b528f40
Update "How messages are deleted" documentation
...
"IMAP folder and UID information" is no longer stored
in the `msgs` table since creation of the `imap` table.
As a result `msgs` table entries do not contain UID information in the
first place.
This commit updates documentation to reflect this change and also
points to `prune_tombstones()` procedure which actually deletes `msgs`
rows.
2022-09-17 17:18:53 +00:00
Simon Laux
a4357712bf
fix changelog entry
...
was inserted at wrong place
2022-09-17 16:16:35 +02:00
Simon Laux
62afd3d4c3
truncate incoming messages by lines ( #3480 )
...
* truncate incoming messages by lines,
because many linebreaks seem to cause the chat open delay on deltachat-ios
* run cargo fmt
* remove DC_DESIRED_TEXT_LINES_THRESHOLD
and use Strings instead of Cow<str>
* remove usage of clippy::indexing_slicing in truncate_by_lines (#3596 )
* adjust comments
* Fix truncate_by_lines tests
* Reword indexing/slicing error
* Remove unnecessary conditional
* Fix a typo in the comment
Co-authored-by: link2xt <link2xt@testrun.org >
2022-09-17 16:15:33 +02:00
link2xt
569628a202
Release 1.94.0
py-1.94.0
1.94.0
2022-09-16 23:02:05 +00:00
link2xt
c75bc66560
Make initiate_key_transfer() non-blocking
2022-09-16 22:03:25 +00:00
Simon Laux
56cd875fbd
update node constants, follow up to #3592 ( #3593 )
...
update node constants, this was forgotten in #3592
not a big deal as these are generated on building node,
so this is just a simple commit of these files after running `npm run build`
2022-09-12 19:39:41 +02:00
bjoern
06873ed04f
simplify return value of flush_status_updates() ( #3597 )
...
this was probably forgotten by recent refactorings in this area.
2022-09-11 23:21:00 +02:00
link2xt
5b518e588f
Remove StockMessage.action_by_contact() ( #3518 )
...
Use separate strings for "... by me" and "... by contact"
to make them easier to translate.
2022-09-11 20:38:34 +02:00
Simon Laux
d3f2db2326
jsonrpc: add more functions, mostly message related ( #3590 )
...
* add more functions, see changelog for details
* add pr number to changelog
* clarify doc comment
* clarify usage of BasicChat
and adjust properties acordingly
r10s is right it should only contain what we need of the expensive calls
* fix doc typos
* run cargo fmt
* jsonrpc: add connectivity functions
* fix typo
* fix typo
* Add get_contact_encryption_info and get_connectivity_html
Fix get_connectivity_html and get_encrinfo futures not being Send. See https://github.com/rust-lang/rust/issues/101650 for more information.
Co-authored-by: jikstra <jikstra@disroot.org >
* Update CHANGELOG
* Update typescript files
* remove todo from changelog
Co-authored-by: jikstra <jikstra@disroot.org >
2022-09-11 17:48:42 +00:00
Sebastian Klähn
e619d9690d
Webxdc delete event ( #3592 )
...
webxdc delete event
2022-09-11 13:53:55 +02:00
link2xt
40dc182295
python: move get_dc_event_name() to events
2022-09-10 21:22:38 +00:00
link2xt
3cf1aad551
node: npm run build:core:constants
2022-09-10 19:55:51 +00:00
Sebastian Klähn
7cff681234
Only apply webxdc updates for members of group ( #3568 )
...
Don't accept wexdc updates from members not in group
2022-09-09 18:42:35 +00:00
Simon Laux
54b10106bd
jsonrpc: add deleteMessages() and getMessageInfo() ( #3587 )
...
* jsonrpc: add `deleteMessages()` and `getMessageInfo()`
* add pr numbers to changelog
2022-09-07 22:22:37 +02:00
Simon Laux
484aa54ed6
jsonrpc: add webxdc_info property to Message ( #3588 )
...
* jsonrpc: add `webxdc_info` property to `Message`
* add pr number to changelog
2022-09-07 22:14:13 +02:00
Simon Laux
417bddfa16
add more functions to jsonrpc ( #3586 )
...
* jsonrpc: add functions:
- `deleteChat()`
- `getChatEncryptionInfo()`
- `getChatSecurejoinQrCodeSvg()`
- `leaveGroup()`
- `removeContactFromChat()`
- `addContactToChat()`
also fix doc a little
* Update deltachat-jsonrpc/src/api/mod.rs
Co-authored-by: bjoern <r10s@b44t.com >
Co-authored-by: bjoern <r10s@b44t.com >
2022-09-07 17:45:15 +02:00
Simon Laux
1e4e799f2e
add pr id to changelog entry
2022-09-07 11:02:38 +02:00
Simon Laux
33b18e3014
jsonrpc: add was_seen_recently property
...
to `ChatListItemFetchResult`, `FullChat` and `Contact`
2022-09-07 11:02:38 +02:00
Simon Laux
96ce8eb851
jsonrpc: add is_broadcast property
...
to `ChatListItemFetchResult`
2022-09-07 11:02:38 +02:00
Simon Laux
8de5e964e0
add pr id to changelog entry
2022-09-07 10:40:18 +02:00
Simon Laux
43150195d4
fix set_core_version.py script to also update version in deltachat-jsonrpc/typescript/package.json
2022-09-07 10:40:18 +02:00
Sebastian Klähn
065c7af9a0
Fix typos & add documentation ( #3569 )
...
* fix typo
* tips & typos
* improve doc string
* update documentation
* fmt
* fix typo
2022-09-06 11:15:49 +02:00
bjoern
949370ad63
restricted webxdc internet access ( #3516 )
...
* add request_internet_access manifest option
* test request_internet_access
* update CHANGELOG
* force warning when internet access is enabled
if internet access is enabled,
show a warning instead of the normal summary
(the internet access is currently mainly to test out integrations
as maps for video chat; the summary is dispensable in the cases currently)
* adapt json-rpc's WebxdcMessageInfo
2022-09-05 11:45:34 +02:00
link2xt
4b91a88bc9
Do not prepend subject to mailing list chat messages ( #3253 )
2022-09-05 08:12:33 +00:00
dependabot[bot]
d04a0c8f2f
cargo: bump libc from 0.2.129 to 0.2.132 ( #3580 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.129 to 0.2.132.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.129...0.2.132 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 12:43:50 +02:00
dependabot[bot]
6f6618d46f
cargo: bump futures from 0.3.21 to 0.3.24 ( #3575 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.21 to 0.3.24.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.24 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 12:43:02 +02:00
dependabot[bot]
90eb39439a
cargo: bump chrono from 0.4.21 to 0.4.22 ( #3576 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/v0.4.22/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.21...v0.4.22 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 12:01:12 +02:00
dependabot[bot]
9813265ef4
cargo: bump sha2 from 0.10.2 to 0.10.3 ( #3577 )
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.2...sha2-v0.10.3 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 11:59:46 +02:00
dependabot[bot]
8acbf9babf
cargo: bump once_cell from 1.13.0 to 1.13.1 ( #3579 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 11:58:47 +02:00
dependabot[bot]
97d7c20549
cargo: bump fast-socks5 from 0.8.0 to 0.8.1 ( #3582 )
...
Bumps [fast-socks5](https://github.com/dizda/fast-socks5 ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/dizda/fast-socks5/releases )
- [Commits](https://github.com/dizda/fast-socks5/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: fast-socks5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 11:56:36 +02:00
dependabot[bot]
4eddd7f616
cargo: bump thiserror from 1.0.32 to 1.0.33 ( #3572 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.32...1.0.33 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 11:16:09 +02:00
dependabot[bot]
217217bd2b
cargo: bump serde_json from 1.0.83 to 1.0.85 ( #3573 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.83 to 1.0.85.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.83...v1.0.85 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 11:15:42 +02:00
dependabot[bot]
37eeb55a5b
cargo: bump serde from 1.0.143 to 1.0.144 ( #3581 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 11:14:22 +02:00
dependabot[bot]
d32da8e4d5
cargo: bump anyhow from 1.0.61 to 1.0.63 ( #3578 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.61 to 1.0.63.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.61...1.0.63 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 11:13:59 +02:00
bjoern
da3052fdc2
document new bot behavior wrt accepting chats ( #3571 )
2022-09-01 18:59:32 +02:00