link2xt
d2fb2bb2ca
Merge 1.112.7 into master
2023-04-17 15:24:15 +00:00
link2xt
0b832fb9de
Prepare 1.112.7
2023-04-17 15:18:37 +00:00
link2xt
fa87d2e225
New APIs for message processing loops
...
This patch adds new C APIs
dc_get_next_msgs() and dc_wait_next_msgs(),
and their JSON-RPC counterparts
get_next_msgs() and wait_next_msgs().
New configuration "last_msg_id"
tracks the last message ID processed by the bot.
get_next_msgs() returns message IDs above
the "last_msg_id".
wait_next_msgs() waits for new message notification
and calls get_next_msgs().
wait_next_msgs() can be used to build
a separate message processing loop
independent of the event loop.
Async Python API get_fresh_messages_in_arrival_order()
is deprecated in favor of get_next_messages().
Introduced Python APIs:
- Account.wait_next_incoming_message()
- Message.is_from_self()
- Message.is_from_device()
Introduced Rust APIs:
- Context.set_config_u32()
- Context.get_config_u32()
2023-04-15 21:27:45 +00:00
link2xt
28a13e98a6
Add JSON-RPC API can_send()
2023-04-14 21:09:32 +00:00
link2xt
2ba4381c39
Merge branch 'stable-1.112' into 'master'
2023-04-04 15:01:37 +00:00
link2xt
185a0193cc
Fix newline at the end of package.json
2023-04-04 16:47:25 +02:00
B. Petersen
1b00334281
bump version to 1.112.6
2023-04-04 16:47:25 +02:00
dependabot[bot]
6ed3ed1617
cargo: bump axum from 0.6.11 to 0.6.12
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.11 to 0.6.12.
- [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.11...axum-v0.6.12 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-03 19:48:44 +00:00
iequidoo
41456aa2ab
jsonrpc API: Fix documentation of search_messages() ( #4288 )
2023-04-03 14:17:39 -04:00
dependabot[bot]
01b888c341
cargo: bump tokio from 1.26.0 to 1.27.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.26.0...tokio-1.27.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-04-03 12:33:21 +00:00
dependabot[bot]
1ee551d53e
cargo: bump serde_json from 1.0.93 to 1.0.95
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.93 to 1.0.95.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.93...v1.0.95 )
---
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-04-02 19:55:56 +00:00
dependabot[bot]
c2269bf777
cargo: bump futures from 0.3.26 to 0.3.28
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.26 to 0.3.28.
- [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.26...0.3.28 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-02 17:40:49 +00:00
dependabot[bot]
b81a958021
Merge pull request #4278 from deltachat/dependabot/cargo/walkdir-2.3.3
2023-04-02 17:16:24 +00:00
link2xt
c9879f863b
Prepare 1.112.5 release
2023-04-02 09:48:39 +00:00
dependabot[bot]
00017ab653
cargo: bump walkdir from 2.3.2 to 2.3.3
...
Bumps [walkdir](https://github.com/BurntSushi/walkdir ) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/BurntSushi/walkdir/releases )
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.3.2...2.3.3 )
---
updated-dependencies:
- dependency-name: walkdir
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-01 22:03:47 +00:00
link2xt
f24843fbb1
Release 1.112.4
2023-03-31 01:12:26 +00:00
link2xt
aff951440c
Release 1.112.3
2023-03-30 20:32:49 +00:00
link2xt
d6fdc7cb67
Release 1.112.2
2023-03-30 14:57:32 +00:00
link2xt
edf0c02bc8
Release 1.112.1
2023-03-27 15:22:31 +00:00
link2xt
124a0e90e1
Release 1.112.0
2023-03-23 13:34:24 +00:00
link2xt
5db867cd1b
Add IMAP_INBOX_IDLE event
2023-03-22 20:20:37 +00:00
Floris Bruynooghe
e985588c6c
ref(jsonrpc): Getting backup provider QR code now blocks ( #4198 )
...
This changes the JSON-RPC APIs to get a QR code from the backup
provider to block. It means once you have a (blocking) call to
provide_backup() you can call get_backup_qr() or get_backup_qr_svg()
and they will block until the QR code is available.
Calling get_backup_qr() or get_backup_qr_svg() when there is no backup
provider will immediately error.
2023-03-22 12:45:38 +01:00
link2xt
24856f3050
Merge branch 'flub/send-backup'
...
PR: <https://github.com/deltachat/deltachat-core-rust/pull/4007 >
2023-03-19 15:21:59 +00:00
dependabot[bot]
4ba00f7440
Merge pull request #4171 from deltachat/dependabot/cargo/axum-0.6.11
2023-03-19 13:30:54 +00:00
link2xt
71bb89fac1
Merge remote-tracking branch 'origin/master' into flub/send-backup
2023-03-19 11:10:07 +00:00
Floris Bruynooghe
4bf38c0e29
clippy
2023-03-19 09:36:41 +00:00
Floris Bruynooghe
52fa58a3ce
No need for jsonrpc to do this manually
2023-03-19 09:36:03 +00:00
dependabot[bot]
5ecdea47db
cargo: bump axum from 0.6.9 to 0.6.11
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.9 to 0.6.11.
- [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.9...axum-v0.6.11 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-19 09:35:20 +00:00
Floris Bruynooghe
6674b888cc
Merge branch 'master' into flub/send-backup
2023-03-07 12:52:45 +01:00
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
Floris Bruynooghe
c5408e0561
Merge branch 'master' into flub/send-backup
2023-03-03 09:48:33 +01: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
Floris Bruynooghe
e3014a349c
Merge branch 'master' into flub/send-backup
2023-03-02 11:35:17 +01:00
Floris Bruynooghe
5762fbb9a7
Allow JSON-RPC to get text of QR code as well
...
Desktop does use this as it allows reading QR codes as text from the
clipboard as well as copying the QR text to the clipboard instead of
showing the QR code.
2023-03-01 11:27:21 +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
Floris Bruynooghe
1b39be8a42
Merge branch 'master' into flub/send-backup
2023-02-22 15:54:23 +01: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
Floris Bruynooghe
a1e19e2c41
Merge branch 'master' into flub/send-backup
2023-02-20 17:39:52 +01:00
Floris Bruynooghe
b920db12c7
Split _wait and _unref
...
This also removes BackupProvider::join in favour of implementing
Future directly. I wondered about implementing a FusedFutre to make
this a little safer but it would introduce a dependency on the futures
crate in deltachat-ffi which did not exist yet, so I didn't do that.
2023-02-20 15:56:05 +01:00
link2xt
44953d6bcc
Release 1.109.0
2023-02-19 21:40:33 +00:00