link2xt
e39011a43b
Release 1.111.0
2023-03-05 13:26:22 +00:00
link2xt
3df5e6e9d3
Use "dep:" syntax to avoid creating dependency features
...
It is supported since Rust 1.60
2023-03-04 10:24:16 +00:00
link2xt
7e5a8714a0
Add scripts/codespell.sh and spellcheck
2023-03-03 18:40:36 +00:00
Simon Laux
3453aac27e
jsonrpc: ts bindings: update .npmignore ( #4119 )
...
to remove files from the npm package that is not needed by end users.
#ignore-changelog
2023-03-02 13:57:17 +01:00
Simon Laux
fc019de18c
jsonrpc: add get webxdc blob API getWebxdcBlob ( #4070 )
...
* jsonrpc: add get webxdc blob API `getWebxdcBlob`
* add info about path
* format
2023-02-27 17:46:13 +00:00
adbenitez
9f81299de0
rename DraftMessage to MessageData
2023-02-26 23:34:15 -05:00
adbenitez
f0a2ca7815
send_msg(): return only msg_id
2023-02-26 22:50:24 -05:00
Asiel Díaz Benítez
ad3c7136ec
Merge branch 'master' into adb/add-send-msg
2023-02-26 05:14:12 -05:00
adbenitez
79026f93b6
add more advanced API to send a message
2023-02-26 05:13:20 -05:00
link2xt
45817fcacd
Release 1.110.0
2023-02-24 17:05:10 +00:00
Franz Heinzmann (Frando)
75670134d8
chore(jsonrpc): bump yerpc version
2023-02-24 16:40:24 +00:00
Franz Heinzmann (Frando)
e3eb35e160
deltachat-jsonrpc: bump yerpc version in ts client
2023-02-24 16:40:24 +00:00
link2xt
79212bee13
Add "vendored" feature to deltachat-jsonrpc
2023-02-22 00:03:40 +00:00
Franz Heinzmann
ef03a33b29
JSON-RPC: Add CommonJS build ( #4062 )
...
add CommonJS build
2023-02-20 18:10:32 +01:00
link2xt
44953d6bcc
Release 1.109.0
2023-02-19 21:40:33 +00:00
Simon Laux
609fc67f0d
fix websocket server & add ci test for building it ( #4047 )
...
the axum update broke the websocket server, because yerpc still uses a the old 5.9 version.
So I needed to downgrade the dependency until https://github.com/deltachat/yerpc/pull/35 is merged.
I want to retry the kaiOS client experiment, for this I need a working websocket server binary.
2023-02-19 14:57:00 +01:00
Simon Laux
0de5125de8
jsonrpc: get_messages now returns a map with MessageLoadResult instead of failing completely if one of the requested messages could not be loaded. ( #4038 )
...
* jsonrpc: `get_messages` now returns a map with `MessageLoadResult`
instead of failing completely if one of the requested messages could not be loaded.
* add pr number to changelog
* format errors with causes instead of debug output
also for chatlistitemfetchresult
2023-02-15 18:46:34 +00:00
link2xt
78577594d0
deltachat-rpc-server: spawn request handlers
2023-02-15 12:19:03 +00:00
link2xt
d3e2f38da0
deltachat-jsonrpc: fix "prettier" arguments
...
**.ts finds .ts files only in the current directory and no *.js files.
2023-02-15 11:18:58 +00:00
link2xt
267263dab7
Release 1.108.0
2023-02-13 21:15:34 +00:00
link2xt
6c8368fa23
jsonrpc: add API to check if the message is sent by a bot
...
Co-Authored-By: Asiel Díaz Benítez <asieldbenitez@gmail.com >
2023-02-12 18:53:26 +00:00
link2xt
07c510c178
Remove bitflags from get_chat_msgs() interface
...
get_chat_msgs() function is split into new get_chat_msgs() without flags
and get_chat_msgs_ex() which accepts booleans instead of bitflags.
FFI call dc_get_chat_msgs() is still using bitflags for compatibility.
JSON-RPC calls get_message_ids() and get_message_list_items()
accept booleans instead of bitflags now.
2023-02-12 15:11:04 +00:00
link2xt
e171a69240
Do not specify _send message type
2023-01-31 09:35:41 +00:00
dependabot[bot]
55cb11da07
cargo: bump yerpc from 0.3.1 to 0.4.0
...
Bumps [yerpc](https://github.com/Frando/yerpc ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/Frando/yerpc/releases )
- [Commits](https://github.com/Frando/yerpc/commits/v0.4.0 )
---
updated-dependencies:
- dependency-name: yerpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-31 00:43:21 +00:00
dependabot[bot]
3104edba0f
Merge pull request #3996 from deltachat/dependabot/cargo/axum-0.6.4
2023-01-31 00:42:32 +00:00
dependabot[bot]
356a064dd1
cargo: bump axum from 0.6.1 to 0.6.4
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.1 to 0.6.4.
- [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.6.1...axum-v0.6.4 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-30 22:48:33 +00:00
dependabot[bot]
a0ba866d5b
cargo: bump futures from 0.3.25 to 0.3.26
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.25 to 0.3.26.
- [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.25...0.3.26 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-30 22:48:32 +00:00
dependabot[bot]
05d6bde362
cargo: bump tokio from 1.24.1 to 1.25.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.24.1...tokio-1.25.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-30 18:55:10 +00:00
link2xt
fcf73165ed
Inline format arguments
...
This feature has been stable since Rust 1.58.0.
2023-01-30 11:50:11 +03:00
link2xt
faef8b679e
Allow clippy::uninlined_format_args in deltachat-jsonrpc
...
It started failing since release of Rust 1.67
2023-01-27 01:53:12 +00:00
link2xt
37f20c6889
Prepare 1.107.0
2023-01-23 16:20:07 +00:00
link2xt
4615c84f31
Automatically group imports using nightly rustfmt
2023-01-19 13:13:25 +00:00
Simon Laux
0b07dafe77
add verified-by api to jsonrpc ( #3946 )
...
also refactor it so that it is not a static method anymore
(would have resulted in two load-Contact-from-db-calls in jsonrpc)
2023-01-12 16:13:27 +00:00
link2xt
554090b03e
Prepare 1.106.0
2023-01-10 20:57:14 +00:00
link2xt
120a7a3090
Prepare 1.105.0 release
2023-01-08 16:18:08 +00:00
dependabot[bot]
f2f211908d
cargo: bump serde_json from 1.0.89 to 1.0.91
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.89 to 1.0.91.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.89...v1.0.91 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-07 15:58:34 +00:00
dependabot[bot]
ac9e3c6260
Merge pull request #3927 from deltachat/dependabot/cargo/tokio-1.23.1
2023-01-07 15:57:24 +00:00
link2xt
58ba107d01
Resultify Message::get_filebytes()
2023-01-07 01:00:30 +00:00
Simon Laux
087b4289e5
jsonrpc: add fresh message count to the archive-link chatlistitem variant ( #3920 )
...
this is a followup to #3918
I went with option "C" from my comment:
https://github.com/deltachat/deltachat-core-rust/pull/3918#issuecomment-1371224339
- Archive link is (still) very different from a normal chat, so most of the options would be empty / not relevant
- avatar path is not needed as desktop renders it differently anyway,
it's not really a chat like saved messages or device messages where it made more sense
for the core to supply the icon, vs. using the svg directly.
- translating the string in the coreas stock-string is more annoying than doing it from the ui, especially when
this special pseudo chat has different rendering anyway so also no need to provide a name property
2023-01-07 00:34:47 +01:00
dependabot[bot]
3df5f6110c
cargo: bump tokio from 1.23.0 to 1.23.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.23.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-06 23:10:29 +00:00
link2xt
d8f5e81880
jsonrpc: increase account request timeout to 60 seconds
2023-01-05 23:32:43 +00:00
dependabot[bot]
15fad5476e
cargo: bump tokio from 1.22.0 to 1.23.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-01 21:02:20 +00:00
link2xt
942f64f04d
Remove authors field from Cargo metadata
...
See Rust RFC 3052 [1]. This field is no longer required,
so there is no need to have a filler value here anymore.
[1] <https://rust-lang.github.io/rfcs/3052-optional-authors-field.html >
2022-12-26 12:18:15 +00:00
bjoern
3130fdc4f0
release 1.104.0 ( #3857 )
2022-12-20 17:57:16 +01:00
link2xt
cc96c436a9
Add empty deltachat-jsonrpc/typescript/generated/ folder
...
Otherwise `cargo test -p deltachat-jsonrpc generate_events_ts_types_definition` fails
if `yerpc` does not create the folder first.
2022-12-12 21:31:57 +00:00
link2xt
aa6f5fd139
Release 1.103.0
2022-12-09 17:43:03 +00:00
link2xt
f14a28db54
Remove autogenerated typescript files
2022-12-06 19:25:04 +00:00
dependabot[bot]
7a0dd24681
cargo: bump axum from 0.5.17 to 0.6.1
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.5.17 to 0.6.1.
- [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.17...axum-v0.6.1 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-04 15:29:42 +00:00
dependabot[bot]
3b5b1bf877
cargo: bump env_logger from 0.9.1 to 0.10.0
...
Bumps [env_logger](https://github.com/rust-cli/env_logger ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.1...v0.10.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-04 13:51:18 +00:00
dependabot[bot]
140aa68811
cargo: bump serde_json from 1.0.87 to 1.0.89
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.87 to 1.0.89.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.87...v1.0.89 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-03 00:13:28 +00:00