summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapresource.cpp
Commit message (Collapse)AuthorAge
...
* Logout after synchronizationChristian Mollekopf2017-01-10
|
* Simplify jobsChristian Mollekopf2017-01-10
| | | | | | For some reason this also makes the synchronization to throw an error on login failure again. Something with the job error propagation is not quite right.
* Correctly resolve the folderChristian Mollekopf2017-01-10
|
* Remember if we have all of the data or only the headers.Christian Mollekopf2017-01-10
|
* Improved imap mail sync algorithm.Christian Mollekopf2017-01-10
| | | | | | | | | | | | | | | * when requesting individual mails we sync the full content * when requesting individual folders we get 2 weeks of full content + headers for everything else. * when requesting a sync for all folders we only get 2 weeks of full content. Getting the headers for 50k messages takes about 180s on my system with kolabnow (network being the bottleneck), so that's managable. Getting the full content would take in the range of hours. This way we have something to show, and a way to request more data, without making the system overly complex yet. Certainly not the final solution, but a good start.
* No more normalizedPathChristian Mollekopf2017-01-07
|
* Debug outputChristian Mollekopf2017-01-06
|
* 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.
* Don't try to fetch flags on initial sync.Christian Mollekopf2016-12-16
|
* 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.
* Move the BLOB property handling to the entitystore.Christian Mollekopf2016-12-09
| | | | | | This is really part of the storage, and will help us to cleanly implement features like moving properties into a temporary place when reading in a clean way as well.
* 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.
* Renamed RemoteIdMap to SynchronizerStoreChristian Mollekopf2016-11-28
|
* Moved inspection commands to a separate inspector.Christian Mollekopf2016-11-28
|
* CleanupChristian Mollekopf2016-11-27
|
* Folded the SourceWriteback into the Synchronizer.Christian Mollekopf2016-11-21
| | | | | | | | | | | | By concentrating all communication to the source in one place we get rid of several oddities. * Quite a bit of duplication since both need access to the synchronizationStore and the source. * We currently have an akward locking in place because both classes access the ync store. This is not easier to resolve cleanly. * The live of resource implementers becomes easier. * An implementation could elect to not use changereplay and always do a full sync... (maybe?)
* Apply default date filter.Christian Mollekopf2016-11-15
|
* Made the use of the folder struct a bit more expressiveChristian Mollekopf2016-11-14
|
* Prepared new query based synchronization APIChristian Mollekopf2016-11-11
|
* Implement debug stream operators for query.Christian Mollekopf2016-11-07
|
* CleanupChristian Mollekopf2016-10-21
|
* Specify the resource name in one placeChristian Mollekopf2016-10-21
|
* Ported the pipeline to the entitystoreChristian Mollekopf2016-10-21
|
* Removed the now obsolete 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.
* Avoid using the resource object to remove the data from disk.Christian Mollekopf2016-10-07
| | | | | ...because creating it will potentially start transactions on the database we're about to remove.
* New synchronization algorithm that only fetches the last 14 days.Christian Mollekopf2016-09-15
|
* New kimap2 syntaxChristian Mollekopf2016-09-15
|
* New kimap2 syntaxChristian Mollekopf2016-09-15
|
* Remember highestmodseqChristian Mollekopf2016-09-15
|
* Don' create new entities on flag change.Christian Mollekopf2016-09-15
|
* Flag updatesChristian Mollekopf2016-09-15
|
* Made use of KAsync::Job::serialEachChristian Mollekopf2016-09-15
|
* Use KIMAP2Christian Mollekopf2016-09-15
|
* Ported to the kasync revampChristian Mollekopf2016-09-15
|
* Incremental fetch of mailsChristian Mollekopf2016-09-15
|
* Prepare incremental syncing.Christian Mollekopf2016-09-15
|
* Progress reportingChristian Mollekopf2016-09-15
|
* Debug outputChristian Mollekopf2016-09-15
|
* CleanupChristian Mollekopf2016-09-15
|
* Fixed new diagnostics errorsChristian Mollekopf2016-07-13
|
* 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.
* More debug outputChristian Mollekopf2016-06-30
|
* Fixed buildChristian Mollekopf2016-06-30
|
* Share special purpose preprocessor implementation.Christian Mollekopf2016-06-25
|
* Use username instead of just userChristian Mollekopf2016-06-23
|
* Made the log-level output a lot less noisyChristian Mollekopf2016-06-20
|
* Detect and skip noselect foldersChristian Mollekopf2016-06-20
|
* Only one commit per folder and skip folders that we fail to sync.Christian Mollekopf2016-06-20
|
* Commit all databases in the same intervalChristian Mollekopf2016-06-20
|