summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAge
...
* Catch special error case of empty db nameChristian Mollekopf2017-05-03
|
* Dont pass around buffers to potentially invalid memory.Christian Mollekopf2017-05-03
| | | | | Once the transaction is done or some modification is executed that memory is no longer valid. So we always copy.
* Sanity check db namesChristian Mollekopf2017-05-03
| | | | | | lmdb and sink deal badly with e.g. a string containing a null in the millde as db name. Thus we try to protect better against it. This is an actual problem we triggered: https://phabricator.kde.org/T5880
* A single propertymapper for both directionsChristian Mollekopf2017-04-28
|
* Removed the resource mapperChristian Mollekopf2017-04-28
|
* Removed more unnecessary template argumentsChristian Mollekopf2017-04-28
|
* Removed the template argument from the write property mapperChristian Mollekopf2017-04-28
|
* Simplified propertymapperChristian Mollekopf2017-04-28
|
* We get an offline status notification initiallyChristian Mollekopf2017-04-27
|
* Fixed build errorChristian Mollekopf2017-04-26
|
* cleanupChristian Mollekopf2017-04-12
|
* Fixed entity creation in pipelineChristian Mollekopf2017-04-12
|
* Better debug outputChristian Mollekopf2017-04-12
|
* Merge remote-tracking branch 'origin/master' into developChristian Mollekopf2017-04-12
|\
| * handle all enum valuesMarco Martin2017-04-11
| | | | | | | | fix build, add a default handler in the switch
* | Allow the preprocessor to move and use in mailtransportChristian Mollekopf2017-04-12
| |
* | Moved all preprocessing back into the pipelineChristian Mollekopf2017-04-11
| |
* | Move the preprocssing back out of entitystore into the pipeline.Christian Mollekopf2017-04-11
| | | | | | | | | | This is where this really belongs, only the indexing is part of storage. This is necessary so preprocessors can move entities as well.
* | We set the instance identifier in the base classChristian Mollekopf2017-04-11
| |
* | Less noiseChristian Mollekopf2017-04-10
| |
* | Don't continue processing the pipeline until we have appended theChristian Mollekopf2017-04-10
| | | | | | | | | | | | message. Otherwise the processor might think its done before it actually is.
* | Added uid indexChristian Mollekopf2017-04-10
| |
* | Fixed readAllUids and readAllChristian Mollekopf2017-04-10
| |
* | Send an error status messagebefore crashing.Christian Mollekopf2017-04-07
| |
* | Detect maildir resource errorsChristian Mollekopf2017-04-07
| |
* | Better account status aggregation.Christian Mollekopf2017-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
* | Be less verboseChristian Mollekopf2017-04-07
| | | | | | | | We already see the resource exiting.
* | Fixed changereplay guardChristian Mollekopf2017-04-06
| | | | | | | | ...and improved debug output slightly.
* | Mailtransport notificationsChristian Mollekopf2017-03-30
| |
* | Print notification type namesChristian Mollekopf2017-03-29
| |
* | Emit dataChanged without rolesChristian Mollekopf2017-03-29
| |
* | CleanupChristian Mollekopf2017-03-28
| |
* | Added missing property mappersChristian Mollekopf2017-03-28
| |
* | Guard against destructionChristian Mollekopf2017-03-28
| | | | | | | | We really need to guard against this in kasync...
* | Don't filter trash in the standard queryChristian Mollekopf2017-03-28
| | | | | | | | ...we selectively apply the filter in kube instead.
* | Only send notifications about being connected if we did somethingChristian Mollekopf2017-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 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).
* | Don't use 0 as error code and better error codesChristian Mollekopf2017-03-27
| |
* | Fixed notification queringChristian Mollekopf2017-03-26
| |
* | Don't filter notifications too early.Christian Mollekopf2017-03-26
| | | | | | | | | | | | With this it becomes difficult to test notifications, and notifications may contain more interesting information, so we don't want to drop them too early.
* | Test the result of the write operation.Christian Mollekopf2017-03-26
| |
* | Use the resourceaccessfactory for notifiers as well.Christian Mollekopf2017-03-26
| | | | | | | | | | Otherwise we end up trying to start the resource from multiple places in notifiertest.
* | Implemented notification support in the model.Christian Mollekopf2017-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.
* | Fixed identity nameChristian Mollekopf2017-03-24
| |
* | DomainType::nameChristian Mollekopf2017-03-23
| |
* | New propertiesChristian Mollekopf2017-03-23
| |
* | Maintain the query state instead of using the offset.Christian Mollekopf2017-03-22
| | | | | | | | | | | | | | | | | | | | Instead of using the offset to skip over old results requires recalculating them, and resulted in some cases in results being added multiple times to the model. By just maintaining the state we can apply the offset directly to the base-set, and maintain the state in reduction etc. which is necessary to continue streaming results while making sure we don't report anything twice.
* | Default domain adaptorChristian Mollekopf2017-03-21
| |
* | Move type implementations in one placeChristian Mollekopf2017-03-21
| | | | | | | | | | | | | | Having them separated is rather pointless (since we need one for every type, and all types are the interface of sink, as one), and caused quite a bit of friction when adding new types. This will also make it easier to change things for all types.
* | Better debugoutputChristian Mollekopf2017-03-21
| |