Commit Graph

138 Commits (2d9249b6d9b57dea57b70357432bda945504c4b5)

Author SHA1 Message Date
Bo-Yi Wu 8cd46024fd
refactor(API): refactor secret creation and update functionality (#26751) 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
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
JakobDev 6598d0291c
Allow Organisations to have a E-Mail (#25082) 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
Yarden Shoham 542adf50d5
Fix `organization` field being `null` in `GET /api/v1/teams/{id}` (#24694) 2 years ago
yp05327 b7221bec34
Fix admin team access mode value in team_unit table (#24012) 2 years ago
Zettat123 6b0df6d8da
Add activity feeds API (#23494) 2 years ago
Jason Song d67e40684f
Improve LoadUnitConfig to handle invalid or duplicate units (#23736) 2 years ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 2 years ago
Lauris BH 58b4143803
Add loading yaml label template files (#22976) 2 years ago
yp05327 7eaf192967
Rename `GetUnits` to `LoadUnits` (#22970) 2 years ago
Brecht Van Lommel 6221a6fd54
Scoped labels (#22585) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
delvh 0f4e1b9ac6
Restructure `webhook` module (#22256) 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
oliverpool b6e81357bd
Add Webhook authorization header (#20926) 2 years ago
6543 c5e88fb03d
[API] teamSearch show teams with no members if user is admin (#21204) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 999392f6a5
Fix owners cannot create organization repos bug (#20841) 2 years ago
silverwind c8e0fd0bcc
Add spectral linter for Swagger (#20321) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 b135313c47
[Refactor] convert team(s) to apiTeam(s) (#13745) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
qwerty287 ac6c338428
Add API to check if team has repo access (#19540) 3 years ago
qwerty287 ae6a52440a
Fix panic in team repos API (#19431) 3 years ago
delvh d139c23967
Fix panic in teams API when requesting members (#19360) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 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
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 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
Gusted d3b31cc1ee
Add `GetUserTeams` (#18499) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago