14 Commits (6a559ad6348b95aa1cbb275003699d709af00bfc)

Author SHA1 Message Date
  JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 9 months ago
  silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
  Lunny Xiao 0403bd989f
Log the real reason when authentication fails (but don't show the user) (#25414) 1 year ago
  wxiaoguang 5b9557aef5
Refactor cookie (#24107) 1 year ago
  Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  Xinyu Zhou 68e934ab5d
Add option to enable CAPTCHA validation for login (#21638) 1 year ago
  Jason Song 1d22911cfe
Extract updateSession function to reduce repetition (#21735) 1 year ago
  Gusted 58de07e5fd
Add support mCaptcha as captcha provider (#20458) 1 year ago
  Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
  Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 2 years ago
  wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 2 years ago
  6543 54e9ee37a7
format with gofumpt (#18184) 2 years ago
  Lunny Xiao de8e3948a5
Refactor auth package (#17962) 2 years ago
  zeripath bcc13f3889
Reset Session ID on login (#18018) 2 years ago
  zeripath 0981ec30c3
Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 2 years ago
  Lunny Xiao a666829a37
Move user related model into models/user (#17781) 2 years ago
  Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 2 years ago
  zeripath 27b351aba5
Make LDAP be able to skip local 2FA (#16954) 2 years ago
  6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2 years ago
  Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 2 years ago
  zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 2 years ago
  Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago
  zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031) 3 years ago
  silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 3 years ago
  6543 a229e34387
Allow only internal registration (#15795) 3 years ago
  Martin Michaelis 55eb1745bd
OAuth2 auto-register (#5123) 3 years ago
  zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 3 years ago
  6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 3 years ago
  zeripath 9b261f52f0
Add SameSite setting for cookies (#14900) 3 years ago
  Michel Ganguin 4457d0e8d9
Honor REGISTER_MANUAL_CONFIRM when doing openid registration (#14548) 3 years ago
  Lunny Xiao 41c0776568
Fix captcha (#14488) 3 years ago
  Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 3 years ago
  John Olheiser 72636fd664
hCaptcha Support (#12594) 3 years ago
  zeripath 76053ac31a
Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 4 years ago
  guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 4 years ago
  Lunny Xiao 5a438ee3c0
Move all mail related codes from models to services/mailer (#7200) 4 years ago
  Tamal Saha 171b359877 Use gitea forked macaron (#7933) 4 years ago
  Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 4 years ago
  AJ ONeal 62d6127f1b Make captcha and password optional for external accounts (#6606) 5 years ago
  kolaente f9ec2f89f2 Add golangci (#6418) 5 years ago
  Bo-Yi Wu 743697a549
refactor: append, build variable and type switch (#4940) 5 years ago
  zeripath ade88a877d Allow Recaptcha service url to be configured (#6820) 5 years ago
  zeripath 704da08fdc
Better logging (#6038) (#6095) 5 years ago
  mrsdizzie 6f2e1bd23a Don't Unescape redirect_to cookie value (#6399) 5 years ago
  zeripath 2b36bdd490 Do not display the raw OpenID error in the UI (#5705) 5 years ago
  SagePtr 0449330dbc Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) 5 years ago
  Fluf f035dcd4f2 Add Recaptcha functionality to Gitea (#4044) 6 years ago
  Lauris BH 7b2b900e13 Refactor and simplify redirect to url (#3674) 6 years ago
  Codruț Constantin Gușoi 96c268c0fc Implements generator cli for secrets (#3531) 6 years ago