Commit Graph

41 Commits (67e9f0d49828f62a942ac6db04153207f88e82ee)

Author SHA1 Message Date
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
KN4CK3R f79c9e817a
Use `crypto/sha256` (#29386) 9 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
harryzcy 0f9f6567bb
Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
John Olheiser 8afc1b1cb5
Move some regexp out of functions (#25430) 1 year ago
Lunny Xiao d6dd6d641b
Fix all possible setting error related storages and added some tests (#23911) 1 year ago
Jack Hay 18de83b2a3
Redesign Scoped Access Tokens (#24767) 1 year ago
Lunny Xiao ecf1f2d3f6
Fix auth check bug (#24382) 2 years ago
John Olheiser 5e36024105
Require repo scope for PATs for private repos and basic authentication (#24362) 2 years ago
wxiaoguang 53e324fd80
Improve LFS error logs (#24072) 2 years ago
Zettat123 bcc4c62b6c
Check `IsActionsToken` for LFS authentication (#23841) 2 years ago
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
KN4CK3R 154efa59a5
Prevent Authorization header for presigned LFS urls (#21531) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims (#18344) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 35c3553870
Support webauthn (#17957) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
KN4CK3R 2bb32006fd
Test if LFS object is accessible (#16865) 3 years ago
Abner 7844bf1430
Download lfs in git and web workflow from minio/s3 directly (#16731) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
techknowlogick 29a22ade82
switch to maintained lib (#16532) 3 years ago
KN4CK3R ee5e1c4a88
Rewrite of the LFS server (#15523) 4 years ago
zeripath 17c5c654a5
Prevent double-login for Git HTTP and LFS and simplify login (#15303) 4 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago