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-06-29setSyncOptions must be called after the vfs plugin changed (#9825)Hannah von Reth
Fixes: #9824
2022-06-28Move resources to a shared libaryHannah von Reth
This allows us to use resources in the cmd app and the unit tests. Fixes: #8839
2022-06-09Fix FakeGetReply for non-existing filesErik Verbruggen
The old code didn't take into account the case where a file was removed on the server. It just Q_ASSERT-ed that it should always exist. However, the CI does release builds, so the assert never triggered. The problem is that in TestSyncVirtualFiles::testVirtualFileDownload the file "A/a3" *is* removed from the server while a download is scheduled. The fix is to handle this case separately as a valid response.
2022-05-25Use ocis productversionHannah von Reth
2022-05-17Reduce code duplicationHannah von Reth
2022-05-17Remove version checks for < 10.0Hannah von Reth
2022-05-06Expose AccessManager from accountFabian Müller
Needed to be able to access planned TLS certificate handling related methods.
2022-04-29Ensure SyncOptions are initialisedHannah von Reth
2022-04-13Use the folder object directly instead of looking it up by its name (#9583)Hannah von Reth
2022-03-24Always set basic capabilities in unit testsHannah von Reth
2022-02-21Update CMakeLists.txtHannah von Reth
2022-02-21Raise the required cmake versionHannah von Reth
CMake is a buildtime dpendency and even available as a prebuild for most platforms. Requireing 3.16 enables us to use target_sources in subdirectories witout the need to specify absolute paths. This also removes the warning: CMake Warning (dev) at D:/.../modules/ECMFindModuleHelpers.cmake:112 (message): Your project should require at least CMake 3.16.0 to use FindIcoTool.cmake
2022-02-18Use a per folder davUrlHannah von Reth
2022-02-04Use buildin timeout handling provided by QtHannah von Reth
2021-12-17Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2021-12-17Fix unstable testErik Verbruggen
2021-12-17Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2021-12-15Tests: always check the hydration state and the mtimeErik Verbruggen
operator== will now always also check the hydration state and mtime. For the few cases where this will fail (on purpose), the equals method can be called with `IgnoreLastModified` passed to it.
2021-12-15Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2021-12-15Run tests with full debug logHannah von Reth
2021-12-10Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2021-12-09Support dehydrated files in autotestsErik Verbruggen
When creating the local state, check if files are hydrated or not. If not hydrated, don't read the file: the OS will trigger a download. This is bad: first the read will fail, because the test is running on the main thread, the same place where work from callbacks from the OS get handled. This will result in a time-out for the OS, and it will return 0 bytes read. So the size for the file in our local state is set to zero bytes, which makes the comparisson with the remote state fail, which in turn makes the comparisson fail. Worse: the callbacks from the system do come in, and are emitted as a _QueuedConnection_. So when another call to `syncOnce` is made, the queued downloads will be done, and the file will be re-hydrated, thus changing the state of the files on disk.
2021-11-25Use some more std::chronoHannah von Reth
2021-11-25Use std::chrono with QTimer::singleShotHannah von Reth
2021-11-03Use QVersionNumber for our own versionHannah von Reth
2021-10-27Move writeRandomFile to test utilsHannah von Reth
2021-10-27Fix warnings for using deprecated Qt APIErik Verbruggen
This patch only fixes those warnings that we can still build against Qt 5.12.
2021-09-22Fix unit testsHannah von Reth
2021-09-22Improve error handling during vfs setupHannah von Reth
2021-09-21Fix migration on minor url format changes like…Hannah von Reth
…https://demo.owncloud.org/ to https://demo.owncloud.org This commit also removed the infix from the cmd client, as it is to unreliable.
2021-08-12Clazy: old-style-connectHannah von Reth
2021-08-04Ensure the tests are properly set upHannah von Reth
2021-07-23Exclude placeholder filesHannah von Reth
2021-07-23Use a set for SyncFileItemVectorHannah von Reth
Prevent duplicates and guarantee sorting
2021-07-13Delay the deletion of Folder objectsHannah von Reth
This removes the need to check for the existance of the pointers Fixes: #8690