Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | no need to hardcode this | Christian Mollekopf | 2017-05-20 |
| | |||
* | Ensure change-replay errors make it through to the correct error | Christian Mollekopf | 2017-05-20 |
| | | | | handling and are appropriately dealt with. | ||
* | Avoid notifcations for requests that do nothing, progress with folderid | Christian Mollekopf | 2017-05-20 |
| | |||
* | Set the resource offline on no server | Christian Mollekopf | 2017-05-09 |
| | | | | host not found is pretty much the same as offline for our purpose. | ||
* | Avoid unnecessary noise | Christian Mollekopf | 2017-05-04 |
| | | | | Such as progress 0 out of 0 (happens on sync of already synced folder) | ||
* | Added progress notification | Christian Mollekopf | 2017-05-04 |
| | |||
* | Less noise | Christian Mollekopf | 2017-04-10 |
| | |||
* | Detect maildir resource errors | Christian Mollekopf | 2017-04-07 |
| | |||
* | Better account status aggregation. | Christian Mollekopf | 2017-04-07 |
| | | | | | | | | | | | | | | | | | | | | | | | Only ever enter error state on non-recoverable errors. Otherwise: * Busy state while busy, then go back to online/offline/error. * If we failed connect during replay/sync we assume we're offline. * If we failed to login but could connect we have a known error condition. * If we succeeded to replay/sync something we are apprently online. At the core we have the problem that we have no way of telling wether we can connect to the server until we actually try (network is not enough: vpns, firewalls, ....). Further the status always reflects the latest status, so even if we were in an error state, once we retry we go out of the error state and either end up back in the error state or not. When aggregating states we have to similarly adjust the state to the most relevant among the resources. The states are ordered like this: * Error * Busy * Connected * Offline | ||
* | Fixed changereplay guard | Christian Mollekopf | 2017-04-06 |
| | | | | ...and improved debug output slightly. | ||
* | Mailtransport notifications | Christian Mollekopf | 2017-03-30 |
| | |||
* | Cleanup | Christian Mollekopf | 2017-03-28 |
| | |||
* | Only send notifications about being connected if we did something | Christian Mollekopf | 2017-03-28 |
| | | | | | | against the source. We used to replay no changes and then claim the resource was online. | ||
* | Track the entities that this request applies to directly in the | Christian Mollekopf | 2017-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). | ||
* | Implemented notification support in the model. | Christian Mollekopf | 2017-03-24 |
| | | | | | | | | This will allow us to fold things like progress and sync status directly into the model. Usecases are mail download progress and folder sync progress. Ideally we would also solve the resource/account state through this. | ||
* | Make error codes part of the applicationdomain interface | Christian Mollekopf | 2017-03-20 |
| | |||
* | emitNotification function | Christian Mollekopf | 2017-03-17 |
| | |||
* | Debug output | Christian Mollekopf | 2017-03-14 |
| | |||
* | An error should not stop the synchronizer from processing. | Christian Mollekopf | 2017-03-14 |
| | |||
* | Addressbook support | Christian Mollekopf | 2017-03-09 |
| | |||
* | Merge synchronization requests for individual mails of the same folder. | Christian Mollekopf | 2017-03-07 |
| | | | | | We use this frequently when loading conversations, so this results in a significant preformance improvement. | ||
* | Port away from syncStartv0.1.0 | Christian Mollekopf | 2017-03-02 |
| | |||
* | Debug output | Christian Mollekopf | 2017-02-20 |
| | |||
* | make contacts suitable for applications like sinksh | Sandro Knauß | 2017-01-30 |
| | |||
* | Readable uuid | Christian Mollekopf | 2017-01-23 |
| | |||
* | Ensure we don't accidentally spawn more transactions than necessary. | Christian Mollekopf | 2017-01-23 |
| | |||
* | Debug output | Christian Mollekopf | 2017-01-23 |
| | |||
* | Process sync requests one by one | Christian Mollekopf | 2017-01-23 |
| | |||
* | Support dependencies between sync requests. | Christian Mollekopf | 2017-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. | ||
* | Debug output | Christian Mollekopf | 2017-01-18 |
| | |||
* | Don't overwrite the first job with the continuation | Christian Mollekopf | 2017-01-18 |
| | |||
* | Avoid unnecessary replay requests. | Christian Mollekopf | 2017-01-17 |
| | | | | A single request will replay until the latest revision. | ||
* | Handle errors without crashing. | Christian Mollekopf | 2017-01-17 |
| | |||
* | Fixed build issues with pedantic enabled | Christian Mollekopf | 2017-01-12 |
| | |||
* | syncThen is no longer necessary | Christian Mollekopf | 2017-01-12 |
| | |||
* | Debug output | Christian Mollekopf | 2017-01-07 |
| | |||
* | Debug output | Christian Mollekopf | 2017-01-06 |
| | |||
* | Introduced Log::Context | Christian Mollekopf | 2016-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. | ||
* | Let the preprocessor repeat the types. | Christian Mollekopf | 2016-12-08 |
| | |||
* | Move mail to sent folder after sending it | Christian Mollekopf | 2016-12-06 |
| | |||
* | Don't reference temporary memory | Christian Mollekopf | 2016-11-29 |
| | |||
* | The synchronization call can be sync. | Christian Mollekopf | 2016-11-29 |
| | | | | | ... because we really just enqueue the request and then wait for the notification. | ||
* | Renamed RemoteIdMap to SynchronizerStore | Christian Mollekopf | 2016-11-28 |
| | |||
* | Added the flush command. | Christian Mollekopf | 2016-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 Mollekopf | 2016-11-22 |
| | |||
* | Process change replays as part of the synchronization queue | Christian Mollekopf | 2016-11-22 |
| | |||
* | Folded the SourceWriteback into the Synchronizer. | Christian Mollekopf | 2016-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 API | Christian Mollekopf | 2016-11-11 |
| | |||
* | Implement debug stream operators for query. | Christian Mollekopf | 2016-11-07 |
| | |||
* | Removed EntityReader | Christian Mollekopf | 2016-10-21 |
| |