Commit Graph

5587 Commits

Author SHA1 Message Date
Septias
7b7929ff78 debug xdc 2022-12-06 17:23:12 +01:00
Septias
738114752d new xdc 2022-12-06 17:23:12 +01:00
Septias
84b73a9e6a debug xdc 2022-12-06 17:23:12 +01:00
Septias
181996873b new webxdc 2022-12-06 17:23:12 +01:00
Septias
2749c1d52d fix problems 2022-12-06 17:23:12 +01:00
Sebastian Klähn
4dd6bf591f new xdc fixing mentioned problems 2022-12-06 17:23:12 +01:00
Hocuri
0e0decfd8a Unify duplicate code 2022-12-06 17:23:12 +01:00
Hocuri
9b8a95b69f Docs 2022-12-06 17:21:51 +01:00
Hocuri
0fb3c4c8ca bugfix 2022-12-06 17:21:12 +01:00
Hocuri
5a856eccef Use spawn() instead of block_on() again because it reportedly might lead to deadlocks
Also, fix some minor stuff
2022-12-06 17:21:12 +01:00
Hocuri
2fdab88d19 Introduce a flag debug_logging on the core 2022-12-06 17:21:12 +01:00
Septias
fc30bbbe4f change styling of webxdc 2022-12-06 17:18:56 +01:00
Septias
aef84cfd69 use event name instead of event id 2022-12-06 17:18:56 +01:00
Hocuri
86fc553294 Add send_events benchmark 2022-12-06 17:18:12 +01:00
Septias
c3d99e1016 new webxdc 2022-12-06 17:18:12 +01:00
Hocuri
7d19b87f44 . 2022-12-06 17:18:12 +01:00
Septias
2e5456eb3a new wexdc 2022-12-06 17:18:12 +01:00
Septias
ae3ae6717d add webxdc 2022-12-06 17:18:12 +01:00
Hocuri
7479b97a00 Actually set the config 2022-12-06 17:18:12 +01:00
Simon Laux
c46d61356d fix context::tests::test_get_info_completeness 2022-12-06 17:18:12 +01:00
Simon Laux
948f6906cb log to status update
& send webxdc update event
2022-12-06 17:18:12 +01:00
Hocuri
0538e68638 Disable debug logging if the webxdc message is deleted 2022-12-06 17:15:26 +01:00
Hocuri
e6ae2170a8 Fix more compiler problems 2022-12-06 17:15:26 +01:00
Simon Laux
63162394f6 fix compile error on events.rs 2022-12-06 17:14:08 +01:00
Hocuri
c6369ce691 fix some compiler issues 2022-12-06 17:14:08 +01:00
Simon Laux
b20f03775a events to json 2022-12-06 17:13:05 +01:00
Hocuri
b5d6f44b13 Debug logging, second try 2022-12-06 17:11:52 +01:00
Hocuri
fc386f4fa1 Completely disable Autocrypt & Authres-checking for mailing lists (#3765)
* Because both only make problems with mailing lists, it's easiest to just disable them. If we want, we can make them work properly with mailing lists one day and re-enable them, but this needs some further thoughts.

Part of #3701

* Use load_from_db() in more tests

* clippy

* Changelog

* Downgrade warning to info, improve message

* Use lifetimes instead of cloning
2022-12-05 19:00:56 +00:00
link2xt
3743aaa16e Refactor fetch_many_msgs and add more logging 2022-12-05 12:54:40 +00:00
dependabot[bot]
22b4640b31 Merge pull request #3627 from deltachat/dependabot/cargo/criterion-0.4.0 2022-12-04 20:15:18 +00:00
dependabot[bot]
1dcda4989d cargo: bump criterion from 0.3.6 to 0.4.0
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.6 to 0.4.0.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.6...0.4.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-04 18:53:49 +00:00
dependabot[bot]
e59768167a Merge pull request #3801 from deltachat/dependabot/cargo/axum-0.6.1 2022-12-04 18:52:07 +00:00
link2xt
7e5becb5e5 Log the reason when the message cannot be sent to the chat 2022-12-04 18:51:14 +00:00
link2xt
b4f348ccea Merge async JSON-RPC client
PR: https://github.com/deltachat/deltachat-core-rust/pull/3734
2022-12-04 21:02:50 +03: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]
e5ae82252f Merge pull request #3797 from deltachat/dependabot/cargo/env_logger-0.10.0 2022-12-04 15:28:07 +00:00
dependabot[bot]
49c45d1007 Merge pull request #3799 from deltachat/dependabot/cargo/image-0.24.5 2022-12-04 15:27:44 +00:00
link2xt
5502bff986 Make _args and _kwargs private in Rpc 2022-12-04 14:03:59 +00:00
link2xt
ee19789cac Make _rpc private 2022-12-04 14:03:43 +00:00
link2xt
bad5a1de55 Ignore .tox everywhere, not only in python/ 2022-12-04 13:57:38 +00:00
link2xt
3cdbe213a3 python: rename Deltachat class into DeltaChat 2022-12-04 13:56:53 +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]
bcd9229ffe cargo: bump image from 0.24.4 to 0.24.5
Bumps [image](https://github.com/image-rs/image) from 0.24.4 to 0.24.5.
- [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.4...v0.24.5)

---
updated-dependencies:
- dependency-name: image
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-04 13:43:02 +00:00
link2xt
4df588668a Bump MSRV to 1.61.0
This is required by `image` crate.

Also update current Rust version to 1.65.0.
2022-12-04 12:24:17 +00:00
iequidoo
de96500c1a Add a test on reactions after a reordering MOVE to DeltaChat folder (#3756) 2022-12-04 04:40:11 +04:00
iequidoo
9b881cdd19 Fetch messages in the order of their INTERNALDATE (#3756)
When a batch of messages is moved from Inbox to DeltaChat folder with a single MOVE command, their
UIDs may be reordered (e.g. Gmail is known for that) which leads to that messages are processed by
receive_imf in the wrong order. But the INTERNALDATE attribute is preserved during a MOVE according
to RFC3501. So, use it for sorting fetched messages.
2022-12-04 04:40:11 +04:00
link2xt
2ccf39800d Remove start_rpc_server() and make Rpc a context manager
Rpc now has a start() method.
This way it is possible to use Rpc from IPython without calling __aenter__()
2022-12-04 00:02:32 +00:00
link2xt
5a3065344e Properly terminate Rpc and remove sleep() hack 2022-12-03 23:30:50 +00:00
link2xt
98b6b5e3f6 Update instructions on using ipython 2022-12-03 18:37:02 +00:00
dependabot[bot]
4d81fa6df5 Merge pull request #3795 from deltachat/dependabot/cargo/num_cpus-1.14.0 2022-12-03 17:47:28 +00:00