4f01ee597f569d80e2e81f912e425a572002328c 1602338 |
|
13-Jun-2014 |
breser |
Fix PR 56480: PROPFIND walker doesn't encode hrefs properly
Reverts r1529559 partially (specifically the dav_xml_escape_uri) bit.
Reverts r1531505 entirely.
* modules/dav/main/mod_dav.c
(dav_xml_escape_uri): Revert the piece of r1529559 that removes the URI
escaping from this function.
* modules/dav/main/props.c
(dav_do_prop_subreq): Escape the URI before doing a sub request with it.
This resolves some properties like getcontenttype from failing to be
returned for files that contain characters that require encoding in their
path.
* modules/dav/main/mod_dav.h
(dav_resource): Note the inconsistency in the documentation.
* modules/dav/fs/repos.c
(dav_fs_get_resource): Don't use the unparsed_uri to set the uri field of
the resource. This is the correct fix for the double encoding in mod_dav_fs
that led to the dav_xml_escape_uri() change and r1531505.
(dav_fs_walker, dav_fs_append_uri): Revert r1531505 changes. |
22e9a19da7fd79a2801d99e6501b8f8470abdf6e 1529559 |
|
06-Oct-2013 |
breser |
Fix PR 55397: dav_resource->uri treated as an unparsed uri.
The change made for PR 54611 caused this field to be treated as
unescaped. mod_dav_svn however, provided escaped URIs. Essentially
breaking support for paths with non-URI safe characters in SVN.
Adjust the code so that dav_resource->uri is assumed to be escaped and
adjust mod_dav_fs so that it uses escaped URIs in this field.
* modules/dav/fs/repos.c
(dav_fs_get_resource): Use the unparsed_uri to contruct the resource uri.
* modules/dav/main/mod_dav.c
(dav_xml_escape_uri): Do not uri escape, just handle xml escaping.
(dav_created): Assume that locn if provided is escaped.
(dav_method_copymove, dav_method_bind): Use the unparsed_uri on the request
when calling dav_created() to adjust to locn assuming it is escaped.
* modules/dav/main/mod_dav.h
(dav_resource): Document that uri is escaped. |
89fc13eb43e6c78d3377e9ef0d79d343a138041b 1528718 |
|
03-Oct-2013 |
breser |
mod_dav: Fix PR 55306.
Makes mod_dav no longer require that the lock token be provided when the
source of a COPY is locked. The prior behavior was in violating of
RFC 4918 which says that the lock token is only required on resources
that may be modified by the method.
* modules/dav/main/mod_dav.h
(DAV_VALIDATE_NO_MODIFY): New flag to be passed to dav_validate_* functions.
* modules/dav/main/mod_dav.c
(dav_method_copymove): Use the new flag when calling dav_validate_request()
on the COPY source.
* modules/dav/main/util.c
(dav_validate_resource_state): Use the flag to decide to ignore if the lock
token is not provided. |
691db92094897494d6c31326108da20088bc175e 1464241 |
|
04-Apr-2013 |
trawick |
mod_dav: Improve error handling in dav_method_put(), add new
dav_join_error() function.
PR: 54145
Submitted by: Ben Reser <ben reser.org>
Reviewed by: trawick |
aacec42dba1f654f8eea7cb46c739768950c72ce 1083536 |
|
20-Mar-2011 |
fuankg |
Removed dav_get_limit_xml_body() from mod_dav.h.
This was a forgotten prototype hanging around for close
to 11 years where no code for existed (see r85816);
now removed from all branches per wrowe's permission. |
78b8e4dd910f03af0a602bc4b63ad7bc69868ee3 959464 |
|
01-Jul-2010 |
sf |
re-order many struct members for better alignment on 64bit |
99d46a23c6eac800f327b29f8009f7d7da986230 882274 |
|
19-Nov-2009 |
trawick |
Remove errno from dav_error interface. Calls to dav_new_error()
and dav_new_error_tag() must be adjusted to add an apr_status_t parameter.
Reviewed by: jorton |
a0c5ae524801374f36b3769d33d32ea1cca5ade3 830284 |
|
27-Oct-2009 |
fuankg |
fixed dav_hooks_repository_fs struct member order, fixed comments.
Submitted by brian brianfrance.com. |
f5119c5d7cfe8c6d53cb29d43f8746684068ed82 823703 |
|
09-Oct-2009 |
minfrin |
mod_dav: Provide a mechanism to obtain the request_rec and pathname
from the dav_resource.
Submitted by: Jari Urpalainen <jari.urpalainen nokia.com>,
Brian France <brian brianfrance.com> |
49cea03e96dc4707bce15d6318eb013cb8668d96 816893 |
|
19-Sep-2009 |
minfrin |
mod_dav: Allow other modules to become providers and add resource types
to the DAV response.
Submitted by: Jari Urpalainen <jari.urpalainen nokia.com>, Brian France <brian brianfrance.com> |
847b3922f7dcde6830f4aad49d29c84b4569c260 814832 |
|
14-Sep-2009 |
minfrin |
mod_dav: Allow other modules to add things to the DAV or Allow headers
of an OPTIONS request.
Submitted by: Brian France <brian brianfrance.com> |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
42f2b4b0e9b84dfd8acbb9c0da18a07c664e30a1 329562 |
|
30-Oct-2005 |
jorton |
Fix handling of unknown state tokens in If headers:
* modules/dav/main/mod_dav.h: Add dav_if_unknown to dav_if_state_type
enum.
* modules/dav/main/util.c (dav_add_if_state): Set returned type to
dav_if_unknown for an unknown state token.
(dav_validate_resource_state): Evaluate dav_if_unknown to fail
match unless in a Not condition.
PR: 37288 |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8 263931 |
|
29-Aug-2005 |
ianh |
Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman |
1448efd1befdbe16fe42532edbc379204279aadf 239422 |
|
23-Aug-2005 |
asteinmetz |
fix 64bit build warnings in modules/dav |
0206c121a68a63559b2e843288e81bcf16093e46 155345 |
|
25-Feb-2005 |
jerenkrantz |
* modules/dav/main/mod_dav.h: Wrap all public functions in
DAV_DECLARE or DAV_DECLARE_NONSTD.
* modules/dav/main/liveprop.c, modules/dav/main/props.c,
modules/dav/main/util_lock.c, modules/dav/main/mod_dav.c,
modules/dav/main/std_liveprop.c, modules/dav/main/util.c:
Update function definitions.
Submitted by: Branko ÄŒibej <brane xbc.nu>
Reviewed by: Justin Erenkrantz |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
71da3cca78eea6010f89b139ecadb79e6d213c4f 102523 |
|
06-Feb-2004 |
nd |
apply Apache License, version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
87e4c2191581abcfaba8133868a1e9c96d9643a5 100164 |
|
04-Jun-2003 |
gstein |
mod_dav improvement: make dav_method_propfind stream its response,
rather than cache every <response> object and send the whole 207 at once.
Note: this patch doesn't affect the mod_dav provider API at all.
Providers still return property results in text-buffers, but mod_dav
then streams them out immediately.
Submitted by: Ben Collins-Sussman <sussman@collab.net>
Reviewed by: gstein, jerenkrantz, sander
* mod_dav.h (dav_walker_ctx): add a brigade field and a scratchpool field.
* mod_dav.c (dav_send_one_response): new helper function to write a
<DAV:response> into a brigade/filter. this code has been factorized
out of dav_send_multistatus.
(dav_begin_multistatus): new factorized helper func; creates brigade
and sends initial <multistatus> tag.
(dav_send_multistatus): create brigade, call dav_begin_multistatus,
and switch all ap_rputs calls to ap_fputs instead. call
dav_send_one_response when looping over response list. use a
subpool when iterating.
(dav_method_propfind): initialize walker ctx's brigade. initialize
ctx's scratchpool as a subpool of r->pool. Send a <multistatus> tag
before calling the provider's walk() function, and a </multistatus>
tag afterwards.
(dav_stream_response): new function, originally based on
dav_add_repsonse. don't build linked list of responses in memory;
just spew each response object into the brigade via
dav_send_one_response(). take an incoming pool argument to do the
temporary allocation and streaming.
(dav_propfind_walker): pass ctx->scratchpool to dav_stream_response,
and clear the pool when finished. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
6f15570e3adc0faf87bf55f70857028276fc9e32 97342 |
|
29-Oct-2002 |
wrowe |
Detabbify. With extreme prejudice. |
bf8de10e1e04cd6019ba4e23ebebcc1eaee5d4ba 96195 |
|
25-Jul-2002 |
gstein |
In some application environments, the mod_dav hook structures are
allocated dynamically. The structures need a context pointer to
represent that dynamic "object", so a pointer was added to the end of
each of the more important structures.
While providers don't need to add this field to their structures (it
will default to NULL), I went ahead and added it to mod_dav_fs for
clarity.
No MMN bump is required because Apache does not use/examine the
fields (only the provider will set and use them). |
0946f90438dcf29a5fe5d9e21559b3b9d640bc12 95862 |
|
23-Jun-2002 |
wrowe |
The real pain. ap->apr xml and text types. |
1cde33c7e2019830f8fb3224e01649305583916e 95150 |
|
17-May-2002 |
trawick |
stop using APLOG_NOERRNO in calls to ap_log_[pr]error() |
d2aa115623a3d423aadd476e8b4bd3ce3070bc22 94532 |
|
08-Apr-2002 |
trawick |
fix the function name in the prototype for dav_get_search_hooks() |
67ec15681c83d4f5e119f0742618569017beb3fb 94486 |
|
06-Apr-2002 |
striker |
Add DASL(SEARCH) support to mod_dav.
Submitted by: Sung Kim <hunkim@cse.ucsc.edu> |
d0e1056198453d25bccaed50556118dd31caf58b 94003 |
|
18-Mar-2002 |
gstein |
Change the REPORT handling APIs to deliver the content directly into
the filter stack, rather than buffering everything into memory(!). |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
5b03ba47ff7225cacb131f14b019332af27da960 93651 |
|
01-Mar-2002 |
gstein |
Give mod_dav the ability to output both standard and customized
<D:error> responses. It's crucial for marshalling svn error messages
back over to the client; and someday it will be needed to return
specific <DAV:> errors as dictated by the DeltaV spec.
* mod_dav.h (dav_error): add two new fields -- an optional error
namespace, and an error-tag-name. Remove the 'delayed computation'
function and cxt ptrs in this struct; they were never used.
(dav_new_error_tag): new alternative constructor that takes new
fields.
* util.c (dav_new_error_tag): implement constructor.
* mod_dav.c (dav_error_response_tag): new function to output
'standard' xml error response based on error struct.
(dav_handle_err): if no multistatus response is passed in, and if an
error-tag is defined, then call our new xml-output routine.
Submitted by: Ben Collins-Sussman <sussman@collab.net> |
eec7c2c11d9c4e7382bd158c6390f735d91f62e2 93348 |
|
09-Feb-2002 |
gstein |
Get rid of the DAVParam support. That was a concept to help out
mod_dav providers in the 1.0.x series. Nowadays, the providers are
full-fledged Apache modules and can define their own directives and
set up per-server and per-directory parameters. (for example,
mod_dav_fs and the DAVLockDB directive) |
77c2148c53e0a4a20a80af735caa4e0e6bd448e0 92971 |
|
22-Jan-2002 |
gstein |
dav_xml_get_cdata() is an exported function, so mark it as such with
the DAV_DECLARE macro. [ Barry Pederson <barryp@yahoo.com> ]
Apache's handling of ports is broken. Temporarily disable the port
checking in the Destination: header. [ Greg Stein ] |
b6c56e35c5ebdbe1da09806714fb579f3b8c648e 92848 |
|
14-Jan-2002 |
gstein |
Revamp how mod_dav asks its provider to generate a GET response.
* eliminate the get_pathname and free_file vtable functions. add the
deliver() function to have the provider deliver the content
straight into a filter [stack].
* eliminate readable streams -- they are now obsolete. this gets rid
of the read_stream vtable function and DAV_MODE_READ*
* implement a deliver() function for the FS provider. this simply
constructs a bucket and EOS and shoves them into the filter. note
that this is debug code only, so the "large file" issue handled by
the core's default handler doesn't count here.
* allow the provider to handle GET for any resource type and for
collections. this moves the checks into the provider. |
10d15a1817ddd19094a70ed0f7e4efc6a56f449f 91065 |
|
18-Sep-2001 |
gstein |
Revamp the API that mod_dav uses to talk to back end deadprop (propdb)
providers. The old API was really based on how the FS stored properties, but
sucked for other types of providers (SQL databases, Subversion, etc). This
new code is overall much cleaner as it moves from a DBM style API to one
tuned for actual mod_dav operation; it also more flexible/clearer for future
improvements (e.g. dropping props directly to the wire rather than buffering
in memory).
This new API allows the provider to better define namespace handling during
the output of the values, how values are serialized and stored, the mapping
between elements' namespaces and the internalized namespace storage, a
clearer mechanism for naming properties (dav_prop_name), and an explicit
rollback mechanism to deal with PROPPATCH atomicity.
Updated the FS provider (fs/dbm.c) to the new API, mostly by moving code
from main/props.c. Of course, with the new semantics, some big changes in
the namespace mapping were made. |
b5989e567e4fac5b3ab1252024ae19b0a54893a7 91004 |
|
11-Sep-2001 |
gstein |
Add an opaque datatype for managing a set of XML namespace declarations.
Part of an upcoming propdb API improvement. |
f5d88bab65052e00ba37a1af17e5e67a437628b5 89835 |
|
31-Jul-2001 |
wrowe |
Clean up mod_dav error reporting to HTML/XHTML cross-compliance. |
343eeefa567714421400454f7dc15465229ab34a 89007 |
|
05-May-2001 |
gstein |
clarify the use of some of the members of the dav_provider structure. |
48f35e10f195dd594d75738fc536bb885eda537c 88876 |
|
17-Apr-2001 |
gstein |
allow non-absolute URIs to occur in some of the requests. RFC 2518 states
that the Destination: header (used in MOVE/COPY) must be an absolute URI, so
it keeps that constraint. |
4d0b0b6d8341c5e54b2081665fc91b4e4f781753 88856 |
|
14-Apr-2001 |
gstein |
Fix up the auto-versioning stuff. The new scheme more closely matches the
intent of DeltaV draft 14, simplifying some previous assumptions.
Includes some heavy fixes to MOVE/COPY in a versioning world.
Fix to CHECKOUT when a working resource is not created (checkout in place)
Submitted by: John Vasta <jvasta@rational.com> |
9a1d0e3184c65f510dbef5e83ba5b9f27f961b44 88855 |
|
14-Apr-2001 |
gstein |
Implement the MERGE method: fill in dav_method_merge(); add merge() function
to dav_hooks_vsn. |
6582c8e9b0d0d65427b0c55cb48eaac7950dcb8f 88603 |
|
28-Mar-2001 |
trawick |
clean up some warnings dealing with
1) mismatches between printf format strings and arguments
2) wrong type for last parm to ap[r]_xml_to_text
3) missing time.h decls |
d0b8a620f3625f57ff85d9b94fa549c8cfdc5934 88599 |
|
28-Mar-2001 |
gstein |
Patch to sync with some changes to mod_dav 1.1:
*) revamp the set_target stuff -- latest draft calls this UPDATE
*) update the CHECKIN method handling
*) liveprop providers can catch/define "core" properties before the core
gets a chance.
Submitted by: John Vasta <jvasta@rational.com>
Reviewed by: Greg Stein |
ea6d98d23c8eb2e9c28395321f1252ca97e52a8d 88581 |
|
26-Mar-2001 |
gstein |
revise the set of predefined PROPID values based on DeltaV Internet Draft #14 |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
4c4931ea5c99fddede9297b8a0d136d2d5a53e8b 88119 |
|
12-Feb-2001 |
trawick |
trailing commas in enum declarations aren't portable |
f39230a531b23d94f86a087963299bbe2e431a4a 88007 |
|
07-Feb-2001 |
gstein |
Revamp the CHECKOUT method handling and various support functions for it.
Basically, the original CHECKOUT was based on a really old draft of the
DeltaV specification. This brings it up to date.
*) get_resource hook now takes an optional label name and/or a flag on
whether to use the DAV:checked-in property; if either one is provided,
then a version resource is looked up and returned.
WARNING: the parameter types are now the same, but have very different
semantics. this means you won't get a compile error to figure
out that something needs to be changed here.
*) mod_dav.c::dav_get_resource no longer cahces the fetched resource in the
request userdata. Some requests will call this function multiple times,
for different resources -- we don't want to keep returning the same
resource (no idea how this ended up working).
*) dav_get_resource()'s parameters have been updated. target_allowed is old
terminology; it is now label_allowed. The target paramter is obsoleted by
the simple use_checked_in flag.
*) dav_get_target_selector() is obsolete. XML element processing is done
within the CHECKOUT method (i.e. only where it occurs). The other half of
the old function was to simply fetch the Label: header.
*) DAV_TARGET_SELECTOR_HDR is now DAV_LABEL_HDR
*) dav_method_checkout() now processes all the various options for a
CHECKOUT method and either modifies the initial resource lookup, or
passes the data to the checkout hook function.
*) the checkout hook grew a bunch of new parameters
*) new utility function: dav_xml_get_cdata() to gather up all the CDATA from
an XML element. this is used to extract DAV:href values.
(probably move to util_xml.c at some point) |
f554635ae7f32620fefcd575dcbea37b1cc11b6e 87980 |
|
05-Feb-2001 |
gstein |
*) add activity handling: OPTIONS and MKACTIVITY
*) fix HTTP status code in MKWORKSPACE handling
*) add can_be_activity and make_activity hooks to dav_hooks_vsn |
866b521be8a30b2798ad3c3b73de5e965edd7c2f 87852 |
|
26-Jan-2001 |
gstein |
Provide a way to allow get_resource and get_parent_resource to return errors
that might occur during the parsing of the URI and/or the lookup of the
resource in the repository.
Specifically: return a dav_error* and move the returned dav_resource* to an
"out" parameter of the hook function. |
bbba27074551817d7c6a606c4362965c26a0777e 87758 |
|
20-Jan-2001 |
gstein |
some stylistic tweaks post- John's patch |
c7548bcd69fbe1338ad855ba44f0b2b774e57bd8 87752 |
|
20-Jan-2001 |
gstein |
- implement DeltaV OPTIONS extensions
- let live prop providers get first crack at PROPFIND
- work around MS Web Folders limit on DAV header length
Submitted by: John Vasta <jvasta@rational.com>
Reviewed by: Greg Stein |
b980ad7fdc218b4855cde9f75a747527f50c554d 87731 |
|
19-Jan-2001 |
wrowe |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed. |
00f73f5096966f34c7db15562e5d2e1233eb4571 87670 |
|
12-Jan-2001 |
gstein |
Fix a problem found by Ryan when deleting collections, which triggered an
underlying (broad) bug. dav_add_response() was assuming the walk params were
a dav_walker_ctx. During the walker cleanup in Nov00, that assumption was
removed, so response errors that occurred in the cleaned sections (such as
dav_fs_delete_resource) could trigger a segfault.
Solution: add a pool to dav_walk_resource and alter dav_add_response to use
that, rather than assume the ctx is a dav_walker_ctx.
[ note there is also a pool in dav_walk_resource.resource, but that pool is
associated with the *resource* rather than the process of walking, so we
introduced another field. currently they are the same, however. ]
Found by: Ryan Bloom |
2acd42d5591f6db91fc3716300ecce1818e6fc14 87233 |
|
06-Dec-2000 |
gstein |
switch to apr_dbm.h and the updated naming |
acdb373d92c698a2ac260e03da95816c8a091eb6 87087 |
|
27-Nov-2000 |
gstein |
*) make find_liveprop() hook take a dav_resource rather than "r"
*) repos.c: liveprop hooks shouldn't respond if the resource is not an FS
resource.
*) std_liveprop.c: use empty-elem form if value=="". return NOTDEF for the
properties that we aren't ready to insert yet |
02fed5190fb8d69dbb70fb2330526fff85af1c41 87086 |
|
27-Nov-2000 |
gstein |
liveprops are handled via hooks, not the dav_provider structure. clear it
out of there. |
956f4b1551215610a57f3b52822dbac6f41a8aa9 87079 |
|
26-Nov-2000 |
gstein |
fix spelling: "writable" is the proper form |
5fbee309625f7a631a42d7dc05bbfa0d45a926cc 87075 |
|
23-Nov-2000 |
gstein |
shift some processing of "core" WebDAV properties out of the generic
property handling code, and into a new, core liveprop handler.
*) add std_liveprop.c to deal with the core DAV properties
*) move DAV:resourcetype, DAV:supported-method-set,
DAV:supported-live-property-set, and DAV:supported-report-set over to the
new handler
*) props.c::dav_get_allprops() should not look in the deadprop database for
the DAV:resourcetype -- it is readonly, so should never be in there.
*) strip vsn_hooks from the propdb; only the core liveprops need it now
*) mod_dav.c: register the core liveprop hooks and URIs
*) fs/repos.c: stripped DAV:displayname and DAV:source, in favor of letting
the core handler deal with them. |
ba2ad3b1bb4a729278ad8e8846d34ddd27b6551c 87074 |
|
23-Nov-2000 |
gstein |
dav_resource should carry around a pool for allocations related to it |
0e8fe062a6ec71b4207d1a125ee6b44b7fd30857 87073 |
|
23-Nov-2000 |
gstein |
More revamping of live properties. Focused around the fact that a provider's
hooks are only called if that provider defines the prop (e.g. NOTME return
values are no longer needed). Also refactored some code to simplify liveprop
management for providers (assuming they don't have "funny" stuff).
*) enumerate all known DAV properties (DAV_PROPID_* in mod_dav.h)
- use these in fs/repos.c rather than DAV_PROPID_FS_*
- will use in SVN and a second-round whack on the "core" props in props.c
*) refactor dav_fs_liveprop_name to dav_liveprop_spec and add a writeable
flag
*) add dav_liveprop_group to hold a number of "top-level" items to pass to
the new liveprop utility functions
*) add dav_do_find_liveprop() as a util for the find_liveprop hook function
- toss repos.c::dav_fs_find_prop
- use the new function for repos.c::dav_fs_find_liveprop
*) rebuild dav_register_liveprop_namespace() as a full "group" registration
which will handle all the namespaces in a liveprop provider. The new func
is called dav_register_liveprop_group().
*) add dav_get_liveprop_info() to look up liveprop info given a provider's
propid. used in dav_fs_insert_prop() and dav_fs_is_writeable()
*) fold dav_fs_insert_all() directly into dav_fs_insert_all_liveprops()
since the former wasn't called by anything else
*) rename var in dav_fs_insert_prop() to "global_ns" to clarify its purpose.
torch a couple out-of-date comments in there.
*) toss dav_prop_rw type and simplify is_writeable hook. fix up calling of
hook in props.c::dav_rw_liveprop(). dav_rw_liveprop() should also call
the provider *first*, if one has stated it is handling the property.
*) toss DAV_PROP_INSERT_NOTME since we can't call a provider's insert_prop
with somebody else's liveprop
*) remove DAV_IS_CORE_PROP() in props.c. a core prop is not defined by its
propid, but by provider==NULL. add comments to clarify when that happens.
*) fix sub-request creation to include new next-filter arg |
e154725591e87e013bad80b6c9aac6f1b0441f7c 87018 |
|
19-Nov-2000 |
gstein |
clean out some liveprop hooks which are now handled by AP_HOOK functions |
2ad4f2a9da996dfb262c4398ad77ec5d734226df 87000 |
|
18-Nov-2000 |
gstein |
add some docco from John Vasta |
7281ea331999debdc337b02ce37a3169e0e033a2 86972 |
|
15-Nov-2000 |
gstein |
Apply a patch from John Vasta for adding (some/more) DeltaV support to
mod_dav. The patch applied and compiled cleanly, so I'm committing. Any
necessary changes from a review will come later, so that we can easily track
what needed to change (and can be back-ported to mod_dav 1.1).
Submitted by: John Vasta <jvasta@rational.com> |
f94aab38f6ee899f463f0118ea395291f7c5b4ce 86887 |
|
09-Nov-2000 |
gstein |
final round of walker cleanup: fix the provider API to match what is Right. |
707ecf9559338ec06b24334bc9abcca670325cc4 86886 |
|
09-Nov-2000 |
gstein |
one more round of walker cleanup: remove some items that are internal to the
FS provider from the public API; bang up the FS internals for the
now-private items and mechanisms; a bit more revamp to the FS walker
top-level APIs to narrow in on obsoleting dav_walker_ctx. |
52c1d304b1bd8e05da40a7cded2ecb9f0ba614c5 86884 |
|
09-Nov-2000 |
gstein |
first round whack at cleaning up the walker interface |
98e9c4a310bb623ff788680f88b6bd200ff36a24 86542 |
|
11-Oct-2000 |
wrowe |
Here it is, mod_dav should build quite nicely on Win32 (two last mild
warnings to contend with.) |
da7b304239d81472d4a6b36816fa50c35a1376cb 86501 |
|
10-Oct-2000 |
gstein |
add DAV_RESOURCE_TYPE_PRIVATE.
some minor reformatting. |
16b24f1ce9b0192d5def4308fff2c32d77c77db5 86498 |
|
10-Oct-2000 |
gstein |
use the APR type |
eb2abb2d3f87f28e99bcb282b91e432822b4d9b4 86425 |
|
07-Oct-2000 |
gstein |
clean up the provider stuff some more: don't allow pick-and-choose of
pieces, but just a complete provider. they aren't really separable anyways. |
83719c22db4a6d0575bb4f7f34382d7b185a6f74 86424 |
|
07-Oct-2000 |
gstein |
forward-port John Vasta's checkin to mod_dav 1.1.x (on Sep 25, 2000). this
begins some work to upgrade the versioning support to some of the more
recent drafts.
- get_resource hook has new params
- create_collection hook no longer takes a pool
- new dav_auto_version_info structure to group up autoversion
rollback/commit handling data
- new functions for getting workspace, target-selector, etc
- supportedlock hook now takes the resource in question (since different
resources may have different locks)
- new resource types; tweaks in props.c to support them
- some tweaks with resource creation, Location header, etc. |
5a47cad1aef57039cd47eb34ebbc2959c610f326 86195 |
|
10-Sep-2000 |
gstein |
The "get resource" functionality is no longer a hook. Instead, providers
register themselves by name with mod_dav. The user configures a particular
provider for a location/directory. mod_dav looks up that provider and uses
it explicitly. (the prior behavior simply asked "anybody" to satisfy the
get_resource, but it did not mesh well with user-specified providers)
*) add providers.c to deal with provider registration
*) rejigger mod_dav.c to toss the hook and use the provider
*) clean out dav/fs/ of the old scheme and have it register itself |
50bd75672ef114fb839dd9643c192b432fdf344c 86186 |
|
09-Sep-2000 |
gstein |
update the WebDAV versioning support:
- recognize and dispatch the latest set of DeltaV methods
- refine the CHECKOUT provider hook
- add avail_reports provider hook
- fix the "target" resolution mechanism |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
6b745319b1099edacf401e8911efa480440f999a 85803 |
|
10-Jul-2000 |
gstein |
complete the removal of the old dav_dyn crap. dav plugins are now
implemented entirely through standard Apache modules, hooks, and some
additional registration. |
d62e704ec47e9dde3798c5a8473a7ade97290652 85801 |
|
10-Jul-2000 |
gstein |
torch just about all of the old dav_dyn stuff. temporarily hard-wire the
liveprop provider setup. this will go away momentarily (another pass). |
75ba48124689705b1eee2b4fe10fe24a2d2467cd 85800 |
|
10-Jul-2000 |
gstein |
new liveprop namespace registration and lookup. modules register each
namespace they will use, which then receives a process-wide index.
get rid of old dav_liveprop_uris global (and minor cleaning in dav_dyn);
encapsulate liveprop handling in liveprop.c.
do not build/use an ns_map; use dav_get_liveprop_ns_index(). |
709df1e1c2e1710570f8cb4209497e88662829c3 85790 |
|
08-Jul-2000 |
gstein |
get rid of more of the old module/provider mechanisms -- use ap_hooks to
look up the plugins' function hook tables. |
ba8574a7fe6f1c3405982bb856591b5f13fe205a 85786 |
|
07-Jul-2000 |
gstein |
do the "get resource" via a hook rather than through the repository hook
structure. once the resource is retrieved, then we have the relevant
repository hooks and can dispatch through those.
some additional tweaks to use lockdb->hooks rather than fetching them |
fe4d394397840dd4823e3d6fc5affc1ab395e161 85783 |
|
07-Jul-2000 |
gstein |
turn dav/fs/ into a real module
move the DAVLockDB directive to the dav_fs module |
4aa38ff502b8639820dd007b9095e0229bcd3311 85780 |
|
07-Jul-2000 |
gstein |
use ap_size_t rather than plain size_t |
252e2478cb56afb5ca8585b50bc2ffb780d2efb6 85761 |
|
04-Jul-2000 |
gstein |
Joe Orton writes:
This updates mod_dav for the util_xml changes posted previously:
* dav_xml -> ap_xml, and dav_text -> ap_text renaming
* Add 'dav_elem_private' to hook mod_dav-specific info up to the
parsed XML tree. Initialize this in several places, I think I got
all necessary? [gjs: yes, you did]
* Removal of the old "gross_hack", and all the XML code that was
moved into util_xml
Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Greg Stein |
06cb1a83b6a1cfbe9c7815569e6c1d1408966ff7 85748 |
|
02-Jul-2000 |
gstein |
run DAV's type_checker first so that it can grab the non-GET methods (it
will pass thru GET for normal processing)
fix the DBGn() macros for Apache 2.0 |
cbc2cc2d42811fc0d836b1cfd0c52121d8359e86 85729 |
|
29-Jun-2000 |
gstein |
always include limits.h for the INT_MAX value.
Submitted by: Jeff Trawick |
f5ec9b038bb9db933072ba2c0a8e7bb2a3cedbda 85720 |
|
28-Jun-2000 |
gstein |
get the DAV stuff to compile for Apache 2.0. some unpleasantries are in
there, but it *does* compile. |
b0fb330a8581c8bfab5e523084f9f39264a52b12 85718 |
|
28-Jun-2000 |
gstein |
first, obvious step: alter the license/copyright on all mod_dav files. |
f4c310fd2555c6faca1f980f00b161eadb089023 85717 |
|
28-Jun-2000 |
gstein |
initial checkin of the new Apache DAV code. this is a pristine copy of
mod_dav 1.0.1 (tag "V1_0_1" in the mod_dav CVS repository).
For historical information about these files, see the (old) mod_dav web
site at http://www.webdav.org/mod_dav/. CVS repository information can
be located from those pages. |