Commit Graph

8 Commits (2660b0397aaea041c2d1f4d247d65e92a377c379)

Author SHA1 Message Date
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