Commit Graph

63 Commits (84cbb6c4d2ad57dc8816c0320eac061f753b50c1)

Author SHA1 Message Date
Lunny Xiao e94864e86c
Fix wrong table name (#30557) 7 months ago
Cheng 9de443ced2
chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 7 months ago
wxiaoguang 92e27e15c3
Add comment for ContainsRedirectURI about the exact match (#30457) 7 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
KN4CK3R f79c9e817a
Use `crypto/sha256` (#29386) 9 months ago
6543 4ba642d07d
Revert "Support SAML authentication (#25165)" (#29358) 9 months ago
techknowlogick 5bb8d1924d
Support SAML authentication (#25165) 9 months ago
KN4CK3R 688d4a1f71
Unify password changing and invalidate auth tokens (#27625) 10 months ago
Lunny Xiao 70c4aad8e1
Move more functions to db.Find (#28419) 10 months ago
wxiaoguang e5d8c4b8d4
Avoid cycle-redirecting user/login page (#28636) 11 months ago
Lunny Xiao 4c29c75968
Fix session key conflict with database keyword (#28613) 11 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Nanguan Lin d95102d650
Fix wrong xorm Delete usage (#27995) 1 year ago
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
KN4CK3R c6c829fe3f
Enhanced auth token / remember me (#27606) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
M Hickford a825cc0f34
Pre-register OAuth application for tea (#27509) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
wxiaoguang 3be80a863b
Ignore the trailing slashes when comparing oauth2 redirect_uri (#26597) 1 year ago
Denys Konovalov 63ab92d797
Pre-register OAuth2 applications for git credential helpers (#26291) 1 year ago
wxiaoguang 915cdf8f87
Remove "misc" scope check from public API endpoints (#26134) 1 year ago
harryzcy c5e187c389
Upgrade go dependencies (#25819) 1 year ago
6543 8995046110
Less naked returns (#25713) 1 year ago
Denys Konovalov ca35dec18b
Add ability to set multiple redirect URIs in OAuth application UI (#25072) 1 year ago
Jack Hay 18de83b2a3
Redesign Scoped Access Tokens (#24767) 1 year ago
yp05327 6e58f8400e
Fix 500 error if there is a name conflict when edit authentication source (#23832) 2 years ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 2 years ago
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 2 years ago
zeripath d2128b44f7
Add scopes to API to create token and display them (#22989) 2 years ago
Chongyi Zheng de484e86bc
Support scoped access tokens (#20908) 2 years ago
techknowlogick 6f231a7980
Replace deprecated Webauthn library (#22400) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
Jason Song f047ee0a40
Use random bytes to generate access token (#21959) 2 years ago
Jason Song 9607750b5e
Replace fmt.Sprintf with hex.EncodeToString (#21960) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Jason Song 702f4b521e
Add index for access_token (#21908) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
M Hickford 191a74d622
Record OAuth client type at registration (#21316) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
qwerty287 a813c9d8f3
Allow creation of OAuth2 applications for orgs (#18084) 2 years ago
M Hickford 6a45a691c1
Ignore port for loopback redirect URIs (#21293) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Balki c138e76c1c
Fix panic when an invalid oauth2 name is passed (#20820) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago