summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime
Commit message (Collapse)AuthorAge
* More metadata testingChristian Mollekopf2018-07-03
|
* Removed unusedChristian Mollekopf2018-07-03
|
* Fixed and tested isGoodSignatureChristian Mollekopf2018-07-03
|
* Collect some timing stats for message parsingChristian Mollekopf2018-07-02
|
* Generate a globally unique message-id that doesn't leak the hostname.Christian Mollekopf2018-07-02
|
* The tests passChristian Mollekopf2018-06-29
|
* Partial fix for multipart/mixed in alternative partChristian Mollekopf2018-06-29
| | | | We only render the first part right now, which is not correct.
* Fixed apple html messages with attachments.Christian Mollekopf2018-06-29
|
* Get saving attached messages to work.Christian Mollekopf2018-06-28
|
* Fixed some warningsChristian Mollekopf2018-05-28
|
* Override the blockquote color.Christian Mollekopf2018-05-28
|
* The text view doesn't render blockquotes in a very useful way (noChristian Mollekopf2018-05-28
| | | | | | sidebar or anything) ...so we fall back to a browser...
* Removed unused codeChristian Mollekopf2018-05-23
|
* Re-enable ASCII armoringChristian Mollekopf2018-05-17
| | | | That was disabled accidentally during the port to gpgme.
* Make sure we don't return plaintext if decryption failedChristian Mollekopf2018-05-15
| | | | As a measure against EFAIL.
* Windows is why we can't have nice things..Christian Mollekopf2018-05-08
|
* Use a Gpgpme::Gpgpme style exported targetChristian Mollekopf2018-05-08
|
* Make use of interface include directories and link libraries.Christian Mollekopf2018-05-08
| | | | | | | | Instead of manually specifying the libraries to link against and the include directories to include we'd much rather have a single target to link against. find_package already defines the Gpgme target for some reason, which seems like a waste, but with the lowercase gpgme target we can work around that problem.
* A slightly simpler FindGpgme.cmakeChristian Mollekopf2018-05-07
|
* CleanupChristian Mollekopf2018-05-07
|
* Extract attachments from multipart/relatedChristian Mollekopf2018-05-07
| | | | | So we can offer them for download even if displayed inline. This is necessary for some attachments to show up from apple mail.
* Insert spacesChristian Mollekopf2018-05-07
|
* Separate multipart/related formatterChristian Mollekopf2018-05-07
|
* Removed unnecessary includeChristian Mollekopf2018-05-07
|
* Made structure available in debug viewChristian Mollekopf2018-05-07
|
* Port to gpgme only.Christian Mollekopf2018-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QGpgme and Gpgmepp are not readily available, the cmake files buggy, the buildsystem horrendous and generally just difficult to build on windows. Given that all they are is a wrapper around gpgme, we're better of without all the indirections. What we loose is: * QGpgme moved the work to separate threads (but we then blocked anyways), something that we can just do in our own code should we want to. * QGpgme has a function to prettify dn's that was used to show the signer. Also something we could bring back should we need to (don't know where it is useful atm.) Ported messagepart to gpgme Almost there Moved the crypto bits to a separate file All gpg code is in one place. All tests passing Use error codes Cleanup
* On windows the exports are mandatoryChristian Mollekopf2018-05-03
|
* Windows compatChristian Mollekopf2018-05-02
|
* No need to install a shared library if we only use it internally.Christian Mollekopf2018-05-02
| | | | | And that keeps us from having to export stuff from the library for windows to work.
* windows compatChristian Mollekopf2018-05-02
|
* No need to find those again.Christian Mollekopf2018-05-02
|
* More explicit linking against gpgmeppChristian Mollekopf2018-04-27
|
* That's not how you write gpgmeppChristian Mollekopf2018-04-27
|
* Link explicitly against gpgmeppChristian Mollekopf2018-04-27
|
* Remove showOnlyOneMimepart from the public interface.Christian Mollekopf2018-04-26
| | | | That makes it much more obvious where we actually rely on it.
* Removed empty formatterChristian Mollekopf2018-04-26
|
* Removed some more unnecessary includesChristian Mollekopf2018-04-26
|
* Another qgpgme dependency goneChristian Mollekopf2018-04-26
|
* Less gpgme in the interfacesChristian Mollekopf2018-04-26
|
* No more direct GpgMe usage in the interfaces.Christian Mollekopf2018-04-26
|
* Collect gpgme usagesChristian Mollekopf2018-04-26
|
* Starting to isolate our gpgme++ usage.Christian Mollekopf2018-04-25
| | | | So we can destroy it.
* Fixed the case where we have plaintext inside the encrypted part.Christian Mollekopf2018-04-25
| | | | This is triggered when we have encrypted+signed inline parts.
* CleanupChristian Mollekopf2018-04-25
|
* Deal with rfc822 header partsChristian Mollekopf2018-04-25
| | | | As inserted by autocrypt enabled clients.
* Match auto css propertiesChristian Mollekopf2018-04-05
|
* Make sure we don't end up with any CRLF'sChristian Mollekopf2018-03-23
|
* CleanupChristian Mollekopf2018-03-23
|
* 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