Commit Graph

9 Commits (2dd0b88a930806213b619798ee896a0b36caaa76)

Author SHA1 Message Date
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
6543 0a97480934
Add "X-Gitea-Object-Type" header for GET `/raw/` & `/media/` API (#20438) 2 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath 055f6d2296 Fix "data race" in testlogger (#9159) 5 years ago
B-OnTheGo e47df0b301 Enforce token on api routes [fixed critical security issue #4357] (#4840) 6 years ago
Lauris BH 57de1ff991
Fix API raw file content access for default branch (#2849) 7 years ago
Lauris BH 08b124dd47
Fix API raw requests for commits and tags (#2841) 7 years ago