Commit Graph

128 Commits (f85bb6f70bb390ec04a296827ac0f2a078741a80)

Author SHA1 Message Date
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 110fc57cbc
Move some code into models/git (#19879) 2 years ago
zeripath a9af93cb21
Nuke the incorrect permission report on /api/v1/notifications (#19761) 3 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
KN4CK3R 8adba93498
Hide private repositories in packages (#19584) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
Florin Hillebrand ad6d08d155
Add API to query collaborators permission for a repository (#18761) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
Gusted ebe569a268
Set correct PR status on 3way on conflict checking (#19457) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
John Olheiser 66f2210fec
More commit info from API (#19252) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Lauris BH 6392f4691a
API: Return primary language and repository language stats API URL (#18396) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Peter Gardfjäll 89a3214352
Add MirrorUpdated field to Repository API type (#18267) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
qwerty287 7db2f110ad
Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
qwerty287 7cc44491fa
Add API to manage repo tranfers (#17963) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
delvh 4646c7c52d
Use fmt.Sprintf correctly (#17886) 3 years ago
mscherer 34b5436ae1
Refactor various strings (#17784) 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 c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
KN4CK3R 42ea0023a3
Add migration from GitBucket (#16767) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 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
Gusted ebaf4c48ea
Avoid double imports (#17569) 3 years ago
Lunny Xiao a161c2ca58
Fix zero created time bug on commit api (#17546) 3 years ago
wxiaoguang 7c951fdd4a
In many cases user avatar link should be an absolute URL with http host (#17420) 3 years ago
qwerty287 3676fafdac
Add API to get/edit wiki (#17278) 3 years ago
zeripath af96286f22
Stop sanitizing full name in API (#17396) 3 years ago