summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAge
* 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.
* 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.