B. Petersen
c2b222e6a5
emit DC_EVENT_MSGS_NOTICED when a chat was answered on another device
2020-10-10 12:50:23 +02:00
Alexander Krotov
eaec03142b
Use get_summarytext() for quotes
...
Co-Authored-By: Hocuri <hocuri@gmx.de >
2020-10-10 12:41:43 +03:00
Alexander Krotov
20182b027e
Add quote API
...
Sticky encryption rule, requiring that all replies to encrypted messages
are encrypted, applies only to messages with a quote now.
Co-Authored-By: B. Petersen <r10s@b44t.com >
2020-10-10 12:41:43 +03:00
René Rössler
9739c0305b
Accessible msg error and type changes
2020-10-08 11:51:04 +02:00
B. Petersen
5405bfbc8d
remove unused types "starred" and "in-creation"
...
both are not used in productive:
- chat-id "in-creation" was dropped completely already in core-c
as it does not allow assigning messages to chats in time.
- message flag "starred" was added at some point and never used.
ux-wise, "disappearing messages" promises to clean up a chat -
this does not fit well with "starring" messages.
"saved messages" chat seems to be superior in that regard.
but anyway, it is not used but comes at maintainance costs,
so it is better to delete its functionality for now.
(the db entries, however, are left for now,
that might be more tricky to remove)
2020-10-06 09:32:50 +02:00
Alexander Krotov
de97e0263f
ffi: add missing "ignoring careless call" warnings
2020-10-05 08:57:52 +02:00
Alexander Krotov
8301e27f86
dc_get_info: accept immutable context
2020-10-02 16:20:32 +03:00
Alexander Krotov
9667859410
deltachat.h: fix a typo
2020-10-02 03:33:04 +03: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
7786a4ced4
fix: avoid manual poll impl for accounts events
2020-09-29 14:00:10 +02: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
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
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
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
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
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
B. Petersen
423c0dc808
fix doc for DC_EVENT_CONTACTS_CHANGED
2020-09-19 23:00:57 +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
B. Petersen
af67e798fb
warn about outdated app
2020-09-19 12:40:03 +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
jikstra
ec5ca4464b
Tune down error event on failed dc_continue_key_transfer to a warn
2020-09-14 15:54:51 +02:00
B. Petersen
b0d68ce09e
bump version to 1.46
2020-09-13 14:35:17 +02:00
Alexander Krotov
ecbc83390e
Add "Configuration failed" stock string
2020-09-12 19:42:41 +03:00
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