Commit Graph

827 Commits (fc7b5afd9b23a2b194b498dc6f4802ee31339639)

Author SHA1 Message Date
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
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 2 years ago
ttys3 0c759fd4de
feat: add DEFAULT_MERGE_STYLE to `repository.pull-request` section for repo init (#19751) 2 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
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 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
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 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
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago