link2xt
47fcdef88c
cargo update -p mio
...
mio 0.8.5 does not use libc epoll_create1() function on Android anymore,
so it will be possible to revert https://github.com/deltachat/deltachat-android/commit/e29b6f9974bcad9a1e97493979f261cdb4cf4ea3
in the next Android release with the new core.
2022-11-01 23:12:45 +00:00
link2xt
d81579730e
Allow sender timestamp to be in the future
...
This can happen due to unsynchronized clocks or
when "smeared" timestamp is used as the sender sends
multiple messages without delay.
2022-10-30 10:26:22 +00:00
link2xt
b6b2f453a0
Prepare 1.98.0
2022-10-24 16:09:24 +00:00
link2xt
aa14015919
sql: every Result is anyhow::Result
2022-10-23 11:25:27 +00:00
link2xt
434e53e922
Use UPSERT to insert into msgs table
...
This way no temporary rows are created and it is easier to maintain
because UPDATE statement is right below the INSERT statement,
unlike `merge_messages` function which is easy to forget about.
2022-10-22 21:34:56 +00:00
link2xt
b5d238f7f4
Keep reactions when downloading partially downloaded message
2022-10-22 15:02:05 +00:00
e5c9fea52d
Implement reactions
...
Co-Authored-By: bjoern <r10s@b44t.com >
Co-Authored-By: Simon Laux <mobile.info@simonlaux.de >
2022-10-22 09:59:43 +00:00
link2xt
b2939d3df3
imap: simplify UPSERT queries on imap_sync
...
Use `excluded` and remove noop `WHERE` query.
See <https://www.sqlite.org/lang_UPSERT.html > for official SQLite documentation.
2022-10-16 16:34:13 +00:00
link2xt
54a157a629
Prepare 1.97.0 release ( #3668 )
2022-10-16 15:08:55 +02:00
link2xt
f0dede26a3
cargo fmt
2022-10-16 11:30:01 +00:00
link2xt
f80c78536f
fix unused result error
2022-10-15 13:11:53 +00:00
link2xt
6f329c9e96
Fix unix timestamp used for daymarker
2022-10-12 18:38:03 +00:00
link2xt
b85f6ea6c3
contact: do not ignore SQL errors in add_or_lookup
2022-10-11 16:42:17 +00:00
link2xt
8b6290120e
Create bob with new_bob(), not new_alice()
2022-10-09 22:51:37 +00:00
link2xt
9277b46620
Suppress welcome device messages after account import
...
Add dummy `devmsglabels` entries on import to avoid welcome messages
being added when user runs reconfiguration on imported account.
2022-10-02 21:55:27 +00:00
link2xt
261926222b
Use anyhow::Result in stock_str.rs
2022-10-02 20:49:45 +00:00
link2xt
35cfefd934
Share stock strings across accounts
...
All contexts created by the same account manager
share stock string translations. Setting translation on
a single context automatically sets translations for all other
accounts, so it is enough to set translations on the active account.
2022-10-02 19:12:04 +00:00
link2xt
17276179e7
python: fix test_getinfo after bcc_self default change
2022-09-25 10:29:48 +00:00
link2xt
335d780f3e
Fix Python test for bcc_self
2022-09-25 10:09:26 +00:00
link2xt
450d113993
Fix Rust 1.64 clippy warnings and tests
2022-09-25 03:17:00 +00:00
link2xt
ffe7216194
Emit per-message events for expired messages
...
Instead of emitting single MsgsChanged event
with zero chat and msg IDs, emit one event per message.
Also emit WebxdcInstanceDeleted event if expired message
contains a webxdc.
2022-09-17 21:23:47 +00:00
link2xt
474eb7cbc8
Fix changelog PR reference
2022-09-17 17:51:33 +00:00
link2xt
252b528f40
Update "How messages are deleted" documentation
...
"IMAP folder and UID information" is no longer stored
in the `msgs` table since creation of the `imap` table.
As a result `msgs` table entries do not contain UID information in the
first place.
This commit updates documentation to reflect this change and also
points to `prune_tombstones()` procedure which actually deletes `msgs`
rows.
2022-09-17 17:18:53 +00:00
link2xt
569628a202
Release 1.94.0
2022-09-16 23:02:05 +00:00
link2xt
c75bc66560
Make initiate_key_transfer() non-blocking
2022-09-16 22:03:25 +00:00
link2xt
5b518e588f
Remove StockMessage.action_by_contact() ( #3518 )
...
Use separate strings for "... by me" and "... by contact"
to make them easier to translate.
2022-09-11 20:38:34 +02:00
link2xt
40dc182295
python: move get_dc_event_name() to events
2022-09-10 21:22:38 +00:00
link2xt
3cf1aad551
node: npm run build:core:constants
2022-09-10 19:55:51 +00:00
link2xt
4b91a88bc9
Do not prepend subject to mailing list chat messages ( #3253 )
2022-09-05 08:12:33 +00:00
link2xt
5663b1c539
Add defines for backward compatibility
2022-08-28 21:19:53 +00:00
link2xt
c68a4543db
Remove dc_accounts_event_emitter_t
...
Use dc_event_emitter_t instead.
2022-08-28 20:47:41 +00:00
link2xt
88dc8a389a
Update Cargo.lock
2022-08-28 20:47:27 +00:00
link2xt
e7b6c689ce
Keep deltachat-jsonrpc version in sync
2022-08-28 17:30:20 +00:00
link2xt
977a8cf33f
python: remove unused setup.cfg
2022-08-22 00:11:01 +00:00
link2xt
db496b82fb
Add --features jsonrpc to scripts/run_all.sh
...
Python wheels cannot be built without it
as they expect everything defined in deltachat.h
to be in the C library.
2022-08-22 00:10:30 +00:00
link2xt
9d578884f9
Test that no notifications are displayed for blocked mailing lists
2022-08-20 14:12:30 +00:00
link2xt
84ae27744a
test_utils: add EventTracker.conusme_events()
2022-08-20 14:12:22 +00:00
link2xt
54df44d930
test_utils: implement Deref and DerefMut for EventTracker
2022-08-20 14:12:05 +00:00
link2xt
f79b16c244
Do not emit notifications for blocked chats
2022-08-20 13:56:09 +00:00
link2xt
839021f9eb
python: enable certificate checks in cloned accounts
2022-08-15 14:40:33 +00:00
link2xt
8b2ece63ab
scripts/coverage.sh: enable -Cdebuginfo=2
...
It is needed to generate .gcno and .gcda files.
Debug info has been disabled in a8c389c3b4
which broke coverage script.
2022-08-14 18:37:12 +00:00
link2xt
14045a6162
ci: error on clippy warnings and check repl
2022-08-14 19:54:32 +02:00
link2xt
c0d1c97490
Simplify provider update script with pathlib
2022-08-13 13:57:44 +00:00
link2xt
50e53f2c82
node: remove unused segfault.js and segfault2.js files
2022-08-08 21:59:04 +00:00
link2xt
95a9f1e2f8
Build with jsonrpc in install_python_bindings.py
...
Python bindings expect all functions defined in deltachat.h
to be available, even if there is no high-level interface.
scripts/run-python-test.sh doesn't work without this.
2022-08-06 21:00:55 +00:00
link2xt
355f18184c
Remove unnecessary context binding to self
2022-08-06 19:50:22 +00:00
link2xt
120a96cd8b
Factor decrypt module out of e2ee module
2022-08-06 17:02:56 +00:00
link2xt
64b534fc61
Update rustyline to 10.0.0
2022-08-06 13:33:35 +00:00
link2xt
5f97cf9de1
mergeable: do not require changelog for deltachat-ffi/Cargo.lock
2022-08-02 18:20:14 +00:00
link2xt
64dd2f4af6
Prepare release 1.91.0
2022-07-26 09:53:33 +02:00
link2xt
d72cf3fb43
mimeparser: set is_system_message for "group image changed" messages
2022-07-24 13:05:14 +00:00
link2xt
5920c5c136
Update scripts README
...
`coredeps` dockerfile is not outdated.
Add `run_all.sh` description.
2022-07-23 16:17:08 +00:00
link2xt
a60da6deac
Simplify scripts/run_all.sh
...
We install `tox` via `pipx` in `Dockerfile`, there is no need to
configure path to `python3.7`.
Also remove use of `pushd`/`popd` and switch from `bash` to `/bin/sh`.
2022-07-23 16:11:01 +00:00
link2xt
aef19cb0e0
Simplify ratelimiting
2022-07-23 14:25:27 +00:00
link2xt
cddd38cdff
ci: build python wheels for musl-aarch64
2022-07-17 11:54:53 +00:00
link2xt
9926804f1b
ratelimit: do not overflow leaky bucket
...
This way the time to wait until next message can
be sent is always limited.
2022-07-14 20:03:16 +00:00
link2xt
294d8862e4
Do not treat non-failed DSNs as NDNs
2022-07-14 20:01:45 +00:00
link2xt
d09be1f7e3
python: don't build wheels for dependencies
2022-07-14 14:39:39 +02:00
link2xt
ed5fc820c2
python: move most of setup.py to pyproject.toml
2022-07-14 14:39:39 +02:00
link2xt
248d9600c5
python: remove fail_test.py
...
It was added in 11fa60d690
2022-07-12 00:46:28 +00:00
link2xt
cfadf20d08
Skip missing Python interpreters in scripts/run_all.sh
...
musllinux images miss PyPy interpreters,
we want to skip building PyPy wheels for musl
instead of failing the build.
Also remove workaround from CI scripts.
2022-07-10 23:15:51 +00:00
link2xt
32eb016ee7
mimeparser: do not squash NDN text parts into attachments
...
Text part usually contains an error message that we want to display in
the UI.
2022-07-10 18:18:45 +00:00
link2xt
2e009d1327
Add PR number to changelog
2022-07-10 14:22:29 +00:00
link2xt
797b9fb087
ci: do not modify run_all.sh in-tree
...
This changes the version of built wheels.
2022-07-10 13:03:53 +00:00
link2xt
39ae44dbf0
rustfmt
2022-07-09 22:27:42 +00:00
link2xt
c9a1ebf257
Collapse match patterns
2022-07-09 22:24:51 +00:00
link2xt
f5c5429fe8
Do not build PyPy wheels on musllinux
...
musllinux images don't have PyPy installed
2022-07-09 21:35:24 +00:00
link2xt
fe420ac559
Release 1.89.0
2022-07-09 19:51:36 +00:00
link2xt
88402288f9
Update Python bindings README
...
Wheels are now published to PyPI, recommend it instead of devpi. We
build the wheels only for releases anyway.
Suggest using tox instead of listing all the pytest dependencies to
avoid keeping them up to date in the readme.
We no longer publish `docker/coredeps` images, they cannot be
pulled from a container registry anymore.
Troubleshooting section is outdated, because vsyscall emulation is
only needed for manylinux2010 images, not manylinux2014 or
musllinux_1_1 images.
Mention Podman as an alternative to Docker.
Link to https://py.delta.chat/ instead of only examples.
Remove note about wheels for Mac and Windows. Nobody requests them
anyway.
2022-07-09 19:50:44 +00:00
link2xt
64b4d421c7
Make scripts/set_core_version.py executable
2022-07-09 19:42:03 +00:00
link2xt
6ae278f735
cargo fmt
2022-07-09 19:25:04 +00:00
link2xt
0b2c3ee163
Use as_deref() instead of unwrapping Option
2022-07-09 19:25:04 +00:00
link2xt
d9003f344e
tox.ini: do not pass through unused TRAVIS environment variable
2022-07-09 13:17:36 +00:00
link2xt
50c398c2cc
Remove bashism in doxygen CI script
2022-07-07 00:24:11 +00:00
link2xt
4a6a08578f
Cleanup doxygen CI
...
Remove unused docker-doxygen Dockerfile.
Switch scripts/run-doxygen.sh from bash to sh.
Use docker.io/alpine image instead of unsupported hrektts/doxygen
2022-07-07 00:31:57 +00:00
link2xt
4f2c68e5a4
Accept more error variants in nicer_configuration_error
...
musl libc returns "failed to lookup address information: Name does not resolve" in some cases.
2022-07-06 22:58:56 +00:00
link2xt
e149cd7afe
Release 1.88.0
2022-07-06 01:46:26 +00:00
link2xt
ae8e81ceb2
node: remove unused finalize_account function
2022-07-04 08:19:11 +00:00
link2xt
ece5eb065a
location: don't ignore KML parsing errors
2022-07-03 20:11:12 +00:00
link2xt
5078ca6d8e
Remove unnecessary as_deref()
2022-07-03 10:20:57 +00:00
link2xt
ddf9f0cd93
Add PyPy support
...
Run CI against PyPy and build PyPy wheels.
2022-07-03 09:33:35 +00:00
link2xt
75f0537181
ci: update setup-python action
2022-07-03 09:33:22 +00:00
link2xt
c6a47e359f
Configure movebox folder by selecting it
...
Don't use LIST so DeltaChat folder can be configured even if it is
hidden, for example by ACL [1].
[1] https://datatracker.ietf.org/doc/html/rfc4314
2022-07-03 09:29:16 +00:00
link2xt
51aead6b58
Add support for IMAP ID extension
2022-07-03 09:13:56 +00:00
link2xt
26e802cf0f
Fix trim_split_whitespace clippy lint
2022-06-30 20:56:26 +00:00
link2xt
a467ca22fb
Disable new format_push_string clippy lint
2022-06-30 20:47:01 +00:00
link2xt
14421c6e00
Move changelog item to the correct section
2022-06-27 12:08:31 +00:00
link2xt
997fb4061a
Build musl wheels
2022-06-26 23:09:42 +00:00
link2xt
92b38cebe4
Fixup run_all.sh
2022-06-26 23:02:53 +00:00
link2xt
8ebe86d9e9
Release 1.87.0
2022-06-26 22:18:47 +00:00
link2xt
f23fa1c9d3
Fix path to coredeps in concourse pipeline
2022-06-26 11:47:05 +00:00
link2xt
5053a22f96
Use single universal coredeps Dockerfile
2022-06-26 11:40:19 +00:00
link2xt
0291094c62
Install tox into arm64 coredeps image
...
fixup for 0d1afe0938
2022-06-25 21:35:24 +00:00
link2xt
548335082b
Use AUDITWHEEL_PLAT variable
...
manylinux images set AUDITWHEEL_PLAT variable
which is used as a default --plat value by auditwheel.
2022-06-25 21:13:07 +00:00
link2xt
a36885e886
node: fix typo in test name
2022-06-25 19:15:00 +00:00
link2xt
0d1afe0938
Simplify arm64 coredeps
...
Similar to parent x86_64 commit.
2022-06-25 18:46:22 +00:00
link2xt
7969249d89
Simplify x86_64 coredeps dockerfile
...
Don't build our own Perl and OpenSSL.
manylinux container already has recent Perl and we use vendored OpenSSL.
2022-06-25 18:18:29 +00:00
link2xt
52fc973ead
scripts/run_all.sh cleanup
...
There is no need to add symlinks to /bin,
/usr/local/bin containing all python versions
is already in the PATH of manylinux container.
2022-06-25 16:59:00 +00:00
link2xt
96f53f5cd2
ci: replace vito/oci-build-task with concourse/oci-build-task
...
It has been moved to https://github.com/concourse/oci-build-task
2022-06-25 16:56:39 +00:00
link2xt
f234bc19a1
node: stop IO on unref only if we own event loop
...
Otherwise unrefing context stops its IO even
when we use account manager, e.g. in desktop client.
2022-06-24 23:30:07 +00:00