B. Petersen
72d95075a0
return correct videochat-type
2020-07-22 23:36:21 +02:00
B. Petersen
0520ec8ab7
implement videochat-getters
2020-07-22 23:36:20 +02:00
B. Petersen
4227dec127
adapt repl to new videochat api
2020-07-22 23:36:19 +02:00
B. Petersen
82a3af97df
adapt repl to new marker api and make it compile again
2020-07-13 18:34:37 +02:00
B. Petersen
059a7bcd7f
print time needed to build chatlist in repl tool
...
the chatlist is the most complicated list to get from sql
and is also the most used list,
so it makes sense to keep an eye on the timing of that.
2020-06-20 00:56:43 +02:00
dignifiedquire
23b6974386
Merge master
2020-05-27 17:21:39 +02:00
dignifiedquire
9f7f387540
examples: fix blocking the scheduler in the repl
2020-05-27 15:05:29 +02:00
dignifiedquire
c53a3d5cb4
update rust api to match ffi
2020-05-22 22:04:20 +02:00
Friedel Ziegelmayer
014d2946b2
feat: use EventEmitter for events
2020-05-22 21:03:01 +02:00
Hocuri
26b0c43cc4
Remove help for nonexisting open and close commands.
...
See #1496
2020-05-22 18:45:42 +02:00
dignifiedquire
da7db04c0e
example: happy clippy
2020-05-22 11:48:40 +02:00
dignifiedquire
8a7923c974
Merge remote-tracking branch 'origin/master' into feat/async-jobs
2020-05-13 18:29:22 +02:00
Friedel Ziegelmayer
24f4cbbb27
refactor: replace failure
...
- failure is deprecated
- thiserror for deriving Error impl
- anyhow for highlevel error handling
2020-04-10 22:39:28 +02:00
dignifiedquire
307a3e078e
Merge remote-tracking branch 'origin/master' into feat/async-jobs
2020-04-09 23:41:34 +02:00
B. Petersen
aea8a32ba5
add 'estimatedeletion' to repl tool
2020-04-01 20:06:27 +03:00
dignifiedquire
d798356c19
refactor stop logic
2020-03-21 19:05:50 +01:00
dignifiedquire
8a7eaba668
fix imap fetch loop and watch folders
2020-03-21 16:26:27 +01:00
dignifiedquire
1846f20f6e
upgrade repl
2020-03-21 14:24:41 +01:00
Alexander Krotov
2977ceb459
Turn deltachat::configure functions into Context methods
...
Now configure module is no longer public. Users should call
Context.configure() and Context.is_configured() methods.
Configure module is completely hidden from documentation unless
--document-private-items option is specified.
2020-02-16 21:17:03 +01:00
B. Petersen
84f8627890
fix repl tool
2020-02-14 13:43:48 +01:00
B. Petersen
0303ea7f57
rename to ChatVisibility, simplify ffi
2020-02-14 13:43:48 +01:00
Simon Laux
1765b8f2cf
show pinned chats again and order them to the top
2020-02-14 11:28:54 +01:00
Simon Laux
5678562ce2
represent archivestate as enum
...
before it was a boolean, even though it is a 3 state
2020-02-14 11:28:54 +01:00
Alexander Krotov
9008a65c14
Remove DC_IMAP_SEEN constant
...
Replace "flags" integer with a "seen" boolean.
2020-02-13 13:55:06 +01:00
B. Petersen
8b4edc46a7
implement dc_set_config_from_qr()
2020-02-11 21:04:18 +01:00
B. Petersen
b3c4e32b68
split provider-database from code to allow easy generation
2020-01-30 17:47:41 +01:00
B. Petersen
375a48f135
add before_login_hint to device-chat on successfull logins
2020-01-30 17:47:41 +01:00
B. Petersen
748e54d4c2
add basic provider-functions
2020-01-30 17:47:40 +01:00
Alexander Krotov
033a44580c
Turn get_[fresh_]msg_cnt() into ChatId members
2020-01-25 22:11:13 +00:00
Alexander Krotov
889327b5f6
Rename Chat.archive() into Chat.set_archived()
2020-01-25 22:11:13 +00:00
Alexander Krotov
a2845f44ab
Turn ChatId-related functions into methods
2020-01-25 22:11:13 +00:00
Floris Bruynooghe
186f5553b8
Introduce a ChatId newtype
...
This doesn't try and change the way ChatId is used. It still allows
creating them with 0 and lets some function use a ChatId(0) as error
return.
2020-01-19 23:42:08 +01:00
Alexander Krotov
8e0a29e9b5
Stop using Event callback return values
...
Since stock string callback has been deprecated, all event callbacks
return 0.
For compatibility, C declarations are not changed and FFI users are
expected to return 0 from their callbacks.
2019-12-21 22:51:44 +00:00
B. Petersen
7d51c1140d
use println!() for all repl outputs
...
in the very beginning, we allowed using the cmdline partly from the ui
via a special function; this made info!() handy.
however, this is long gone and no longer needed.
2019-12-21 13:09:38 +01:00
holger krekel
a7b55edb9b
more call sites
2019-12-19 12:06:01 +01:00
B. Petersen
3cf39dace0
print profile-image in repl tool
2019-12-13 01:17:48 +01:00
holger krekel
5f916f5a9c
- create and use a ContactIds type as an ordered set instead of "Vec<u32>".
...
- recreate the group list more carefully, fixes #985
- resultify a few functions in the dc_receive pipeline
- don't quote displaynames in email-addresses, use utf8, preliminrarily addresses #976
2019-12-09 16:29:24 +01:00
B. Petersen
4c0d00640b
fix repl forward command
2019-12-04 06:01:37 +01:00
dignifiedquire
db88212a64
refactor: unsafe, CStr and libc moved out
2019-12-03 12:25:22 +01:00
dignifiedquire
dbd6303829
remove mmime
2019-12-03 12:22:55 +01:00
B. Petersen
61e97e5e6f
add updatedevicechats command to repl tool
2019-12-02 16:33:24 +01:00
Alexander Krotov
d0795f5770
Automatically fix some clippy warnings with "cargo fix"
2019-11-27 21:43:18 +01:00
holger krekel
bb396685ab
some comments fix imap->inbox naming in example
2019-11-22 12:28:19 +01:00
B. Petersen
700e10bc0e
use dc_add_device_msg() also to add labels-only, this is clearer as having a function with 'skip' in the name
2019-11-19 13:05:01 +01:00
B. Petersen
d3fa289f27
streamline dc_add_device_msg_once|unlabelled() to one function
2019-11-19 11:49:02 +01:00
B. Petersen
a4e92694ba
name unlabelled device-messages as such
2019-11-18 16:47:18 +01:00
B. Petersen
2fae6890c2
the new MsgId type comes with a formatter that makes special formatting in the repl tool superfluous
2019-11-07 13:19:38 +01:00
B. Petersen
49bf99588b
show chat-profile-image in repl tool
2019-11-06 13:33:30 +01:00
B. Petersen
89bb2d0ffe
add devicemsg to repl tool
2019-11-06 13:33:30 +01:00
B. Petersen
0ea017c53d
add repl command for testing interrupt-idle
2019-11-03 21:36:40 +01:00