link2xt
f80c78536f
fix unused result error
2022-10-15 13:11:53 +00:00
Hocuri
7877187894
Join all migration messages into one ( #3665 )
2022-10-15 07:06:40 +00:00
Simon Laux
a384a57979
cffi:jsonrpc: send events ( #3662 )
...
* jsonrpc in cffi also sends events now
* add pr id to changelog
* jsonrpc: new format for events and better typescript autocompletion (#3663 )
* jsonrpc: new format for events and better typescript autocompletion
* adjust doc comments
2022-10-14 22:46:43 +00:00
Simon Laux
86e1476dee
jsonrpc: add viewType to quoted message(MessageQuote type) in Message object type ( #3651 )
...
* jsonrpc: add `viewType` to quoted message(`MessageQuote` type) in `Message` object type
* add pr number to changelog
2022-10-13 15:41:54 +00:00
Jikstra
81d0ecd8f6
jsonrpc: more methods and some fixes ( #3653 )
...
* jsonrpc: Implement join_securejoin(), contacts_delete(),
contacts_change_name(), send_sticker()
* Add missing fn
* cargo fmt
* add missing &self
* Make it compile
* fixup return type, clippy and doc comment
* generate types and add 2 functions
* change naming
* changelog entry
* jsonrpc add start and stop io functions
* fix getMessageListItems
* normalize daymarker timestamps for MessageListItem
* jsonrpc: exportBackup and importBackup
* don't multiply timestamp anymore
* update types.ts
Co-authored-by: Simon Laux <mobile.info@simonlaux.de >
2022-10-13 12:56:10 +02:00
link2xt
6f329c9e96
Fix unix timestamp used for daymarker
2022-10-12 18:38:03 +00:00
Hocuri
0e2445c7a0
Move the actual logic of email parsing to EmailAddress::new() ( #3656 )
...
Very small PR; Motivation: Easier navigation using Go-To-definition.
Because, using go-to-definition of rust-analyzer on parse() doesn't take you to the actual parse() implementation but its trait definiton. On the other hand, it's very easy to find EmailAddress::new().
2022-10-12 20:37:17 +02:00
Hocuri
7ed947f598
Remove forgotten dbg!
2022-10-12 10:49:34 +02:00
link2xt
b85f6ea6c3
contact: do not ignore SQL errors in add_or_lookup
2022-10-11 16:42:17 +00:00
dependabot[bot]
045472deac
Merge pull request #3625 from deltachat/dependabot/cargo/tokio-stream-0.1.10
2022-10-11 12:15:16 +00:00
dependabot[bot]
71cad4df58
Merge pull request #3632 from deltachat/dependabot/cargo/tokio-1.21.2
2022-10-11 12:13:52 +00:00
dependabot[bot]
48786522c8
Merge pull request #3622 from deltachat/dependabot/cargo/thiserror-1.0.37
2022-10-11 10:46:18 +00:00
dependabot[bot]
0827f1b2f6
cargo: bump tokio-stream from 0.1.9 to 0.1.10
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.9...tokio-stream-0.1.10 )
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 08:16:26 +00:00
dependabot[bot]
5973bb8610
cargo: bump thiserror from 1.0.33 to 1.0.37
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.33 to 1.0.37.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.33...1.0.37 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 08:16:17 +00:00
dependabot[bot]
00ca5132b4
cargo: bump tokio from 1.20.1 to 1.21.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.20.1 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.1...tokio-1.21.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 08:16:16 +00:00
dependabot[bot]
191d203b24
Merge pull request #3623 from deltachat/dependabot/cargo/serde-1.0.145
2022-10-11 08:14:15 +00:00
dependabot[bot]
06f96011d8
Merge pull request #3635 from deltachat/dependabot/cargo/textwrap-0.15.1
2022-10-11 08:13:26 +00:00
dependabot[bot]
f2e292c702
Merge pull request #3654 from deltachat/dependabot/cargo/syn-1.0.102
2022-10-11 08:13:09 +00:00
dependabot[bot]
832deb8e97
Merge pull request #3631 from deltachat/dependabot/cargo/once_cell-1.15.0
2022-10-11 08:12:48 +00:00
dependabot[bot]
74a3c57222
cargo: bump syn from 1.0.99 to 1.0.102
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.99 to 1.0.102.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.99...1.0.102 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 05:40:18 +00:00
dependabot[bot]
4a19092db0
Merge pull request #3636 from deltachat/dependabot/cargo/axum-0.5.16
2022-10-11 05:38:48 +00:00
dependabot[bot]
5c652d913a
cargo: bump serde from 1.0.144 to 1.0.145
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 01:13:33 +00:00
dependabot[bot]
053213f50e
cargo: bump axum from 0.5.15 to 0.5.16
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.5.15 to 0.5.16.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.5.15...axum-v0.5.16 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 01:13:03 +00:00
dependabot[bot]
342e946f49
Merge pull request #3634 from deltachat/dependabot/cargo/sha2-0.10.6
2022-10-11 01:12:07 +00:00
dependabot[bot]
d15ab1355b
cargo: bump once_cell from 1.13.1 to 1.15.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.1 to 1.15.0.
- [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.1...v1.15.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 01:11:41 +00:00
dependabot[bot]
e47f4b8f80
Merge pull request #3600 from deltachat/dependabot/cargo/axum-core-0.2.8
2022-10-11 01:11:33 +00:00
dependabot[bot]
637a4eb351
cargo: bump textwrap from 0.15.0 to 0.15.1
...
Bumps [textwrap](https://github.com/mgeisler/textwrap ) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/mgeisler/textwrap/releases )
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mgeisler/textwrap/compare/0.15.0...0.15.1 )
---
updated-dependencies:
- dependency-name: textwrap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 01:11:25 +00:00
dependabot[bot]
a233aeec4a
Merge pull request #3633 from deltachat/dependabot/cargo/image-0.24.4
2022-10-11 01:11:08 +00:00
dependabot[bot]
d24104154f
Merge pull request #3624 from deltachat/dependabot/cargo/libc-0.2.134
2022-10-11 01:10:31 +00:00
dependabot[bot]
7fa2706d0e
Merge pull request #3621 from deltachat/dependabot/cargo/url-2.3.0
2022-10-11 01:09:37 +00:00
dependabot[bot]
2a5365d46d
Merge pull request #3637 from deltachat/dependabot/cargo/env_logger-0.9.1
2022-10-11 01:07:43 +00:00
dependabot[bot]
72cc853420
Merge pull request #3638 from deltachat/dependabot/cargo/reqwest-0.11.12
2022-10-11 01:07:14 +00:00
dependabot[bot]
eea111df6f
Merge pull request #3639 from deltachat/dependabot/cargo/anyhow-1.0.65
2022-10-11 00:02:54 +00:00
Simon Laux
130bea9e25
jsonrpc: better way to access messagelist ( #3652 )
...
remove function `messageListGetMessageIds()`,
it is replaced by `getMessageIds()` and `getMessageListEntries()`
the latter returns a new `MessageListItem` type,
which is the now prefered way of using the message list.
2022-10-10 18:56:59 +00:00
dependabot[bot]
754242439a
cargo: bump env_logger from 0.9.0 to 0.9.1
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.9.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 15:16:03 +00:00
Simon Laux
3fab9e4cec
more jsonrpc porting ( #3645 )
...
* Port setChatVisbility to jsonrpc
* jsonrpc add functions
- setChatEphemeralTimer
- getChatEphemeralTimer
and changelog
* add pr number to changelog
* jsonrpc: getLocations function
* Port imex() to jsonrpc
* autogenerate types
* jsonrpc: add `getAccountFileSize()`
* jsonrpc: `estimateAutodeleteCount`
* jsonrpc: setStockStrings
* Refactor imex into exportSelfKeys and importSelfKeys
* generate typings
* rustformat
* fix clippy
* update changelog
Co-authored-by: jikstra <jikstra@disroot.org >
2022-10-10 15:14:17 +00:00
link2xt
8b6290120e
Create bob with new_bob(), not new_alice()
2022-10-09 22:51:37 +00:00
dependabot[bot]
564aef2a2a
cargo: bump sha2 from 0.10.3 to 0.10.6
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.3 to 0.10.6.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.3...sha2-v0.10.6 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-06 18:11:58 +00:00
dependabot[bot]
5958324550
cargo: bump anyhow from 1.0.63 to 1.0.65
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.63 to 1.0.65.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.63...1.0.65 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-06 18:08:41 +00:00
Simon Laux
683fc1f081
jsonrpc: add more functions ( #3641 )
...
* jsonrpc: add more functions
- `getChatContacts()`
- `createGroupChat()`
- `createBroadcastList()`
- `setChatName()`
- `setChatProfileImage()`
- `downloadFullMessage()`
- `lookupContactIdByAddr()`
- `sendVideochatInvitation()`
* jsonrpc: add searchMessages
* jsonrpc add messageIdsToSearchResults function
and `MessageSearchResult` type
* fix return type of message_ids_to_search_results
2022-10-04 14:37:48 +02:00
link2xt
9277b46620
Suppress welcome device messages after account import
...
Add dummy `devmsglabels` entries on import to avoid welcome messages
being added when user runs reconfiguration on imported account.
2022-10-02 21:55:27 +00:00
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
dependabot[bot]
aa13374523
cargo: bump reqwest from 0.11.11 to 0.11.12
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.11 to 0.11.12.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.11...v0.11.12 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-01 21:03:51 +00:00
dependabot[bot]
fd1cd39c7c
cargo: bump image from 0.24.3 to 0.24.4
...
Bumps [image](https://github.com/image-rs/image ) from 0.24.3 to 0.24.4.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.24.3...v0.24.4 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-01 21:03:20 +00:00
dependabot[bot]
185d0bf3a3
cargo: bump libc from 0.2.132 to 0.2.134
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.132 to 0.2.134.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.132...0.2.134 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-01 21:02:24 +00:00
dependabot[bot]
837f3ce04c
cargo: bump url from 2.2.2 to 2.3.0
...
Bumps [url](https://github.com/servo/rust-url ) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.0 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-01 21:02:07 +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