Commit Graph

1211 Commits (f8c1efe944c539396402fb014bbfdb67ba199ef2)

Author SHA1 Message Date
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
Bo-Yi Wu 23addde28e
feat: implement organization secret creation API (#26566) 1 year ago
Jason Song b658f2c61b
Return empty when searching issues with no repos (#26545) 1 year ago
Bo-Yi Wu 79d74d208f
Add API route to list org secrets (#26485) 1 year ago
puni9869 cafce3b4b5
Allow to archive labels (#26478) 1 year ago
wxiaoguang c2e0143bfe
Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 1 year ago
Jason Song 1e76a824bc
Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 1 year ago
wxiaoguang 915cdf8f87
Remove "misc" scope check from public API endpoints (#26134) 1 year ago
JakobDev 6598d0291c
Allow Organisations to have a E-Mail (#25082) 1 year ago
caicandong 4211efe8b7
fix Missing 404 swagger response docs for /admin/users/{username} (#26086) 1 year ago
delvh f3d41c61eb
Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
Lunny Xiao 037c9895a7
Support copy protected branch from template repository (#25889) 1 year ago