aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add Message.setFile methodlink2xt1-5/+1
| | | | | This allows setting file from JavaScript, so C++ remains a thin wrapper to Delta Chat core API. sendMessage only calls dc_send_msg, and all the attachment logic goes to the JavaScript code.
* Do not copy attachments to blobdir manuallylink2xt1-10/+2
| | | | | | If QFile::copy() fails because blobdir already contains an image with the same file name (could be something common, e.g., "1.jpg"), we end up sending completely wrong file. Delta Chat core (dc_send_msg) already does the copying for us and resolves filename conflicts.
* Make attachment button functionalMiquel Lionel1-1/+16
|
* Add chatlist searchlink2xt2021-08-221-2/+7
|
* Add Context::createContactlink2xt2021-08-151-0/+8
|
* Use `dc_send_msg` to send messageslink2xt2021-08-071-0/+6
| | | | `dc_send_text_msg` is too limited as it can only send text without attachments.
* Add New Chat pagelink2xt2021-08-011-0/+19
|
* dc_unblock_chat() is replaced with dc_accept_chat()link2xt2021-07-261-2/+2
|
* Get rid of the contact requests chatlink2xt2021-07-261-6/+12
|
* Replace Accounts.importAccount() with Context.importBackup()link2xt2021-07-041-0/+7
| | | | dc_accounts_import_account() is going to be removed from the core.
* Make it possible to get a list of archived chatslink2xt2021-06-061-2/+2
|
* Reset draft after sending a messagelink2xt2021-05-311-1/+1
|
* Implement message draftslink2xt2021-05-291-0/+24
|
* Implement libdeltachat API for HTML viewlink2xt2021-05-221-0/+9
| | | | | | | | | | | | HTML API: - Context::getMessageHtml() - DcMessage::getSubject() - DcMessage::hasHtml() Also implemented: - DcMessage::getFilemime() - DcMessage::getShowPadlock() - DcMessage::getError()
* Mark displayed messages as seenlink2xt2021-03-191-0/+6
|
* Implement more context methodslink2xt2021-03-011-0/+27
|
* Add Context::marknoticedChat()link2xt2021-02-221-0/+5
|
* Add Context::getFreshMsgCnt()link2xt2021-02-221-0/+5
|
* Add Context::decideOnContactRequestlink2xt2021-02-221-0/+6
|
* Add Context::setChatMuteDurationlink2xt2021-02-221-0/+6
|
* Implement Context::setConfig()link2xt2021-02-191-0/+8
|
* Context: implement startIo, stopIo and maybeNetworklink2xt2021-02-191-0/+18
| | | | They are not supposed to be used as they can be called from account manager, just for completeness.
* Implement Context.getConfig()link2xt2020-11-051-0/+10
|
* Set parent for Contextlink2xt2020-10-271-2/+2
| | | | This fixes application termination when account is selected.
* Add Context::getMessageInfolink2xt2020-10-131-0/+9
|
* Initial commitlink2xt2020-10-031-0/+93