]> source.dussan.org Git - nextcloud-server.git/commit
Filter display of blacklisted files
authorAndreas Schönebeck <aschoenebeck@web.de>
Fri, 15 Mar 2013 11:11:42 +0000 (12:11 +0100)
committerAndreas Schönebeck <aschoenebeck@web.de>
Fri, 15 Mar 2013 11:11:42 +0000 (12:11 +0100)
commit387be374270dc1ac3669325fee60d35889a85b6e
treee54aedfd622b32e136eadfebd13f44ffa2bbcada
parent23fe98a562e9a4e319a8d46d147364f2b3c7c490
Filter display of blacklisted files

Blacklisted files like ".htaccess" and ".git" should not only be
blacklisted for upload and rename, but they should also not be displayed
in the directory listings.

I needed this personally to hide ".git" folders in shared folders. Its
also a simple implementation of feature requests like
http://forum.owncloud.org/viewtopic.php?f=4&t=3279 and
http://forum.owncloud.org/viewtopic.php?f=3&t=5708
lib/files/cache/scanner.php