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-04-13Use the folder object directly instead of looking it up by its name (#9583)Hannah 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.
2020-07-30Use const access where possibleHannah von Reth
2020-02-25Merge remote-tracking branch 'origin/2.6'Olivier Goffart
Conflicts: CHANGELOG.md VERSION.cmake src/gui/MacOSXBundleInfo.plist src/gui/folderstatusmodel.h src/gui/settingsdialog.cpp
2020-02-11Fix expansion of tree view on newly added accountsHannah von Reth
The change is based on 97ce20ac028660e6ae3dd0b98d4b487999d8768a I removed a few lines of code there which are already part of fetchMore() Fixes: #7336
2020-02-10Run clang-tidy check for modernize-use-nullptrOlivier Goffart
2020-02-10Run clang-tidy with modernize-use-overrideOlivier Goffart
And also replace all remaining Q_DECL_OVERRIDE to just override
2018-03-28FolderStatusModel: fix potential assertOlivier Goffart
OCC::FolderStatusModel::slotUpdateDirectories: ASSERT: "parentInfo->_fetching" in file /home/olivier/kdegit/owncloud/mirall/src/gui/folderstatusmodel.cpp, line 599 This can happen if the structure of a folder is change while the user expands the root folder. In this case, resetSubs() is called which resets _fetching to false. Instead, we need to keep a pointer to the job so we can abort it by deleting it.
2017-09-15remove qt4 codeHelmut K. C. Tessarek
2017-05-17Apply clang-formatChristian Kamm
2017-05-17Reformatting: Adjust trailing commentsChristian Kamm
These would otherwise be line-wrapped by clang-format, and then consecutive reformattings remove the aligned comment indentation Example: int a; // too long comment -> int a; // too long // comment -> int a; // too long // comment
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-01-27FolderStatusModel: Different icon for external storagesOlivier Goffart
Issue: https://github.com/owncloud/client/pull/5340#issuecomment-274564441
2016-09-23Improve the "new big folder" UI #5202 (#5204)ckamm
Instead of using the regular selective-sync UI (where it's unclear what the "Cancel" button would even mean in this context), provide a different set of buttons that allow the user to quickly synchronize all pending big folders, none of them, or perform manual changes as usual.
2016-09-06Selective Sync: Fix request loop and show error in view (#5154)Markus Goetz
I got into a situation where the model would endlessly request the directory contents from the server because we did not notice yet that the server is actually in maintenance mode while we were expanding the tree view when changing the tab to the account or when just expanding it by clicking.
2015-10-15folderstatusmodel.h: Fix warningMarkus Goetz
2015-10-14SelectiveSync: Show in-progress label #3524Christian Kamm
We now show 'Fetching data...' after a second. This also increased the timeout to 60s, making the error condition much less likely.
2015-10-05GUI comment and message typos for masterPhil Davis
2015-09-04FolderStatus: Show 'waiting for other folder' #3619Christian Kamm
We monitor the scheduling queue and show messages like "Waiting for 5 other folders...".
2015-08-31FolderStatusModel: add a function to get a QModelIndex from the pathOlivier Goffart
Will be usefull to solve #3704
2015-08-18Folder Model: add an error item when one cannot fetch the list of folders #3524Olivier Goffart
2015-08-05AccountSettings: automatically refresh and expands the undecided folders #3541Olivier Goffart
2015-07-08FolderStatusModel: uses int64 for the sizes to prevent overflowOlivier Goffart
Issue #3420 (The change in Utility just make sure never to use the scientific notation, even if it should never happen)
2015-07-03Folders: Show as disconnected when account is disconnected.Christian Kamm
Previously you could get a green folder icon even when the account was signed out or disconnected for another reason.
2015-07-02FolderStatusModel: Always update on sync state change.Christian Kamm
Previously the icon and progress report could easily get somewhat stale and go out of sync with the tray icon.
2015-06-29Use doxygen style everywhereDaniel Molkentin
2015-06-29Structure developer documentationDaniel Molkentin
- rename target "doc-dev" - group into modules - move to doc/dev
2015-06-16Fix Qt4 compilationOlivier Goffart
This header is not included in Qt4's QAbstractItemModel header
2015-06-16Fix coverity build which does not support nsdmiOlivier Goffart
2015-06-15Move FolderStatusDelegate to its own fileOlivier Goffart
2015-06-11Confirm feature: The UI part in the selective sync viewOlivier Goffart
Folder that are over the threshold will appear in red in the selective sync view and will be deselected by default
2015-06-02FolderStatusModel: handle network error in the LSColOlivier Goffart
2015-06-02multi-account: compile with Qt4Olivier Goffart
2015-06-02AccountSettings: move the progress handling in FolderStatusModelOlivier Goffart
This is required to compile with Qt4 because signals were protected. And the logic anyway belongs to the model
2015-04-27Account settings: show the folder of the right accountOlivier Goffart
2015-04-23Remove SelectiveSyncTextChristian Kamm
It is unused and there were compiler warnings about it not appearing it various switch() statements.
2015-04-09Account settings: add the progress back on the new uiOlivier Goffart
2015-03-27Settings: New UI that intergate the selective sync within the account settingsOlivier Goffart
2014-11-10Adjust namespacesDaniel Molkentin
2014-08-26Merge remote-tracking branch 'origin/master' into move_lib_to_sep_dirDaniel Molkentin
Conflicts: src/CMakeLists.txt src/gui/accountsettings.cpp src/gui/folderwizard.cpp src/gui/settingsdialog.cpp src/libsync/syncengine.h
2014-07-11Split into three separate projects: library, gui and cmdDaniel Molkentin