summaryrefslogtreecommitdiffstats
path: root/framework
Commit message (Collapse)AuthorAge
* Hopefully fix the Copy constructor issue on OS Xexpected-copy-constrMinijackson2018-03-12
|
* We started using c++14 in errors.hChristian Mollekopf2018-03-09
| | | | It's widely supported by now, so let's just use it.
* Fixed buildChristian Mollekopf2018-03-09
|
* Automatic key import / export + Expected monadRémi Nicole2018-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: There are many things going on here (perhaps a bit much for a single patch): - When an attachment is of mime type "application/pgp-keys", a button is added to import the key to GPG - When sending a mail and crypto is enabled (encryption, signing or both), the public key of the first private key found is sent as an un-encrypted attachment (T6994) - The `mailcrypto.{h,cpp}` was, for the most part, rewritten - Introduction of the expected monad, inspired by what was proposed for C++ [here](https://isocpp.org/files/papers/n4015.pdf), but not at all a strict implementation of this specification. We may want to add some more features of this standard later. The rationale for some of the choices: - I found mailcrypto a bit hard to edit to add new features, and a great part was commented code to prepare for the support the SMIME crypto format, which would (in my current knowledge) not be used for sending emails. - One thing I found that may be missing in the code base was a standardized way of handling errors in C++ code. Since exceptions are disabled I think that the functional way is the way to go. After some research I found the Expected monad / tagged union / sum type, which seemed to suit the problem particularly well. In the long run, I hope we would move the entire code base to use `Expected` to indicate if a function might fail. Of course every choice made here is to be considered as a proposition for doing things / RFC, critics wholeheartedly accepted. Reviewers: cmollekopf Tags: #kube Maniphest Tasks: T6994, T8147, T6995 Differential Revision: https://phabricator.kde.org/D11158
* Avoid coloring the text blue on blue background.Christian Mollekopf2018-03-08
| | | | | The new messages available info is also irrelevant for the current folder.
* Support encrypted mails forwardingRémi Nicole2018-03-08
| | | | | | | | | | | | | | | | | | | | Summary: Some notes: - What we do is: if the mail is encrypted, decrypt it and copy its content into a new message (with plaintext, html and attachments, if any), and use this message as attachment for forwarding - The `isEncrypted` function from KMime doesn't seem to detect every kind of encrypted mails. AFAIK this structure is not detected: - `multipart/mixed` - `text/plain` - `application/pgp-encrypted` (attachement, named "ATT00001") - `application/octet-stream` (attachment named "encrypted.asc") Reviewers: cmollekopf Tags: PHID-PROJ-6npnfcmppynqynn7slmv Maniphest Tasks: T8112, T7024 Differential Revision: https://phabricator.kde.org/D10966
* Test move to trashChristian Mollekopf2018-03-08
|
* Fixed build on macChristian Mollekopf2018-03-05
|
* Revert "Support encrypted mails forwarding"Christian Mollekopf2018-03-02
| | | | | | This reverts commit f28ec43dca5b2915deb69d54fb942ddf1303f48c. That was pushed by accident.
* Support encrypted mails forwardingChristian Mollekopf2018-03-02
| | | | | | | | | | | | | | | | | | | | Summary: Some notes: - What we do is: if the mail is encrypted, decrypt it and copy its content into a new message (with plaintext, html and attachments, if any), and use this message as attachment for forwarding - The `isEncrypted` function from KMime doesn't seem to detect every kind of encrypted mails. AFAIK this structure is not detected: - `multipart/mixed` - `text/plain` - `application/pgp-encrypted` (attachement, named "ATT00001") - `application/octet-stream` (attachment named "encrypted.asc") Reviewers: cmollekopf Tags: PHID-PROJ-6npnfcmppynqynn7slmv Maniphest Tasks: T8112, T7024 Differential Revision: https://phabricator.kde.org/D10966
* Visualize that a folder has new mails.Christian Mollekopf2018-03-02
| | | | | We listen for new mail notifications, and highlight the folder accordingly.
* add listcontrollers for phoneNumbers and emails to the contact controllerMichael Bohlender2018-03-02
|
* Fixed the foundAllKeys feature in the composerChristian Mollekopf2018-03-01
| | | | | | | setProperty doesn't work anymore for some reason, so we use a regular Q_PROPERTY. We have to explicitly reference the composerController variable, otherwise cc/bcc refernces don't work.
* move people & person page to viewMichael Bohlender2018-02-28
|
* Improvements of the log viewRémi Nicole2018-02-26
| | | | | | | | | | | | | Summary: - Add a test view for the log view - Allow passing the `entities` part of Sink messages - That allowed getting information about which mail could not be sent in sink transmission errors Reviewers: cmollekopf Reviewed By: cmollekopf Differential Revision: https://phabricator.kde.org/D10861
* gpg error handling cleanupChristian Mollekopf2018-02-26
|
* Removed unused codeChristian Mollekopf2018-02-26
|
* CleanupChristian Mollekopf2018-02-26
|
* Using setContent instead of setBody will lead to a trailing newlineChristian Mollekopf2018-02-26
|
* share instead of forwardMichael Bohlender2018-02-26
|
* Fixed unread status for individual mailsChristian Mollekopf2018-02-23
|
* Search in conversationviewChristian Mollekopf2018-02-23
| | | | ...via syntax highligher or search api.
* Use the new changes regarding aggregated properties.Christian Mollekopf2018-02-22
| | | | This fixes marking partially unread threads as read.
* T7024 fix: implement attachment-based forwardingRémi Nicole2018-02-21
| | | | | | | | | | | | | | | | Summary: Implement attachment-based forwarding. Some notes: - `loadAsDraft` was removed in favor of new enum `loadType` in QML, and callback based generic programming in C++ Reviewers: cmollekopf Tags: #kube Maniphest Tasks: T7024 Differential Revision: https://phabricator.kde.org/D10676
* This is really a boolean in disguiseChristian Mollekopf2018-02-20
|
* Avoid unnecessary member variablesChristian Mollekopf2018-02-20
|
* Fixed encrypted+signed messagesChristian Mollekopf2018-02-20
|
* Fixed warningChristian Mollekopf2018-02-20
|
* Add key id to encryption infoChristian Mollekopf2018-02-20
|
* Removed unused argumentChristian Mollekopf2018-02-20
|
* Fixed inline signedChristian Mollekopf2018-02-14
|
* We're using partial matching insteadChristian Mollekopf2018-02-13
|
* We're ignoring the property for now.Christian Mollekopf2018-02-13
|
* Fixed composer editor sizing.Christian Mollekopf2018-02-13
| | | | We still failed to make the composer large enough initially.
* A basic but working searchviewChristian Mollekopf2018-02-12
|
* Query instead of filteringChristian Mollekopf2018-02-11
|
* Fixed warningsChristian Mollekopf2018-02-11
|
* Fixed warningsChristian Mollekopf2018-02-06
|
* Use a height that takes the padding into account.Christian Mollekopf2018-02-05
|
* The editor must be the size of the content.Christian Mollekopf2018-02-05
| | | | | Otherwise we end up scrolling up the editor if the content is larger than the initial view.
* Properly encode non-ascii content.Christian Mollekopf2018-01-31
|
* Introduced setup() signal for views.Christian Mollekopf2018-01-31
| | | | | | | onCompleted is apparently not guaranteed to be called after all properties have been set (reply broke). The onSetup handler is now the standard handler for views to setup their initial state.
* Always mark the full conversation as read.Christian Mollekopf2018-01-29
| | | | Marking individual messages as read didn't really feel all that useful.
* Only display one error when failing to send a mail.Christian Mollekopf2018-01-25
|
* Require a recipient for a mail.Christian Mollekopf2018-01-25
|
* Close the popup after pressing send and make sure the relevant messageChristian Mollekopf2018-01-25
| | | | is available
* Remvoed unused codeChristian Mollekopf2018-01-25
|
* Removed unused codeChristian Mollekopf2018-01-25
|
* testdata readmeChristian Mollekopf2018-01-25
|
* Fixed synchronize callChristian Mollekopf2018-01-24
|