Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-31Refactor JsonApiJob and allow non ownCloud json jobsHannah von Reth
2021-12-03Use the refcounted AccountStatePtr as much as possibleErik Verbruggen
The AccountManager creates AccountState objects, and stores them in a shared pointer. Previously, the raw pointer was given out, and stored in other objects. That made removal very tricky: when an account gets removed, the underlying object gets deleted, and then all classes that listen get notified of the deletion. Those classes would sometimes put a nullptr into the AccountState pointer they stored, and in each usage would (hopefully) check for a nullptr. The problem was that a number of checks were missing, which the clang static analyser pointed out. This patch changes nearly all uses of a raw pointer into the shared pointer, thereby making sure all usages have a valid reference, even when account deletion happens. The two places where a raw pointer is still used, now put it into a refcounted pointer as soon as possible.
2021-06-16Remove possible qt containers detach (#8727)Aleksey Lysenko
* Replaced obsolete foreach-loops with for-loops * Added a copy of queries into SqlDatabase::close * Used const reference to avoid unneeded copying * Fixed Qt containers possible detach within for-loop * Removed unneeded copies before for-loops
2021-03-31Cleanup the activities item and use uuidHannah von Reth
2018-02-06ServerNotificationHandler: Properly create "Dismiss" URLMarkus Goetz
Qt's JSON API is confusing, it doesn't convert to a string as one expects.
2017-12-13Notifications: Propagate "Dismiss" as DELETE to server #5922Markus Goetz
(cherry picked from commit e86416fff7c74174e699802cec46da8ca3c3aad5)
2017-09-21Use the Qt5 connection syntax (automated with clazy)Olivier Goffart
This is motivated by the fact that QMetaObject::noralizeSignature takes 7.35% CPU of the LargeSyncBench. (Mostly from ABstractNetworkJob::setupConnections and PropagateUploadFileV1::startNextChunk). It could be fixed by using normalized signature in the connection statement, but i tought it was a good oportunity to modernize the code. This commit only contains calls that were automatically converted with clazy.
2017-05-17Apply clang-formatChristian Kamm
2017-05-11Upgrade some qCDebug to qCInfo or qCWarningJocelyn Turcotte
Use qCInfo for anything that has general value for support and development. Use qCWarning for any recoverable error and qCCritical for anything that could result in data loss or would identify a serious issue with the code. Issue #5647
2017-05-11Use Qt logging categories for loggingJocelyn Turcotte
This gives more insight about the logs and allow setting fine-tuned logging rules. The categories are set to only output Info by default so this allows us to provide more concise logging while keeping the ability to extract more information for a specific category when developping or debugging customer issues. Issue #5647
2017-05-08Switch JsonApiJob to Qt5's QJson #5710Christian Kamm
2016-10-25License: Adjust license of GPLv2 source files to GPLv2+Christian Kamm
See #5180
2016-03-29NotificationHandling: Use QByteArray for the verb.Klaas Freitag
2016-03-29Remove explicit time spec specification as it is not needed.Klaas Freitag
2016-03-18Notifications: Check if the account is connected before querying.Klaas Freitag
Also avoid memory leaks if it is not connected.
2016-03-14ActivityListModel: Code cleanupsKlaas Freitag
based on review feedback.
2016-03-11Notifications: Refactor - create a notification handler classKlaas Freitag
That cleans the ActivityWidget class