summaryrefslogtreecommitdiffstats
path: root/common/store.cpp
Commit message (Collapse)AuthorAge
* Ensure the copied enum matchesChristian Mollekopf2017-08-22
|
* Empty resource id's are valid when we search for resources.Christian Mollekopf2017-07-27
|
* Skip modifications that do nothing.Christian Mollekopf2017-07-27
| | | | | | This allows us to i.e. blindly mark mails as read in kube, with the modification automatically being dropped if it doesn't do anything useful.
* Sanity check queriesChristian Mollekopf2017-07-16
|
* Filter resources for syncing by type.Christian Mollekopf2017-07-16
| | | | | Otherwise we end up sending sync requests for contacts to imap resources.
* No more SINK_DEBUG_AREAChristian Mollekopf2017-05-12
|
* Upgrade job that we can eventually use to upgrade the storageChristian Mollekopf2017-05-11
|
* CleanupChristian Mollekopf2017-03-28
|
* Fixed notification queringChristian Mollekopf2017-03-26
|
* Always request properties we use and in turn avoid getting errorsChristian Mollekopf2017-03-14
| | | | | ...by setting dummy values for properties we do not actually have set in the config.
* Debug outputChristian Mollekopf2017-03-14
|
* 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.
* Fixed multimodificationsChristian Mollekopf2017-02-16
|
* DebugoutputChristian Mollekopf2017-02-13
|
* syncThen is no longer necessaryChristian Mollekopf2017-01-12
|
* Modifications for multiple entities.Christian Mollekopf2017-01-12
| | | | This allows to apply a modification to all entities matching some query.
* Debug outputChristian Mollekopf2017-01-12
|
* Debug outputChristian Mollekopf2017-01-10
|
* Better debug outputChristian Mollekopf2016-12-23
|
* Use the resourcefacade to query for resources.Christian Mollekopf2016-12-23
| | | | | | Otherwise we'd have to maintain two query paths, and getResource already broke because we didn't retrieve the capabilities.
* 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.
* Let the preprocessor repeat the types.Christian Mollekopf2016-12-08
|
* Fix copy constructor of SyncScopeChristian Mollekopf2016-12-06
| | | | | We used to loose the resource list and thus erroneously sync all available resources.
* Debug outputChristian Mollekopf2016-12-06
|
* Copy command and proper moveChristian Mollekopf2016-12-04
|
* interresource moveChristian Mollekopf2016-12-02
|
* CleanupChristian Mollekopf2016-11-29
|
* 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.
* Never remove the static facades.Christian Mollekopf2016-11-22
| | | | This fixes the clientapitest.
* sinksh list identity supportChristian Mollekopf2016-11-21
|
* Implement debug stream operators for query.Christian Mollekopf2016-11-07
|
* User querybaseChristian Mollekopf2016-11-04
|
* Don't expose the live query flag directly.Christian Mollekopf2016-11-04
|
* Error propagation works in kasync now.Christian Mollekopf2016-11-04
|
* 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.
* Revert "Error propagation should work now."Christian Mollekopf2016-10-07
| | | | This reverts commit b7fc5fa09a90ec383b58d846533b2b38ba7c577e.
* Error propagation should work now.Christian Mollekopf2016-10-06
|
* A better resource filter apiChristian Mollekopf2016-10-05
|
* Specify base set as part of the filter stages in the query.Christian Mollekopf2016-10-05
|
* Resource subqueriesChristian Mollekopf2016-10-04
|
* Only call fetch once on the aggregate fetcher.Christian Mollekopf2016-10-04
| | | | Otherwise we end up executing the initial query multiple times.
* Don't hardcode the type property.Christian Mollekopf2016-09-27
|
* Ported to the kasync revampChristian Mollekopf2016-09-15
|
* Fixed new diagnostics errorsChristian Mollekopf2016-07-13
|
* React to new resourcesChristian Mollekopf2016-07-12
|
* Wait for the resource shutdown during removeFromDiskChristian Mollekopf2016-07-12
| | | | Otherwise we risk failing jobs if they are sent to the old resource.
* Centrally define global typesChristian Mollekopf2016-07-11
|
* A new debug system.Christian Mollekopf2016-07-07
| | | | | | | | | | | | | | | Instead of a single #define as debug area the new system allows for an identifier for each debug message with the structure component.area. The component is a dot separated identifier of the runtime component, such as the process or the plugin. The area is the code component, and can be as such defined at compiletime. The idea of this system is that it becomes possible to i.e. look at the output of all messages in the query subsystem of a specific resource (something that happens in the client process, but in the resource-specific subcomponent). The new macros are supposed to be less likely to clash with other names, hence the new names.