Age | Commit message (Collapse) | Author |
|
The file might not exist anymore because the user deleted it by hand or
the folder where it was located got unchecked in the selective sync
view. It is a fix for #2632.
Signed-off-by: Camila <hello@camila.codes>
|
|
Previously the .sync-exclude.lst file of the sync root directory was
not added to the exclude files, because the current logic did only
recognize .sync-exclude.lst files when their containing directory was
discovered during the discovery phase. Therefore the sync root
.sync-exclude.lst file was never discovered. See also
ExcludedFiles::traversalPatternMatch().
Fix: #3830, #2728
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
|
|
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
|
|
cmake distinct runtime and library
on unix dynamic shared libraries are library kind of objects
on windows they are runtime kind of objects
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
|
|
Signed-off-by: Guido Falsi <madpilot@freebsd.org>
|
|
Signed-off-by: Guido Falsi <madpilot@freebsd.org>
|
|
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
|
|
CMake provides what we wan out of the box
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
|
|
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
|
|
dd641fae997d71c8396b77def2fa25ad96fdf47f
|
|
* Ignore the desktop.ini file in every directory, not only in top dir.
See https://github.com/owncloud/client/issues/8298 for reasons.
* Fix test for ignoring desktop.ini everywhere.
Co-authored-by: Hannah von Reth <hannah.vonreth@owncloud.com>
|
|
This makes the code a bit nicer to read and maybe a bit more robust.
Set the relevant OUTPUT_NAME target properties to keep the ability to
customize the names of the installed binaries.
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
|
|
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
|
|
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
|
|
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
|
|
This reverts commit 3000e2664068b2b9dbc57e3f1a53653e400593dc.
This was not intended for a direct push
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
|
|
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
|
|
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
|
|
Signed-off-by: allexzander <blackslayer4@gmail.com>
|
|
Signed-off-by: allexzander <blackslayer4@gmail.com>
|
|
being able to locate #include <sqlite3.h> in tests.
Signed-off-by: allexzander <blackslayer4@gmail.com>
|
|
Use QLatin1Char to prevent build error due to stricter QT_NO_CAST_FROM_ASCII
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
|
|
Otherwise backends can't get to the actual file which will be needed for
the XAttr backend.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
|
|
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
|
|
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
|
|
|
|
|
|
We now enforce the use of QStringLiteral and friends in some places,
but that feel through the cracks for some of the Windows specific code.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The pin state is a per-item attribute that has an effect on _type:
AlwaysLocal dehydrated files will be marked for hydration and OnlineOnly
hydrated files will be marked for dehydration.
Where exactly this effect materializes depends on how the pin states are
stored. If they're stored in the db (suffix) the dbEntry._type is
changed during the discovery.
If the pin state is stored in the filesystem, the localEntry._type must
be adjusted by the plugin's stat callback.
This patch makes pin states behave more consistently between plugins.
Previously with suffix-vfs pin states only had an effect on new remote
files. Now the effect of pinning or unpinning files or directories is as
documented and similar to other plugins.
|
|
|
|
This will be used in conjunction with vfs plugins that detect whether a
file has a pending hydration/dehydration through independent means and
communicate that to the discovery through local file type.
|
|
|
|
Compare https://cmake.org/cmake/help/v3.0/module/CTest.html
Craft automatically handles BUILD_TESTING, so we don't need to handle it
in our own blueprint.
|
|
Issue #434
Ideally one could add the blacklist to the exlucde reggexp, but this
is simpler
|
|
This is just a port to QtTest, I did not change the layout of the test.
I did search and replace to replace the assert with QCOMPARE/QVERIFY
I still call setup and setup_init like before (only explicitly, now)
Also ported the preformence tests to QBENCHMAK because windows don't have
gettimeofday.
Relates #6358
|
|
- Create a VfsOff derived class
- Make it a shared pointer shared with Folder::_vfs
|
|
|
|
- use vfs suffix in ProcessDirectoryJob
- fix include vfs.h
- fix local vio passing vfs
- fix checksum computation
- vfs mode use
- mingw lambda compile issue
|