Updated Public facing Endpoints + S3 Connection #30

Open
john4064 wants to merge 46 commits from john4064/PublicView into master
Owner
No description provided.
Update user.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 3s
Lint / Run golangci-lint (pull_request) Successful in 17s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 58s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
9673c113cd
Rate Limit + Latest User
Some checks failed
Deploy Parent Container / determine-workflow (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Waiting to run
Deploy Parent Container / prod-deploy (dev) (pull_request) Waiting to run
Lint / Run golangci-lint (pull_request) Has been cancelled
094e9d34d0
Update latest.go
Some checks failed
Deploy Parent Container / determine-workflow (pull_request) Successful in 3s
Lint / Run golangci-lint (pull_request) Successful in 19s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Has been cancelled
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been cancelled
1155e91a83
Update latest.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 3s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m43s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
2b92f8d9ee
WIP
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 9s
Lint / Run golangci-lint (pull_request) Successful in 10s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m19s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
ab36c41521
Add all
Some checks failed
Deploy Parent Container / determine-workflow (pull_request) Successful in 7s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Failing after 19s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
942e6e94df
Update imports
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 23s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m3s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
960fa87080
Fix no error handling for closing.
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 6s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m1s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
844f890dd0
Update files.go
All checks were successful
Lint / Run golangci-lint (pull_request) Successful in 12s
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m11s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
998c73ffd6
Notes + Public Friends List
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 6s
Lint / Run golangci-lint (pull_request) Successful in 18s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m15s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
bdc096b23b
username instead of user_name
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 7s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 58s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
93157815da
;)
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 8s
Lint / Run golangci-lint (pull_request) Successful in 27s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m14s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
0d5aefbb4d
@ -0,0 +49,4 @@
c.JSON(http.StatusBadRequest, gin.H{"error": "missing 'image' field"})
return
}
defer file.Close()
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
Error return value of file.Close is not checked (errcheck)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>Error return value of `file.Close` is not checked (errcheck) <!-- __reviewdog__:ChBjODFlZjE5ZDEzMThiNjBkEghnb2xhbmdjaQ== -->
john4064 marked this conversation as resolved
Update files.go
Some checks failed
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 14s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Has been cancelled
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been cancelled
dd69531b1c
@ -0,0 +79,4 @@
c.JSON(http.StatusBadRequest, gin.H{"error": "missing 'image' field"})
return
}
defer file.Close()
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
Error return value of file.Close is not checked (errcheck)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>Error return value of `file.Close` is not checked (errcheck) <!-- __reviewdog__:ChBlOTZkMDIzMDQyZTMzYzkyEghnb2xhbmdjaQ== -->
john4064 marked this conversation as resolved
Update files.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m29s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
1dd4eecebf
@ -0,0 +82,4 @@
}
defer func(file multipart.File) {
err := file.Close()
if err != nil {
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>SA9003: empty branch (staticcheck) <!-- __reviewdog__:ChA2ODEyMDU5NjVlMDAyODZkEghnb2xhbmdjaQ== -->
Avatar URL + Garage Docs
Some checks failed
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Failing after 1m18s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m14s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
fcac0627f1
Update latest.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 7s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m2s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
1dc4bb6e7b
@ -0,0 +40,4 @@
}
//update avatar url here
for ind, _ := range userView {
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
S1005: unnecessary assignment to the blank identifier (staticcheck)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>S1005: unnecessary assignment to the blank identifier (staticcheck) <!-- __reviewdog__:ChBkMzFlNTQ0YTNhNzc1ZTBlEghnb2xhbmdjaQ== -->
Remove Regex for Create User
Some checks failed
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Failing after 56s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
7644fd5c3d
Update auth.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m7s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
918a573621
Adding Timestamp
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 9s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m9s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
b45bdc3553
User Profile View
Some checks failed
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Failing after 1m10s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
b633182ed1
@ -41,2 +58,3 @@
ver1.GET("/user/profile", middleware.CheckAuth, handlers.GetUserProfile)
ver1.GET("/user/profile", middleware.CheckAuth, func(c *gin.Context) {
handlers.GetUserProfile(c, uploadHandler)
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
too many arguments in call to handlers.GetUserProfile

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>too many arguments in call to handlers.GetUserProfile <!-- __reviewdog__:ChBlZWE3MTAxZDRlNmMxZjYwEghnb2xhbmdjaQ== -->
john4064 marked this conversation as resolved
Update user.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 9s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m16s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
02b4f8988e
User profile by username
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 5s
Lint / Run golangci-lint (pull_request) Successful in 9s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m34s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
8c6f93b727
Update DB
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 9s
Lint / Run golangci-lint (pull_request) Successful in 11s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m39s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
0b51530db0
@ -0,0 +92,4 @@
}
defer func(file multipart.File) {
err := file.Close()
if err != nil {
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>SA9003: empty branch (staticcheck) <!-- __reviewdog__:ChBjY2M1YTA3YTk2NGJiNDdlEghnb2xhbmdjaQ== -->
Update files.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 9s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m8s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
880c795894
@ -0,0 +92,4 @@
}
defer func(file multipart.File) {
err := file.Close()
if err != nil {
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>SA9003: empty branch (staticcheck) <!-- __reviewdog__:ChBjY2M1YTA3YTk2NGJiNDdlEghnb2xhbmdjaQ== -->
Update files.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 10s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m16s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
2133754f40
@ -0,0 +92,4 @@
}
defer func(file multipart.File) {
err := file.Close()
if err != nil {
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>SA9003: empty branch (staticcheck) <!-- __reviewdog__:ChBjY2M1YTA3YTk2NGJiNDdlEghnb2xhbmdjaQ== -->
Update files.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m7s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
ca3e568515
@ -0,0 +92,4 @@
}
defer func(file multipart.File) {
err := file.Close()
if err != nil {
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>SA9003: empty branch (staticcheck) <!-- __reviewdog__:ChBjY2M1YTA3YTk2NGJiNDdlEghnb2xhbmdjaQ== -->
Logging err
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 3s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m20s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
fb2e3e2bf3
Retrigger
Some checks failed
Deploy Parent Container / determine-workflow (pull_request) Successful in 10s
Lint / Run golangci-lint (pull_request) Failing after 1m27s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m27s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
d198f04f0b
Riot Patch Notes
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 8s
Lint / Run golangci-lint (pull_request) Successful in 36s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m39s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
9f072b5249
Updating Scheduler
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 9s
Lint / Run golangci-lint (pull_request) Successful in 9s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m42s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
005cf88450
@ -0,0 +52,4 @@
}
func scrapeLolPatches(e *colly.HTMLElement) {
Author
Owner

🚫 [golangci] reported by reviewdog 🐶
func scrapeLolPatches is unused (unused)

🚫 **[golangci]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>func scrapeLolPatches is unused (unused) <!-- __reviewdog__:ChBjYjcyMzYxM2Y5ZGIxZGYwEghnb2xhbmdjaQ== -->
Create league_patch_note.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 8s
Lint / Run golangci-lint (pull_request) Successful in 9s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 2m6s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
d2a9903985
Update server.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 8s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m48s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
f577e90926
Patch notes
Some checks failed
Deploy Parent Container / determine-workflow (pull_request) Successful in 6s
Lint / Run golangci-lint (pull_request) Successful in 9s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Has been cancelled
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been cancelled
26e91db789
Update server.go
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 3s
Lint / Run golangci-lint (pull_request) Successful in 9s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 2m8s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
43a3a7316c
Refactor and rename
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 3s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m26s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
8ae0a75184
Image URL
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 8s
Lint / Run golangci-lint (pull_request) Successful in 8s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m41s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
e122a05d41
Merge branch 'master' into john4064/PublicView
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 7s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m35s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
0493f216cf
All checks were successful
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Lint / Run golangci-lint (pull_request) Successful in 7s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Successful in 1m35s
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin john4064/PublicView:john4064/PublicView
git switch john4064/PublicView

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff john4064/PublicView
git switch john4064/PublicView
git rebase master
git switch master
git merge --ff-only john4064/PublicView
git switch john4064/PublicView
git rebase master
git switch master
git merge --no-ff john4064/PublicView
git switch master
git merge --squash john4064/PublicView
git switch master
git merge --ff-only john4064/PublicView
git switch master
git merge john4064/PublicView
git push origin master
Sign in to join this conversation.
No description provided.