Commit Graph

53 Commits (8fd8978b4934865c2b041216e84e923ad574a4c7)

Author SHA1 Message Date
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
Lunny Xiao 882e502327
Fix comment permissions (#28213) 1 year ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
Evan Tobin ae419fa494
Fix permissions for Token DELETE endpoint to match GET and POST (#27610) 1 year ago
CaiCandong f93ee5937b
Fix token endpoints ignore specified account (#27080) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
zeripath d2128b44f7
Add scopes to API to create token and display them (#22989) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
M Hickford 191a74d622
Record OAuth client type at registration (#21316) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 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
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