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
87b23940
Commit
87b23940
authored
Jan 27, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: upgrade backend dependencies
parent
11dd23f5
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
44 deletions
+44
-44
auth.go
api/auth/auth.go
+1
-1
jwt.go
api/v1/jwt.go
+1
-1
acl.go
api/v2/acl.go
+1
-1
memo_service.go
api/v2/memo_service.go
+1
-1
user_service.go
api/v2/user_service.go
+1
-1
go.mod
go.mod
+13
-13
go.sum
go.sum
+26
-26
No files found.
api/auth/auth.go
View file @
87b23940
...
@@ -4,7 +4,7 @@ import (
...
@@ -4,7 +4,7 @@ import (
"fmt"
"fmt"
"time"
"time"
"github.com/golang-jwt/jwt/v
4
"
"github.com/golang-jwt/jwt/v
5
"
)
)
const
(
const
(
...
...
api/v1/jwt.go
View file @
87b23940
...
@@ -5,7 +5,7 @@ import (
...
@@ -5,7 +5,7 @@ import (
"net/http"
"net/http"
"strings"
"strings"
"github.com/golang-jwt/jwt/v
4
"
"github.com/golang-jwt/jwt/v
5
"
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4"
"github.com/pkg/errors"
"github.com/pkg/errors"
"go.uber.org/zap"
"go.uber.org/zap"
...
...
api/v2/acl.go
View file @
87b23940
...
@@ -5,7 +5,7 @@ import (
...
@@ -5,7 +5,7 @@ import (
"net/http"
"net/http"
"strings"
"strings"
"github.com/golang-jwt/jwt/v
4
"
"github.com/golang-jwt/jwt/v
5
"
"github.com/pkg/errors"
"github.com/pkg/errors"
"google.golang.org/grpc"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/codes"
...
...
api/v2/memo_service.go
View file @
87b23940
...
@@ -55,7 +55,7 @@ func (s *APIV2Service) CreateMemo(ctx context.Context, request *apiv2pb.CreateMe
...
@@ -55,7 +55,7 @@ func (s *APIV2Service) CreateMemo(ctx context.Context, request *apiv2pb.CreateMe
ResourceName
:
shortuuid
.
New
(),
ResourceName
:
shortuuid
.
New
(),
CreatorID
:
user
.
ID
,
CreatorID
:
user
.
ID
,
Content
:
request
.
Content
,
Content
:
request
.
Content
,
Visibility
:
store
.
Visibility
(
request
.
Visibility
.
String
()
),
Visibility
:
convertVisibilityToStore
(
request
.
Visibility
),
}
}
// Find disable public memos system setting.
// Find disable public memos system setting.
disablePublicMemosSystem
,
err
:=
s
.
getDisablePublicMemosSystemSettingValue
(
ctx
)
disablePublicMemosSystem
,
err
:=
s
.
getDisablePublicMemosSystemSettingValue
(
ctx
)
...
...
api/v2/user_service.go
View file @
87b23940
...
@@ -7,7 +7,7 @@ import (
...
@@ -7,7 +7,7 @@ import (
"strings"
"strings"
"time"
"time"
"github.com/golang-jwt/jwt/v
4
"
"github.com/golang-jwt/jwt/v
5
"
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4"
"github.com/pkg/errors"
"github.com/pkg/errors"
"golang.org/x/crypto/bcrypt"
"golang.org/x/crypto/bcrypt"
...
...
go.mod
View file @
87b23940
...
@@ -4,14 +4,14 @@ go 1.21
...
@@ -4,14 +4,14 @@ go 1.21
require (
require (
github.com/aws/aws-sdk-go-v2 v1.24.1
github.com/aws/aws-sdk-go-v2 v1.24.1
github.com/aws/aws-sdk-go-v2/config v1.26.
5
github.com/aws/aws-sdk-go-v2/config v1.26.
6
github.com/aws/aws-sdk-go-v2/credentials v1.16.16
github.com/aws/aws-sdk-go-v2/credentials v1.16.16
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.1
3
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.1
5
github.com/aws/aws-sdk-go-v2/service/s3 v1.48.
0
github.com/aws/aws-sdk-go-v2/service/s3 v1.48.
1
github.com/disintegration/imaging v1.6.2
github.com/disintegration/imaging v1.6.2
github.com/go-sql-driver/mysql v1.7.1
github.com/go-sql-driver/mysql v1.7.1
github.com/google/cel-go v0.1
8.2
github.com/google/cel-go v0.1
9.0
github.com/google/uuid v1.
5
.0
github.com/google/uuid v1.
6
.0
github.com/gorilla/feeds v1.1.2
github.com/gorilla/feeds v1.1.2
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0
github.com/improbable-eng/grpc-web v0.15.0
github.com/improbable-eng/grpc-web v0.15.0
...
@@ -31,8 +31,8 @@ require (
...
@@ -31,8 +31,8 @@ require (
golang.org/x/mod v0.14.0
golang.org/x/mod v0.14.0
golang.org/x/net v0.20.0
golang.org/x/net v0.20.0
golang.org/x/oauth2 v0.16.0
golang.org/x/oauth2 v0.16.0
google.golang.org/genproto/googleapis/api v0.0.0-202401
16215550-a9fa1716bcac
google.golang.org/genproto/googleapis/api v0.0.0-202401
25205218-1f4bbc51befe
google.golang.org/grpc v1.6
0.1
google.golang.org/grpc v1.6
1.0
modernc.org/sqlite v1.28.0
modernc.org/sqlite v1.28.0
)
)
...
@@ -46,7 +46,7 @@ require (
...
@@ -46,7 +46,7 @@ require (
github.com/go-openapi/jsonpointer v0.20.2 // indirect
github.com/go-openapi/jsonpointer v0.20.2 // indirect
github.com/go-openapi/jsonreference v0.20.4 // indirect
github.com/go-openapi/jsonreference v0.20.4 // indirect
github.com/go-openapi/spec v0.20.14 // indirect
github.com/go-openapi/spec v0.20.14 // indirect
github.com/go-openapi/swag v0.22.
7
// indirect
github.com/go-openapi/swag v0.22.
9
// indirect
github.com/gorilla/css v1.0.1 // indirect
github.com/gorilla/css v1.0.1 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
...
@@ -59,12 +59,12 @@ require (
...
@@ -59,12 +59,12 @@ require (
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
golang.org/x/image v0.15.0 // indirect
golang.org/x/image v0.15.0 // indirect
golang.org/x/tools v0.17.0 // indirect
golang.org/x/tools v0.17.0 // indirect
google.golang.org/genproto v0.0.0-202401
16215550-a9fa1716bcac
// indirect
google.golang.org/genproto v0.0.0-202401
25205218-1f4bbc51befe
// indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-202401
16215550-a9fa1716bcac
// indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-202401
25205218-1f4bbc51befe
// indirect
lukechampine.com/uint128 v1.3.0 // indirect
lukechampine.com/uint128 v1.3.0 // indirect
modernc.org/cc/v3 v3.41.0 // indirect
modernc.org/cc/v3 v3.41.0 // indirect
modernc.org/ccgo/v3 v3.16.15 // indirect
modernc.org/ccgo/v3 v3.16.15 // indirect
modernc.org/libc v1.40.
5
// indirect
modernc.org/libc v1.40.
7
// indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/opt v0.1.3 // indirect
modernc.org/opt v0.1.3 // indirect
...
@@ -78,7 +78,7 @@ require (
...
@@ -78,7 +78,7 @@ require (
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.
2
// indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.
3
// indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10 // indirect
...
@@ -91,7 +91,7 @@ require (
...
@@ -91,7 +91,7 @@ require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang-jwt/jwt/v
4 v4.5
.0
github.com/golang-jwt/jwt/v
5 v5.2
.0
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
...
...
go.sum
View file @
87b23940
This diff is collapsed.
Click to expand it.
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