Skip to content

Commit

Permalink
add more owncloud capabilities (cs3org#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode authored and David Christofas committed Mar 6, 2020
1 parent 516ac3b commit 1660a73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocdav/propfind.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (s *svc) doPropfind(w http.ResponseWriter, r *http.Request, ns string) {
req := &provider.StatRequest{Ref: ref}
res, err := client.Stat(ctx, req)
if err != nil {
log.Error().Err(err).Msg("error sending a grpc stat request")
log.Error().Err(err).Msgf("error sending a grpc stat request to ref:%+v", ref)
w.WriteHeader(http.StatusInternalServerError)
return
}
Expand Down
7 changes: 4 additions & 3 deletions internal/http/services/owncloud/ocs/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,10 @@ type CapabilitiesFiles struct {

// CapabilitiesDav holds dav endpoint config
type CapabilitiesDav struct {
Chunking string `json:"chunking" xml:"chunking"`
Trashbin string `json:"trashbin" xml:"trashbin"`
Reports []string `json:"reports" xml:"reports>element" mapstructure:"reports"`
Chunking string `json:"chunking" xml:"chunking"`
Trashbin string `json:"trashbin" xml:"trashbin"`
Reports []string `json:"reports" xml:"reports>element" mapstructure:"reports"`
ChunkingParallelUploadDisabled bool `json:"chunkingParallelUploadDisabled" xml:"chunkingParallelUploadDisabled"`
}

// CapabilitiesFilesSharing TODO document
Expand Down

0 comments on commit 1660a73

Please sign in to comment.