Age | Commit message (Collapse) | Author |
|
Fixes: #9824
|
|
This allows us to use resources in the cmd app and the unit tests.
Fixes: #8839
|
|
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.
|
|
|
|
|
|
|
|
Needed to be able to access planned TLS certificate handling related methods.
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
This patch only fixes those warnings that we can still build against
Qt 5.12.
|
|
|
|
|
|
…https://demo.owncloud.org/ to https://demo.owncloud.org
This commit also removed the infix from the cmd client, as it is to unreliable.
|
|
|
|
|
|
|
|
Prevent duplicates and guarantee sorting
|
|
This removes the need to check for the existance of the pointers
Fixes: #8690
|