Commit Graph

838 Commits (900e1580648e153d40f9da005eb745705410ac73)

Author SHA1 Message Date
Jason Song c0ca9c612b
Fix issue/PR numbers (#22037) (#22044) 2 years ago
Lunny Xiao 5e8e3ecbeb
Fix issues count bug (#21557) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R 1887c95254
Decouple HookTask from Repository (#17940) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
wxiaoguang 6f48a36227
Refactor GetNextResourceIndex to make it work properly with transaction (#21469) 2 years ago
Gusted c540ee08d3
Add Num{Issues,Pulls} stats checks (#21404) 2 years ago
Peter Gardfjäll 4562d40fce
fix hard-coded timeout and error panic in API archive download endpoint (#20925) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
zeripath bffa303020
Add option to purge users (#18064) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 3 years ago
ttys3 0c759fd4de
feat: add DEFAULT_MERGE_STYLE to `repository.pull-request` section for repo init (#19751) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 3 years ago
zeripath a7f52684cb
Prevent NPE when checking repo units if the user is nil (#19625) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
Lunny Xiao bd97736b9c
Move project files into models/project sub package (#17704) 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
6543 ba470a85dd
use xorm builder for models.getReviewers() (#19033) 3 years ago
Norwin eceab9e26f
Allow users to self-request a PR review (#19030) 3 years ago
Otto Richter (fnetX) e46a8c90ea
Fix potential assignee query for repo (#18994) 3 years ago
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" (#18745) 3 years ago
6543 eddd2fb242
fix & refactor (#18973) 3 years ago
KN4CK3R f3cbdee38e
Don't clean up hardcoded `tmp` (#18983) 3 years ago
zeripath cb41f5cae1
Update assignees check to include any writing team and change org sidebar (#18680) 3 years ago
Lunny Xiao 397d2ac303
Move deletebeans into models/db (#18781) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Aravinth Manivannan 076cead40d
Fix CheckRepoStats and reuse it during migration (#18264) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
Lunny Xiao 626b10794f
Fix performance regression when user has many organization (#18125) 3 years ago
qwerty287 c3eea2f8af
Improve behavior of "Fork" button (#17288) 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
Lunny Xiao dcdb4873c8
Move repo archiver to models/repo (#17913) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
qwerty287 e0f81b4ef4
Allow forks to org if you can create repos (#17783) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath 1dbc58f742
More pleasantly handle broken or missing git repositories (#17747) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago