Commit graph

865 commits

Author SHA1 Message Date
Michael Gapczynski
c9082d5b0d Append number to name if target file already exists 2011-07-20 14:16:20 -04:00
Michael Gapczynski
029b21bf54 First implementation of sharing user interface 2011-07-20 13:34:16 -04:00
Michael Gapczynski
61837428ba Add post_delete and post_rename hooks and fix the constructor 2011-07-18 16:36:34 -04:00
Michael Gapczynski
1a6718c979 Add extra check for opendir() so it only adds the file to fakedirs if it has a different name than the source 2011-07-16 15:15:18 -04:00
Michael Gapczynski
f3f8a96c6d Add return true to unlink() and rename(), a return is expected by OC_FILESYSTEM 2011-07-16 14:58:12 -04:00
Michael Gapczynski
5aaacf3241 Fix bug in rename() so files in a folder that is in a shared folder also get their targets updated 2011-07-16 14:29:22 -04:00
Michael Gapczynski
dbcb35655e Fix bugs in opendir() and add extra checks to ensure functionality in all cases 2011-07-16 14:24:59 -04:00
Michael Gapczynski
8ad4a44171 Fix bugs in unlink(), rename(), pullOutOfFolders(), and getItemsInFolder() 2011-07-16 13:06:59 -04:00
Michael Gapczynski
8ed0223bd6 Add pullOutOfFolder() function for use by unlink() and rename() 2011-07-14 21:04:09 -04:00
Michael Gapczynski
7920e706ea Refactoring of OC_SHARE, added more documentation for functions 2011-07-14 19:24:48 -04:00
Michael Gapczynski
2fb1481613 Bug fix for setTarget() - append fetchAll() to query 2011-07-14 12:40:12 -04:00
Michael Gapczynski
24e24f1b65 Add support for copying files between shared folders, add check to fromTmpFile() to confirm path is writeable 2011-07-13 15:27:16 -04:00
Michael Gapczynski
5896e48755 Add missing argument for fromTmpFile() inside of rename() 2011-07-13 13:30:22 -04:00
Michael Gapczynski
a79f2535f8 Merge branch 'master' into sharing 2011-07-12 20:51:07 -04:00
Michael Gapczynski
a861666500 Add missing parameter for fromTmpFile() inside of copy() 2011-07-12 20:50:04 -04:00
Michael Gapczynski
d393ccfe2c Fix bug in getSource(), return false if target isn't in database 2011-07-12 20:18:08 -04:00
Michael Gapczynski
2c4fef91da Merge branch 'master' into sharing 2011-07-12 18:38:03 -04:00
Michael Gapczynski
f8eced1960 Fix post_create and post_write hooks in copy(), was referencing an undefined variable 2011-07-12 18:26:44 -04:00
Michael Gapczynski
b2b7d99302 Add checks in opendir() to prevent including the current directory or parent 2011-07-12 18:22:59 -04:00
Michael Gapczynski
6b303ee64b Fix bug in opendir() and remove getStorageMountPoint(), now using datadir argument instead 2011-07-12 13:10:29 -04:00
Robin Appelman
190908bc1e fix error in autocomplete when try to list non-existing or unreadable folders 2011-07-12 17:45:01 +02:00
Michael Gapczynski
9e420e4639 Home icon now points to index.php 2011-07-10 18:12:11 -04:00
Michael Gapczynski
e202c29926 Merge branch 'master' into sharing
Conflicts:
	.gitignore
2011-07-10 17:26:36 -04:00
Michael Gapczynski
89a6f16e8d Merge branch 'master' of git://anongit.kde.org/owncloud 2011-07-10 16:00:31 -04:00
Michael Gapczynski
1b8e59a0ef Directory links in navigation shouldn't have a trailing '/' 2011-07-10 16:00:08 -04:00
Michael Gapczynski
163c490c92 Remove duplicate '/' from target when searching for source 2011-07-10 14:41:27 -04:00
Hans Bakker
5c671c995c finish refactoring of files admin page 2011-07-09 21:44:50 +02:00
Michael Gapczynski
010920ad08 Add support for files inside of shared folders having different names than the source file 2011-07-08 18:21:20 -04:00
Michael Gapczynski
73bab46758 Prevent searching for user directory in getParentFolders() 2011-07-08 15:23:41 -04:00
Michael Gapczynski
f1cac00396 Add wildcard to source for database query in unshare() 2011-07-08 15:03:05 -04:00
Michael Gapczynski
d91d2178b8 Fix unshare() to remove database entries of files within a shared folder 2011-07-08 14:58:35 -04:00
Robin Appelman
541c40f3cc fix broken directory links for some browsers 2011-07-08 19:52:51 +02:00
Robin Appelman
e3e0a28b62 only show the revert animation of draging a file when draged to an invalid position 2011-07-08 19:52:51 +02:00
Hans Bakker
76aceb9970 Changed the js code for the files admin section to jQuery 2011-07-08 18:56:20 +02:00
Michael Gapczynski
35d6051e9d Fix bug in mkdir(), was passing the wrong path 2011-07-07 19:26:25 -04:00
Michael Gapczynski
b7c45ba240 mkdir() now checks isWriteable() to see if it has permission, rmdir unshares the folder from the user 2011-07-07 19:22:23 -04:00
Michael Gapczynski
58e8312b1c Fix setIsWriteable() and setTarget() 2011-07-07 18:25:34 -04:00
Michael Gapczynski
a51628187a Merge branch 'master' into sharing 2011-07-07 17:00:20 -04:00
Robin Appelman
47993fe29a You can now move files to a parent folder by draging them to an element in the breadcrumb bar
also fixed dragging newly uploaded files and droppin in new folders
2011-07-07 21:55:58 +02:00
Jan-Christoph Borchardt
01a9d916e7 mark active navigation subentry 2011-07-07 21:19:18 +02:00
Robin Appelman
d31349b781 files can now be draged and dropped in the file browser 2011-07-07 04:14:24 +02:00
Jan-Christoph Borchardt
1cc9fc3ab4 small contrast fixes 2011-07-07 02:51:24 +02:00
Robin Appelman
af3aceaf08 show file extention in a lighter color 2011-07-07 02:41:22 +02:00
Robin Appelman
f22e39a574 highlight selected files in the filebrowser 2011-07-07 02:28:57 +02:00
Michael Gapczynski
5e560e9bd9 Merge branch 'master' into sharing 2011-07-06 20:19:44 -04:00
Michael Gapczynski
2212b5b5d7 Add wildcard to database query in unshareFromSelf() 2011-07-06 20:16:29 -04:00
Jan-Christoph Borchardt
45bda0997f some cleanup, small fixes 2011-07-07 02:05:12 +02:00
Jan-Christoph Borchardt
0a6c76fb91 file size is reflected in the value's shade of grey, atm calculated absolutely 2011-07-07 01:52:26 +02:00
Jan-Christoph Borchardt
e3fd72dc16 introducing simple file size, only MB as unit, details on hover 2011-07-07 01:27:16 +02:00
Jan-Christoph Borchardt
aa3b76e3fb hopefully fixed the dirty workaround, like I was told to 2011-07-07 00:24:57 +02:00