Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ocis 3743 show hide share status #1

Merged
merged 70 commits into from
Sep 18, 2023
Merged
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
aa7f446
Support signature authentication for public links (#118)
C0rby Mar 25, 2021
eff2d45
Reduce the 'build-and-publish- pipleine scope to the master branch
SamuAlfageme Mar 25, 2021
33ae0f7
[CI] Trigger release pipeline for the node-cs3apis bindings
SamuAlfageme Apr 13, 2021
c2d1034
[skip-ci] Rename 'master' to 'main'
SamuAlfageme Apr 14, 2021
b8436e9
Add 'node' to the Makefile targets
SamuAlfageme Apr 14, 2021
bc19782
Write only management API for User and Group resources (#119)
refs Apr 21, 2021
b440728
Add user type field to user ID (#120)
ishank011 Apr 26, 2021
62377dd
Added a new OpenInApp request/response (#121)
glpatcern Apr 27, 2021
2bb7c93
update share api (#124)
C0rby May 6, 2021
37848ee
Add token scope field to gateway authenticate requests (#123)
ishank011 May 7, 2021
e3ac6ae
Application passwords management (#127)
ishank011 May 27, 2021
f4588ef
Further to #121, added the relevant gateway API (#128)
glpatcern May 27, 2021
72517b1
Extend InitiateFileUpload to support exclusive uploads and etags-base…
glpatcern Jun 11, 2021
1ed9b2f
Fixed documentation (#132)
glpatcern Jun 11, 2021
1a4ab6b
Extend references for retrieval via relative paths with resource IDs …
butonic Jun 14, 2021
6da44cb
update the storageprovider recycle api (#135)
Jul 2, 2021
05f37d3
Extend app registry with methods to add providers and mimetype filter…
ishank011 Jul 26, 2021
5cb2b09
Add the ListSupportedMimeTypes call (#138)
ishank011 Aug 2, 2021
a86e5cb
add DenyGrant method (#136)
labkode Aug 2, 2021
cf97f94
Use a URL object in OpenInAppResponse (#139)
ishank011 Aug 12, 2021
63c2cee
add a filter for share grantee types (#142)
Sep 6, 2021
4967603
Add filter to exclude denials in listing of shares (#146)
glpatcern Sep 16, 2021
5e29c7c
Extensions for the AppProviders to improve the UI (#145)
glpatcern Sep 22, 2021
b33d276
use the google protobuf field mask (#144)
butonic Oct 4, 2021
656f69e
Add space id to GetQuota method (#147)
micbar Oct 6, 2021
2321eb6
Add a create flag to MimeTypeInfo (#149)
glpatcern Oct 7, 2021
634e606
Add key parameter to recycle bin methods (#152)
ishank011 Oct 18, 2021
a8924f7
Add config to control fetching groups with users and vice versa (#153)
ishank011 Oct 26, 2021
942713c
Update README.md
labkode Nov 3, 2021
dfc8f0d
[docs-only] cd cs3apis in readme instructions (#155)
michielbdejong Nov 3, 2021
9648574
add default_application to MimeTypeInfo (#157)
wkloucek Nov 4, 2021
50cca47
add TouchFile (#154)
wkloucek Dec 13, 2021
2182b58
Adding support for a Lock API (#160)
glpatcern Dec 14, 2021
48b68f8
first prototype for the permissions service api (#161)
Dec 14, 2021
2fb79d4
Rework Lock API metadata and add missing argument to Unlock (#162)
butonic Jan 26, 2022
dfd5454
Data transfer pull model (#143)
redblom Feb 14, 2022
6fcd39b
Match multiple providers in auth registry (#164)
ishank011 Feb 18, 2022
8a2c7a3
Add an optional lock_id argument to storage methods (#163)
glpatcern Feb 25, 2022
c1dc440
Added parent_id reference to ResourceInfo (#167)
glpatcern Mar 28, 2022
96b8d98
Add namespace config to user preferences calls (#166)
ishank011 Mar 30, 2022
993b147
add quicklink field to link cs3api (#168)
kobergj Apr 12, 2022
4a7b51b
Add path filter to list storage spaces request (#170)
ishank011 May 12, 2022
0d4031d
add creator to grant (#172)
kobergj Jun 17, 2022
47bde33
Performance improvements (#173)
micbar Jun 20, 2022
726aedb
add spaceID to resourceID (#174)
micbar Jun 21, 2022
25c9af8
add user filter (#175)
dragonchaser Jul 11, 2022
04cd991
Add an expiration to FileUploadProtocol (#176)
aduffeck Jul 14, 2022
a9392fb
add a if_unmodified_since condition to InitiateFileUploadRequest (#178)
aduffeck Aug 18, 2022
dd6c85f
Added PREVIEW as an additional ViewMode for apps (#179)
glpatcern Sep 5, 2022
1dbd99f
Continuation of cs3org/cs3apis#179 (#180)
glpatcern Sep 13, 2022
2752ed6
add optional oldLock to RefreshLockRequest (#183)
micbar Sep 29, 2022
2bd69ed
Add description to public share (#184)
gmgigi96 Sep 29, 2022
4a6c00f
add description in create public share request (#185)
gmgigi96 Sep 30, 2022
d935639
Allow a public share to be used internally (#186)
gmgigi96 Oct 4, 2022
1e56ee2
add more share filters (#181)
Oct 5, 2022
bb7fbfa
add new user type space owner (#187)
butonic Oct 12, 2022
ec4bcc9
add an expiration timestamp to grants
Jan 4, 2023
cb322b6
add API changes to support share expiration
Jan 9, 2023
d08b8e8
Get initiator's info on AcceptInvite (#196)
gmgigi96 Jan 16, 2023
de86908
add description when generating an invitation token (#197)
gmgigi96 Jan 17, 2023
c098de0
Add error codes to InviteAPIs (#198)
gmgigi96 Jan 17, 2023
383c14c
trigger CI
micbar Jan 11, 2023
b4e6e9a
change secret name
micbar Feb 6, 2023
8a34fee
Correct echo
micbar Feb 6, 2023
194e643
Name change in module datatx: PullTransfer -> CreateTransfer (#195)
redblom Feb 7, 2023
9043cf3
Merge branch 'main' into grant-expiration
glpatcern Feb 7, 2023
6d5621d
change secret handling
micbar Feb 9, 2023
c07d894
Merge branch 'main' into grant-expiration
micbar Feb 9, 2023
a927825
the code locked added
2403905 May 17, 2023
c50bc47
add hide share value
dragonchaser Sep 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Performance improvements (cs3org#173)
* add space and name to ResourceInfo

* add field mask to list and stat requests

* add pagination to most of the list requests
micbar authored Jun 20, 2022
commit 47bde3393b384bb0a21df476c79b6ec426763259
28 changes: 28 additions & 0 deletions cs3/sharing/collaboration/v1beta1/collaboration_api.proto
Original file line number Diff line number Diff line change
@@ -146,6 +146,15 @@ message ListSharesRequest {
// OPTIONAL.
// The list of filters to apply if any.
repeated Filter filters = 2;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 3;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 4;
}

message ListSharesResponse {
@@ -158,6 +167,11 @@ message ListSharesResponse {
// REQUIRED.
// The list of shares.
repeated Share shares = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message RemoveShareRequest {
@@ -206,6 +220,15 @@ message ListReceivedSharesRequest {
// OPTIONAL.
// The list of filters to apply if any.
repeated Filter filters = 3;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 4;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 5;
}

message ListReceivedSharesResponse {
@@ -218,6 +241,11 @@ message ListReceivedSharesResponse {
// REQUIRED.
// The list of received shares.
repeated ReceivedShare shares = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

// TODO(labkode): clean up display_name ? we'll use storage links for that.
14 changes: 14 additions & 0 deletions cs3/sharing/link/v1beta1/link_api.proto
Original file line number Diff line number Diff line change
@@ -176,6 +176,15 @@ message ListPublicSharesRequest {
// OPTIONAL.
// If a signature should be included in the share.
bool sign = 3;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 4;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 5;
}

message ListPublicSharesResponse {
@@ -188,6 +197,11 @@ message ListPublicSharesResponse {
// REQUIRED.
// The list of shares.
repeated PublicShare share = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message RemovePublicShareRequest {
28 changes: 28 additions & 0 deletions cs3/sharing/ocm/v1beta1/ocm_api.proto
Original file line number Diff line number Diff line change
@@ -169,6 +169,15 @@ message ListOCMSharesRequest {
// OPTIONAL.
// The list of filters to apply if any.
repeated Filter filters = 2;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 3;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 4;
}

message ListOCMSharesResponse {
@@ -181,6 +190,11 @@ message ListOCMSharesResponse {
// REQUIRED.
// The list of shares.
repeated Share shares = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message RemoveOCMShareRequest {
@@ -226,6 +240,15 @@ message ListReceivedOCMSharesRequest {
// OPTIONAL.
// Opaque information.
cs3.types.v1beta1.Opaque opaque = 1;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 2;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 3;
}

message ListReceivedOCMSharesResponse {
@@ -238,6 +261,11 @@ message ListReceivedOCMSharesResponse {
// REQUIRED.
// The list of received shares.
repeated ReceivedShare shares = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

// TODO(labkode): clean up display_name ? we'll use storage links for that.
115 changes: 115 additions & 0 deletions cs3/storage/provider/v1beta1/provider_api.proto
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ import "cs3/identity/user/v1beta1/resources.proto";
import "cs3/rpc/v1beta1/status.proto";
import "cs3/storage/provider/v1beta1/resources.proto";
import "cs3/types/v1beta1/types.proto";
import "google/protobuf/field_mask.proto";

// Storage Provider API
//
@@ -429,6 +430,15 @@ message ListGrantsRequest {
// REQUIRED.
// The reference to which the action should be performed.
Reference ref = 2;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 3;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 4;
}

message ListGrantsResponse {
@@ -441,6 +451,11 @@ message ListGrantsResponse {
// REQUIRED.
// The grants.
repeated Grant grants = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message ListContainerStreamRequest {
@@ -454,6 +469,19 @@ message ListContainerStreamRequest {
// Arbitrary metadata to be included with the resource.
// A key with the name '*' means to return all available arbitrary metadata.
repeated string arbitrary_metadata_keys = 3;
// OPTIONAL.
// The field mask applies to the resource. For the `FieldMask` definition,
// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
google.protobuf.FieldMask field_mask = 4;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 5;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 6;
}

message ListContainerStreamResponse {
@@ -466,6 +494,11 @@ message ListContainerStreamResponse {
// REQUIRED.
// The resource information.
ResourceInfo info = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message ListContainerRequest {
@@ -479,6 +512,19 @@ message ListContainerRequest {
// Arbitrary metadata to be included with the resource.
// A key with the name '*' means to return all available arbitrary metadata.
repeated string arbitrary_metadata_keys = 3;
// OPTIONAL.
// The field mask applies to the resource. For the `FieldMask` definition,
// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
google.protobuf.FieldMask field_mask = 4;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 5;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 6;
}

message ListContainerResponse {
@@ -491,6 +537,11 @@ message ListContainerResponse {
// REQUIRED.
// The list of resource informations.
repeated ResourceInfo infos = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message ListFileVersionsRequest {
@@ -500,6 +551,15 @@ message ListFileVersionsRequest {
// REQUIRED.
// The reference to which the action should be performed.
Reference ref = 2;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 3;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 4;
}

message ListFileVersionsResponse {
@@ -512,6 +572,11 @@ message ListFileVersionsResponse {
// REQUIRED.
// The list of file versions.
repeated FileVersion versions = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message ListRecycleRequest {
@@ -535,6 +600,15 @@ message ListRecycleRequest {
// The key for a recycle item to be listed.
// If provided, the item corresponding to the key will be listed.
string key = 5;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 6;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 7;
}

message ListRecycleResponse {
@@ -547,6 +621,11 @@ message ListRecycleResponse {
// REQUIRED.
// The list of recycle items.
repeated RecycleItem recycle_items = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message ListRecycleStreamRequest {
@@ -570,6 +649,15 @@ message ListRecycleStreamRequest {
// The key for a recycle item to be listed.
// If provided, the item corresponding to the key will be listed.
string key = 5;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 6;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 7;
}

message ListRecycleStreamResponse {
@@ -582,6 +670,11 @@ message ListRecycleStreamResponse {
// REQUIRED.
// The recycle items.
RecycleItem recycle_item = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message MoveRequest {
@@ -724,6 +817,10 @@ message StatRequest {
// Arbitrary metadata be included with the resource.
// A key with the name '*' means to return all available arbitrary metadata.
repeated string arbitrary_metadata_keys = 3;
// OPTIONAL.
// The field mask applies to the resource. For the `FieldMask` definition,
// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
google.protobuf.FieldMask field_mask = 4;
}

message StatResponse {
@@ -1010,6 +1107,19 @@ message ListStorageSpacesRequest {
// OPTIONAL.
// The list of filters to apply if any.
repeated Filter filters = 2;
// OPTIONAL.
// The field mask applies to the resource. For the `FieldMask` definition,
// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
google.protobuf.FieldMask field_mask = 3;
// OPTIONAL.
// Clients use this field to specify the maximum number of results to be returned by the server.
// The server may further constrain the maximum number of results returned in a single page.
// If the page_size is 0, the server will decide the number of results to be returned.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
int32 page_size = 4;
// OPTIONAL.
// The client uses this field to request a specific page of the list results.
string page_token = 5;
}

message ListStorageSpacesResponse {
@@ -1021,6 +1131,11 @@ message ListStorageSpacesResponse {
cs3.rpc.v1beta1.Status status = 2;
// REQUIRED.
repeated StorageSpace storage_spaces = 3;
// OPTIONAL.
// This field represents the pagination token to retrieve the next page of results.
// If the value is "", it means no further results for the request.
// see https://cloud.google.com/apis/design/design_patterns#list_pagination
string next_page_token = 4;
}

message UpdateStorageSpaceRequest {
9 changes: 9 additions & 0 deletions cs3/storage/provider/v1beta1/resources.proto
Original file line number Diff line number Diff line change
@@ -103,6 +103,12 @@ message ResourceInfo {
// Reference to the container of this resource. If path is relative it MUST be specified, regardless the
// access restrictions to the resource: a subsequent Stat() on it MAY return access denied if appropriate.
ResourceId parent_id = 17;
// OPTIONAL
// The name of the resource.
string name = 18;
// OPTIONAL.
// StorageSpace where this resource is located.
StorageSpace space = 19;
}

// CanonicalMetadata contains extra metadata
@@ -454,6 +460,9 @@ message StorageSpace {
// OPTIONAL.
// Last modification time (mtime) of the root resource of this storage space.
cs3.types.v1beta1.Timestamp mtime = 8;
// OPTIONAL.
// Resource info for the storage space root.
ResourceInfo root_info = 9;
}

// The id of a storage space.
Loading