46 Commits (v1.21.10)

Author SHA1 Message Date
  Lunny Xiao e2eac7574f
Fix bug when the linked account was disactived and list the linked accounts (#29263) 3 months ago
  wxiaoguang 2165729d16
Avoid cycle-redirecting user/login page (#28636) (#28658) 5 months ago
  Nanguan Lin 97f4239a94
Fix wrong xorm Delete usage(backport for 1.21) (#28002) 7 months ago
  JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 9 months ago
  JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 9 months ago
  Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 9 months ago
  wxiaoguang 3be80a863b
Ignore the trailing slashes when comparing oauth2 redirect_uri (#26597) 10 months ago
  Denys Konovalov 63ab92d797
Pre-register OAuth2 applications for git credential helpers (#26291) 10 months ago
  wxiaoguang 915cdf8f87
Remove "misc" scope check from public API endpoints (#26134) 10 months ago
  harryzcy c5e187c389
Upgrade go dependencies (#25819) 11 months ago
  6543 8995046110
Less naked returns (#25713) 11 months 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) 1 year ago
  KN4CK3R 2173f14708
Add user webhooks (#21563) 1 year ago
  zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 1 year ago
  zeripath d2128b44f7
Add scopes to API to create token and display them (#22989) 1 year ago
  Chongyi Zheng de484e86bc
Support scoped access tokens (#20908) 1 year ago
  techknowlogick 6f231a7980
Replace deprecated Webauthn library (#22400) 1 year ago
  Jason Song 477a1cc40e
Improve utils of slices (#22379) 1 year ago
  Jason Song f047ee0a40
Use random bytes to generate access token (#21959) 1 year ago
  Jason Song 9607750b5e
Replace fmt.Sprintf with hex.EncodeToString (#21960) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  Jason Song 702f4b521e
Add index for access_token (#21908) 1 year ago
  Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 1 year ago
  delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 1 year ago
  M Hickford 191a74d622
Record OAuth client type at registration (#21316) 1 year ago
  zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 1 year ago
  qwerty287 a813c9d8f3
Allow creation of OAuth2 applications for orgs (#18084) 1 year ago
  M Hickford 6a45a691c1
Ignore port for loopback redirect URIs (#21293) 1 year ago
  Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 1 year ago
  Balki c138e76c1c
Fix panic when an invalid oauth2 name is passed (#20820) 1 year ago
  Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 1 year ago
  zeripath e819da0837
WebAuthn CredentialID field needs to be increased in size (#20530) 1 year ago
  Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
  Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
  6543 f41c2bec4c
Delete user related oauth stuff on user deletion too (#19677) 2 years ago
  Lunny Xiao 772ad761eb
Fix some slice problems (incorrect slice length) (#19592) 2 years ago
  Lunny Xiao b8911fb456
Use a struct as test options (#19393) 2 years ago
  zeripath 3a29a23cdc
Attempt to fix the webauthn migration again - part 3 (#18770) 2 years ago
  Gusted aa23f477b7
Use `CryptoRandomBytes` instead of `CryptoRandomString` (#18439) 2 years ago
  wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 2 years ago
  6543 54e9ee37a7
format with gofumpt (#18184) 2 years ago
  zeripath d7c2a2951c
Webauthn nits (#18284) 2 years ago
  Lunny Xiao 35c3553870
Support webauthn (#17957) 2 years ago
  Lunny Xiao de8e3948a5
Refactor auth package (#17962) 2 years ago