Commit Graph

36 Commits (f09e68ec33262d5356779572a0b1c66e6e86590f)

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
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 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 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
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
KN4CK3R 5f18404045
Close file on invalid range (Addition to #15166) (#15268) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Lunny Xiao 3c96a37162
Some code improvements (#14266) 4 years ago
Lunny Xiao e4e85a3e51
Storage configuration support `[storage]` (#13314) 4 years ago
Lunny Xiao 7a5465fc56
LFS support to be stored on minio (#12518) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago
burbon d8e6acda8c
Support Range header end in lfs (#11314) 5 years ago
John Olheiser baadb51445
Add gitea-vet (#10948) 5 years ago
zeripath 9269b7f627
Multiple LFS improvements (#10667) 5 years ago
zeripath 0b3a9c4f85
Fix LFS max file size enforcement (#10593) 5 years ago
zeripath 513b962c1d
Add max-file-size to LFS (#10463) 5 years ago
zeripath 5e6a008fba
Add basic repository lfs management (#7199) 5 years ago
zeripath 6551a9d6ca
Ensure Request Body Readers are closed in LFS server (#8454) 5 years ago