Hocuri
2e3352afca
fix #1953 by cargo update (esp. update async-io to 1.1.6)
2020-10-02 12:39:27 +02:00
Alexander Krotov
9667859410
deltachat.h: fix a typo
2020-10-02 03:33:04 +03:00
Alexander Krotov
b437ab86d1
Fix a typo: "probram"
2020-10-02 03:24:24 +03:00
Hocuri
1fdb697c09
Export to the new backup format ( #1952 )
2020-10-01 19:25:02 +02:00
Jikstra
7200e62375
Mention in dc_event_get_data2_str method that it can also return 0 ( #1955 )
...
* Mention in dc_event_get_data2_str method that it can also return 0
* Update deltachat-ffi/deltachat.h
Co-authored-by: bjoern <r10s@b44t.com >
Co-authored-by: bjoern <r10s@b44t.com >
2020-10-01 13:37:04 +02:00
Friedel Ziegelmayer
7ddf3ba754
Merge pull request #1950 from deltachat/update-async-std
...
update async-std to 1.6.5
2020-09-29 14:00:33 +02:00
Friedel Ziegelmayer
7786a4ced4
fix: avoid manual poll impl for accounts events
2020-09-29 14:00:10 +02:00
dignifiedquire
c649db15b6
update async-std to 1.6.5
...
making sure latest bug fixes are in
2020-09-28 21:40:49 +02:00
Alexander Krotov
60a8b47ad0
e2ee: require quorum to enable encryption
...
Previously, standard Autocrypt rule was used to determine whether
encryption is enabled: if at least one recipient does not prefer
encryption, encryption is disabled.
This rule has been problematic in large groups, because the larger
is the group, the higher is the chance that one of the users does not
prefer encryption.
New rule requires a majority of users to prefer encryption. Note that it
does not affect 1:1 chats, because it is required that *strictly* more
than a half users in a chat prefer encryption.
2020-09-27 23:38:06 +03:00
Alexander Krotov
0344bc387c
Add encryption preference test
2020-09-27 23:38:06 +03:00
bjoern
0f1798ae50
Merge pull request #1948 from deltachat/clarify-str-unref
...
clarify dc_str_unref()
2020-09-26 23:12:24 +02:00
Hocuri
02baf4b1f0
Show some inner errors (do not hide them with .context) ( #1916 )
2020-09-26 22:48:47 +02:00
B. Petersen
9fb2c59b6e
clarify dc_str_unref()
2020-09-26 18:01:41 +02:00
Alexander Krotov
9121e30600
param: escape newlines in values
...
Newlines are escaped by repeating them.
This encoding is compatible to existing values, because they do not
contain newlines.
2020-09-26 07:01:39 +03:00
bjoern
39d8cffe18
Merge pull request #1943 from deltachat/fix-doxygen-warnings
...
fix doxygen warnings
2020-09-26 01:36:07 +02:00
B. Petersen
9486c67904
remove obsolete TCL_SUBST from Doxyfile
...
fix warnings as
Tag 'TCL_SUBST' at line N of file 'Doxyfile' has become obsolete.
2020-09-25 23:27:20 +02:00
B. Petersen
29c4bbab2b
do not use '@return' on void functions
...
partly, we wrote '@return None.' for void functions,
however, some linter complain about that (recently swift)
and they're right, it does not make much sense.
2020-09-25 23:27:20 +02:00
bjoern
9a80385278
Merge pull request #1942 from deltachat/add-msgs-seen-event
...
split DC_EVENT_MSGS_NOTICED off DC_EVENT_MSGS_CHANGED, remove dc_marknoticed_all_chats()
2020-09-25 21:41:10 +02:00
B. Petersen
f0fb1bfdcb
make clippy happy
2020-09-24 14:36:04 +02:00
B. Petersen
ab90b6b390
emit multiple events if messages given to dc_markseen_msgs() belong to different chats
2020-09-24 14:05:34 +02:00
B. Petersen
e9733e7525
always set chat_id on DC_EVENT_MSGS_NOTICED
2020-09-24 12:21:18 +02:00
B. Petersen
f3c7d2f9c6
remove unused function dc_marknoticed_all_chats()
2020-09-24 11:36:40 +02:00
B. Petersen
b5e1b1a2d2
test for DC_EVENT_MSGS_NOTICED
2020-09-24 11:36:40 +02:00
B. Petersen
5c1b69c3c5
if possible, set chat_id in DC_EVENT_MSGS_NOTICED even emitted by dc_markseen_msgs()
2020-09-24 11:36:40 +02:00
B. Petersen
12bc364e42
split DC_EVENT_MSGS_NOTICED off DC_EVENT_MSGS_CHANGED
...
the new event can be used for updating the badge counter.
to get the old behaviour, implementations can just do the same on both events.
2020-09-24 11:36:39 +02:00
Hocuri
879bd7e35e
Improve sentbox name guessing
2020-09-24 10:25:32 +02:00
bjoern
81b0b24114
Merge pull request #1940 from deltachat/update-provider-db-2020-09-22
...
update provider-database
2020-09-23 14:11:49 +02:00
B. Petersen
2095962466
update provider-database
...
executed `python3 src/provider/update.py ../provider-db/_providers/ > src/provider/data.rs`
2020-09-22 10:35:04 +02:00
Friedel Ziegelmayer
0c03024b97
feat: update dependencies
...
* feat: update dependencies
updates
- pgp
- async-std
- surf
- mailparse
* simplify dev deps
* more deps
* fixup
* fixup
2020-09-21 23:53:53 +02:00
bjoern
cd990039bd
Merge pull request #1911 from deltachat/fix_error_asm
...
Tune down error event on failed dc_continue_key_transfer to a warn
2020-09-21 18:27:40 +02:00
bjoern
184f303b54
Merge pull request #1938 from deltachat/summary-regexp
...
get_summarytext_by_raw: drop leading and trailing whitespace
2020-09-21 18:26:45 +02:00
Hocuri
637d2661e8
Show better errors when configuring ( #1917 )
...
* Show all errors when configuring
* Shorten some overly long msgs
2020-09-21 15:06:33 +02:00
B. Petersen
987eaae0c1
tweak ephemeral ffi documentation
...
add some crosslinks, clarify when the timer is started,
and avoid mixing "ephemeral" with "delete old messages".
2020-09-21 00:40:21 +03:00
Alexander Krotov
fc0e88539a
get_summarytext_by_raw: drop leading and trailing whitespace
...
Also remove unnecessary use of regexp.
2020-09-20 23:51:52 +03:00
Alexander Krotov
c124eadf9d
Emit chat modification event on contact rename
2020-09-20 00:45:36 +03:00
B. Petersen
423c0dc808
fix doc for DC_EVENT_CONTACTS_CHANGED
2020-09-19 23:00:57 +03:00
Alexander Krotov
97b1a1c392
Set contact ID in event related to contact blocking
2020-09-19 22:01:45 +03:00
Alexander Krotov
fe1c99c5e8
Set contact ID in ContactsChanged on modification
2020-09-19 22:01:45 +03:00
Alexander Krotov
332a387c98
Fix nightly clippy warnings
2020-09-19 17:49:32 +03:00
Alexander Krotov
92b304dee4
Fix nightly warnings about unused attributes
2020-09-19 16:08:45 +03:00
bjoern
92abae0b5b
Merge pull request #1901 from deltachat/validate-system-date
...
add device-message on bad system clock or on outdated app
2020-09-19 13:41:17 +02:00
bjoern
81db6e3ee2
Merge pull request #1927 from deltachat/newacc-transaction
...
sql: create new accounts in one transaction
2020-09-19 13:22:28 +02:00
B. Petersen
af67e798fb
warn about outdated app
2020-09-19 12:40:03 +02:00
B. Petersen
4090120041
make sure, new added device messages are always at the end of the chat
2020-09-19 12:40:02 +02:00
B. Petersen
49f07421ec
add a test that checks maybe_warn_on_bad_time() adds a new message only every day
2020-09-19 12:40:02 +02:00
B. Petersen
7b38d6693d
add a device-message if the system clock seems to be inaccurate
2020-09-19 12:40:02 +02:00
B. Petersen
277bbfaead
add a function to get the timestamp of the last provider-db update
2020-09-19 12:40:02 +02:00
bjoern
f8d7242079
Merge pull request #1933 from deltachat/macos
...
ci: disable macOS
2020-09-19 11:51:38 +02:00
Alexander Krotov
498880d874
ci: disable macOS
2020-09-19 03:19:48 +03:00
Alexander Krotov
4573e6d18b
ci: set huponexit for inner bash processes
...
Followup for aae8163696
2020-09-18 23:42:32 +02:00