Commit Graph

80 Commits (165346c15c6d021028a65121e692a17ffc927e2c)

Author SHA1 Message Date
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
KN4CK3R 211f0c32d2
Removed unused endpoint. (#18127) 3 years ago
Lunny Xiao 8ce1b539b1
Use conditions but not repo ids as query condition (#16839) 3 years ago
zeripath 0ac845042e
Move POST /{username}/action/{action} to simply POST /{username} (#18045) 3 years ago
zeripath bcc13f3889
Reset Session ID on login (#18018) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath 1c7db70835
Reset locale on login (#18023) 3 years ago
Wim 6fe756dc93
Add support for ssh commit signing (#17743) 3 years ago
zeripath d29b689f81
Ensure complexity, minlength and ispwned are checked on password setting (#18005) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
zeripath 0981ec30c3
Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 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 9defddb286
Move more model into models/user (#17826) 3 years ago
Galen Suen fbadc1a198
Fix value of User.IsRestricted to default setting when oauth2 user auto registration; (#17839) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 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
zeripath 0fa41b6dc4
Reset locale on login (#17734) 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 95d3266bee
Move user follow and openid into models/user/ (#17613) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 48ccd325a1
Move some functions into services/repository (#17660) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
Gusted 253d9e4158
Remove unnecassary calls to `filepath.Join` (#17608) 3 years ago
zeripath bab95c3a86
Correctly handle failed migrations (#17575) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Kamil Domański 021df29623
Allow U2F 2FA without TOTP (#11573) 3 years ago
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store (#17507) 3 years ago
qwerty287 01fc24c78c
Add appearance section in settings (#17433) 3 years ago
Nico Schieder 870f5fbc41
Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 3 years ago
zeripath e2a59c57fc
Fix dashboard repolist alignment and repolisting (#17355) 3 years ago
6543 3728f1daa0
Add RSS/Atom feed support for user actions (#16002) 3 years ago
wxiaoguang e18ea9e349
Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are generated without sub-path) (#17320) 3 years ago
wxiaoguang 56362043d3
Frontend refactor: move Vue related code from `index.js` to `components` dir, and remove unused codes. (#17301) 3 years ago
David Jimenez fa8b8c055d
Don't panic if we fail to parse U2FRegistration data (#17304) 3 years ago
Viktor Kuzmin f2a5d1b42b
AutoRegistration is supposed to be working with disabled registration (#17219) 3 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
Lunny Xiao 58d81835e2
Fix wrong i18n keys (#17150) 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Norwin 0ffad31b92
Notifications API: respond with updated notifications (#17064) 3 years ago
zeripath 27b351aba5
Make LDAP be able to skip local 2FA (#16954) 3 years ago
zeripath 9ca0e7905c
Add setting to OAuth handlers to skip local 2FA authentication (#16594) 3 years ago