Commit Graph

3246 Commits (a387636b9a9e1c92388d567508f67b2d56a3ba4e)

Author SHA1 Message Date
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
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 3 years ago
wxiaoguang 7bcbdd0707
Add user status filter to admin user management page (#16770) 3 years ago
Romain d0a681fbc3
[API] Add endpount to get user org permissions (#17232) 3 years ago
wxiaoguang c5c88f2f18
Save and view issue/comment content history (#16909) 3 years ago
a1012112796 bb39359668
Add a simple way to rename branch like gh (#15870) 3 years ago
Jimmy Praet b6147152f8
Fix incorrect repository count on organization tab of dashboard (#17256) 3 years ago
Jimmy Praet 25a2000787
Fix unwanted team review request deletion (#17257) 3 years ago
zeripath 46cac263ca
Handle duplicate keys on GPG key ring (#17242) 3 years ago