summaryrefslogtreecommitdiffstats
path: root/examples/maildirresource/maildirresource.cpp
Commit message (Collapse)AuthorAge
* 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.
* 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?)
* 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
|
* Fixed maildir message movingChristian 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.
* 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.
* Ported to the kasync revampChristian 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.
* Maildir trash supportChristian Mollekopf2016-06-30
|
* Reuse mailpreprocessorChristian Mollekopf2016-06-26
|
* Use specialpurpose preprocessor which gives us trash folder support.Christian Mollekopf2016-06-26
|
* Catch errorsChristian Mollekopf2016-06-21
|
* Commit all databases in the same intervalChristian Mollekopf2016-06-20
|
* Avoid a nameclash with the shared variantChristian Mollekopf2016-06-19
|
* Removed some unused codepaths from the maildir implementationChristian Mollekopf2016-06-13
|
* Implemented maildir mail moves and got it to pass tests againChristian Mollekopf2016-06-13
|
* These checks are no longer necessaryChristian Mollekopf2016-06-05
|
* Track modified properties to detect necessary replay changesChristian Mollekopf2016-06-03
|
* The existence inspection is separate from the restChristian Mollekopf2016-06-02
|
* The maildir resource passes the maildirmailsync testChristian Mollekopf2016-05-31
|
* CleanupChristian Mollekopf2016-05-31
|
* Open a valid database also in the NullChangeReplay and skip internal keysChristian Mollekopf2016-05-31
|
* The imap resource is backChristian Mollekopf2016-05-29
|
* Separated the mail property extractorChristian Mollekopf2016-05-29
|
* The maildirresource is back in actionChristian Mollekopf2016-05-29
|
* Handle all the remoteId updating and entity reading in the base-class.Christian Mollekopf2016-05-25
|
* Maildir folder inspectionChristian Mollekopf2016-05-25
|
* A much more comprehensive mail testChristian Mollekopf2016-05-24
|
* Set the actual icon passed inChristian Mollekopf2016-05-20
|
* Handle modifications in maildirChristian Mollekopf2016-05-11
|
* Updated extracted properties in pipeline.Christian Mollekopf2016-05-09
| | | | .. and store the correct mimeMesage path (without cur)
* Index lastChristian Mollekopf2016-05-09
| | | | Otherwise we don't index what is going to be stored.
* Move mimeMessage in preprocessor, and directly move to cur.Christian Mollekopf2016-05-08
| | | | | We use the maildir as our internal storage, so the message needs to be moved immediately and not only with changereplay.
* Extracted createFolder functionChristian Mollekopf2016-05-08
|
* Less duplicationChristian Mollekopf2016-05-08
|
* Create a drafts folder on start, and then move any draft in there.Christian Mollekopf2016-05-08
|
* Create actual messages in maildirChristian Mollekopf2016-05-05
|
* Import new mails as wellChristian Mollekopf2016-02-11
|
* Use a single transaction to append all messages generated during a sync.Christian Mollekopf2016-02-11
| | | | This get's a sync of 4890 mails from 55s to less than 10s.
* Print average time per mail.Christian Mollekopf2016-02-10
|
* Renamed Resources to ResourceControlChristian Mollekopf2016-02-10
|
* Gather more timingsChristian Mollekopf2016-02-08
|