Commit graph

2084 commits

Author SHA1 Message Date
Tom Needham
e8a0ceacaf Migration: On import of user accounts only import folders in home dir, use OC_Helper::copyr
Check files when copying recursivley

Remove obsolete method

Dont count '.' and '..' as directories when importing.
2012-11-08 11:39:21 +00:00
Michael Gapczynski
9c88857364 Return empty array if file does not exist inside Shared folder, fixes issue #91 2012-11-07 17:15:09 -05:00
Robin Appelman
b71cc08ce1 normalize filepaths in OC_Files::getFileInfo 2012-11-07 22:51:45 +01:00
Daniel Molkentin
5b8155a578 Merge pull request #315 from owncloud/missing_path
check if $path is a empty string
2012-11-07 08:21:58 -08:00
Björn Schießle
b7a50a4f6f check if $path is a empty string 2012-11-07 17:15:13 +01:00
Robin Appelman
a606131a6a Allow changing the way etags are generated 2012-11-07 17:03:59 +01:00
Björn Schießle
a25cf8ba83 make root the default parameter for getAbsolutePath() 2012-11-07 16:39:56 +01:00
Björn Schießle
a15a99b304 getAbsolutePath() always needs a parameter, added empty path as parameter to get the root path 2012-11-07 16:23:57 +01:00
Robin Appelman
bbe0cf376f fix user specific mount configuration 2012-11-07 14:10:06 +01:00
Brice Maron
189e8ab1e0 Fix quoting problem in fs mount. give Big DB error at least in PG 2012-11-06 18:40:45 +00:00
Robin Appelman
f599267459 check for filename blacklist in OC_Filesystem::isValidPath 2012-11-03 00:25:33 +01:00
Robin Appelman
3cd416b667 fix OC_Filesystem::isValidPath when using \ instead of / in paths 2012-11-02 19:57:25 +01:00
Robin Appelman
d226ed697e add svg mimetype to default htaccess 2012-10-28 16:04:52 +01:00
Arthur Schiwon
77b57fbbfe check if RUNTIME_NOAPPS is set before using it 2012-10-28 15:11:45 +01:00
Georg Ehrke
bfb8436ca2 deny the usage of dots in database name 2012-10-28 14:13:34 +01:00
Arthur Schiwon
edf3503779 make sure all filesystem apps are loaded when setupFS is proceeded, to make sure the emmited setup-hook is received. Fixes #89 2012-10-28 13:49:33 +01:00
Björn Schießle
db6fc916cf fix function documentation 2012-10-27 15:23:35 +02:00
Robin Appelman
46e9bf5678 possible fix for bombarding the server with the htaccess test during setup 2012-10-26 18:17:43 +02:00
Lukas Reschke
0399a88eb6 Check for iconv 2012-10-25 16:53:13 +02:00
Lukas Reschke
8f715e12a9 Allow any characters in the groupname
Fixes #82
2012-10-25 11:55:54 +02:00
Frank Karlitschek
53ae74200a let´s do a 4.5.1a 2012-10-24 18:20:34 +02:00
Björn Schießle
9eae10b94a normalize path 2012-10-24 17:23:36 +02:00
Frank Karlitschek
3833f2315a 4.5.1 2012-10-23 23:01:33 +02:00
Robin Appelman
1791fbdc49 use strtotime on non-nummeric times in oc_filesystem::touch 2012-10-23 16:34:58 +02:00
Arthur Schiwon
677cec6e1c get effective username after webdav login, fixes oc-2108 2012-10-23 13:37:22 +02:00
Björn Schießle
366aeb7228 add parameter to specify user for which OC_Filesystem should be initialized.
(needed to share files via public links where no user is logged in)
2012-10-22 14:52:59 +02:00
Björn Schießle
71d33fa065 check if mount point was already loaded to avoid redundant read operations 2012-10-18 17:31:58 +02:00
Björn Schießle
db3b0b63da typo from previous commit fixed 2012-10-18 17:13:05 +02:00
Björn Schießle
5433932bd4 load system wide configured mount points before accessing shared files 2012-10-18 17:09:31 +02:00
Björn Schießle
f5c6a22f17 check for mount points if file was shared from a different user 2012-10-18 16:38:36 +02:00
Bart Visscher
f47c64cec6 core.js and core.css don't need to be absolute 2012-10-17 10:52:35 +02:00
Michael Gapczynski
7feb0f737b Fix unshareAll()
Conflicts:

	lib/public/share.php
2012-10-16 22:35:48 +02:00
Lukas Reschke
5271c1a9ad Delete user files in /data/ after deleting a user 2012-10-16 22:07:26 +02:00
scambra
ef3e5899c6 delete fscache on deleting user 2012-10-16 22:07:13 +02:00
Michael Gapczynski
badd2908b7 Add unshareAll() function to Share API 2012-10-16 21:53:54 +02:00
Lukas Reschke
3f3b92a149 Use get_magic_quotes_gpc() to determine if magic_quotes is enabled
set_magic_quotes_runtime gives a PHP warning
2012-10-16 19:45:12 +02:00
Lukas Reschke
c3646f5554 "deny from all" instead directory 2012-10-16 15:57:15 +02:00
Lukas Reschke
a97d73d616 Show a warning in the installer if .htaccess is not working 2012-10-16 15:56:56 +02:00
Lukas Reschke
50684a5a34 Set oc_token to httponly 2012-10-16 13:58:00 +02:00
Lukas Reschke
9faae4b71c Use /dev/urandom instead of /dev/random
The usage of /dev/urandom is enough secure
2012-10-15 19:22:49 +02:00
Lukas Reschke
38f8734014 Show a warning in the installer if no secure RNG is available 2012-10-14 17:21:52 +02:00
Lukas Reschke
a10564e214 Fallback to /dev/random if openssl_random_pseudo_bytes not available 2012-10-14 16:15:54 +02:00
Robin Appelman
e65ea6a8b7 don't increase the size of the users home folder twice 2012-10-13 14:32:58 +02:00
Lukas Reschke
b5403de5e5 Fix the require path 2012-10-13 01:13:06 +02:00
Björn Schießle
a0ac64cbd6 remove unneeded variable 2012-10-12 17:40:57 +02:00
Björn Schießle
b03b6dfb99 check if directory already exist before executing mkdir 2012-10-12 17:40:45 +02:00
Björn Schießle
c11f9833ac fix bug #1977: remove etags from database after version rollback so that the client can detect the changes 2012-10-12 17:39:56 +02:00
Björn Schießle
822b323f8e add *.ai files to the mimetypes list 2012-10-11 16:15:05 +02:00
Björn Schießle
e23b06ec8c extract the right parent directory from the path
add parent directory to the file cache if it does not exist yet.
2012-10-11 10:21:23 +02:00
Lukas Reschke
4f8b8a8a59 Correct indentation 2012-10-10 19:11:09 +02:00