Alexander Krotov
f5b16cf086
Set data2 in ConfigureProgress event
...
For now it is only set on error, but could contain user-readable log
messages in the future.
2020-09-12 19:42:41 +03:00
Alexander Krotov
a065f654e8
Fix a typo in deltachat.h
2020-09-12 14:14:57 +03:00
Floris Bruynooghe
428dbfb537
Resultify join_securejoin
...
This gets rid of ChatId::new(0) usage and is generally a nice first
refactoing step. The complexity of cleanup() unravels nicely.
2020-09-11 18:38:51 +02:00
B. Petersen
65f2a3b1c6
remove unused dc_empty_server() and related code
...
'Delete emails from server' was an experimental ad-hoc function
that was added before 'Automatically delete old messages' was introduced
to allow at least some way to cleanup.
'Delete emails from server'-UI was already removed from android/ios in june
(see https://github.com/deltachat/deltachat-android/pull/1406 )
and the function never exists on desktop at all.
2020-09-07 06:38:48 +03:00
B. Petersen
87c6f7d42b
remove unused defines from ffi, these parts do not have an implementation since some time
2020-09-07 06:38:48 +03:00
Hocuri
0fc57bdb35
Separate IMAP and SMTP configuration
...
Co-Authored-By: link2xt <ilabdsf@gmail.com >
Co-Authored-By: bjoern <r10s@b44t.com >
2020-08-22 21:29:39 +03:00
B. Petersen
ed3eabe3e5
bump version to 1.45
2020-08-18 21:29:17 +02:00
Hocuri
cf72d9a41e
Tar backup ( #1749 )
...
Fix #1729
Co-authored-by: holger krekel <holger@merlinux.eu >
Co-authored-by: Alexander Krotov <ilabdsf@gmail.com >
2020-08-18 11:54:46 +02:00
B. Petersen
e3f3602a26
add dc_accounts_t functions and reference to deltachat.h
2020-08-11 00:26:37 +02:00
dignifiedquire
b97c334e0c
add Context::get_id
2020-08-10 10:51:04 +02:00
dignifiedquire
1ae49c1fca
unify events
2020-08-10 10:32:48 +02:00
dignifiedquire
4bdcdbb922
happy clippy
2020-08-10 10:01:46 +02:00
dignifiedquire
99ca582e25
implement ffi calls
2020-08-10 10:01:46 +02:00
B. Petersen
fa795c54df
bump version to 1.44.0
2020-08-08 22:44:22 +02:00
Alexander Krotov
801b9f3ffa
Fix dc_chat_get_remaining_mute_duration
...
Return time since current time, not UNIX epoch.
2020-08-08 10:47:48 +03:00
Alexander Krotov
3c8e60a2a3
dc_set_chat_mute_duration: avoid panic on overflow
2020-08-06 18:48:22 +03:00
B. Petersen
6807bc6eb2
bump version to 1.43
2020-08-04 13:02:57 +02:00
B. Petersen
c5c1cfd5e8
add videochat-type "jitsi"
...
this pr allows prefixing custom jitsi urls with `jitsi:`
so that clients have a chance to detect these custom instances
and may start the corresponding app.
2020-07-31 15:23:08 +02:00
B. Petersen
9ea57e5862
bump version to 1.42
2020-07-30 16:25:22 +02:00
B. Petersen
1019a93991
add qr-code-type for a webrtc-instance-pattern
...
introduce the qr-code-type `DCWEBRTC:[webrtc_instance]`.
dc_check_qr() returns this as the type DC_QR_WEBRTC
and these qr-codes can be passed to dc_set_config_from_qr() then;
this finally sets `webrtc_instance` using dc_set_config().
2020-07-30 15:26:57 +02:00
B. Petersen
27b4cb084e
bump version to 1.41
2020-07-28 19:49:53 +02:00
B. Petersen
2bf27dd5cd
add dc_chatlist_get_summary2() api
...
needed for how node/js handles the chatlist currently
(it convertes the ffi-object to an js-object and throws ffi-object away directly,
this makes it hard to access dc_chatlist_get_summary() later.
2020-07-28 16:47:57 +02:00
B. Petersen
9912dd45b9
add missing links and @memberof declarations in ffi-docs
2020-07-26 23:07:27 +02:00
B. Petersen
c43f6964c5
wording
2020-07-23 23:49:05 +02:00
B. Petersen
72d95075a0
return correct videochat-type
2020-07-22 23:36:21 +02:00
B. Petersen
39364d1f6c
prefix webrtc_instance by type, unify naming
2020-07-22 23:36:20 +02:00
B. Petersen
f3b9f671ba
webrtc-config-setting is just 'webrtc_instance'
2020-07-22 23:36:20 +02:00
B. Petersen
e054a49198
tweak examples
2020-07-22 23:36:20 +02:00
B. Petersen
29d4197340
send out videochat-invitation message, set up fallback text
2020-07-22 23:36:19 +02:00
B. Petersen
11b369db0f
rename basic_web_rtc_instance to basic_webrtc_instance
2020-07-22 23:36:19 +02:00
B. Petersen
0b2bce8334
use message-type instead of a special flag to mark videochat-invitations
2020-07-22 23:36:19 +02:00
B. Petersen
b6a48ad39b
design APIs for videochats
2020-07-22 23:36:19 +02:00
B. Petersen
dcf6a41239
update docs
2020-07-21 00:57:08 +02:00
Alexander Krotov
60b3550952
Fix clippy errors
2020-07-20 13:06:58 +02:00
Alexander Krotov
35542189d8
deltachat-ffi: convert clippy warnings to errors
2020-07-20 13:06:58 +02:00
Simon Laux
bb2e8b4392
improve documentation a bit
2020-07-18 19:12:27 +02:00
Simon Laux
8895dc36c7
add documentation
2020-07-18 19:12:27 +02:00
Alexander Krotov
7da69a4644
Add dc_msg_get_ephemeral_{timer, timestamp}()
2020-07-11 22:25:17 +03:00
Alexander Krotov
f28a0db7d0
Store typed timer in ChatEphemeralTimerModified event
2020-07-10 02:55:17 +03:00
B. Petersen
18045c9c14
bump version to 1.40
2020-07-09 23:42:23 +02:00
B. Petersen
6a99e31de4
document the new option (see #1677 ) to get the reliable time of a DAYMARKER
2020-07-06 17:27:11 +02:00
Alexander Krotov
db6623d0cf
Add stock strings for ephemeral timer changes
2020-07-01 12:31:51 +03:00
Alexander Krotov
97599bd78e
dc_array: remove unused binding
2020-07-01 12:31:11 +03:00
Alexander Krotov
56518420bc
Add get_marker method to dc_array_t
2020-06-30 01:21:18 +03:00
Alexander Krotov
615a76f35e
Add timestamp to DayMarker
...
With this change, API user does not need to look at the timestamp of
the next message to display the day marker, but can get the timestamp
directly from the marker. This way there is no database query and no
risk of error as a result of database being busy or message being deleted.
2020-06-30 01:21:18 +03:00
Alexander Krotov
7d048ac419
Add autodelete timers
2020-06-29 23:04:34 +03:00
Alexander Krotov
41fe3db79d
Add ChatItem type
...
ChatItem can represent markers as enum variants instead of special MsgIds.
2020-06-29 00:30:17 +03:00
Alexander Krotov
42f6a7c77c
Remove dc_array_get_raw
...
It does not work with typed arrays, such as locations and messages.
Use dc_array_get_id in a loop instead.
2020-06-26 01:22:10 +03:00
Alexander Krotov
09833eb74d
dc_array: introduce MsgIds variant
...
This avoids allocation of u32 vector.
2020-06-26 01:22:10 +03:00
Alexander Krotov
2c11df46a7
dc_array: remove unnecessary "as u32" cast
2020-06-26 01:22:10 +03:00