summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAge
* A faster method for a failing connectionChristian Mollekopf2018-07-24
|
* Always enable the inbox folder.Christian Mollekopf2018-07-16
| | | | | Some services don't have the inbox as part of the subscribed folders, at least not by default, so we just always enable it.
* Increase timeout to 5s also in tests.Christian Mollekopf2018-07-13
| | | | | The tests seem to be simply to slow right now, so let's bump this to avoid flaky tests.
* Prevent a recycled session from timing out immediately.Christian Mollekopf2018-06-27
| | | | | This seems to happen sometimes (showed up in tests), and causes operations to fail.
* Check if libcurl is built with ssl support.Christian Mollekopf2018-06-27
| | | | On windows we lack ssl support it seems.
* Asserts, debug messages and other cleanupChristian Mollekopf2018-06-19
|
* 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.
* Skip revisions that we can't replay.Christian Mollekopf2018-05-23
|
* Check if ssl support is available on resource start.Christian Mollekopf2018-05-18
|
* Moved the bogus message test to the imap test.Christian Mollekopf2018-05-18
| | | | Maildir will happly store anything.
* Skip change-replay for already removed entites.Christian Mollekopf2018-05-18
| | | | | This is required to be able to resolve change-replay failures by removing the entity.
* Test what happens if we add a bogus message to the imap resource.Christian Mollekopf2018-05-18
| | | | This test currently fails because we fail to recover.
* Validate content before replay.Christian Mollekopf2018-05-18
|
* We're setting the content, not only the head.Christian Mollekopf2018-05-18
|
* Fix CalDAV test in Docker + add Calendar and Todo in the database layoutRémi Nicole2018-05-14
| | | | | | | | | | | | | Summary: Like the title says. Also removed a "/" that got doubled between the collection URI and the item path, because it made Cyrus freak out (returning unauthorized errors) Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D12755
* A test that doesn't test anything isn't very useful.Christian Mollekopf2018-05-07
|
* Verify the iterator is valid before trying to dereference it.Christian Mollekopf2018-05-07
|
* Never allocate KJob subclasses on the stackChristian Mollekopf2018-05-07
| | | | The delete themselves.
* Fixed url to work with cyrus imapChristian Mollekopf2018-05-07
|
* Implement Todo entity typeRémi Nicole2018-05-06
| | | | | | | | | | | | | | | Summary: Some notes: - Needed to specialize some flatbuffers related functions for serializing QStringList and int - Removed useless qWarnings in caldav test - Rename EventSynchronizer -> CalDAVSynchronizer since it also synchronizes Calendars and Todos (and more to come!) Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D12695
* Implement replaying CalDAV events and calendarsRémi Nicole2018-05-03
| | | | | | | | | | | | | | | | Summary: Notes: - For calendars, only removal is implemented because: - There is no DavCollectionCreateJob, possibly because there can't be an empty DAV collection - DavCollectionModifyJob only allows modifying "properties", which we don't use (except for the name, if the name is considered a property) - Currently, modifying an item with Sink overrides the one on the server, even if the store is not up-to-date Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D12611
* Windows compatChristian Mollekopf2018-04-19
|
* Forgot the mailtransport resource.Christian Mollekopf2018-04-19
|
* On windows we need to set the RUNTIME destinationChristian Mollekopf2018-04-19
|
* Fix non-deterministic use after free in WebDAVRémi Nicole2018-04-17
| | | | | | | | | | Summary: Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D12280
* Change most of Event's properties to extracted propertiesRémi Nicole2018-04-13
| | | | | | | | | | | | | | Summary: Fix T8485 Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #sink Maniphest Tasks: T8485 Differential Revision: https://phabricator.kde.org/D12106
* Add EndTime and Ical attributes to EventRémi Nicole2018-04-11
| | | | | | | | | | | | | | | | | | | | Summary: EndTime is necessary for the implementation of the calendar UI in Kube. Fixes T8482 Ical to mimic Mail's MimeMessage attribute. (Sorry for the wait, there was a good number of merge conflicts when rebasing on develop) Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #sink Maniphest Tasks: T8482 Differential Revision: https://phabricator.kde.org/D12085
* Added a dependency from webdav to sink common.Christian Mollekopf2018-04-09
| | | | | Otherwise we may try to compile webdav common before required headers are generated by the buildsystem.
* Forward the error message.Christian Mollekopf2018-04-03
|
* Avoid build errorsChristian Mollekopf2018-03-29
|
* Pick a unique name for the uploaded fileChristian Mollekopf2018-03-29
|
* Disable currently useless and broken testcodeChristian Mollekopf2018-03-29
|
* Avoid deleting all contacts on resyncChristian Mollekopf2018-03-29
| | | | by avoiding unnecessary work and reliance on quirks.
* Explicitly capturing is unnecessarily verbose.Christian Mollekopf2018-03-29
| | | | ...and saves us just about nothing.
* A carddav testChristian Mollekopf2018-03-29
|
* Job objects delete themselvesChristian Mollekopf2018-03-29
|
* Add CalDAV supportRémi Nicole2018-03-27
| | | | | | | | | | | | | | | | | | | | | Summary: Notes: - Add a `webdavcommon` folder for WebDAV generic resource code - Move `davresource` to `carddaveresource` and make it use the WebDAV code - For now it tests the CalDAV resource directly on KolabNow (to be changed) - Only synchronization, not adding / changing / removing WebDAV collections or items (to be implemented) - Only events are currently supported (todo, freebusy, etc. are to be implemented but should be straightforward) Fixes T8224 Reviewers: cmollekopf Tags: #sink Maniphest Tasks: T8224 Differential Revision: https://phabricator.kde.org/D11741
* Fixed synchronization with new mail notificationsChristian Mollekopf2018-03-02
|
* Don't hardcode the returned id.Christian Mollekopf2018-03-02
|
* Subscribe to mailboxes we create in testsChristian Mollekopf2018-03-02
|
* Implemented examineChristian Mollekopf2018-03-01
|
* Ignore empty idsChristian Mollekopf2018-03-01
|
* Select all folders and emit notification if new mails are availableChristian Mollekopf2018-03-01
|
* CleanupChristian Mollekopf2018-02-28
|
* Fixed maildirmailsynctestChristian Mollekopf2018-02-27
|
* Store all BLOB properties inline.Christian Mollekopf2018-02-06
| | | | | | | | | | | | | | | | | | | | | BLOB properties had a couple of intended purposes: * Allow large payloads to be streamed directly to disk, and then be handled by reference. * Allow zero-copy handling. * Keep the database values compact so we can avoid traversing large BLOBS. However, they came at the cost of code-complexity, and we lost all the benefits of our storage layer, such as transactions. Measurements showed, that for email (the intended primary usecase), the overhead is hardly measurable, with most parts performing better, or at least not worse. We additionally also gain file-system independence, which may help on other platforms. The biggest drawback is probably that large payloads need to be written to disk twice, because of the synchronizer queue (once for the queue, once for the actual data).
* Check the right portChristian Mollekopf2018-02-01
|
* Removed unusedChristian Mollekopf2018-01-31
|