forked from cs3org/reva
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'upstream-master' into spaces
- Loading branch information
Showing
143 changed files
with
4,596 additions
and
2,319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ docs/tech-doc-hugo | |
|
||
dist/ | ||
bin/ | ||
vendor/ | ||
|
||
# API acceptance tests | ||
tests/acceptance/output | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Enhancement: support multiple templates in config entries | ||
|
||
This PR introduces support for config entries with multiple templates, | ||
such as `parameter = "{{ vars.v1 }} foo {{ vars.v2 }}"`. | ||
Previously, only one `{{ template }}` was allowed in a given | ||
configuration entry. | ||
|
||
https://github.com/cs3org/reva/pull/4282 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Enhancement: Disable open in app for given paths | ||
|
||
https://github.com/cs3org/reva/pull/4304 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Enhancement: Get the logger in the grpcMDResponseToFileInfo func, log the stat | ||
|
||
https://github.com/cs3org/reva/pull/4309 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Bugfix: Correctly treat EOS urls containing # chars | ||
|
||
https://github.com/cs3org/reva/pull/4306 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Bugfix: Reworked List() to support version folder tricks | ||
|
||
https://github.com/cs3org/reva/pull/4321 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Enhancement: Init time logger for eosgrpc storage driver | ||
|
||
Before the `eosgrpc` driver was using a custom logger. | ||
Now that the reva logger is available at init time, | ||
the driver will use this. | ||
|
||
https://github.com/cs3org/reva/pull/4311 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Enhancement: Added listversions command | ||
|
||
https://github.com/cs3org/reva/pull/4301 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Bugfix: fixed registration of custom extensions in the mime registry | ||
|
||
This PR ensures custom extensions/mime-types are registered by trimming | ||
any eventual leading '.' from the extension. | ||
|
||
https://github.com/cs3org/reva/pull/4319 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Bugfix: Restore changes to ceph driver | ||
|
||
PR [4166](https://github.com/cs3org/reva/pull/4166) accidentally reverted the | ||
ceph driver changes. This PR recovers them. | ||
|
||
https://github.com/cs3org/reva/pull/4310 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Enhancement: revamp ScienceMesh integration tests | ||
|
||
This extends the ScienceMesh tests by running a wopiserver next | ||
to each EFSS/IOP, and by including a CERNBox-like minimal configuration. | ||
The latter is based on local storage and in-memory shares (no db dependency). | ||
|
||
https://github.com/cs3org/reva/pull/4246 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Enhancement: reworked protocol with ScienceMesh NC/OC apps | ||
|
||
This ensures full OCM 1.1 coverage | ||
|
||
https://github.com/cs3org/reva/pull/4240 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Bugfix: Dynamic storage registry storage_id aliases | ||
|
||
Fixes the bug where the dynamic storage registry would not be able to | ||
resolve storage ids like `eoshome-a`, as those are aliased and need to | ||
be resolved into the proper storage-id (`eoshome-i01`). | ||
|
||
https://github.com/cs3org/reva/pull/4307 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Copyright 2018-2023 CERN | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// In applying this license, CERN does not waive the privileges and immunities | ||
// granted to it by virtue of its status as an Intergovernmental Organization | ||
// or submit itself to any jurisdiction. | ||
|
||
package main | ||
|
||
import ( | ||
"fmt" | ||
"io" | ||
|
||
rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" | ||
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" | ||
"github.com/pkg/errors" | ||
) | ||
|
||
func listVersionsCommand() *command { | ||
cmd := newCommand("listversions") | ||
cmd.Description = func() string { return "list the versions of a file" } | ||
cmd.Usage = func() string { return "Usage: listversions <file_name>" } | ||
|
||
cmd.Action = func(w ...io.Writer) error { | ||
if cmd.NArg() < 1 { | ||
return errors.New("Invalid arguments: " + cmd.Usage()) | ||
} | ||
|
||
fn := cmd.Args()[0] | ||
client, err := getClient() | ||
if err != nil { | ||
return err | ||
} | ||
|
||
ref := &provider.Reference{Path: fn} | ||
req := &provider.ListFileVersionsRequest{Ref: ref} | ||
|
||
ctx := getAuthContext() | ||
res, err := client.ListFileVersions(ctx, req) | ||
if err != nil { | ||
return err | ||
} | ||
|
||
if res.Status.Code != rpc.Code_CODE_OK { | ||
return formatError(res.Status) | ||
} | ||
|
||
vers := res.Versions | ||
for _, info := range vers { | ||
fmt.Printf("Key: %s Size: %d mtime:%d\n", info.Key, info.Size, info.Mtime) | ||
} | ||
|
||
return nil | ||
} | ||
return cmd | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.