Commit Graph

29 Commits (8e3da0e27fd6da138b34b4a758c48f1d5e73df1f)

Author SHA1 Message Date
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package (#13787) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
6543 bb4261a5ed
Add issue subscription check to API (#10967) 5 years ago
6543 70fab7e26a
document 404 responce and meaning (#11073) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago
stevegt a5f63fc4d1 swagger: add 'required: true' for params in URL (#4097) 7 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899) 7 years ago
Antoine GIRARD fd8e8a421a Improve swagger doc (#2274) 7 years ago
Antoine GIRARD 3edb0c5894 Generate swagger json (#1402) 8 years ago
Antoine GIRARD cf91cfb993 Migrate WatchInfo struct to api (#1492) 8 years ago
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment (#1247) 8 years ago
Ethan Koenig 8a4161c723 API Endpoint for watching (#191) 8 years ago