Commit Graph

39 Commits (438c7642c79c44576302f9503cf14d39b3414956)

Author SHA1 Message Date
Jason Song 174213530d
Fix `Permission` in API returned repository struct (#25388) 1 year ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 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
Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 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
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
6543 b81106be3f
Let branch/tag name be a valid ref to get CI status (#16400) 3 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package (#13787) 4 years ago
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago
Cirno the Strongest 81324cf37c
Add pagination headers on endpoints that support total count from database (#11145) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
Lunny Xiao 81daf26878
Fix wrong hint when status checking is running on pull request view (#9886) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
John Olheiser f5a25d5349 Fix NewCommitStatus (#9434) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Antoine GIRARD 2b6f45299d api: fix multiple bugs with statuses endpoints (#7785) 5 years ago
zeripath 734aa96508
Fix #7136: Add paging and extend API GetCommitStatuses (#7141) 5 years ago
Lunny Xiao ff85dd3e12 Add commit statuses reports on pull request view (#6845) 5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Bo-Yi Wu 1c5cbc390b refactor: import order. (#3736) 7 years ago
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899) 7 years ago
Ethan Koenig 93a1de4842 Fix repo API bug (#2133) 7 years ago
Kim "BKC" Carlbäcker 4bea219128 Status-API (#1332) 8 years ago