B. Petersen
cbaa4e03b3
basic devicetalk implementation
2019-11-06 13:33:30 +01:00
B. Petersen
50539465b9
prototype a device-chat
2019-11-06 13:33:30 +01:00
B. Petersen
be08bcb22b
rename DC_CONTACT_ID_DEVICE to DC_CONTACT_ID_INFO to be in-line with dc_msg_is_info()
2019-11-06 13:33:30 +01:00
holger krekel
dcd92a894e
fix export: write backup_time to the destination not the source sql file
...
and perform slightly cleaner teardown in python
2019-11-06 13:26:32 +01:00
holger krekel
6336eeb568
better error on has_backup() failing
2019-11-06 13:26:32 +01:00
holger krekel
6b18cbda1f
refine dc_copy along the lines @flub did for blobstore
2019-11-06 13:26:32 +01:00
Alexander Krotov
cf023ea557
sql: remove unnecessary ? in prepare() and prepare2()
2019-11-06 13:26:03 +01:00
Alexander Krotov
51a804a80f
location: use "bool" for "independent" argument
2019-11-06 14:17:59 +03:00
B. Petersen
1a33b1c574
bump version
1.0.0-beta.7
2019-11-05 17:04:44 +01:00
B. Petersen
67e2e4d415
target comment of @hpk42
2019-11-04 13:20:35 +01:00
B. Petersen
8c2efa707a
name special contact-ids where easily possible
...
the point of this pr is to get an overview
how and where DC_CONTACT_ID_DEVICE is used,
to prepare introducing a device-"chat".
i did not change the sql statements for now
as this would require some more refactoring
and has the potential to introduce bugs.
2019-11-04 13:20:35 +01:00
B. Petersen
87abc6e4a2
adapt wording
2019-11-03 21:36:40 +01:00
B. Petersen
0ea017c53d
add repl command for testing interrupt-idle
2019-11-03 21:36:40 +01:00
B. Petersen
b9c7510b58
use boolean for jobs_needed
2019-11-03 21:36:40 +01:00
holger krekel
01e7caf65a
use job_id as mail_id for SendableEmail -- it's only an internal id and job_id is unique enough.
2019-11-03 21:36:01 +01:00
holger krekel
1cfeb730c3
try to fix some smtp todos and do better error logging
2019-11-03 21:36:01 +01:00
Floris Bruynooghe
a3b90a08b6
Copy the file contents manually
...
Before we created an empty file and asked the OS to copy the file.
The OS is very good at this so this is a good idea generally. However
it seems that in some cases, possibly an Android Dowload folder, we
might be able to create a file but not overwrite it. Thus refactor
this a bit so we are copying the file ourselves.
There are no new tests here since the behaviour remains identical.
The good news is that the existing tests were good enough to catch
some bugs already.
2019-11-03 20:16:56 +01:00
holger krekel
31571be71e
add account.get_chat_by_id API
2019-11-03 20:14:57 +01:00
holger krekel
661fc45106
split "chatting.py" into "contact.py" and "chat.py" to be more reminiscent of the core-rust structure
2019-11-03 20:14:57 +01:00
holger krekel
da64dee3e0
start a changelog for the yet untagged beta.7
2019-11-03 01:32:49 +01:00
holger krekel
cb00f5da79
fix #786 by always succeeding to create a canonical deterministic message-id -- thanks @csb0730 for the analysis of the issue
2019-11-03 01:28:45 +01:00
B. Petersen
e1df41c209
fix tests
2019-11-03 01:19:29 +01:00
B. Petersen
3b64748427
add proptest-regression file
2019-11-03 01:19:29 +01:00
B. Petersen
70cef68eeb
display failed messages
2019-11-03 01:19:29 +01:00
holger krekel
c5f64d2988
address @link2xt comments
2019-11-03 00:21:27 +01:00
holger krekel
4eb068613d
extend and fix python/test side of location streaming
2019-11-03 00:21:27 +01:00
holger krekel
d774430ec2
simplify location parsing
2019-11-03 00:21:27 +01:00
holger krekel
d24a982757
fix various location-streaming issue, test passes now
2019-11-03 00:21:27 +01:00
holger krekel
d74c70a57c
fix and streamline location-outgoing pipeline
2019-11-03 00:21:27 +01:00
holger krekel
a6f0f78588
addresses #757 test and add location streaming python api
2019-11-03 00:21:27 +01:00
B. Petersen
e6d9991581
fix conversion from nanoseconds to milliseconds
...
1_000_000 nanosecond = 1 millisecond
2019-11-02 15:22:27 +01:00
B. Petersen
ec8dbddcfb
tweak ffi documentation wrt certificate checks
2019-11-01 18:06:01 +01:00
B. Petersen
bc699f17d9
avoid usage of get_subtitle() in repl-tool, remove dc_chat_get_subtitle() from documentation.
2019-11-01 13:19:47 +01:00
B. Petersen
832df41130
target comments of @hpk42 and @flub
2019-11-01 00:46:48 +01:00
B. Petersen
5709681076
streamline as_path_unicode(), delete unused as_str() and as_str_safe()
2019-11-01 00:46:48 +01:00
B. Petersen
858baf0c2c
prefer to_opt_string_lossy() over as_opt_str() as the latter pancis on non-wellformatted utf-8, delete as_opt_str()
2019-11-01 00:46:48 +01:00
B. Petersen
e4b3e23769
prefer to_string_lossy() over as_str() as the latter pancis on non-wellformatted utf-8
2019-11-01 00:46:48 +01:00
holger krekel
8ce05796da
ensure that especially qr tests are rerun
2019-10-31 23:31:09 +01:00
holger krekel
7f8c6d8cca
some more display refinements
2019-10-31 23:31:09 +01:00
holger krekel
75ba040531
more error logging with file operations in general
2019-10-31 23:31:09 +01:00
Floris Bruynooghe
faa78e1c04
At least log the error
2019-10-31 22:38:32 +01:00
Floris Bruynooghe
b264d3be3c
Be more accepting in creating blobs from existing names
...
This is an additional fix for #768 aka
commit eac8ad8369
2019-10-31 20:05:09 +01:00
holger krekel
80d7e84e5d
prepare 1.0.0-beta.6
1.0.0-beta.6
2019-10-31 12:34:03 +01:00
B. Petersen
4e37610f21
fix boolean error in chatlist::get_msg_id()
...
the error led to unusable contact requests,
at least on android and ios (probably also desktop)
because msg_id=dc_chatlist_get_msg_id() always returns 0
and create_chat_by_msg_id(msg_id)
or dc_marknoticed_contact(<get sender from msg_id>)
failed therefore.
2019-10-31 12:31:31 +01:00
Floris Bruynooghe
78030e4a31
Add test for #767
...
Without a test for this fix, a regression will happen again.
Original PR #767 aka commit 4fed875107
2019-10-30 21:08:25 +01:00
holger krekel
b01c842d7c
bump version in toml's and changelog, and trigger deltachat-specific "cargo update". example: python set_core_version.py 1.0.0-beta.6 automates bumping the version and performs some quick sanity checks
1.0.0-beta.5
2019-10-30 20:05:01 +01:00
holger krekel
c56c10bced
remove unneccessary check of is_special() + cleanups
2019-10-30 19:29:13 +01:00
holger krekel
b0ccbc36d9
fix FFI-behaviour: return default empty messages when asked for special ones
2019-10-30 19:29:13 +01:00
holger krekel
9cdfc3409d
systematically ignore invalid message ids when passed in through CFFI
2019-10-30 19:29:13 +01:00
björn petersen
fc851f542a
Merge pull request #770 from deltachat/tweak-ffi
...
remove unneeded const attribtute
2019-10-30 19:12:43 +01:00