bjoern
7f97768c56
prepare 1.68 ( #2844 )
...
* update changelog for 1.68.0
* bump version to 1.68.0
py-1.68.0
1.68.0
2021-11-28 12:22:14 +01:00
dependabot[bot]
ecd548a7aa
Merge pull request #2829 from deltachat/dependabot/cargo/libc-0.2.108
2021-11-27 19:03:56 +00:00
dependabot[bot]
62efb0795b
Merge pull request #2830 from deltachat/dependabot/cargo/anyhow-1.0.48
2021-11-27 19:03:22 +00:00
bjoern
53f042ee08
tweak qr svg ( #2842 )
...
* repl: allow groupname arguments with more than one word (came over that when testing qr codes)
* calcualte text-size from the real number of lines
* shift text and watermark apart when text get longer
* make clippy happy
2021-11-27 18:57:46 +01:00
link2xt
6ce97bd0cd
Merge fixes for chat assignment when forwarding messages
...
GitHub PR #2843
2021-11-27 00:00:00 +00:00
link2xt
c29149e74c
Add group forwarding test
2021-11-27 00:00:00 +00:00
link2xt
487f7593ce
Reset In-Reply-To when forwarding a message
2021-11-27 00:00:00 +00:00
link2xt
6b3b33d2a0
Test forwarded quoted messages
2021-11-27 00:00:00 +00:00
link2xt
2d70ccc2bf
Do not return a quoted message for forwarded messages
...
For forwarded messages, parent message is not a quoted message.
2021-11-27 00:00:00 +00:00
link2xt
e90fc9504a
Test get_parent_message
2021-11-27 00:00:00 +00:00
link2xt
5108314c03
Do not return trashed messages from get_rfc724_mid_in_list
...
This function is used to lookup the chat by `References` and
`In-Reply-To` header, so it does not make sense to return trashed
message when there is another non-trashed message in one of these
headers with a real chat ID.
2021-11-27 00:00:00 +00:00
dependabot[bot]
c1e144d4db
cargo: bump serde_json from 1.0.71 to 1.0.72
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.71...v1.0.72 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-25 21:11:40 +00:00
Hocuri
f2b86a1c0f
Update aeap-mvp.rst
2021-11-25 16:18:30 +01:00
Hocuri
9583d41446
Add a draft how an AEAP MVP could look
2021-11-25 16:18:30 +01:00
dependabot[bot]
e594064f93
cargo: bump anyhow from 1.0.47 to 1.0.48
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.47...1.0.48 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-25 14:30:59 +00:00
bjoern
7c52fd95ec
prepare 1.67 ( #2838 )
...
* update changelog for 1.67.0
* bump version to 1.67.0
py-1.67.0
1.67.0
2021-11-25 15:29:10 +01:00
dependabot[bot]
d0d5ac6e87
cargo: bump strum_macros from 0.23.0 to 0.23.1
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-24 22:24:41 +00:00
Simon Laux
416bf3a829
generate qr code svg ( #2815 )
...
* generate qr code svg prototype
* qr code for groups
fix formatting
* - letter avatar in qrcode
- escape xml in userinput (display/groupname)
- fix "Me" display name
- merge import declarations
* remove dot at the end of VerifyContactQRDescription
* if addr == displayname, show only one of them
Especially useful for yggmail accounts without usernames,
because the text would overflow otherwise.
* use real clipPath for rounded avatar
* - center avatar text better (dominant-baseline)
- add "sans-serif" to font fallback for text if arial is missing
* make corner always blue
* add [logo + "get.delta.chat"] footer to qrcode
* Update deltachat-ffi/deltachat.h
Co-authored-by: bjoern <r10s@b44t.com >
* Apply suggestions from code review
Co-authored-by: bjoern <r10s@b44t.com >
* new card design
- add stockstrings
- update changelog
* make qrcode pixels also #f2f2f2 instead of full white
* rename VERIFY_CONTACT_QR_DESC to SETUP_CONTACT
make footer text a tiny bit darker upon r10s's request
* avoid using which is a doxygen command
* point out that one will join a group (this is still shorted and was also suggested in recent chats)
* add option to generate qr-code-svg to repl tool
* use same font-family in text and footer
* thinner card border
* remove superfluous <tspan> from footer to make color tweaking easier
* move font-weight to style, ios renderer does not pick it up from attribute; remove default font attributes not used consequently
* make get.delta.chat more visible
* align properly using dominant-baseline=central and alignment-baseline=middle, this makes things nice on all systems but android (before, ios was wrong and all others not 100% aligned as font metrics are ignored) (android needs a subsequent improvement)
Co-authored-by: bjoern <r10s@b44t.com >
2021-11-24 23:23:01 +01:00
dependabot[bot]
cc78347293
Merge pull request #2834 from deltachat/dependabot/cargo/futures-0.3.18
2021-11-23 23:22:46 +00:00
dependabot[bot]
27e4ae992a
cargo: bump futures from 0.3.17 to 0.3.18
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.17 to 0.3.18.
- [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.17...0.3.18 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-23 21:15:34 +00:00
bjoern
a1767dc153
prepare 1.66 ( #2831 )
...
* update changelog for 1.66.0
* bump version to 1.66.0
* also mention Contact.last_seen python api
py-1.66.0
1.66.0
2021-11-23 11:40:15 +01:00
dependabot[bot]
eb610c27bf
cargo: bump libc from 0.2.107 to 0.2.108
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.107 to 0.2.108.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.107...0.2.108 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-22 21:11:56 +00:00
link2xt
016fb2ceb2
Remove indexmap dependency
...
`indexmap` is a large dependency (4K SLoC) containing `unsafe` code.
Contact IDs are now passed around as a Vec<u32> or &[u32].
QUOTA roots are now sorted by name instead of perserving original order.
2021-11-22 16:40:06 +01:00
link2xt
5c571520a0
contact: use last_seen column
...
It was there since the C core, labeled with "/* last_seen is for
future use */" but never actually used. The comment was lost during
the translation from C to Rust.
2021-11-21 21:14:17 +03:00
link2xt
ddefd2cf09
python: add cutil.from_optional_dc_charpointer()
...
`cutil.from_dc_charpointer()` is guaranteed to return `str`, while
`cutil.from_optional_dc_charpointer()` may return `None` if C function
returns `NULL`.
2021-11-21 20:00:29 +03:00
dependabot[bot]
30a3eeece8
cargo: bump strum_macros from 0.22.0 to 0.23.0
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-20 12:20:36 +01:00
dependabot[bot]
5919388588
cargo: bump libc from 0.2.106 to 0.2.107
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.106 to 0.2.107.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.106...0.2.107 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-20 12:16:18 +01:00
dependabot[bot]
2cc738f481
cargo: bump strum from 0.22.0 to 0.23.0
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-20 11:44:57 +01:00
dependabot[bot]
babd405928
cargo: bump serde_json from 1.0.69 to 1.0.71
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.69 to 1.0.71.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.69...v1.0.71 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-20 11:44:21 +01:00
link2xt
e885857875
Remove pretty_assertions dependency
...
It was only used in two places. Rather than adding `use
pretty_assertions::*` everywhere, it's easier to remove, and it
removes two additional dependency crates.
2021-11-20 11:42:52 +01:00
link2xt
a1d57a2645
Disable unnecessary proptest features
2021-11-20 11:42:52 +01:00
link2xt
a28aecd4d1
Update sqlite dependencies
2021-11-20 11:42:52 +01:00
link2xt
a3f1ff2827
Disable xattr feature on async-tar
...
This removes `xattr` dependency
We only care about backed up file contents, not attributes.
2021-11-20 11:42:52 +01:00
link2xt
c4d1a639b0
Remove itertools dependency
...
Collecting into Vec of &str and joining may even be faster according
to benchmarks:
https://gist.github.com/green-s/fbd0d374b290781ac9b3f8ff03e3245d
2021-11-20 11:42:52 +01:00
dependabot[bot]
8732b7a55c
cargo: bump anyhow from 1.0.45 to 1.0.47
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.45 to 1.0.47.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.45...1.0.47 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-20 11:42:34 +01:00
Hocuri
1b9148f28e
Add section comments to get_connectivity_html() ( #2807 )
2021-11-18 10:13:47 +01:00
Hocuri
e0129c3b43
Don't set draft after creating group ( #2805 )
...
* Don't set draft after creating group
* Remove DC_STR_NEWGROUPDRAFT, add note to Changelog
* Fix the (Rust) test
* Also fix python test
2021-11-16 10:44:30 +01:00
link2xt
60d41022ea
scripts: switch from python 3.6 to python 3.7
...
PEP 562 (__getattr__ in deltachat.const module) is implemented only since python 3.7
2021-11-14 00:00:00 +00:00
bjoern
dd4f2ac671
prepare 1.65 ( #2812 )
...
* update changelog for 1.65.0
* bump version to 1.65.0
py-1.65.0
1.65.0
2021-11-15 14:51:28 +01:00
bjoern
eebb2a3b68
do not assume 'no ephemeral timer' on partial downloads ( #2811 )
...
* do not assume 'no ephemeral timer' on partial downloads
* add a test to check that ephemeral timers are not disabled on partial downloads
2021-11-15 11:45:06 +01:00
link2xt
0d62069b67
python: add mypy support and some type hints
...
`deltachat.const` module now defines `__getattr__` and `__dir__` as
suggested by https://www.python.org/dev/peps/pep-0562/
mypy detects that `__getattr__` is defined and does not show errors
for `DC_*` constants which cannot be detected statically.
mypy is added to `tox.ini`, so type check can be run with `tox -e mypy`.
2021-11-14 11:06:44 +03:00
link2xt
56cf2e6596
Replace error! on verification failure with warn!
...
A message is added into 1:1 chat anyway, and user does not know what `StockMessage::ContactNotVerified` means.
2021-11-14 02:02:23 +03:00
Simon Laux
59bd5481b9
fix 1.61.0 changelog ( #2806 )
2021-11-13 22:06:29 +01:00
Hocuri
6c8da526a0
Fix: Only show the "Cannot login" device message if it's actually authentication that failed ( #2804 )
...
Generally we could also just remove the device message as we have the
connectivity view, OTOH if you are not using DC a lot, it may be useful
to be notified without opening DC.
And apart from this one bug it's working fine.
2021-11-13 19:20:01 +01:00
link2xt
13bc8b78d7
python: enable isolated build in tox.ini
...
This makes tox install build system configured in pyproject.toml
according to PEP 518 rather than assuming setuptools.
2021-11-13 03:45:58 +00:00
link2xt
c7c68094d9
setup.py: restore compatibility with setup.py sdist command
...
Otherwise source package with version 0.0.0 is created.
2021-11-12 23:41:17 +00:00
bjoern
84f54b10dc
prepare 1.64 ( #2802 )
...
* update changelog for 1.64
* bump version to 1.64.0
py-1.64.0
1.64.0
2021-11-11 16:45:30 +01:00
bjoern
cebc9e3e91
add 'waiting for being added to the group' only for group-joins ( #2797 )
...
* add 'waiting for being added to the group' only for group-joins, not for setup-contact
* add a comment why the message is not added on setup-contact
2021-11-07 20:30:55 +01:00
link2xt
5b131cf77c
Do not generate QR codes for ad-hoc groups
2021-11-07 15:55:47 +00:00
link2xt
ce6ec64069
Do not assign group IDs to ad hoc groups
2021-11-07 15:55:47 +00:00