Commit Graph

1151 Commits (9b698362a333de2c388499f1a64d39545b0263bd)

Author SHA1 Message Date
Giteabot fc7d3f7315
Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
Giteabot 0ca233258d
Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27163) 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
wxiaoguang 236c645bf1
Refactor "Content" for file uploading (#25851) 1 year ago
Lunny Xiao 0fd1672ae4
For API attachments, use API URL (#25639) 1 year ago
silverwind 887a683af9
Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
techknowlogick cb01b8691d
Add open/closed field support for issue index (#25708) 1 year ago
6543 8995046110
Less naked returns (#25713) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao de981c39e6
Fix bug of branches API with tests (#25578) 1 year ago
JakobDev 254a82842a
Add API for changing Avatars (#25369) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Georg Dangl 9538842364
Use correct response code in push mirror creation response in v1_json.tmpl (#25476) 1 year ago