Commit Graph

174 Commits (4f8f5f6e251615265392ec4212ed87a58fb1f75e)

Author SHA1 Message Date
Lunny Xiao baf0d402d9
Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 11 months ago
Lunny Xiao 882e502327
Fix comment permissions (#28213) 12 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Earl Warren 340055ab6c
Enable system users search via the API (#28013) 1 year ago
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 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
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
CaiCandong f93ee5937b
Fix token endpoints ignore specified account (#27080) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
JakobDev aaeec2a392
Add missing 404 response to Swagger (#27038) 1 year ago
KN4CK3R a99b96cbcd
Refactor secrets modification logic (#26873) 1 year ago
Bo-Yi Wu f79f6a26ae
feat(API): add routes and functions for managing user's secrets (#26909) 1 year ago
delvh f3d41c61eb
Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
JakobDev 254a82842a
Add API for changing Avatars (#25369) 1 year ago
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
Zettat123 6b0df6d8da
Add activity feeds API (#23494) 2 years ago
yp05327 d74a7efb60
Use context for `RepositoryList.LoadAttributes` (#23435) 2 years ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 2 years ago
zeripath d2128b44f7
Add scopes to API to create token and display them (#22989) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
M Hickford 191a74d622
Record OAuth client type at registration (#21316) 2 years ago
John Olheiser a48d6ba4b4
Go 1.19 format (#20758) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
zeripath 11bae50484
Pad GPG Key ID with preceding zeroes (#20878) 2 years ago
zeripath 45f17528a8
Only show Followers that current user can access (#20220) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
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
Gusted f4c1aa75be
Fix DELETE request for non-existent public key (#19443) 3 years ago
Gusted 23d37673bd
Don't panic on `ErrEmailInvalid` (#19441) 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
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
Lauris BH 6392f4691a
API: Return primary language and repository language stats API URL (#18396) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago