summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAge
* 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
|
* syncThen is no longer necessaryChristian Mollekopf2017-01-12
|
* Don't turn modifications into creationsChristian Mollekopf2017-01-04
|
* React to removals in reduced live-query.Christian Mollekopf2017-01-03
|
* More Log::ContextChristian Mollekopf2016-12-22
|
* Introduced Log::ContextChristian Mollekopf2016-12-22
| | | | | | | To have hierarchical debug output we have to pass around something at run-time, there is no reasonable alternative. Log::Context provides the identifier to do just that and largely replaces the debug component idea.
* Report when we don't have any more to fetch.Christian Mollekopf2016-12-20
| | | | ... so we can use that information in fetchMore.
* The directory was just not existing because no file was in it.Christian Mollekopf2016-12-15
|
* 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.
* Made references serializable so we can store them in config filesChristian Mollekopf2016-12-15
|
* Use the accessorsChristian Mollekopf2016-12-15
| | | | ...to properly wrap references.
* The mailsync resource doesn't actually have an INBOX available.Christian Mollekopf2016-12-12
|
* Wrap references in a Reerence type.Christian Mollekopf2016-12-08
| | | | | | | | This allows us to make sure that references are not taken out of context (the resource). Because we need to use the type-specific accessors more we also ran into a problem that we cannot "downcast" a reference with the change recording still working, for that we have the cast<T>() operator now.
* Interresourcemovetest/fixed interresourcemoveChristian Mollekopf2016-12-06
| | | | | We cant take the identifier from the entity where we just cleared the identifier.
* Wrap blob properties in type so we can distinguish it from other properties.Christian Mollekopf2016-12-06
| | | | | | When moving an entity to another resource we have to move the blob properties to a temporary directory first, and that requires that we are able to distinguish blob properties from the rest at runtime.
* Copy command and proper moveChristian Mollekopf2016-12-04
|
* interresource moveChristian Mollekopf2016-12-02
|
* The synchronization call can be sync.Christian Mollekopf2016-11-29
| | | | | ... because we really just enqueue the request and then wait for the notification.
* Used the CommandProcessor as central place for all command processing.Christian Mollekopf2016-11-28
|
* Added the flush command.Christian Mollekopf2016-11-25
| | | | | | | Instead of trying to actually flush queues, we send a special command through the same queues as the other commands and can thus guarantee that the respective commands have been processed without blocking anything.
* Ensure we always process the full queue and that flushing works.Christian Mollekopf2016-11-22
|
* Hide Query::parentPropertyChristian Mollekopf2016-11-14
|
* Hide the Query::limitChristian Mollekopf2016-11-14
|
* Sync single folder testChristian Mollekopf2016-11-14
|
* Implement debug stream operators for query.Christian Mollekopf2016-11-07
|
* Register query serializerChristian Mollekopf2016-11-07
|
* Query serialization.Christian Mollekopf2016-11-06
|
* Don't expose the live query flag directly.Christian Mollekopf2016-11-04
|
* Fixed benchmarkChristian Mollekopf2016-10-21
|
* TypeImplementation cleanupChristian Mollekopf2016-10-21
|
* Removed the whole revision cleanup into the entitystoreChristian 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.