Commit Graph

47 Commits

Author SHA1 Message Date
Hadi Nategh
788cd3e078 Fix REQUEST_URI if there is ?download in url 2015-04-02 11:26:35 +00:00
Ralf Becker
0127e6d07c fix not working customized etemplates after fix with content-disposition attachment, we now only set it for urls ending with "?download", not for "?download=something" 2015-04-02 10:46:53 +00:00
Ralf Becker
cca60fa93f ?download in WebDAV url did not trigger content-dispostion attachment header 2015-04-02 07:19:37 +00:00
Ralf Becker
9c569a8c1e * Sharing: fixed not accessible share, if user already logged into same EGroupware instance, also fixed WebDAV problems using a share URL 2015-02-28 22:08:23 +00:00
Ralf Becker
5af58140f2 fix PHP Fatal error: Call to undefined function is_stream() stalling WebDAV 2015-02-15 00:12:47 +00:00
Ralf Becker
36bc17a442 move code for html or javascript content-type headers from webdav to html class and use it for attachments too 2015-02-14 19:32:21 +00:00
Ralf Becker
82a42f2644 moving HTTP_WebDAV_Server as last remaining egw-pear package to API dir, as its new BSD license is GPL compatible, in order to remove egw-pear all together for 14.2 2014-12-11 10:35:38 +00:00
Ralf Becker
16c27de80a fix HTTP status for failed DELETE requests to return "403 Forbidden" and fix IDE warnings 2014-11-14 08:48:47 +00:00
Ralf Becker
258def8344 only modify js&css files for "real" browsers identified by existing of HTTP_REFERER, to return false data to WebDAV clients eg. used for backup 2014-07-17 07:34:06 +00:00
Ralf Becker
b1a95fb2e7 mitigate risk of serving javascript or css via webdav from our domain 2014-07-16 14:54:01 +00:00
Klaus Leithoff
a46398da52 move groupdav to_ascii to translation class; unify content_header and content_disposition_header to be used by all downloads; adapt vfs_webdav_server thereof; try to improve replaceTagsCompletley 2014-02-25 15:48:23 +00:00
Ralf Becker
516713589f * WebDAV/Filemanager: reject to save files by clients using chunked transfer-encoding on servers which does not support that (eg. OS X Finder with server using FastCGI PHP) 2014-02-24 12:40:10 +00:00
Ralf Becker
53880e2063 to mitigate html download with CSP: no blacklisting just IE, only whitelist tested browsers and versions 2013-10-01 09:50:23 +00:00
Ralf Becker
b8341e48a1 mitigate risk of html downloads by using Content-Security-Policy header or Content-Disposition: attachment for IE 2013-09-12 18:49:07 +00:00
Ralf Becker
84b3edbfcb * Filemanager: fixed not working "Save as" for Internet Explorer (all versions), gave PHP Fatal Error 2013-03-25 18:26:57 +00:00
Ralf Becker
8ca1d8297b * Filemanager: fixing problem creating new directory with cyrilic name, also generating etag for directories as required by ownCloud 2013-03-20 12:56:44 +00:00
Ralf Becker
99e1cad866 * Filemanager/WebDAV: support for newer ownCloud clients (eg. version 1.1.1) 2012-10-24 16:25:53 +00:00
Ralf Becker
49a90413e4 fixed PROPFIND did not return additional properties if path contained special chars like ? or # 2012-07-13 15:55:29 +00:00
Ralf Becker
b848d23ef3 fixed no longer possible direct access/mount of VFS root via WebDAV after r36606 2011-09-19 11:39:46 +00:00
Ralf Becker
bd06c4c9d5 * Filemanager/WebDAV: understand Windows7 modification time attribute and setting and returning is as vfs modification time 2011-09-15 12:14:20 +00:00
Ralf Becker
c23450ea73 deal with parsing of query parameters appending an "=" to "?download", accepting "?download=" too 2011-09-06 07:23:02 +00:00
Ralf Becker
366bad914d * Filemanager/WebDAV: #?+ and chinese characters working now in filenames 2011-09-05 10:25:28 +00:00
Ralf Becker
4a1f4fff8c * Filemanager: "Save as" option for files to force download and not open in browser 2011-08-29 08:40:22 +00:00
Ralf Becker
73450d3817 fixing 3 failed litmus tests:
- copy_coll, move_coll: using egw_vfs::find instead of System::find which we dont require and fails anyway for some reason
- copy_shallow: by updating COPY with changes from 1.0.0RC6 (depth="0" is allowed for copy, thought HTTP_WebDAV_Server still copies the whole collection!)
2011-07-31 09:23:16 +00:00
Ralf Becker
399c835f11 HTTP_WebDAV_Server 1.0.0RC6 changes without Server.php changes comming later 2011-07-29 10:33:52 +00:00
Ralf Becker
0c9dec895b reimplement GetDir to send content-type header with charset 2010-10-14 18:16:27 +00:00
Jörg Lehrke
a8804a44ef GroupDAV updates 2010-03-06 23:06:43 +00:00
Klaus Leithoff
62c6359c0b trying to fix the real cause for the resourcetype/collection issue, breaking XP native WebDav Access and having impacts on groupdav: Now resourcetype returns a prop for collection in case of a folder 2010-03-03 09:14:21 +00:00
Ralf Becker
11283d4f77 "copied COPY from HTTP_WebDAV_Server_Filesystem:
- it contained sql queries, which can not work in eGW
- to add Location header shown in rfc2518 example (section 8.9.5)"
2009-04-30 07:41:46 +00:00
Ralf Becker
04502ddc97 "fixed displayname property to contain just the basename of the file/dir, as davfs displays this (funny names if there's a full path) as pointed out by Hans Jürgen on the devel list" 2008-11-15 07:46:59 +00:00
Ralf Becker
401c0de336 - renamed key of property value to 'val' like in HTTP_WebDAV_Server
- support for propfind and proppatch for WebDAV
2008-10-05 19:01:49 +00:00
Ralf Becker
f7bb40b8a4 "docu und todo update" 2008-05-20 05:16:49 +00:00
Ralf Becker
6d37a25089 "returning the supportedlock property causes Windows DAV provider and Konqueror to not longer work" 2008-05-13 13:13:38 +00:00
Ralf Becker
fe054923e6 "REALM constant" 2008-05-13 08:34:19 +00:00
Ralf Becker
6587e340fc Some modifications required by CalDAV 2008-05-08 20:33:09 +00:00
Ralf Becker
f6a883713f locking for eGW's WebDAV (and later on CalDAV).
no recursive (depth infinit) locks atm.
2008-05-01 11:44:55 +00:00
Ralf Becker
c60b632541 "small fix for webdav running on a non apache server" 2008-04-18 10:41:44 +00:00
Ralf Becker
501df49cbb stream wrapper interface is now eGW VFS interface
- if you already run the 1.5.003 update (AND modified anything in the VFS), you have to re-run it, to not loose your modifications or risk an inconsistent VFS (DB does not match filesystem)
- to re-run the 1.5.003 update (only if your version is already 1.5.003 or bigger!) run the following sql:
UPDATE egw_applications SET app_version=1.5.002 WHERE app_name=phpgwapi
- the new vfs supports now an extended ACL, if that is supported by the backend (sqlfs only currently)
- eacl allows to set separate recursive acl rights for different users or groups on a directory (and subdirs)
- former group grants of group dirs are converted to eacl, thought we only support read or read+write access (no extra add or delete)
- attachments via the links class now also use a stream wrapper interface (links_stream_wrapper) and WebDAV as download handler (which requires no longer filemanager run rights)
2008-04-14 05:52:24 +00:00
Ralf Becker
42688f5cd2 removed unnecessary checkAuth function, because the regular eGW session cookie got not recogniced and all checks are done by the header include anyway 2008-03-04 08:33:08 +00:00
Ralf Becker
9c649da978 WebDAV can use now the new stream wrapper interface, thought its switched off by default in filemanager/webdav.php (see the comments at the end of the file) 2008-02-18 06:43:49 +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
Ralf Becker
1dafc8cba8 PROPPATCH handler to allow Webdrive to set creation&modification date, as some windows programs require it 2008-01-15 03:49:18 +00:00
Ralf Becker
410dadba14 "VFS bugfixes:
- fixed not working creation, rename and deletion of user- and group-dirs
- WebDAV showed all user- and group-dirs in /home and not only the ones the user has read access too"
2007-04-29 12:06:17 +00:00
Ralf Becker
37b1a0c0c1 fixed bug: delete always deleted the parent-dir too 2006-06-23 17:43:07 +00:00
Ralf Becker
2aaa25ab58 - webdav works now with multiple domains and user-names including the domain
- webdav creates now the users home-dir, if it does not exist (as filemanager does)
2006-06-23 17:25:02 +00:00
Ralf Becker
6ccca34f85 - updated header to be processed by phpDocumentor
- fixed bug in delete pointed out by Steven Hammer
2006-05-28 02:39:39 +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