link2xt
eb943625a6
chore(cargo): bump num_cpus from 1.15.0 to 1.16.0
2023-07-02 20:19:40 +00:00
link2xt
d69e42377d
chore(deps): update human-panic from 1.1.4 to 1.1.5
2023-07-02 01:20:35 +00:00
link2xt
de9330b52f
chore(deps): update libc from 0.2.146 to 0.2.147
2023-07-02 01:19:13 +00:00
link2xt
7d98978269
chore: rustfmt
2023-07-02 01:17:12 +00:00
link2xt
5024f48609
refactor: add error context to Message::load_from_db()
2023-07-01 19:40:23 +00:00
link2xt
e975568122
docs: fix a typo in get_for_contact documentation
2023-07-01 19:39:50 +00:00
link2xt
1f71c69325
fix: update tokio to 1.29.0
...
This fixes panic after sending 29 offline messages.
2023-06-28 09:11:57 +00:00
link2xt
3a3f3542d9
chore: remove libm entry from deny.toml
2023-06-27 14:34:26 +00:00
link2xt
657c5fa947
chore(deps): update iana-time-zone-haiku to 0.1.2
...
This removes `cxx` dependency.
2023-06-27 14:33:34 +00:00
link2xt
7d0b25c209
chore(deps): update ed25519-dalek
2023-06-27 14:30:27 +00:00
link2xt
8d26303cad
refactor(simplify): remove local variable empty_body
2023-06-25 12:55:21 +00:00
link2xt
efa37dd283
fix: preserve indentation when converting plaintext to HTML
2023-06-22 13:24:40 +00:00
link2xt
323e44da04
test: make plaintext to HTML conversion tests non-async
2023-06-22 13:24:40 +00:00
link2xt
70efd0f10a
refactor: use with statement with multiple contexts
...
Otherwise `ruff` check SIM117 fails.
2023-06-21 00:30:48 +00:00
link2xt
fcec81b4c1
chore(cargo): update openssl to 0.10.55
...
This fixes https://rustsec.org/advisories/RUSTSEC-2023-0044
2023-06-20 23:37:41 +00:00
link2xt
dd806b2d88
test: add make-python-testenv.sh script
...
This scripts makes it easy to (re)create python testing environment.
2023-06-19 16:24:03 +00:00
link2xt
5659c1b9c2
refactor: do not treat messages without headers as a special case
2023-06-19 12:00:03 +00:00
link2xt
d538d29b94
docs: document how to regenerate Node.js constants before the release
2023-06-17 14:30:11 +00:00
link2xt
b4209fac2e
ci(concourse): install venv before trying to use it
...
This is a follow-up to cbe1671104
I changed `apt-get` arguments for x86_64 glibc builds,
but forgot to change it for x86_64 musl, aarch64 glibc and aarch64 musl.
Because of this, `upload-wheels` task failed with a message:
```
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.11-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
```
2023-06-16 19:15:05 +00:00
link2xt
4d6dfa120e
docs: add missing links for 1.116.0 and 1.117.0 to the changelog
2023-06-16 17:18:04 +00:00
link2xt
f92108be1d
chore(release): prepare for 1.117.0
2023-06-16 16:42:17 +00:00
link2xt
00cb72f04d
fix(dehtml): do not insert unnecessary newlines when parsing <p> tags
...
Previously, parsing of `<p>Foo</p><p>Bar</p>`
resulted in `\n\nFoo\n\n\n\nBar\n\n`.
Now it results in `Foo\n\nBar`.
2023-06-16 16:27:14 +00:00
link2xt
92e34d67e6
chore: add openrpc.json to .gitignore
2023-06-16 14:32:09 +00:00
link2xt
65bff8339f
chore: update generated node files
2023-06-16 14:27:45 +00:00
link2xt
c3f352aff1
fix(dehtml): skip links with empty text
2023-06-14 15:41:38 +00:00
link2xt
5ac2d1b8cb
ci: remove mergeable configuration
...
Mergeable is disabled because it was requiring
that PR title follows conventional commit notation
even when PR consisted of multiple commits
and was not planned to be squash merged.
2023-06-14 14:59:33 +00:00
link2xt
8214b2b8c1
docs: document how conventional commits interact with squash merges
2023-06-14 14:59:33 +00:00
link2xt
53ab8a3b35
fix: update to async-imap 0.9.0 to remove deprecated ouroboros dependency
...
`ouroboros` is deprecated with a security advisory recommending
switch to `self_cell` crate:
https://rustsec.org/advisories/RUSTSEC-2023-0042
async-imap 0.9.0 depends on `self_cell` instead of `ouroboros`.
2023-06-14 15:46:42 +02:00
link2xt
cbe1671104
ci(concourse): install devpi in a virtual environment
...
This commit solves the "error: externally-managed-environment"
which started appearing since Debian 12 release.
`debian` is used as an Docker image to run devpi.
2023-06-13 16:51:53 +00:00
link2xt
0d0e223238
test(python): replace legacy tmpdir fixture with tmp_path
2023-06-12 15:14:25 +00:00
link2xt
1a62b6d77f
refactor: rename MimeMessage.header into MimeMessage.headers
2023-06-09 22:20:46 +00:00
link2xt
915008d474
build: use 1 codegen-units for release builds
2023-06-08 16:25:14 +00:00
link2xt
9646766793
build: disable unused brotli feature "ffi-api"
2023-06-08 00:02:11 +00:00
link2xt
e948ec3256
test: regression test for case-sensitive comparison of gossip header to contact address
2023-06-07 19:50:42 +00:00
link2xt
9ab9d2eb7b
fix: ignore address case when comparing the To: field to Autocrypt-Gossip:
2023-06-07 19:50:42 +00:00
link2xt
437f8c48c4
api(python): make Contact.is_verified() return bool
2023-06-07 19:50:42 +00:00
link2xt
e6d9a49187
api: emit DC_EVENT_MSGS_CHANGED per chat when messages are deleted
2023-06-07 09:07:21 +00:00
link2xt
33a014eea4
feat: add MsgDeleted event
2023-06-07 09:07:21 +00:00
link2xt
9be871ccf6
fix: emit DC_EVENT_MSGS_CHANGED without IDs when the message expires
...
Specifying msg IDs that cannot be loaded in the event payload
results in an error when the UI tries to load the message.
Instead, emit an event without IDs
to make the UI reload the whole messagelist.
2023-06-07 09:07:21 +00:00
link2xt
91bf87fa80
fix: update from yanked libc 0.2.145 to 0.2.146
...
https://github.com/rust-lang/libc/issues/3264
2023-06-06 22:45:17 +00:00
link2xt
a2599ef08a
ci: run cargo check with musl libc
2023-06-06 22:45:17 +00:00
link2xt
22d0a4bb32
build: use Rust 1.70.0 to compile deltachat-rpc-server releases
2023-06-06 22:45:17 +00:00
link2xt
7a160033b6
chore(release): prepare for 1.116.0
2023-06-05 19:11:07 +00:00
link2xt
3442748be7
ci: update clippy to 1.70.0
2023-06-05 18:52:30 +00:00
link2xt
b2993242e4
docs(python): document pytest fixtures
...
These docstrings are displayed by `pytest --fixtures`
when `deltachat` package is installed from PyPI.
2023-06-05 18:34:27 +00:00
link2xt
f917c7de6b
chore(cargo): bump criterion from 0.4.0 to 0.5.1
2023-06-05 10:12:27 +00:00
link2xt
e0b1644488
ci: run node.js lint on Windows
2023-06-04 22:39:15 +00:00
link2xt
4beba8ce3c
chore(gitattributes): configure LF line endings for JavaScript files
2023-06-04 22:39:15 +00:00
link2xt
bcd6c226f6
ci: document why node prebuilds are built in a container
2023-06-04 13:30:24 +00:00
link2xt
bae61746f8
fix: build deltachat-node prebuilds on Debian 10
...
This reduces glibc version requirement
and makes sure it does not increase
as Ubuntu version on CI runners is updated.
2023-06-04 12:35:12 +00:00
link2xt
b06c8baa9c
chore(cargo): bump pretty_env_logger from 0.4.0 to 0.5.0
2023-06-04 10:31:29 +00:00
link2xt
8ea8ee02ed
ci: add top comments to GH Actions workflows
2023-06-02 20:19:57 +00:00
link2xt
55bc556bcf
ci: use working-directory instead of cd command
2023-06-02 17:00:27 +00:00
link2xt
3b6d21301b
ci: remove broken node-delete-preview.yml workflow
...
Old previews should be deleted by the cronjob
running on the `download.delta.chat` server.
2023-06-02 16:50:15 +00:00
link2xt
136e9179e9
ci(dependabot): use chore prefix for dependency updates
2023-06-02 10:30:34 +00:00
link2xt
31e19ca56c
chore(cargo): bump regex from 1.8.1 to 1.8.3
2023-06-02 10:28:58 +00:00
link2xt
f2b02b7bb0
docs: document how to get Concourse CI secrets from pass
2023-06-01 19:50:42 +00:00
link2xt
646ace8e7a
chore: add link to the changelog
2023-06-01 12:54:12 +00:00
link2xt
a2495716b6
Merge tag 'v1.112.10'
2023-06-01 12:53:10 +00:00
link2xt
0f579c6415
chore(release): prepare for 1.112.10
2023-06-01 12:49:20 +00:00
link2xt
3eddc9164c
fix: disable fetch_existing_msgs setting by default
...
This caused too many problems after switching
the default setting for `show_emails`
from DC_SHOW_EMAILS_OFF to DC_SHOW_EMAILS_ALL
in <https://github.com/deltachat/deltachat-core-rust/pull/4019 >
There is a topic <https://support.delta.chat/t/setting-no-chats-only-for-show-classic-e-mails-showing-classic-emails/2481 >
on the forum with multiple requests to revert this setting
due to old emails being downloaded.
2023-06-01 11:11:36 +00:00
link2xt
dd29fae49b
fix: update h2 to fix RUSTSEC-2023-0034
2023-05-31 19:00:20 +00:00
link2xt
c68a2e3820
ci: require Python 3.8 for deltachat-rpc-client
...
With Python 3.7 asynchronous tests randomly fail
with "RuntimeError: Event loop is closed" during shutdown.
Backtrace of the error includes `SafeChildWatcher` calls.
Python 3.8 has replaced `SafeChildWatcher`
with a new `ThreadedChildWatcher` by default [1]
as a bugfix for
"asyncio.create_subprocess_exec() only works with main event loop" bug [2].
Python 3.7 scheduled end of life is 2023-06-27
according to <https://devguide.python.org/versions/ >.
[1] https://github.com/python/cpython/pull/14344
[2] https://bugs.python.org/issue35621
2023-05-21 13:08:03 +00:00
link2xt
c7ad0b1f4f
test: make test_group_with_removed_message_id less flaky
...
It failed in CI once, apparently
because "Gr." was generated inside the group ID.
2023-05-21 11:50:41 +00:00
link2xt and Hocuri
0dd9e3a77e
docs: add contributing guidelines
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2023-05-20 10:34:02 +00:00
link2xt
d27e3d085e
ci: remove incorrect comment
2023-05-19 11:03:26 +00:00
link2xt
10b2aa5350
chore: remove release.toml
...
We are not using cargo-release at the moment.
2023-05-19 09:25:27 +00:00
link2xt
3a29a555bf
test(python): make test_mdn_asymmetric less flaky
...
Normally the message has UID 1,
but this is not true when account is reused.
In this case the message may be
"Marked messages 2 in folder DeltaChat as seen."
and the test times out waiting for
"Marked messages 1 in folder DeltaChat as seen."
2023-05-18 18:39:40 +00:00
link2xt
f024f396bf
docs: document release process in RELEASE.md
2023-05-17 10:53:26 +00:00
link2xt
24d52c5909
build(set_core_version.py): expect release date in the changelog
...
git-cliff adds the date to the changelog automatically,
so set_core_version.py only needs to check that the date is in place.
2023-05-16 22:47:28 +00:00
link2xt
f9dc8edbcb
feat: add more context to message loading errors
2023-05-16 19:40:38 +00:00
link2xt
2e6f98f4e4
api: add dc_jsonrpc_blocking_call()
2023-05-15 19:55:13 +00:00
link2xt
50431d8cfe
build(git-cliff): add "Documentation" section
2023-05-15 15:34:16 +00:00
link2xt
55fcd589db
build(git-cliff): put "ci" commits into "CI" section of changelog
2023-05-15 15:34:16 +00:00
link2xt
081178d623
ci(mergeable): allow PR titles to start with "ci" and "build"
2023-05-15 15:34:16 +00:00
link2xt
92d5857150
build(git-cliff): update the link to configuration documentation
2023-05-15 15:34:16 +00:00
link2xt
bb45c249a3
build(git-cliff): add unconventional commits to "Other" section
2023-05-15 15:34:16 +00:00
link2xt
8796e0472a
build(git-cliff): add scope to changelog entries
2023-05-15 15:34:16 +00:00
link2xt
3bd16ba045
build(git-cliff): add "Build system" section
2023-05-15 15:34:16 +00:00
link2xt
4b7ff6f003
build(git-cliff): add period at the end of changelog entry titles
...
Make it consistent with the rest of the changelog.
2023-05-15 15:34:16 +00:00
link2xt
53449ea5b3
build(git-cliff): remove git-cliff footer
2023-05-15 15:34:16 +00:00
link2xt
3b381c4862
docs: update instructions for python devenv
2023-05-15 15:33:26 +00:00
link2xt
ce729263a5
chore(release): prepare for v1.115.0
2023-05-13 18:45:51 +00:00
link2xt
67480999c0
feat: do not cut incoming text if "bot" config is set
2023-05-13 15:53:48 +00:00
link2xt
e3c01d76c4
fix: do not return an error from send_msg_to_smtp if retry limit is exceeded
...
This prevents sending the other messages for which the limit was not exceeded.
2023-05-12 13:26:37 +00:00
link2xt
cb7f96449d
Merge tag 'v1.112.9' into 'master'
2023-05-12 11:35:30 +00:00
link2xt
e4f4dacaf0
chore(release): prepare for 1.112.9
2023-05-12 11:17:54 +00:00
link2xt
9fc1fe74ad
fix: delete smtp rows when message sending is cancelled
2023-05-12 11:17:23 +00:00
link2xt
991089d98e
feat: improve SMTP logging
2023-05-12 10:07:55 +00:00
link2xt
c7a250da31
fix: fetch at most 100 existing messages even if EXISTS was not received
...
According to RFC 3501, EXISTS must always be sent in response to SELECT.
But if the server does not send it for some reason,
async-imap uses the default value, so we will essentially fetch `1:*`
and downloading all messages may take a long time.
2023-05-12 10:07:29 +00:00
link2xt
c5b6bad956
fix: recreate smtp table with AUTOINCREMENT
...
This ensures the rows cannot be confused accidentally
when referred by row_id.
2023-05-12 09:53:58 +00:00
link2xt
c4534ff621
feat: improve SMTP logging
2023-05-12 09:53:32 +00:00
link2xt
68aa15950a
fix: fix PR URL template in git-cliff configuration ( #4396 )
2023-05-11 17:43:52 +02:00
link2xt
e216dfd655
fix: delete smtp rows when message sending is cancelled
2023-05-10 16:08:00 +00:00
link2xt
86472aba2c
refactor: iterate over msg_ids without .iter()
2023-05-10 14:32:38 +00:00
link2xt
15ce54edfb
Update set_core_version.py with new release process
2023-05-10 12:00:14 +00:00
link2xt
d3236e79fd
fix: fetch at most 100 existing messages even if EXISTS was not received
...
According to RFC 3501, EXISTS must always be sent in response to SELECT.
But if the server does not send it for some reason,
async-imap uses the default value, so we will essentially fetch `1:*`
and downloading all messages may take a long time.
2023-05-09 10:56:01 +00:00
link2xt
e50d7724e3
feat: build deltachat-rpc-server releases for x86_64 macOS
2023-05-08 19:04:38 +00:00
link2xt
7918a6801e
scripts/deny.sh: update package cache before running cargo deny
2023-05-05 21:23:10 +00:00
link2xt
6af631e8df
Add JSON-RPC API to get reactions
2023-05-05 20:49:55 +00:00