cloudcollaborationdecentralizeddesigndistributedenterprisefederatedfederationfile-sharingfree-softwarehacktoberfestjavascriptnextcloudopen-sourceopensourceowncloudself-hostingsharingusabilityux
415411a3d5
In GDrive, filenames aren't unique, and directories are just special files - so you can have multiple files with the same name, multiple directories with the same name, and even files with the same names as directories. OC doesn't handle this at all, though, and just wants to act as if file and directory names *are* unique. So when renaming, we must check if there's an existing object with the same file or directory name before we commit the rename, and explicitly delete it if the rename is successful. (Other providers like dropbox do the same for files, but intentionally don't do it for directories; we really need to do it for directories too.) A good way to observe this is to run the storage unit tests and look at the state of the Drive afterwards. Without this commit, there will be several copies of all the test files and directories. After this commit, there's just one of each. We can't just say "hey, Drive lets us do this, what's the problem?" because we don't handle multiple-objects, same-name cases - getDriveFile() just bails and prints an error if it searches for the file or directory with a given name and gets multiple results. |
||
---|---|---|
.idea | ||
3rdparty@dd0e7b6dce | ||
apps | ||
build | ||
config | ||
core | ||
l10n | ||
lib | ||
ocs | ||
search | ||
settings | ||
tests | ||
themes | ||
.bowerrc | ||
.gitignore | ||
.gitmodules | ||
.htaccess | ||
.jshintrc | ||
.scrutinizer.yml | ||
.user.ini | ||
AUTHORS | ||
CONTRIBUTING.md | ||
COPYING-AGPL | ||
COPYING-README | ||
README.md | ||
autotest-js.sh | ||
autotest.cmd | ||
autotest.sh | ||
bower.json | ||
buildjsdocs.sh | ||
console.php | ||
cron.php | ||
db_structure.xml | ||
index.html | ||
index.php | ||
indie.json | ||
issue_template.md | ||
occ | ||
public.php | ||
remote.php | ||
robots.txt | ||
status.php | ||
version.php |
README.md
ownCloud
ownCloud gives you freedom and control over your own data. A personal cloud which runs on your own server.
Build Status on Jenkins CI
Quality:
Installation instructions
http://doc.owncloud.org/server/7.0/developer_manual/app/index.html
Contribution Guidelines
http://owncloud.org/contribute/
Get in touch
Important notice on translations
Please submit translations via Transifex: https://www.transifex.com/projects/p/owncloud/
For more detailed information about translations: http://doc.owncloud.org/server/7.0/developer_manual/core/translation.html