summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAge
...
* Ensure we copy all blobs when copying to another resourceChristian Mollekopf2017-10-09
|
* Optimized the incremental update case.Christian Mollekopf2017-10-08
| | | | | | | | | | | | This brings the incremental closer to a regular query (about 1.5 times as bad instead of 3.5 times). For a comparison look at MailQueryBenchmark::testIncremental() The optimization is built on the assumption that we i.e. get an update with 100 revisions, and thus the optimization applies to the case where we have multiple revisions within that batch that are part of the same reduction. In such a case we can avoid redoing the reduction lookup over and over.
* Benchmark cleanupChristian Mollekopf2017-10-08
|
* The variance of a single value is 0Christian Mollekopf2017-10-08
|
* Fixed dummyresource write benchmarkChristian Mollekopf2017-10-06
|
* Get both maildir and imap sync tests to workChristian Mollekopf2017-09-20
|
* We now get a connectionerrorChristian Mollekopf2017-09-20
|
* Benchmark incremental queriesChristian Mollekopf2017-09-13
|
* Fixed getUids by type filtering.Christian Mollekopf2017-09-07
| | | | | We used to simply return all uids. Requires "sinksh upgrade"
* Ensure we monitor resources for status changes that have been createdChristian Mollekopf2017-09-02
| | | | | | after the query. This fixes status monitoring when creating a new account.
* Default to NoStatus for resources until we know more.Christian Mollekopf2017-08-25
| | | | | | This allows the aggregation to ignore resources where we don't have any status information yet, so the account doesn't always end up being offline.
* Implemented thread mergingChristian Mollekopf2017-08-18
| | | | | It can happen that thread messages are not delivered in order, which means we will have to merge threads once all messages are available.
* Ensure marking as unread works as wellChristian Mollekopf2017-08-02
|
* 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
* Adjusted docs and test.Christian Mollekopf2017-07-27
|
* Fixed testChristian Mollekopf2017-07-06
|
* Keep notifier alive for notifications of new resources.Christian Mollekopf2017-07-05
| | | | Necessary to get notifications for newly created resources.
* We have no guarantee when the notification arrivesChristian Mollekopf2017-07-05
|
* Ensure we can deal with non-null terminated strings.Christian Mollekopf2017-06-27
|
* Use asyncverify where we canChristian Mollekopf2017-06-14
| | | | | Otherwise the test is not aborted because the job doesn't get any error set
* 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).
* Fixed incremental queriesChristian Mollekopf2017-06-10
| | | | | | The incremental querying broke as soon as a revision update came in since it would nuke the base-set. This fixes it, but it's definitely not pretty.
* Don't add resources that don't match the query during a livequeryChristian Mollekopf2017-05-12
|
* Made the test a bit conciserChristian Mollekopf2017-05-12
|
* Try once more to initialize git_buf portably...Christian Mollekopf2017-05-12
|
* No more SINK_DEBUG_AREAChristian Mollekopf2017-05-12
|
* Fixed notification testChristian Mollekopf2017-05-11
|
* Fixed querytestChristian Mollekopf2017-05-11
|
* Fixed benchmarkChristian Mollekopf2017-05-11
|
* Fixed warningsChristian Mollekopf2017-05-08
|
* Somewhat useless stress test...Christian Mollekopf2017-05-07
|
* Don't leak transactions when copying them.Christian Mollekopf2017-05-05
| | | | Previsouly we would hit the maxreaders limit
* A single propertymapper for both directionsChristian Mollekopf2017-04-28
|
* Removed the resource mapperChristian Mollekopf2017-04-28
|
* Removed the template argument from the write property mapperChristian Mollekopf2017-04-28
|
* We get an offline status notification initiallyChristian Mollekopf2017-04-27
|
* Moved all preprocessing back into the pipelineChristian Mollekopf2017-04-11
|
* Added uid indexChristian Mollekopf2017-04-10
|
* Fixed readAllUids and readAllChristian Mollekopf2017-04-10
|
* Avoid crashing if we fail to resolve the local id.Christian Mollekopf2017-04-07
|
* Better account status aggregation.Christian Mollekopf2017-04-07
| | | | | | | | | | | | | | | | | | | | | | | Only ever enter error state on non-recoverable errors. Otherwise: * Busy state while busy, then go back to online/offline/error. * If we failed connect during replay/sync we assume we're offline. * If we failed to login but could connect we have a known error condition. * If we succeeded to replay/sync something we are apprently online. At the core we have the problem that we have no way of telling wether we can connect to the server until we actually try (network is not enough: vpns, firewalls, ....). Further the status always reflects the latest status, so even if we were in an error state, once we retry we go out of the error state and either end up back in the error state or not. When aggregating states we have to similarly adjust the state to the most relevant among the resources. The states are ordered like this: * Error * Busy * Connected * Offline
* Ignore changereplay notifications in the notificationstestChristian Mollekopf2017-03-26
| | | | | They don't get through to the resource consistently, so we have to ignore them for now to make the test reliable.
* Implemented notification support in the model.Christian Mollekopf2017-03-24
| | | | | | | | This will allow us to fold things like progress and sync status directly into the model. Usecases are mail download progress and folder sync progress. Ideally we would also solve the resource/account state through this.
* Fixed mailquery benchmark.Christian Mollekopf2017-03-19
|
* Handle filtered thread-leaderChristian Mollekopf2017-03-19
|
* Revived mailquerybenchmark to show how slow reduction queries are.Christian Mollekopf2017-03-18
|
* Removed tests that we no longer useChristian Mollekopf2017-03-18
|
* Call necessary libgit init and shutdown functions.Christian Mollekopf2017-03-18
| | | | The library asserts otherwise
* Don't trigger threadindex warningsChristian Mollekopf2017-03-07
|
* Resolved potential deadlockChristian Mollekopf2017-03-07
| | | | | | When trying to reply to a mail from kube we ran into a deadlock. The initial result callback is called from the main thread, and that can thus directly lead to destruction of the emitter.