Commit Graph

41 Commits (9e0c43777e724953433f2fc1356eb3802c4291b0)

Author SHA1 Message Date
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
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 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
zeripath 48c7c880b8
Swagger AccessToken fixes (#16574) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
a1012112796 63411309fb
add some reponse status on api docs (#15399) 4 years ago
Lunny Xiao 1fc1d60517
Fix delete nonexist oauth application 500 and prevent deadlock (#15384) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Norwin bdeccc3688
Fix api doc response code (#14123) 4 years ago
6543 d5b6931dbe
[API] Delete Token accept names too (#12366) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
6543 ab69b9b1a6
Refactor UpdateOAuth2Application (#11034) 5 years ago
6543 ad5c43ae5d
Reject duplicate AccessToken names (#10994) 5 years ago
Dan Molik 743022116d
Add Get/Update for api/v1/user/applications/oauth2 (#11008) 5 years ago
Gustavo Marin af61b2249a
adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
techknowlogick a60d3cbea2 Remove legacy handling of drone token (#8191) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
techknowlogick 5ffc9656c6
Change drone token name to let users know to use oauth2 (#6912) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
techknowlogick 46373e7657
Hash App token (#6724) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
techknowlogick ab55ca7ebd
Add ability to delete a token (#4235) 6 years ago
Antoine GIRARD 908e8942cc Fix swagger errors (#4220) 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
Ethan Koenig 831ff41754 Fix go vet faults (#1060) 8 years ago
Lunny Xiao 3917ed45de golint fixed for routers (#208) 8 years ago
Sandro Santilli a1c5f02444 Fix import path of go-sdk (#141) 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon dd6faf7f9b Convert all API handers to use *context.APIContext 9 years ago
Unknwon 514382e2eb Rename module: middleware -> context 9 years ago
Unknwon 56dd430a10 refactor API routes and some work for #976 9 years ago
Unknwon cc8f5add6e fix #976 9 years ago
Unknwon aff49b1c9e unified API error response 9 years ago
Unknwon 407385db7e work on #1493 9 years ago
Unknwon 37d8d3afe9 more APIs on #12 10 years ago