Commit Graph

1173 Commits (0abb5633e34fd14c2d49de0b4c98f7ba7d98a37e)

Author SHA1 Message Date
Lunny Xiao aeb383025f
Also sync DB branches on push if necessary (#28361) 11 months ago
Nanguan Lin 0aab2d38a7
Remove deprecated query condition in ListReleases (#28339) 12 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) 12 months ago
yp05327 4d0eba8e0a
Fix swagger title (#28164) 1 year ago
Earl Warren 340055ab6c
Enable system users search via the API (#28013) 1 year ago
KN4CK3R 4f4fea734c
Unify two factor check (#27915) 1 year ago
Jean-Baptiste Gomond 641e8165c7
Fix bad method call when deleting user secrets via API (#27829) 1 year ago
silverwind ce83609ff6
Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
Nanguan Lin 1859bbbf91
Fix org team endpoint (#27721) 1 year ago
JakobDev 3dc0c962bf
Delete repos of org when purge delete user (#27273) 1 year ago
Lunny Xiao 9852c92e9a
Remove unnecessary parameter (#27671) 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
Michael Santos 5283ce9650
api: GetPullRequestCommits: return file list (#27483) 1 year ago
JakobDev f2b2608a86
Don't let API add 2 exclusive labels from same scope (#27433) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 1 year ago
Dionysios Kakouris e46274b5b4
Fix organization field being null in POST /orgs/{orgid}/teams (#27150) 1 year ago
CaiCandong f93ee5937b
Fix token endpoints ignore specified account (#27080) 1 year ago
wxiaoguang 8531ca0837
Make SSPI auth mockable (#27036) 1 year ago
KN4CK3R c766140dad
Add `RemoteAddress` to mirrors (#26952) 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 591f586bf1
Extract auth middleware from service (#27028) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
CaiCandong a78c2eae24
Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
Lunny Xiao e97e883ad5
Add reverseproxy auth for API back with default disabled (#26703) 1 year ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 1 year ago
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 1 year ago
KN4CK3R a99b96cbcd
Refactor secrets modification logic (#26873) 1 year ago
JakobDev e9f5067653
Add missing `reqToken()` to notifications endpoints (#26914) 1 year ago
Bo-Yi Wu f79f6a26ae
feat(API): add routes and functions for managing user's secrets (#26909) 1 year ago
Zettat123 04771b5ff7
Allow users with write permissions for issues to add attachments with API (#26837) 1 year ago
Bo-Yi Wu 9eb4a9e601
feat(API): add secret deletion functionality for repository (#26808) 1 year ago
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package (#26859) 1 year ago
Bo-Yi Wu b91057b172
feat(API): add route and implementation for creating/updating repository secret (#26766) 1 year ago
Chongyi Zheng ad43486cd3
Fix some slice append usages (#26778) 1 year ago
Bo-Yi Wu 8cd46024fd
refactor(API): refactor secret creation and update functionality (#26751) 1 year ago
Chongyi Zheng 43652746f2
Move `modules/mirror` to `services` (#26737) 1 year ago
Infinoid 86ee5b4b1b
PATCH branch-protection updates check list even when checks are disabled (#26351) 1 year ago
Bo-Yi Wu b62c8e7765
feat(API): update and delete secret for managing organization secrets (#26660) 1 year ago