summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAge
...
* 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.
* Move blob files on move to the same location like when a client moves.Christian Mollekopf2017-03-07
| | | | | | Otherwise if the source resource manages to clean up the revision before the target resource gets to process the new entity, then the blob file is gone already.
* libgit version checkChristian Mollekopf2017-03-06
|
* Port away from syncStartv0.1.0Christian Mollekopf2017-03-02
|
* Adapt to KAsync changesChristian Mollekopf2017-03-01
|
* 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.
* Make opening dbis non-racyChristian Mollekopf2017-02-27
| | | | | | | | | | | | | | Dbis can only be opened by one thread and should then be shared accross all threads after committing the transaction to create the dbi. This requires us to initially open all db's, which in turn requires us to know the correct flags. This patch stores the flags to open each db in a separate db, and then opens up all databases on initial start. If a new database is created that dbi is as well shared as soon as the transaction is committed (before the dbi is private to the transaction).
* Fixed multimodificationsChristian Mollekopf2017-02-16
|
* Remember whether a blob property is external or not.Christian Mollekopf2017-02-16
| | | | | ...we used to accidentally move external blobs after the property was lost when storing the modificatoin in the queue.
* Mails don't have uid'sChristian Mollekopf2017-02-16
|
* Make libgit2 actually optional for testsHeiko Becker2017-02-14
| | | | | | | | | | | | Test Plan: cmake configure passes without a hard error. Reviewers: cmollekopf, #kde_pim Reviewed By: cmollekopf, #kde_pim Subscribers: dvratil, cmollekopf Differential Revision: https://phabricator.kde.org/D4443
* Avoid triggering reinsert if the leader doesn't change.Christian Mollekopf2017-02-13
|
* Ensure we don't accidentally pick up a dataChanaged signal from theChristian Mollekopf2017-02-13
| | | | initial fetch.
* Don't emit superfluous remove signals.Christian Mollekopf2017-02-13
| | | | | We often let removal updates through and expect the model to deal with superfluous updates, this now actually implements that.
* Fixed reduction updates with stateful query.Christian Mollekopf2017-02-13
| | | | | | Some filters need to maintain state between runs in order to be able to emit only what has changed. This now also make reduction work for live queries.
* Fixed query flags.Christian Mollekopf2017-02-13
|
* Use the messageId instead of the uid.Christian Mollekopf2017-02-09
| | | | | The uid is not existing for the mail and the threading requires a messageId.
* Fixed incremental fetchingChristian Mollekopf2017-02-03
|
* A model stress test to try to crash the result emitter when used withChristian Mollekopf2017-01-31
| | | | threads.
* Ensure blooming queries filter as they shouldChristian Mollekopf2017-01-31
| | | | After the initial bloom, it should turn into a regular filter.
* Fixed build issues with pedantic enabledChristian Mollekopf2017-01-12
|