summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapresource.cpp
Commit message (Collapse)AuthorAge
* Translate the host not found errorChristian Mollekopf2017-05-09
|
* Fixed folder syncChristian Mollekopf2017-05-04
| | | | | When explicitly listing the folder we can't rely on the subscription state, nor should we.
* Added progress notificationChristian Mollekopf2017-05-04
|
* Only sync subscribed foldersChristian Mollekopf2017-05-04
|
* Make sure we always have a complete hierarchy from the IMAP serverChristian Mollekopf2017-04-21
|
* Gmail support.Christian Mollekopf2017-04-21
| | | | | For the time being we hardcode a list of folders that we synchronize that we know are not duplicating messages.
* We set the instance identifier in the base classChristian Mollekopf2017-04-11
|
* Avoid crashing if we fail to resolve the local id.Christian Mollekopf2017-04-07
|
* We already print those warnings in the synchronizerChristian Mollekopf2017-03-30
|
* CleanupChristian Mollekopf2017-03-28
|
* Track the entities that this request applies to directly in theChristian Mollekopf2017-03-28
| | | | | | | | syncrequest That way we can do the notification emitting in the synchronizer and it keeps working even if the login already fails (so the synchronizing code would never be executed).
* Emit notifications while a folder is being syncedChristian Mollekopf2017-03-27
|
* Don't use 0 as error code and better error codesChristian Mollekopf2017-03-27
|
* Pass in days to downloadChristian Mollekopf2017-03-26
|
* SinkTraceCtxChristian Mollekopf2017-03-26
|
* Default domain adaptorChristian Mollekopf2017-03-21
|
* Removed unnecessary default implementationsChristian Mollekopf2017-03-21
|
* Translate login errorsChristian Mollekopf2017-03-20
|
* Make error codes part of the applicationdomain interfaceChristian Mollekopf2017-03-20
|
* Merge synchronization requests for individual mails of the same folder.Christian Mollekopf2017-03-07
| | | | | We use this frequently when loading conversations, so this results in a significant preformance improvement.
* 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.
* Skip messages that we can't fetch anyways.Christian Mollekopf2017-02-26
|
* Added session cache.Christian Mollekopf2017-02-08
| | | | So we can avoid logging in for every command.
* Support dependencies between sync requests.Christian Mollekopf2017-01-22
| | | | | | | | | | If one sync task depends on the previous sync task we want to flush in between, so we can query for the results of the previous sync request locally. If we detect such a dependency we temporarily halt all processing of synchronization requests until the flush completes, so we can continue processing.
* The template arguments are no longer required.Christian Mollekopf2017-01-12
|
* syncThen is no longer necessaryChristian Mollekopf2017-01-12
|
* Logout after changereplayChristian Mollekopf2017-01-12
|
* Only apply the name-based special purpose detection to top-levelChristian Mollekopf2017-01-12
| | | | folders.
* Set enabled state from subscriptionChristian Mollekopf2017-01-11
|
* 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
|