mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-25 05:26:00 -04:00
Adds pkg/openextension, the shared model of open extensions: every property is one arbitrary metadata key, http://opencloud.eu/ns/extensions/<name>/<property>, whose value carries its kind as a one-letter prefix (s:, n:, b:, d:, g:, upper case for arrays). A property is written and re-typed in one write; a value without a known prefix is unreadable and skipped. Graph and the search index in opencloud read and write extensions through the same package. ocdav stores and answers properties in that namespace typed: PROPPATCH maps xsi:type (RFC 4316) to the stored form, PROPFIND renders the stored form with xsi:type; a property without xsi:type is a string, as every WebDAV client writes today. allprop leaves extensions out, properties in other namespaces are untouched. Vendored ahead of the reva release that will carry it.