holger krekel
622d99a971
remove option<path> from inner/imex handling to simplify the code
2020-10-26 20:34:52 +01:00
holger krekel
42bd1bc806
remove reference to star-commands.
2020-10-25 18:53:55 +01:00
Hocuri
07e4762f71
Call update_device_chats automatically during configure ( #1957 )
...
update_device_chats() takes about 2 seconds on a modern device (Android) because the
welcome image file has to be written to the disk as a blob. The problem
was that this was done after the progress bar had vanished and before
anything else happened so that I thought that something had gone wrong
multiple times.
The UIs have to remove update_device_chats(), too..
2020-10-15 17:43:22 +02:00
B. Petersen
f144426bf5
use 'unreachable' instead of 'panic'
2020-10-13 14:59:27 +02:00
B. Petersen
49b5962568
add set_chat_protection() api
2020-10-13 14:59:26 +02:00
B. Petersen
b8a55f3aa4
replace chat.is_verified() by chat.is_protected()
2020-10-13 14:59:25 +02:00
B. Petersen
ab8bf3c2f3
use ProtectionStatus to create chats
2020-10-13 14:59:25 +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
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
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
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
dignifiedquire
dd27929adf
fix examples
2020-08-10 10:43:54 +02:00
B. Petersen
35c250c705
do not silently ingnore peerstate error in repl; in repl it is okay to panic/unwrap
2020-08-07 15:58:29 +03:00
B. Petersen
2a155d4849
adapt repl-tool to new peerstate api introduced with #1800
2020-08-07 15:58:29 +03:00
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
307357df70
update simple exaple
2020-05-26 19:40:37 +02:00
dignifiedquire
00e8f2271a
improve simple example
2020-05-24 21:24:21 +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
b25bec53d8
refactor next_event
2020-05-13 18:42:56 +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
20ef115eb2
fix various integration tests with the python bindings
2020-03-22 16:21:15 +01:00
dignifiedquire
d798356c19
refactor stop logic
2020-03-21 19:05:50 +01:00
dignifiedquire
4d6a9e4f14
improve simple example
2020-03-21 17:00:07 +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
dignifiedquire
f85b14a7f7
the basics work
2020-03-18 15:11:36 +01:00
dignifiedquire
94c6a01420
some cleanup
2020-03-18 02:23:22 +01:00
dignifiedquire
563b550f08
integrate imex and imap
2020-03-18 01:50:19 +01:00
dignifiedquire
846ef043d5
hook up scheduler with jobs
2020-03-18 00:01:59 +01:00
dignifiedquire
efc17983c3
switch to queue based logging
2020-03-17 10:07:52 +01:00
dignifiedquire
7140898db9
async file io
2020-03-14 16:26:15 +01:00
dignifiedquire
818e921192
it compiles
2020-03-14 15:17:47 +01:00
dignifiedquire
6ea1d665bb
start making sql async
2020-03-14 15:17:23 +01:00
dignifiedquire
7326ba1403
send bounds wip
2020-03-14 15:16:27 +01:00
dignifiedquire
62bfa5157b
async sleep
2020-03-14 15:16:27 +01:00
dignifiedquire
9614a23506
first pass at async job
2020-03-14 15:14:49 +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