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
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
Floris Bruynooghe
8ae0ee5a67
Merge branch 'master' into flub/send-backup
2023-02-16 17:19:31 +01:00
Floris Bruynooghe
a75d2b1c80
Create a blocking call for jsonrpc
2023-02-16 17:15:54 +01:00
Floris Bruynooghe
490a14c5ef
Remove the need for a directory for db export
...
Plus on import use the context directory. We can actually write there
just fine.
2023-02-16 16:06:41 +01:00
Floris Bruynooghe
dcce6ef50b
Some docs
2023-02-16 15:19:44 +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
Floris Bruynooghe
0ca76d36ef
Merge branch 'master' into flub/send-backup
2023-02-15 14:46:57 +01: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
Floris Bruynooghe
44c1efe4e4
Add jsonrpc support
2023-02-14 13:05:54 +01:00
link2xt
267263dab7
Release 1.108.0
2023-02-13 21:15:34 +00:00
Floris Bruynooghe
4c78553d90
Merge branch 'master' into flub/send-backup
2023-02-13 11:25:51 +01: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
Floris Bruynooghe
6044e5961b
Send and receive backup over network using QR code
...
This adds functionality to send and receive a backup over the network
using a QR code.
The sender or provider prepares the backup, sets up a server that
waits for clients. It provides a ticket in the form of a QR code
which contains connection and authentication information.
The receiver uses the QR code to connect to the provider and fetches
backup, restoring it locally.
2023-02-01 16:45:09 +01: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