Commit Graph

3404 Commits (a28677273b8814904d8ea725332ad538dbc90372)

Author SHA1 Message Date
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
Lunny Xiao fed8e01ca1
Fix database keyword quote problem on migration v161 (#17522) 3 years ago
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store (#17507) 3 years ago
Lunny Xiao 63c0dc89ef
Rename db Engines related functions (#17481) 3 years ago
zeripath 76a3190b8a
Quote the table name in CountOrphanedObjects (#17487) 3 years ago
zeripath e6e3b212b3
Run Migrate in Install rather than just SyncTables (#17475) 3 years ago
zeripath 0b4a8be26b
Ensure that restricted users can access repos for which they are members (#17460) 3 years ago
wxiaoguang 7c951fdd4a
In many cases user avatar link should be an absolute URL with http host (#17420) 3 years ago
wxiaoguang 943dc08722
Fix issue content history problems, improve UI (#17404) 3 years ago
wxiaoguang 960c322586
Refactor update checker to use AppState (#17387) 3 years ago
Lunny Xiao f3c7f10c9f
Fix history count failure (#17351) 3 years ago
wxiaoguang 83df0caf15
Sync gitea app path for git hooks and authorized keys when starting (#17335) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
John Olheiser c59afa752d
Allow mocking timeutil (#17354) 3 years ago
Lunny Xiao 5326f4c9c5
Move session to models/login (#17338) 3 years ago
techknowlogick 8edda8b446
Add simple update checker to Gitea (#17212) 3 years ago
David Jimenez fa8b8c055d
Don't panic if we fail to parse U2FRegistration data (#17304) 3 years ago