198 Commits (664522ec6bcb383ccc64b06f94889d079c1eed75)

Author SHA1 Message Date
wxiaoguang 0cbaa0b662
Remove incorrect "db.DefaultContext" usages (#35366) 4 months ago
wxiaoguang e837c998b7
Fix context usages (#35348) 4 months ago
techknowlogick a2d88cd597
Remove deprecated auth sources (#35272) 4 months ago
wxiaoguang 86aafea3fb
Fix session gob (#35128) 5 months ago
wxiaoguang de1114b4e8
Fix error logs and improve some comments/messages (#35105) 5 months ago
pvgoran 891a827158
Support Basic Authentication for archive downloads (#35087) 5 months ago
wxiaoguang a5a3d9b101
Refactor OpenIDConnect to support SSH/FullName sync (#34978) 5 months ago
silverwind 95a935aca0
Enable gocritic `equalFold` and fix issues (#34952) 5 months ago
wxiaoguang d6d643fe86
Fix http auth header parsing (#34936) 6 months ago
TheFox0x7 aa9d86745a
enforce explanation for necessary nolints and fix bugs (#34883) 6 months ago
silverwind 1f35435b81
Run `gopls modernize` on codebase (#34751) 6 months ago
wxiaoguang 0082cb51fa
Fix last admin check when syncing users (#34649) 6 months ago
Râu Cao f48c0135a6
Fix/improve avatar sync from LDAP (#34573) 7 months ago
wxiaoguang 0148d03f21
Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 8 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
TheFox0x7 0fde8ecd55
Enable testifylint rules (#34075) 9 months ago
wxiaoguang 51d86adb6d
Fix some migration and repo name problems (#33986) 9 months ago
TheFox0x7 cc1fdc84ca
Use test context in tests and new loop system in benchmarks (#33648) 10 months ago
wxiaoguang 245ac321c3
Fix context usage (#33554) 10 months ago
Wesley van Tilburg c79adf00b8
Add basic auth support to rss/atom feeds (#33371) 11 months ago
wxiaoguang 2c1ff8701a
Refactor context flash msg and global variables (#33375) 11 months ago
TheFox0x7 2a02734f93
Refactor older tests to use testify (#33140) 11 months ago
wxiaoguang 6d5aa9218e
Refactor request context (#32956) 12 months ago
wxiaoguang a163c53a60
Refactor template & test related code (#32938) 1 year ago
wxiaoguang 2d7e6e9482
Fix various trivial problems (#32861) 1 year ago
wxiaoguang b01b0b99a5
Refactor some LDAP code (#32849) 1 year ago
TheFox0x7 33e8e82c4b
Enable tenv and testifylint rules (#32852) 1 year ago
Lunny Xiao f62f68cbdd
Move team related functions to service layer (#32537) 1 year ago
Marcell Mars a3881ffa3d
Enhancing Gitea OAuth2 Provider with Granular Scopes for Resource Access (#32573) 1 year ago
Rowan Bohde 407b6e6dfc
allow the actions user to login via the jwt token (#32527) 1 year ago
Lunny Xiao c3dedcffa7
Fix basic auth with webauthn (#32531) 1 year ago
Lunny Xiao 840ad7eefe
Disable Oauth check if oauth disabled (#32368) 1 year ago
wxiaoguang 5e6523aa57
Update go dependencies (#32389) 1 year ago
wxiaoguang dd83cfcacc
Refactor CSRF token (#32216) 1 year ago
Lunny Xiao 3a4a1bffbe
Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 1 year ago
techknowlogick f183783baa
Save initial signup information for users to aid in spam prevention (#31852) 1 year ago
Wim 01dec7577a
Remove SHA1 for support for ssh rsa signing (#31857) 1 year ago
Lunny Xiao 5c05dddbed
Fix nuget/conan/container packages upload bugs (#31967) 1 year ago
Rowan Bohde 416c36f303
allow synchronizing user status from OAuth2 login providers (#31572) 1 year ago
silverwind 610802df85
Fix tautological conditions (#30735) 2 years ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 2 years ago
Jonathan Tran b18c04ebde
fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 2 years ago
silverwind 68ec9b4859
Migrate margin and padding helpers to tailwind (#30043) 2 years ago
Lunny Xiao 82db9a2ba7
Fix the bug that user may logout if he switch pages too fast (#29962) 2 years ago
silverwind 82e102f8b0
Replace more gt- with tw- (#29678) 2 years ago
Lunny Xiao e2277d07ca
Move some asymkey functions to service layer (#28894) 2 years ago
KN4CK3R c337ff0ec7
Add user blocking (#29028) 2 years ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 2 years ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 2 years ago
6543 4ba642d07d
Revert "Support SAML authentication (#25165)" (#29358) 2 years ago