Commit Graph

3420 Commits (4a4bfafa238bf48851f8c11fa3701bd42b912475)

Author SHA1 Message Date
Lunny Xiao 4f98e82427
Check if column exist before rename if exist, just return with no error (#17870) 3 years ago
mscherer 34b5436ae1
Refactor various strings (#17784) 3 years ago
a1012112796 ba57e30f13
fix 500 error while use a reserved name in org rename (#17878) 3 years ago
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao 371ebce252
Fix database inconsistent when admin change user email (#17549) 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 188fd2dd1a
Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task (#17568) 3 years ago
mscherer e595986458
Harden authorized keys a bit more (#17772) 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 c2ab19888f
Support pagination of organizations on user settings pages (#16083) 3 years ago
Jimmy Praet a3efd048a7
Improvements to content history (#17746) 3 years ago
techknowlogick 499b05da22
Add user settings key/value DB table (#16834) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao 0add627182
Fix close issue but time watcher still running (#17643) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 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
Gusted 381e131fc8
Added comment for changing issue ref (#17672) 3 years ago
Lunny Xiao 9361b65f54
Fix bug when project board get open issue number (#17703) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Gusted 257b7171c3
Fix possible panic (#17694) 3 years ago
zeripath 878c2ce6e6
Prevent NPE due to missing repo in regression in #17551 (#17697) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 3 years ago
Gusted c98dd7a3e0
Remove unnecessary variable assignments (#17695) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
Gusted d2163df6a0
Fix offBy1 errors (#17606) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 0db7a32b92
unbind the CheckConsistency for some structs so that they can be moved to sub packages easier (#17612) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Gusted 492e1c2fbd
Refactor commentTags functionality (#17558) 3 years ago
Lunny Xiao 0e189eecaa
Move oauth2 error to oauth2 service package (#17603) 3 years ago
Lunny Xiao 43bbc54783
Fix 500 when a comment was deleted which has a notification (#17550) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
KN4CK3R edbaa5d3f0
Added GetUserByIDCtx. (#17602) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
wxiaoguang a5b4720b91
Update `User` model comments about permissions (#17583) 3 years ago
Gusted 3a693bd18c
Use provided database Engine (#17595) 3 years ago
Kamil Domański 021df29623
Allow U2F 2FA without TOTP (#11573) 3 years ago
Gusted a3f9e9234c
Fix stats upon searching issues (#17566) 3 years ago
Gusted 640f0e1ddf
Only allow returned deleted branche to be on repo (#17570) 3 years ago
Gusted ebaf4c48ea
Avoid double imports (#17569) 3 years ago
Lunny Xiao 69b61d4373
Fix bug on admin subcommand (#17533) 3 years ago