Commit Graph

165 Commits (3d6ccbac3f20c485ab95a29d280c9371e558bfac)

Author SHA1 Message Date
wxiaoguang dd83cfcacc
Refactor CSRF token (#32216) 2 months ago
Lunny Xiao 3a4a1bffbe
Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 2 months ago
techknowlogick f183783baa
Save initial signup information for users to aid in spam prevention (#31852) 3 months ago
Wim 01dec7577a
Remove SHA1 for support for ssh rsa signing (#31857) 3 months ago
Lunny Xiao 5c05dddbed
Fix nuget/conan/container packages upload bugs (#31967) 3 months ago
Rowan Bohde 416c36f303
allow synchronizing user status from OAuth2 login providers (#31572) 4 months ago
silverwind 610802df85
Fix tautological conditions (#30735) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
Jonathan Tran b18c04ebde
fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 7 months ago
silverwind 68ec9b4859
Migrate margin and padding helpers to tailwind (#30043) 8 months ago
Lunny Xiao 82db9a2ba7
Fix the bug that user may logout if he switch pages too fast (#29962) 8 months ago
silverwind 82e102f8b0
Replace more gt- with tw- (#29678) 9 months ago
Lunny Xiao e2277d07ca
Move some asymkey functions to service layer (#28894) 9 months ago
KN4CK3R c337ff0ec7
Add user blocking (#29028) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
6543 4ba642d07d
Revert "Support SAML authentication (#25165)" (#29358) 9 months ago
Zettat123 b762a1f1b1
Fix tarball/zipball download bug (#29342) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
techknowlogick 5bb8d1924d
Support SAML authentication (#25165) 9 months ago
Johan Van de Wauw 740c6a226c
Fix c/p error in inline documentation (#29148) 9 months ago
wxiaoguang 8be198cdef
Use general token signing secret (#29205) 9 months ago
wxiaoguang 45c15387b2
Refactor JWT secret generating & decoding code (#29172) 9 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
KN4CK3R fc1bae00a4
Fix SSPI user creation (#28948) 10 months ago
wxiaoguang e743570f65
Refactor timeutil package (#28623) 11 months ago
Jack Hay 4e879fed90
Deprecate query string auth tokens (#28390) 12 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
KN4CK3R 4f4fea734c
Unify two factor check (#27915) 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
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 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
Lunny Xiao 5c9fbcca00
Fix attachment download bug (#27486) 1 year ago
CaiCandong 7ad31567cd
Fix ldap admin privileges update bug (#27051) 1 year ago
Lunny Xiao 6e87a44034
Allow get release download files and lfs files with oauth2 token format (#26430) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
silverwind 1b1c55f73f
Increase auth provider icon size on login page (#27122) 1 year ago
wxiaoguang 8531ca0837
Make SSPI auth mockable (#27036) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
KN4CK3R 591f586bf1
Extract auth middleware from service (#27028) 1 year ago
Sven Seeberg 5f7fa27a44
Improve LDAP group config documentation, fixes #21159 (#21227) 1 year ago
KN4CK3R 0eebeeec90
Remove `Named` interface (#26913) 1 year ago
Jack Hay c0ab7070e5
Update team invitation email link (#26550) 1 year ago
KN4CK3R 5315153059
Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
wxiaoguang c91a7e8dbb
Use `object-fit: contain` for oauth2 custom icons (#26493) 1 year ago
wxiaoguang ed1be4ca68
Handle base64 decoding correctly to avoid panic (#26483) 1 year ago
harryzcy 0f9f6567bb
Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago