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-03-15Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2022-03-14Fix filter menusErik Verbruggen
- replaced "No filter" option text with "All", to avoid the "No filter is not enabled" situation - replace the "Filter" label on the button with "1 Filter"/"2 Filters" when a filter is active, so a user can immediately see that without having to open the filter pop-up
2022-03-11Fix account filtering in Server Activity tabErik Verbruggen
The `Models::addFilterMenuItems` method is used in 2 cases, once in the `ActivityWidget`, and once in the `ProtocolWidget`. Both have their own item model, so both need their own role passed in for filtering on. The bug was that `ProtocolItemModel::ProtocolItemRole::Account` was used forall cases, even when a `ActivityListModel::ActivityRole::Account` should have been passed in. Fixes: https://github.com/owncloud/client/issues/9425
2022-03-11Unify common translatable stringsHannah von Reth
Fixes: #9494
2022-03-01Fix shared pointer deletion before the slot was invokedHannah von Reth
Fixes: #9367
2022-02-04Replace ocsjob with JsonApiJobHannah von Reth
2022-01-31Port NotificationConfirmJob to JsonApiJobHannah 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-11-25Use some more std::chronoHannah von Reth
2021-09-29Allow to filter issue table by issue typeErik Verbruggen
Fixes: #9000
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-06-15Change the resize behaviour of the header viewHannah von Reth
2021-05-26Fix...Hannah von Reth
2021-05-26Add rtl support to copy to clipboardHannah von Reth
2021-05-26Sort account listHannah von Reth
2021-05-26Allow to filter tables by accountHannah von Reth
2021-05-26Move new models to a sub dirHannah von Reth
2021-05-18Add context menu to activity listHannah von Reth
2021-05-18Make clazy a bit more happyHannah von Reth
2021-04-26Refactor protocol and issue widgetHannah von Reth
2021-04-08Port activitylist to a QTreeview and QAbstractTableModelHannah von Reth
We now hav proper headers and sortig capabilities Fixes: #8158
2021-03-31Cleanup the activities item and use uuidHannah von Reth
2020-09-18Remove notifications when account was removedHannah von Reth
Fixes: #8085
2020-05-20Merge remote-tracking branch 'origin/2.6'Hannah von Reth
2020-05-12Revert "Gui: Workaround for QScrollArea not getting updated on theme change"Hannah von Reth
While the change seemed to fix a issue with heme switching on mac, it broke Windows 100% of the time.... This reverts commit 996bedc3aedc0be5882e02741a0745a3c8f6611f.
2020-03-26Merge remote-tracking branch 'origin/2.6'Hannah von Reth
2020-03-20Gui: Workaround for QScrollArea not getting updated on theme changeHannah von Reth
2020-03-20Code: Modernise notifications and action widgetHannah von Reth
2020-02-10Run clang-tidy check for modernize-use-nullptrOlivier Goffart
2019-10-31Reword notificationsHannah von Reth
2019-10-25Reword notification on action requestHannah von Reth
2019-10-25Fix notificaion textHannah von Reth
2018-09-05Activity: Do not remove the username from the account nameOlivier Goffart
Issue #6728
2018-08-19Activity: Handle the fact that the username can contain a '@'Olivier Goffart
Issue #6728
2018-08-16C++: Don't use auto parameters in lambdasChristian Kamm
The mingw compiler isn't happy with them.
2018-08-14Activities: Remove the text that a server does not support activities when ↵Olivier Goffart
the account is removed Issue #6679
2018-01-25Use std::chrono::milliseconds to represent millisecondsOlivier Goffart
2017-12-13Notifications: Propagate "Dismiss" as DELETE to server #5922Markus Goetz
(cherry picked from commit e86416fff7c74174e699802cec46da8ca3c3aad5)
2017-09-21Port to new signal-slot syntax what cannot be done automaticallyOlivier Goffart
Some slot were protected or private but needed to be public. Some needed a static_cast (can't use qOverload because it is in Qt 5.7) This is not only a partial change.
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-09-15remove qt4 codeHelmut K. C. Tessarek
2017-09-05Move Utility to a new common static libraryJocelyn Turcotte
Now that csync builds as C++, this will avoid having to implement functionalities needed by csync mandatorily in csync itself. This library is built as part of libocsync and symbols exported through it. This requires a relicense of Utility as LGPL. All classes moved into this library from src/libsync will need to be relicensed as well.
2017-07-04Add a more functional error view #5516 (#5861)ckamm
* Add a more functional error view #5516 * Allow filtering of ignores and warnings to see only important bits. * Navigate from the folder view to the error view by clicking on the error list with the red background. * Move the error list into its own ui file to allow easier extension. * Fix issue around tab id handling in ActivitySettings. * Rename "Action" column to "Issue". * Change mouse cursor to hand over button and new error list area Several OSX fixes provided by guruz.
2017-05-29Don't call QElapsedTimer::restart on uninitialized timerOlivier Goffart
That's an undefined behavior. Since we don't use the return value anyway, we should just use start()
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-04-04Improve http error messages; cleanupChristian Kamm
By default QNetworkReply::errorString() often produces messages like "Error downloading <url> - server replied: <reason>" but the "downloading" part invariably confuses people since the error might very well have been produced by a PUT request. This commit produces clearer error messages for HTTP errors. Additionally: * Remove some unnecessary null checks from slots connected to network job signals and document that these signals never send null replies. * There was a bug where AbstractNetworkJob::_timedout wasn't set when derived classes overrode slotTimeout. We now ensure it's always set by disallowing overrides of slotTimeout. Instead it now calls onTimedOut, which allows custom handling. * Several subclasses declared errorString, isTimedOut. Move these to AbstractNetworkJob. * Unify handling of OC-ErrorString (via the new, general Job::errorString) * Add documentation in various places.
2016-11-22Fixing a typo on a messageSamuel
This refers to the message shown when copying the list of unsynced items on the activity tab
2016-10-25License: Adjust license of GPLv2 source files to GPLv2+Christian Kamm
See #5180