Commit Graph

32 Commits (5066b208dea8056d16b000789a41166b5db63605)

Author SHA1 Message Date
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Wim e91229eefb
Respond with a 401 on git push when password isn't changed yet (#20026) 2 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 3 years ago
zeripath 27b351aba5
Make LDAP be able to skip local 2FA (#16954) 3 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
zeripath 9b261f52f0
Add SameSite setting for cookies (#14900) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
zeripath 2f1353a2f3
Move install pages out of main macaron routes (#13195) 4 years ago
赵智超 01c7204895
Return sample message for login error in api context (#12994) 4 years ago
zeripath 02e990a89b
Prevent redirect back to /user/events (#12462) 4 years ago
zeripath a00974c3b8
When must change password only show Signout (#11600) 5 years ago
zeripath 017f314b5a
Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
techknowlogick 19ec2606e9 API OTP Context (#6674) 6 years ago
mrsdizzie ca46385637 Clean up various use of escape/unescape functions for URL generation (#6334) 6 years ago
Lunny Xiao c812ba7f87
fix display dashboard even if require to change password (#6214) 6 years ago
Lunny Xiao f5fa22a499 Fix prohibit login check on authorization (#6106) 6 years ago
xdch47 5e7dee0db5 modules/context/auth.go: fix redirect loop (#5965) 6 years ago
Lanre Adelowo 126ba796dc Force user to change password (#4489) 6 years ago
David Schneiderbauer adba2ad609 fix not respecting landing page setting (#4209) 7 years ago
Lunny Xiao 94da472717 Golint fixed for modules/setting (#262) 8 years ago
Lunny Xiao faabc76fd6 Golint fixed for modules/context 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Matthias Loibl 1f44b01e2a Fix imports found by goimports. 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon ec332cf903 Minor naming improvement 8 years ago
Unknwon c083d76567 #2937 able to prohibit user login 8 years ago
Unknwon dd6faf7f9b Convert all API handers to use *context.APIContext 9 years ago
Unknwon 514382e2eb Rename module: middleware -> context 9 years ago
Unknwon f6759a731a #2748 fix redirect loop with auto-signin 9 years ago
Unknwon f946040fa9 #1891 attempt to fix expected invalid CSRF token 9 years ago
Unknwon 120cd4e471 #1984 Better mirror repo management 9 years ago
Unknwon 56dd430a10 refactor API routes and some work for #976 9 years ago
Unknwon 7f9598141b fix #2020 9 years ago
Unknwon ee686f6231 minor fix on auto sign in 9 years ago
Unknwon 9330c943cd work on #1891 9 years ago
Unknwon 932dbccb67 fix import path, fix #1782 9 years ago
Unknwon aff49b1c9e unified API error response 9 years ago
Unknwon 8e0a69f86a #697 disable captcha and new admin create user UI 9 years ago
Unknwon 384fbeca80 #1474 logic fix 9 years ago
Unknwon 47ac579f09 only assign auto-admin when sign up by web 9 years ago
Unknwon 817b48ed1e Show owner/poster tags of comments and fix #1312 9 years ago
Unknwon ff051e2106 #1128: API calls are not hidden behind sign in 9 years ago
Unknwon 4cbbaefd82 #1127: hide user e-mail when API caller isn't signed in 9 years ago
Unknwon 2b1e67e085 #1127: hide user e-mail when API caller isn't signed in 9 years ago
Christophe Le Guern d61962a18a Add setting.AppSubUrl for LANDING_PAGE = explore 10 years ago
Unknwon 28580aee63 modules/middleware/auth.go: remove uncheck login for watch a repo #929 10 years ago