Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
77666410
Commit
77666410
authored
May 06, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: tweak content length limit
parent
b0ecb72e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
apidocs.swagger.yaml
docs/apidocs.swagger.yaml
+3
-3
workspace_setting_service.proto
proto/api/v1/workspace_setting_service.proto
+2
-2
workspace_setting_service.pb.go
proto/gen/api/v1/workspace_setting_service.pb.go
+4
-4
workspace_setting.pb.go
proto/gen/store/workspace_setting.pb.go
+4
-4
workspace_setting.proto
proto/store/workspace_setting.proto
+2
-2
No files found.
docs/apidocs.swagger.yaml
View file @
77666410
...
@@ -2097,9 +2097,9 @@ definitions:
...
@@ -2097,9 +2097,9 @@ definitions:
type
:
boolean
type
:
boolean
description
:
display_with_update_time orders and displays memo with update time.
description
:
display_with_update_time orders and displays memo with update time.
contentLengthLimit
:
contentLengthLimit
:
type
:
string
type
:
integer
format
:
int
64
format
:
int
32
description
:
content_length_limit is the limit of content length.
description
:
content_length_limit is the limit of content length.
Unit is byte.
apiv1WorkspaceSetting
:
apiv1WorkspaceSetting
:
type
:
object
type
:
object
properties
:
properties
:
...
...
proto/api/v1/workspace_setting_service.proto
View file @
77666410
...
@@ -96,8 +96,8 @@ message WorkspaceMemoRelatedSetting {
...
@@ -96,8 +96,8 @@ message WorkspaceMemoRelatedSetting {
bool
disallow_public_visible
=
1
;
bool
disallow_public_visible
=
1
;
// display_with_update_time orders and displays memo with update time.
// display_with_update_time orders and displays memo with update time.
bool
display_with_update_time
=
2
;
bool
display_with_update_time
=
2
;
// content_length_limit is the limit of content length.
// content_length_limit is the limit of content length.
Unit is byte.
int
64
content_length_limit
=
3
;
int
32
content_length_limit
=
3
;
}
}
message
ListWorkspaceSettingsRequest
{}
message
ListWorkspaceSettingsRequest
{}
...
...
proto/gen/api/v1/workspace_setting_service.pb.go
View file @
77666410
...
@@ -438,8 +438,8 @@ type WorkspaceMemoRelatedSetting struct {
...
@@ -438,8 +438,8 @@ type WorkspaceMemoRelatedSetting struct {
DisallowPublicVisible
bool
`protobuf:"varint,1,opt,name=disallow_public_visible,json=disallowPublicVisible,proto3" json:"disallow_public_visible,omitempty"`
DisallowPublicVisible
bool
`protobuf:"varint,1,opt,name=disallow_public_visible,json=disallowPublicVisible,proto3" json:"disallow_public_visible,omitempty"`
// display_with_update_time orders and displays memo with update time.
// display_with_update_time orders and displays memo with update time.
DisplayWithUpdateTime
bool
`protobuf:"varint,2,opt,name=display_with_update_time,json=displayWithUpdateTime,proto3" json:"display_with_update_time,omitempty"`
DisplayWithUpdateTime
bool
`protobuf:"varint,2,opt,name=display_with_update_time,json=displayWithUpdateTime,proto3" json:"display_with_update_time,omitempty"`
// content_length_limit is the limit of content length.
// content_length_limit is the limit of content length.
Unit is byte.
ContentLengthLimit
int
64
`protobuf:"varint,3,opt,name=content_length_limit,json=contentLengthLimit,proto3" json:"content_length_limit,omitempty"`
ContentLengthLimit
int
32
`protobuf:"varint,3,opt,name=content_length_limit,json=contentLengthLimit,proto3" json:"content_length_limit,omitempty"`
}
}
func
(
x
*
WorkspaceMemoRelatedSetting
)
Reset
()
{
func
(
x
*
WorkspaceMemoRelatedSetting
)
Reset
()
{
...
@@ -488,7 +488,7 @@ func (x *WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime() bool {
...
@@ -488,7 +488,7 @@ func (x *WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime() bool {
return
false
return
false
}
}
func
(
x
*
WorkspaceMemoRelatedSetting
)
GetContentLengthLimit
()
int
64
{
func
(
x
*
WorkspaceMemoRelatedSetting
)
GetContentLengthLimit
()
int
32
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
ContentLengthLimit
return
x
.
ContentLengthLimit
}
}
...
@@ -865,7 +865,7 @@ var file_api_v1_workspace_setting_service_proto_rawDesc = []byte{
...
@@ -865,7 +865,7 @@ var file_api_v1_workspace_setting_service_proto_rawDesc = []byte{
0x01
,
0x28
,
0x08
,
0x52
,
0x15
,
0x64
,
0x69
,
0x73
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x57
,
0x69
,
0x74
,
0x68
,
0x01
,
0x28
,
0x08
,
0x52
,
0x15
,
0x64
,
0x69
,
0x73
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x57
,
0x69
,
0x74
,
0x68
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x54
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x30
,
0x0a
,
0x14
,
0x63
,
0x6f
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x54
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x30
,
0x0a
,
0x14
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x74
,
0x5f
,
0x6c
,
0x65
,
0x6e
,
0x67
,
0x74
,
0x68
,
0x5f
,
0x6c
,
0x69
,
0x6d
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x74
,
0x5f
,
0x6c
,
0x65
,
0x6e
,
0x67
,
0x74
,
0x68
,
0x5f
,
0x6c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x0
3
,
0x52
,
0x12
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x69
,
0x74
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x0
5
,
0x52
,
0x12
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x74
,
0x4c
,
0x65
,
0x6e
,
0x67
,
0x74
,
0x68
,
0x4c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x22
,
0x1e
,
0x0a
,
0x1c
,
0x74
,
0x4c
,
0x65
,
0x6e
,
0x67
,
0x74
,
0x68
,
0x4c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x22
,
0x1e
,
0x0a
,
0x1c
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x57
,
0x6f
,
0x72
,
0x6b
,
0x73
,
0x70
,
0x61
,
0x63
,
0x65
,
0x53
,
0x65
,
0x74
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x57
,
0x6f
,
0x72
,
0x6b
,
0x73
,
0x70
,
0x61
,
0x63
,
0x65
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x22
,
0x5b
,
0x0a
,
0x1d
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x73
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x22
,
0x5b
,
0x0a
,
0x1d
,
...
...
proto/gen/store/workspace_setting.pb.go
View file @
77666410
...
@@ -555,8 +555,8 @@ type WorkspaceMemoRelatedSetting struct {
...
@@ -555,8 +555,8 @@ type WorkspaceMemoRelatedSetting struct {
DisallowPublicVisible
bool
`protobuf:"varint,1,opt,name=disallow_public_visible,json=disallowPublicVisible,proto3" json:"disallow_public_visible,omitempty"`
DisallowPublicVisible
bool
`protobuf:"varint,1,opt,name=disallow_public_visible,json=disallowPublicVisible,proto3" json:"disallow_public_visible,omitempty"`
// display_with_update_time orders and displays memo with update time.
// display_with_update_time orders and displays memo with update time.
DisplayWithUpdateTime
bool
`protobuf:"varint,2,opt,name=display_with_update_time,json=displayWithUpdateTime,proto3" json:"display_with_update_time,omitempty"`
DisplayWithUpdateTime
bool
`protobuf:"varint,2,opt,name=display_with_update_time,json=displayWithUpdateTime,proto3" json:"display_with_update_time,omitempty"`
// content_length_limit is the limit of content length.
// content_length_limit is the limit of content length.
Unit is byte.
ContentLengthLimit
int
64
`protobuf:"varint,3,opt,name=content_length_limit,json=contentLengthLimit,proto3" json:"content_length_limit,omitempty"`
ContentLengthLimit
int
32
`protobuf:"varint,3,opt,name=content_length_limit,json=contentLengthLimit,proto3" json:"content_length_limit,omitempty"`
}
}
func
(
x
*
WorkspaceMemoRelatedSetting
)
Reset
()
{
func
(
x
*
WorkspaceMemoRelatedSetting
)
Reset
()
{
...
@@ -605,7 +605,7 @@ func (x *WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime() bool {
...
@@ -605,7 +605,7 @@ func (x *WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime() bool {
return
false
return
false
}
}
func
(
x
*
WorkspaceMemoRelatedSetting
)
GetContentLengthLimit
()
int
64
{
func
(
x
*
WorkspaceMemoRelatedSetting
)
GetContentLengthLimit
()
int
32
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
ContentLengthLimit
return
x
.
ContentLengthLimit
}
}
...
@@ -804,7 +804,7 @@ var file_store_workspace_setting_proto_rawDesc = []byte{
...
@@ -804,7 +804,7 @@ var file_store_workspace_setting_proto_rawDesc = []byte{
0x64
,
0x69
,
0x73
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x57
,
0x69
,
0x74
,
0x68
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x64
,
0x69
,
0x73
,
0x70
,
0x6c
,
0x61
,
0x79
,
0x57
,
0x69
,
0x74
,
0x68
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x54
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x30
,
0x0a
,
0x14
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x74
,
0x65
,
0x54
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x30
,
0x0a
,
0x14
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x74
,
0x5f
,
0x6c
,
0x65
,
0x6e
,
0x67
,
0x74
,
0x68
,
0x5f
,
0x6c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x18
,
0x03
,
0x20
,
0x5f
,
0x6c
,
0x65
,
0x6e
,
0x67
,
0x74
,
0x68
,
0x5f
,
0x6c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x0
3
,
0x52
,
0x12
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x74
,
0x4c
,
0x65
,
0x6e
,
0x67
,
0x01
,
0x28
,
0x0
5
,
0x52
,
0x12
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x74
,
0x4c
,
0x65
,
0x6e
,
0x67
,
0x74
,
0x68
,
0x4c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x2a
,
0xbb
,
0x01
,
0x0a
,
0x13
,
0x57
,
0x6f
,
0x72
,
0x6b
,
0x74
,
0x68
,
0x4c
,
0x69
,
0x6d
,
0x69
,
0x74
,
0x2a
,
0xbb
,
0x01
,
0x0a
,
0x13
,
0x57
,
0x6f
,
0x72
,
0x6b
,
0x73
,
0x70
,
0x61
,
0x63
,
0x65
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x4b
,
0x65
,
0x79
,
0x12
,
0x73
,
0x70
,
0x61
,
0x63
,
0x65
,
0x53
,
0x65
,
0x74
,
0x74
,
0x69
,
0x6e
,
0x67
,
0x4b
,
0x65
,
0x79
,
0x12
,
0x25
,
0x0a
,
0x21
,
0x57
,
0x4f
,
0x52
,
0x4b
,
0x53
,
0x50
,
0x41
,
0x43
,
0x45
,
0x5f
,
0x53
,
0x45
,
0x54
,
0x25
,
0x0a
,
0x21
,
0x57
,
0x4f
,
0x52
,
0x4b
,
0x53
,
0x50
,
0x41
,
0x43
,
0x45
,
0x5f
,
0x53
,
0x45
,
0x54
,
...
...
proto/store/workspace_setting.proto
View file @
77666410
...
@@ -87,6 +87,6 @@ message WorkspaceMemoRelatedSetting {
...
@@ -87,6 +87,6 @@ message WorkspaceMemoRelatedSetting {
bool
disallow_public_visible
=
1
;
bool
disallow_public_visible
=
1
;
// display_with_update_time orders and displays memo with update time.
// display_with_update_time orders and displays memo with update time.
bool
display_with_update_time
=
2
;
bool
display_with_update_time
=
2
;
// content_length_limit is the limit of content length.
// content_length_limit is the limit of content length.
Unit is byte.
int
64
content_length_limit
=
3
;
int
32
content_length_limit
=
3
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment