/* Contributed to the WebDAV community */
/* 2004-01-02 Paul Merino */
/* 2004-02-02 Last updated */
/* davhole v0.4.0 - for IE/Win2K browsers (and maybe inspirational for other browsers) */
/* If you like to update your website using DAV, let other webmasters know and enjoy it too - display the DAVborne icon !
http://seuils.org/seuils_flatweb/seuils/webdav/davborne
*/
/* This is your template davhole JavaScript code - feel free to customize according to your own davshares and enjoy ! */
/* This is your template davhole HTML code - feel free to try it into your own pages and enjoy ! */
/*
[emportez cette page !]
*/
/*
Copyright (c) 2003-2004 Paul Merino. All rights reserved.
IDDN Certificate - #IDDN.FR.010.0101797.000.R.P.2003.035.20900#. All rights protected.
http://www.legalis.net/cgi-iddn/certificat.cgi?IDDN.FR.010.0101797.000.R.P.2003.035.20900
Creative Commons Deed - Attribution-NonCommercial-ShareAlike.
http://creativecommons.org/licenses/by-nc-sa/1.0/
Apache-like license:
Dear Folks,
This software was developed by Paul Merino at Sophia-Antipolis, France.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
or other notices, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed developed by Paul Merino
at Sophia-Antipolis, France for use in the Seuils project
(http://seuils.org)."
4. The name of Paul Merino may not be used to endorse or promote
products derived from this software without specific prior written
permission.
5. Products derived from this software may not be called "Seuils"
nor may "Seuils" appear in their names without prior written
permission. For written permission, please contact Paul Merino at:
NOSPAMdmerino@thethin.netNOSPAM
(please remove NOSPAM from this address before sending email).
6. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by Paul Merino
at Sophia-Antipolis, France for use in the Seuils project
(http://seuils.org)."
THIS SOFTWARE IS PROVIDED ''AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL THE UNIVERSITY OR THE PROGRAM CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* reported bugs
2004-01-22
Client: IE6.0/Win2K
Statement: On some IE6.0/Win2K - On a davpad featuring two davholes, IE6.0 opens the first davhole and displays its WebFolder view over the davpad webpage itself. Therefore the visitors cannot view the webpage content placed on the davpad, nor fill in the form (if any).
Recommended workaround: Remove the failing davhole trigger from 'onload', and let your visitors click the corresponding hyperdav by themselves.
2003-06-15
Client: IE5.0/Win2K
Statement: On some IE5.0/Win2K - On a davpad featuring two davholes, IE5.0 opens only the latter davhole listed in an 'onload' event.
Recommended workaround: Remove the failing davhole trigger from 'onload', and let your visitors click the corresponding hyperdav by themselves.
*/
/* history
2004-01-09
davhole history is born.
davhole v0.4.0 submitted as davhole_js.txt to NOSPAMdav-dev@lyra.orgNOSPAM to not appear as a virus sent to the list (!).
2004-01-07
davhole v0.4.0 renamed as davhole.js and submitted to NOSPAMdav-dev@lyra.orgNOSPAM
2004-01-02
davhole v0.3.0 submitted as seuils.js to NOSPAMdav-dev@lyra.orgNOSPAM under Creative Commons and Apache-like license.
2003-12-29
davhole v0.2.0 standardized and content (functions, variables, HTML code) renamed using plain, generic terms.
2003-10-13
'davpad' is born:
Successful combination of Apache 1.3 DirectoryIndex directive with a daviframe, to provide IE/Win2K users with INSTANT DAV ACCESS to a 'private-protected' davshare - without hassle.
Explanation:
Without davpad, IE/Win2K Web visitors cannot type a davURL straight in the address field to open the davshare as a WebFolder.
Unless there is a webpage lying at the root of the davshare (ie. index.htm, index.php) they will get the following message (eg. Apache 1.3):
"403 Forbidden - You don't have permission to access on this server."
Or they will get the website - that is, the webshare instead of the davshare.
The only way for IE/Win2K users to open a davshare as a WebFolder is to spend at least 4 clicks and more gestures:
IE > click File > click Open > type or copy/paste davURL > click Open as Web Folder > click OK
The trick is to place a daviframe named 'index.dav' at the root of the davshare or webshare, and to add "index.dav" at the end of your Apache 1.3 DirectoryIndex directive.
This is nice because IE/win2K admin users, from the standard IE address field, can either browse a website using a webURL (ie. http://seuils.org) or 'dave' into a davshare using the davpad (ie. http://seuils.org/index.dav).
2003-09-30
'interop davshare' is born:
Successful configuration of Apache 1.3 mod_dav DAV directives for davhole interoperability (davserver Win/Linux, davclient Win2K).
Explanation:
Since davhole readily opens a davshare at load time (of a given webpage), the underlying davshare is required to be 'public-readonly'.
Without DAV directives "Limit PATCH PROPPATCH", Apache 1.3 for Windows will deny file or folder renaming.
Apache 1.3 for Linux requires DAV directives "Limit PATCH PROPPATCH" to deny file or folder renaming.
2003-08-27 davhole 0.1.0
'davhole' is born:
Successful combination of IE navigateFrame method with JavaScript onload to auto-navigate a daviframe - without having to click the hyperdav of a daviframe.
2003-06-24
'daviframe' is born:
Successful use of IE iframe to embed an hyperdav into an XHTML (aka HTML5) page.
2003-06-20
'hyperdav' is born:
Successful use of IE behaviors (#default#AnchorClick) to create an hyperlink that opens a davshare.
*/