summaryrefslogtreecommitdiffstats
path: root/examples/mailtransportresource
Commit message (Collapse)AuthorAge
* Fix smtps over port 465Christian Mollekopf2018-08-15
| | | | | | | | 465 is for tls only 587 is for plain with upgrade via starttls curl recognizes tls by a smtps:// protocol, for start tls we must start with smtp:// but set the flag to upgrade.
* Check if libcurl is built with ssl support.Christian Mollekopf2018-06-27
| | | | On windows we lack ssl support it seems.
* Log to qDebug which we then funnel to Sink::LogChristian Mollekopf2018-05-29
|
* Avoid building tests that link to the resource on windows.Christian Mollekopf2018-05-28
| | | | | Because we'd have to properly export the symbols for the linking on windows to work.
* -DQT_PLUGIN seems to be a remnant of the past.Christian Mollekopf2018-05-28
| | | | Or at least I don't know what it is supposed to do.
* We're setting the content, not only the head.Christian Mollekopf2018-05-18
|
* Forgot the mailtransport resource.Christian Mollekopf2018-04-19
|
* Forward the error message.Christian Mollekopf2018-04-03
|
* Do the logging in the resource code.Christian Mollekopf2018-01-25
|
* Avoid relying on timeouts in testsChristian Mollekopf2017-10-09
|
* Fixed tests with secretstoreChristian Mollekopf2017-09-20
|
* Ported mailtransportresourceChristian Mollekopf2017-09-18
|
* Use imported targets instead of qt5_use_modulesHeiko Becker2017-07-29
| | | | | | | | | | | | | | | | | | | From Qt's documentation: "This macro is obsolete. Use target_link_libraries with IMPORTED targets instead." It's only recommended with cmake >=2.8.9 & < 2.8.12. Sink already requires cmake 3.0. One advantage of using the imported targets is, that cmake complains if a target isn't found before it's used, like Qt5Concurrent missing from the find_package_call here. Reviewers: #sink, cmollekopf Reviewed By: #sink, cmollekopf Subscribers: #sink Tags: #sink Differential Revision: https://phabricator.kde.org/D6361
* Deal with both CRLF and LF mime messages.Christian Mollekopf2017-06-14
| | | | | | | IMAP always requires CRLF, and so does the MIME standard, KMIME expects LF-only. We now just try to always use CRLF on disk, but convert LF-only messages should we have to (e.g. because copied over from maildir or so).
* No more SINK_DEBUG_AREAChristian Mollekopf2017-05-12
|
* cleanupChristian Mollekopf2017-04-12
|
* Allow the preprocessor to move and use in mailtransportChristian Mollekopf2017-04-12
|
* Copy mail back from mailtransportChristian Mollekopf2017-04-11
|
* Don't continue processing the pipeline until we have appended theChristian Mollekopf2017-04-10
| | | | | | message. Otherwise the processor might think its done before it actually is.
* Mailtransport notificationsChristian Mollekopf2017-03-30
|
* Default domain adaptorChristian Mollekopf2017-03-21
|
* Make error codes part of the applicationdomain interfaceChristian Mollekopf2017-03-20
|
* MailtransportChristian Mollekopf2017-03-18
|
* emitNotification functionChristian Mollekopf2017-03-17
|
* Gather some more error messages when trying to send mail.Christian Mollekopf2017-03-17
|
* Added notification code for mailtransportChristian Mollekopf2017-03-17
|
* Preparation to get useful notifications to KubeChristian Mollekopf2017-03-15
|
* Get mailtransport with kolabnow to workChristian Mollekopf2017-03-06
| | | | | | | | | | when connecting to smtps:// the command will silently fail, with wireshark spewing out a cryptic "5.5.2 command not recognized". The magic commandline (that works) is: curl smtp://smtp.kolabnow.com:587 -v --mail-from "$USER" --mail-rcpt "$USER" --ssl -u $USER.ch:$PW -T alternative.mbox -k --anyauth
* Filter resources by the types they support.Christian Mollekopf2017-03-01
| | | | | This avoid uselessly querying resources only to discover that they don't have a facade for the type.
* Also try to send the mail on changereplay.Christian Mollekopf2017-01-17
|
* Avoid sending the mail twiceChristian Mollekopf2017-01-13
|
* SimplificationChristian Mollekopf2017-01-12
|
* syncThen is no longer necessaryChristian Mollekopf2017-01-12
|
* MailtransporttestChristian Mollekopf2016-12-22
|
* Get mailtransport to work with kolab container.Christian Mollekopf2016-12-19
|
* Don't set capabilities as property on creation.Christian Mollekopf2016-12-15
| | | | | | Instead we make it part of the plugin. This ensure we also have access to the proper capabilities when creating a resource via sinksh.
* Move the BLOB property handling to the entitystore.Christian Mollekopf2016-12-09
| | | | | | This is really part of the storage, and will help us to cleanly implement features like moving properties into a temporary place when reading in a clean way as well.
* Move mail to sent folder after sending itChristian Mollekopf2016-12-06
|
* Moved inspection commands to a separate inspector.Christian Mollekopf2016-11-28
|
* CleanupChristian Mollekopf2016-11-27
|
* Folded the SourceWriteback into the Synchronizer.Christian Mollekopf2016-11-21
| | | | | | | | | | | | By concentrating all communication to the source in one place we get rid of several oddities. * Quite a bit of duplication since both need access to the synchronizationStore and the source. * We currently have an akward locking in place because both classes access the ync store. This is not easier to resolve cleanly. * The live of resource implementers becomes easier. * An implementation could elect to not use changereplay and always do a full sync... (maybe?)
* Removed unnecessary includesChristian Mollekopf2016-11-21
|
* Implement debug stream operators for query.Christian Mollekopf2016-11-07
|
* Specify the resource name in one placeChristian Mollekopf2016-10-21
|
* Ported the pipeline to the entitystoreChristian Mollekopf2016-10-21
|
* Refactor how the storage is used.Christian Mollekopf2016-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the initial refactoring to improve how we deal with the storage. It does a couple of things: * Rename Sink::Storage to Sink::Storage::DataStore to free up the Sink::Storage namespace * Introduce a Sink::ResourceContext to have a single object that can be passed around containing everything that is necessary to operate on a resource. This is a lot better than the multiple separate parameters that we used to pass around all over the place, while still allowing for dependency injection for tests. * Tie storage access together using the new EntityStore that directly works with ApplicationDomainTypes. This gives us a central place where main storage, indexes and buffer adaptors are tied together, which will also give us a place to implement external indexes, such as a fulltextindex using xapian. * Use ApplicationDomainTypes as the default way to pass around entities. Instead of using various ways to pass around entities (buffers, buffer adaptors, ApplicationDomainTypes), only use a single way. The old approach was confusing, and was only done as: * optimization; really shouldn't be necessary and otherwise I'm sure we can find better ways to optimize ApplicationDomainType itself. * a way to account for entities that have multiple buffers, a concept that I no longer deem relevant. While this commit does the bulk of the work to get there, the following commits will refactor more stuff to get things back to normal.
* These jobs now work reliably.Christian Mollekopf2016-10-07
|
* Avoid using the resource object to remove the data from disk.Christian Mollekopf2016-10-07
| | | | | ...because creating it will potentially start transactions on the database we're about to remove.
* A better resource filter apiChristian Mollekopf2016-10-05
|
* Ported to the kasync revampChristian Mollekopf2016-09-15
|