Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Only processPendingCommandQueue once and send secret command after that. | Christian Mollekopf | 2017-09-18 | |
| | | | | We run into a crash otherwise when creating the first account.. | |||
* | Avoid storing the password in the configuration | Christian Mollekopf | 2017-09-18 | |
| | | | | | | | The password (or any other secret), is now cached in the client process (in-memory only), and delivered to the resource via command. The resource avoids doing any operations against the source until the secret is available. | |||
* | comments | Christian Mollekopf | 2017-09-13 | |
| | ||||
* | Reduce the number of progress notifications for large sync sets. | Christian Mollekopf | 2017-09-13 | |
| | | | | | We don't need an update for every mail if we download 50k mails. We just need enough to animate a progress bar. | |||
* | Simplified code | Christian Mollekopf | 2017-09-12 | |
| | ||||
* | Avoid reindexing the same thread | Christian Mollekopf | 2017-09-12 | |
| | ||||
* | Clarified code | Christian Mollekopf | 2017-09-12 | |
| | ||||
* | Fixed getUids by type filtering. | Christian Mollekopf | 2017-09-07 | |
| | | | | | We used to simply return all uids. Requires "sinksh upgrade" | |||
* | Avoid hiding the index() function | Christian Mollekopf | 2017-09-02 | |
| | ||||
* | Ensure we monitor resources for status changes that have been created | Christian Mollekopf | 2017-09-02 | |
| | | | | | | after the query. This fixes status monitoring when creating a new account. | |||
* | Use Q_GLOBAL_STATIC for threadsafety. | Christian Mollekopf | 2017-08-31 | |
| | | | | | This resolves the following warning on shutdown it seems: "QObject::connect: No such signal QObject::aboutToClose() in ../../include/QtCore/5.9.1/QtCore/private/../../../../../src/corelib/io/qtextstream_p.h:75" | |||
* | Avoid non threadsafe initialization. | Christian Mollekopf | 2017-08-31 | |
| | | | | | | local static initialization is only threadsafe if initialized on construction. The other codepath is not threadsafe, but is only used in testcode. | |||
* | Avoid use after destruction | Christian Mollekopf | 2017-08-28 | |
| | ||||
* | use Q_GLOBAL_STATIC | Christian Mollekopf | 2017-08-28 | |
| | | | | In an attempt to resolve T6890. | |||
* | Detect connection lost so we can go to offline state | Christian Mollekopf | 2017-08-28 | |
| | | | | kimap should really have better error codes... | |||
* | Only return connected if there is any resource connected. | Christian Mollekopf | 2017-08-26 | |
| | ||||
* | Default to NoStatus for resources until we know more. | Christian Mollekopf | 2017-08-25 | |
| | | | | | | This allows the aggregation to ignore resources where we don't have any status information yet, so the account doesn't always end up being offline. | |||
* | Ensure the copied enum matches | Christian Mollekopf | 2017-08-22 | |
| | ||||
* | Implemented thread merging | Christian Mollekopf | 2017-08-18 | |
| | | | | | It can happen that thread messages are not delivered in order, which means we will have to merge threads once all messages are available. | |||
* | static members can apparently still lead to crashes... | Christian Mollekopf | 2017-08-13 | |
| | ||||
* | Silence the compiler warning | Christian Mollekopf | 2017-08-11 | |
| | ||||
* | Cleanup | Christian Mollekopf | 2017-08-11 | |
| | ||||
* | Avoid warning | Christian Mollekopf | 2017-08-09 | |
| | | | | | | | setFuture can emit signals directly if the future is already stopped. This does not apply to our case but it fixes the warning. "QFutureWatcher::connect: connecting after calling setFuture() is likely to produce race" | |||
* | Use imported targets instead of qt5_use_modules | Heiko Becker | 2017-07-29 | |
| | | | | | | | | | | | | | | | | | | | From Qt's documentation: "This macro is obsolete. Use target_link_libraries with IMPORTED targets instead." It's only recommended with cmake >=2.8.9 & < 2.8.12. Sink already requires cmake 3.0. One advantage of using the imported targets is, that cmake complains if a target isn't found before it's used, like Qt5Concurrent missing from the find_package_call here. Reviewers: #sink, cmollekopf Reviewed By: #sink, cmollekopf Subscribers: #sink Tags: #sink Differential Revision: https://phabricator.kde.org/D6361 | |||
* | Adjusted docs and test. | Christian Mollekopf | 2017-07-27 | |
| | ||||
* | Empty resource id's are valid when we search for resources. | Christian Mollekopf | 2017-07-27 | |
| | ||||
* | Skip modifications that do nothing. | Christian Mollekopf | 2017-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 Mollekopf | 2017-07-27 | |
| | ||||
* | Sanity check queries | Christian Mollekopf | 2017-07-16 | |
| | ||||
* | Simplified code | Christian Mollekopf | 2017-07-16 | |
| | | | | The while loop is executed at least once, so advanced is always true. | |||
* | Better error messages | Christian Mollekopf | 2017-07-16 | |
| | ||||
* | No return value needed here. | Christian Mollekopf | 2017-07-16 | |
| | ||||
* | Filter resources for syncing by type. | Christian Mollekopf | 2017-07-16 | |
| | | | | | Otherwise we end up sending sync requests for contacts to imap resources. | |||
* | Avoid regenerating the messageId on every modfication | Christian Mollekopf | 2017-07-06 | |
| | ||||
* | Keep notifier alive for notifications of new resources. | Christian Mollekopf | 2017-07-05 | |
| | | | | Necessary to get notifications for newly created resources. | |||
* | Notification printing | Christian Mollekopf | 2017-07-05 | |
| | ||||
* | Ensure we have the right facade | Christian Mollekopf | 2017-06-27 | |
| | ||||
* | Ensure we can deal with non-null terminated strings. | Christian Mollekopf | 2017-06-27 | |
| | ||||
* | Photo support | Christian Mollekopf | 2017-06-27 | |
| | ||||
* | Ensure revision updates are instantaneous. | Christian Mollekopf | 2017-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.7 | Christian Mollekopf | 2017-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 models | Christian Mollekopf | 2017-06-21 | |
| | ||||
* | Added threading index cleanup | Christian Mollekopf | 2017-06-15 | |
| | ||||
* | No more threading by subject | Christian Mollekopf | 2017-06-15 | |
| | | | | | It seems to do more harm than good, creating huge threads, and the webclient doesn't do it either. | |||
* | Fixed incremental queries | Christian Mollekopf | 2017-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() error | Christian Mollekopf | 2017-06-06 | |
| | | | | ...that I only get on copr and nowhere else. | |||
* | 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. | |||
* | We don't need the layout just to check for existence | Christian Mollekopf | 2017-05-20 | |
| | ||||
* | Reread the location if we enable the test mode | Christian Mollekopf | 2017-05-20 | |
| |