Ralf Becker
e71d16ed28
"fixed not working rename of dirs in the old vfs"
2008-03-20 14:21:13 +00:00
Klaus Leithoff
259f6d5cab
fixed a problem in the old vfs_sql class in acl_check, a var group_ok is checked to verify permissions but never set. this did lead to empty
...
downloads in some cases. This was sponsored by PX2@Medien GmbH & Co. KG
2008-03-13 12:48:43 +00:00
Ralf Becker
fbc8aa7be7
new parameter to set the date/time for touch, default the the current time
2008-01-30 06:43:55 +00:00
Ralf Becker
9364f9e77e
- allow the cost-free netdrive to set the modification date
...
- also storing the modification date in the filesystem, as reloads resets it to that
2008-01-17 05:40:38 +00:00
Cornelius Weiß
a1eb61f102
fix for reading empty files. This caused problems with mac os x as WebDAV client
2007-11-18 20:04:58 +00:00
Klaus Leithoff
dc2acf4428
added OpenOffice Fileextensions to class.mime_magic.inc.php;
...
fixed a problem for the refreshing of a directory: mime_types got lost, when refreshing and the mime type could not be determined by get_real_info.
the fix uses the phpgwapi.mime_magic.ext2mime function to determine the mime_type if the common method fails to find one.
2007-07-31 13:58:15 +00:00
Ralf Becker
ef51f663b7
quitent warning when vfs trys to delete an in the db non-existing file
2007-07-16 09:18:16 +00:00
Ralf Becker
6584ab6487
some more stupid php5.2 fixes
2006-12-22 06:33:01 +00:00
Ralf Becker
ef69e29a99
Fix from István Pongrácz for acl-problems in filemanager under php4.3.2
2006-06-03 01:43:40 +00:00
Ralf Becker
070e3c2861
added WebDAV access to filemanager, use the following URL:
...
- konq: webdav://localhost/egroupware/filemanager/webdav.php/home
- win: http://localhost/egroupware/filemanager/webdav.php/home
You can now you drag and drop to updload files or complete folders and you can edit files directly in the filemanger
2006-05-26 01:47:05 +00:00
Ralf Becker
119fb13409
fix for not set $_SERVER['DOCUMENT_ROOT'] if run by the async-service, eg. calendar alarms
2006-03-03 13:44:43 +00:00
Ralf Becker
5043404475
fixed typo
2006-01-06 04:55:51 +00:00
Ralf Becker
f2d06cbe56
fixed assignment which should be a comparison, dont think it did any harm, but anyway it's wrong
2005-12-02 10:43:39 +00:00
Cornelius Weiß
5c8e62b4ce
files with owner_id == 0 need to be readable for all useres!
2005-10-04 22:59:14 +00:00
Ralf Becker
5cbbbb7d29
1) phpgw --> egw
...
2) fixed problem I came across while debuging: $p->fake_full_name --> $p->fake_full_path
3) some improvement dont set empty mime_type
2005-07-22 17:59:09 +00:00
Ralf Becker
8529237f82
changed ACL code to use standard get_grants method from the acl-class, the existing coded tried it on it's own and failed if directories were owned by a group
2005-03-07 17:08:54 +00:00
Ralf Becker
a53e61f903
'vfs_' column-prefix and "new" table-name for egw_vfs
...
- needed for the oracle support
Also put vfs and vfs_shared in one file
2005-02-26 14:00:02 +00:00
Ralf Becker
9dd38aa59a
fixed moving files in filemanger
2004-12-06 14:15:08 +00:00
Ralf Becker
e08004b4bc
reworked the vfs_sql class to use the new db-functions, all quoting for the db is now done by them.This fixes some MaxDB problem, which should be a problem at least for postgres as well.
2004-09-20 10:50:46 +00:00
dawnlinux
954dd1d9ab
Fix the bug: Fail to create text files that contain multibyte
...
characters in filemanager, for exmaple, files that contain Chinese
characters.
Reason for producing the bug: One parameter of "fwrite"
is "strlen ($data['content'])". To multibyte character, "strlen" can
not return its actual length. So "fwrite" cannot write all characters
to the created file.
2004-09-06 03:48:10 +00:00
Ralf Becker
968f1ccf91
fixed bug [ 991222 ] Error uploading file -
...
thought the whole class need to be reworked with the new db-functions
2004-07-24 20:29:15 +00:00
Ralf Becker
853a71b681
added some more quoting for our windows friends ;-)
2004-06-15 22:31:19 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
15cd1353e1
1) added the symlink functions from the former separate vfs-class in infolog
...
2) added addslashs to all path and filenames (fix bug #889872 )
2004-02-08 22:30:14 +00:00
Ralf Becker
eeae3102df
fix to give the files in vfs only minimal rights (rw for owner, rwx for owner on dirs)
2003-10-04 07:37:03 +00:00
Ralf Becker
c30487281b
vfs_sql::mkdir creates missing base-directories (like /home, when createing /home/<user>) now automaticaly and updates the directory content if the directory already exists.
2003-09-21 13:54:07 +00:00
Ralf Becker
b8557e49d9
make the phpgw Version-0_9_16-branch HEAD
2003-08-28 14:31:11 +00:00
Zone
f72d5d300e
Move shared variables and functions to vfs_shared
2003-02-17 19:34:56 +00:00
Zone
402b797472
Add support of storing file contents in the database
2002-08-26 04:20:33 +00:00
Zone
5371495831
Compensate for bug in ACL
2002-06-24 04:02:14 +00:00
Zone
fc3df2e82e
Savannah Patch #370 (modified) - Fix and extend ACL - Thanks gisu
2002-06-24 03:18:59 +00:00
skeeter
34848f8414
GNU Patch #347
2002-06-09 00:17:59 +00:00
skeeter
bbbb67a74e
GNU Patch #108 .
2002-04-08 14:23:27 +00:00
skeeter
1f5241ca4c
GNU Patch #132 - User friendly warnings for unsuccessful mkdir().
2002-02-14 02:16:14 +00:00
Zone
5d6721af18
PHP3 fixes
2002-02-10 04:19:43 +00:00
Zone
4029a33d16
Switch to arrayized parameters, various fixes
2002-01-16 06:36:51 +00:00
seek3r
c13ade18dc
Several fixes in this commit because the switch from sf to savannah had to come from a day old copy of our cvs tree. Much was fixed including email being fixed for PHP3 compatibility, skeeter updated all the setup.inc.php files to say they would be comaptible with the new API version, ceb made fixes to the projects app based on newly submitted bug reports. Im sure there are more but I dont know all the details. Oh, I did add a print_r() to the php3 support files.
2002-01-07 10:50:42 +00:00
skeeter
f70f3f0179
This will now allow RELATIVE_USER_APP to work correctly for the acl_check function.
2001-12-29 18:34:04 +00:00
skeeter
827eb9a223
one big irritation was that the pwd() function would return an extra space at the end of the directory name. This shouldn't have occured, because spaces are not allowed as the first/last character of the name.
2001-12-27 15:20:03 +00:00
skeeter
c8b43c7c76
Trying to bring it in line with coding standards and a few speed enhancements.
2001-12-20 02:38:02 +00:00
zone
7baea35779
Make static p_path_parts distinguish between objects and arrays
2001-12-15 05:14:22 +00:00
skeeter
8b614db835
Start of new 3-tier layout of the filemanager. Not fully coded, but a small preview.
2001-12-15 04:24:37 +00:00
skeeter
cce860ee66
Hopefully I didn't screw anything up. Changed over to use GLOBALS, and alot of coding stds. Also, found a little problem with the filesize field. Trying to get the value, prior to having it filled in the database. Always returning '0'.
2001-12-10 04:04:56 +00:00
Miles Lott
4820ee5c02
Formatting (double->single ticks), use GLOBALS
2001-09-28 20:41:36 +00:00
zone
813c3ab5cd
Removed array () as default value in function prototypes per loic's patch #464195
2001-09-24 18:17:26 +00:00
zone
379260b37c
Added command_line (), fixes for acl_check () when a user does not belong to any groups
2001-08-28 08:13:35 +00:00
zone
dcc1e05d85
Change set_attributes () handling of flags, add 'b' flag to fopen calls, fixes for Postgres date handling, other small tweaks
2001-08-24 07:44:43 +00:00
zone
824de4ee1d
Formatting changes. Nothing to see here, move along.
2001-08-11 09:01:47 +00:00
zone
d0e954b674
Put defines in single quotes
2001-08-10 00:03:02 +00:00
zone
89fbd4e755
Update to accounts->membership
2001-08-05 07:53:59 +00:00