summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAge
...
* Skip modifications that do nothing.Christian Mollekopf2017-07-27
| | | | | | This allows us to i.e. blindly mark mails as read in kube, with the modification automatically being dropped if it doesn't do anything useful.
* Only print modified properties if we have any.Christian Mollekopf2017-07-27
|
* Sanity check queriesChristian Mollekopf2017-07-16
|
* Simplified codeChristian Mollekopf2017-07-16
| | | | The while loop is executed at least once, so advanced is always true.
* Better error messagesChristian Mollekopf2017-07-16
|
* No return value needed here.Christian Mollekopf2017-07-16
|
* Filter resources for syncing by type.Christian Mollekopf2017-07-16
| | | | | Otherwise we end up sending sync requests for contacts to imap resources.
* Avoid regenerating the messageId on every modficationChristian Mollekopf2017-07-06
|
* Keep notifier alive for notifications of new resources.Christian Mollekopf2017-07-05
| | | | Necessary to get notifications for newly created resources.
* Notification printingChristian Mollekopf2017-07-05
|
* Ensure we have the right facadeChristian Mollekopf2017-06-27
|
* Ensure we can deal with non-null terminated strings.Christian Mollekopf2017-06-27
|
* Photo supportChristian Mollekopf2017-06-27
|
* Ensure revision updates are instantaneous.Christian Mollekopf2017-06-23
| | | | | | | We could do some event compression with a timer if necessary, but for the time being we'll just flush after every notification. This is necessary so i.e. a mail in the outbox appears immediately as it is created in the resource.
* Build with flatbuffers 1.7Christian Mollekopf2017-06-23
| | | | | | There's a new template version that expects methods that QByteArray doesn't have but breaks the implicit conversion to const char *, std::string is safer anyways (doesn't require a null terminated string).
* We can run into this on empty modelsChristian Mollekopf2017-06-21
|
* Added threading index cleanupChristian Mollekopf2017-06-15
|
* No more threading by subjectChristian Mollekopf2017-06-15
| | | | | It seems to do more harm than good, creating huge threads, and the webclient doesn't do it either.
* Fixed incremental queriesChristian Mollekopf2017-06-10
| | | | | | The incremental querying broke as soon as a revision update came in since it would nuke the base-set. This fixes it, but it's definitely not pretty.
* A stab at the undefined reference to QMap<QByteArray, int>::QMap() errorChristian Mollekopf2017-06-06
| | | | ...that I only get on copr and nowhere else.
* no need to hardcode thisChristian Mollekopf2017-05-20
|
* Ensure change-replay errors make it through to the correct errorChristian Mollekopf2017-05-20
| | | | handling and are appropriately dealt with.
* We don't need the layout just to check for existenceChristian Mollekopf2017-05-20
|
* Reread the location if we enable the test modeChristian Mollekopf2017-05-20
|
* Avoid notifcations for requests that do nothing, progress with folderidChristian Mollekopf2017-05-20
|
* Don't commit after every replayed revisionChristian Mollekopf2017-05-12
| | | | | | If we didn't actually do anything we just carry on. Failing to commit is harmless in that case and committing for every revision is rather expensive.
* Completely shortcut the stream evaluation if we're not going to use theChristian Mollekopf2017-05-12
| | | | | | | | | output Serializing the data is the expensive part, so we want to completely avoid that for the noisier part if we're not going to use it. Additionally we're now using a stringbuilder for the debugarea to try to further improve the situation with temporary memory allocations.
* Avoid redoing stuff over and over that we can easily avoid.Christian Mollekopf2017-05-12
|
* QDateTime::toString is really slowChristian Mollekopf2017-05-12
|
* We run into this when trying to index a property that is not set.Christian Mollekopf2017-05-12
| | | | i.e. in tests.
* Don't add resources that don't match the query during a livequeryChristian Mollekopf2017-05-12
|
* Added draft property index.Christian Mollekopf2017-05-12
| | | | | | We need this for the composer to efficiently query. Since we don't have any migration code this will require all data to be refetched (sinksh upgrade).
* Allow substring matches on the trace identifierChristian Mollekopf2017-05-12
|
* Only use the filename as area, not the full path.Christian Mollekopf2017-05-12
|
* Avoid copyingChristian Mollekopf2017-05-12
|
* Fixed buildChristian Mollekopf2017-05-12
|
* No more SINK_DEBUG_AREAChristian Mollekopf2017-05-12
|
* Upgrade job that we can eventually use to upgrade the storageChristian Mollekopf2017-05-11
|
* initEnvironment with double-checked lockingChristian Mollekopf2017-05-11
|
* Starting to get rid of the SINK_DEBUG_AREAChristian Mollekopf2017-05-11
|
* Don't store blobs in directories.Christian Mollekopf2017-05-11
| | | | | Creating the directories is way more expensive than searching through the files on removal.
* Centralized Sink::Log::debugStream callChristian Mollekopf2017-05-11
|
* Calling mkpath once is enoughChristian Mollekopf2017-05-11
|
* Avoid recreating the settings object on every log callChristian Mollekopf2017-05-11
|
* Make the offline status higher priorityChristian Mollekopf2017-05-10
| | | | | Some resources always claim to be online, so the ones offline are relevant.
* Removed unused headersChristian Mollekopf2017-05-09
|
* Set the resource offline on no serverChristian Mollekopf2017-05-09
| | | | host not found is pretty much the same as offline for our purpose.
* Export DbLayoutChristian Mollekopf2017-05-08
|
* Fixed warningsChristian Mollekopf2017-05-08
|
* Guard the changereplay callbacks using the new APIChristian Mollekopf2017-05-08
|