Commit Graph

128 Commits (3274ab2943ca2cf7e8ac660c9ec505a46385db64)

Author SHA1 Message Date
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
Lunny Xiao c2ab19888f
Support pagination of organizations on user settings pages (#16083) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
wxiaoguang e18ea9e349
Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are generated without sub-path) (#17320) 3 years ago
Romain d0a681fbc3
[API] Add endpount to get user org permissions (#17232) 3 years ago
6543 51578d6418
Calculate label URL on API (#16186) 3 years ago
6543 73394f435c
[API] List limited and private orgs if authentificated (#16866) 3 years ago